(function(t){function e(e){for(var n,r,l=e[0],o=e[1],c=e[2],d=0,g=[];d<l.length;d++)r=l[d],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&g.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);u&&u(e);while(g.length)g.shift()();return s.push.apply(s,c||[]),a()}function a(){for(var t,e=0;e<s.length;e++){for(var a=s[e],n=!0,l=1;l<a.length;l++){var o=a[l];0!==i[o]&&(n=!1)}n&&(s.splice(e--,1),t=r(r.s=a[0]))}return t}var n={},i={app:0},s=[];function r(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=n,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],o=l.push.bind(l);l.push=e,l=l.slice();for(var c=0;c<l.length;c++)e(l[c]);var u=o;s.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"008c":function(t,e,a){},"00c0":function(t,e,a){"use strict";a("2a2c")},"0554":function(t,e,a){"use strict";a("1a5b")},"0683":function(t,e,a){t.exports=a.p+"img/alv_logo_vector.275bd3e7.svg"},"08a1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAAWCAYAAABud6qHAAAEr2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMjIiCiAgIHRpZmY6SW1hZ2VXaWR0aD0iNzgiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIGV4aWY6UGl4ZWxYRGltZW5zaW9uPSI3OCIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjIyIgogICBleGlmOkNvbG9yU3BhY2U9IjEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDEtMjBUMTY6NTg6NTQrMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDEtMjBUMTY6NTg6NTQrMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS44LjUiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDEtMjBUMTY6NTg6NTQrMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/Pof0JK8AAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRzyvDYRzHX9toYpqYcnBYGic0U+LisMUoHLYpw2X77pfa5tv3u6XlqlxXlLj4deAv4KqclSJSclPOxAV9fb6mJtnn6fk8r+f9fD6fnufzgDWSVXJ6nRdy+YIWCvrdc9F5t/0RCy6ctNIeU3R1Ojweoaa93Ui02FWfWat23L/WlEjqClgahEcVVSsITwhPrRRUkzeFXUomlhA+Fu7V5ILC16Yer/CTyekKf5isRUIBsLYIu9O/OP6LlYyWE5aX48lli8rPfcyXOJL52bCsXTI70QkRxI+bScYIMMQAI+KH6MNHv+yoke/9zp9hWXIV8SolNJZIk6FAr6hFqZ6UNSV6UkaWktn/v33VU4O+SnWHH+ofDOOlG+wb8Fk2jPd9w/g8ANs9nOWr+ct7MPwqermqeXbBuQYn51UtvgWn69Bxp8a02Ldkk2lNpeD5CJqj0HYJjQuVnv2cc3gLkVX5qgvY3oEeiXcufgE222fQLgwlSwAAAAlwSFlzAAALEwAACxMBAJqcGAAACMVJREFUWIXVmW1QlNcVx3/PLgssKrguOxJBNBZRJ2XxpajYjli0oWk/1GG0MtMXZQxmrO1MbdOYdnSmrdaXcUzT2Pg+ZbSTmi++tPlQGDI6EqFGUNPlJaGAlkG2uJTdZSEoLLu3H84FF1ywSabGnpk7PPvc85x77v+e8z/neYD/f1kJvAhMfpKLGhPMTQaWAQsAOxAC3MAtoBEY+J9799/JRSAX+AZw40ktGhPlXgJQMn369K0bNmxw5Obmxs2YMcMcCoVobW0NlpeX37906dJNr9e7H6gE1JNydhxxAJN4whEXKSar1epMTU19d8+ePaG+vj714MED1dPTo7xer/L5fCoQCKjBwUFVV1enCgsLgzabbR8w5fNyWEsV0AfkPclFh1PVSEpKWpqTk3Nox44dK3Jzcw2Xy0VNTQ1NTU0Eg0FCoRBJSUlkZ2ezfPly0tLSOHLkCCdPnjzd3Nz8CySNPw+pArKBbwJXntSiZoCYmJjkrKys13fu3JnvdDqN48ePc/ToUdra2pgzZw5Lly4lJSUFt9tNRUUFV69eJTExkU2bNhEfHz+3oaFB+f3+Gh7PewnAFxFOeg6J1gAwOI6+FVgK5ABzgViga4zOZiAFOAvcR3g5B3gWoZEeHtKJWduZCXgR3o6UxXq+XT+/DJgPZEaMWYAvBsBqtb5YVFT0fE5OjnHw4EFOnDiBw+HAZrMRCoUIh8MEg0GUUphMJm7cuEF9fT1Wq5X169dPamlpKXrttdcuh0KhiglAmwP8BPgKUmwMwAfUAoeABkbz5ZeBl4F5QCIQBv4N/A3YC3SMsZ8J/AhwIpw3qHXOAaV6rSnAj4Fn9N+2iOcnAb/Sfq4FXgIKAdOYdULA+RhgisPheGXz5s0xFRUVnDlzBq/XSygUwmaz4fF4aGxsJBgM4vP56OzsxOv10t/fT3FxMS6XizVr1syuqqp6obq6+hrQGwW0JO18rp6/CgQ1ON8FvgR8PQKM1cBh5LQ9QDVC/iuALCADibS7EWvYtb0u4H0gVesvApKBXwIWYDaQhkRzpMRr0Obq3y7k0Mz6t0X/ngUsASjatWuX6u7uVsXFxQo5dWUYhnI4HKqgoEDt3btX7dy5U2VlZamkpKQRHUDt379fud1utXHjxhuGYcyOApoB/F4D9ZcIx9Ab+COS4u9oJ1ORFmMQ+AOji8984APgARJ1sTwsDluBYiRyQCKlAGmdBoF8pAL/VYMyf4yfdiTqg0B6lD2sBFqBbuRAeOPKlSuqrq5OLVq0aAQQs9ms1q1bp9xutwqFQkop9YgOoFatWqUGBgbU9u3b+6ZOnZodBbgUoF9vYFmU+XnAdSQFFiIkfw+oAOKi6Gfo+asITw4D91Ueba/MSMp1A+WfAbhU/XwP8DMgzgSkZ2Rk0Nvbi9v9sDAmJCRQWFiI3W6ntLSU2tpaMjIyKCwsHGXR4/EQCASYNm3aJIfDMS3KRhchadAM3Iwy/w8kihRykjP1Bs8TvWjcAd7TetP1PUM/PzRGN4RwYgeSxmY+ucQDu5B258/AW8CACTCZzWaUUoTD4RFtwzCwWq2YTCYCgcBIYbBaR1NDOBxmaGgIk8mEYRjRHBuOmkHkNMeKQiJCIWlpQYDom2AzHyPRZdY2DR6m6FgZQACNn8DeRPJDYCOSMb8F/gXCA/fa29tJSEggOTl5RLu/v5/y8nKUUmzbto0lS5bg9/spKysbZXXy5MnY7Xb8fv+Q3+/3Rln4I72xdB5NgWEZPrGQduw+EiFjKxoIWCuQCusHPkRAzB3H9jwkgj/U9sPaxtjXTYOHkTvsz9eA7freHuDv+hoT8P7ly5dJSUnB6XRiGGJvaGiIs2fPsmPHDhoaGrh27RolJSXcvHmT9PR0LBYLAGvWrKG3txev19vq8XgCURz/CGlMnwO26E2Y9dpTkebVpnWV1r8JfB94AYlCkwbHDuxHeqwaJP3fQiJqPfA80isaSOFYgBSM6cAxpKjcQSrjfK2Dtr0YaXu6EA7NAH6u/f0dQh0PUxKYuWzZMp/P51OlpaUqOTl5FPlHDovForZu3arq6+vVhg0bVGpqqmpsbFSVlZXh/Pz8UxEAjJUlSKj3AG8jXzM2IVXzT3oEgZ8iqVqCvIl8DLypN78V4Zgw0vut1LYNDWZAA7kX+A7SM76HFKaLGhSTPox/at2XNeDbEC4M6Ovhnu4Bwo/fBr4VMZwAJCYmHiotLVWdnZ1qy5YtKjY2NipwhmGo7OxsVVZWppqamtS5c+dUIBBQu3fvdttstnVETy2QCCtAWo7eCJv9SCScigAOJMqKgWv6/rB+L3AB6fMi+TQReBWoj9APa/DfRKLLiLC9GajTOkEkhds0WPHANO1TGOHmvjHjbQMgPj5+5ooVKy4eOHBgcUpKCvv27ePYsWOjisUIAmYzCxcu5PDhwyxfvpza2lqKioreuX379kto4hxHYoAZCOdkIiC3Ii3AD5AIeRV5iwCJvOGG9Fm9gSYkUtw8+lUmAfiCBukZDXIj0IK8XkXqW7XuIqSX7NZA1mlgzHoun+hF59rwhREbG7t67dq1d1taWtTg4KCqqKhQK1euVBaLZSTiYmNjldPpVHl5eWrVqlWqpaVFdXV1qZKSki6TyfQ9on+mGiuGdiySoH/D6IiLpj9eNH8WfdMEusN2YqKMUYXFDKzNy8v74NKlS8Guri41MDCgOjs7VU1NjaqsrFTV1dXq9OnTqqSkRGVmZvampaV1XL9+PdzQ0KAKCgruGoYxXmV7nEwE3FMpkTyhgKa2trbrFy5cwOPxWLq7uxN6enpiw+Gwcf/+fZqbm8O3bt26V1VVVdva2nrK5/MdcrlcC4aGhpJdLteVjo6O80iL8EllNdJ+vIuQ9FMv4306jwOcVqt1waxZs9LtdntSOBwOd3R0eNrb2+8opVxIZRqKi4vLMZvNBf39/eeRXunTfBH+NcJvrwCvf4rnnzoxEJJOQAg1GheYkEo00f8vHifzEdDGa5CfOvkPZtVX+l6W0l8AAAAASUVORK5CYII="},"0e3a":function(t,e,a){"use strict";a("9c9e")},"0f35":function(t,e,a){},"101e":function(t,e,a){t.exports=a.p+"img/nda-partner.e857a1fa.svg"},"10a3":function(t,e,a){"use strict";a("b2af")},1252:function(t,e,a){"use strict";a("ad84")},1261:function(t,e,a){"use strict";a("3fc7")},"134c":function(t,e,a){},"149b":function(t,e,a){"use strict";a("652e")},"158e":function(t,e,a){},"16e0":function(t,e,a){},"17b6":function(t,e,a){"use strict";a("ee54")},"1a1a":function(t,e,a){"use strict";a("3404")},"1a5b":function(t,e,a){},"1acf":function(t,e,a){},"1afd":function(t,e,a){"use strict";a("d7ce")},"236c":function(t,e,a){"use strict";a("775e")},"24b0":function(t,e,a){"use strict";a("5b6a")},"25e2":function(t,e,a){t.exports=a.p+"img/avatar-300-cameraman-kneeling.5e6f1381.png"},2765:function(t,e,a){"use strict";a("8f02")},"27b3":function(t,e,a){"use strict";a("1acf")},2946:function(t,e,a){t.exports=a.p+"img/data-quality-music-publishers-level 1.78b8ad87.svg"},"29a4":function(t,e,a){"use strict";a("6013")},"2a2c":function(t,e,a){},"2f7b":function(t,e,a){},"31a6":function(t,e,a){t.exports=a.p+"img/data-quality-a-z-level-3.7d0aeeb8.svg"},"33e2":function(t,e,a){t.exports=a.p+"img/data-quality-record-labels-level-3.8379c1ab.svg"},3404:function(t,e,a){},"34b7":function(t,e,a){},3548:function(t,e,a){"use strict";a("8f1f")},3673:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAAWCAYAAAA7FknZAAAHzklEQVRogd1aaWxMXRh+Om6VqqpdLaVpUVJr1C6WtEUaIggSkahEgogl8YOQih8qNGJthAgSJGKtkCDEFiGiP1C11lIlVaq0lqkW/fK8c8/9zozpTGemnS++J7m9Z85dzvLuz21ITU1NDRROnwby8oDiYqC0FKioAL58Ab59Ayorgaoqx/HzJ/D7t+MgGjVyHGFhQGgo0LQpEB4OREQAkZFAy5ZAdDTQvTuQnOxo/w9QVVWFd+/eyUIaN26MDh06+L0oQ/4WFgJpaUB+fsPvDoWUnQ2kpzt13759G8+fP0dISAj69++PXr16Wdfu3buH/Px8UGf69OmDvn37BjQFNZaug67g+AMHDvT4nmfPnmH69OnSTkhIwKlTp/yekyFaPW4c8OKF3y/xCXY7MG8ekJgIJCVZT969exdbt26VzUlJScGOHTusa2vXrsXjx4+lvXnz5oAFceDAAVy7ds2jICZOnOhVEL+VRwDw48ePgOZkw8WLwROCjqwsp5/Tpk2TMy3ihTafyspKvHz5UvrDw8MxYcKEgIdu166d13vatm3r9Z5GdMcmmtLSA4CBW7cCXJafYCzS0KZNG3EH1HxufFlZGVq1aoUHDx6gurpabhw8eLDT4v3FkiVLkJ6eLsI9dOiQHMScOXMwe/ZssZQWLVoEdTtsEh/+CxQVOdyUhmHDhskPbsTDhw+lTZelMGbMmHqZaOvWrdGtWzd07doVnTp1svo7d+4sfbzWkgmGF+iu6ScTmABgoKTEt6cZ1DnohQuB7QYzMWYcsbFW1/Dhw7Fv3z7RVAbnkSNHyllh7Nix0qKFnD17Fk+ePJHfPXv2xKRJk2AYjtyjoqICN2/eFIHSnY0ePVr6r169CrvdLu+n0Kn1X79+td6v2m/fvsX9+/el3b59e4kVfI5xhbDZbEhNTUWTJk3kXRyHwiVycnKQl5cnAp7HWKjh169fOHbsGB49eiRCpMCnTJkizxooK/NtA1NSgKVLgS1bgIwMzt4vOQg+fXISxKBBgxAaGiraRZdEPH36VBYaFxcnm8JN5uRLSkqsYMvN2L17tyyyefPmKCgowPLly61ryroWLlxojXXw4EEZj9ddceXKFaxfv156+/XrhyNHjsh4fCeFwMDMMTiWEgRdJt0dMzL+Zj8FsoX7ZAp5xowZKCwsdEoS9u7dizNnzsAmtYIvKChw3MyFsr14sf+C+P7d6WdYWJjEAaK4uBgfPnyQMzFq1Cg5r1u3TjaF2pWWlobk5GRpFxUVWYtmTq9A4blrU+C1gVakwDiFWgIzx1W4ceOGxDZmWzDd6/nz5635Z2dn49WrV/LMrFmzxIJ5T3l5uVyzufpprzDNX8CFMc1kwGeh5ivcpHwqDnz8+FHcj3IlkydPlv5z587JAiIiIpCVlYXt27fLxrOP14hmzZpZ76MGu2u7swR31/RnPPVxPnR9TK9pveodFA5BoRCMPRkZGdi4caMoHuedm5sLm1TKgWLoUEganJvrVBt4hZkN6RgxYoRM7v379zhx4oRcoe9nRkUL4TUeXbp0sZ6Kjo6Wvs+fP4vvpcsINhjkFXr37m25H7up6KzA2adX38wUIR76E/4UbSAgpeFGW3xBbGysTJaT1ittmJWsgqFZpu5mGEN01xQs6FkTNV3BNZtigHdtkyqxoT4mzQyDriMhgfxB3Z+rZWxmS3pAo5XALO4U9NRRb3NRntxOQ0Gfr+66ql2snvUR4wmPL+TxzGcN+FoR6hIuLwcyM4FNm/xbnqY5OiiI48ePWz0qbf1b4EkRXr9+jfnz5zv1MaMy4Ks/jYtznPfsAVavdrC0/kILqjpI7CmQaujRo8dfJQg9m3Lls1gzMP2GmZ3xOl2rATM9qzNY1Fy/DgTANFqIinLbrWuU7v/1FLK2bIj3eCLzgoEqLQFyzbBiYmKwYsWKP2ZhQMut64ScnPpZCgN7LWPrAY7apQokPRvS44Luh6OioiQLsRZYS1D3BF2QKvB7I/X0d9PVqEJPBW71266VC5mZmcKtkVoxEBNTp8nVO8jx+BifYs0qnItiAafAVJd9XDQt4hvpE/M+prQKTH/rAl0QZSbz4I1LqtAKY1bySnkUZ0XKg9QJ56pAJoBV+p07d2BgyJAg7r4G7cNPXcFFMX6Qf2LGQRqCC2E2xUWTqyIiIyPFJdBquEGsxpn66lmXgr7pqt2xY0erj8XWhg0bcOnSJbfPKFAxZs6cKTGNNQPnQ2vmByNi/PjxwqOxUKUlUGnUfMgO2EB+X2MggwaTC3IH3dWoT5EKrEq5yVzo4cOHJbtSbmvNmjVyFwXGTEv556NHj6K0tBSrVq2yNlJtgu7GVDspKUk0WG0meakBAwZg7ty50qcsTrcSUjCc6+XLl62+RYsWWVX+ggULEB8fLxZL2p0cE8GaaeXKlXB8s2ahRFZVK5gaFOSEli2rdQRqOz87Kipj6tSpTgGc2keijFrOfi6QhJqqVGHGll27dklRyKp3mTne/v37xVJImVB7+RlWUe0sHEnyERTczp07xaISExOFSaVrI+3CMSkUCkRV/5wj57pt2zZxQayueY8rSCAq1pjz5nOMP//+8wBPJ086irM3b0j2OOoESp8BhrwQswFqq/rnAWWizGaofQxYDI4MUKwaSZ4xwNJPMjDHxwOpqcBflo42OAD8A6Jxsya10vIOAAAAAElFTkSuQmCC"},"36b4":function(t,e,a){"use strict";a("e01e")},3746:function(t,e,a){"use strict";a("a5d5")},"37e0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAAAWCAYAAACxOdCYAAAEr2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249Ijg1IgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMjIiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI4NSIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMjIiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDEtMjBUMTY6NTM6NDkrMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDEtMjBUMTY6NTM6NDkrMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS44LjUiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDEtMjBUMTY6NTM6NDkrMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/PiMVubEAAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRzyvDYRzHX9toYpqYcnBYGic0U+LisMUoHLYpw2X77pfa5tv3u6XlqlxXlLj4deAv4KqclSJSclPOxAV9fb6mJtnn6fk8r+f9fD6fnufzgDWSVXJ6nRdy+YIWCvrdc9F5t/0RCy6ctNIeU3R1Ojweoaa93Ui02FWfWat23L/WlEjqClgahEcVVSsITwhPrRRUkzeFXUomlhA+Fu7V5ILC16Yer/CTyekKf5isRUIBsLYIu9O/OP6LlYyWE5aX48lli8rPfcyXOJL52bCsXTI70QkRxI+bScYIMMQAI+KH6MNHv+yoke/9zp9hWXIV8SolNJZIk6FAr6hFqZ6UNSV6UkaWktn/v33VU4O+SnWHH+ofDOOlG+wb8Fk2jPd9w/g8ANs9nOWr+ct7MPwqermqeXbBuQYn51UtvgWn69Bxp8a02Ldkk2lNpeD5CJqj0HYJjQuVnv2cc3gLkVX5qgvY3oEeiXcufgE222fQLgwlSwAAAAlwSFlzAAALEwAACxMBAJqcGAAABRlJREFUWIXt2Hvs12MUB/BXfoVSUnRBRCLMNawxm5FLVluxmE0Tmy0xZAhDLrOMGcmdRoZpK7O5jWJySUS0tIkkNUm6UZSuH3+c5+Pz/L5+8Ye+XTbv7bPv9znPec45n/M9t+fLP6M9bsKbWIgCP+Et3IHO/3L+f2Rojrvxm3BkgcWYhTUZbQ0eRKttY+b2j/bps62IxAIrcCOOzPiap/W1+DXxTUOntN9uaxi7PaNZ9n0NVmO9cNAkXIJNOBsHoQN+xgK8ns49jn5YltZ7Yhesq7PtOwTytC5EDX0DG2ro5bMREzG/ib2dt7Lt/wW74STsUQ/ha0Td7C3SuXTQEjyMy9AXQzFKRGzJMyPtzbFjOXWEyMR1tmBfKNP/IowVDixr4zk4GI+KhlWLVsLRizBOOHMOumMQXqjh74J9sTzx7Y9uaI0P8UuN7MOS/pbpzCRRnqAH9sH3IlNOSLLfxsoavd2T7hZp/YX40XvgKVHW5mCIyMoPEt9eODqd/RZTMpml/oXpOSPZP7lkOEuV4ov9N5SRuho9a/ZeSnvfCSfm5WIdeiW+U0X01JaU5cLJ8EmiLRC1vORZKxooHJjpzJ+JYmJpqqQ9i50wTOPJp8BMUSoIBxcioFan78/kL/tydnBLObXA5xm9hWpSKB00Ea9ltFsT743CaS9iJJ7LeK4RjXBjWs/HIyLKvs7eYWe8ktY/4k7ckmQNxgDRaEu5d4iy1lX0kQI/YLjIxpLvCjHdlPo3JFs/FZn9F35XH6f+gYZEPzmjX68qO+dm9HMzOZ1Fjb4Q92Y8A3BBtu6fnRmtaqCtM573caLGkw7V2Lg0s7Nfdu4UEbWdMtpwnJetB27OEfPUx6nLshe5K6MflPE/oXJEexwlLhhNpeZ6MUOPVZWM1pmsjxN9dtL7fs352Tg88bYSP3ohMqLENE3rzn/UMaoo3ezE8ID6OHVcRv9M1chKNBONpsBUkdZlffoYp4mGsDjRPkhnFqX1u5msfVUp+XCiNYioKp1d4NW01yejXZzJyfWPbuJpI8pCac9m0RnfqKILOoooGiXqWh+N06e/uMY+hCdFpyaaUIGvVDe0jtkLPJTJODSj34bLs/Xx4uY2IKPdjGOy9Q1Jzp74UtUg98axqm7fWdV0ymYyMpPTBbsmfSXt+ex9W4vysRuOqLGnFr1Uzcx+YhQpkhHNxOyZh/6QxHtxDX1VclxzkaJrRcEvMSjj7ZfRh2X0XrgqWy9KcnM9x4kmVq5Xiij+JbOjt5g6imTHivRZyjwg6R6fyVmS7O6ncfqvEs11k2isDbiuxp4cA8UYmQeOCTUvfryoN0uTgmnC2VPSepnofL0T/2Hp/Ic1yu7BXJENeQ0cIyJ7ZjK4nUixeSL97sb9osZ+lHRPzhw6TcyPX+J2MfPC6XhPXE4WJ56nVfWUaELT0/50MSm0STJGJ3vnpncZjyvTuceSPVNFE8sxVFzZG83ng5PBo/0dLcSYkj+1uC+dH9nE3pZAG9GcCuGk7Q3NxMzf6A+lvUQabBBRmqOnKjVmiBqTo4OInnU4ZMvbi8b19fw66agLRgijZ4niXWJ3UWvPFHNbPkq0FOlQiEmiXugrysH96vTnR73QoJrvvlBdCy8VNWqtqKVXJ3pXvKOK4LZb09gdCR1Vjlop7snljaRb+uwlBvryNjZdNUL9j82gQTitHIbLG8Qqja+1q0VjarNtzNwx0VIM/qPENa8Q/wxNEPfgLtvOtO0XfwK6zPWYtgpC8gAAAABJRU5ErkJggg=="},"3a62":function(t,e,a){},"3acb":function(t,e,a){"use strict";a("2f7b")},"3dbe":function(t,e,a){"use strict";a("a2a6")},"3ddb":function(t,e,a){"use strict";a("ffdb")},"3fc7":function(t,e,a){},"406b":function(t,e,a){"use strict";a("aa43")},"44a8":function(t,e,a){},"46c0":function(t,e,a){"use strict";a("16e0")},4863:function(t,e,a){t.exports=a.p+"img/amazon-22px.bdf4e545.png"},"4a4c":function(t,e,a){},"4c27":function(t,e,a){"use strict";a("3a62")},"4e3e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAAAWCAYAAADHA2ITAAAEsWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjEwNyIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjIyIgogICBleGlmOkNvbG9yU3BhY2U9IjEiCiAgIHRpZmY6SW1hZ2VXaWR0aD0iMTA3IgogICB0aWZmOkltYWdlTGVuZ3RoPSIyMiIKICAgdGlmZjpSZXNvbHV0aW9uVW5pdD0iMiIKICAgdGlmZjpYUmVzb2x1dGlvbj0iNzIuMCIKICAgdGlmZjpZUmVzb2x1dGlvbj0iNzIuMCIKICAgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIKICAgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0wMS0yMFQxNzowMzo1NyswMTowMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMS0wMS0yMFQxNzowMzo1NyswMTowMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InByb2R1Y2VkIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZmZpbml0eSBQaG90byAxLjguNSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMS0wMS0yMFQxNzowMzo1NyswMTowMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+mlOAXwAAAYJpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAACiRdZHPK8NhHMdf22himphycFgaJzRT4uKwxSgctinDZfvul9rm2/e7peWqXFeUuPh14C/gqpyVIlJyU87EBX19vqYm2efp+Tyv5/18Pp+e5/OANZJVcnqdF3L5ghYK+t1z0Xm3/RELLpy00h5TdHU6PB6hpr3dSLTYVZ9Zq3bcv9aUSOoKWBqERxVVKwhPCE+tFFSTN4VdSiaWED4W7tXkgsLXph6v8JPJ6Qp/mKxFQgGwtgi70784/ouVjJYTlpfjyWWLys99zJc4kvnZsKxdMjvRCRHEj5tJxggwxAAj4ofow0e/7KiR7/3On2FZchXxKiU0lkiToUCvqEWpnpQ1JXpSRpaS2f+/fdVTg75KdYcf6h8M46Ub7BvwWTaM933D+DwA2z2c5av5y3sw/Cp6uap5dsG5BifnVS2+Bafr0HGnxrTYt2STaU2l4PkImqPQdgmNC5We/ZxzeAuRVfmqC9jegR6Jdy5+ATbbZ9AuDCVLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFjElEQVRoge2Za4xdUxTHf3Pn0dEyDyrNxFAlGCReIx0+dEIlIpnwoaloUlWEDyjx+iCpREsEDSkt8UHjiqpXX+jIxCNUBB0y1VDPjo5H26lq3TE1HZ3HPT6sfZx19j1nn3t7p27E/JObOWevtfZrrb32f52B/x9mAxngp1JPZBzJeBvw+O84KwWcAtRUlHomJUBlqSdQIJqAaUBjyqF0BFBfxCC1QGMR9mVAA1BeRB8nAEcVYV8DTCrCvh440iFvAI7Ocx4ewFrzWwBMBpYB3wOjRmE7sBpoyaPTRiANbAOyxj4DdADTgZnmuQM4O8I+BcwFOoEBY/8XsAW4FajKYw5XIKlun7HPmjU8BtQB7+NOg03ASuA7YzsCbAVWIM5PwknAYqDHjHOjJb8AeAPYZeQesBPZt0bgNoI98jPfNKAaZdAN9Kl3+zcCPAxMiJnk/AT7LPCVer/Esq8FPnPYe8APwNSY8WuB5xPs9wK7iXZWCrgLGHTY/0Hu5mssIQhS/+frVwGPEByCqN8AElj+e05wRhltB14GXjWL0rInIyY5y9L5HYmMNPB5xAJsZ5UDb1nyfcCHQK/V/gXRqa3d0vsWeAFYTziK/Z/trHss+UGgC/gSCVQtmx8x/v0RY/wMtBn5Uku2A8loq5BMFOUHp7MOALcg94UPP+IOEpyQi5X8WGCP6iON5FiNi4AfrbG0s/RC9iD02rbXEdduya9Tsj4klWpUAosIR7V21plIuvXXt5zwXTUZeMkaQ9/Hbdba0si++GglCNhhYCG5d/G1QD8FOOtmW6hwt9L7WLU/QPwmapwFDJHrrEqC+2kYOC/G/njCafY4Jdup2mc55rCEaGetUe1LHfarlZ7OMK+p9scj7DYq+WJH/3PJ01ndhE+UjRRydD0kr/uXn1+3eMBpDnuAZ8h1VotqW5Fgv1DpzjFtjartowT7aoLA0M7y1/UnwoLj0KDG+lS16zR7vmWTMv16CNlKKh02E+MsTd07jUIcskYHZNFnmOdm8zeDMCgXNkW0zVDPSZut5a3W+HH9a/jMUmMKwSndggRiHHoRlgeSKSqRoJ1i2n5D7jmNJoKU2oVkDxdi1+Cqs/LFSJH2U9Vzb4Lurgi7QsfPFqifhIkE+/gLuQFf7P78A+2sFpLT4HTzPIjQcAgiqR6JIhcuLHSCeUBHclL/VeTWd78idx7Aucjmx6EBqXlAWGnSKQFhev3muZnkNBi7Bu2sk4GbHJ3cTsCANiPMCuATpfOow/4c4BqH/FCxG2GaIAt1EYxFRNN+P/VMBB5y2C9Tz52xWmF4SrcOuNehOw/ZJ2dnmrovIJe630GY2rYqeS1ST7io+0xLRxOM5artMtdEgVOV7puqfbZq7wOutuwqgfsI10tx1N0DnibsVJu6ZwjuuRrVbt9XPpqRU+ii7jcA+wnvUV5FcQ/wCkJV7aL4iYjJXGrpZJAiN41c2q6ieCycBeHN9BCyswqh1YdSFA8hGWQruV8d5im7fJwFuUXzDmAd8CLCxKP84KTumRgjD4nKB6M6MGiL2RS9+E3qfaydVY18/3N9zukhOOFRn5vuxP25qQ8pwDXydVYKqVVd/e8Fvlbvob0uR/I4wAbgcrPoOuRrcBny5eBd4HrkA+co0dgGPGsmVQYcY/rvRj49XYVQ7yrkcu5AqO6JSq8dNyP0S4Zu5DviRiUbQWq+94zeBLOGA8jpfgpJjxVmjC7k9PvwkPt3DZLaq80assgGvo7Udh9Yc0oBpwPfmD7fiZm7h3xMWIfUchVIeh1GTu9K4ErkwOxH9mg9Frv0vfic1Xmx/yIpx82s/g1Mws1wk1DD4V2D77S84FIcxF0gJmEUiepSYqBI+/5klaJQ0P5q6j40xhMZx2GAhxCDGUmK4ygt/gbfI142eqBVPQAAAABJRU5ErkJggg=="},"51f1":function(t,e,a){t.exports=a.p+"img/data-quality-music-publishers-level-3.e5feb2a9.svg"},"559f":function(t,e,a){"use strict";a("5f9c")},"56d7":function(t,e,a){"use strict";a.r(e);a("cadf"),a("551c"),a("f751"),a("097d");var n=a("2b0e"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",[t.$store.getters.getIsLoggedIn?a("div",[a("Navigation"),a("Header")],1):t._e(),a("v-main",{staticStyle:{"background-color":"var(--v-contentBackground-base)"}},[a("v-container",{attrs:{fluid:""}},[a("router-view")],1)],1),a("Snackbar")],1)},s=[],r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-app-bar",{attrs:{color:"headerBackground",id:"alv-toolbar","clipped-left":"",height:"80px",fixed:"",flat:"",app:""}},[n("v-img",{attrs:{src:a("0683"),alt:"ALV Logo",height:"70%","max-width":"100px",contain:"",alvqa:t.alvqa+"-alv-logo"},on:{click:t.goToDashboard}}),n("v-spacer"),t.isNda?n("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[n("v-img",{attrs:{src:t.getNdaBadge,alt:"NDA-Partner",height:"80%","max-width":"60px",contain:"",alvqa:t.alvqa+"-alv-nda-badge"}})]},proxy:!0},{key:"text",fn:function(){return[t._v("\n            "+t._s(t.getNdaTooltipText)+"\n        ")]},proxy:!0}],null,!1,2842995641)}):t._e(),n("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[n("v-img",{attrs:{src:t.getByUserRole,alt:t.userRoleTooltipText,height:"80%","max-width":"60px",contain:"",alvqa:t.alvqa+"-alv-user-badge-"+t.$store.getters["getUserInformation"].role}})]},proxy:!0},{key:"text",fn:function(){return[t._v("\n            "+t._s(t.userRoleTooltipText)+"\n        ")]},proxy:!0}])}),n("v-toolbar-items",[n("v-btn",{staticClass:"black--text",attrs:{text:"",alvqa:t.alvqa+"-button-username"}},[n("div",{staticStyle:{"line-height":"80%"}},[t._v(t._s(t.username)),n("br"),n("span",{staticClass:"ellipsis subtitleGray--text"},[n("br"),t._v(t._s(t.company))])])]),n("v-menu",{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(e){var a=e.on;return[n("v-btn",t._g({staticClass:"black--text",attrs:{text:"",alvqa:t.alvqa+"-dropdown-language-"+t.language}},a),[t._v("\n                    "+t._s(t.$t(t.selectedLang))+"\n                ")])]}}])},[n("v-list",t._l(t.languages,(function(e,a){return n("v-list-item",{key:a,attrs:{alvqa:t.alvqa+"-dropdown-language-"+e.value},on:{click:function(a){return t.changeLanguage(e)}}},[n("v-list-item-title",{class:{"generalDropdownSelected--text":e.value===t.language}},[t._v(t._s(e.native))])],1)})),1)],1),n("v-btn",{staticClass:"black--text",attrs:{text:"",alvqa:t.alvqa+"-button-logout"},on:{click:t.logout}},[t._v(t._s(t.logoutButton))])],1),n("template",{slot:"extension"},[n("v-sheet",{staticClass:"text-left pl-1 headerExtensionAboveNavigation",attrs:{tile:"",width:t.$store.getters.getDrawer?56:280,color:"headerExtensionAboveNavigation"}},[n("v-btn",{staticClass:"ma-0",attrs:{icon:""},on:{click:function(e){return t.toggleMenu()}}},[t.$store.getters.getOpenDriver?n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:"currentColor",d:"M9 11h6V8l4 4l-4 4v-3H9v3l-4-4l4-4zm-7 9V4h2v16zm18 0V4h2v16z"}})]):n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:"currentColor",d:"M13 20V4h2.03v16zm-3 0V4h2.03v16zM5 8l4.03 4L5 16v-3H2v-2h3zm15 8l-4-4l4-4v3h3v2h-3z"}})])])],1),n("span",{staticClass:"ml-3"},[n("BaseIcon",{attrs:{color:"breadcrumbIcon",icon:"home"}})],1),n("BaseBreadcrumbs")],1)],2)},l=[],o=(a("8e6e"),a("ac6a"),a("456d"),a("96cf"),a("3b8d")),c=a("bd86"),u=(a("7514"),a("2f62")),d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-breadcrumbs",{staticClass:"pl-0",attrs:{items:t.breadcrumbs,divider:">",large:""},scopedSlots:t._u([{key:"item",fn:function(e){return[e.item.select?a("v-breadcrumbs-item",[a("v-select",{staticClass:"breadcrumbsSelect",attrs:{items:t.companies,"item-text":"name","item-value":"id","menu-props":"offset-y",dense:"","return-object":"","hide-details":"",disabled:t.companyChangeDisabled,"no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE")},on:{input:function(e){return t.changeCompany()}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:"breadcrumbs-dropdown-"+n.id}},[t._v("\n                "+t._s(n.name)+"\n              ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:"breadcrumbs-dropdown-selected-"+n.id}},[t._v("\n                "+t._s(n.name)+"\n              ")])]}}],null,!0),model:{value:t.selectedCompany,callback:function(e){t.selectedCompany=e},expression:"selectedCompany"}})],1):"lang_PUBLISHING_CAPTION_WORKS"===t.childName?a("v-breadcrumbs-item",[t._v("\n        "+t._s("Werke"!==e.item.text&&"Works"!==e.item.text||""===t.selectedPublishingComp?e.item.text:e.item.text+" ("+t.$t("lang_GENERIC_CURRENT_PUBLISHING_COMPANY")+": "+t.selectedPublishingComp+")")+"\n    ")]):a("v-breadcrumbs-item",[t._v("\n      "+t._s(e.item.text)+"\n    ")])]}}])})},g=[],p=(a("7f7f"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseTooltip",{attrs:{disabled:!t.tooltipText},scopedSlots:t._u([{key:"content",fn:function(){return[a("v-btn",{attrs:{color:t.color,text:"",icon:"",href:t.href,to:t.to,disabled:t.disabled},on:{click:t.click}},[a("v-icon",{attrs:{small:t.small,id:t.id,alvqa:t.alvqa}},[t._v(t._s(t.icon))])],1)]},proxy:!0},{key:"text",fn:function(){return[t._v("\n        "+t._s(t.$alvPlugin.isLangConst(t.tooltipText)?t.$t(t.tooltipText):t.tooltipText)+"\n    ")]},proxy:!0}])})}),v=[],h=a("5d92"),m=a.n(h),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-tooltip",{attrs:{bottom:"",color:t.color,disabled:t.disabled},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("span",t._g({},n),[""!==t.simpleText?a("span",{attrs:{alvqa:t.alvqa}},[t._v("\n                "+t._s(t.$alvPlugin.isLangConst(t.simpleText)?t.$t(t.simpleText):t.simpleText)+"\n            ")]):t._t("content")],2)]}}])},[""!==t.simpleText?a("span",[t._v("\n       "+t._s(t.$alvPlugin.isLangConst(t.simpleText)?t.$t(t.simpleText):t.simpleText)+"\n    ")]):t._t("text")],2)},S=[],E={name:"BaseTooltip",props:{disabled:{type:Boolean,default:!1},color:{type:String,default:"tooltipBackground"},simpleText:{type:String,default:""},alvqa:{type:String,default:""}}},I=E,C=a("2877"),A=Object(C["a"])(I,f,S,!1,null,null,null),T=A.exports,b={name:"BaseIcon",extends:m.a,components:{BaseTooltip:T},props:{tooltipText:String,icon:String,color:{default:"iconStandard",type:String},small:{type:Boolean,default:!1},id:String,alvqa:{type:String,default:""}}},P=b,D=Object(C["a"])(P,p,v,!1,null,null,null),N=D.exports,R={name:"BaseBreadcrumbs",components:{BaseIcon:N},computed:{breadcrumbs:function(){var t=[{text:this.$t(this.parentName),disabled:!0},{text:"Company",disabled:!1,select:!0},{text:this.$t(this.childName),disabled:!0}];return"lang_DASHBOARD"===this.parentName&&t.splice(1),"lang_PUBLISHING_CAPTION_WORKS"!==this.childName&&"lang_GENERIC_CAPTION_AZ"!==this.parentName&&"lang_ACCOUNT_MODULES"!==this.childName&&"lang_ACCOUNT_COMPANIES"!==this.childName&&"lang_ACCOUNT_CREDENTIALS"!==this.childName&&"lang_ACCOUNT_MAPPINGS"!==this.childName||t.splice(1,1),t},isPublishing:function(){return"lang_PUBLISHING"===this.parentName||"lang_CONTRACTS_PUBLISHING_CONTRACTS"===this.childName},isLabel:function(){return"lang_LABEL"===this.parentName||"lang_CONTRACTS_LABEL_CONTRACTS"===this.childName},isPublishingAndLabel:function(){return"lang_ACCOUNT"===this.parentName&&"lang_ACCOUNT_SETTINGS"===this.childName||"lang_ERP"===this.parentName},parentName:function(){return this.$route.meta.parentName},childName:function(){return this.$route.meta.childName},companyChangeDisabled:function(){return!!this.$route.meta.hasOwnProperty("disabledBreadcrumbs")&&this.$route.meta.disabledBreadcrumbs},companies:function(){return this.isPublishingAndLabel?this.allCompanyItems:this.isPublishing?this.$store.getters.getPublishingCompanies:this.isLabel?this.$store.getters.getLabelCompanies:void 0},allCompanyItems:function(){var t=this.$store.getters.getPublishingCompanies,e=this.$store.getters.getLabelCompanies,a=[];return t.length>0&&(a.push({header:this.$t("lang_GENERAL_CAPTION_PUBLISHING_COMPANIES")}),t.forEach((function(t){t["context"]=1,a.push(t)}))),e.length>0&&(a.push({header:this.$t("lang_GENERAL_CAPTION_LABEL_COMPANIES")}),e.forEach((function(t){t["context"]=2,a.push(t)}))),a},selectedPublishingComp:function(){return this.$store.getters.getSelectedPublishingCompany},selectedCompany:{get:function(){return this.isPublishing?this.$store.getters.getSelectedPublishingCompanyId:this.isLabel?this.$store.getters.getSelectedLabelCompanyId:this.isPublishingAndLabel?this.$store.getters.getSelectedOverAllCompany:void 0},set:function(t){this.isPublishing&&this.$store.commit("setSelectedPublishingCompanyId",t),this.isLabel&&this.$store.commit("setSelectedLabelCompanyId",t),this.isPublishingAndLabel&&this.$store.commit("setSelectedOverAllCompany",t)}}},methods:{changeCompany:function(){this.isPublishingAndLabel&&this.$store.dispatch("changeCompany"),this.isPublishing&&this.$store.dispatch("changeCompany",{newId:this.selectedCompany.id,context:"publishing"}),this.isLabel&&this.$store.dispatch("changeCompany",{newId:this.selectedCompany.id,context:"label"}),this.$store._mutations["setSelected"+this.$route.name]&&this.$store.commit("setSelected"+this.$route.name,[]),this.$store._mutations["setIsAllSelected"+this.$route.name]&&this.$store.commit("setIsAllSelected"+this.$route.name,[])}},mounted:function(){this.$store.commit("setSelectedPublishingCompanyId"),this.$store.commit("setSelectedLabelCompanyId"),this.$store.commit("setSelectedOverAllCompany"),this.$store.commit("setPublishingCompanies"),this.$store.commit("setLabelCompanies")}},x=R,O=(a("96db"),Object(C["a"])(x,d,g,!1,null,null,null)),w=O.exports;function L(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?L(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):L(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var q={name:"Header",components:{BaseBreadcrumbs:w,BaseIcon:N,BaseTooltip:T},data:function(){return{username:this.$store.getters.getUserUsername,company:this.$store.getters.getUserCustomerCompany,language:this.$i18n.locale,alvqa:"header",userRoleTooltipText:""}},computed:{logoutButton:function(){return this.$t("lang_HEADER_BUTTON_LOGOUT")},languages:function(){var t=JSON.parse(JSON.stringify(this.$store.getters.getGeneralLanguages));return t},selectedLang:function(){var t=this;return null===this.languages?"":this.languages.find((function(e){return e.value===t.$i18n.locale})).text},getByUserRole:function(){var t=this.$store.getters["getUserInformation"].role,e="";switch(t){case"admin":e="/badges/users/administrator.svg",this.userRoleTooltipText=this.$t("lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_ADMIN");break;case"coworker":e="/badges/users/contributor.svg",this.userRoleTooltipText=this.$t("lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_COWORKER");break;case"assistant":e="/badges/users/assistant.svg",this.userRoleTooltipText=this.$t("lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_ASSISTANT");break;default:e="",this.userRoleTooltipText="Role not set... weird!";break}return a("6646")("./media"+e)},getNdaTooltipText:function(){return this.$t("lang_GENERIC_CAPTION_NDA_PARTNER")},getNdaBadge:function(){return a("101e")},isNda:function(){return!!this.$store.getters["getUserInformation"].nda}},methods:y({toggleMenu:function(){this.$store.commit("setDrawer",!this.$store.getters.getDrawer),this.$store.commit("setOpenDriver",!this.$store.getters.getOpenDriver)}},Object(u["b"])(["fetchI18nMessages"]),{changeLanguage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.value!==this.language&&(this.language=e.value,this.fetchI18nMessages(e.value));case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),goToDashboard:function(){this.$router.push("/dashboard")},logout:function(){localStorage.clear(),this.$router.go(),this.$router.push("/login")}})},k=q,B=(a("8baf"),Object(C["a"])(k,r,l,!1,null,null,null)),$=B.exports,G=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-navigation-drawer",{attrs:{"mini-variant":t.drawer,width:280,app:"",clipped:"",color:"navigationBackground",permanent:""},on:{"update:miniVariant":function(e){t.drawer=e},"update:mini-variant":function(e){t.drawer=e}}},[a("v-list",{attrs:{flat:"",color:"navigationListBackground"}},[t._l(t.items,(function(e,n){return["menu"===e.group?a("v-list-group",{key:"item.title-"+n,staticClass:"navigationLink",attrs:{"no-action":""},on:{click:function(a){return t.trackMixpanel(e.mixpanel)}}},[a("template",{slot:"activator"},[a("v-list-item-icon",[a("v-icon",[t._v(t._s(e.icon))])],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:e.alvqa}},[t._v(t._s(e.title))])],1)],1),t._l(e.items,(function(e,n){return a("v-list-item",{key:"subItem.title-"+n,staticClass:"navigationLink",attrs:{to:e.to},on:{click:function(a){return t.trackMixpanel(e.mixpanel)}}},[a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:e.alvqa}},[a("v-icon",{attrs:{color:"navigationSubitemIcon"}},[t._v("arrow_right")]),t._v("\n              "+t._s(e.title)+"\n            ")],1)],1)],1)}))],2):t._e(),"outside"===e.group?a("v-list-item",{key:"item.title-"+n,staticClass:"navigationLink",attrs:{target:"_blank",href:e.to},on:{click:function(a){return t.trackMixpanel(e.mixpanel)}}},[a("v-list-item-icon",[a("v-icon",[t._v(t._s(e.icon))])],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:e.alvqa}},[t._v(t._s(e.title))])],1)],1):t._e(),"inside"===e.group?a("v-list-item",{key:"item.title-"+n,staticClass:"navigationLink",attrs:{to:e.to},on:{click:function(a){return t.trackMixpanel(e.mixpanel)}}},[a("v-list-item-icon",[a("v-icon",[t._v(t._s(e.icon))])],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:e.alvqa}},[t._v(t._s(e.title))])],1)],1):t._e()]}))],2)],1)},F=[],U={name:"Navigation",components:{BaseIcon:N},data:function(){return{mini:!0}},computed:{drawer:{get:function(){return this.$store.getters.getDrawer},set:function(t){this.$store.commit("setDrawer",t)}},items:function(){this.$store.getters["getUserInformation"].id;return[{group:"inside",mixpanel:"Dashboard",title:this.$t("lang_DASHBOARD"),icon:"dashboard",to:"/dashboard",alvqa:"navigation-dashboard"},{group:"menu",mixpanel:"Publishing",title:this.$t("lang_PUBLISHING"),icon:"music_note",alvqa:"navigation-publishing",items:[{title:this.$t("lang_PUBLISHING_CAPTION_WORKS"),to:"/publishing/works",alvqa:"navigation-publishing-works",mixpanel:"Publishing > Works"},{title:this.$t("lang_PUBLISHING_SHEETS"),to:"/publishing/sheets",alvqa:"navigation-publishing-sheets",mixpanel:"Publishing > Sheets"},{title:this.$t("lang_PUBLISHING_PROJECTS"),to:"/publishing/projects",alvqa:"navigation-publishing-projects",mixpanel:"Publishing > Projects"},{title:this.$t("lang_PUBLISHING_INCOME"),to:"/publishing/income",alvqa:"navigation-publishing-income",mixpanel:"Publishing > Income"},{title:this.$t("lang_PUBLISHING_STATEMENTS"),to:"/publishing/statements",alvqa:"navigation-publishing-statements",mixpanel:"Publishing > Statements"},{title:this.$t("lang_PUBLISHING_STATISTICS"),to:"/publishing/statistics",alvqa:"navigation-publishing-statistics",mixpanel:"Publishing > Statistics"}]},{group:"menu",mixpanel:"Label",title:this.$t("lang_LABEL"),icon:"album",alvqa:"navigation-label",items:[{title:this.$t("lang_LABEL_TRACKS"),to:"/label/tracks",alvqa:"navigation-label-tracks",mixpanel:"Label > Tracks"},{title:this.$t("lang_LABEL_RELEASES"),to:"/label/releases",alvqa:"navigation-label-releases",mixpanel:"Label > Releases"},{title:this.$t("lang_LABEL_PROJECTS"),to:"/label/projects",alvqa:"navigation-label-projects",mixpanel:"Label > Projects"},{title:this.$t("lang_LABEL_SALES_DATA"),to:"/label/salesdata",alvqa:"navigation-label-sales_data",mixpanel:"Label > Salesdata"},{title:this.$t("lang_LABEL_STATEMENTS"),to:"/label/statements",alvqa:"navigation-label-statements",mixpanel:"Label > Statements"},{title:this.$t("lang_LABEL_STATISTICS"),to:"/label/statistics",alvqa:"navigation-label-statistics",mixpanel:"Label > Statistics"}]},{group:"menu",mixpanel:"ERP",title:this.$t("lang_ERP"),icon:"local_shipping",alvqa:"navigation-erp",items:[{title:this.$t("lang_ERP_PRICELISTS"),to:"/erp/pricelists",alvqa:"navigation-erp-pricelists",mixpanel:"ERP > Pricelists"},{title:this.$t("lang_ERP_INVENTORIES"),to:"/erp/inventories",alvqa:"navigation-erp-inventories",mixpanel:"ERP > Inventories"},{title:this.$t("lang_ERP_SHIPPING"),to:"/erp/shipping",alvqa:"navigation-erp-shipping",mixpanel:"ERP > Shipping"},{title:this.$t("lang_ERP_INVOICES"),to:"/erp/invoices",alvqa:"navigation-erp-invoices",mixpanel:"ERP > Invoices"}]},{group:"menu",mixpanel:"A-Z",title:this.$t("lang_GENERIC_CAPTION_AZ"),icon:"group",alvqa:"navigation-az",items:[{title:this.$t("lang_AZ_GROUPS"),to:"/az/azgroups",alvqa:"navigation-az-groups",mixpanel:"A-Z > A-Z Groups"},{title:this.$t("lang_AZ_PERSONS"),to:"/az/azpersons",alvqa:"navigation-az-persons",mixpanel:"A-Z > A-Z Persons"},{title:this.$t("lang_AZ_DISTRIBUTORS"),to:"/az/azdistributors",alvqa:"navigation-az-distributors",mixpanel:"A-Z > A-Z Distributors"},{title:this.$t("lang_AZ_SOCIETIES"),to:"/az/azsocieties",alvqa:"navigation-az-societies",mixpanel:"A-Z > A-Z Societies"},{title:this.$t("lang_AZ_LIVE"),to:"/az/azlive",alvqa:"navigation-az-live",mixpanel:"A-Z > A-Z Live"}]},{group:"menu",mixpanel:"Contracts",title:this.$t("lang_CONTRACTS"),icon:"pie_chart",alvqa:"navigation-contracts",items:[{title:this.$t("lang_CONTRACTS_PUBLISHING_CONTRACTS"),to:"/contracts/publishing",alvqa:"navigation-contracts-publishing",mixpanel:"Contracts > Publishing"},{title:this.$t("lang_CONTRACTS_LABEL_CONTRACTS"),to:"/contracts/label",alvqa:"navigation-contracts-label",mixpanel:"Contracts > Label"}]},{group:"menu",mixpanel:"Account",title:this.$t("lang_ACCOUNT"),icon:"settings",alvqa:"navigation-account",items:[{title:this.$t("lang_ACCOUNT_COMPANIES"),to:"/account/companies",alvqa:"navigation-account-companies",mixpanel:"Account > Companies"},{title:this.$t("lang_ACCOUNT_MODULES"),to:"/account/modules",alvqa:"navigation-account-modules",mixpanel:"Account > Modules"},{title:this.$t("lang_ACCOUNT_SETTINGS"),to:"/account/settings",alvqa:"navigation-account-settings",mixpanel:"Account > Settings"},{title:this.$t("lang_ACCOUNT_CREDENTIALS"),to:"/account/credentials",alvqa:"navigation-account-credentials",mixpanel:"Account > Credentials"},{title:this.$t("lang_ACCOUNT_MAPPINGS"),to:"/account/mappings",alvqa:"navigation-account-mappings",mixpanel:"Account > Mappings"}]},{group:"outside",mixpanel:"HelpCenter",title:this.$t("lang_GENERIC_CAPTION_HELP_CENTER"),to:"https://alvdigital.atlassian.net/servicedesk/customer/portals",icon:"help_outline",alvqa:"navigation-help-center"}]}},methods:{trackMixpanel:function(t){void 0!=t&&mixpanel.track(t,{locale:this.$i18n.locale,userId:this.$store.getters.getUser.id})}}},M=U,W=(a("0554"),Object(C["a"])(M,G,F,!1,null,null,null)),j=W.exports,z=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-snackbar",{attrs:{color:t.snackbar.type,timeout:t.snackbar.timeout,right:""},model:{value:t.model,callback:function(e){t.model=e},expression:"model"}},[a("v-row",[a("v-col",{class:"warning"===t.snackbar.type?"black--text":"white--text",attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.snackbar.msg)}}),"success"===t.snackbar.type&&-1===t.snackbar.timeout?a("v-btn",{staticClass:"text-right",attrs:{dark:"",text:""},on:{click:function(e){t.model=!1}}},[a("v-icon",{attrs:{alvqa:t.alvqa+"-icon"}},[t._v("\n          close\n        ")])],1):t._e()],1)],1)},H=[];function V(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?V(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):V(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var K={name:"Snackbar",data:function(){return{model:!1,alvqa:"snackbar"}},computed:Y({},Object(u["d"])(["snackbar"])),watch:{snackbar:function(){this.model=!0}}},Z=K,X=Object(C["a"])(Z,z,H,!1,null,null,null),J=X.exports,Q={getDrawer:function(t){return t.drawer},getOpenDriver:function(t){return t.openDriver},getIsLoggedIn:function(t){return t.isLoggedIn},getPrevRoute:function(t){return t.prevRoute},getUser:function(t){return t.user},getUserCustomerCompany:function(t){return t.user.customerCompany},getUserCustomerNumber:function(t){return t.user.customerNumber},getUserLanguage:function(t){return t.user.language},getUserUsername:function(t){return t.user.username},getSelectedCurrency:function(t){return t.isLoggedIn&&(t.selectedCurrency=JSON.parse(localStorage.getItem("userData"))["user"]["currency"]),t.selectedCurrency},getHomeSociety:function(t){return t.user.homeSociety},getHomeSocietyCode:function(t){return t.user.homeSocietyCode},getCompanyCountry:function(t){return t.user.companyCountry},getDigitalDistributionIsBooked:function(t){return t.user.digitalDistribution},getUserModules:function(t){return t.user.modules},getUserToken:function(t){return function(){return JSON.parse(localStorage.getItem("userData")).jwt}},getTotalRecords:function(t){return t.totalRecords},getTotalListed:function(t){return t.totalListed},getCurrentPage:function(t){return t.currentPage},getItemsPerPage:function(t){return t.itemsPerPage},getNumberOfPages:function(t){return t.numberOfPages},getTotalRecordsSearchDialog:function(t){return t.totalRecordsSearchDialog},getTotalListedSearchDialog:function(t){return t.totalListedSearchDialog},getPublishingCompanies:function(t){return t.publishingCompanies},getLabelCompanies:function(t){return t.labelCompanies},getSelectedOverAllCompany:function(t){return t.selectedOverAllCompany},getSelectedPublishingCompanyId:function(t){return t.selectedPublishingCompanyId},getSelectedLabelCompanyId:function(t){return t.selectedLabelCompanyId},getCountries:function(t){return t.countries},getPublishingContractsTypes:function(t){return t.publishingContractsTypes},getCountriesDE:function(t){return t.countries.de},getCountriesEN:function(t){return t.countries.en},getAzTypes:function(t){return t.azTypes=JSON.parse(localStorage.getItem("userData"))["azTypes"],t.azTypes},getAzTypesDE:function(t){return t.azTypes.de},getAzTypesEN:function(t){return t.azTypes.en},getApiConnections:function(t){return t.apiConnections=JSON.parse(localStorage.getItem("userData"))["apiConnections"],t.apiConnections},getInterests:function(t){return t.interests},getDealflow:function(t){return t.dealflow=JSON.parse(localStorage.getItem("userData"))["dealflow"],t.dealflow},getDealflowDE:function(t){return t.dealflow.de},getDealflowEN:function(t){return t.dealflow.en},getVisibility:function(t){return t.visibility=JSON.parse(localStorage.getItem("userData"))["visibility"],t.visibility},getVisibilityDE:function(t){return t.visibility.de},getVisibilityEN:function(t){return t.visibility.en},getGeneralLanguages:function(t){return t.generalLanguages=JSON.parse(localStorage.getItem("userData"))["generalLanguageOptions"],t.generalLanguages},getContractsRights:function(t){return t.contractsRights=JSON.parse(localStorage.getItem("userData"))["contractRights"],t.contractsRights},getAccountCredentialsType:function(t){return t.accountCredentialsType=JSON.parse(localStorage.getItem("userData"))["credentialsType"],t.accountCredentialsType},getUserInformation:function(t){return t.userInformation=JSON.parse(localStorage.getItem("userData"))["user"],t.userInformation},getGenres:function(t){return t.genres},getGenresDE:function(t){return t.genres.de},getGenresEN:function(t){return t.genres.en},getLanguages:function(t){return t.languages},getLanguagesDE:function(t){return t.languages.de},getLanguagesEN:function(t){return t.languages.en},getPublishingTypeOfRights:function(t){return t.publishingTypeOfRights},getPublishingTypeOfRightsGema:function(t){return t.publishingTypeOfRights.gema},getPublishingTypeOfRightsSvd:function(t){return t.publishingTypeOfRights.svd},getLabelStatisticsInRows:function(t){return t.labelStatisticsInRows},getLabelStatisticsInRowsAzTypes:function(t){return t.labelStatisticsInRows.azTypes},getLabelStatisticsInRowsDistributors:function(t){return t.labelStatisticsInRows.distributors},getLabelStatisticsInRowsProduct:function(t){return t.labelStatisticsInRows.product},getLicensors:function(t){return t.licensors},getSocieties:function(t){return t.societies},getWorkStyles:function(t){return t.workStyles},getReleaseGemaMediaTypes:function(t){return t.releaseGemaMediaTypes},getReleaseMediaTypes:function(t){return t.releaseMediaTypes=JSON.parse(localStorage.getItem("userData"))["releaseMediaTypes"],t.releaseMediaTypes},getInstrumentations:function(t){return t.instrumentations},getIsLoading:function(t){return t.isLoading},getNoDataText:function(t){return t.noDataText},getSnackbar:function(t){return t.snackbar},getSelectionRequieredAlert:function(t){return t.selectionRequieredAlert},getSelectionRequiredText:function(t){return t.selectionRequiredText},getShowSelectionRequiredDialog:function(t){return t.showSelectionRequiredDialog},getShowPeriodRequiredDialog:function(t){return t.showPeriodRequiredDialog},getShowDeletionDialog:function(t){return t.showDeletionDialog},getDeletionDialogContext:function(t){return t.deletionDialogContext},getShowMoveContractsDialog:function(t){return t.showMoveContractsDialog},getConfirmationDialog:function(t){return t.confirmationDialog},getShowGemaWorksCheckDialog:function(t){return t.showGemaWorksCheckDialog},getShowSearchDialog:function(t){return t.showSearchDialog},getShowConnectArtistDialog:function(t){return t.showConnectArtistDialog},getShowStatementPreviewDialog:function(t){return t.showStatementPreviewDialog},getPersonsPanelEntry:function(t){return t.personsPanelEntry},getSelectedPersonsPanelEntry:function(t){return t.selectedPersonsPanelEntry},getPersonsPanelEntryEditingDialogDetails:function(t){return t.personsPanelEntryEditingDialogDetails},getDefaultPersonsPanelEntry:function(t){return t.defaultPersonsPanelEntry},getPersonsPanelEntryPersonOptions:function(t){return t.personsPanelEntryPersonOptions},getPersonsPanelEntryDetailsPerson:function(t){return t.selectedPersonPersonsPanelDialog},getPersonsPanelEntryDetailsMobil:function(t){return t.personsPanelEntryEditingDialogDetails.cellphone},getPersonsPanelEntryDetailsEmail:function(t){return t.personsPanelEntryEditingDialogDetails.email},getPersonsPanelEntryDetailsRole:function(t){return t.personsPanelEntryEditingDialogDetails.role},getPersonsPanelEntryDetailsInheritFromGroup:function(t){return t.personsPanelEntryEditingDialogDetails.inheritFromGroup},getPersonsPanelEntryDetailsId:function(t){return t.personsPanelEntryEditingDialogDetails.id},getPersonsPanelEntryDetailsFirstName:function(t){return t.personsPanelEntryEditingDialogDetails.firstName},getPersonsPanelEntryDetailsLastName:function(t){return t.personsPanelEntryEditingDialogDetails.lastName},getPersonsPanelEntryDetailsKeyName:function(t){return t.personsPanelEntryEditingDialogDetails.gemaName},getShowErrorDialog:function(t){return t.showErrorDialog},getErrorMessageCode:function(t){return t.errorMessageCode},getErrorDialogCsvLink:function(t){return t.errorDialogCsvLink},getErrorDialogMessage:function(t){return t.errorDialogMessage},getSelectedFileImportOption:function(t){return t.selectedFileImportOption},getSelectedFileImport:function(t){return t.selectedFileImport},getShowImageUploadDialog:function(t){return t.showImageUploadDialog},getShowMediaFileUploadDialog:function(t){return t.showMediaFileUploadDialog},getSelectedFileUploadOption:function(t){return t.selectedFileUploadOption},getShowFileImportDialog:function(t){return t.showFileImportDialog},getImportDialogText:function(t){return t.importDialogText},getUploadPictureDialogText:function(t){return t.uploadPictureDialogText},getSelectedPeriodValuesImportDialog:function(t){return t.selectedPeriodValuesImportDialog},getSelectedPeriodNumberImportDialog:function(t){return t.selectedPeriodValuesImportDialog.num},getSelectedPeriodTimeUnitImportDialog:function(t){return t.selectedPeriodValuesImportDialog.period},getSelectedPeriodYearImportDialog:function(t){return t.selectedPeriodValuesImportDialog.year},getSelectedImportDialogCheckboxes:function(t){return t.selectedImportDialogCheckboxes},getSelectedFileReport:function(t){return t.selectedFileReport},getShowRunErrorListDialog:function(t){return t.showRunErrorListDialog},getRunErrorListDialogText:function(t){return t.runErrorListDialogText},getRunErrorListDialogProgressValue:function(t){return t.runErrorListDialogProgressValue},getRunErrorListDialogPolling:function(t){return t.runErrorListDialogPolling},getShowInlineEditingDialog:function(t){return t.showInlineEditingDialog},getShowRegionDialog:function(t){return t.showRegionDialog},getRegionDialogIncludeOptions:function(t){return t.regionDialogIncludeOptions},getRegionDialogExcludeOptions:function(t){return t.regionDialogExcludeOptions},getRegionDialogDetailsInclude:function(t){return t.regionDialogDetailsInclude},getRegionDialogDetailsExclude:function(t){return t.regionDialogDetailsExclude},getShowEditingDialog:function(t){return t.showEditingDialog},getEditingDialogHeadline:function(t){return t.editingDialogHeadline},getShowManageTagsDialog:function(t){return t.showManageTagsDialog},getAddTag:function(t){return t.addTag},getRemoveTag:function(t){return t.removeTag},getShowSyncDataDialog:function(t){return t.showSyncDataDialog},getDigitalPlatforms:function(t){return t.digitalPlatforms},getSelectedFileBulkImportUploader:function(t){return t.selectedFileBulkImportUploader},getSelectedFileBulkImport:function(t){return t.selectedFileBulkImport},getSelectedFileRecordsBulkImport:function(t){return t.selectedFileRecordsBulkImport},getSelectedFileReportDataBulkImport:function(t){return t.selectedFileReportDataBulkImport},getShowFileBulkImportDialog:function(t){return t.showFileBulkImportDialog},getFileBulkUploaderFileRecordsForUpload:function(t){return t.fileBulkUploaderFileRecordsForUpload},getFileBulkUploaderUploadUrl:function(t){return t.fileBulkUploaderUploadUrl},getFileBulkUploaderUploadHeaders:function(t){return t.fileBulkUploaderUploadHeaders},getFileBulkUploaderDeletable:function(t){return t.fileBulkUploaderDeletable},getFileBulkUploaderReadonly:function(t){return t.fileBulkUploaderReadonly},getFileBulkUploaderDetailsTag:function(t){return t.fileBulkUploaderDetailsTag},getFileBulkUploaderDetailsSelectedLabelId:function(t){return t.fileBulkUploaderDetailsSelectedLabelId},getFileBulkUploaderLabelsDropdown:function(t){return t.fileBulkUploaderLabelsDropdown},getShowDragAndDropUploader:function(t){return t.showDragAndDropUploader},getSelectedImageUploadFile:function(t){return t.selectedImageUploadFile},getShowUploadBtnDragAndDropUploader:function(t){return t.showUploadBtnDragAndDropUploader},getImageUploaderImageExists:function(t){return t.imageUploaderImageExists},getImageUploaderContext:function(t){return t.imageUploaderContext},getShowImageUploadOnlyDialog:function(t){return t.showImageUploadOnlyDialog},getSelectedMediaUploadFiles:function(t){return t.selectedMediaUploadFiles},getUploadProgressbarValue:function(t){return t.uploadProgressbarValue},getAudio:function(t){return t.audio},getListpageImporters:function(t){return t.listpageImporters}},tt=a("a925"),et={en:{alvShort:{year:"numeric",month:"numeric",day:"numeric"},alvDateFormat:{year:"numeric",month:"2-digit",day:"2-digit"},alvDateTime:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},alvMonthYearFormat:{year:"numeric",month:"long"}},de:{alvShort:{year:"numeric",month:"numeric",day:"numeric"},alvDateFormat:{year:"numeric",month:"2-digit",day:"2-digit"},alvDateTime:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},alvMonthYearFormat:{year:"numeric",month:"long"}},ja:{alvShort:{year:"numeric",month:"numeric",day:"numeric"},alvDateFormat:{year:"numeric",month:"2-digit",day:"2-digit"},alvDateTime:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},alvMonthYearFormat:{year:"numeric",month:"long"}},ko:{alvShort:{year:"numeric",month:"numeric",day:"numeric"},alvDateFormat:{year:"numeric",month:"2-digit",day:"2-digit"},alvDateTime:{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},alvMonthYearFormat:{year:"numeric",month:"long"}}},at={en:{currency:{style:"currency",currency:"USD"},percent:{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},numberInteger:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},decimal8:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:8},decimal3:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:3},numberWithoutGrouping:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!1}},de:{currency:{style:"currency",currency:"EUR"},percent:{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},numberInteger:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},decimal8:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:8},decimal3:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:3},numberWithoutGrouping:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!1}},ko:{currency:{style:"currency",currency:"KRW"},percent:{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},numberInteger:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},decimal8:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:8},decimal3:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:3},numberWithoutGrouping:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!1}},EUR:{currency:{style:"currency",currency:"EUR"}},USD:{currency:{style:"currency",currency:"USD"}},EU:{percent:{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}},US:{percent:{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}},KRW:{currency:{style:"currency",currency:"KRW"}}};n["default"].use(tt["a"]);var nt=new tt["a"]({locale:"de",fallbackLocale:"en",messages:{},dateTimeFormats:et,numberFormats:at,silentTranslationWarn:!1}),it=nt,st=(a("2ef0"),{setDrawer:function(t,e){t.drawer=e},setOpenDriver:function(t,e){t.openDriver=e},setIsLoggedIn:function(t,e){t.isLoggedIn=e},setPrevRoute:function(t,e){t.prevRoute=e},setI18nMessages:function(t,e){it.setLocaleMessage(it.locale,e)},setUser:function(t,e){t.user=e},setUserCustomerCompany:function(t,e){t.user.customerCompany=e},setUserCustomerNumber:function(t,e){t.user.customerNumber=e},setUserLanguage:function(t,e){t.user.language=e},setUserUsername:function(t,e){t.user.username=e},setSelectedCurrency:function(t){t.isLoggedIn&&(t.selectedCurrency=JSON.parse(localStorage.getItem("userData"))["user"]["currency"])},setHomeSociety:function(t){t.isLoggedIn&&(t.selectedCurrency=JSON.parse(localStorage.getItem("userData"))["user"]["homeSociety"])},setHomeSocietyCode:function(t){t.isLoggedIn&&(t.selectedCurrency=JSON.parse(localStorage.getItem("userData"))["user"]["homeSocietyCode"])},setCompanyCountry:function(t){t.isLoggedIn&&(t.companyCountry=JSON.parse(localStorage.getItem("userData"))["user"]["companyCountry"])},setTotalRecords:function(t,e){t.totalRecords=e},setTotalListed:function(t,e){t.totalListed=e},setCurrentPage:function(t,e){t.currentPage=e},setItemsPerPage:function(t,e){t.itemsPerPage=e},setNumberOfPages:function(t,e){t.numberOfPages=e},setTotalRecordsSearchDialog:function(t,e){t.totalRecordsSearchDialog=e},setTotalListedSearchDialog:function(t,e){t.totalListedSearchDialog=e},setPublishingCompanies:function(t){t.isLoggedIn&&(t.publishingCompanies=JSON.parse(localStorage.getItem("userData"))["publishingCompanies"])},setLabelCompanies:function(t){t.isLoggedIn&&(t.labelCompanies=JSON.parse(localStorage.getItem("userData"))["labelCompanies"])},setSelectedOverAllCompany:function(t,e){e&&(t.selectedOverAllCompany=e),void 0===e&&(t.selectedOverAllCompany=JSON.parse(localStorage.getItem("userData"))["selectedOverAllCompany"])},setSelectedPublishingCompanyId:function(t,e){e&&(t.selectedPublishingCompanyId=e),t.isLoggedIn&&void 0===e&&(t.selectedPublishingCompanyId=JSON.parse(localStorage.getItem("userData"))["selectedPublishingCompanyId"])},setSelectedLabelCompanyId:function(t,e){e&&(t.selectedLabelCompanyId=e),t.isLoggedIn&&void 0===e&&(t.selectedLabelCompanyId=JSON.parse(localStorage.getItem("userData"))["selectedLabelCompanyId"])},setCountries:function(t){t.countries=JSON.parse(localStorage.getItem("userData"))["countries"]},setPublishingContractsTypes:function(t){t.publishingContractsTypes=JSON.parse(localStorage.getItem("userData"))["publishingContractsTypes"]},setCountriesDE:function(t,e){t.countries.de=e},setCountriesEN:function(t,e){t.countries.en=e},setAzTypes:function(t){t.azTypes=JSON.parse(localStorage.getItem("userData"))["azTypes"]},setAzTypesDE:function(t,e){t.azTypes.de=e},setAzTypesEN:function(t,e){t.azTypes.en=e},setApiConnections:function(t){t.apiConnections=JSON.parse(localStorage.getItem("userData"))["apiConnections"]},setInterests:function(t){t.interests=JSON.parse(localStorage.getItem("userData"))["interests"]},setDealflow:function(t){t.dealflow=JSON.parse(localStorage.getItem("userData"))["dealflow"]},setDealflowDE:function(t,e){t.dealflow.de=e},setDealflowEN:function(t,e){t.dealflow.en=e},setVisibility:function(t){t.visibility=JSON.parse(localStorage.getItem("userData"))["visibility"]},setVisibilityDE:function(t,e){t.visibility.de=e},setVisibilityEN:function(t,e){t.visibility.en=e},setGeneralLanguages:function(t){t.generalLanguages=JSON.parse(localStorage.getItem("userData"))["generalLanguageOptions"]},setGenres:function(t){t.genres=JSON.parse(localStorage.getItem("userData"))["genres"]},setGenresDE:function(t,e){t.genres.de=e},setGenresEN:function(t,e){t.genres.en=e},setLanguages:function(t){t.languages=JSON.parse(localStorage.getItem("userData"))["languages"]},setLanguagesDE:function(t,e){t.languages.de=e},setLanguagesEN:function(t,e){t.languages.en=e},setPublishingTypeOfRights:function(t){t.publishingTypeOfRights=JSON.parse(localStorage.getItem("userData"))["publishingTypeOfRights"]},setPublishingTypeOfRightsGema:function(t,e){t.publishingTypeOfRights.gema=e},setPublishingTypeOfRightsSvd:function(t,e){t.publishingTypeOfRights.svd=e},setLabelStatisticsInRows:function(t){t.labelStatisticsInRows=JSON.parse(localStorage.getItem("userData"))["labelStatisticsInRows"]},setLabelStatisticsInRowsAzTypes:function(t,e){t.labelStatisticsInRows.azTypes=e},setLabelStatisticsInRowsDistributors:function(t,e){t.labelStatisticsInRows.distributors=e},setLabelStatisticsInRowsProduct:function(t,e){t.labelStatisticsInRows.product=e},setLicensors:function(t){t.licensors=JSON.parse(localStorage.getItem("userData"))["licensors"]},setSocieties:function(t){t.societies=JSON.parse(localStorage.getItem("userData"))["societies"]},setWorkStyles:function(t){t.workStyles=JSON.parse(localStorage.getItem("userData"))["workStyles"]},setReleaseGemaMediaTypes:function(t){return t.releaseGemaMediaTypes=JSON.parse(localStorage.getItem("userData"))["releaseGemaMediaTypes"]},setReleaseMediaTypes:function(t){return t.releaseMediaTypes=JSON.parse(localStorage.getItem("userData"))["releaseMediaTypes"]},setInstrumentations:function(t){return t.instrumentations=JSON.parse(localStorage.getItem("userData"))["instrumentations"]},setIsLoading:function(t,e){t.isLoading=e},setNoDataText:function(t,e){t.noDataText=e},setSnackbar:function(t,e){t.snackbar=e},setSelectionRequieredAlert:function(t,e){t.selectionRequieredAlert=e},setSelectionRequiredText:function(t,e){t.selectionRequiredText=e},setShowSelectionRequiredDialog:function(t,e){t.showSelectionRequiredDialog=e},setShowPeriodRequiredDialog:function(t,e){t.showPeriodRequiredDialog=e},setShowDeletionDialog:function(t,e){t.showDeletionDialog=e},setDeletionDialogContext:function(t,e){t.deletionDialogContext=e},setShowMoveContractsDialog:function(t,e){t.showMoveContractsDialog=e},setShowConnectArtistDialog:function(t,e){t.showConnectArtistDialog=e},setShowStatementPreviewDialog:function(t,e){t.showStatementPreviewDialog=e},setConfirmationDialog:function(t,e){t.confirmationDialog=e},setShowConfirmationDialog:function(t,e){t.confirmationDialog.show=e},setResolveCallbackConfirmationDialog:function(t,e){t.confirmationDialog.resolveCallback&&(t.confirmationDialog.resolveCallback(e),t.confirmationDialog.resolveCallback=null),t.confirmationDialog.result=e},setShowMediaFileUploadDialog:function(t,e){t.showMediaFileUploadDialog=e},setShowGemaWorksCheckDialog:function(t,e){t.showGemaWorksCheckDialog=e},setShowSearchDialog:function(t,e){t.showSearchDialog=e},setPersonsPanelEntry:function(t,e){t.personsPanelEntry=e},setSelectedPersonsPanelEntry:function(t,e){t.selectedPersonsPanelEntry=e},setPersonsPanelEntryEditingDialogDetails:function(t,e){t.personsPanelEntryEditingDialogDetails=e},setDefaultPersonsPanelEntry:function(t){t.defaultPersonsPanelEntry=DEFAULT_PERSONS},setPersonsPanelEntryPersonOptions:function(t,e){t.personsPanelEntryPersonOptions=e},setPersonsPanelEntryDetailsPerson:function(t,e){t.selectedPersonPersonsPanelDialog=e},setPersonsPanelEntryDetailsMobil:function(t,e){t.personsPanelEntryEditingDialogDetails.cellphone=e},setPersonsPanelEntryDetailsEmail:function(t,e){t.personsPanelEntryEditingDialogDetails.email=e},setPersonsPanelEntryDetailsRole:function(t,e){t.personsPanelEntryEditingDialogDetails.role=e},setPersonsPanelEntryDetailsInheritFromGroup:function(t,e){t.personsPanelEntryEditingDialogDetails.inheritFromGroup=e},setPersonsPanelEntryDetailsId:function(t,e){t.personsPanelEntryEditingDialogDetails.id=e},setPersonsPanelEntryDetailsFirstName:function(t,e){t.personsPanelEntryEditingDialogDetails.firstName=e},setPersonsPanelEntryDetailsLastName:function(t,e){t.personsPanelEntryEditingDialogDetails.lastName=e},setPersonsPanelEntryDetailsKeyName:function(t,e){t.personsPanelEntryEditingDialogDetails.gemaName=e},setShowErrorDialog:function(t,e){t.showErrorDialog=e},setErrorMessageCode:function(t,e){t.errorMessageCode=e},setErrorDialogCsvLink:function(t,e){t.errorDialogCsvLink=e},setErrorDialogMessage:function(t,e){t.errorDialogMessage=e},setSelectedFileImportOption:function(t,e){t.selectedFileImportOption=e},setSelectedFileImport:function(t,e){t.selectedFileImport=e},setSelectedFileUploadOption:function(t,e){t.selectedFileUploadOption=e},setShowFileImportDialog:function(t,e){t.showFileImportDialog=e},setImportDialogText:function(t,e){t.importDialogText=e},setUploadPictureDialogText:function(t,e){t.uploadPictureDialogText=e},setSelectedPeriodValuesImportDialog:function(t,e){t.selectedPeriodValuesImportDialog=e},setSelectedPeriodNumberImportDialog:function(t,e){t.selectedPeriodValuesImportDialog.num=e},setSelectedPeriodTimeUnitImportDialog:function(t,e){t.selectedPeriodValuesImportDialog.period=e},setSelectedPeriodYearImportDialog:function(t,e){t.selectedPeriodValuesImportDialog.year=e},setSelectedImportDialogCheckboxes:function(t,e){t.selectedImportDialogCheckboxes=e},setSelectedFileReport:function(t,e){t.selectedFileReport=e},setShowRunErrorListDialog:function(t,e){t.showRunErrorListDialog=e},setRunErrorListDialogText:function(t,e){t.runErrorListDialogText=e},setRunErrorListDialogProgressValue:function(t,e){t.runErrorListDialogProgressValue=e},setRunErrorListDialogPolling:function(t,e){t.runErrorListDialogPolling=e},setShowInlineEditingDialog:function(t,e){t.showInlineEditingDialog=e},setShowRegionDialog:function(t,e){t.showRegionDialog=e},setRegionDialogIncludeOptions:function(t,e){t.regionDialogIncludeOptions=e},setRegionDialogExcludeOptions:function(t,e){t.regionDialogExcludeOptions=e},setRegionDialogDetailsInclude:function(t,e){t.regionDialogDetailsInclude=e},setRegionDialogDetailsExclude:function(t,e){t.regionDialogDetailsExclude=e},setShowEditingDialog:function(t,e){t.showEditingDialog=e},setEditingDialogHeadline:function(t,e){t.editingDialogHeadline=e},setShowManageTagsDialog:function(t,e){t.showManageTagsDialog=e},setAddTag:function(t,e){t.addTag=e},setRemoveTag:function(t,e){t.removeTag=e},setShowSyncDataDialog:function(t,e){t.showSyncDataDialog=e},setDigitalPlatforms:function(t){t.digitalPlatforms=JSON.parse(localStorage.getItem("userData"))["digitalPlatforms"]},setShowFileBulkImportDialog:function(t,e){t.showFileBulkImportDialog=e},setSelectedFileBulkImport:function(t,e){t.selectedFileBulkImport=e},setSelectedFileReportDataBulkImport:function(t,e){t.selectedFileReportDataBulkImport=e},setSelectedFileRecordsBulkImport:function(t,e){t.selectedFileRecordsBulkImport=e},setSelectedFileBulkImportUploader:function(t,e){t.selectedFileBulkImportUploader=e},setShowDragAndDropUploader:function(t,e){t.showDragAndDropUploader=e},setFileBulkUploaderFileRecordsForUpload:function(t,e){t.fileBulkUploaderFileRecordsForUpload=e},setFileBulkUploaderUploadUrl:function(t,e){t.fileBulkUploaderUploadUrl=e},setFileBulkUploaderUploadHeaders:function(t,e){t.fileBulkUploaderUploadHeaders=e},setFileBulkUploaderDeletable:function(t,e){t.fileBulkUploaderDeletable=e},setFileBulkUploaderReadonly:function(t,e){t.fileBulkUploaderReadonly=e},setFileBulkUploaderDetailsTag:function(t,e){t.fileBulkUploaderDetailsTag=e},setFileBulkUploaderDetailsSelectedLabelId:function(t,e){t.fileBulkUploaderDetailsSelectedLabelId=e},setFileBulkUploaderLabelsDropdown:function(t,e){t.fileBulkUploaderLabelsDropdown=e},setSelectedImageUploadFile:function(t,e){t.selectedImageUploadFile=e},setShowUploadBtnDragAndDropUploader:function(t,e){t.showUploadBtnDragAndDropUploader=e},setImageUploaderImageExists:function(t,e){t.imageUploaderImageExists=e},setShowImageUploadDialog:function(t,e){t.showImageUploadDialog=e},setImageUploaderContext:function(t,e){t.imageUploaderContext=e},setShowImageUploadOnlyDialog:function(t,e){t.showImageUploadOnlyDialog=e},setSelectedMediaUploadFiles:function(t,e){t.selectedMediaUploadFiles=e},setUploadProgressbarValue:function(t,e){t.uploadProgressbarValue=e},setBalanceInNumbersSelected:function(t,e){t.balanceInNumbersSelected=e},setBalanceInTimeUnitSelected:function(t,e){t.balanceInTimeUnitSelected=e},setBalanceInYearSelected:function(t,e){t.balanceInYearSelected=e},setContractsRights:function(t){t.contractsRights=JSON.parse(localStorage.getItem("userData"))["contractRights"]},setAccountCredentialsType:function(t){t.accountCredentialsType=JSON.parse(localStorage.getItem("userData"))["credentialsType"]},setUserInformation:function(t){t.userInformation=JSON.parse(localStorage.getItem("userData"))["user"]},setAudio:function(t,e){t.audio=e},setListpageImporters:function(t,e){t.listpageImporters=e}}),rt=(a("20d6"),a("a481"),a("f576"),a("768b")),lt=(a("ffc1"),a("6762"),a("2fdb"),a("bc3a")),ot=a.n(lt),ct=a("8c4f"),ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{attrs:{id:"login"}},[n("v-layout",{attrs:{"align-center":"","justify-center":""}},[n("v-card",{staticClass:"elevation-5",attrs:{width:"600px"}},[n("v-card-text",{staticClass:"pa-5"},[n("v-img",{staticClass:"mb-3 mx-auto",attrs:{src:a("e482"),width:"80px"}}),n("h3",{staticClass:"text-center"},[t._v(t._s(t.signInText))]),n("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[n("v-text-field",{attrs:{"prepend-icon":"person",label:t.usernameLabel,name:"username",alvqa:"login-username"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),n("v-text-field",{attrs:{"prepend-icon":"lock",label:t.passwordLabel,name:"password",type:"password",alvqa:"login-password"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),n("v-flex",{attrs:{"text-right":""}},[n("v-btn",{attrs:{type:"submit",alvqa:"login-submit",disabled:t.isLoading}},[t._v("\n              "+t._s(t.loginButtonLabel)+"\n            ")])],1)],1)],1)],1)],1)],1)},dt=[],gt={name:"Login",data:function(){return{username:"",password:""}},computed:{passwordLabel:function(){return"Password"},usernameLabel:function(){return"User"},signInText:function(){return"Login"},loginButtonLabel:function(){return"Login"},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}},methods:{submit:function(){var t=this;this.isLoading=!0,k$.postLogin(this.username,this.password).then((function(e){localStorage.setItem("userData",JSON.stringify(e)),t.$store.commit("setUser",JSON.parse(localStorage.getItem("userData")).user),mixpanel.identify(t.$store.getters.getUser.id),mixpanel.track("Logging in as",{userId:t.$store.getters.getUser.id,userName:t.$store.getters.getUserUsername,userCompany:t.$store.getters.getUserCustomerCompany}),mixpanel.people.set({$last_login:new Date,Company:t.$store.getters.getUserCustomerCompany,Username:t.$store.getters.getUserUsername,Name:t.$store.getters.getUserUsername,"User Id":t.$store.getters.getUser.id}),t.$store.commit("setSnackbar",{type:"success",msg:"Login was successful"}),t.$i18n.locale=t.$store.getters.getUserLanguage,t.isLoading=!1,t.$router.push("/dashboard")})).catch((function(e){t.isLoading=!1,t.$store.commit("setSnackbar",{type:"error",msg:"Login was not successful. Please check username and password."})}))}},beforeRouteEnter:function(t,e,a){a((function(t){t.$store.getters.getIsLoggedIn&&t.$router.push("/dashboard")}))}},pt=gt,vt=Object(C["a"])(pt,ut,dt,!1,null,null,null),_t=vt.exports,ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("GemaWorksCheckDialog"),a("GemaSoundfileDialog"),a("v-row",{attrs:{"no-gutters":""}},[a("v-col",{attrs:{cols:"4"}},[a("v-col",{attrs:{cols:"12"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-title",[t._v(t._s(t.$t("lang_DASHBOARD_CAPTION_GEMA_STATUS_CHECK")))]),a("v-card-subtitle",[t._v(t._s(t.$t("lang_DASHBOARD_CAPTION_GEMA_STATUS_CHECK_SUBTITLE")))]),a("v-card-actions",{staticClass:"pl-4"},[a("BaseButton",{attrs:{label:"lang_DASHBOARD_CAPTION_BUTTON_STATUS_CHECK",alvqa:t.alvqa+"-button-gema-status-check"},on:{click:function(e){t.showGemaWorksCheckDialog=!t.showGemaWorksCheckDialog}}})],1)],1)],1),a("v-col",{attrs:{cols:"12"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-title",[t._v(t._s(t.$t("lang_DASHBOARD_CAPTION_TAG_EXPORT")))]),a("v-card-subtitle",[t._v(t._s(t.$t("lang_DASHBOARD_CAPTION_TAG_EXPORT_TEXT")))]),a("v-card-text",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SelectedTagExportDomain",items:t.tagExportDomainItems,label:t.$t("lang_GENERIC_CAPTION_DOMAINS"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-tag-export-domain"}}),a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",alvqa:t.alvqa+"-button-tag-export"},on:{click:t.launchTagsExportByDomain}})],1)],1)],1)],1),t.contractsRemindersList.length?a("v-col",{attrs:{cols:"4"}},[a("v-col",{staticClass:"pl-0 ",attrs:{cols:"12"}},[a("BaseReminderCard",{attrs:{reminders:t.contractsRemindersList,title:"lang_AZ_COMMUNICATION_LIST_RECONTACT"}})],1)],1):t._e(),t.azRemindersList.length?a("v-col",{attrs:{cols:"4"}},[a("v-col",{staticClass:"pl-0 ",attrs:{cols:"12"}},[a("BaseReminderCard",{attrs:{reminders:t.azRemindersList,title:"lang_AZ_COMMUNICATION_LIST"}})],1)],1):t._e()],1)],1)},mt=[],ft=(a("5df3"),a("55dd"),a("75fc")),St=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"GemaWorksCheckDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showGemaWorksCheckDialog,maxDialogWidth:"900",maxCardHeight:"700",headline:"lang_GENERAL_SELECTION_REQUIRED_DIALOG_TITLE",close:t.close},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showResponse?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-row",[a("v-col",[t.sending?a("v-progress-linear",{attrs:{height:"25",color:"dialogProgressbar"},model:{value:t.progress,callback:function(e){t.progress=e},expression:"progress"}},[a("strong",[t._v(t._s(Math.ceil(t.progress))+"%")])]):t._e(),t.finished?a("span",[t._v(" "+t._s(t.$t("lang_PROCESS_COMPLETED")))]):t._e()],1)],1),a("v-row",[a("v-col",[a("v-simple-table",{attrs:{dense:"","fixed-header":"",height:"400px"},scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left report-table-header",attrs:{width:"130px"}},[t._v("ALVID")]),a("th",{staticClass:"text-left report-table-header",attrs:{width:"130px"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID")))]),a("th",{staticClass:"text-left report-table-header",attrs:{width:"150px"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_GEMA_REG_NO")))]),a("th",{staticClass:"text-left report-table-header",attrs:{width:"100px"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS")))])])]),a("tbody",t._l(t.data,(function(e,n){return a("tr",{key:n},[a("td",{attrs:{width:"130px"}},[t._v(t._s(e.alvId))]),a("td",{attrs:{width:"130px"}},[t._v(t._s(e.gemaWorkNum))]),a("td",{attrs:{width:"130px"}},[t._v(t._s(e.registrationNum))]),a("td",{attrs:{width:"130px"}},[t._v(t._s(t.$t(e.status)))])])})),0)]},proxy:!0}],null,!0)})],1)],1)],1)],1):t._e(),a("v-container",{attrs:{fluid:""}},[a("v-row",[t.cwrStatusCheckShowButton?a("v-col",{staticClass:"text-center"},[a("BaseButton",{attrs:{disabled:t.isCwrStatusCheckLoading,label:"lang_DASHBOARD_STATUS_CHECK_CWR_STATUS_CHECK"},on:{click:function(e){return n(t.cwrStatusCheck)}}})],1):t._e()],1)],1),t.hasCwrStatusCheckErrors||t.cwrStatusCheckProgress?a("v-container",[t._l(t.cwrStatusCheckErrors,(function(e,n){return a("v-row",{key:n,staticClass:"justify-center mt-1 mb-2"},[a("span",{domProps:{innerHTML:t._s(e)}})])})),a("v-row",{staticClass:"justify-center mt-2 pl-0 ml-0 align-center"},[a("span",{domProps:{innerHTML:t._s(t.cwrStatusCheckProgress)}}),null!==t.cwrStatusCheckZipPath&&""!==t.cwrStatusCheckZipPath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD")},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.cwrStatusCheckZipPath)}}}):t._e()],1)],2):t._e()]},proxy:!0}],null,!0)})]}}])})},Et=[],It=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-dialog",{attrs:{"max-width":t.maxDialogWidth,scrollable:t.scrollable,persistent:"","retain-focus":!1},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}},[a("v-card",{attrs:{"max-height":t.maxCardHeight,color:t.dialogBackgroundColor}},[a("v-toolbar",{attrs:{color:t.headlineBackgroundColor}},[a("v-toolbar-title",{staticClass:"dialogStandardHeadlineText--text",attrs:{alvqa:t.alvqa+"-title"}},[t._v(t._s(t.$alvPlugin.isLangConst(t.headline)?t.$t(t.headline):t.headline))]),a("v-spacer"),a("v-toolbar-items",{staticClass:"mt-4"},[a("BaseIcon",{attrs:{icon:"close",color:"iconCancel",alvqa:t.alvqa+"-icon-close"},on:{click:t.close}})],1)],1),a("v-card-text",{staticClass:"pt-3"},[t._t("dialogText")],2),a("v-card-actions",{staticClass:"pt-0 pr-6 pl-6"},[t._t("dialogActions")],2),t._t("actionsWithValidation")],2)],1)},Ct=[],At={name:"BaseDialog",components:{BaseIcon:N},props:{showDialog:{type:Boolean,required:!0,default:!1},maxCardHeight:{type:String,default:"300"},maxDialogWidth:{type:String,default:"500"},headline:{type:String,required:!0},close:{type:Function,required:!0},scrollable:{type:Boolean,default:!0},headlineBackgroundColor:{type:String,default:"dialogStandardHeaderBackground"},dialogBackgroundColor:{type:String,default:"dialogStandardBackground"},alvqa:{type:String,default:""}}},Tt=At,bt=(a("860e"),Object(C["a"])(Tt,It,Ct,!1,null,null,null)),Pt=bt.exports,Dt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-btn",{attrs:{to:t.to,color:t.color,depressed:"",block:t.block,disabled:t.disabled,id:t.id,alvqa:t.alvqa},on:{click:t.click}},[""!==t.icon?a("v-icon",{class:{"mr-0":!t.getBtnLabel},attrs:{left:"",color:"white"}},[t._v("\n        "+t._s(t.icon)+"\n    ")]):t._e(),a("span",{staticClass:"white--text",attrs:{alvqa:t.alvqa+"-text"}},[t._v(t._s(t.getBtnLabel))])],1)},Nt=[],Rt=(a("28a5"),{name:"BaseButton",extends:m.a,props:{label:String,icon:{type:String,default:""},color:{default:"buttonStandard",type:String},id:String,alvqa:{type:String,default:""},progressPercentage:{type:String,default:""},abbreviation:{type:String,default:""}},computed:{royaltyControllingInProcess:{get:function(){return this.$store.getters.getPublishingStatementsRoyaltyControllingInProcess},set:function(t){this.$store.commit("setPublishingStatementsRoyaltyControllingInProcess",t)}},getBtnLabel:function(){return""!==this.progressPercentage&&null!==this.progressPercentage&&this.royaltyControllingInProcess?this.$t(this.label)+": "+this.progressPercentage+"%":this.$t(this.label)}},methods:{toTitleCase:function(t){return t.toLowerCase().split(" ").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" ")},click:function(t){var e,a=this.label.split("_"),n=a.indexOf("CAPTION"),i=a.indexOf("BUTTON");e=-1!==n?this.toTitleCase(a.slice(n+1).join(" ")):-1!==i?this.toTitleCase(a.slice(i+1).join(" ")):this.toTitleCase(a.slice(-2).join(" "));var s="Clicked ".concat(e),r={label:e,routePath:this.$route.path,context:this.$route?this.$route.name:"unknown"};["Income","SalesData","MappingsEdit"].includes(this.$route.name)&&this.abbreviation&&(r.abbreviation=this.abbreviation),mixpanel.track(s,r),this.$emit("click",t)}}}),xt=Rt,Ot=Object(C["a"])(xt,Dt,Nt,!1,null,null,null),wt=Ot.exports,Lt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-text-field",{class:t.withMargin?"ml-4 mr-4":"",attrs:{"error-messages":n,label:t.label,disabled:t.disabled,suffix:t.suffix,clearable:t.clearable,type:t.type,depressed:"",readonly:t.readonly,alvqa:t.alvqa},on:{"click:clear":function(e){return t.resetVal()},input:function(e){return t.additionalFunction()}},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.iconTooltipText?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.iconTooltipText))])]},proxy:!0}],null,!0)}):t._e()]},proxy:!0}],null,!0),model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})]}}])})},yt=[],qt=a("db3b"),kt=a.n(qt),Bt={name:"BaseEditPageTextField",extends:kt.a,components:{BaseTooltip:T},props:{context:String,field:String,required:Boolean,clearable:{default:!0},disabled:{default:!1},rules:{type:[Object,String],default:""},iconTooltipText:{type:String,default:""},withMargin:{type:Boolean,default:!0},additionalFunction:{type:Function,default:function(){}},alvqa:{type:String,default:""}},computed:{innerValue:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){this.$store.commit("set"+this.context+"Details"+this.field,t)}}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.innerValue=null,this.additionalFunction();case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Gt=Bt,Ft=Object(C["a"])(Gt,Lt,yt,!1,null,null,null),Ut=Ft.exports,Mt={name:"GemaWorksCheckDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut,BaseIcon:N},data:function(){return{username:"",password:"",context:"GemaWorksCheckDialog",showResponse:!1,data:[],maxDialogWidth:"650",works:[],sending:!1,finished:!1,progress:0,totalWorks:0,isCwrStatusCheckLoading:!1,cwrStatusCheckProgress:"",cwrFinalResultOfFileLoop:"",cwrStatusCheckShowButton:!0,cwrStatusCheckErrors:[],hasCwrStatusCheckErrors:!1}},computed:{cwrStatusCheckZipPath:{get:function(){return this.$store.getters.getDashboardCwrStatusCheckZip},set:function(t){this.$store.commit("setDashboardCwrStatusCheckZip",t)}},showGemaWorksCheckDialog:{get:function(){return this.$store.getters.getShowGemaWorksCheckDialog},set:function(t){this.$store.commit("setShowGemaWorksCheckDialog",t)}},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}},passwordLabel:function(){return this.$t("lang_CAPTION_PASSWORD")},usernameLabel:function(){return this.$t("lang_LOGIN_CAPTION_USERNAME")},selectedWorks:{get:function(){return this.$store.getters.getSelectedWorks},set:function(t){this.$store.commit("setSelectedWorks",t)}}},methods:{downloadFile:function(t){console.log(t),k$.getFileFromALV(t.response.path)},submit:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.cwrStatusCheckShowButton=!1,this.selectedWorks=[],this.isLoading=!0,t.next=5,this.$store.dispatch("gemaIwaLogin");case 5:if(e=t.sent,1!=e.error){t.next=12;break}return a=this.$t(e.errorMsg),this.$store.commit("setSnackbar",{type:"error",msg:a}),this.isLoading=!1,this.cwrStatusCheckShowButton=!0,t.abrupt("return");case 12:return t.next=14,this.$store.dispatch("getGemaIwaWorkToCheckStatus");case 14:if(n=t.sent,1!=n.error){t.next=21;break}return i=this.$t(n.errorMsg),this.$store.commit("setSnackbar",{type:"error",msg:i}),this.isLoading=!1,this.cwrStatusCheckShowButton=!0,t.abrupt("return");case 21:this.totalWorks=n.works.length,this.showResponse=!0,this.sending=!0,this.$store.commit("setGemaWorksCheckArray",n.works),this.maxDialogWidth="1150",this.checkWorks();case 27:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),cwrStatusCheck:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.cwrStatusCheckZipPath=null,this.isCwrStatusCheckLoading=!0,this.cwrStatusCheckProgress=this.$t("lang_GENERIC_CAPTION_ESTABLISHING_CONNECTION"),e={},t.next=6,this.$store.dispatch("cwrStatusCheckListOfFiles");case 6:if(e=t.sent,1!=e.error){t.next=13;break}return this.$t(e.errorMsg),this.$store.commit("setSnackbar",{type:"error",msg:it.t(e.response.errorMsg)}),this.cwrStatusCheckProgress="",this.isCwrStatusCheckLoading=!1,t.abrupt("return");case 13:a=[],n=[];case 15:if(!e.response.length){t.next=47;break}if(i=e.response.shift(),s=i.metadata,this.cwrStatusCheckProgress="Checking: "+s.societyCode,1!=s.error){t.next=25;break}this.cwrStatusCheckProgress=this.$t(s.errorMsg),this.hasCwrStatusCheckErrors=!0,this.cwrStatusCheckErrors.push("<b>".concat(s.societyName,"</b>: ").concat(this.$t(s.errorMsg))),t.next=45;break;case 25:if(r=i.files,l=r.length,0!=l){t.next=32;break}a.push(s.societyName),this.cwrStatusCheckZipPath=null,t.next=44;break;case 32:n.push(s.societyName),o=1;case 34:if(!r.length){t.next=44;break}return c=r.shift(),this.cwrStatusCheckProgress=this.$t("lang_GENERIC_CAPTION_PROCESSING")+" "+o+" "+this.$t("lang_GENERIC_CAPTION_FROM_LOWERCASE")+" "+l+": "+c,t.next=39,this.$store.dispatch("cwrStatusCheck",{metadata:s,filename:c});case 39:u=t.sent,this.cwrFinalResultOfFileLoop=u,o++,t.next=34;break;case 44:console.log(this.cwrFinalResultOfFileLoop);case 45:t.next=15;break;case 47:return a.length?(d="<b>".concat(a.join(", "),"</b>: ").concat(this.$t("lang_GENERIC_MESSAGE_WARNING_NO_FILES_FOUND")),this.cwrStatusCheckProgress=d+"<br>"):this.cwrStatusCheckProgress="",this.cwrFinalResultOfFileLoop&&(this.cwrStatusCheckZipPath=this.cwrFinalResultOfFileLoop,this.cwrStatusCheckProgress+="<b>".concat(n.join(","),"</b>: ").concat(this.$t("lang_GENERIC_CAPTION_DOWNLOAD_ZIP_REPORT"))),t.abrupt("return");case 50:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),close:function(){this.showGemaWorksCheckDialog=!1,this.cwrStatusCheckShowButton=!0,this.cwrFinalResultOfFileLoop=null,this.isCwrStatusCheckLoading=!1,this.cwrStatusCheckProgress="",this.cwrStatusCheckZipPath=null,this.data=[],this.showResponse=!1,this.maxDialogWidth="650",this.progress=0,this.sending=!1,this.finished=!1,this.isLoading=!1,this.hasCwrStatusCheckErrors=!1,this.cwrStatusCheckErrors=[]},checkWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.$store.getters.getGemaWorksCheckArray,a=0;case 2:if(!e.length){t.next=12;break}return n=this.$store.getters.getGemaWorksCheckArray.shift(),t.next=6,this.$store.dispatch("getGemaWorkStatus",n);case 6:i=t.sent,void 0!==i&&(i.work?"registered"==i.work.type&&i.work.alvId&&this.selectedWorks.push(i.work.alvId):console.log(i)),a++,void 0!==i&&i.work&&(this.progress=100*a/this.totalWorks,this.data.unshift(i.work)),t.next=2;break;case 12:this.sending=!1,this.finished=!0;case 14:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),gemaSoundfile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.close(),this.$store.commit("setShowGemaSoundfileDialog",!0),t.next=4,this.$store.dispatch("checkGemaSoundfileCredentials");case 4:e=t.sent,-1==e.error?this.$store.commit("setShowGemaSoundfileDialog",!0):this.$store.commit("setSnackbar",{type:"error",msg:it.t(e.response.errorMsg)});case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Wt=Mt,jt=Object(C["a"])(Wt,St,Et,!1,null,null,null),zt=jt.exports,Ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showGemaSoundfileDialog,maxDialogWidth:"850",headline:"lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_GEMA_SOUNDFILE_API",maxCardHeight:"700",persistent:!0,close:t.closeDialog},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showConfirmText?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[t._v("\n                    "+t._s(t.confirmationText)),a("br"),t._v("\n                    "+t._s(t.approvalText)+"\n                ")])],1),a("v-row",[a("v-col",[a("BaseCheckbox",{attrs:{label:t.approvalAdvertisement,context:"GemaSoundfileDialogApprovals",valueOuter:"advertisement"}}),a("BaseCheckbox",{attrs:{label:t.approvalTvRadio,context:"GemaSoundfileDialogApprovals",valueOuter:"tvRadio"}}),a("BaseCheckbox",{attrs:{label:t.approvalOnline,context:"GemaSoundfileDialogApprovals",valueOuter:"online"}}),a("BaseCheckbox",{attrs:{label:t.approvalClubDisco,context:"GemaSoundfileDialogApprovals",valueOuter:"clubDisco"}})],1)],1)],1):a("v-container",{attrs:{fluid:""}},[t.showProcessProgressbar?a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{active:t.sending,indeterminate:"",color:"dialogProgressbar"}})],1)],1):t._e(),t.showReportTable?a("v-row",[a("v-col",[a("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left report-table-header"},[t._v(t._s(t.$t("lang_LABEL_TRACKS_ACTION_BULK_FILE_IMPORT_REPORT")))])])]),a("tbody",t._l(t.data,(function(e,n){return a("tr",{key:n},[a("td",{class:[0!=n&&n%4==0?"report-table-file-name-row2":""]},[t._v("\n                                        "+t._s(e)+"\n                                    ")])])})),0)]},proxy:!0}],null,!1,4229229735)})],1)],1):t._e()],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_BUTTON_CAPTION",disabled:t.submitButtonDisable},on:{click:function(e){return t.submit()}}})],1)],1)],1)]},proxy:!0}])})},Vt=[],Yt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.valueOuter,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-checkbox",{staticClass:"checkboxTop",attrs:{"hide-details":t.hideDetails,value:t.valueOuter,alvqa:t.alvqa,disabled:t.disabled,"error-messages":n},on:{change:function(e){return t.changeFunction(e)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text pt-1",attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                "+t._s(t.label)+"\n            ")]),a("span",{staticClass:"pl-1 pr-1 pt-1"},[""!==t.iconTooltipText?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.iconTooltipText))])]},proxy:!0}],null,!0)}):t._e()],1)]},proxy:!0}],null,!0),model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})]}}])})},Kt=[],Zt={name:"BaseCheckbox",components:{BaseTooltip:T},props:{context:String,label:String,useLabelSlot:{default:!1,type:Boolean},hideDetails:{default:!0,type:Boolean},iconTooltipText:{type:String,default:""},alvqa:{type:String,default:""},valueOuter:String,changeFunction:{type:Function,default:function(){}},disabled:{type:Boolean,default:!1},rules:{type:[Object,String],default:""}},computed:{innerValue:{get:function(){return this.$store.getters["get"+this.context+"Checkbox"]},set:function(t){this.$store.commit("set"+this.context+"Checkbox",t)}}}},Xt=Zt,Jt=(a("5dea"),Object(C["a"])(Xt,Yt,Kt,!1,null,null,null)),Qt=Jt.exports,te={name:"GemaSoundfileDialog",components:{BaseButton:wt,BaseDialog:Pt,BaseCheckbox:Qt},data:function(){var t;return t={data:[],showProcessProgressbar:!1,showReportTable:!1,showConfirmText:!0,polling:null,textInfo:"Confirm sending",processValue:0,sending:!1,closeButtonDisable:!1,submitButtonDisable:!1},Object(c["a"])(t,"sending",!1),Object(c["a"])(t,"context","GemaSoundfileDialogApprovals"),t},computed:{confirmationText:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_CONFIRMATION_TEXT")},approvalText:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_APPROVAL_TEXT")},approvalAdvertisement:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_APPROVAL_ADVERTISEMENT")},approvalTvRadio:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_APPROVAL_TV_RADIO")},approvalOnline:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_APPROVAL_ONLINE")},approvalClubDisco:function(){return this.$t("lang_PUBLISHING_WORKS_GEMA_SOUNDFILE_APPROVAL_CLUB_DISCO")},showGemaSoundfileDialog:{get:function(){return this.$store.getters.getShowGemaSoundfileDialog},set:function(t){this.$store.commit("setShowGemaSoundfileDialog",t)}},selectedWorks:function(){return this.$store.getters.getSelectedWorks},selection:{get:function(){return this.$store.getters["getGemaSoundfileDialogApprovalsCheckbox"]},set:function(t){this.$store.commit("setGemaSoundfileDialogApprovalsCheckbox",t)}}},methods:{closeDialog:function(){this.sending||(this.showGemaSoundfileDialog=!1,this.processValue=0,this.showProcessProgressbar=!1,this.data=[],this.polling=null,this.showConfirmText=!0,this.showReportTable=!1,this.closeButtonDisable=!1,this.submitButtonDisable=!1,this.sending=!1,this.$store.commit("setSelectedWorks",[]),this.$store.commit("setGemaSoundfileDialogApprovalsCheckbox",["advertisement","tvRadio","online","clubDisco"]))},submit:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("sendWorksGemaSoundfile");case 2:if(e=t.sent,-1!==e.error){t.next=16;break}return this.showConfirmText=!1,this.closeButtonDisable=!0,this.submitButtonDisable=!0,this.sending=!0,this.showProcessProgressbar=!0,this.showReportTable=!0,t.next=12,this.processGemaSoundfile(e);case 12:a=t.sent,"running"===a.status&&(this.polling=setInterval((function(){i.processGemaSoundfile(e)}),5e3),setTimeout((function(){clearInterval(i.polling)}),18e5)),t.next=18;break;case 16:n=this.$t(e.response.errorMsg),this.$store.commit("setSnackbar",{type:"error",msg:n});case 18:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),processGemaSoundfile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k$.getProgressOfProcess(e.processId,this.polling).then((function(t){return t}));case 2:return a=t.sent,this.processValue=a.percent,a.completeMsgArray.report&&(n=[],a.completeMsgArray.report.forEach((function(t){n.push(i.$t("lang_WORK")+": "+t.workTitle+" ("+t.workAlvId+")"),n.push(i.$t("lang_TRACK")+": "+(null!=t.trackTitle?t.trackTitle+" ("+t.trackAlvId+")":"")),n.push(t.validationMessage),n.push(t.sendingMessage)})),this.data=n),"finished"===a.status&&(this.showProcessProgressbar=!1,this.closeButtonDisable=!1,this.processValue=100,this.sending=!1),t.abrupt("return",a);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},beforeDestroy:function(){clearInterval(this.polling)}},ee=te,ae=Object(C["a"])(ee,Ht,Vt,!1,null,null,null),ne=ae.exports,ie=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-select",{class:t.withMargin?"ml-4 mr-4":"",attrs:{items:t.items,label:t.label,"error-messages":n,clearable:t.clearable,readonly:t.readonly,multiple:t.multiple,"menu-props":"offset-y","item-text":t.itemText,"item-value":t.itemValue,disabled:t.disabled,"no-data-text":t.$t(t.noDataText),"hide-details":t.hideDetails,alvqa:t.alvqa,"item-color":"generalCheckbox","return-object":t.returnObject},on:{"click:clear":function(e){return t.resetVal()},change:function(e){return t.additionalFunction(t.selected)}},scopedSlots:t._u([t.multiple?null:{key:"item",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:n.alvqa}},[t.defineSlots?t._t("options",null,{item:n}):a("div",[t._v(t._s(t.$alvPlugin.isLangConst(n[t.itemText])?t.$t(n[t.itemText]):n[t.itemText]))])],2)]}},{key:"selection",fn:function(e){var n=e.item,i=e.index;return[0===i?a("span",[a("div",{attrs:{alvqa:t.alvqa}},[t.defineSlots?t._t("selection",null,{item:n}):a("div",[t._v(t._s(t.$alvPlugin.isLangConst(n[t.itemText])?t.$t(n[t.itemText]):n[t.itemText]))])],2)]):t._e(),1===i?a("div",[t._v("  (+ "+t._s(t.selected.length-1)+" "+t._s(t.$t("lang_GENERIC_CAPTION_OTHERS"))+")")]):t._e()]}},t.allSelect?{key:"prepend-item",fn:function(){return[0!==t.items.length?a("v-list-item",{attrs:{ripple:""},on:{click:t.toggle}},[a("v-list-item-action",[a("v-icon",{attrs:{color:"generalCheckbox",alvqa:t.alvqa+"-checkbox-all-select"}},[t._v("\n                    "+t._s(t.icon)+"\n                ")])],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-checkbox-all-select-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERAL_CAPTION_SELECT_ALL"))+"\n                ")])],1)],1):t._e()]},proxy:!0}:null],null,!0),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})]}}])})},se=[],re=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-select",{attrs:{items:t.items,label:t.label,"menu-props":"offset-y, offset-overflow",outlined:t.outlined,"hide-details":t.hideDetails,alvqa:t.alvqa,clearable:t.clearable,"no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE"),"return-object":t.returnObject,"item-text":t.itemText,"item-value":t.itemValue},on:{input:t.run,"click:clear":function(e){return t.resetVal()}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n            "+t._s(n.text)+"\n        ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-no-wrap text-truncate",attrs:{alvqa:n.alvqa}},[t._v("\n            "+t._s(n.text)+"\n        ")])]}}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})},le=[],oe=a("3ace"),ce=a.n(oe),ue={name:"BaseDropdown",extends:ce.a,props:{context:String,hideDetails:Boolean,alvqa:{type:String,default:""},returnObject:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},itemValue:{type:String|Function,default:"value"},itemText:{type:String|Function,default:"text"}},computed:{selected:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$store.commit("setSelected"+this.context,t)}}},methods:{run:function(){this.$store._actions["do"+this.context]&&this.$store.dispatch("do"+this.context)},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},de=ue,ge=Object(C["a"])(de,re,le,!1,null,null,null),pe=ge.exports,ve={name:"BaseEditPageDropdown",extends:pe,props:{context:String,field:String,hideDetails:Boolean,items:{type:Array,default:[]},alvqa:{type:String,default:""},itemValue:{type:String|Function,default:"value"},itemText:{type:String|Function,default:"text"},selection:{default:!1,type:Boolean},clearable:{default:!0},rules:{type:[Object,String],default:""},withMargin:{type:Boolean,default:!0},inputFunction:{type:Function,default:function(){}},additionalFunction:{type:Function,default:function(){}},allSelect:{type:Boolean,default:!1},returnObject:{type:Boolean,default:!1},defineSlots:{type:Boolean,default:!1},resetValNull:{type:Boolean,default:!1},noDataText:{type:String,default:"lang_GENERAL_CAPTION_NO_DATA_AVAILABLE"}},computed:{selected:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){this.$store.commit("set"+this.context+"Details"+this.field,t)}},allSelected:function(){return this.selected.length===this.items.length},icon:function(){return this.allSelected?"check_box":"check_box_outline_blank"}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.resetValNull?this.selected=null:this.selected=[];case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toggle:function(){var t=this;this.$nextTick((function(){t.allSelected?t.selected=[]:t.selected=t.items.slice()}))}}},_e=ve,he=Object(C["a"])(_e,ie,se,!1,null,null,null),me=he.exports,fe=[{text:"lang_GENERIC_CAPTION_DOMAIN_AZ_PERSONS",value:"az-persons",alvqa:"dropdown-domain-az-persons"},{text:"lang_GENERIC_CAPTION_DOMAIN_AZ_GROUPS",value:"az-groups",alvqa:"dropdown-domain-az-groups"},{text:"lang_GENERIC_CAPTION_DOMAIN_PUBLISHING_WORKS",value:"publishing-works",alvqa:"dropdown-domain-publishing-works"},{text:"lang_GENERIC_CAPTION_DOMAIN_PUBLISHING_SHEETS",value:"publishing-sheets",alvqa:"dropdown-domain-publishing-sheets"},{text:"lang_GENERIC_CAPTION_DOMAIN_PUBLISHING_PROJECTS",value:"publishing-projects",alvqa:"dropdown-domain-publishing-projects"},{text:"lang_GENERIC_CAPTION_DOMAIN_LABEL_TRACKS",value:"label-tracks",alvqa:"dropdown-domain-label-tracks"},{text:"lang_GENERIC_CAPTION_DOMAIN_LABEL_RELEASES",value:"label-releases",alvqa:"dropdown-domain-label-releases"},{text:"lang_GENERIC_CAPTION_DOMAIN_LABEL_PROJECTS",value:"label-projects",alvqa:"dropdown-domain-label-projects"}],Se=[{text:"lang_GENERIC_MUSIC_LANGUAGES_ENGLISH",value:"en",alvqa:"dropdown-music-languages-english"},{text:"lang_GENERIC_MUSIC_LANGUAGES_GERMAN",value:"de",alvqa:"dropdown-music-languages-german"},{text:"lang_GENERIC_MUSIC_LANGUAGES_FRENCH",value:"fr",alvqa:"dropdown-music-languages-french"},{text:"lang_GENERIC_MUSIC_LANGUAGES_SPANISH",value:"es",alvqa:"dropdown-music-languages-spanish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_ITALIAN",value:"it",alvqa:"dropdown-music-languages-italian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_PORTUGUESE",value:"pt",alvqa:"dropdown-music-languages-portuguese"},{text:"lang_GENERIC_MUSIC_LANGUAGES_DUTCH",value:"nl",alvqa:"dropdown-music-languages-dutch"},{text:"lang_GENERIC_MUSIC_LANGUAGES_IRISH",value:"ga",alvqa:"dropdown-music-languages-irish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_JAPANESE",value:"ja",alvqa:"dropdown-music-languages-japanese"},{text:"lang_GENERIC_MUSIC_LANGUAGES_KOREAN",value:"ko",alvqa:"dropdown-music-languages-korean"},{text:"lang_GENERIC_MUSIC_LANGUAGES_CHINESE",value:"zh",alvqa:"dropdown-music-languages-chinese"},{text:"lang_GENERIC_MUSIC_LANGUAGES_RUSSIAN",value:"ru",alvqa:"dropdown-music-languages-russian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_POLISH",value:"pl",alvqa:"dropdown-music-languages-polish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_SWEDISH",value:"sv",alvqa:"dropdown-music-languages-swedish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_ROMANIAN",value:"ro",alvqa:"dropdown-music-languages-romanian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_NORWEGIAN",value:"no",alvqa:"dropdown-music-languages-norwegian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_FINNISH",value:"fi",alvqa:"dropdown-music-languages-finnish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_HUNGARIAN",value:"hu",alvqa:"dropdown-music-languages-hungarian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_DANISH",value:"da",alvqa:"dropdown-music-languages-danish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_VIETNAMESE",value:"vi",alvqa:"dropdown-music-languages-vietnamese"},{text:"lang_GENERIC_MUSIC_LANGUAGES_ZULU",value:"zu",alvqa:"dropdown-music-languages-zulu"},{text:"lang_GENERIC_MUSIC_LANGUAGES_XHOSA",value:"xh",alvqa:"dropdown-music-languages-xhosa"},{text:"lang_GENERIC_MUSIC_LANGUAGES_TSWANA",value:"tn",alvqa:"dropdown-music-languages-tswana"},{text:"lang_GENERIC_MUSIC_LANGUAGES_LINGALA",value:"ln",alvqa:"dropdown-music-languages-lingala"},{text:"lang_GENERIC_MUSIC_LANGUAGES_INDONESIAN",value:"id",alvqa:"dropdown-music-languages-indonesian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_MALAY",value:"ms",alvqa:"dropdown-music-languages-malay"},{text:"lang_GENERIC_MUSIC_LANGUAGES_GREEK",value:"el",alvqa:"dropdown-music-languages-greek"},{text:"lang_GENERIC_MUSIC_LANGUAGES_ALBANIAN",value:"sq",alvqa:"dropdown-music-languages-albanian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_TURKISH",value:"tr",alvqa:"dropdown-music-languages-turkish"},{text:"lang_GENERIC_MUSIC_LANGUAGES_HINDI",value:"hi",alvqa:"dropdown-music-languages-hindi"},{text:"lang_GENERIC_MUSIC_LANGUAGES_HEBREW",value:"he",alvqa:"dropdown-music-languages-hebrew"},{text:"lang_GENERIC_MUSIC_LANGUAGES_UKRAINIAN",value:"uk",alvqa:"dropdown-music-languages-ukrainian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_SERBIAN",value:"sr",alvqa:"dropdown-music-languages-serbian"},{text:"lang_GENERIC_MUSIC_LANGUAGES_CREOLE",value:"kr",alvqa:"dropdown-music-languages-creole"},{text:"lang_GENERIC_MUSIC_LANGUAGES_SCOTTISH_GAELIC",value:"gd",alvqa:"dropdown-music-languages-scottish-gaelic"}],Ee=[{text:"lang_GENERAL_PRICE_CATEGORY_HIGHPRICE",value:"highprice",alvqa:"dropdown-price-category-highprice"},{text:"lang_GENERAL_PRICE_CATEGORY_MIDPRICE",value:"midprice",alvqa:"dropdown-price-category-midprice"},{text:"lang_GENERAL_PRICE_CATEGORY_BUDGET",value:"budget",alvqa:"dropdown-price-category-budget"}],Ie=[{text:"lang_GENERAL_PERIOD_FILTER_OPTION_MONTH",value:"month",alvqa:"period-selector-dropdown-period-selector-time-units-month"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER",value:"quarter",alvqa:"period-selector-dropdown-period-selector-time-units-quarter"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_HALFYEAR",value:"halfyear",alvqa:"period-selector-dropdown-period-selector-time-units-halfyear"},{text:"lang_GENERIC_PERIOD_FILTER_OPTION_YEAR",value:"year",alvqa:"period-selector-dropdown-period-selector-time-units-year"}],Ce=[{text:"lang_GENERIC_COST_GROUP_TYPE_MANUFACTURING",value:"manufacturing",alvqa:"dropdown-cost-group-manufacturing"},{text:"lang_GENERIC_COST_GROUP_TYPE_ADVERTISING",value:"advertising",alvqa:"dropdown-cost-group-advertising"},{text:"lang_GENERIC_COST_GROUP_TYPE_MARKETING",value:"marketing",alvqa:"dropdown-cost-group-marketing"},{text:"lang_GENERIC_COST_GROUP_TYPE_PROMOTION",value:"promotion",alvqa:"dropdown-cost-group-promotion"},{text:"lang_GENERIC_COST_GROUP_TYPE_PRODUCTION",value:"production",alvqa:"dropdown-cost-group-production"},{text:"lang_GENERIC_COST_GROUP_TYPE_OTHER",value:"other",alvqa:"dropdown-cost-group-other"},{text:"lang_GENERIC_COST_GROUP_TYPE_LIVE",value:"live",alvqa:"dropdown-cost-group-live"},{text:"lang_GENERIC_COST_GROUP_TYPE_ADVANCE",value:"advance",alvqa:"dropdown-cost-group-advance"},{text:"lang_GENERIC_COST_GROUP_TYPE_LICENSES",value:"licenses",alvqa:"dropdown-cost-group-licenses "},{text:"lang_GENERIC_COST_GROUP_TYPE_MECHANICALS",value:"mechanicals",alvqa:"dropdown-cost-group-mechanicals "}],Ae=[{text:"lang_GENERAL_PERIOD_FILTER_OPTION_MONTH",value:"month",alvqa:"period-selector-dropdown-period-selector-time-units-month"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER",value:"quarter",alvqa:"period-selector-dropdown-period-selector-time-units-quarter"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_HALFYEAR",value:"halfyear",alvqa:"period-selector-dropdown-period-selector-time-units-halfyear"},{text:"lang_GENERIC_PERIOD_FILTER_OPTION_YEAR",value:"year",alvqa:"period-selector-dropdown-period-selector-time-units-year"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_NOT_DEFINED",value:"notDefined",alvqa:"period-selector-dropdown-period-selector-time-units-not-defined"}],Te=[{text:"lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER",value:"quarter",alvqa:"period-selector-dropdown-period-selector-time-units-quarter"},{text:"lang_GENERAL_PERIOD_FILTER_OPTION_HALFYEAR",value:"halfyear",alvqa:"period-selector-dropdown-period-selector-time-units-halfyear"},{text:"lang_GENERIC_PERIOD_FILTER_OPTION_YEAR",value:"year",alvqa:"period-selector-dropdown-period-selector-time-units-year"}],be=[{text:"lang_GENERAL_YES",value:"yes",alvqa:"dropdown-generic-yes"},{text:"lang_GENERAL_NO",value:"no",alvqa:"dropdown-generic-no"}],Pe=[{text:"lang_PUBLISHING_WORKS_CAPTION_NO_FOR_OPW",value:"no",alvqa:"dropdown-generic-no-for-opw"},{text:"lang_PUBLISHING_WORKS_CAPTION_YES_FOR_SPW",value:"yes",alvqa:"dropdown-generic-yes-for-spw"}],De=[{text:"C",value:"C",alvqa:"dropdown-genereic-interesed-party-roles-c"},{text:"A",value:"A",alvqa:"dropdown-genereic-interesed-party-roles-a"},{text:"AR",value:"AR",alvqa:"dropdown-genereic-interesed-party-roles-ar"},{text:"CA",value:"CA",alvqa:"dropdown-genereic-interesed-party-roles-ca"},{text:"TS",value:"TS",alvqa:"dropdown-genereic-interesed-party-roles-ts"},{text:"TNA",value:"TNA",alvqa:"dropdown-genereic-interesed-party-roles-tna"},{text:"TNE",value:"TNE",alvqa:"dropdown-genereic-interesed-party-roles-tne"},{text:"E",value:"E",alvqa:"dropdown-genereic-interesed-party-roles-e"},{text:"SE",value:"SE",alvqa:"dropdown-genereic-interesed-party-roles-se"},{text:"SA",value:"SA",alvqa:"dropdown-genereic-interesed-party-roles-sa"}],Ne=[{text:"Performer",value:"performer",alvqa:"dropdown-artist-roles-performer"},{text:"Narrator",value:"narrator",alvqa:"dropdown-artist-roles-narrator"},{text:"Featuring",value:"featuring",alvqa:"dropdown-artist-roles-featuring"},{text:"with",value:"with",alvqa:"dropdown-artist-roles-with"},{text:"Presents",value:"presents",alvqa:"dropdown-artist-roles-presents"},{text:"Versus",value:"versus",alvqa:"dropdown-artist-roles-versus"},{text:"Meets",value:"meets",alvqa:"dropdown-artist-roles-meets"},{text:"Producer",value:"producer",alvqa:"dropdown-artist-roles-producer"},{text:"Remixer",value:"remixer",alvqa:"dropdown-artist-roles-remixer"},{text:"Singer",value:"singer",alvqa:"dropdown-artist-roles-singer"},{text:"Musician",value:"musician",alvqa:"dropdown-artist-roles-musician"}],Re=[{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_ALTERNATIVE_TITLE",value:"ALVZ",alvqa:"publishing-works-alternative-title-dropdown-type-alvz"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_TITLE_OF_COMPLETE_WORK",value:"AUS",alvqa:"publishing-works-alternative-title-dropdown-type-aus"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_CONTENT",value:"INH",alvqa:"publishing-works-alternative-title-dropdown-type-inh"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_MIX",value:"MIX",alvqa:"publishing-works-alternative-title-dropdown-type-mix"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_ORIGINAL_TITLE",value:"FREI",alvqa:"publishing-works-alternative-title-dropdown-type-frei"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_PRODUCTION_TITLE",value:"PROD",alvqa:"publishing-works-alternative-title-dropdown-type-prod"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_OTHER_TITLE",value:"SONST",alvqa:"publishing-works-alternative-title-dropdown-type-sonst"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_ADAPTED_TITLE",value:"TSTIT",alvqa:"publishing-works-alternative-title-dropdown-type-tstit"},{text:"lang_PUBLISHING_WORKS_ALTERNATIVE_TITLES_TYPE_TITLE_SOUND_CARRIER",value:"TTTIT",alvqa:"publishing-works-alternative-title-dropdown-type-tttit"}],xe=[{text:"lang_PUBLISHING_WORKS_OTHER_PERSONS_TYPE_PUBLISHER_WO_PARTICIPATION",value:"ABV",alvqa:"publishing-works-other-persons-dropdown-type-abv"},{text:"lang_PUBLISHING_WORKS_OTHER_PERSONS_TYPE_PERFORMER",value:"IN",alvqa:"publishing-works-other-persons-dropdown-type-in"}],Oe=[{text:"lang_PUBLISHING_WORKS_ACTION_EXPORT_WORKS_TYPES_ONLY_OPW",value:"exportOpwTypes",alvqa:"publishing-works-export-works-types-opw"},{text:"lang_PUBLISHING_WORKS_ACTION_EXPORT_WORKS_TYPES_ONLY_SPW",value:"exportSpwTypes",alvqa:"publishing-works-export-works-types-spw"}],we=[{text:"lang_PUBLISHING_WORKS_DROPDOWN_WORKS_REGISTRATION_TARGETS_GEMA_CWR_FTP",value:"GemaCwr",alvqa:"publishing-works-registration-targets-gema-cwr-ftp"},{text:"lang_PUBLISHING_WORKS_DROPDOWN_WORKS_REGISTRATION_TARGETS_SUISA_CWR_FTP",value:"SuisaCwr",alvqa:"publishing-works-registration-targets-suisa-cwr-ftp"},{text:"lang_PUBLISHING_WORKS_DROPDOWN_WORKS_REGISTRATION_TARGETS_AKM_CWR_FTP",value:"AkmCwr",alvqa:"publishing-works-registration-targets-akm-cwr-ftp"}],Le=[{text:"OWN%",value:"own",alvqa:"publishing-works-registration-share-type-own"},{text:"INTL%",value:"intl",alvqa:"publishing-works-registration-share-type-intl"}],ye=[{text:"lang_PUBLISHING_WORKS_CAPTION_REGISTERED",value:"registered",alvqa:"publishing-works-status-registered"},{text:"lang_PUBLISHING_WORKS_CAPTION_GHOST",value:"ghost",alvqa:"publishing-works-status-ghost"},{text:"lang_PUBLISHING_WORKS_STATUS_IN_REGISTRATION_PROCESS",value:"inRegistrationProcess",alvqa:"publishing-works-status-in-registration-process"},{text:"lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_GEMA_STATUS_2",value:"gemaStatus=2",alvqa:"publishing-works-status-gema-status-2"},{text:"lang_PUBLISHING_WORKS_CAPTION_TO_BE_REGISTERED",value:"toBeRegistered",alvqa:"publishing-works-status-to-be-registered"},{text:"lang_PUBLISHING_WORKS_CAPTION_TO_BE_UPDATED",value:"update",alvqa:"publishing-works-status-to-be-updated"}],qe=[{text:"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_OPW",value:"opw",alvqa:"publishing-works-type-opw"},{text:"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_SPW",value:"spw",alvqa:"publishing-works-type-spw"},{text:"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_UPW",value:"upw",alvqa:"publishing-works-type-upw"}],ke=[{text:"lang_GENERIC_CAPTION_WORK_REGISTRATION",value:"work-registration",alvqa:"publishing-works-distribution-search-function-work-registration"},{text:"lang_GENERIC_CAPTION_SOUNDFILE",value:"gema-soundfile",alvqa:"publishing-works-distribution-search-function-soundfile"}],Be=[{text:"lang_GENERIC_CAPTION_SUBMITTED",value:"submitted",alvqa:"publishing-works-distribution-search-status-submitted"},{text:"lang_GENERIC_CAPTION_REGISTERED",value:"registered",alvqa:"publishing-works-distribution-search-status-registered"},{text:"lang_GENERIC_CAPTION_REJECTED",value:"rejected",alvqa:"publishing-works-distribution-search-status-rejected"},{text:"lang_GENERIC_CAPTION_SUCCESS",value:"success",alvqa:"publishing-works-distribution-search-status-success"},{text:"lang_GENERIC_CAPTION_ERROR",value:"error",alvqa:"publishing-works-distribution-search-status-successful"}],$e=[{text:"lang_PUBLISHING_WORKS_DROPDOWN_OPTION_CURRENT_DISTRIBUTION",value:"currentDistribution",alvqa:"publishing-works-edit-form-dropdown-old-mr-split-current-distribution"},{text:"lang_PUBLISHING_WORKS_DROPDOWN_OPTION_HALF_MR",value:"halfMR",alvqa:"publishing-works-edit-form-dropdown-old-mr-split-half-mr"}],Ge=[{text:"lang_PUBLISHING_SHEETS_CAPTION_COMMISSIONED_COMPOSITION",value:1,alvqa:"publishing-sheets-edit-form-dropdown-av-type-composition"},{text:"lang_PUBLISHING_SHEETS_CAPTION_LIBRARY",value:4,alvqa:"publishing-sheets-edit-form-dropdown-av-type-library-work"},{text:"lang_PUBLISHING_SHEETS_CAPTION_EXISTING_WORK",value:2,alvqa:"publishing-sheets-edit-form-dropdown-av-type-existing-work"},{divider:!0},{text:"lang_PUBLISHING_SHEETS_CAPTION_COMMISSIONED_WORK",value:3,alvqa:"publishing-sheets-edit-form-dropdown-av-type-commissioned-work",disabled:1}],Fe=[{text:"F",value:"F",alvqa:"publishing-sheets-edit-form-dropdown-setlist-type-f"},{text:"P",value:"P",alvqa:"publishing-sheets-edit-form-dropdown-setlist-type-p"},{text:"F/P",value:"FP",alvqa:"publishing-sheets-edit-form-dropdown-setlist-type-f-p"}],Ue=[{text:"lang_PUBLISHING_SHEETS_CAPTION_CREDITS",value:4,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-credits"},{text:"lang_PUBLISHING_SHEETS_CAPTION_OPENING_CREDITS",value:1,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-opening-credits"},{text:"lang_PUBLISHING_SHEETS_CAPTION_ILLUSTRATION_MUSIC",value:3,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-illustration-music"},{text:"lang_PUBLISHING_SHEETS_CAPTION_LOGO",value:8,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-logo"},{text:"lang_PUBLISHING_SHEETS_CAPTION_JINGLE",value:6,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-jingle"},{text:"lang_PUBLISHING_SHEETS_CAPTION_VISUAL_MUSIC",value:5,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-visual-music"},{text:"lang_PUBLISHING_SHEETS_CAPTION_VIDEOCLIP",value:7,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-videoclip"},{divider:!0},{text:"lang_PUBLISHING_SHEETS_CAPTION_THEME_SONG",value:2,alvqa:"publishing-sheets-edit-form-dropdown-av-characteristic-theme-song",disabled:1}],Me=[{text:"lang_PUBLISHING_SHEETS_CAPTION_INITAL_USE_INTERNET_PRODUCTION",value:1,alvqa:"publishing-sheets-edit-form-dropdown-internet-initial-use-internetproduction"},{text:"lang_PUBLISHING_SHEETS_CAPTION_SECOND_USE_TV_PRODUCTION",value:2,alvqa:"publishing-sheets-edit-form-dropdown-internet-second-use-internetproduction"},{text:"lang_PUBLISHING_SHEETS_CAPTION_ECONOMIC_FILM",value:3,alvqa:"publishing-sheets-edit-form-dropdown-internet-economic-film"}],We=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_FILMTV",value:"film/tv",alvqa:"publishing-sheets-edit-form-dropdown-type-filmtv"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_SETLIST",value:"setlist",alvqa:"publishing-sheets-edit-form-dropdown-type-setlist"}],je=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AVTYPE_FILM",value:"FILM",alvqa:"publishing-sheets-edit-form-dropdown-av-type-film"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AVTYPE_EPISODE",value:"EPISODE",alvqa:"publishing-sheets-edit-form-dropdown-av-type-episode"}],ze=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_CINEMA",value:"CINEMA",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-cinema"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_INTERNET",value:"INTERNET",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-internet"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_TELEVISION",value:"TELEVISION",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-television"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_COMPANY",value:"COMPANY",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-company"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_MULTIMEDIA",value:"MULTIMEDIA",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-multimedia"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_FIRST_EXPLOITATION_COMMERCIAL",value:"COMMERCIAL",alvqa:"publishing-sheets-edit-form-dropdown-av-first-exploitation-commercial"}],He=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_MESSAGE_TYPE_NEW",value:"NEW",alvqa:"publishing-sheets-edit-form-dropdown-av-message-type-new"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_AV_MESSAGE_TYPE_CORRECTED",value:"CORRECTED",alvqa:"publishing-sheets-edit-form-dropdown-av-message-type-corrected"}],Ve=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_ARD",value:"ARD",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-ard"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_ZDF",value:"ZDF",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-zdf"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_RTL",value:"RTL",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-rtl"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_P7S1",value:"P7S1",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-p7s1"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_RTL2",value:"RTL2",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-rtl2"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_DISCO",value:"DISCO",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-discovery"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_DW",value:"DW",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-deutsche-welle"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_SKY",value:"SKY",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-channel-sky"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_COMMISSIONING_CHANNEL_FOREIGN",value:"FOREIGN",alvqa:"publishing-sheets-edit-form-dropdown-commissioning-foreign"}],Ye=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_CARNIVAL",value:"carnival",alvqa:"publishing-sheets-edit-form-dropdown-event-type-carnival"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_CELEBRATION",value:"celebration",alvqa:"publishing-sheets-edit-form-dropdown-event-type-celebration"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_STREET_PARADE",value:"streetParade",alvqa:"publishing-sheets-edit-form-dropdown-event-type-street-parade"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_FESTIVAL",value:"festival",alvqa:"publishing-sheets-edit-form-dropdown-event-type-festival"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_BACKGROUND_MUSIC",value:"backgroundMusic",alvqa:"publishing-sheets-edit-form-dropdown-event-type-background-music"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_CABARET",value:"cabaret",alvqa:"publishing-sheets-edit-form-dropdown-event-type-cabaret"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_STREET_CLASSICAL_CONCERT",value:"classicalConcert",alvqa:"publishing-sheets-edit-form-dropdown-event-type-classical-concert"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_CONCERT",value:"concert",alvqa:"publishing-sheets-edit-form-dropdown-event-type-concert"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_OPENAIR_CONCERT",value:"openAirConcert",alvqa:"publishing-sheets-edit-form-dropdown-event-type-openair-concert"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_PARTY_CELEBRATION",value:"party/celebration",alvqa:"publishing-sheets-edit-form-dropdown-event-type-party-celebration"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_STREET_OTHER",value:"other",alvqa:"publishing-sheets-edit-form-dropdown-event-type-other"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_DANCE_BALL",value:"dance/ball",alvqa:"publishing-sheets-edit-form-dropdown-event-type-dance-ball"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_EVENT_TYPE_STAGE_MUSIC",value:"stageMusic",alvqa:"publishing-sheets-edit-form-dropdown-event-type-stage-music"}],Ke=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_MAIN_ACT",value:"mainAct",alvqa:"publishing-sheets-edit-form-dropdown-set-type-main-act"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_OPENING_ACT",value:"openingAct",alvqa:"publishing-sheets-edit-form-dropdown-set-type-opening-act"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_SOLE_BAND",value:"soleBand",alvqa:"publishing-sheets-edit-form-dropdown-set-type-sole-band"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_MULTIPLE_BANDS",value:"multipleBands",alvqa:"publishing-sheets-edit-form-dropdown-set-type-multiple-bands"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_DJ_LIVE",value:"djLive",alvqa:"publishing-sheets-edit-form-dropdown-set-type-dj-live"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_SET_TYPE_STAGE_PERFORMANCE",value:"stagePerformance",alvqa:"publishing-sheets-edit-form-dropdown-set-type-stage-performance"}],Ze=[{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_BAR",value:"bar",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-bar"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_BEER_GARDEN",value:"beerGarden",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-beer-garden"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_CAFE",value:"cafe",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-cafe"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_CLUB",value:"club",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-club"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_RETAIL",value:"retail",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-retail"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_OPEN_SPACE",value:"openSpace",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-open-space"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_OPEN_AIR_STAGE",value:"openAirStage",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-open-air-stage"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_RESTAURANT",value:"restaurant",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-restaurant"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_HOTEL",value:"hotel",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-hotel"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_CHURCH",value:"church",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-church"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_CONCERT_HALL",value:"concertHall",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-concert-hall"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_CULTURAL_INSTITUTION",value:"culturalInstitution",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-cultural-institution"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_MULTIPURPOSE_HALL",value:"multipurposeHall",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-multipurpose-hall"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_NIGHTCLUB",value:"nightClub",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-nightclub"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_OPENAIR",value:"openAir",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-openair"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_SCHOOL",value:"school",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-school"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_SOCIAL_FACILITY",value:"socialFacility",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-social-facility"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_THEATRE",value:"theatre",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-theatre"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_TENT",value:"tent",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-tent"},{text:"lang_PUBLISHING_SHEETS_DROPDOWN_VENUE_TYPE_OTHER",value:"other",alvqa:"publishing-sheets-edit-form-dropdown-venue-type-other"}],Xe=[{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_NOSTATEMENT",value:18,alvqa:"dropdown-sales-type-nostatement"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_RETAIL",value:1,alvqa:"dropdown-sales-type-retail"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DOWNLOAD",value:2,alvqa:"dropdown-sales-type-download"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_STREAM",value:17,alvqa:"dropdown-sales-type-stream"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE",value:15,alvqa:"dropdown-sales-type-license"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DIRECT_SALES",value:16,alvqa:"dropdown-sales-type-direct-sales"}],Je=[{value:62,text:"Blu-Ray Disc",disabled:"0"},{value:97,text:"Bücher",disabled:"0"},{value:48,text:"CD + Bonus Maxi Single CD",disabled:"0"},{value:35,text:"CD + Buch",disabled:"0"},{value:39,text:"CD + DVD Video",disabled:"0"},{value:69,text:"CD + Enhanced CD",disabled:"0"},{value:109,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_DIGITAL_RELEASE",disabled:"1"},{value:110,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_DIGITAL_EP",disabled:"1"},{value:111,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_DIGITAL_SINGLE",disabled:"1"},{value:105,text:"Digital Video Album",disabled:"0"},{value:104,text:"Digital Video Single/Maxi",disabled:"0"},{value:106,text:"Digital Video Track",disabled:"0"},{value:72,text:"DVD + Buch",disabled:"0"},{value:45,text:"DVD Plus",disabled:"0"},{value:41,text:"DVD Video Maxi",disabled:"0"},{value:43,text:"DVD-Audio Album",disabled:"0"},{value:27,text:"DVD-Video Album",disabled:"0"},{value:2,text:"EP (analog)",disabled:"0"},{value:4,text:"LP (analog)",disabled:"0"},{value:19,text:"LP + Bonus-CD",disabled:"0"},{value:7,text:"Maxi Single CD",disabled:"0"},{value:98,text:"Noten",disabled:"0"},{value:108,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_RETAIL_RELEASE",disabled:"1"},{value:107,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_RETAIL_AND_DIGITAL_RELEASE",disabled:"1"},{value:1,text:"Single (analog)",disabled:"0"},{value:99,text:"lang_LABEL_RELEASES_MEDIA_TYPE_DROPDOWN_OTHER_SUPPLIES",disabled:"1"}],Qe=[{text:"lang_LABEL_STATISTICS_PLATFORMS_AMAZON_MUSIC",value:"Amazon Music",alvqa:"list-dropdown-platform-amazon-music"},{text:"lang_LABEL_STATISTICS_PLATFORMS_APPLE_MUSIC",value:"Apple Music",alvqa:"list-dropdown-platform-apple-music"},{text:"lang_LABEL_STATISTICS_PLATFORMS_DEEZER",value:"Deezer",alvqa:"list-dropdown-platform-deezer"},{text:"lang_LABEL_STATISTICS_PLATFORMS_FACEBOOK",value:"Facebook",alvqa:"list-dropdown-platform-facebook"},{text:"lang_LABEL_STATISTICS_PLATFORMS_NAPSTER",value:"Napster",alvqa:"list-dropdown-platform-napster"},{text:"lang_LABEL_STATISTICS_PLATFORMS_PANDORA",value:"Pandora",alvqa:"list-dropdown-platform-pandora"},{text:"lang_LABEL_STATISTICS_PLATFORMS_SPOTIFY",value:"Spotify",alvqa:"list-dropdown-platform-spotify"},{text:"lang_LABEL_STATISTICS_PLATFORMS_TIDAL",value:"Tidal",alvqa:"list-dropdown-platform-tidal"},{text:"lang_LABEL_STATISTICS_PLATFORMS_YOUTUBE",value:"YouTube",alvqa:"list-dropdown-platform-youtube"}],ta=[{text:"lang_LABEL_STATISTICS_SALES_TYPE_STREAMING_TRACKS",value:"TS",alvqa:"list-dropdown-column-streaming-tracks"},{text:"lang_LABEL_STATISTICS_SALES_TYPE_DOWNLOAD_TRACKS",value:"TD",alvqa:"list-dropdown-column-download-tracks"},{text:"lang_LABEL_STATISTICS_SALES_TYPE_DOWNLOAD_BUNDLE",value:"AD",alvqa:"list-dropdown-column-download-bundle"},{text:"lang_LABEL_STATISTICS_CAPTION_RETAIL",value:"RT",alvqa:"list-dropdown-column-retail"}],ea=[{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_COUNTRIES",value:"byCountries",alvqa:"list-dropdown-left-chart-countries"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_DISTRIBUTORS",value:"byDistributors",alvqa:"list-dropdown-left-chart-distributors"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_PLATFORMS",value:"byPlatforms",alvqa:"list-dropdown-left-chart-platforms"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_SALES_TYPES",value:"bySalesType",alvqa:"list-dropdown-left-chart-sales-type"}],aa=[{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_COUNTRIES",value:"byCountries",alvqa:"list-dropdown-left-chart-countries"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_DISTRIBUTORS",value:"byDistributors",alvqa:"list-dropdown-left-chart-distributors"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_PLATFORMS",value:"byPlatforms",alvqa:"list-dropdown-left-chart-platforms"},{text:"lang_LABEL_STATISTICS_CHART_DROPDOWN_BY_SALES_TYPES",value:"bySalesType",alvqa:"list-dropdown-left-chart-sales-type"}],na=[{text:"lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_ARTISTS",value:"top100Artists",alvqa:"list-dropdown-data-table-top-100-artists"},{text:"lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_COUNTRIES",value:"top100Countries",alvqa:"list-dropdown-data-table-country"},{text:"lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_TRACKS",value:"top100Tracks",alvqa:"list-dropdown-data-table-top-100-tracks"},{text:"lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_RELEASES",value:"top100Releases",alvqa:"list-dropdown-data-table-top-100-releases"}],ia=[{text:"AUD",value:"AUD",alvqa:"dropdown-currency-aud"},{text:"CAD",value:"CAD",alvqa:"dropdown-currency-cad"},{text:"CHF",value:"CHF",alvqa:"dropdown-currency-chf"},{text:"CNY",value:"CNY",alvqa:"dropdown-currency-cny"},{text:"CZK",value:"CZK",alvqa:"dropdown-currency-czk"},{text:"DKK",value:"DKK",alvqa:"dropdown-currency-dkk"},{text:"EUR",value:"EUR",alvqa:"dropdown-currency-eur"},{text:"GBP",value:"GBP",alvqa:"dropdown-currency-gbp"},{text:"HUF",value:"HUF",alvqa:"dropdown-currency-huf"},{text:"ILS",value:"ILS",alvqa:"dropdown-currency-ils"},{text:"JPY",value:"JPY",alvqa:"dropdown-currency-jpy"},{text:"KRW",value:"KRW",alvqa:"dropdown-currency-krw"},{text:"NOK",value:"NOK",alvqa:"dropdown-currency-nok"},{text:"PLN",value:"PLN",alvqa:"dropdown-currency-pln"},{text:"RON",value:"RON",alvqa:"dropdown-currency-ron"},{text:"SEK",value:"SEK",alvqa:"dropdown-currency-sek"},{text:"TRY",value:"TRY",alvqa:"dropdown-currency-try"},{text:"USD",value:"USD",alvqa:"dropdown-currency-usd"},{text:"ZAR",value:"ZAR",alvqa:"dropdown-currency-zar"}],sa=[{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SHIPPING_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SHIPPING_NOTE_ABBREVIATION",value:"shipping",alvqa:"dropdown-type-shipping-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_RETURNS_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_RETURNS_NOTE_ABBREVIATION",value:"returning",alvqa:"dropdown-type-returns-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_INCOMING_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_INCOMING_NOTE_ABBREVIATION",value:"incoming",alvqa:"dropdown-type-incoming-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_PICK_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_PICK_NOTE_ABBREVIATION",value:"picking",alvqa:"dropdown-type-pick-note"},{text:"lang_ERP_INVOICES_DROPDOWN_TYPE_INVOICE",abbr:"lang_ERP_INVOICES_DROPDOWN_TYPE_INVOICE_ABBREVIATION",value:"reg",alvqa:"dropdown-type-invoice"},{text:"lang_ERP_INVOICES_DROPDOWN_TYPE_CREDIT_NOTE",abbr:"lang_ERP_INVOICES_DROPDOWN_TYPE_CREDIT_NOTE_ABBREVIATION",value:"ret",alvqa:"dropdown-type-credit-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SALES_DATA",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SALES_DATA_ABBREVIATION",value:"sales",alvqa:"dropdown-type-sales-data"}],ra=[{text:"lang_ERP_INVENTORIES_DROPDOWN_VALUE_TYPES_BIGGER_THAN_ZERO",value:"biggerThanZeroValues",alvqa:"erp-inventories-dropdown-value-types-bigger-than-zero"},{text:"lang_ERP_INVENTORIES_DROPDOWN_VALUE_TYPES_ZERO_VALUES",value:"zeroValues",alvqa:"erp-inventories-dropdown-value-types-zero-values"},{text:"lang_ERP_INVENTORIES_DROPDOWN_VALUE_TYPES_UNDEFINED_VALUES",value:"undefinedValues",alvqa:"erp-inventories-dropdown-value-types-undefined-values"}],la=[{text:"lang_ERP_SHIPPING_DROPDOWN_BATCH_SALES",value:1,alvqa:"dropdown-batch-sales"},{text:"lang_ERP_SHIPPING_DROPDOWN_BATCH_PROMO",value:2,alvqa:"dropdown-batch-promo"},{text:"lang_ERP_SHIPPING_DROPDOWN_BATCH_FOC",value:3,alvqa:"dropdown-batch-foc"},{text:"lang_ERP_SHIPPING_DROPDOWN_BATCH_PST",value:5,alvqa:"dropdown-batch-pst"}],oa=[{text:"lang_ERP_INVOICES_DROPDOWN_PAYMENT_METHOD_TRANSFER",value:1,alvqa:"dropdown-payment-method-transfer"},{text:"lang_ERP_INVOICES_DROPDOWN_PAYMENT_METHOD_CASH",value:2,alvqa:"dropdown-payment-method-cash"},{text:"lang_ERP_INVOICES_DROPDOWN_PAYMENT_METHOD_CREDITCARD",value:3,alvqa:"dropdown-payment-method-creditcard"},{text:"lang_ERP_INVOICES_DROPDOWN_PAYMENT_METHOD_DEBIT",value:4,alvqa:"dropdown-payment-method-debit"},{text:"lang_ERP_INVOICES_DROPDOWN_PAYMENT_METHOD_PAYPAL",value:5,alvqa:"dropdown-payment-method-paypal"}],ca=[{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_DRAFT",value:4,alvqa:"dropdown-status-draft"},{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_INPROGRESS",value:5,alvqa:"dropdown-status-inprogress"},{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_OPEN",value:1,alvqa:"dropdown-status-open"},{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_PAID",value:2,alvqa:"dropdown-status-paid"},{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_OVERDUE",value:3,alvqa:"dropdown-status-overdue"},{text:"lang_ERP_INVOICES_DROPDOWN_STATUS_UNCOLLECTABLE",value:7,alvqa:"dropdown-status-uncollectable"}],ua=[{text:"lang_ERP_INVOICES_DROPDOWN_TYPE_INVOICE",abbr:"lang_ERP_INVOICES_DROPDOWN_TYPE_INVOICE_ABBREVIATION",value:"reg",alvqa:"dropdown-type-invoice"},{text:"lang_ERP_INVOICES_DROPDOWN_TYPE_CREDIT_NOTE",abbr:"lang_ERP_INVOICES_DROPDOWN_TYPE_CREDIT_NOTE_ABBREVIATION",value:"ret",alvqa:"dropdown-type-credit-note"}],da=[{text:"lang_GENERAL_CAPTION_ALL",value:"all",alvqa:"dropdown-publishing-contracts-split-edit-all"},{text:"lang_GENERIC_CAPTION_FOREIGN",value:"foreign",alvqa:"dropdown-publishing-contracts-split-edit-foreign"},{text:"lang_GENERIC_CAPTION_DOMESTIC",value:"domestic",alvqa:"dropdown-publishing-contracts-split-edit-domestic"}],ga=[{text:"lang_CONTRACTS_PUBLISHING_CAPTION_PR_CONTRACTING_PARTNER",value:"prContractingShares",alvqa:"dropdown-publishing-contracts-split-edit-by-pr-contracting-shares"},{text:"lang_CONTRACTS_PUBLISHING_CAPTION_MR_CONTRACTING_PARTNER",value:"mrContractingShares",alvqa:"dropdown-publishing-contracts-split-edit-by-mr-contracting-shares"},{text:"lang_CONTRACTS_PUBLISHING_CAPTION_PR_SUBPUBLISHER",value:"prSubpublisherShares",alvqa:"dropdown-publishing-contracts-split-edit-by-pr-subpublisher-shares"},{text:"lang_CONTRACTS_PUBLISHING_CAPTION_MR_SUBPUBLISHER",value:"mrSubpublisherShares",alvqa:"dropdown-publishing-contracts-split-edit-by-mr-subpublisher-shares"},{text:"lang_GENERIC_CAPTION_NONE",value:null,alvqa:"dropdown-publishing-contracts-split-edit-by-role"}],pa=[{text:"lang_GENERIC_CAPTION_ROLE_PERCENT",value:"role",alvqa:"dropdown-publishing-contracts-split-edit-source-role"},{text:"lang_GENERIC_CAPTION_INTL_PERCENT",value:"intl",alvqa:"dropdown-publishing-contracts-split-edit-source-intl"},{text:"lang_GENERIC_CAPTION_OWN_PERCENT",value:"own",alvqa:"dropdown-publishing-contracts-split-edit-source-own"}],va=[{text:"lang_CONTRACTS_PUBLISHING_CAPTION_ALL_WITH_PWR",value:"pwr",alvqa:"dropdown-publishing-contracts-split-edit-shares-to-consider-pwr"},{text:"lang_CONTRACTS_PUBLISHING_CAPTION_WITH_CONTRACTS_ONLY",value:"contractsOnly",alvqa:"dropdown-publishing-contracts-split-edit-shares-to-consider-contracts-only"}],_a=[{text:"lang_GENERAL_CAPTION_ALL",value:"all",alvqa:"dropdown-publishing-contracts-split-edit-right-all"},{text:"lang_PUBLISHING_CAPTION_PERFORMING_RIGHTS_ABBREVIATION",value:"pr",alvqa:"dropdown-publishing-contracts-split-edit-right-pr"},{text:"lang_PUBLISHING_CAPTION_MECHANICAL_RIGHTS_ABBREVIATION",value:"mr",alvqa:"dropdown-publishing-contracts-split-edit-right-mr"},{text:"lang_GENERIC_CAPTION_SYNCH",value:"synch",alvqa:"dropdown-publishing-contracts-split-edit-right-synch"}],ha=[{text:"lang_GENERAL_OPTION_DE",abbr:"lang_GENERAL_OPTION_DE",value:"de",alvqa:"dropdown-language-option-de"},{text:"lang_GENERAL_OPTION_EN",abbr:"lang_GENERAL_OPTION_EN",value:"en",alvqa:"dropdown-language-option-en"}],ma=[{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_NOSTATEMENT",value:18,alvqa:"dropdown-sales-type-nostatement"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_PRINTING",value:19,alvqa:"dropdown-sales-type-pc-printing"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_ARRANGEMENT",value:20,alvqa:"dropdown-sales-type-pc-arrangement"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_BIG_RIGHT",value:21,alvqa:"dropdown-sales-type-pc-big-right"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_SHEET",value:22,alvqa:"dropdown-sales-type-pc-sheet"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_SYN",value:23,alvqa:"dropdown-sales-type-pc-synch"},{text:"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_SYN_FOREIGN",value:24,alvqa:"dropdown-sales-type-pc-synch-foreign"}],fa=[{text:"lang_ERP_SHIPPING_DROPDOWN_STATUS_DRAFT",value:"draft",alvqa:"dropdown-status-draft"},{text:"lang_ERP_SHIPPING_DROPDOWN_STATUS_OPEN",value:"recorded",alvqa:"dropdown-status-open"}],Sa=[{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_INCOMING_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_INCOMING_NOTE_ABBREVIATION",value:"incoming",alvqa:"dropdown-type-incoming-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SHIPPING_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_SHIPPING_NOTE_ABBREVIATION",value:"shipping",alvqa:"dropdown-type-shipping-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_PICK_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_PICK_NOTE_ABBREVIATION",value:"picking",alvqa:"dropdown-type-pick-note"},{text:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_RETURNS_NOTE",abbr:"lang_ERP_INVOICES_LINKED_DOCUMENT_TYPE_RETURNS_NOTE_ABBREVIATION",value:"returning",alvqa:"dropdown-type-returns-note"}],Ea=[{text:"lang_GENERIC_AZ_CAPTION_TAX_WAIVER_NOT_REQUIRED",value:0,alvqa:"tax-waiver-not-required"},{text:"lang_GENERIC_AZ_CAPTION_TAX_WAIVER_REQUIRED_NOT_PROVIDED",value:1,alvqa:"tax-waiver-required-not-provided"},{text:"lang_GENERIC_AZ_CAPTION_TAX_WAIVER_REQUIRED_AND_PROVIDED",value:2,alvqa:"tax-waiver-required-and-provided"}],Ia=[{text:"lang_AZ_DROPDOWN_FORMAT_NAME_ADDRESS_EUROPEAN",value:"european",alvqa:"dropdown-format-name-address-european"},{text:"lang_AZ_DROPDOWN_FORMAT_NAME_ADDRESS_JAPANESE",value:"japanese",alvqa:"dropdown-format-name-address-japanese"},{text:"lang_AZ_DROPDOWN_FORMAT_NAME_ADDRESS_KOREAN",value:"korean",alvqa:"dropdown-format-name-address-korean"},{text:"lang_AZ_DROPDOWN_FORMAT_NAME_ADDRESS_AMERICAN",value:"american",alvqa:"dropdown-format-name-address-american"}],Ca=[{text:"lang_GENERIC_AZ_CAPTION_DISTRIBUTOR_ON_COMMISSION",value:"kommissionsvertrieb",alvqa:"az-distributors-type-"},{text:"lang_GENERIC_AZ_CAPTION_LICENSEE",value:"Lizenznehmer",alvqa:"tax-waiver-not-required"}],Aa=[{value:"revenue",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_INCOMING"},{value:"lizenz",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_LICENSOR"},{value:"company",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_PUBLISHER"},{value:"at_source",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_SOURCE"}],Ta=[{value:"incomingMoney",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_INCOMING"},{value:"byAlvId",text:"lang_PUBLISHING_CONTRACTS_ROWS_APPLY_TO_BY_ALVID"}],ba=[{value:1,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_RETAIL",alvqa:"dropdown-sales-type-retail"},{value:2,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_STREAM",alvqa:"dropdown-sales-type-digital-stream"},{value:3,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DOWNLOAD",alvqa:"dropdown-sales-type-digital-download"},{value:4,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE",alvqa:"dropdown-sales-type-license"},{value:5,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE_MAILORDER",alvqa:"dropdown-sales-type-license-mail-order"},{value:6,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE_DIGITAL",alvqa:"dropdown-sales-type-license-digital"},{value:7,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE_RETAIL",alvqa:"dropdown-sales-type-license-retail"},{value:8,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_MEDIA_PROMOTION",alvqa:"dropdown-sales-type-media-promotion"},{value:9,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE_MEDIA_PROMOTION",alvqa:"dropdown-sales-type-license-media-promotion"},{value:11,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_STREAM_AND_DOWNLOAD",alvqa:"dropdown-sales-type-stream-and-download"},{value:12,text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DIRECT_SALES",alvqa:"dropdown-sales-type-direct-sales"},{value:10,text:"lang_GENERIC_CAPTION_ALL",alvqa:"dropdown-sales-type-all"}],Pa=[{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_BUV",value:"BUV",alvqa:"label-contracts-list-row-dropdown-contract-type-buv"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_KVT",value:"KVT",alvqa:"label-contracts-list-row-dropdown-contract-type-kvt"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_LVT",value:"LVT",alvqa:"label-contracts-list-row-dropdown-contract-type-lvt"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_LZT",value:"LZT",alvqa:"label-contracts-list-row-dropdown-contract-type-lzt"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_PVT",value:"PVT",alvqa:"label-contracts-list-row-dropdown-contract-type-pvt"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_SVT",value:"SVT",alvqa:"label-contracts-list-row-dropdown-contract-type-svt"},{text:"lang_CONTRACTS_LABEL_CONTRACT_TYPE_OPTION_VVT",value:"VVT",alvqa:"label-contracts-list-row-dropdown-contract-type-vvt"}],Da=[{text:"lang_CONTRACTS_LABEL_STATEMENT_SCHEDULE_OPTION_MONTHLY",value:"Monat",alvqa:"label-contracts-dropdown-billing-cycle-month"},{text:"lang_CONTRACTS_LABEL_STATEMENT_SCHEDULE_OPTION_QUARTERLY",value:"Quartal",alvqa:"label-contracts-dropdown-billing-cycle-quarter"},{text:"lang_CONTRACTS_LABEL_STATEMENT_SCHEDULE_OPTION_HALFYEARLY",value:"Halbjahr",alvqa:"label-contracts-dropdown-billing-cycle-halfyear"},{text:"lang_CONTRACTS_LABEL_STATEMENT_SCHEDULE_OPTION_YEARLY",value:"Jahr",alvqa:"label-contracts-dropdown-billing-cycle-year"}],Na=[{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_QUARTER",value:"3",alvqa:"label-contracts-dropdown-resolution-period-quarter"},{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_HALFYEAR",value:"6",alvqa:"label-contracts-dropdown-resolution-period-halfyear"},{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_YEAR",value:"12",alvqa:"label-contracts-dropdown-resolution-period-year"}],Ra=[{value:1,text:"lang_GENERIC_LABEL_CAPTION_MSP",alvqa:"dropdown-license-msp"},{value:2,text:"lang_GENERIC_LABEL_CAPTION_PPD",alvqa:"dropdown-license-ppd"},{value:3,text:"lang_GENERIC_LABEL_CAPTION_WHP",alvqa:"dropdown-license-whp"},{value:4,text:"lang_GENERIC_LABEL_CAPTION_NET",alvqa:"dropdown-license-net"},{value:5,text:"lang_GENERIC_LABEL_CAPTION_UNIT",alvqa:"dropdown-license-unit"},{value:6,text:"lang_GENERIC_LABEL_CAPTION_NBD",alvqa:"dropdown-license-nbd"},{value:7,text:"lang_GENERIC_LABEL_CAPTION_SRP",alvqa:"dropdown-license-srp"}],xa=[{value:"track",text:"Track",alvqa:"dropdown-sales-unit-track"},{value:"bundle",text:"Bundle",alvqa:"dropdown-sales-unit-bundle"}],Oa=[{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_QUARTER",value:3,alvqa:"dropdown-return-reserve-cycle-period-quarter"},{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_HALFYEAR",value:6,alvqa:"dropdown-return-reserve-cycle-period-halfyear"},{text:"lang_CONTRACTS_LABEL_RESERVE_SETTLES_OPTION_YEAR",value:12,alvqa:"dropdown-return-reserve-cycle-period-year"}],wa=[{text:"lang_GENERAL_CAPTION_ALL",value:"all",alvqa:"dropdown-price-category-all"},{text:"lang_GENERAL_PRICE_CATEGORY_BUDGET",value:"budget",alvqa:"dropdown-price-category-budget"},{text:"lang_GENERAL_PRICE_CATEGORY_MIDPRICE",value:"midprice",alvqa:"dropdown-price-category-midprice"},{text:"lang_GENERAL_PRICE_CATEGORY_HIGHPRICE",value:"highprice",alvqa:"dropdown-price-category-highprice"}],La=[{text:"lang_LABEL_RELEASES_PROMOTIONAL_TEXT_TYPE_LONG",value:"long",alvqa:"dropdown-type-long-description"},{text:"lang_LABEL_RELEASES_PROMOTIONAL_TEXT_TYPE_SHORT",value:"short",alvqa:"dropdown-type-short-description"}],ya=[{text:"lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_STATUS_PENDING",value:"pending",alvqa:"dropdown-status-pending"},{text:"lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_STATUS_QUALITYCHECK",value:"qualityCheck",alvqa:"dropdown-status-in-quality-check"}],qa=[{text:"lang_GENERIC_COST_GROUP_TYPE_MANUFACTURING",value:"manufacturing",group:"costs",alvqa:"dropdown-budget-group-manufacturing"},{text:"lang_GENERIC_COST_GROUP_TYPE_ADVERTISING",value:"advertising",group:"costs",alvqa:"dropdown-budget-group-advertising"},{text:"lang_GENERIC_COST_GROUP_TYPE_MARKETING",value:"marketing",group:"costs",alvqa:"dropdown-budget-group-marketing"},{text:"lang_GENERIC_COST_GROUP_TYPE_PROMOTION",value:"promotion",group:"costs",alvqa:"dropdown-budget-group-promotion"},{text:"lang_GENERIC_COST_GROUP_TYPE_PRODUCTION",value:"production",group:"costs",alvqa:"dropdown-budget-group-production"},{text:"lang_GENERIC_COST_GROUP_TYPE_OTHER",value:"costsOther",group:"costs",alvqa:"dropdown-budget-group-other"},{text:"lang_GENERIC_COST_GROUP_TYPE_LIVE",value:"costsLive",group:"costs",alvqa:"dropdown-budget-group-live"},{text:"lang_GENERIC_COST_GROUP_TYPE_ADVANCE",value:"advance",group:"costs",alvqa:"dropdown-budget-group-advance"},{text:"lang_GENERIC_COST_GROUP_TYPE_LICENSES",value:"licenses",group:"costs",alvqa:"dropdown-budget-group-licenses "},{text:"lang_GENERIC_COST_GROUP_TYPE_MECHANICALS",value:"mechanicals",group:"costs",alvqa:"dropdown-budget-group-mechanicals"},{text:"lang_LABEL_RELEASES_BUDGET_GROUP_TYPE_PHYSICAL",value:"physical",group:"income",alvqa:"dropdown-budget-group-physical"},{text:"lang_LABEL_RELEASES_BUDGET_GROUP_TYPE_DOWNLOAD",value:"download",group:"income",alvqa:"dropdown-budget-group-download"},{text:"lang_LABEL_RELEASES_BUDGET_GROUP_TYPE_STREAMING",value:"streaming",group:"income",alvqa:"dropdown-budget-group-streaming"},{text:"lang_GENERIC_COST_GROUP_TYPE_OTHER",value:"incomeOther",group:"income",alvqa:"dropdown-budget-group-income-other"},{text:"lang_GENERIC_COST_GROUP_TYPE_LIVE",value:"incomeLive",group:"income",alvqa:"dropdown-budget-group-income-live"}],ka=[{text:"lang_PUBLISHING_RELEASES_CAPTION_FILM",value:1,group:"lang_PUBLISHING_RELEASES_CAPTION_CINEMA",alvqa:"publishing-relases-edit-form-dropdown-production-type-film"},{text:"lang_PUBLISHING_RELEASES_CAPTION_SHORT_FILM",value:2,group:"lang_PUBLISHING_RELEASES_CAPTION_CINEMA",alvqa:"publishing-relases-edit-form-dropdown-production-type-short-film"},{text:"lang_PUBLISHING_RELEASES_CAPTION_INHOUSE_COMMISSIONED_PRODUCTION",value:3,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:"publishing-relases-edit-form-dropdown-production-type-inhouse-commissioned-production"},{text:"lang_PUBLISHING_RELEASES_CAPTION_SHOW",value:4,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:"publishing-relases-edit-form-dropdown-production-type-show"},{text:"lang_PUBLISHING_RELEASES_CAPTION_OTHER_TELEVISION_PRODUCTION",value:5,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:"publishing-relases-edit-form-dropdown-production-type-television"}],Ba=[{text:"lang_GENERIC_LABEL_CAPTION_NET",value:"net",alvqa:"dropdown-license-net"},{text:"lang_GENERIC_LABEL_CAPTION_PPD",value:"ppd",alvqa:"dropdown-license-ppd"},{text:"lang_GENERIC_LABEL_CAPTION_MSP",value:"msp",alvqa:"dropdown-license-msp"},{text:"lang_GENERIC_LABEL_CAPTION_WHP",value:"whp",alvqa:"dropdown-license-whp"},{text:"lang_GENERIC_LABEL_CAPTION_UNIT",value:"stck",alvqa:"dropdown-license-stck"}],$a=[{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_RETAIL",value:"retail",alvqa:"dropdown-sales-type-retail"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DOWNLOAD",value:"download",alvqa:"dropdown-sales-type-download"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_STREAM",value:"stream",alvqa:"dropdown-sales-type-stream"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE",value:"license",alvqa:"dropdown-sales-type-license"},{text:"lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_DIRECT_SALES",value:"directSales",alvqa:"dropdown-sales-type-directSales"}],Ga=[{text:"lang_ACCOUNT_SWITCH_ADDRESS_FORMAL",value:"yes",alvqa:"dropdown-address-formal"},{text:"lang_ACCOUNT_SWITCH_ADDRESS_INFORMAL",value:"no",alvqa:"dropdown-address-informal"}],Fa=[{text:"lang_ACCOUNT_COMPANIES_DROPDOWN_ROLE_OPTION_OWNER",value:"owner",alvqa:"dropdown-role-owner"},{text:"lang_ACCOUNT_COMPANIES_DROPDOWN_ROLE_OPTION_ACCOUNTANT",value:"accountant",alvqa:"dropdown-role-accountant"}],Ua=[{text:"lang_ACCOUNT_COMPANIES_DROPDOWN_NUMBER_FORMAT_OPTION_AMERICAN",value:"US",alvqa:"dropdown-number-format-american"},{text:"lang_ACCOUNT_COMPANIES_DROPDOWN_NUMBER_FORMAT_OPTION_EUROPEAN",value:"EU",alvqa:"dropdown-number-format-european"}],Ma=[{text:"lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_ALV_LOGIN",value:"alv-login",alvqa:"account-credentials-type-alv-login"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_AKM_CWR",value:"akm-cwr",alvqa:"account-credentials-type-akm-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_CAPASSO_CWR",value:"capasso-cwr",alvqa:"account-credentials-type-capasso-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_GEMA_CWR",value:"gema-cwr",alvqa:"account-credentials-type-gema-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_GEMA_SOUNDFILE_API",value:"gema-soundfile",alvqa:"account-credentials-type-gema-soundfile"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_ICE_CWR",value:"ice-cwr",alvqa:"account-credentials-type-ice-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_MLC_CWR",value:"mlc-cwr",alvqa:"account-credentials-type-mlc-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_MUSICMARK_CWR",value:"musicmark-cwr",alvqa:"account-credentials-type-musicmark-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_SUISA_CWR",value:"suisa-cwr",alvqa:"account-credentials-type-suisa-cwr"},{text:"lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_UBC_CWR",value:"ubc-cwr",alvqa:"account-credentials-type-ubc-cwr"},{text:"lang_GENERIC_CAPTION_MAILCHIMP",value:"mailchimp",alvqa:"account-credentials-type-mailchimp"},{text:"lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_AV_MELDUNG_API",value:"av-meldung-api",alvqa:"account-credentials-type-av-meldung-api"},{text:"lang_GENERIC_CAPTION_HELPJUICE",value:"helpjuice",alvqa:"account-credentials-type-helpjuice"}],Wa=[{text:"lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_ADMIN",value:"admin",alvqa:"account-credentials-role-admin"},{text:"lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_COWORKER",value:"coworker",alvqa:"account-credentials-role-coworker"},{text:"lang_ACCOUNT_CREDENTIALS_ROLE_OPTION_ASSISTANT",value:"assistant",alvqa:"account-credentials-role-assistant"}],ja=[{text:"lang_GENERIC_CAPTION_IMPORT",value:"import",alvqa:"account-mappings-direction-import"},{text:"lang_GENERIC_CAPTION_EXPORT",value:"export",alvqa:"account-mappings-direction-export"}],za=[{text:"lang_GENERIC_CAPTION_PR",value:"pr",alvqa:"account-mappings-rights-type-pr"},{text:"lang_GENERIC_CAPTION_MR",value:"mr",alvqa:"account-mappings-rights-type-mr"}],Ha=[{text:"lang_GENERIC_CAPTION_DECIMAL_SEPARATOR_COMMA",value:"comma",alvqa:"account-mappings-decimal-separator-comma"},{text:"lang_GENERIC_CAPTION_DECIMAL_SEPARATOR_DOT",value:"dot",alvqa:"account-mappings-decimal-separator-dot"}],Va=[{text:"lang_GENERIC_CAPTION_CSV",value:"csv",alvqa:"account-mappings-file-format-csv"},{text:"lang_GENERIC_CAPTION_EXCEL",value:"xlsx",alvqa:"account-mappings-file-format-excel"}],Ya=[{text:"lang_GENERIC_CAPTION_COMMA",value:"comma",alvqa:"account-mappings-delimiter-comma"},{text:"lang_GENERIC_CAPTION_SEMICOLON",value:"semicolon",alvqa:"account-mappings-delimiter-semicolon"}],Ka=[{text:"lang_PUBLISHING_INCOME",value:"publishing_income",alvqa:"account-mappings-domain-publishing-income",direction:"import"},{text:"lang_LABEL_SALES_DATA",value:"label_sales_data",alvqa:"account-mappings-domain-label-sales-data",direction:"import"},{text:"lang_GENERIC_CAPTION_DOMAIN_PUBLISHING_WORKS",value:"publishing_works",alvqa:"account-mappings-domain-publishing-works",direction:"export"},{text:"lang_GENERIC_CAPTION_DOMAIN_PUBLISHING_WORKS",value:"publishing_works",alvqa:"account-mappings-domain-publishing-works",direction:"import"}],Za=[{text:"lang_GENERIC_CAPTION_MANU_PERCENT",value:"osMANU",alvqa:"account-mappings-source-original-shares-manu"},{text:"lang_GENERIC_CAPTION_ROLE_PERCENT",value:"osROLE",alvqa:"account-mappings-source-original-shares-role"},{text:"lang_GENERIC_CAPTION_INTL_PERCENT",value:"osINTL",alvqa:"account-mappings-source-original-shares-intl"},{text:"lang_GENERIC_CAPTION_OWN_PERCENT",value:"osOWN",alvqa:"account-mappings-source-original-shares-own"}],Xa=[{text:"lang_GENERIC_CAPTION_EMAIL",value:"email",alvqa:"drodown-type-email"},{text:"lang_GENERIC_CAPTION_MEETING",value:"meeting",alvqa:"drodown-type-meeting"},{text:"lang_GENERIC_CAPTION_ONLINE_MEETING",value:"onlineMeeting",alvqa:"drodown-type-online-meeting"},{text:"lang_GENERIC_CAPTION_OTHERS",value:"other",alvqa:"drodown-type-other"},{text:"lang_GENERIC_CAPTION_PHONE",value:"phone",alvqa:"drodown-type-phone"},{text:"lang_GENERIC_CAPTION_POSTAL_MAIL",value:"postal",alvqa:"drodown-type-postal"}],Ja=[{text:"lang_GENERIC_CAPTION_RECIPIENT_ID",value:"recipientId",alvqa:"type-option-recipient-id"},{text:"lang_AZ_PERSONS_CAPTION_OTHER_IDS_TYPE_PSEUDONYM",value:"pseudonym",alvqa:"type-option-pseudonym"},{text:"lang_AZ_PERSONS_CAPTION_OTHER_IDS_TYPE_ORIGINATOR",value:"originator",alvqa:"type-option-originator"},{text:"lang_AZ_PERSONS_CAPTION_OTHER_IDS_TYPE_INHERITOR",value:"inheritor",alvqa:"type-option-inheritor"}],Qa={import_publishing_income:[{text:"lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE",value:"publishingIncomeWorkTitle",alvqa:"account-mappings-alv-field-work-title"},{text:"lang_PUBLISHING_CAPTION_COMPOSERS",value:"publishingIncomeComposers",alvqa:"account-mappings-alv-field-composers"},{text:"lang_PUBLISHING_WORKS_CAPTION_WORK_ID",value:"publishingIncomeWorkId",alvqa:"account-mappings-alv-field-composers"},{text:"lang_GENERIC_CAPTION_RIGHTS_TYPE",value:"publishingIncomeRightsType",alvqa:"account-mappings-alv-field-rights-type"},{text:"lang_GENERIC_CAPTION_CATEGORY",value:"publishingIncomeCategory",alvqa:"account-mappings-alv-field-category"},{text:"lang_GENERIC_AZ_CAPTION_LICENSEE",value:"publishingIncomeLicensee",alvqa:"account-mappings-alv-field-licensee"},{text:"lang_PUBLISHING_INCOME_CAPTION_INFO",value:"publishingIncomeInfo",alvqa:"account-mappings-alv-field-info"},{text:"lang_GENERIC_CAPTION_COUNTRY",value:"publishingIncomeCountry",alvqa:"account-mappings-alv-field-country"},{text:"lang_GENERIC_CAPTION_PERIOD",value:"publishingIncomePeriod",alvqa:"account-mappings-alv-field-period"},{text:"lang_GENERIC_CAPTION_QUANTITY",value:"publishingIncomeQuantity",alvqa:"account-mappings-alv-field-quantity"},{text:"lang_GENERIC_CAPTION_COLL_PERCENT",value:"publishingIncomeCollPercent",alvqa:"account-mappings-alv-field-coll-percent"},{text:"lang_GENERIC_CAPTION_AMOUNT",value:"publishingIncomeAmount",alvqa:"account-mappings-alv-field-amount"},{text:"lang_GENERIC_CAPTION_RECIPIENT_ID",value:"publishingIncomeRecipientId",alvqa:"account-mappings-alv-field-publishing-recipient-id"},{text:"lang_GENERIC_CAPTION_SUBCATEGORY",value:"publishingIncomeSubcategory",alvqa:"account-mappings-alv-field-publishing-subcategory"}],import_label_sales_data:[{text:"lang_LABEL_RELEASES_CAPTION_TITLE",value:"labelSalesDataReleaseTitle",alvqa:"account-mappings-alv-field-label-release-title"},{text:"lang_GENERIC_CAPTION_EAN",value:"labelSalesDataReleaseEan",alvqa:"account-mappings-alv-field-label-release-ean"},{text:"lang_GENERIC_CAPTION_CATALOGUE_NUMBER",value:"labelSalesDataReleaseCatalogueNumber",alvqa:"account-mappings-alv-field-label-release-catalogue-number"},{text:"lang_LABEL_TRACKS_CAPTION_ISRC",value:"labelSalesDataTrackIsrc",alvqa:"account-mappings-alv-field-label-track-isrc"},{text:"lang_GENERIC_CAPTION_COUNTRY",value:"labelSalesDataCountry",alvqa:"account-mappings-alv-field-label-sales-data-country"},{text:"lang_GENERIC_CAPTION_QUANTITY",value:"labelSalesDataQuantity",alvqa:"account-mappings-alv-field-label-sales-data-quantity"},{text:"lang_GENERIC_CAPTION_RETURNS",value:"labelSalesDataReturns",alvqa:"account-mappings-alv-field-label-sales-data-returns"},{text:"lang_GENERIC_CAPTION_RETURNS_VALUE",value:"labelSalesDataReturnsValue",alvqa:"account-mappings-alv-field-label-sales-data-returns-value"},{text:"lang_GENERIC_CAPTION_PERIOD",value:"labelSalesDataPeriod",alvqa:"account-mappings-alv-field-label-sales-data-period"},{text:"lang_GENERIC_CAPTION_NET",value:"labelSalesDataNet",alvqa:"account-mappings-alv-field-label-sales-data-net"},{text:"lang_GENERIC_LABEL_CAPTION_PPD",value:"labelSalesDataPpd",alvqa:"account-mappings-alv-field-label-sales-data-ppd"},{text:"lang_GENERIC_CAPTION_SALES_TYPE",value:"labelSalesDataType",alvqa:"account-mappings-alv-field-label-sales-data-type"},{text:"lang_LABEL_RELEASES_CAPTION_MEDIA_TYPE",value:"labelSalesDataMediaType",alvqa:"account-mappings-alv-field-label-sales-media-type"},{text:"lang_GENERIC_AZ_CAPTION_LICENSEE",value:"labelSalesDataLicensee",alvqa:"account-mappings-alv-field-label-sales-data-licensee"},{text:"lang_GENERIC_AZ_CAPTION_SUB_LICENSEE",value:"labelSalesDataSubLicensee",alvqa:"account-mappings-alv-field-label-sales-data-sublicensee"},{text:"lang_GENERIC_LABEL_CAPTION_MSP",value:"labelSalesDataMsp",alvqa:"account-mappings-alv-field-label-sales-data-msp"}],import_publishing_works:[{text:"Work title",value:"publishingWorkTitle"},{text:"Work ISWC",value:"publishingWorkIswc"},{text:"Work performer",value:"publishingWorkPerformer"},{text:"Work duration",value:"publishingWorkDuration"},{text:"Work language",value:"publishingWorkLanguage"},{text:"Work status",value:"publishingWorkStatus"},{text:"Work type",value:"publishingWorkType"},{text:"Work registration date",value:"publishingWorkRegistrationDate"},{text:"Work genre",value:"publishingWorkGenre"},{text:"Work catalogue number",value:"publishingWorkCatalogueNumber"},{text:"Work IWK",value:"publishingWorkIwk"},{text:"Work foreign ID",value:"publishingWorkForeignWorkIds"},{text:"Work points",value:"publishingWorkPoints"},{text:"Work notes",value:"publishingWorkNotes"},{text:"Work back collection",value:"publishingWorkBackCollection"},{text:"Work MR split",value:"publishingWorkOldMrSplit"},{text:"Work leading publisher",value:"publishingWorkLeadingPublisher"},{text:"Work society number main",value:"publishingWorkSocietyNumberMain"},{text:"Work society numner version",value:"publishingWocietyNumberVersion"},{text:"Work ISRC",value:"publishingWorkIsrc"}],import_publishing_works_interested_parties:[{text:"Interested party name",value:"publishingWorkIpName"},{text:"Interested party role",value:"publishingWorkIpRole"},{text:"Interested party share type",value:"publishingWorkIpShareType"},{text:"Interested party PWR",value:"publishingWorkIpPwrs"},{text:"Interested party PR%",value:"publishingWorkIpPercentPr"},{text:"Interested party MR%",value:"publishingWorkIpPercentMr"},{text:"Interested party PR society",value:"publishingWorkIpSocietyPr"},{text:"Interested party MR society",value:"publishingWorkIpSocietyMr"},{text:"Interested party PMR",value:"publishingWorkIpPmr"},{text:"Interested party notes",value:"publishingWorkIpNotes"},{text:"Interested party territory",value:"publishingWorkIpTerritory"},{text:"Interested party IPI number",value:"publishingWorkIpIpi"},{text:"Interested party first name",value:"publishingWorkIpFirstName"},{text:"Interested party last name",value:"publishingWorkIpLastName"}]},tn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-card",{attrs:{elevation:"0"}},[a("v-card-title",{staticClass:"pl-4 pb-4"},[t._v(t._s(t.$t(t.title))+"\n ")]),t._l(t.reminders,(function(e){return[a("v-card-subtitle",{staticClass:"py-0 font-weight-medium"},[t._v("\n             "+t._s(e.contractName)+"\n            "),"azpersons"===e.reminderType?a("p",{staticClass:"mb-0"},[t._v("\n                 "+t._s(t.$t("lang_AZ_PERSONS_CAPTION_NAME"))+": "+t._s(t.$alvPlugin.showNameOfAzEntry(e.person))+"\n            ")]):t._e()]),a("v-card-text",{staticClass:"pb-0"},["azpersons"===e.reminderType?a("p",{staticClass:"mb-1"},[t._v("\n                     "+t._s(t.$t("lang_AZ_COMMUNICATION_LIST_HOOK"))+": "+t._s(e.recontactHook&&e.recontactHook.length>50?e.recontactHook.slice(0,50)+"...":e.recontactHook)+"\n            ")]):a("p",{staticClass:"mb-1"},[t._v("\n                 "+t._s(t.$t("lang_CONTRACTS"))+" > "+t._s("publishing"===e.source?t.$t("lang_CONTRACTS_PUBLISHING_CONTRACTS"):t.$t("lang_CONTRACTS_LABEL_CONTRACTS"))+"\n            ")]),a("p",{staticClass:"mb-1"},[t._v(t._s(t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_REMINDER_DATE")+": "+t.$d(new Date(e.reminderDate),"alvDateFormat")))])]),a("v-card-actions",{staticClass:"pl-4 pt-0 mb-3"},[a("router-link",{attrs:{to:t.navigateToReminder(e)}},[t._v(t._s(e.alvId))])],1)]}))],2)},en=[],an={name:"BaseReminderCard",components:Object(c["a"])({BaseButton:wt},"BaseButton",wt),props:{reminders:Array,title:String},methods:{navigateToReminder:function(t){return"publishing"===t.source?"/contracts/publishing/".concat(t.alvId):"azpersons"===t.reminderType?"/az/azpersons/".concat(t.alvId):"/contracts/label/".concat(t.alvId)}}},nn=an,sn=Object(C["a"])(nn,tn,en,!1,null,null,null),rn=sn.exports,ln={name:"Dashboard",components:{GemaWorksCheckDialog:zt,GemaSoundfileDialog:ne,BaseButton:wt,BaseEditPageDropdown:me,BaseReminderCard:rn},data:function(){return{userLoginId:this.$store.getters["getUserInformation"].id,alvqa:"dashboard",context:"Dashboard"}},computed:{showGemaWorksCheckDialog:{get:function(){return this.$store.getters.getShowGemaWorksCheckDialog},set:function(t){this.$store.commit("setShowGemaWorksCheckDialog",t)}},isLaunchMonth:function(){var t=(new Date).getTime(),e=new Date("07/01/2021").getTime(),a=new Date("07/31/2021").getTime();return t>=e&&t<=a},tagExportDomainItems:function(){return fe},contractsRemindersList:function(){var t=this.$store.getters["getPublishingReminders"],e=this.$store.getters["getLabelReminders"],a=function(t){return Array.isArray(t)&&t.length?t:[]},n=[].concat(Object(ft["a"])(a(t)),Object(ft["a"])(a(e))),i=n.sort((function(t,e){return new Date(t.reminderDate)-new Date(e.reminderDate)})),s=i.slice(0,10);return s},azRemindersList:function(){var t=this.$store.getters["getAzReminders"];return t}},methods:{launchTagsExportByDomain:function(){this.$store.dispatch("tagsExport")},initializeReminders:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([this.$store.dispatch("fetchPublishingReminders"),this.$store.dispatch("fetchAZReminders"),this.$store.dispatch("fetchLabelReminders")]);case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},created:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$store.commit("setDashboardDetailsSelectedTagExportDomain","az-persons"),t.next=3,this.initializeReminders();case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},on=ln,cn=Object(C["a"])(on,ht,mt,!1,null,null,null),un=cn.exports,dn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"},scopedSlots:t._u([{key:"importOptions",fn:function(){return["cwr"===t.getSelectedImportOption?a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{field:"ImportCwrType",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_CWR_TYPE"),items:t.getCwrTypes,context:t.context,rules:"required",clearable:!1,alvqa:t.alvqa+"-cwr-import-dropdown-cwr-type",withMargin:!1}})],1),a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageDropdown",{attrs:{field:"ImportCwrSourceShareType",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_CWR_SOURCE_SHARE_TYPE"),items:t.getCwrSourceShareTypes,context:t.context,rules:"ack"===t.getCwrImportType||null===t.getCwrImportType?"":"required",clearable:!1,alvqa:t.alvqa+"-cwr-import-dropdown-cwr-source-share-type",withMargin:!1,disabled:"ack"===t.getCwrImportType||null===t.getCwrImportType}})],1),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{field:"ImportCwrTargetShareType",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_CWR_TARGET_SHARE_TYPE"),items:t.getCwrTargetShareTypes,context:t.context,rules:"ack"===t.getCwrImportType||null===t.getCwrImportType?"":"required",clearable:!1,alvqa:t.alvqa+"-cwr-import-dropdown-cwr-target-share-type",withMargin:!1,disabled:"ack"===t.getCwrImportType||null===t.getCwrImportType}})],1)],1):t._e(),"nonAck"===t.getCwrImportType?a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"CwrPublisherSourceAz",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_FROM_PUBLISHER"),rules:"required",withFreeText:!1,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-cwr-import-autocomplete-source-publisher-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-cwr-import-autocomplete-source-publisher-selection"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                    ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-cwr-import-autocomplete-source-publisher-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-cwr-import-autocomplete-source-publisher-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+"\n                                        "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                        "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-cwr-import-autocomplete-source-publisher-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                        "+t._s(n.alvId)+"\n                                    ")])],1)]}}],null,!1,1367400296)})],1)],1):t._e(),t.isMappingImport?a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{field:"ImportSelectedMapping",label:t.$t("lang_GENERIC_CAPTION_ABBREVIATION"),items:t.mappingAbbreviations,context:t.context,rules:t.isMappingImport?"required":"",clearable:!1,alvqa:t.alvqa+"-mapping-import-dropdown-select-abbreviation",withMargin:!1}})],1)],1):t._e(),a("v-row",{attrs:{justify:"center"}},[a("v-col",{attrs:{cols:"12"}},[a("v-text-field",{attrs:{label:t.$t("lang_GENERAL_CAPTION_ADD_TAG"),alvqa:t.alvqa+"-list-import-dialog-textfield-tags"},model:{value:t.tagsForImport,callback:function(e){t.tagsForImport=e},expression:"tagsForImport"}})],1)],1)]},proxy:!0}])}),a("GemaSoundfileDialog"),a("WorksRegistrationDialog"),a("WorksBulkEditingDialog"),a("ManageTagsDialog",{attrs:{context:"Works",dir:"publishing/works",idAttributeName:"workIds"}}),a("TestCalculationGemaDialog"),a("TestCalculationSvdDialog"),a("TestCalculationC3Dialog"),a("ExportWorksDialog"),a("NoSharesDialog"),a("YearOfExpirationDialog"),a("DistributionSearchDialog"),a("ConfirmationDialog"),a("SearchDialog",{attrs:{context:t.context,searchcontext:"ContractsFor"+t.context,subcontext:"Contracts",addcontext:"ContractsTo"+t.context,addButtonLabel:"lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_BUTTON_ADD_WORKS",dialogTitle:"lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_TITLE",alvqaContext:t.alvqa+"-list"},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n\t\t\t\t"+t._s(a.title)+" ("+t._s(a.alvId)+")\n\t\t\t")]}},{key:"itemSubtitle",fn:function(e){var a=e.item;return[t._v("\n\t\t\t\t"+t._s(a.licensor.gemaName)+"\n\t\t\t")]}}])}),a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_CAPTION_WORKS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("DropdownFilter",{attrs:{context:t.context+"QualityFilter",label:"lang_PUBLISHING_WORKS_FILTER_CAPTION_QUALITY",items:t.qualityItems,alvqa:t.alvqa+"-list-dropdown-quality",additionalFunction:t.showAdditionalDialogs}})],1),a("v-col",{attrs:{cols:"3"}},[a("DropdownFilter",{attrs:{context:t.context+"StatusFilter",label:"lang_PUBLISHING_WORKS_FILTER_CAPTION_STATUS",items:t.statusItems,alvqa:t.alvqa+"-list-dropdown-status"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(t){var e=t.items;return[a("WorksTopSlot",{attrs:{totalItems:e}})]}},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"caption text-center",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-status-type"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.getWorksType(n))+"\n\t\t\t\t\t\t")]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.title,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-work-title"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.composers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-composers"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.publishers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-publishers"}})],1),a("td",{staticClass:"ellipsis text-right"},[a("BaseTooltip",{attrs:{simpleText:n.item.gemaNumber,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-work-id"}})],1),t.cwrSubmitterCode&&t.spotifySetting?a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-alvid"}},[a("a",{attrs:{href:t.spotifyUrl+t.cwrSubmitterCode+n.item.alvId,target:"_blank"}},[t._v(t._s(n.item.alvId))])]):a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-alvid"}},[t._v(t._s(n.item.alvId))])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("WorkReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},gn=[],pn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-data-table",{attrs:{id:"listPage",headers:t.headers,"fixed-header":!0,items:t.listItems,"item-key":t.itemKey,"no-data-text":t.noDataText,"loading-text":t.loadingText,"no-results-text":t.loadingText,loading:t.isLoading,"hide-default-footer":"",page:t.currentPage,"items-per-page":t.itemsPerPage,"server-items-length":t.totalRecords,options:t.options,"show-expand":t.showExpand,expanded:t.expandedStoreItems},on:{"update:page":function(e){t.currentPage=e},"update:options":[function(e){t.options=e},t.updatePagingSortingOptions]},scopedSlots:t._u([{key:"top",fn:function(){return[a("div",{staticClass:"pb-3",staticStyle:{"background-color":"var(--v-listPageTopSlot-base)"}},[t._t("topSlot",null,{items:t.listItems.length})],2)]},proxy:!0},{key:"header.data-table-select",fn:function(){return[a("v-checkbox",{staticClass:"pt-0 mt-0",attrs:{alvqa:t.alvqa+"-list-checkbox-all-select",color:"generalCheckbox","hide-details":""},on:{click:function(e){return t.selectAll()}},model:{value:t.isAllSelected,callback:function(e){t.isAllSelected=e},expression:"isAllSelected"}})]},proxy:!0},{key:"expanded-item",fn:function(e){var n=e.item;return["0"!==t.readOnlyGhostTdSpan?a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.readOnlyGhostTdSpan}}):t._e(),a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.headers.length-t.readOnlyGhostTdSpan}},[t._t("expandSlot",null,{id:n.id})],2)]}},{key:"item",fn:function(e){var n=e.item,i=e.isExpanded;return[a("tr",{key:n.id,style:{background:t.checkForFavourites(n)?"var(--v-listPageFavouritesBackground-base)":""},on:{click:function(e){return t.expandItemByClick(n)}}},[t.headers.some((function(t){return"data-table-select"===t.value}))?a("td",[a("v-checkbox",{staticClass:"pt-0 mt-0",attrs:{color:"generalCheckbox",value:n.alvId,alvqa:t.alvqa+"-list-row-"+n.alvId+"-checkbox","hide-details":""},on:{click:function(e){return e.stopPropagation(),t.selectSingle(n.alvId)}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1):t._e(),t._t("body",null,{item:{item:n,isExpanded:i}}),t.headers.some((function(t){return"ghost"===t.value}))?a("td"):t._e(),t.headers.some((function(t){return"editForm"===t.value}))?a("td",{staticClass:"text-right",on:{click:[function(e){return t.trackMixpanel(n,"Edit")},function(t){return t.stopPropagation(),function(){}.apply(null,arguments)}]}},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-icon-edit",icon:"edit",tooltipText:t.editIconTooltipText(n),color:t.editIconColor(n),to:t.editIconAction(n)}})],1):t._e(),t.headers.some((function(t){return"downloadLink"===t.value}))?a("td",{staticClass:"text-right",on:{click:function(e){return t.trackMixpanel(n,"Download")}}},[null!==n.path?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",alvqa:t.alvqa+"-list-row-"+n.alvId+"-icon-download"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.path)}}}):t._e()],1):t._e(),t.headers.some((function(t){return"inlineEdit"===t.value}))?a("td",{staticClass:"text-right"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})],1):t._e()],2)]}},{key:"no-data",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-no-data-text"}},[t._v(t._s(t.noDataText))])]},proxy:!0}],null,!0)}),t.pages()>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.pages(),color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()],1)},vn=[],_n=(a("c5f6"),a("46db")),hn=a.n(_n),mn={name:"BaseDataTableList",extends:hn.a,props:{headers:{required:!0,type:Array,default:[]},context:{required:!0,type:String,default:""},itemKey:{type:String},showExpand:{type:Boolean,default:!0},groupBy:{type:String|Array},readOnlyGhostTdSpan:{type:String,default:"0"},alvqa:{type:String,default:""},editInlineFunction:Function,differentItemsPerPage:{default:null,type:Number},hasServerSideSorting:{type:Boolean,default:!1}},components:{BaseButton:wt,BaseIcon:N},computed:{listItems:function(){var t=this.$store.getters["get"+this.context];return void 0===t&&(t=[]),t},itemsPerPage:function(){return null!==this.differentItemsPerPage?this.differentItemsPerPage:this.$store.getters.getItemsPerPage},isLoading:function(){return this.$store.getters.getIsLoading},loadingText:function(){return this.$t("lang_GENERAL_LOADING_DATATABLE")},noDataText:function(){return this.$t(this.$store.getters.getNoDataText)},listedItems:function(){return this.$store.getters.getTotalListed},totalRecords:function(){return this.$store.getters.getTotalRecords},options:{get:function(){return this.hasServerSideSorting?this.$store.getters["get"+this.context+"ServerSideSortingOptions"]:{}},set:function(t){this.hasServerSideSorting&&this.$store.commit("set"+this.context+"ServerSideSortingOptions",t)}},currentPage:{get:function(){return this.$store.getters.getCurrentPage},set:function(t){this.$store.commit("setCurrentPage",t)}},isAllSelected:{get:function(){return this.$store.getters["getIsAllSelected"+this.context]},set:function(t){this.$store.commit("setIsAllSelected"+this.context,t)}},selected:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$store.commit("setSelected"+this.context,t)}},expandedStoreItems:{get:function(){return this.$store.getters["getExpanded"+this.context]},set:function(t){this.$store.commit("setExpanded"+this.context,t)}}},methods:{pages:function(){return null==this.itemsPerPage||null==this.listItems.length?0:Math.ceil(this.listedItems/this.itemsPerPage)},editIconAction:function(t){if(void 0===t.editable||null===t.editable||t.editable)return{name:this.context+"Edit",params:{alvId:t.alvId}}},editIconColor:function(t){return void 0===t.editable||null===t.editable||t.editable?"buttonStandard":"#D0D0D0"},editIconTooltipText:function(t){return void 0===t.editable||null===t.editable||t.editable?"lang_GENERAL_CAPTION_ICON_EDIT":"lang_GENERAL_CAPTION_ICON_NOT_EDITABLE"},expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!0!==this.showExpand){t.next=8;break}for(a=!1,n=0;n<this.expandedStoreItems.length;n++)this.expandedStoreItems[n]["id"]===e.id&&(this.expandedStoreItems.splice(n,1),a=!0);if(a){t.next=8;break}return this.$store.commit("setIsLoading",!0),t.next=7,this.$store.dispatch("fetch"+this.context+"Details",e.alvId);case 7:this.expandedStoreItems=this.$store.getters["get"+this.context+"Details"];case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),selectAll:function(){var t=this;this.selected=[],this.isAllSelected&&this.listItems.forEach((function(e){t.selected.push(e["alvId"])}))},selectSingle:function(){this.selected.length===this.listItems.length?this.isAllSelected=!0:this.isAllSelected=!1},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetch"+this.context);case 2:this.$vuetify.goTo("#listPage");case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),checkForFavourites:function(t){return!!t.hasOwnProperty("favourites")&&"yes"===t.favourites},downloadFile:function(t){k$.getFileFromALV(t)},updatePagingSortingOptions:function(){this.hasServerSideSorting&&this.$store.dispatch("fetch"+this.context)},trackMixpanel:function(t,e){void 0!=t&&mixpanel.track(e,{entityIds:t.alvId,routePath:this.$route.path,userId:this.$store.getters.getUser.id})}},created:function(){this.hasServerSideSorting||this.$store.dispatch("fetch"+this.context)}},fn=mn,Sn=(a("a24e"),Object(C["a"])(fn,pn,vn,!1,null,null,null)),En=Sn.exports,In=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{staticClass:"pt-0 pb-0",staticStyle:{"background-color":"var(--v-listPageBackground-base)"},attrs:{fluid:""}},[a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-list-title"}},[t._v("\n                "+t._s(t.$t(t.headline))+"\n            ")])],1),a("v-row",{staticStyle:{"background-color":"var(--v-listPageFilterBackground-base)"}},[t.showFiltersRow?a("v-col",{attrs:{cols:t.searchCols}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-list-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.filter.apply(null,arguments)}}})],1):t._e(),t._t("filter"),t.showSearchIcon?a("span",{staticClass:"pt-6"},[a("BaseIcon",{attrs:{disabled:t.loadingData,alvqa:t.alvqa+"-list-icon-search",icon:"fa-search",tooltipText:t.searchIconLangConst},on:{click:t.filter}})],1):t._e(),t._t("period")],2),a("v-row",[a("v-col",{staticStyle:{"background-color":"var(--v-listPageListBackground-base)"}},[t._t("dataTable")],2)],1)],1)},Cn=[],An=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-text-field",t._g(t._b({attrs:{label:t.searchLabel,"hide-details":"",clearable:"",loading:t.isLoading,alvqa:t.alvqa},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.iconTooltipText?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.iconTooltipText))])]},proxy:!0}],null,!1,1383732797)}):t._e()]},proxy:!0}]),model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},"v-text-field",t.$attrs,!1),t.$listeners))},Tn=[],bn={name:"SearchFilter",components:{BaseTooltip:T},props:{context:String,iconTooltipText:{type:String,default:""},alvqa:{type:String,default:""}},computed:{searchLabel:function(){return this.$t("lang_GENERIC_CAPTION_SEARCH")},search:{get:function(){return this.$store.getters["get"+this.context+"Search"]},set:function(t){this.$store.commit("set"+this.context+"Search",t)}},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}}},Pn=bn,Dn=Object(C["a"])(Pn,An,Tn,!1,null,null,null),Nn=Dn.exports;function Rn(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function xn(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Rn(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Rn(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var On={name:"BaseListPage",components:{SearchFilter:Nn,BaseIcon:N},data:function(){return{loadingData:!1}},props:{searchIconLangConst:{type:String,default:"lang_GENERAL_CAPTION_START_SEARCH"},headline:{type:String,required:!0},context:String,searchCols:{type:String,default:"3"},showSearchIcon:{type:Boolean,default:!0},showFiltersRow:{type:Boolean,default:!0},alvqa:{type:String,default:""}},computed:{filterMap:function(){return{Works:{search:"getWorksSearch",quality:"getSelectedWorksQualityFilter",status:"getSelectedWorksStatusFilter"},Sheets:{search:"getSheetsSearch",type:"getSelectedSheetsTypeFilter",year:"getSelectedSheetsYearsFilter"},PublishingProjects:{search:"getPublishingProjectsSearch"},Income:{search:"getIncomeSearch",fromQuarter:"getSelectedIncomeFromQuarter",fromYear:"getSelectedIncomeFromYear",toQuarter:"getSelectedIncomeToQuarter",toYear:"getSelectedIncomeToYear"},PublishingStatements:{search:"getPublishingStatementsSearch",period:"getSelectedPeriodYearPublishingStatements","time unit":"getSelectedPeriodTimeUnitPublishingStatements","period number":"getSelectedPeriodNumberPublishingStatements"},PublishingStatistics:{search:"getPublishingStatisticsSearch",fromQuarter:"getSelectedPublishingStatisticsFromQuarter",fromYear:"getSelectedPublishingStatisticsFromYear",toQuarter:"getSelectedPublishingStatisticsToQuarter",toYear:"getSelectedPublishingStatisticsToYear",typeOfRights:"getSelectedPublishingStatisticsTypeOfRights"},Tracks:{search:"getTracksSearch",Labels:"getSelectedTracksLabelsFilter",Quality:"getSelectedTracksQualityFilter"},LabelReleases:{search:"getLabelReleasesSearch",Labels:"getSelectedLabelReleasesLabelsFilter",Quality:"getSelectedLabelReleasesQualityFilter",DigitalDistributionStatus:"getSelectedLabelReleasesDigitalDistributionStatus",Years:"getSelectedLabelReleasesYearsFilter"},LabelProjects:{search:"getLabelProjectsSearch"},SalesData:{search:"getSalesDataSearch"},LabelStatements:{search:"getLabelStatementsSearch",period:"getSelectedPeriodYearLabelStatements","time unit":"getSelectedPeriodTimeUnitLabelStatements","period number":"getSelectedPeriodNumberLabelStatements"},Pricelists:{search:"getPricelistsSearch"},Inventories:{search:"getInventoriesSearch",Warehouses:"getSelectedInventoriesWarehouses",ValueTypes:"getSelectedInventoriesValueTypes",StockToDate:"getInventoriesDetailsStockToDate"},Shipping:{search:"getShippingSearch",PeriodFromFilter:"getSelectedShippingPeriodFromFilter",PeriodToFilter:"getSelectedShippingPeriodToFilter"},Invoices:{search:"getInvoicesSearch",TypeFilter:"getSelectedInvoicesTypeFilter",StatusFilter:"getSelectedInvoicesStatusFilter",PeriodFromFilter:"getSelectedInvoicesPeriodFromFilter",PeriodToFilter:"getSelectedInvoicesPeriodToFilter",PeriodDateFilter:"getSelectedInvoicesPeriodDateFilter"},AzGroups:{search:"getAzGroupsSearch"},AzPersons:{search:"getAzPersonsSearch"},AzDistributors:{search:"getAzDistributorsSearch"},AzSocieties:{search:"getAzSocietiesSearch"},AzLive:{search:"getAzLiveSearch"},PublishingContracts:{search:"getPublishingContractsSearch"},LabelContracts:{search:"getLabelContractsSearch"}}},currentFilters:function(){for(var t={},e=this.filterMap[this.context]||{},a=0,n=Object.entries(e);a<n.length;a++){var i=Object(rt["a"])(n[a],2),s=i[0],r=i[1];t[s]=this.$store.getters[r]}return t}},methods:{filter:function(){var t=this;this.loadingData=!0,this.$store.commit("setCurrentPage",1),this.$store._mutations["setSelected"+this.context]&&this.$store.commit("setSelected"+this.context,[]),this.$store._mutations["setIsAllSelected"+this.context]&&this.$store.commit("setIsAllSelected"+this.context,!1),this.$store._mutations["setExpanded"+this.context]&&this.$store.commit("setExpanded"+this.context,[]),this.$store._mutations["set"+this.context+"Details"]&&this.$store.commit("set"+this.context+"Details",{}),this.$store.dispatch("fetch"+this.context).then((function(){t.loadingData=!1})).catch((function(){t.loadingData=!1})),mixpanel.track("Searched in "+this.context,xn({Page:this.$route.path},this.currentFilters))}}},wn=On,Ln=Object(C["a"])(wn,In,Cn,!1,null,null,null),yn=Ln.exports,qn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Works",alvqa:t.alvqa,cols:"2"}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",cols:"2",alvqa:t.alvqa}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Works",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{cols:"2","align-self":"end"}},[a("v-menu",{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("BaseButton",t._g({attrs:{label:"lang_PUBLISHING_WORKS_CAPTION_NEW_WORK",block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}},n))]}}])},[a("v-list",t._l(t.addNewWorkItems,(function(e,n){return a("v-list-item",{key:n,on:{click:function(a){return t.createNewWork(e)}}},[a("v-list-item-title",{attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])],1)})),1)],1)],1)],1)},kn=[],Bn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-col",{attrs:{cols:t.cols}},[a("v-select",{attrs:{items:t.items,label:t.$t("lang_GENERIC_CAPTION_SELECT_ACTION"),"menu-props":"offset-y, offset-overflow","hide-details":"",clearable:"",alvqa:t.alvqa+"-list-action-dropdown","no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE")},on:{input:t.doAction,"click:clear":function(e){return t.resetVal()}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-no-wrap text-truncate",attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1)},$n=[],Gn={name:"ActionDropdown",extends:ce.a,props:{context:String,alvqa:{type:String,default:""},cols:{type:String,default:"3"}},computed:{selected:{get:function(){return this.$store.getters["getSelected"+this.context+"Action"]},set:function(t){this.$store.commit("setSelected"+this.context+"Action",t)}}},methods:{doAction:function(){if(null!==this.selected){var t="Action > "+this.selected.charAt(0).toUpperCase()+this.selected.slice(1),e=this.$store.getters["getSelected"+this.context];mixpanel.track(t,{entityIds:e,routePath:this.$route.path,userId:this.$store.getters.getUser.id}),this.$store._actions["do"+this.context+"Action"]&&this.$store.dispatch("do"+this.context+"Action"),this.$store._mutations["setSelected"+this.context+"Action"]&&"archiveWithForwarded"!==this.selected&&"archiveWithoutForwarded"!==this.selected&&this.$store.commit("setSelected"+this.context+"Action",[])}},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Fn=Gn,Un=Object(C["a"])(Fn,Bn,$n,!1,null,null,null),Mn=Un.exports,Wn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-col",{attrs:{cols:t.cols}},[a("v-select",{attrs:{items:t.items,label:t.$t("lang_GENERIC_CAPTION_IMPORT"),"menu-props":"offset-y, offset-overflow",outlined:!0,hideDetails:!0,alvqa:t.alvqa+"-list-import-dropdown","no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE")},on:{input:t.run,change:function(e){return t.additionalFunction(t.selected)},"click:clear":function(e){return t.resetVal()}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-no-wrap text-truncate",attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1)},jn=[],zn={name:"ImportButton",extends:ce.a,props:{cols:{type:String|Number,default:"3"},alvqa:{type:String,default:""},additionalFunction:{type:Function,default:function(){}},context:String,returnObject:{type:Boolean,default:!1}},computed:{selected:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$props.returnObject?this.$store.commit("setSelected"+this.context,this.items.find((function(e){return e.value===t}))):this.$store.commit("setSelected"+this.context,t)}}},methods:{run:function(){var t;if("/label/salesdata"===this.$route.path){var e=this.$store.getters.getSelectedFileImport,a=this.$store.getters.getSalesDataImportOptions,n=a.find((function(t){return t.value===e}));t=n?n.text:"Unknown"}else t=this.$props.returnObject?this.selected?this.selected.text:"svd":this.selected;var i="Import > "+t.charAt(0).toUpperCase()+t.slice(1);mixpanel.track(i,{routePath:this.$route.path,userId:this.$store.getters.getUser.id}),this.$store.dispatch("do"+this.context)},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Hn=zn,Vn=Object(C["a"])(Hn,Wn,jn,!1,null,null,null),Yn=Vn.exports,Kn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",staticStyle:{"line-height":"1.2 !important"},attrs:{alvqa:t.alvqa+"-header-stats"}},[t._v("\n                "+t._s(t.generateStatsText)+"\n        ")])]},proxy:!0},{key:"text",fn:function(){return[t._v("\n        "+t._s(t.generateStatsText)+"\n    ")]},proxy:!0}])})},Zn=[],Xn={name:"BaseHeaderStats",components:{BaseTooltip:T},props:{context:String,typeStats:{type:String,default:"LIST"},alvqa:{type:String,default:""},useContextForTotal:{type:String,default:""},specificSelected:{type:Number,default:null}},computed:{selected:function(){return this.$store.getters["getSelected"+this.context].length},listedRecords:function(){return""!==this.useContextForTotal?this.$store.getters["getTotalListed"+this.useContextForTotal]:this.$store.getters.getTotalListed},totalRecords:function(){return""!==this.useContextForTotal?this.$store.getters["getTotalRecords"+this.useContextForTotal]:this.$store.getters.getTotalRecords},getLangConst:function(){return this.$t("lang_HEADER_STATS_"+this.typeStats+"_TEXT")},generateStatsText:function(){var t=this.getLangConst;return t=t.replace("<selected>",null!==this.specificSelected?this.$n(this.specificSelected,"numberInteger"):this.$n(this.selected,"numberInteger")),t=t.replace("<results>",this.$n(this.listedRecords,"numberInteger")),t=t.replace("<total>",this.$n(this.totalRecords,"numberInteger")),t}}},Jn=Xn,Qn=Object(C["a"])(Jn,Kn,Zn,!1,null,null,null),ti=Qn.exports,ei={name:"WorksTopSlot",components:{ActionDropdown:Mn,ImportButton:Yn,BaseHeaderStats:ti,BaseButton:wt},data:function(){return{alvqa:"publishing-works"}},computed:{actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_EXPORT"),value:"exportWorks",alvqa:this.alvqa+"-list-action-dropdown-export-all"},{text:this.$t("lang_GENERIC_CAPTION_COPY"),value:"copy",alvqa:this.alvqa+"-list-action-dropdown-copy"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_GEMA"),value:"testCalculationGema",alvqa:this.alvqa+"-list-action-dropdown-test-calculation-gema"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_SVD"),value:"testCalculationSvd",alvqa:this.alvqa+"-list-action-dropdown-test-calculation-svd"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_C3"),value:"testCalculationC3",alvqa:this.alvqa+"-list-action-dropdown-test-calculation-c3"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_ADD_CONTRACT"),value:"addContract",alvqa:this.alvqa+"-list-action-dropdown-add-contract"},{text:this.$t("lang_ACCOUNT_CREDENTIALS_TYPE_OPTION_GEMA_SOUNDFILE_API"),value:"gemaSoundfile",alvqa:this.alvqa+"-list-action-dropdown-gema-soundfile"},{text:this.$t("lang_GENERIC_CAPTION_MANAGE_TAGS"),value:"replaceTags",alvqa:this.alvqa+"-list-action-dropdown-manage-tags"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_WORKS_REGISTRATION"),value:"worksRegistration",alvqa:this.alvqa+"-list-action-dropdown-works-registration"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_OPTION_WORKS_BULK_EDITING"),value:"worksBulkEditing",alvqa:this.alvqa+"-list-action-dropdown-works-bulk-editing"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]},importOptions:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_BUTTON_OPTION_GEMA_XML"),value:"gemaXml",alvqa:this.alvqa+"-list-import-dropdown-gema-xml"},{text:this.$t("lang_PUBLISHING_WORKS_BUTTON_OPTION_GEMA_IWA_XML"),value:"iwaXml",alvqa:this.alvqa+"-list-import-dropdown-gema-iwa-xml"},{text:this.$t("lang_PUBLISHING_WORKS_BUTTON_OPTION_ALV_TEMPLATE"),value:"alvExcelTemplateWorks",alvqa:this.alvqa+"-list-import-dropdown-alv-excel-template"},{text:this.$t("lang_ACCOUNT_MAPPINGS"),value:"mappingImport",alvqa:this.alvqa+"-list-import-dropdown-mapping-import"},{text:this.$t("lang_PUBLISHING_INCOME_BUTTON_OPTION_SUISA"),value:"suisaWorks",alvqa:this.alvqa+"-list-import-dropdown-suisa-works"},{text:this.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_CAPTION_TYPE_CWR"),value:"cwr",alvqa:this.alvqa+"-list-import-dropdown-cwr"}]},addNewWorkItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_GHOST"),value:"ghost",alvqa:this.alvqa+"-list-button-new-dropdown-ghost"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TO_BE_REGISTERED"),value:"toBeRegistered",alvqa:this.alvqa+"-list-button-new-dropdown-to-be-registered"}]}},methods:{openExportAllWorksDialog:function(){this.$store.commit("setExportAllWorks",!0),this.$store.commit("setShowExportWorksDialog",!0)},openBulkEditingAllWorksDialog:function(){this.$store.commit("setBulkEditingAllWorks",!0),this.$store.commit("setShowWorksBulkEditingDialog",!0),this.$store.dispatch("fetchWorkSubpublishers"),this.$store.dispatch("doWorksAction")},createNewWork:function(t){this.$store.commit("setCreateNewWorkStatus",t.value),this.$router.push({name:"WorksEdit",params:{alvId:"new"}});var e=t.value,a="Clicked ".concat(e);mixpanel.track(a,{Name:t.value,context:this.$route?this.$route.name:"unknown",routePath:this.$route.path})}}},ai=ei,ni=Object(C["a"])(ai,qn,kn,!1,null,null,null),ii=ni.exports,si=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{headers:t.originalSharesHeaders,"hide-default-footer":"",items:null===t.item.originalInterestedParties[t.getShareType.value]?[]:t.item.originalInterestedParties[t.getShareType.value],"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-container",{staticClass:"ml-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"}},[a("v-row",[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-headline-original-shares"}},[t._v("\n                                "+t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_ORIGINAL_SHARES"))+"\n                                "),t._l(t.percentages,(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:e.value===t.getShareType.value?"selectedChip":"standard"},on:{click:function(a){return t.changePercentages(e)}}},[a("div",{attrs:{alvqa:t.alvqa+"-original-shares-percentage-chip-"+e.value}},[t._v(t._s(e.text))])])}))],2)],1)],1)]},proxy:!0},t._l(t.originalSharesHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getAzEntityName(n),alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-name"}})],1):t._e(),"E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{staticClass:"ellipsis subtitleGray--text"},[a("BaseTooltip",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-ipi"},scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{staticClass:"subtitleGray--text"},[t._v("\n                                    "+t._s(n.ipi&&n.ipi+" | ")+" "),a("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(n.azEntity.alvId)}},[t._v(t._s(n.azEntity.alvId))])],1)]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                                "+t._s(n.ipi&&n.ipi+" | ")+" "+t._s(n.azEntity.alvId)+" \n                            ")]},proxy:!0}],null,!0)})],1):t._e()]}},{key:"item.pwr",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-pwr"}},[t._v("\n                        "+t._s(t.getPwrCommaSeparated(n.pwr))+"\n                    ")]):t._e()]}},{key:"item.pmr",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-pmr"}},[t._v("\n                        "+t._s(t.showPmr(n.pmr))+"\n                    ")]):t._e()]}},{key:"item.role",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-role"}},[t._v("\n                        "+t._s(n.role)+"\n                    ")]):t._e()]}},{key:"item.ctrl",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-ctrl"}},[t._v("\n                        "+t._s(!0===n.ctrl?t.$t("lang_GENERAL_YES"):t.$t("lang_GENERAL_NO"))+" \n                        ")]):t._e()]}},{key:"item.info",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",[t._v("\n                        "+t._s(t.getInfoCol(n))+"\n                    ")]):t._e()]}},{key:"item.societyPrMr",fn:function(e){var n=e.item;return["E"!=n.role&&"SE"!=n.role||"manu"!=t.getShareType.value?a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.showSocietyNames(n.prSociety,n.mrSociety),alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-society-pr-mr"}})],1):t._e()]}},{key:"item.prPercent",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-percent-"+t.getShareType.value+"-pr"}},[t._v("\n                        "+t._s(t.$alvPlugin.getNumberLocalization(n.prPercent,"number"))+"\n                    ")])]}},{key:"item.mrPercent",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-percent-"+t.getShareType.value+"-mr"}},[t._v("\n                        "+t._s(t.$alvPlugin.getNumberLocalization(n.mrPercent,"number"))+"\n                    ")])]}}],null,!0)},[t.showSumRow?a("template",{slot:"body.append"},[a("tr",[a("td"),a("td"),a("td"),a("td"),a("td"),a("td"),a("td",{staticClass:"data-table-sum-row",attrs:{align:"left",alvqa:t.alvqa+"-sum-row-text-sum"}},[t._v("\n                            "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+"\n                        ")]),a("td",{staticClass:"data-table-sum-row",attrs:{align:"right",alvqa:t.alvqa+"-sum-row-pr-col"}},[0===t.item.originalInterestedParties[t.getShareType.value].length||null===t.sumField("prPercent")?a("div",[t._v("\n                                "+t._s(t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                            ")]):"100.00"!==t.sumField("prPercent")?a("div",{attrs:{id:"not100"}},[t._v("\n                                "+t._s(t.$n(t.sumField("prPercent"),"number"))+"\n                            ")]):a("div",[t._v("\n                                "+t._s(t.$n(t.sumField("prPercent"),"number"))+"\n                            ")])]),a("td",{staticClass:"data-table-sum-row",attrs:{align:"right",alvqa:t.alvqa+"-sum-row-mr-col"}},[0===t.item.originalInterestedParties[t.getShareType.value].length||null===t.sumField("mrPercent")?a("div",[t._v("\n                                "+t._s(t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                            ")]):"100.00"!==t.sumField("mrPercent")?a("div",{attrs:{id:"not100"}},[t._v("\n                                "+t._s(t.$n(t.sumField("mrPercent"),"number"))+"\n                            ")]):a("div",[t._v("\n                                "+t._s(t.$n(t.sumField("mrPercent"),"number"))+"\n                            ")])])])]):t._e()],2)],1)],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.type?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v(t._s(t.getType(t.item.type)))])]):t._e(),null!==t.item.freeRoleSplitMusic?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-free-rolesplit"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_FREE_ROLESPLIT"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-free-rolesplit"}},[t._v(t._s(t.$n(t.item.freeRoleSplitMusic))+" / "+t._s(t.$n(t.calculateFreeRoleSplitText(t.item.freeRoleSplitMusic))))])]):t._e(),null!==t.item.status?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-status"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-status"}},[t._v(t._s(t.$t(t.$alvPlugin.getStatus(t.item.status))))])]):t._e(),null!==t.item.registrationId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-registration-id"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_REGISTRATION_ID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-registration-id"}},[t._v(t._s(t.item.registrationId))])]):t._e(),null!==t.item.registrationDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-registrationDate"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_SUBMISSION_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-registrationDate"}},[t._v(t._s(t.$d(new Date(t.item.registrationDate),"alvDateFormat")))])]):t._e(),null!==t.item.lastUpdated?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-last-updated"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_LAST_UPDATED"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-last-updated"}},[t._v(t._s(t.$d(new Date(t.item.lastUpdated),"alvDateFormat")))])]):t._e(),null!==t.item.notificationDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notification-date"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTIFICATION_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notification-date"}},[t._v(t._s(t.$d(new Date(t.item.notificationDate),"alvDateFormat")))])]):t._e()])],1)],1),null!==t.item.tags?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v(t._s(t.item.tags))])])],1)],1):t._e(),null!==t.item.isrc||null!==t.item.linkedTracksReleases.tracks||null!==t.item.linkedTracksReleases.trackAlbums?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.linkedTracksReleases.tracks||null!==t.item.linkedTracksReleases.trackAlbums?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-linked-tracks-releases"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_LINKED_TRACKS_RELEASES"))+":")]),a("v-list",{attrs:{dense:""}},t._l(t.item.linkedTracksReleases.tracks,(function(e,n){return a("v-list-item",{key:n},[a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-linked-tracks-releases-track-info"}},[a("span",[t._v(t._s(e.track_name)+" "+t._s(null!==e.isrc&&""!==e.isrc?"("+e.isrc+")":"")+" ")]),a("div",[a("router-link",{attrs:{to:"/label/tracks/"+e.alvId}},[t._v(t._s(e.alvId))])],1)]),t._l(t.item.linkedTracksReleases.trackAlbums[n],(function(e,n){return a("v-list-item-subtitle",{key:n,attrs:{alvqa:t.alvqa+"-linked-tracks-releases-release-info"}},[a("span",[t._v(t._s(t.$t("lang_LABEL_RELEASES"))+": "+t._s(e.vo_name)+" ("+t._s(e.katalog_nr)+")")]),a("div",[a("router-link",{attrs:{to:"/label/releases/"+e.alvId}},[t._v(t._s(e.alvId))])],1)])}))],2)],1)})),1)],1):t._e(),null!==t.item.isrc?a("span",[null!==t.item.isrc.manual?a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-isrc"}},[t._v(t._s(t.$t("lang_CAPTION_ADDED_MANUALLY_ISRC"))+":")]):t._e(),null!==t.item.isrc.manual?a("div",{attrs:{alvqa:t.alvqa+"-isrc"}},[t._v(t._s(t.item.isrc.manual))]):t._e()]):t._e()])],1)],1):t._e(),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.language?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-language"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_LANGUAGE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-language"}},[t._v(t._s(t.getLanguage(t.item.language)))])]):t._e(),null!==t.item.style?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-style"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_STYLE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-style"}},[t._v(t._s(t.item.style))])]):t._e(),null!==t.item.iswc?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-iswc"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ISWC"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-iswc"}},[t._v(t._s(t.item.iswc))])]):t._e(),null!==t.item.duration&&"00:00"!==t.item.duration&&""!==t.item.duration?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-duration"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_DURATION"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-duration"}},[t._v(t._s(t.item.duration))])]):t._e(),null!==t.item.leadingPublisher?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-leading-publisher"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORK_LEADING_PUBLISHER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-leading-publisher"}},[t._v(t._s(t.getLeadingPublisher(t.item.leadingPublisher)))])]):t._e(),null!==t.item.workPoints?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-work-points"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_POINTS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-work-points"}},[t._v(t._s(t.item.workPoints))])]):t._e(),null!==t.item.backCollection?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-back-collection"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_BACK_COLLECTION"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-back-collection"}},[t._v(t._s(t.$t(t.getBackCollection(t.item.backCollection))))])]):t._e(),null!==t.item.oldMrSplit?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-old-mr-split"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_OLD_MR_SPLIT"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-old-mr-split"}},[t._v(t._s(t.$t(t.getOldMrSplit(t.item.oldMrSplit))))])]):t._e(),null!==t.item.catalogueNumber?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-catalogue-number"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_CATALOGUE_NUMBER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-catalogue-number"}},[t._v(t._s(t.item.catalogueNumber))])]):t._e()])],1)],1),null!==t.item.notes?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"}},[t._v(t._s(t.item.notes))])])],1)],1):t._e(),null!==t.item.contracts||t.item.subCatalogues.length>0?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.contracts?a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-contracts"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_CONTRACTS"))+":")]):t._e(),t._l(t.item.contracts,(function(e){return a("div",{key:e.alvId,attrs:{alvqa:t.alvqa+"-contract-"+e.alvId}},[t._v(t._s(e.title)+"\n\n                    "),e.notInOriginalShares.missing||e.notInSocietyShares.missing?a("span",{staticClass:"pr-1 pt-1"},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(e.licensor.name+t.$t("lang_GENERIC_MESSAGE_WAS_NOT_FOUND_IN")+t.getContractTooltipText(e)))])]},proxy:!0}],null,!0)})],1):t._e(),a("br"),a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{staticClass:"subtitleGray--text"},[a("router-link",{attrs:{to:"/contracts/publishing/"+e.alvId}},[t._v(t._s(e.alvId))])],1)]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                                "+t._s(e.contractType)+" | "+t._s(e.licensor.alvId)+" "+t._s(t.getContractDate(e.contractDate))+"\n                            ")]},proxy:!0}],null,!0)}),a("br")],1)})),t.item.subCatalogues.length>0?a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-subcatalogues"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_SUBCATALOGUES"))+":")]):t._e(),t._l(t.item.subCatalogues,(function(e){return a("div",{key:e.alvId,attrs:{alvqa:t.alvqa+"-subcatalogue-"+e.alvId}},[t._v(t._s(e.licensor.gemaName)),a("br"),a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{staticClass:"subtitleGray--text"},[a("router-link",{attrs:{to:"/contracts/publishing/"+e.contractId}},[t._v(t._s(e.alvId))]),t._v("\n                                     of\n                                    "),a("router-link",{attrs:{to:"/contracts/publishing/"+e.contractId}},[t._v(t._s(e.contractId))])],1)]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                                "+t._s(e.mainContract.contractType)+" | \n                                "+t._s(e.mainContract.licensor.gemaName)+" "+t._s(e.mainContract.licensor.alvId)+" | \n                                "+t._s(e.licensor.alvId)+"\n                            ")]},proxy:!0}],null,!0)}),a("br")],1)}))],2)],1)],1):t._e()],1),a("v-row",[null!==t.item.foreignWorkIds?a("v-col",{staticClass:"ml-4 mr-4"},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.foreignWorkIds?a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-foreign-work-ids"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_FOREIGN_WORK_IDS"))+":")]):t._e(),a("div",{attrs:{alvqa:t.alvqa+"-foreign-work-ids"}},[t._v(t._s(t.item.foreignWorkIds))])])],1)],1):t._e()],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[t._l(t.item.workSocieties,(function(e,n,i){return a("WorkSocietySharesPanel",{key:i+"-"+n,attrs:{society:e,societyCode:n,workAlvId:t.item.alvId}})})),a("WorksInstrumentationPanel",{attrs:{workAlvId:t.item.alvId}}),a("WorkOtherTitlesPanel",{attrs:{workAlvId:t.item.alvId}}),a("WorkOtherPersonsPanel",{attrs:{workAlvId:t.item.alvId}}),a("WorkDistributionsPanel",{attrs:{workAlvId:t.item.alvId}}),a("WorkSheetsAndProjectsPanel",{attrs:{workAlvId:t.item.alvId}})],2)],1)],1)],1)},ri=[],li=(a("ac4d"),a("8a81"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.getPanelHeadline,alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",{staticClass:"read-only"},[t._v("Werk-ID: "+t._s(t.getSocietyMetadataWorkId)+" | Status: "+t._s(t.getSocietyMetadataWorkStatus))])])],1)],1)],1),a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.society.parties,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.name+" ("+t.$alvPlugin.getRolePosition(n.role,n.position)+")",alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-name"}})],1),a("div",{staticClass:"ellipsis subtitleGray--text"},["string"==typeof n.azEntity.alvId?a("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(n.azEntity.alvId)}},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getIpiAlvIdForInterestedParty(n),alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-ipi"}})],1):t._e()],1)]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-role"}},[t._v("\n                    "+t._s(n.role)+"\n                ")])]}},{key:"item.ctrl",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-ctrl"}},[t._v("\n                    "+t._s(!0===n.ctrl?t.$t("lang_GENERAL_YES"):t.$t("lang_GENERAL_NO"))+" \n                    ")])]}},{key:"item.uvz",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-uvz"}},[t._v("\n                    "+t._s(t.getUvzCommaSeparated(n.uvz))+"\n                ")])]}},{key:"item.societyPrMr",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.showSocietyNames(n.societyPr,n.societyMr),alvqa:t.alvqa+"-list-row-"+n.id+"-"+n.role+"-text-society-pr-mr"}})],1)]}},{key:"item.percentPr",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-percent-ar"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.percentPr,"number"))+"\n                ")])]}},{key:"item.percentMr",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-percent-mr"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.percentMr,"number"))+"\n                ")])]}}],null,!0)},[a("template",{slot:"body.append"},[a("tr",[a("td"),a("td"),a("td"),a("td"),a("td",{staticClass:"data-table-sum-row",attrs:{align:"left"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SUM")))]),0===t.society.parties.length||null===t.sumField("percentPr")?a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")))])]):"100.00"!==t.sumField("percentPr")?a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",{attrs:{id:"not100"}},[t._v(t._s(t.$n(t.sumField("percentPr"),"number")))])]):a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",[t._v(t._s(t.$n(t.sumField("percentPr"),"number")))])]),0===t.society.parties.length||null===t.sumField("percentMr")?a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")))])]):"100.00"!==t.sumField("percentMr")?a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",{attrs:{id:"not100"}},[t._v(t._s(t.$n(t.sumField("percentMr"),"number")))])]):a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[a("div",[t._v(t._s(t.$n(t.sumField("percentMr"),"number")))])])])])],2)]},proxy:!0}])})}),oi=[],ci=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-expansion-panel",{staticClass:"mb-2",attrs:{alvqa:t.alvqa}},[a("v-expansion-panel-header",{attrs:{color:"panelHeaderBackground"},on:{click:t.functionsOnClickEvent}},[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(t.$alvPlugin.isLangConst(t.headline)?t.$t(t.headline):t.headline)+"\n        ")])]),a("v-expansion-panel-content",{attrs:{color:"panelContentBackground"}},[a("v-container",{attrs:{fluid:""}},[t._t("panelContent")],2)],1)],1)},ui=[],di={name:"BasePanel",props:{headline:String,alvqa:{type:String,default:""},onOpenPanel:{type:Function,default:function(){}}},methods:{onExpandPanel:function(){this.$emit("clickOnPanel")},functionsOnClickEvent:function(){this.onExpandPanel(),this.onOpenPanel()}}},gi=di,pi=Object(C["a"])(gi,ci,ui,!1,null,null,null),vi=pi.exports,_i={name:"WorkSocietySharesPanel",components:{BasePanel:vi,BaseTooltip:T},props:{societyCode:String,society:Object,workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-"+this.societyCode+"-society-shares"}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTY"),value:"name",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-interested-party"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_ROLE"),value:"role",align:"left",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CTRL"),align:"left",value:"ctrl",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-ctrl"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_UVZ"),align:"left",value:"uvz",width:"90px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-uvz"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_PR_MR"),value:"societyPrMr",align:"left",width:"180px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-society-pr-mr"},{text:this.$t("lang_GENERIC_CAPTION_COLL_PERCENT_PR"),value:"percentPr",align:"right",width:"120px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-coll-percent-pr"},{text:this.$t("lang_GENERIC_CAPTION_COLL_PERCENT_MR"),value:"percentMr",align:"right",width:"120px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-coll-percent-mr"}]},getPanelHeadline:function(){return this.$alvPlugin.getSocietyName(parseInt(this.societyCode))+"-"+this.$t("lang_GENERAL_CAPTION_SHARES")},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},getSocietyMetadataWorkId:function(){return null!=this.society.metadata.workId?this.society.metadata.workId:this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")},getSocietyMetadataWorkStatus:function(){if(null!=this.society.metadata.status){if(null!=this.society.metadata.sourceStatus)return this.society.metadata.sourceStatus;var t=this.society.metadata.status,e=ye.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):t}return this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")}},methods:{sumField:function(t){var e=this.society.parties,a=null,n=!0,i=!1,s=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done);n=!0){var o=r.value;null!==o[t]&&(a+=o[t])}}catch(c){i=!0,s=c}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}return null!==a?a.toFixed(2):a},getUvzCommaSeparated:function(t){var e=[];return t.forEach((function(t){t&&e.push(t.role+t.position)})),e.join(", ")},showSocietyNames:function(t,e){var a=this.$alvPlugin.getSocietyName(t),n=this.$alvPlugin.getSocietyName(e);return""==a&&""===n?"":a+" | "+n}}},hi=_i,mi=(a("842f"),Object(C["a"])(hi,li,oi,!1,null,null,null)),fi=mi.exports,Si=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_PUBLISHING_WORKS_CAPTION_INSRUMENTATION"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.item,"hide-default-footer":"","items-per-page":1e3,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-title"}},[t._v("\n                    "+t._s(t.getTitle(n.title))+"\n                ")])]}},{key:"item.instruments",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-instruments"}},[t._v(t._s(n.instruments))])]}},{key:"item.musicians",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-musicians"}},[t._v(t._s(n.musicians))])]}},{key:"item.voices",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-voices"}},[t._v(t._s(n.voices))])]}}],null,!0)})]},proxy:!0}])})},Ei=[],Ii={name:"WorksInstrumentationPanel",components:{BasePanel:vi},props:{workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-instrumentation"}},computed:{item:function(){return this.$store.getters.getWorksInstrumentation},headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_ITEM_TITLE"),align:"left",value:"title",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_INSTRUMENTS"),align:"right",value:"instruments",sortable:!1,alvqa:this.alvqa+"-header-instruments"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_MUSICIANS"),align:"right",value:"musicians",sortable:!1,alvqa:this.alvqa+"-header-musicians"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_VOICES"),align:"right",value:"voices",sortable:!1,alvqa:this.alvqa+"-header-voices"}]}},methods:{getTitle:function(t){var e=this.$store.getters.getInstrumentations[this.$i18n.locale];void 0===e&&(e=this.$store.getters.getInstrumentations["en"]);var a=e.find((function(e){return e.value===t}));return a.text}},created:function(){this.$store.commit("setInstrumentations")}},Ci=Ii,Ai=Object(C["a"])(Ci,Si,Ei,!1,null,null,null),Ti=Ai.exports,bi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_PUBLISHING_WORKS_CAPTION_OTHER_TITLES"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.item,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-type"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},Pi=[],Di={name:"WorkOtherTitlesPanel",components:{BasePanel:vi},props:{workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-other-titles"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedWorks.find((function(e){return e.alvId===t.workAlvId})),a=null===e.alternativeTitles?[]:e.alternativeTitles;return a},headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),align:"left",value:"title",sortable:!1,alvqa:this.alvqa+"-header-work-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),align:"left",value:"type",sortable:!1,alvqa:this.alvqa+"-header-type"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getType:function(t){return Re.find((function(e){return e.value===t})).text}}},Ni=Di,Ri=(a("1afd"),Object(C["a"])(Ni,bi,Pi,!1,null,null,null)),xi=Ri.exports,Oi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_PUBLISHING_WORKS_CAPTION_OTHER_PERSONS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.item,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-name"}},[t._v("\n                    "+t._s(n.name)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},wi=[],Li={name:"WorkOtherPersonsPanel",components:{BasePanel:vi},props:{workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-other-persons"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedWorks.find((function(e){return e.alvId===t.workAlvId})),a=null===e.otherInterestedParties?[]:e.otherInterestedParties;return a},headers:function(){return[{text:this.$t("lang_CAPTION_NAME"),align:"left",value:"name",sortable:!1,alvqa:this.alvqa+"-header-name"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),align:"left",value:"type",sortable:!1,alvqa:this.alvqa+"-header-type"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getType:function(t){return xe.find((function(e){return e.value===t})).text}}},yi=Li,qi=(a("68a3"),Object(C["a"])(yi,Oi,wi,!1,null,null,null)),ki=qi.exports,Bi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DISTRIBUTION",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.item,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.code_name",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-code-name"}},[t._v("\n                    "+t._s(t.getCodeName(n))+"\n                ")])]}},{key:"item.function",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-function"}},[t._v("\n                    "+t._s(t.getFunction(n.function))+"\n                ")])]}},{key:"item.data",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-data"}},[t._v("\n                    "+t._s(n.data)+"\n                ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-status"}},[t._v("\n                    "+t._s(t.getStatus(n.status))+"\n                ")])]}},{key:"item.distribution_time",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-distribution-time"}},[t._v("\n                    "+t._s(t.$d(new Date(n.distribution_time),"alvDateTime"))+"\n                ")])]}},{key:"item.notes",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",[t._v(t._s(t.$t(n.notes)))])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.$t(n.notes)))])]},proxy:!0}],null,!0)})],1)]}},{key:"item.download_path",fn:function(e){var n=e.item;return["download_path"in n&&null!==n.download_path?a("BaseIcon",{staticStyle:{"vertical-align":"middle"},attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-file-distribution"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.download_path)}}}):t._e()]}}],null,!0)})]},proxy:!0}])})},$i=[],Gi={name:"WorkDistributionsPanel",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N},props:{workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-distributions"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedWorks.find((function(e){return e.alvId===t.workAlvId})),a=null===e.distributions?[]:e.distributions;return a},headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_TARGET"),align:"left",value:"code_name",sortable:!1,alvqa:this.alvqa+"-header-target"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_FUNCTION"),align:"left",value:"function",sortable:!1,alvqa:this.alvqa+"-header-function"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DATA"),align:"left",value:"data",sortable:!1,alvqa:this.alvqa+"-header-data"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_STATUS"),align:"left",value:"status",sortable:!1,alvqa:this.alvqa+"-header-status"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DATE"),align:"left",value:"distribution_time",sortable:!1,alvqa:this.alvqa+"-header-date"},{text:this.$t("lang_GENERIC_CAPTION_NOTES"),align:"left",value:"notes",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-notes"},{text:this.$t("lang_DOWNLOAD"),align:"left",value:"download_path",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-download"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getStatus:function(t){switch(t){case"sent":return this.$t("lang_GENERIC_CAPTION_SENT");case"submitted":return this.$t("lang_GENERIC_CAPTION_SUBMITTED");case"registered":return this.$t("lang_GENERIC_CAPTION_REGISTERED");case"rejected":return this.$t("lang_GENERIC_CAPTION_REJECTED");case"error":return this.$t("lang_GENERIC_CAPTION_ERROR");case"success":return this.$t("lang_GENERIC_CAPTION_SUCCESSFUL");case"done":return this.$t("lang_GENERIC_CAPTIONS_DONE");default:return""}},getFunction:function(t){switch(t){case"gema-soundfile":return this.$t("lang_GENERIC_CAPTION_SOUNDFILE");case"work-registration":return this.$t("lang_GENERIC_CAPTION_WORK_REGISTRATION");case"work-import-cwr":return this.$t("lang_GENERIC_CAPTION_MANUAL_IMPORT");default:return""}},getCodeName:function(t){return t.code_name?t.code_name:t.az_name?t.az_name:""},downloadFile:function(t){null!==t&&(k$.getFileFromALV(t),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}))}}},Fi=Gi,Ui=(a("7f07"),Object(C["a"])(Fi,Bi,$i,!1,null,null,null)),Mi=Ui.exports,Wi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_WORKS_SHEETS_AND_PROJECTS_PANEL_CAPTION_SHEETS_AND_PROJECTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.item,"item-key":"index","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),page:t.currentPage,"items-per-page":t.itemsPerPage,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),loading:t.isLoading,"server-items-length":t.totalRecords},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.sheetNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-sheet-number"}},[t._v("\n                    "+t._s(n.sheetNumber)+"\n                ")])]}},{key:"item.workSheetSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-seconds"}},[t._v("\n                    "+t._s(null!==n.workSheetSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSheetSeconds)+" ("+n.workSheetSeconds+")":"")+"\n                ")])]}},{key:"item.workCharacteristic",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-characteristic"}},[t._v("\n                    "+t._s(t.getCharacteristicType(n.workCharacteristic))+"\n                ")])]}},{key:"item.projectTitle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-project-title"}},[t._v("\n                    "+t._s(n.projectTitle)+"\n                ")])]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return e.stopPropagation(),t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},ji=[],zi={name:"WorkSheetsAndProjectsPanel",components:{BasePanel:vi},props:{workAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.workAlvId+"-read-only-panel-sheets-and-projects"}},computed:{item:function(){return this.$store.getters.getWorksSheetsAndProjects},headers:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TITLE"),align:"left",value:"title",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER"),align:"left",value:"sheetNumber",sortable:!1,alvqa:this.alvqa+"-header-sheet-number"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SECONDS"),align:"left",value:"workSheetSeconds",sortable:!1,alvqa:this.alvqa+"-header-work-seconds"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_CHARACTERISTIC"),align:"left",value:"workCharacteristic",sortable:!1,alvqa:this.alvqa+"-header-characteristic"},{text:this.$t("lang_PUBLISHING_PROJECTS_CAPTION_TITLE"),align:"left",value:"projectTitle",sortable:!1,alvqa:this.alvqa+"-header-project-title"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},isLoading:function(){return this.$store.getters.getIsLoading},currentPage:{get:function(){return this.$store.getters.getWorksSheetsAndProjectsCurrentPage},set:function(t){this.$store.commit("setWorksSheetsAndProjectsCurrentPage",t)}},totalRecords:function(){return this.$store.getters.getWorksSheetsAndProjectsTotalRecords},numberOfPages:function(){return this.$store.getters.getWorksSheetsAndProjectsNumberOfPages}},methods:{getCharacteristicType:function(t){if(null!==t){var e=Ue.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""}return""},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchWorksProjectsSheets");case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Hi=zi,Vi=(a("2765"),Object(C["a"])(Hi,Wi,ji,!1,null,null,null)),Yi=Vi.exports,Ki={name:"WorkReadOnly",components:{BaseTooltip:T,BaseButton:wt,WorkSocietySharesPanel:fi,WorkOtherTitlesPanel:xi,WorkOtherPersonsPanel:ki,WorkDistributionsPanel:Mi,WorkSheetsAndProjectsPanel:Yi,WorksInstrumentationPanel:Ti},props:{itemId:{type:Number}},data:function(){return{alvqa:"publishing-works-list-row-"+this.itemId+"-read-only"}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},getShareType:{get:function(){return this.$store.getters.getWorkShareType},set:function(t){this.$store.commit("setWorkShareType",t)}},originalSharesHeaders:function(){var t=[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTY"),value:"name",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-name"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_ROLE"),value:"role",align:"left",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CTRL"),align:"left",value:"ctrl",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-ctrl"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_UVZ"),align:"left",value:"pwr",width:"90px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-pwr"},{text:this.$t("lang_GENERAL_PMR"),value:"pmr",align:"left",width:"90px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-pmr-payable-mr"},{text:"Info",align:"left",value:"info",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-original-shares-header-info"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_PR_MR"),value:"societyPrMr",align:"left",width:"180px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-society-pr-mr"},{text:this.getShareTypePercentageTranslation+" "+this.$t("lang_PUBLISHING_CAPTION_PERFORMING_RIGHTS_ABBREVIATION"),align:"right",value:"prPercent",class:"text-no-wrap",width:"120px",sortable:!1,alvqa:this.alvqa+"-original-shares-header-"+this.getShareType.value+"-pr-percent"},{text:this.getShareTypePercentageTranslation+" "+this.$t("lang_PUBLISHING_CAPTION_MECHANICAL_RIGHTS_ABBREVIATION"),align:"right",value:"mrPercent",class:"text-no-wrap",width:"120px",sortable:!1,alvqa:this.alvqa+"-original-shares-header-"+this.getShareType.value+"-mr-percent"}];return t},item:function(){var t=this,e=this.$store.getters.getExpandedWorks.find((function(e){return e.id===t.itemId})),a=e.originalInterestedParties,n=this.$alvPlugin.sortingOriginalInterestedPartiesByRole(a);return e.originalInterestedParties=n,e.contracts=this.checkContracters(e),e},percentages:function(){return[{text:this.$t("lang_GENERIC_CAPTION_MANU_PERCENT"),value:"manu"},{text:this.$t("lang_GENERIC_CAPTION_ROLE_PERCENT"),value:"role"},{text:this.$t("lang_GENERIC_CAPTION_INTL_PERCENT"),value:"intl"},{text:this.$t("lang_GENERIC_CAPTION_OWN_PERCENT"),value:"own"}]},getShareTypePercentageTranslation:function(){var t=this;return this.percentages.find((function(e){return e.value==t.getShareType.value})).text},showSumRow:function(){return this.getShareType.value in this.item.originalInterestedParties&&!["role","manu"].includes(this.getShareType.value)}},methods:{sumField:function(t){var e=this.item.originalInterestedParties,a=null,n=!0,i=!1,s=void 0;try{for(var r,l=e[this.getShareType.value][Symbol.iterator]();!(n=(r=l.next()).done);n=!0){var o=r.value;null!==o[t]&&(a+=parseFloat(o[t]))}}catch(c){i=!0,s=c}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}return null!==a?a.toFixed(2):0},getAzEntityName:function(t){var e="";return e="ja"===this.$i18n.locale&&null!==t.azEntity.firstName&&null!==t.azEntity.lastName?t.azEntity.lastName+t.azEntity.firstName:t.azEntity.gemaName,e+=" ("+this.$alvPlugin.getRolePosition(t.role,t.position)+")",e},calculateFreeRoleSplitText:function(t){if(null==t||t<35.2||t>80.2)return"_";var e=100-t;return e},getPwrCommaSeparated:function(t){var e=[];return t.forEach((function(t){e.push(t.role+t.position)})),e.join(", ")},showPmr:function(t){return null!==t?t.role+t.position:""},getContractDate:function(t){var e="";return null!==t&&void 0!==t&&""!==t&&(e+=" | "+this.$d(new Date(t),"alvDateFormat")),e},getBackCollection:function(t){return be.find((function(e){return e.value===t})).text},getOldMrSplit:function(t){return $e.find((function(e){return e.value===t})).text},getLeadingPublisher:function(t){var e=this.$store.getters.getLeadingPublishers,a=e.find((function(e){return e.value===t}));return a?a.text:""},getInfoCol:function(t){if(this.item.contracts){var e=this.item.contracts.find((function(e){return e.licensor.alvId===t.azEntity.alvId}));return void 0===e?"":e.contractType}return""},getType:function(t){var e=qe,a=e.find((function(e){return e.value===t}));return void 0===a?"":this.$t(a.text)},getLanguage:function(t){var e=this.$store.getters["getLanguages"+this.$i18n.locale.toUpperCase()];if(e){var a=e.find((function(e){return e.value===t}));return void 0===a?"":a.text.toLowerCase()}},changePercentages:function(t){this.getShareType=t},showSocietyNames:function(t,e){var a=this.$alvPlugin.getSocietyName(t),n=this.$alvPlugin.getSocietyName(e);return""==a&&""===n?"":a+" | "+n},getContractTooltipText:function(t){var e="",a="";if(t.notInOriginalShares.missing){var n=this.getWorkOriginalShareNames(t.notInOriginalShares.inShareTypes);a=this.$t("lang_PUBLISHING_WORKS_CAPTION_ORIGINAL_SHARES")+": ("+n.join(", ")+")"}if(t.notInSocietyShares.missing){var i=this.getWorkSocietyNames(t.notInSocietyShares.inSociety);e=this.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_SHARES")+": ("+i.join(", ")+")"}return a+" "+e},getWorkSocietyNames:function(t){var e=[];if(t){var a=!0,n=!1,i=void 0;try{for(var s,r=t[Symbol.iterator]();!(a=(s=r.next()).done);a=!0){var l=s.value,o=this.$alvPlugin.getSocietyName(parseInt(l));e.push(o)}}catch(c){n=!0,i=c}finally{try{a||null==r.return||r.return()}finally{if(n)throw i}}}return e},getWorkOriginalShareNames:function(t){var e=this,a=[];if(t){var n=!0,i=!1,s=void 0;try{for(var r,l=function(){var t=r.value,n=e.percentages.filter((function(e){return e.value==t}))[0].text;a.push(n)},o=t[Symbol.iterator]();!(n=(r=o.next()).done);n=!0)l()}catch(c){i=!0,s=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw s}}}return a},checkContracters:function(t){var e=t.contracts,a=t.originalInterestedParties,n={},i=t.workSocieties,s={};if(null!==a&&void 0!==a&&Object.keys(a).forEach((function(t){a[t].length&&(n[t]=a[t].map((function(t){return t.azEntity.alvId})))})),null!==i&&void 0!==i&&Object.keys(i).forEach((function(t){i[t].parties.length&&(s[t]=i[t].parties.map((function(t){return t.azEntity.alvId})))})),void 0!==e&&null!==e){var r=!0,l=!1,o=void 0;try{for(var c,u=e[Symbol.iterator]();!(r=(c=u.next()).done);r=!0){var d=c.value;d.notInOriginalShares={missing:!1,inShareTypes:[]},d.notInSocietyShares={missing:!1,inSociety:[]};var g=Object.keys(n);if(g.length){var p=[],v=!0,_=!1,h=void 0;try{for(var m,f=g[Symbol.iterator]();!(v=(m=f.next()).done);v=!0){var S=m.value;"manu"!==S&&(n[S].includes(d.licensor.alvId)||p.push(S))}}catch(N){_=!0,h=N}finally{try{v||null==f.return||f.return()}finally{if(_)throw h}}d.notInOriginalShares={missing:p.length>0,inShareTypes:p}}var E=Object.keys(s);if(E.length){var I=[],C=!0,A=!1,T=void 0;try{for(var b,P=E[Symbol.iterator]();!(C=(b=P.next()).done);C=!0){var D=b.value;s[D].includes(d.licensor.alvId)||I.push(D)}}catch(N){A=!0,T=N}finally{try{C||null==P.return||P.return()}finally{if(A)throw T}}d.notInSocietyShares={missing:I.length>0,inSociety:I}}}}catch(N){l=!0,o=N}finally{try{r||null==u.return||u.return()}finally{if(l)throw o}}}return e}},mounted:function(){this.$store.commit("setCountries"),this.$store.commit("setLanguages"),this.$store.dispatch("fetchWorksProjectsSheets")}},Zi=Ki,Xi=(a("1252"),Object(C["a"])(Zi,si,ri,!1,null,null,null)),Ji=Xi.exports,Qi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isExpanded?a("td",{staticClass:"no_ellipsis text-center"},[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{alvqa:t.alvqa,small:"",color:t.color}},[t._v("fa-arrow-alt-circle-down")])],1):a("td",{staticClass:"no_ellipsis text-center"},[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{alvqa:t.alvqa,small:"",color:t.color}},[t._v("fa-arrow-alt-circle-right")])],1)},ts=[],es={name:"ExpandIcon",props:{isExpanded:Boolean,color:{type:String,default:"buttonStandard"},alvqa:{type:String,default:""}}},as=es,ns=Object(C["a"])(as,Qi,ts,!1,null,null,null),is=ns.exports,ss=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-select",{attrs:{label:t.$t(t.label),items:t.items,clearable:t.clearable,"hide-details":t.hideErrorMessage,"menu-props":"offset-y",alvqa:t.alvqa,multiple:t.multiple,"item-color":"generalCheckbox","item-text":t.itemText,"item-value":t.itemValue,"error-messages":n},on:{"click:clear":function(e){return t.resetVal()},input:function(e){return t.additionalFunction()}},scopedSlots:t._u([t.multiple?null:{key:"item",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:n.alvqa}},[t._v("\n             "+t._s(t.$alvPlugin.isLangConst(n[t.itemText])?t.$t(n[t.itemText]):n[t.itemText])+"\n         ")])]}},{key:"selection",fn:function(e){var n=e.item,i=e.index;return[t.multiple?a("div",[0===i?a("span",{attrs:{alvqa:n.alvqa}},[t._v("\n                 "+t._s(t.$alvPlugin.isLangConst(n[t.itemText])?t.$t(n[t.itemText]):n[t.itemText])+"\n             ")]):t._e(),1===i?a("span",[t._v("(+"+t._s(t.selected.length-1)+" others)")]):t._e()]):a("div",[a("span",{attrs:{alvqa:n.alvqa}},[t._v("\n                 "+t._s(t.$alvPlugin.isLangConst(n[t.itemText])?t.$t(n[t.itemText]):n[t.itemText])+"\n             ")])])]}},t.allSelect?{key:"prepend-item",fn:function(){return[a("v-list-item",{attrs:{ripple:""},on:{click:t.toggle}},[a("v-list-item-action",[a("v-icon",{attrs:{color:"generalCheckbox",alvqa:t.alvqa+"-checkbox-all-select"}},[t._v("\n             "+t._s(t.icon)+"\n           ")])],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-checkbox-all-select-text"}},[t._v("\n             "+t._s(t.$t("lang_GENERAL_CAPTION_SELECT_ALL"))+"\n           ")])],1)],1)]},proxy:!0}:null],null,!0),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})]}}])})},rs=[],ls={name:"DropdownFilter",extends:ce.a,props:{context:String,label:String,items:Array,field:String,defaultValueNull:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},allSelect:{type:Boolean,default:!1},alvqa:{type:String,default:""},itemText:{type:String,default:"text"},itemValue:{type:String,default:"value"},additionalFunction:{type:Function,default:function(){}},rules:{type:[Object,String],default:""},hideErrorMessage:{type:Boolean,default:!0}},computed:{selected:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$store.commit("setSelected"+this.context,t)}},allSelected:function(){var t=this.items;return t.forEach((function(e,a){"header"in e&&t.splice(a,1)})),this.selected.length===t.length},icon:function(){return this.allSelected?"check_box":"check_box_outline_blank"}},methods:{toggle:function(){var t=this;this.$nextTick((function(){t.allSelected?t.selected=[]:(t.selected=[],t.items.forEach((function(e){t.selected.push(e["value"])})))}))},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=this.defaultValueNull?null:[];case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},os=ls,cs=Object(C["a"])(os,ss,rs,!1,null,null,null),us=cs.exports,ds=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showSelectionRequiredDialog,maxDialogWidth:"400",headline:"lang_GENERAL_SELECTION_REQUIRED_DIALOG_TITLE",close:function(){return t.showSelectionRequiredDialog=!1},alvqa:"selection-required-dialog"},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",[a("v-row",[a("v-col",{attrs:{alvqa:"selection-required-dialog-text"}},[t._v(t._s(t.$t(t.selectionRequiredText)))])],1)],1)]},proxy:!0}])})},gs=[],ps={name:"SelectionRequiredDialog",components:{BaseDialog:Pt,BaseButton:wt},computed:{selectionRequiredText:function(){return this.$store.getters.getSelectionRequiredText},showSelectionRequiredDialog:{get:function(){return this.$store.getters.getShowSelectionRequiredDialog},set:function(t){this.$store.commit("setShowSelectionRequiredDialog",t)}}}},vs=ps,_s=Object(C["a"])(vs,ds,gs,!1,null,null,null),hs=_s.exports,ms=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDeletionDialog,maxDialogWidth:"500",maxCardHeight:"500",headline:"lang_GENERAL_DELETION_DIALOG_TITLE_DELETE_ENTRY",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[""!==t.additionalDialogText?a("v-row",[a("v-col",{domProps:{innerHTML:t._s(t.additionalDialogText)}})],1):t._e(),a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERAL_DELETION_DIALOG_TEXT"))),a("br"),t._v("\n                    "+t._s(t.$t("lang_GENERAL_DELETION_DIALOG_WRITE_DELETE"))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-col",[a("v-text-field",{staticClass:"ml-0 mr-0",attrs:{messages:t.$t(t.errorMessage),depressed:"",label:'"delete"',alvqa:t.alvqa+"-textfield-delete",autofocus:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkUserInput()}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:function(e){return t.checkUserInput()}}})],1)],1)],1)]},proxy:!0}])})},fs=[],Ss=(a("f559"),{name:"DeletionDialog",components:{BaseDialog:Pt,BaseButton:wt},props:{context:{default:"",type:String},useContextSetinVuex:{default:!1,type:Boolean},additionalDialogText:{default:"",type:String}},data:function(){return{userInput:"",errorMessage:"",alvqa:"deletion-dialog",defaultContext:this.$store.getters.getDeletionDialogContext}},computed:{showDeletionDialog:{get:function(){return this.$store.getters.getShowDeletionDialog},set:function(t){this.$store.commit("setShowDeletionDialog",t)}},contextSetInVuex:{get:function(){return this.$store.getters.getDeletionDialogContext},set:function(t){this.$store.commit("setDeletionDialogContext",t)}}},methods:{deleteSelectedEntries:function(){var t;t=this.useContextSetinVuex?this.contextSetInVuex:this.context;var e="Delete > "+t,a=this.$store.getters["get"+t];Array.isArray(a)&&a.length&&a.join(", ");mixpanel.track(e,{entityIds:a||[],routePath:this.$route.path,userId:this.$store.getters.getUser.id}),this.$store.dispatch("delete"+t),this.showDeletionDialog=!1,this.userInput="",this.errorMessage="",this.$store._mutations["setIsAll"+t]&&this.$store.commit("setIsAll"+t,!1)},closeDialog:function(){this.showDeletionDialog=!1,this.contextSetInVuex&&this.contextSetInVuex.startsWith("Selected")&&this.$store._mutations["set"+this.contextSetInVuex]&&this.$store.commit("set"+this.contextSetInVuex,[]),this.userInput="",this.errorMessage="",this.contextSetInVuex=""},checkUserInput:function(){"delete"===this.userInput||"Delete"===this.userInput?this.deleteSelectedEntries():this.errorMessage="lang_GENERAL_DELETION_DIALOG_WRITE_DELETE"}}}),Es=Ss,Is=Object(C["a"])(Es,ms,fs,!1,null,null,null),Cs=Is.exports,As=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showFileImportDialog,maxDialogWidth:"600",maxCardHeight:"700",headline:"lang_GENERAL_FILE_IMPORT_DIALOG_TITLE_UPLOAD_FILE",close:t.closeDialog,persistent:"",alvqa:t.alvqaContext+"-"+t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"mb-3"},[a("v-col",{class:t.dialogTextClass,attrs:{alvqa:t.alvqaContext+"-"+t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1),null!==t.CsvReportPath?a("v-row",[a("v-col",[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERIC_CAPTION_DOWNLOAD_CSV_REPORT"),alvqa:t.alvqa+"-icon-download-csv-report"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.CsvReportPath)}}})],1)],1):t._e(),t.showUploadOptions?t._t("importOptions"):t._e(),t.showUploadProgressbar?a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{height:"25",color:"dialogProgressbar",alvqa:t.alvqaContext+"-"+t.alvqa+"-upload-progressbar"},model:{value:t.uploadProgressbarValue,callback:function(e){t.uploadProgressbarValue=e},expression:"uploadProgressbarValue"}})],1)],1):t._e(),t.showProcessProgressbar?a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{height:"25",color:"dialogProgressbar",alvqa:t.alvqaContext+"-"+t.alvqa+"-process-progressbar"},model:{value:t.processValue,callback:function(e){t.processValue=e},expression:"processValue"}},[t._v(t._s(t.processValue)+" %")])],1)],1):t._e()],2)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[t.showUploadActions?a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-form",{model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[a("v-row",[a("v-col",{attrs:{cols:"8"}},[a("v-file-input",{attrs:{label:t.$t("lang_GENERAL_CAPTION_SELECT_FILE"),rules:t.rules,"show-size":"",alvqa:t.alvqaContext+"-"+t.alvqa+"-file-input-import-file"},on:{change:function(e){t.fileExt=t.$alvPlugin.extractFileExt(t.file)},"click:clear":function(e){return t.resetVal()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.valid||!t.file,abbreviation:t.selectedAbbreviationText,label:"lang_GENERAL_CAPTION_UPLOAD",alvqa:t.alvqaContext+"-"+t.alvqa+"-button-upload"},on:{click:t.submitFile}})],1)],1)],1)],1)],1):t._e()]},proxy:!0}],null,!0)})},Ts=[],bs={name:"FileImportDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N},props:{context:{type:String,default:""},alvqaContext:{type:String,default:""}},data:function(){var t=this;return{valid:!1,formData:new FormData,file:null,fileExt:"",showUploadProgressbar:!1,showProcessProgressbar:!1,showUploadOptions:!0,showUploadActions:!0,processValue:0,polling:null,dialogTextClass:"",rules:[function(e){return!e||t.isFileExtAccepted()||t.$t("lang_GENERAL_DIALOG_TEXT_INVALID_FORMAT")}],alvqa:"file-import-dialog",CsvReportPath:null}},computed:{selectedPeriodItem:function(){return this.$store.getters.getSelectedPeriodTimeUnitImportDialog},selectedPeriodNumber:function(){return this.$store.getters.getSelectedPeriodNumberImportDialog},selectedPeriodYear:function(){return this.$store.getters.getSelectedPeriodYearImportDialog},uploadProgressbarValue:{get:function(){return this.$store.getters.getUploadProgressbarValue},set:function(t){this.$store.commit("setUploadProgressbarValue",t)}},showFileImportDialog:{get:function(){return this.$store.getters.getShowFileImportDialog},set:function(t){this.$store.commit("setShowFileImportDialog",t)}},dialogText:{get:function(){return this.$store.getters.getImportDialogText},set:function(t){this.$store.commit("setImportDialogText",t)}},selectedFileImportOption:{get:function(){return this.$store.getters.getSelectedFileImport},set:function(t){this.$store.commit("setSelectedFileImport",t)}},getImporterObject:function(){var t=this;return"SalesData"===this.$route.name&&this.$store.getters.getSalesDataImportOptions?this.$store.getters.getSalesDataImportOptions.find((function(e){return e.value==t.selectedFileImportOption})):null},selectedCheckboxes:{get:function(){return this.$store.getters.getSelectedImportDialogCheckboxes},set:function(t){this.$store.commit("setSelectedImportDialogCheckboxes",t)}},currentAbbreviation:function(){return"Income"===this.$route.name?this.$store.getters.getPublishingIncomeDetailsAbbreviation:"SalesData"===this.$route.name?this.$store.getters.getSalesDataDetailsAbbreviation:null},selectedAbbreviationText:function(){var t=this,e=this.$store.getters.getSelectedFileImport;if(e&&this.getImporterObject&&this.getImporterObject.mappings){var a=this.getImporterObject.mappings.find((function(e){return e.value===t.currentAbbreviation}));return a?a.text:""}return""},selectedAbbreviationFileExt:function(){var t=this,e=this.$store.getters.getSelectedFileImport;if(e&&this.getImporterObject&&this.getImporterObject.mappings){var a=this.getImporterObject.mappings.find((function(e){return e.value===t.currentAbbreviation}));return a?a.fileFormat:""}return""}},methods:{submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i,s,r,l=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_FILE_IS_BEING_UPLOADED"),this.formData.append("file",this.file),this.showUploadOptions=!1,this.showUploadActions=!1,this.showUploadProgressbar=!0,t.next=7,this.uploadFile();case 7:if(e=t.sent,this.showUploadProgressbar=!1,-1!==e.error){t.next=28;break}if(this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_UPLOAD_SUCCESS"),e.hasOwnProperty("response")&&null!==e.response.txt&&(a=e.response.txt,this.dialogText+="<br /><br />",this.dialogText+=this.$alvPlugin.isLangConst(a)?this.$t(a):a,this.dialogText+="<br />"),null!=e.processId){t.next=20;break}"ShippingEdit"===this.$route.name&&(n=e.txt,this.dialogText+="<br /><br />",this.dialogText+=this.$t("lang_GENERIC_CAPTION_UPDATED")+": "+n.rowsUpdated+" ",this.dialogText+=this.$t("lang_GENERIC_CAPTION_ROWS_WITH")+" "+n.totalQuantityUpdated+" "+this.$t("lang_GENERIC_CAPTION_QUANTITY")+"<br />",this.dialogText+=this.$t("lang_GENERIC_CAPTION_ADDED")+": "+n.rowsAdded+" ",this.dialogText+=this.$t("lang_GENERIC_CAPTION_ROWS_WITH")+" "+n.totalQuantityAdded+" "+this.$t("lang_GENERIC_CAPTION_QUANTITY")+"<br />",this.dialogText+=this.$t("lang_GENERIC_CAPTION_TOTAL")+": "+(n.totalQuantityUpdated+n.totalQuantityAdded)+" "+this.$t("lang_GENERIC_CAPTION_QUANTITY")+"<br />"),"ShippingEdit"!==this.$route.name&&"InvoicesEdit"!==this.$route.name||(this.CsvReportPath=e.pathCsv),this.dialogText+="<br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"),""!==this.context?this.$store.dispatch("fetch"+this.context):this.$store.dispatch("fetch"+this.$route.name),this.showProcessProgressbar=!1,t.next=26;break;case 20:return this.showProcessProgressbar=!0,this.dialogText+="<br />"+this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_FILE_IS_BEING_PROCESSED"),t.next=24,this.processUploadFile(e);case 24:i=t.sent,"running"===i.status&&(this.polling=setInterval((function(){l.processUploadFile(e)}),5e3),setTimeout((function(){clearInterval(l.polling)}),18e5));case 26:t.next=29;break;case 28:1===e.error&&(s=e.response.errorMsg,r=e.response.path,r&&(this.CsvReportPath=r),this.dialogText=this.$alvPlugin.isLangConst(s)?this.$t(s):s,this.dialogText+="<br /><br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"),""!==this.context?this.$store.dispatch("fetch"+this.context):this.$store.dispatch("fetch"+this.$route.name));case 29:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),uploadFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i,s,r,l,o,c,u,d,g,p,v,_,h;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.$route.path.slice(1),a="?type="+this.$store.getters.getSelectedFileImport,this.$store.getters.getSelectedFileImport.value&&(a="?type="+this.$store.getters.getSelectedFileImport.value),t.t0=this.$route.name,t.next="Income"===t.t0?6:"Works"===t.t0?19:"SalesData"===t.t0?25:"PublishingProjects"===t.t0?38:"Tracking"===t.t0?43:"LabelReleases"===t.t0?48:"AzPersons"===t.t0?52:"LabelContracts"===t.t0?56:"ShippingEdit"===t.t0?60:"InvoicesEdit"===t.t0?66:72;break;case 6:return a+="&"+this.$alvPlugin.buildPeriodStringForApiCall(this.selectedPeriodItem,this.selectedPeriodYear,this.selectedPeriodNumber),this.selectedCheckboxes.includes("runErrorLists")?a+="&runErrorLists=yes":a+="&runErrorLists=no",i=this.$store.getters.getPublishingIncomeDetailsAbbreviation,null!==i&&void 0!==i&&(a+="&abbreviation="+i),this.selectedCheckboxes.includes("withoutAssigning")?a+="&withoutAssigning=yes":a+="&withoutAssigning=no",s=this.$store.getters.getPublishingIncomeDetailsImportCommissionPercent,null!==s&&(a+="&commissionPercent="+s),r=this.$store.getters.getPublishingIncomeDetailsImportCurrencyConversionFactor,r&&(a+="&conversionFactor="+r),t.next=17,k$.putFile(e,this.formData,a);case 17:return n=t.sent,t.abrupt("break",73);case 19:return"alvExcelTemplateWorks"==this.$store.getters.getSelectedFileImport?a="?type=alvExcel":"cwr"==this.$store.getters.getSelectedFileImport?(l=this.$store.getters.getWorksDetailsImportCwrType,o=this.$store.getters.getWorksDetailsImportCwrSourceShareType,c=this.$store.getters.getWorksDetailsImportCwrTargetShareType,u=this.$store.getters.getWorksDetailsCwrPublisherSourceAz?this.$store.getters.getWorksDetailsCwrPublisherSourceAz.alvId:null,a+="&cwrType=".concat(l,"&cwrSourceShares=").concat(o,"&cwrTargetShares=").concat(c,"&cwrSourcePublisherAz=").concat(u)):"mappingImport"==this.$store.getters.getSelectedFileImport&&(d=this.$store.getters.getWorksDetailsImportSelectedMapping,a+="&mappingAlvId=".concat(d)),null!==this.$store.getters.getWorkImportTags&&(a+="&tag="+this.$store.getters.getWorkImportTags),t.next=23,k$.putFile(e,this.formData,a);case 23:return n=t.sent,t.abrupt("break",73);case 25:return this.getImporterObject,g=this.$store.getters.getSalesDataDetailsImportCurrencyConversionFactor,g&&(a+="&conversionFactor="+g),p=this.$store.getters.getSalesDataDetailsAbbreviation,null!==p&&void 0!==p&&(a+="&abbreviation="+p),a+="&"+this.$alvPlugin.buildPeriodStringForApiCall(this.selectedPeriodItem,this.selectedPeriodYear,this.selectedPeriodNumber),this.selectedCheckboxes.includes("runErrorLists")?a+="&runErrorLists=yes":a+="&runErrorLists=no",v=this.$store.getters.getSalesDataDetailsImportCommissionPercent,null!==v&&(a+="&commissionPercent="+v),t.next=36,k$.putFile(e,this.formData,a);case 36:return n=t.sent,t.abrupt("break",73);case 38:return"alvExcelTemplatePublishingProjects"==this.$store.getters.getSelectedFileImport&&(a="?type=alvExcel"),t.next=41,k$.putFile("publishing/releases",this.formData,a);case 41:return n=t.sent,t.abrupt("break",73);case 43:return a+="&year="+this.$store.getters.getSelectedUploadYear,t.next=46,k$.putFile("publishing/tracking/prolists",this.formData,a);case 46:return n=t.sent,t.abrupt("break",73);case 48:return t.next=50,k$.putFile("label/releases",this.formData,a);case 50:return n=t.sent,t.abrupt("break",73);case 52:return t.next=54,k$.putFile("az/persons",this.formData,a);case 54:return n=t.sent,t.abrupt("break",73);case 56:return t.next=58,k$.putFile("contracts/label",this.formData,a);case 58:return n=t.sent,t.abrupt("break",73);case 60:return _=this.$store.getters.getShippingDetailsAlvId,this.$store.dispatch("saveShippingForm"),t.next=64,k$.putFile("erp/shipping/"+_,this.formData);case 64:return n=t.sent,t.abrupt("break",73);case 66:return h=this.$store.getters.getInvoicesDetailsAlvId,this.$store.dispatch("saveInvoicesForm"),t.next=70,k$.putFile("erp/invoices/"+h,this.formData);case 70:return n=t.sent,t.abrupt("break",73);case 72:n={error:1,response:{txt:this.$t("lang_FILE_UPLOAD_ERROR"),errorMsg:this.$t("lang_FILE_UPLOAD_ERROR")}};case 73:return t.abrupt("return",n);case 74:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),processUploadFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$route.path.slice(1),t.next=3,k$.getProgressOfProcess(e.processId,this.polling).then((function(t){return t}));case 3:return a=t.sent,this.processValue=a.percent,"finished"===a.status&&(clearInterval(this.polling),1===a.error?(this.showProcessProgressbar=!1,a.path&&(this.CsvReportPath=a.path),a.dialogCode?this.dialogText=this.$alvPlugin.buildDialogMessage(a.dialogCode,a.dialogParameters):this.dialogText=this.$alvPlugin.isLangConst(a.errorMsg)?this.$t(a.errorMsg):a.errorMsg+"<br /><br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG")):"LabelReleases"===this.$route.name?this.dialogText=a.txt+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"):(this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_PROCESSING_SUCCESS")+"<br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"),void 0!=a.path&&null!=a.path&&""!=a.path&&(this.dialogText+='<br /><br /><a href="'+a.path+'" target="_blank">'+this.$t("lang_GENERIC_CAPTION_DOWNLOAD_CSV_REPORT")+"</a>")),""!==this.context?this.$store.dispatch("fetch"+this.context):this.$store.dispatch("fetch"+this.$route.name)),t.abrupt("return",a);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),isFileExtAccepted:function(){var t=this;if("SalesData"===this.$route.name){var e=this.currentAbbreviation,a=this.$store.getters.getSalesDataDetailsFileExtensions.split("|");return"zip"==this.fileExt.toLowerCase()||(e&&this.selectedAbbreviationFileExt&&(a=[this.selectedAbbreviationFileExt]),a.includes(this.fileExt))}if("Income"===this.$route.name){var n=this.$store.getters.getIncomeInlineEditingDialogDetails.abbreviation,i=this.$store.getters.getSelectedFileImportOption;return"zip"==this.fileExt.toLowerCase()||(n?i.mappings.find((function(t){return t.value===n})).fileFormat.toLowerCase()===this.fileExt.toLowerCase():!!i.fileExtensions.split(";").find((function(e){return e.replaceAll(";","").toLowerCase()===t.fileExt.toLowerCase()})))}switch(this.selectedFileImportOption){case"alvExcelTemplateWorks":case"svd":case"setlistXlsx":case"alvExcelTemplatePublishingProjects":case"alvExcelTemplateLabelReleases":case"alvExcelTemplateLabelSalesData":case"allegro":case"finetunes":case"galileo":case"damusic":case"hart":case"naxosusa":case"outside":case"pias":case"planet":case"qedovaloffice":case"roughtrade":case"sony":case"soulfood":case"telamomusik":case"warnermusic":case"wordandsound":case"a_tempo":case"universalmusicentertainment":case"alvExcelTemplateLabelContracts":case"alvExcelTemplateAzPersons":case"suisaWorks":return"xlsx"===this.fileExt||"xls"===this.fileExt;case"gemaXml":case"iwaXml":return"xml"===this.fileExt;case"cwr":var s=this.fileExt.toUpperCase();return"V21"===s||"V22"===s;case"mappingImport":if("Works"==this.$route.name){var r=this.$store.getters.getWorksDetailsImportSelectedMapping,l=this.$store.getters.getMappings?this.$store.getters.getMappings:[],o=l.find((function(t){return t.alvId==r}));return void 0!==o&&o.fileFormat.toLowerCase()==this.fileExt.toLowerCase()}case"fuga":case"theorchard":case"gemaNA":case"setlistZip":case"alvZipLabelReleases":case"musicreports":return"zip"===this.fileExt;case"awalrecordings":case"bandcamp":case"brokensilence":case"feiyr":case"maestroAt":case"kontor":case"recordjet":case"zebralution":case"edel":case"bmgus":case"bmgde":case"igroove":case"harvestMedia":return"csv"===this.fileExt;case"believedigital":case"editionbjorlund":case"bmgusa":case"roba":return"csv"===this.fileExt||"zip"===this.fileExt;case"naxos":case"spectre":case"shippingRows":case"invoiceRows":case"adaworldwide":case"ygplus":return"xlsx"===this.fileExt;case"soulfoodbelieve":return"csv"===this.fileExt||"xls"===this.fileExt;case"gdf":return"gdf"===this.fileExt||"zip"===this.fileExt;case"akm":case"maestroEurope":return"txt"===this.fileExt||"csv"===this.fileExt||"zip"===this.fileExt;case"aume":return"csv"===this.fileExt||"txt"===this.fileExt;case"ctmpublishing":case"iqmusic":return"txt"===this.fileExt||"zip"===this.fileExt;case"suisaIncome":return"zip"===this.fileExt||"f"===this.fileExt||"e3"===this.fileExt||"m2"===this.fileExt;case"indigo":return"xlsx"===this.fileExt||"xls"===this.fileExt||"csv"===this.fileExt}},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downloadFile:function(t){k$.getFileFromALV(t)},closeDialog:function(){this.showFileImportDialog=!1,this.showUploadProgressbar=!1,this.showProcessProgressbar=!1,this.showUploadOptions=!0,this.showUploadActions=!0,this.CsvReportPath=null,this.file=null,this.formData=new FormData,this.processValue=0,this.$store.commit("setSelectedPeriodValuesImportDialog",{num:null,period:"notDefined",year:null}),this.uploadProgressbarValue=0,this.selectedFileImportOption=[],this.dialogTextClass="",this.selectedCheckboxes=["runErrorLists"],"SalesData"===this.$route.name&&(this.$store.commit("setSalesDataDetailsImportCurrencyConversionFactor",null),this.$store.commit("setSalesDataDetailsImportCommissionPercent",null),this.$store.commit("setSalesDataDetailsFileExtensions",null),this.$store.commit("setSalesDataDetailsAbbreviation",[])),"Income"===this.$route.name&&(this.$store.commit("setPublishingIncomeDetailsImportCurrencyConversionFactor",null),this.$store.commit("setPublishingIncomeDetailsImportCommissionPercent",null)),"Works"===this.$route.name&&(this.$store.commit("setWorkImportTags",null),clearInterval(this.polling))}},beforeDestroy:function(){clearInterval(this.polling)},mounted:function(){this.$store.commit("setSalesDataImportOptions")}},Ps=bs,Ds=(a("7ebc"),Object(C["a"])(Ps,As,Ts,!1,null,"17cc7269",null)),Ns=Ds.exports,Rs=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showSearchDialog,maxDialogWidth:"800",maxCardHeight:"700",scrollable:!0,headline:t.dialogTitle,close:t.closeDialog,alvqa:t.alvqaContext+"-"+t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"11"}},[a("SearchFilter",{attrs:{context:t.searchcontext,alvqa:t.alvqaContext+"-"+t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqaContext+"-"+t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",{staticClass:"pl-7"},[t.withoutCheckboxesList?a("BaseHeaderStats",{attrs:{context:t.searchcontext,typeStats:"DIALOG",alvqa:t.alvqaContext+"-"+t.alvqa,useContextForTotal:"SearchDialog"}}):a("v-checkbox",{attrs:{alvqa:t.alvqaContext+"-"+t.alvqa+"-checkbox-all-select","hide-details":"",color:"generalCheckbox",disabled:t.disabledAllSelect},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("BaseHeaderStats",{attrs:{context:t.searchcontext,typeStats:"DIALOG",alvqa:t.alvqaContext+"-"+t.alvqa,useContextForTotal:"SearchDialog"}})]},proxy:!0}],null,!1,1098986874),model:{value:t.allSelected,callback:function(e){t.allSelected=e},expression:"allSelected"}})],1):a("v-col",{attrs:{alvqa:t.alvqaContext+"-"+t.alvqa+"-text-none-found"}},[t._v("\n                    0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                    ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:!t.withoutCheckboxesList},on:{change:function(e){return t.checkSelectAll()}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e,n){return a("v-list-item",{key:e.alvId,attrs:{value:n,disabled:e.alvInternalDisable,alvqa:t.alvqaContext+"-"+t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e.alvId,n)}},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.active;return[t.withoutCheckboxesList?t._e():a("v-list-item-action",{staticClass:"mr-2"},[a("v-checkbox",{attrs:{"input-value":i,color:"generalCheckbox","hide-details":"",disabled:e.alvInternalDisable,alvqa:t.alvqaContext+"-"+t.alvqa+"-result-list-row-"+e.alvId+"-checkbox"}})],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqaContext+"-"+t.alvqa+"-result-list-row-"+e.alvId+"-title"}},[t._t("itemTitle",null,{item:e})],2),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqaContext+"-"+t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._t("itemSubtitle",null,{item:e})],2)],1)]}}],null,!0)})})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:!t.selectedItemIds.length,label:t.addButtonLabel,alvqa:t.alvqaContext+"-"+t.alvqa+"-button-add"},on:{click:function(e){return t.add()}}})],1)],1)],1)]},proxy:!0}])})},xs=[],Os={name:"SearchDialog",components:{BaseDialog:Pt,SearchFilter:Nn,BaseIcon:N,BaseButton:wt,BaseHeaderStats:ti},props:{context:{type:String,default:""},alvqaContext:{type:String,default:""},subcontext:{type:String,default:""},searchcontext:{type:String,default:""},addcontext:{type:String,default:""},uniqueIdRequired:{type:Boolean,default:!1},withoutCheckboxesList:{type:Boolean,default:!1},addButtonLabel:String,dialogTitle:String},data:function(){return{showSearchResult:!1,items:[],selected:this.withoutCheckboxesList?null:[],allSelected:!1,disabledAllSelect:!1,alvqa:"dialog-search-dialog"}},computed:{showSearchDialog:{get:function(){return this.$store.getters.getShowSearchDialog},set:function(t){this.$store.commit("setShowSearchDialog",t)}},selectedItemIds:{get:function(){return this.$store.getters["getSelected"+this.searchcontext]},set:function(t){this.$store.commit("setSelected"+this.searchcontext,t)}}},methods:{searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),!this.$store.getters["get"+this.searchcontext+"Search"]){t.next=9;break}return this.selectedItemIds=[],this.selected=[],this.allSelected=!1,this.showSearchResult=!0,t.next=8,this.$store.dispatch("search"+this.searchcontext);case 8:this.items=t.sent;case 9:this.$store.getters["get"+this.searchcontext+"Search"]||(this.items=[]),e=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0),this.disabledAllSelect=0==e,this.$store.commit("setTotalListedSearchDialog",e),this.$store.commit("setTotalRecordsSearchDialog",this.items.length),this.$store.commit("setIsLoading",!1);case 15:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(e=[],a=0;a<this.selected.length;a++)e.push(this.items[this.selected[a]]);return t.next=4,this.$store.dispatch("add"+this.addcontext,e);case 4:this.searchForListItems();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectAll:function(){if(1==this.allSelected){this.selected=[],this.selectedItemIds=[];for(var t=0;t<this.items.length;t++)1!=this.items[t].alvInternalDisable&&(this.selected.push(t),this.selectedItemIds.push(this.items[t].alvId))}else this.selected=[],this.selectedItemIds=[],this.allSelected=!1},checkSelectAll:function(){if(!this.withoutCheckboxesList){var t=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0);this.selected.length===this.items.length||t>0&&t===this.selected.length?this.allSelected=!0:this.allSelected=!1}},selectItem:function(t,e){if(this.withoutCheckboxesList)0===this.selectedItemIds.length?(this.selectedItemIds.push(this.items[e]),this.selectedItemIds[0]["rowId"]=e):this.selectedItemIds[0]["rowId"]===e?this.selectedItemIds=[]:(this.selectedItemIds=[],this.selectedItemIds.push(this.items[e]),this.selectedItemIds[0]["rowId"]=e);else{var a=this.selected.indexOf(e);a>=0?this.selectedItemIds.splice(this.items[e].alvId,1):this.selectedItemIds.push(this.items[e].alvId)}},closeDialog:function(){this.showSearchDialog=!1,this.selectedItemIds=[],this.selected=[],this.items=[],this.allSelected=!1,this.showSearchResult=!1,this.$store.commit("set"+this.searchcontext+"Search",""),this.disabledAllSelect=!1,this.$store.commit("setTotalListedSearchDialog",0),this.$store.commit("setTotalRecordsSearchDialog",0)}}},ws=Os,Ls=Object(C["a"])(ws,Rs,xs,!1,null,null,null),ys=Ls.exports,qs=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_GENERIC_CAPTION_MANAGE_TAGS",close:t.closeDialog,maxCardHeight:"500",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-text-field",{attrs:{label:t.$t("lang_GENERAL_CAPTION_ADD_TAG"),"hide-details":"",alvqa:t.alvqa+"-textfield-add-tag"},model:{value:t.addTag,callback:function(e){t.addTag=e},expression:"addTag"}})],1)],1),a("v-row",[a("v-col",[a("v-text-field",{attrs:{label:t.$t("lang_GENERAL_CAPTION_REMOVE_TAG"),"hide-details":"",alvqa:t.alvqa+"-textfield-remove-tag"},model:{value:t.removeTag,callback:function(e){t.removeTag=e},expression:"removeTag"}})],1)],1),a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_APPLY",alvqa:t.alvqa+"-button-apply"},on:{click:t.apply}})],1)],1)],1)]},proxy:!0}])})},ks=[],Bs={name:"ManageTagsDialog",props:{context:String,dir:String,idAttributeName:String},data:function(){return{valid:!0,alvqa:"manage-tags-dialog"}},components:{BaseDialog:Pt,BaseButton:wt},computed:{showDialog:{get:function(){return this.$store.getters.getShowManageTagsDialog},set:function(t){this.$store.commit("setShowManageTagsDialog",t)}},addTag:{get:function(){return this.$store.getters.getAddTag},set:function(t){this.$store.commit("setAddTag",t.replace(/\s/g,""))}},removeTag:{get:function(){return this.$store.getters.getRemoveTag},set:function(t){this.$store.commit("setRemoveTag",t.replace(/\s/g,""))}}},methods:{closeDialog:function(){this.showDialog=!1,this.addTag="",this.removeTag=""},apply:function(){this.$store.dispatch("manageTags",{dir:this.dir,context:this.context,ids:this.idAttributeName}),this.closeDialog()}}},$s=Bs,Gs=Object(C["a"])($s,qs,ks,!1,null,null,null),Fs=Gs.exports,Us=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"testCalculation",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_GEMA",close:t.closeDialog,maxDialogWidth:"1500",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-3 headline"},[t._v("\n                    "+t._s(t.getWorkName())+"\n                ")]),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT"),rules:"required|amount",withMargin:!1,alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Rights",items:t.rightsItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_TYPE_OF_RIGHTS"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-rights"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countryItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_ORIGINATING_COUNTRY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Ykto",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_YKTO"),withMargin:!1,rules:"required",additionalFunction:t.fillInKtos,alvqa:t.alvqa+"-autocomplete-ykto-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-ykto-selection"}},[t._v("\n                                    "+t._s("object"===typeof n?n.ykto:n)+"\n                                ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-ykto-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-ykto-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+" ("+t._s(n.alvId)+") [KTO: "+t._s(n.metadata.ykto)+" - "+t._s(n.metadata.hkto)+" - "+t._s(n.metadata.ukto)+"]\n                                    ")])],1)]}}],null,!0)})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Bg",items:t.bgItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BG"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-bg"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Hkto",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_HKTO"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-hkto"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GdfPercent",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_GDF_PERCENT"),suffix:"%",rules:"percentDecimal|required",withMargin:!1,alvqa:t.alvqa+"-textfield-gdf-percent"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ukto",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_UKTO"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-ukto"}})],1)],1),a("v-divider"),null!==t.errorMessage?a("v-row",{staticClass:"pt-3"},[a("v-col",[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),t._v("\n                        "+t._s(t.$t(t.errorMessage))+"\n                    ")],1)],1):t._e(),t._l(t.result,(function(e,n){return a("v-row",{key:n,staticClass:"pt-3"},[a("v-col",[a("v-chip",{attrs:{label:"",color:"resultHeadlineBackground","text-color":"resultHeadlineText",alvqa:t.alvqa+"-result-list-chip-type-of-right-"+n.toLowerCase().replace(/\s+/g,"-")}},[t._v(t._s(n))]),a("v-row",[a("v-col",[-1===e[0].error?a("v-data-table",{attrs:{headers:t.resultHeaders,items:e,"hide-default-footer":"","disable-sort":"",dense:"","items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.item,s=e.index;return[a("tr",[a("td",[a("v-chip",{attrs:{small:"",label:"",color:"excelLineChip","text-color":"excelLineText",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-excel"}},[a("span",{staticClass:"mr-2 ml-1"},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_EXCEL")))])])],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-statement-for"}},[a("BaseTooltip",{attrs:{simpleText:i.name_alv}})],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.total_net_val,"number")))]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-base-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.contract_base,"number"))+"\n                                            ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.contract_share,"number"))+"\n                                            ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.eur_net,"number"))+"\n                                            ")]),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-calculation-rule"}},[a("BaseTooltip",{attrs:{simpleText:i.rule_applied}})],1),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-publishing-contract"}},[t._v(" "+t._s(i.contract_match_id))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-contract-type"}},[t._v(" "+t._s(i.type_of_contract))])]),void 0!==i.rowInfo?a("tr",{staticClass:"pt-3"},[a("td"),a("td",{attrs:{colspan:"8",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-contract-line"}},[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"contractLineChip",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-contract"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_CONTRACT_ROW")))]),t._v("\n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_RIGHT_TYPE"))+": "+t._s(""!==i.rowInfo.rights?t.$t(t.getContractRightConst(i.rowInfo.rights)):"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE"))+": "+t._s(""!==i.rowInfo.percent?t.$n(i.rowInfo.percent,"number"):"--")+" % | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE"))+": "+t._s(""!==i.rowInfo.base?t.$n(i.rowInfo.base,"number"):"--")+" % | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_REGION"))+": "+t._s(""!==i.rowInfo.region?i.rowInfo.region:"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_APPLY_TO"))+": "+t._s(""!==i.rowInfo.refundFrom?t.getApplyTo(i.rowInfo.refundFrom):"--")+"\n                                            ")],1)]):t._e()]}}],null,!0)}):1===e[0].error?a("div",{staticClass:"pt-3"},[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"-result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),a("span",{attrs:{alvqa:t.alvqa+"-result-error-text"}},[t._v("\n                                        "+t._s(e[0].rowInfo.error)+"\n                                    ")])],1):t._e()],1)],1)],1)],1)}))],2)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_CALCULATE",alvqa:t.alvqa+"-button-calculate"},on:{click:function(e){return n(t.calculate)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},Ms=[],Ws=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[t.withFreeText?a("v-combobox",t._g(t._b({class:t.withMargin?"ml-4 mr-4":"",attrs:{items:t.entries,label:t.label,"search-input":t.searchString,"hide-no-data":"","hide-details":t.hideDetails,loading:t.isLoading,"no-filter":"",clearable:t.clearable,"return-object":t.returnObject,multiple:t.multiple,"error-messages":n,alvqa:t.alvqa,"item-value":t.itemValue},on:{"update:searchInput":function(e){t.searchString=e},"update:search-input":function(e){t.searchString=e},"click:clear":function(e){return t.resetVal()},change:function(e){return t.additionalFunction(t.selectedEntry)}},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[t._t("selection",null,{item:a})]}},{key:"item",fn:function(e){var a=e.item;return[t._t("items",null,{items:a})]}}],null,!0),model:{value:t.selectedEntry,callback:function(e){t.selectedEntry=e},expression:"selectedEntry"}},"v-combobox",t.$attrs,!1),t.$listeners)):a("v-autocomplete",{class:t.withMargin?"ml-4 mr-4":"",attrs:{items:t.entries,label:t.label,"search-input":t.searchString,"hide-no-data":"","hide-details":t.hideDetails,loading:t.isLoading,clearable:t.clearable,"return-object":t.returnObject,"no-filter":"",multiple:t.multiple,"error-messages":n,"menu-props":{closeOnClick:!0,closeOnContentClick:!0},alvqa:t.alvqa,"item-value":t.itemValue},on:{"update:searchInput":function(e){t.searchString=e},"update:search-input":function(e){t.searchString=e},"click:clear":function(e){return t.resetVal()},change:function(e){return t.additionalFunction(t.selectedEntry)}},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[t._t("selection",null,{item:a})]}},{key:"item",fn:function(e){var a=e.item;return[t._t("items",null,{items:a})]}}],null,!0),model:{value:t.selectedEntry,callback:function(e){t.selectedEntry=e},expression:"selectedEntry"}})]}}])})},js=[],zs=a("2e0f"),Hs=a.n(zs),Vs={name:"BaseEditPageAutocomplete",extends:Hs.a,props:{context:String,field:String,required:Boolean,rules:{type:[Object,String],default:""},withMargin:{type:Boolean,default:!0},withFreeText:{type:Boolean,default:!0},additionalFunction:{type:Function,default:function(){}},clearable:{type:Boolean,default:!0},alvqa:{type:String,default:""},returnObject:{type:Boolean,default:!0},searchAtChar:{type:Number,default:3},itemValue:{type:String,default:"value"}},data:function(){return{searchString:null,debouncedFunction:null}},computed:{selectedEntry:{get:function(){return this.$store.getters["get".concat(this.context,"Details").concat(this.field)]},set:function(t){this.$store.commit("set".concat(this.context,"Details").concat(this.field),t)}},entries:{get:function(){return this.$store.getters["get".concat(this.context).concat(this.field,"Options")]},set:function(t){this.$store.commit("set".concat(this.context).concat(this.field,"Options"),t)}},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}},methods:{searchInBackend:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(this.searchString&&this.searchString.length>=this.searchAtChar)){t.next=5;break}return this.isLoading=!0,t.next=4,this.$store.dispatch("fetchAutocomplete".concat(this.context).concat(this.field),this.searchString);case 4:this.isLoading=!1;case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selectedEntry=null,this.entries=[];case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},watch:{searchString:function(t){t&&t!==this.selectedEntry&&this.debouncedFunction()}},created:function(){this.debouncedFunction=_.debounce(this.searchInBackend,400)}},Ys=Vs,Ks=Object(C["a"])(Ys,Ws,js,!1,null,null,null),Zs=Ks.exports,Xs={name:"TestCalculationGemaDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageAutocomplete:Zs,BaseTooltip:T},data:function(){return{context:"TestCalculationGema",alvqa:"publishing-works-list-dialog-test-calculation-gema"}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},rightsItems:function(){var t,e=this,a=this.$store.getters.getTestCalculationGemaFormTypeOfRightsValues;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-rights-"+t.value}))),t},bgItems:function(){var t,e=this,a=this.$store.getters.getTestCalculationGemaFormBgValues;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-bg-"+t.value}))),t},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},result:{get:function(){return this.$store.getters.getTestCalculationGemaResult},set:function(t){this.$store.commit("setTestCalculationGemaResult",t)}},errorMessage:{get:function(){return this.$store.getters.getTestCalculationGemaResultErrorMessage},set:function(t){this.$store.commit("setTestCalculationGemaResultErrorMessage",t)}},showDialog:{get:function(){return this.$store.getters.getTestCalculationGemaDialog},set:function(t){this.$store.commit("setTestCalculationGemaDialog",t)}},resultHeaders:function(){return[{text:"",value:"contractLine",align:"center",width:"95px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_STATEMENT_FOR"),value:"name_alv",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,value:"total_net_val",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE")+" %",value:"contract_base",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" %",value:"contract_share",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" "+this.$store.getters.getSelectedCurrency,value:"eur_net",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_CALCULATION_RULE"),value:"rule_applied",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_PUBLISHING_CONTRACT"),value:"contract_match_id",align:"left",width:"160px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"type_of_contract",align:"left",width:"125px",sortable:!1,class:"text-no-wrap"}]}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedWorksAction",[]),this.$store.commit("setSelectedWorks",[]),this.result=[],this.errorMessage=null,this.$store.commit("setTestCalculationGemaYktoOptions",[]),this.$store.commit("setIsAllSelectedWorks",!1)},calculate:function(){this.result=[],this.errorMessage=null,this.$store.dispatch("calculateGemaTestCalculation")},getContractRightConst:function(t){var e=this.$store.getters.getContractsRights,a="";return e.forEach((function(e){e.value===t&&(a=e.text)})),a},getApplyTo:function(t){var e=Aa,a=e.find((function(e){return e.value===t}));return void 0===a?"":this.$t(a.text)},fillInKtos:function(t){null!==t&&void 0!==t&&(this.$store.commit("setTestCalculationGemaDetailsHkto",t.hkto),this.$store.commit("setTestCalculationGemaDetailsUkto",t.ukto))},getWorkName:function(){var t=this.$store.getters.getSelectedWorks,e=this.$store.getters.getWorks,a="",n=e.find((function(e){return e.alvId===t[0]}));return void 0!==n&&(a+=n.title+" ("+n.alvId,null!==n.gemaNumber&&""!==n.gemaNumber&&(a+=" | "+n.gemaNumber),a+=")"),a}},created:function(){this.$store.commit("setCountries")}},Js=Xs,Qs=Object(C["a"])(Js,Us,Ms,!1,null,null,null),tr=Qs.exports,er=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"testCalculation",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_SVD",close:t.closeDialog,maxDialogWidth:"1500",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-3 headline"},[t._v("\n                    "+t._s(t.getWorkName())+"\n                ")]),a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Rights",items:t.rightsItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_TYPE_OF_RIGHTS"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-rights"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AtSource",label:"At Source",rules:"amount",withMargin:!1,alvqa:t.alvqa+"-textfield-at-source"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT"),rules:"amount",withMargin:!1,alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SharePercent",label:"Share",suffix:"%",rules:"percentDecimal",withMargin:!1,alvqa:t.alvqa+"-textfield-share-percent"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countryItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_ORIGINATING_COUNTRY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1),a("v-divider",{staticClass:"mb-2"}),null!==t.errorMessage?a("v-row",[a("v-col",[a("v-chip",{staticClass:"mb-6 mt-5",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),t._v("\n                        "+t._s(t.$t(t.errorMessage))+"\n                    ")],1)],1):t._e(),t._l(t.result,(function(e,n){return a("v-row",{key:n},[a("v-col",[a("v-chip",{attrs:{label:"",color:"resultHeadlineBackground","text-color":"resultHeadlineText",alvqa:t.alvqa+"-result-list-chip-type-of-right-"+n.toLowerCase().replace(/\s+/g,"-")}},[t._v(t._s(t.$t(n)))]),a("v-row",[a("v-col",[-1===e[0].error?a("v-data-table",{attrs:{headers:t.resultHeaders,items:e,"hide-default-footer":"","disable-sort":"",dense:"","items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.item,s=e.index;return[a("tr",[a("td",[a("v-chip",{attrs:{small:"",label:"",color:"excelLineChip","text-color":"excelLineText",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-excel"}},[a("span",{staticClass:"mr-2 ml-1"},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_EXCEL")))])])],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-statement-for"}},[a("BaseTooltip",{attrs:{simpleText:i.name_alv}})],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.total_net_val,"number")))]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-base-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.contract_base,"number"))+" ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.contract_share,"number"))+" ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.eur_net,"number"))+" ")]),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-calculation-rule"}},[a("BaseTooltip",{attrs:{simpleText:i.rule_applied}})],1),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-publishing-contract"}},[t._v(" "+t._s(i.contract_match_id))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-contract-type"}},[t._v(" "+t._s(i.type_of_contract))])]),void 0!==i.rowInfo?a("tr",[a("td"),a("td",{attrs:{colspan:"8",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-contract-line"}},[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"contractLineChip",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-contract"}},[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_CONTRACT_ROW")))]),t._v("\n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_RIGHT_TYPE"))+": "+t._s(""!==i.rowInfo.rights?t.$t(t.getContractRightConst(i.rowInfo.rights)):"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE"))+": "+t._s(""!==i.rowInfo.percent?t.$n(i.rowInfo.percent,"number"):"--")+" % | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE"))+": "+t._s(""!==i.rowInfo.base?t.$n(i.rowInfo.base,"number"):"--")+" % | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_REGION"))+": "+t._s(""!==i.rowInfo.region?i.rowInfo.region:"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_APPLY_TO"))+": "+t._s(""!==i.rowInfo.refundFrom?t.$t(t.getApplyTo(i.rowInfo.refundFrom)):"--")+"\n                                            ")],1)]):t._e()]}}],null,!0)}):1===e[0].error?a("v-row",{staticClass:"mt-1"},[a("v-col",{attrs:{cols:"1"}},[a("v-chip",{staticClass:"ml-4",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"-result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))])],1),a("v-col",{attrs:{alvqa:t.alvqa+"-result-error-text"}},[t._v("\n                                        "+t._s(e[0].rowInfo.error)+"\n                                    ")])],1):t._e()],1)],1)],1)],1)}))],2)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_CALCULATE",alvqa:t.alvqa+"-button-calculate"},on:{click:function(e){return n(t.calculate)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},ar=[],nr={name:"TestCalculationSvdDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseTooltip:T,BaseCheckbox:Qt},data:function(){return{context:"TestCalculationSvd",alvqa:"publishing-works-list-dialog-test-calculation-svd"}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},rightsItems:function(){var t,e=this,a=this.$store.getters.getTestCalculationSvdFormTypeOfRightsValues;if(void 0!==a){t=JSON.parse(JSON.stringify(a));var n=0;t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-rights-"+n,n++}))}return t},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},result:{get:function(){return this.$store.getters.getTestCalculationSvdResult},set:function(t){this.$store.commit("setTestCalculationSvdResult",t)}},errorMessage:{get:function(){return this.$store.getters.getTestCalculationSvdResultErrorMessage},set:function(t){this.$store.commit("setTestCalculationSvdResultErrorMessage",t)}},showDialog:{get:function(){return this.$store.getters.getTestCalculationSvdDialog},set:function(t){this.$store.commit("setTestCalculationSvdDialog",t)}},resultHeaders:function(){return[{text:"",value:"contractLine",align:"center",width:"95px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_STATEMENT_FOR"),value:"name_alv",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,value:"total_net_val",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE")+" %",value:"contract_base",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" %",value:"contract_share",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" "+this.$store.getters.getSelectedCurrency,value:"eur_net",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_CALCULATION_RULE"),value:"rule_applied",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_PUBLISHING_CONTRACT"),value:"contract_match_id",align:"left",width:"160px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"type_of_contract",align:"left",width:"125px",sortable:!1,class:"text-no-wrap"}]}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedWorksAction",[]),this.$store.commit("setSelectedWorks",[]),this.result=[],this.errorMessage=null,this.$store.commit("setIsAllSelectedWorks",!1),this.$store.commit("setTestCalculationSvdCheckbox",[])},calculate:function(){this.result=[],this.errorMessage=null,this.$store.dispatch("calculateSvdTestCalculation")},getContractRightConst:function(t){var e=this.$store.getters.getContractsRights,a="";return e.forEach((function(e){e.value===t&&(a=e.text)})),a},getWorkName:function(){var t=this.$store.getters.getSelectedWorks,e=this.$store.getters.getWorks,a="",n=e.find((function(e){return e.alvId===t[0]}));return void 0!==n&&(a+=n.title+" ("+n.alvId,null!==n.gemaNumber&&""!==n.gemaNumber&&(a+=" | "+n.gemaNumber),a+=")"),a},getApplyTo:function(t){var e=Aa;if(null===t)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0}},created:function(){this.$store.commit("setCountries")}},ir=nr,sr=Object(C["a"])(ir,er,ar,!1,null,null,null),rr=sr.exports,lr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"testCalculation",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_PUBLISHING_WORKS_ACTION_OPTION_TEST_CALCULATION_C3",close:t.closeDialog,maxDialogWidth:"1300",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-3 pt-3 headline"},[t._v("\n                    "+t._s(t.getWorkName())+"\n                ")]),a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CollPercent",label:t.$t("lang_GENERIC_CAPTION_COLL_PERCENT"),withMargin:!1,alvqa:t.alvqa+"-textfield-coll-percent"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countryItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_ORIGINATING_COUNTRY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{field:"SourceId",label:t.$t("lang_GENERIC_CAPTION_SOURCE"),items:t.mappingsSourceOptions,context:t.context,withMargin:!1,alvqa:t.alvqa+"-dropdown-source-id",resetValNull:!0}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"RecipientId",label:t.$t("lang_GENERIC_CAPTION_RECIPIENT"),withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-recipient"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-recipient-selection"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+":\n                                "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                                | "+t._s(n.alvId)+"\n                                ")])],1)]}}],null,!0)})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"RightsTypes",items:t.rightsDropdownItems,label:t.$t("lang_GENERIC_CAPTION_RIGHTS_TYPE"),selection:!0,withMargin:!1,clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-rights-types"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Category",label:t.$t("lang_GENERIC_CAPTION_CATEGORY"),withMargin:!1,alvqa:t.alvqa+"-textfield-category"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SubCategory",label:t.$t("lang_GENERIC_CAPTION_SUBCATEGORY"),withMargin:!1,alvqa:t.alvqa+"-textfield-subcategory"}})],1)],1),a("v-divider",{staticClass:"mb-2"}),null!==t.errorMessage?a("v-row",[a("v-col",[a("v-chip",{staticClass:"mb-6 mt-5",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),t._v("\n                        "+t._s(t.$t(t.errorMessage))+"\n                    ")],1)],1):t._e(),t._l(t.result,(function(e,n){return a("v-row",{key:n},[a("v-col",[a("v-chip",{staticClass:"ml-3 mb-2 mt-2",attrs:{label:"",color:"resultHeadlineBackground","text-color":"resultHeadlineText",alvqa:t.alvqa+"-result-list-chip-type-of-right-"+n.toLowerCase().replace(/\s+/g,"-")}},[t._v(t._s(t.$t(t.getRightsType(n)).toUpperCase())+" ")]),a("v-row",[a("v-col",[-1===e[0].error?a("v-data-table",{attrs:{headers:t.resultHeaders,items:e,"hide-default-footer":"","disable-sort":"",dense:"","items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.item,s=e.index;return[a("tr",[a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-statement-for"}},[a("BaseTooltip",{attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-statement-for"},scopedSlots:t._u([{key:"text",fn:function(){return[a("span",[t._v(t._s(i.statementForName))])]},proxy:!0},{key:"content",fn:function(){return[a("span",{style:{fontWeight:"bold"}},[t._v(t._s(i.statementForName))])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.amount,"number")))]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-base-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.basePercent,"number"))+" ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.sharePercent,"number"))+" ")]),a("td",{staticClass:"text-right",style:{fontWeight:"bold"},attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.shareAmount,"number"))+" ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-publishing-contract"}},[t._v(" "+t._s(i.publishingContractAlvId))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-contract-type"}},[t._v(" "+t._s(i.publishingContractType))])]),void 0!==i.conditionRowInfo?a("tr",[a("td",{attrs:{colspan:"8",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-condition-row"}},[a("v-chip",{staticClass:"mr-2",style:{width:"100px"},attrs:{small:"",label:"",color:"contractLineChip",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-condition"}},[t._v(t._s(t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_CONDITIONS_ROW")))]),t._v("\n\n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_SOURCE"))+": "+t._s(null!==i.conditionRowInfo.source?i.conditionRowInfo.source:"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_RECIPIENT"))+": "+t._s(null!==i.conditionRowInfo.recipient?i.conditionRowInfo.recipient:"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_COLL_PERCENT_PR"))+": "+t._s(null!==i.conditionRowInfo.collPercentPr?t.$n(i.conditionRowInfo.collPercentPr,"number"):"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_COLL_PERCENT_MR"))+": "+t._s(null!==i.conditionRowInfo.collPercentMr?t.$n(i.conditionRowInfo.collPercentMr,"number"):"--")+"\n                                            ")],1)]):t._e(),void 0!==i.splitRowInfo?a("tr",[a("td",{attrs:{colspan:"8",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-split-row"}},[a("v-chip",{staticClass:"mr-2",style:{width:"100px"},attrs:{small:"",label:"",color:"contractLineChip",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-split"}},[t._v(t._s(t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SPLITS_ROW")))]),t._v("\n\n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_RIGHTS_TYPE"))+": "+t._s(null!==i.splitRowInfo.rightsType?t.$t(t.getRightsType(i.splitRowInfo.rightsType)).toUpperCase():"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_CATEGORY"))+": "+t._s(null!==i.splitRowInfo.category?i.splitRowInfo.category:"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_SUBCATEGORY"))+": "+t._s(null!==i.splitRowInfo.subCategory?i.splitRowInfo.subCategory:"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_REGION"))+": "+t._s(null!==i.splitRowInfo.region?i.splitRowInfo.region:"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_BASE_PERCENT"))+": "+t._s(null!==i.splitRowInfo.base?t.$n(i.splitRowInfo.base,"number"):"--")+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_SHARE_PERCENT"))+": "+t._s(null!==i.splitRowInfo.splitPercent?t.$n(i.splitRowInfo.splitPercent,"number"):"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_CAPTION_WEIGHTING"))+": "+t._s(null!==i.splitRowInfo.weighting?t.$t(t.getWeighting(i.splitRowInfo.weighting)):"--")+" | \n                                                    "+t._s(t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_APPLY_TO"))+": \n                                                    "),a("div",{staticStyle:{display:"inline-block"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-splits-list-row-apply-to"}},[t._v("\n                                                                "+t._s(null!==i.splitRowInfo.applyTo?t.$t(t.getApplyTo(i.splitRowInfo.applyTo)):"--")+"\n                                                            ")])]},proxy:!0},"byAlvId"==i.splitRowInfo.applyTo&&null!==i.splitRowInfo.recipientId?{key:"text",fn:function(){return[t._v("\n                                                            "+t._s(i.splitRowInfo.recipientId.name)+" ("+t._s(i.splitRowInfo.recipientId.alvId)+")\n                                                        ")]},proxy:!0}:{key:"text",fn:function(){return[t._v("\n                                                            "+t._s(null!==i.splitRowInfo.applyTo?t.$t(t.getApplyTo(i.splitRowInfo.applyTo)):"--")+"\n                                                        ")]},proxy:!0}],null,!0)})],1)],1)]):t._e()]}}],null,!0)}):1===e[0].error?a("v-row",{staticClass:"mt-1"},[a("v-col",{attrs:{cols:"1"}},[a("v-chip",{staticClass:"ml-4",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"-result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))])],1),a("v-col",{staticClass:"pl-0",attrs:{alvqa:t.alvqa+"-result-error-text"}},[t._v("\n                                        "+t._s(t.$t(e[0].splitRowInfo.error))+"\n                                    ")])],1):t._e()],1)],1)],1)],1)}))],2)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_CALCULATE",alvqa:t.alvqa+"-button-calculate"},on:{click:function(e){return n(t.calculate)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},or=[],cr={name:"TestCalculationC3Dialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageAutocomplete:Zs,BaseTooltip:T},data:function(){return{context:"TestCalculationC3",alvqa:"publishing-works-list-dialog-test-calculation-C3"}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},rightsDropdownItems:function(){return _a},mappingsSourceOptions:function(){return this.$store.getters.getTestCalculationC3SourceIdOptions},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},result:{get:function(){return this.$store.getters.getTestCalculationC3Result},set:function(t){this.$store.commit("setTestCalculationC3Result",t)}},errorMessage:{get:function(){return this.$store.getters.getTestCalculationC3ResultErrorMessage},set:function(t){this.$store.commit("setTestCalculationC3ResultErrorMessage",t)}},showDialog:{get:function(){return this.$store.getters.getTestCalculationC3Dialog},set:function(t){this.$store.commit("setTestCalculationC3Dialog",t)}},resultHeaders:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_STATEMENT_FOR"),value:"statementForName",align:"left",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,value:"amount",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE")+" %",value:"basePercent",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" %",value:"sharePercent",align:"right",width:"90px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" "+this.$store.getters.getSelectedCurrency,value:"shareAmount",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_PUBLISHING_CONTRACT"),value:"publishingContractAlvId",align:"left",width:"160px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"publishingContractType",align:"left",width:"125px",sortable:!1,class:"text-no-wrap"}]}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedWorksAction",[]),this.$store.commit("setSelectedWorks",[]),this.result=[],this.errorMessage=null,this.$store.commit("setIsAllSelectedWorks",!1)},calculate:function(){this.result=[],this.errorMessage=null,this.$store.dispatch("calculateC3TestCalculation")},getContractRightConst:function(t){var e=this.$store.getters.getContractsRights,a="";return e.forEach((function(e){e.value===t&&(a=e.text)})),a},getWorkName:function(){var t=this.$store.getters.getSelectedWorks,e=this.$store.getters.getWorks,a="",n=e.find((function(e){return e.alvId===t[0]}));return void 0!==n&&(a+=n.title+" ("+n.alvId,null!==n.gemaNumber&&""!==n.gemaNumber&&(a+=" | "+n.gemaNumber),a+=")"),a},getApplyTo:function(t){var e=Ta;if(null===t)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0},getWeighting:function(t){var e=ga;if(null===t)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0},getRightsType:function(t){var e=_a;if(null===t)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0}},created:function(){this.$store.commit("setCountries"),this.$store.dispatch("fetchTestCalculationC3AzOfSource")}},ur=cr,dr=Object(C["a"])(ur,lr,or,!1,null,null,null),gr=dr.exports,pr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showExportWorksDialog,maxDialogWidth:"1200",maxCardHeight:"800",headline:"lang_GENERIC_CAPTION_EXPORT",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showResult?t._e():a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.typeItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-type",additionalFunction:t.clearButtons}})],1)],1),"Excel"===t.type?a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_SINGLE_ROW"),valueOuter:"singleRow",hideDetails:"",alvqa:t.alvqa+"-excel-checkbox-single-row"}})],1),a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_IN_GERMAN"),valueOuter:"germanCaptions",hideDetails:"",alvqa:t.alvqa+"-excel-checkbox-german-captions"}})],1)],1):t._e(),"Excel"===t.type?a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_SMART_INTL_FROM_GEMA"),valueOuter:"smartIntl"+t.type,hideDetails:"",alvqa:t.alvqa+"-checkbox-smart-intl"}})],1)],1):t._e(),"CWR"===t.type?a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_MERGE_TO_CA"),valueOuter:"maestro",hideDetails:"",alvqa:t.alvqa+"-cwr-checkbox-maestro"}})],1),a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_ONLY_TO_BE_REGISTERED"),valueOuter:"toBeRegisteredOnly",hideDetails:"",alvqa:t.alvqa+"-cwr-checkbox-registered-only"}})],1)],1):t._e(),"CWR"===t.type?a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_SKIP_GHOSTWORKS"),valueOuter:"noGhost",hideDetails:"",alvqa:t.alvqa+"-cwr-checkbox-no-ghost"}})],1),a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_SKIP_STATUS2WORKS"),valueOuter:"noStatus2",hideDetails:"",alvqa:t.alvqa+"-cwr-checkbox-no-status-2"}})],1)],1):t._e(),"CWR"===t.type?a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_PMR"),valueOuter:"cwrMr100",hideDetails:"",iconTooltipText:t.$t("lang_PUBLISHING_WORKS_CAPTION_CWR_PMR_100_TOOLTIP"),alvqa:t.alvqa+"-cwr-checkbox-mr-100"}})],1)],1):t._e(),"mappings"===t.type?a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"MappingId",items:t.exportMappingsList,label:t.$t("lang_GENERIC_CAPTION_ABBREVIATION"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-interested-parties"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"MappingSource",items:t.exportMappingSources,label:t.$t("lang_GENERIC_CAPTION_SOURCE"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-interested-parties"}})],1)],1):t._e(),"mappings"!==t.type?a("v-row",[a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ShareType",items:t.ShareTypeItems,label:t.$t("lang_PUBLISHING_CAPTION_SHARE_TYPE"),selection:!0,withMargin:!1,hideDetails:"",valueOuter:"shareTypeOuter",additionalFunction:t.switchListOfPublishers,clearable:!1,alvqa:t.alvqa+"-dropdown-share-type",rules:"required"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ExportWorksTypes"+t.type,items:t.exportWorksTypes,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_WORKS_TYPES"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-works-types"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"InterestedParties"+t.type,items:t.addSEandCollPercentItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_ADD_SE_AND_COLL"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-interested-parties"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"PseudoSlg",items:t.exportWorksPseudoSlgOptions,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_PSEUDO_SLG"),selection:!0,withMargin:!1,hideDetails:"",clearable:!0,disabled:t.isPseudoSlgDisabled,alvqa:t.alvqa+"-dropdown-works-pseudo-slg"}})],1)],1):t._e(),"CWR"===t.type?a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CwrRecipient",items:t.$alvPlugin.cwrSocieties(!0,t.alvqa+"-cwr-dropdown-recipient"),label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_WORKS_PANEL_EXPORT_CWR_LABEL_RECIPIENT_SOCIETY"),selection:!0,withMargin:!1,hideDetails:"",alvqa:t.alvqa+"-cwr-dropdown-recipient"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CwrSubmitter",items:t.CwrSubmitterItems,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_CWR_SUBMITTER"),selection:!0,withMargin:!1,hideDetails:"",alvqa:t.alvqa+"-cwr-dropdown-submitter"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CwrFileVersion",items:t.cwrFileVersions,label:t.$t("lang_PUBLISHING_GENERIC_CAPTION_CWR_FILE_VERSION"),selection:!0,withMargin:!1,hideDetails:"",alvqa:t.alvqa+"-cwr-dropdown-file-version"}})],1)],1):t._e(),"CWR"===t.type?a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SelectedPublisherEntry",items:t.exportPublisherEntries,label:t.$t("lang_PUBLISHING_WORKS_EXPORT_DYNAMIC_PUBLISHER_AFFILIATION"),selection:!0,withMargin:!1,hideDetails:""}})],1),a("v-col",[a("BaseRegions",{attrs:{context:t.context,includeLabel:"lang_PUBLISHING_WORKS_EXPORT_INCLUDE_TERRITORY",excludeLabel:"lang_PUBLISHING_WORKS_EXPORT_EXCLUDE_TERRITORY",includeItems:t.includeItems,excludeItems:t.excludeItems,cols:"6",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-cwr"}})],1)],1):t._e()],1),t.showResult?a("v-container",[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-result-text"},domProps:{innerHTML:t._s(t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_CWR_GENERAL_ERROR_INCL_COLOR_DESCRIPTION"))}})],1),a("v-row",[a("v-col",[a("v-data-table",{attrs:{headers:t.resultHeaders,items:t.resultArray,"hide-default-footer":"","disable-sort":"",dense:"","items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item,i=e.index;return[a("tr",[a("td",[a("v-chip",{attrs:{small:"",label:"",alvqa:t.alvqa+"result-list-row-"+(i+1)+"-chip-error",color:1===n.level?"error":"warning"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))])],1),a("td",{staticClass:"text-left ellipsis",attrs:{alvqa:t.alvqa+"-result-list-row-"+(i+1)+"-text-work-title"}},[t._v("\n                                    "+t._s(n.workTitle)+" ("+t._s(n.alvId)+")\n                                ")]),a("td",{staticClass:"text-left",attrs:{alvqa:t.alvqa+"-result-list-row-"+(i+1)+"-text-error-message"}},[t._v("\n                                    "+t._s(n.errorMsg)+"\n                                ")])])]}}],null,!1,885552881)})],1)],1)],1):t._e()]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[null!==t.resultLink?a("span",{staticStyle:{display:"none"},attrs:{alvqa:"gi-cwr-export"}},[t._v(t._s(t.resultGi))]):t._e(),a("v-spacer"),a("v-col",{staticClass:"text-right"},[null!==t.resultLink?a("span",{attrs:{alvqa:t.alvqa+"-text-download-file"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD"))+"\n                    ")]):t._e(),a("span",{staticClass:"pr-4"},[null!==t.resultLink?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-file"},on:{click:function(e){return e.stopPropagation(),t.downloadFile()}}}):t._e()],1),a("span",[a("BaseButton",{attrs:{label:"lang_BUTTON_START",disabled:t.isLoading||!t.isInputValid,alvqa:t.alvqa+"-button-start"},on:{click:t.start}})],1)])],1)],1)]},proxy:!0}])})},vr=[],_r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",{attrs:{justify:t.justify}},[a("v-col",{attrs:{cols:t.cols}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Include",label:t.$t(t.includeLabel),withMargin:!1,multiple:!0,withFreeText:!1,isLoading:!0,returnObject:!1,rules:t.rules,alvqa:t.alvqa+"-dropdown-regions-include"},scopedSlots:t._u([{key:"selection",fn:function(){},proxy:!0},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",[a("v-list-item-title",[t._v("\n                           "+t._s(n.text)+" ("+t._s(n.value)+")\n                        ")])],1)]}}])})],1),a("v-col",{attrs:{cols:t.cols}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Exclude",label:t.$t(t.excludeLabel),withMargin:!1,multiple:!0,withFreeText:!1,isLoading:!0,returnObject:!1,rules:t.rules,alvqa:t.alvqa+"-dropdown-regions-exclude"},scopedSlots:t._u([{key:"selection",fn:function(){},proxy:!0},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",[a("v-list-item-title",[t._v("\n                           "+t._s(n.text)+" ("+t._s(n.value)+")\n                        ")])],1)]}}])})],1)],1),t.showSelectedRegions()?a("v-row",{staticClass:"mt-0"},[a("v-col",{staticClass:"mt-0",attrs:{cols:t.cols}},t._l(t.includedRegions,(function(e,n){return a("span",{key:n},[a("v-chip",{staticClass:"mr-2",attrs:{color:"iconStandard",close:"","text-color":"white"},on:{"click:close":function(a){return t.remove(e,n,"in")}}},[t._v("\n                    "+t._s(e)+"\n                ")])],1)})),0),a("v-col",t._l(t.excludedRegions,(function(e,n){return a("span",{key:n},[a("v-chip",{staticClass:"mr-2",attrs:{color:"iconStandard",close:"","text-color":"white"},on:{"click:close":function(a){return t.remove(e,n,"ex")}}},[t._v("\n                    "+t._s(e)+"\n                ")])],1)})),0)],1):t._e()],1)},hr=[],mr={name:"BaseRegions",components:{BaseEditPageAutocomplete:Zs},props:{context:String,includeLabel:{type:String,default:"lang_GENERAL_CAPTION_INCLUDE"},excludeLabel:{type:String,default:"lang_GENERAL_CAPTION_EXCLUDE"},cols:{type:String,default:"5"},justify:String,alvqa:{type:String,default:""},rules:{type:[Object,String],default:""}},computed:{includedRegions:{get:function(){return this.$store.getters["get"+this.context+"DetailsInclude"]},set:function(t){this.$store.commit("set"+this.context+"DetailsInclude")}},excludedRegions:{get:function(){return this.$store.getters["get"+this.context+"DetailsExclude"]},set:function(t){this.$store.commit("set"+this.context+"DetailsExclude")}}},methods:{remove:function(t,e,a){e>=0&&this[a+"cludedRegions"].splice(e,1)},showSelectedRegions:function(){return null!==this.includedRegions&&0!==this.includedRegions.length||null!==this.excludedRegions&&0!==this.excludedRegions.length}}},fr=mr,Sr=Object(C["a"])(fr,_r,hr,!1,null,null,null),Er=Sr.exports,Ir={name:"ExportWorksDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseCheckbox:Qt,BaseEditPageDropdown:me,BaseRegions:Er,BaseIcon:N},data:function(){return{context:"ExportWorks",alvqa:"publishing-works-list-dialog-export-works"}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},showExportWorksDialog:{get:function(){return this.$store.getters.getShowExportWorksDialog},set:function(t){this.$store.commit("setShowExportWorksDialog",t)}},isLoading:function(){return this.$store.getters.getIsLoading},showResult:function(){return this.$store.getters.getExportWorksShowResult},resultLink:function(){return this.$store.getters.getExportWorksResultLink},resultGi:function(){return this.$store.getters.getExportWorksResultGi},type:function(){return this.$store.getters.getExportWorksDetailsType},resultArray:function(){return this.$store.getters.getExportWorksErrorArray},exportWorksTypes:function(){return Oe},includeItems:function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t},excludeItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},exportPublisherEntries:function(){return this.$store.getters.getExportPublisherEntries||[]},CwrSubmitterItems:function(){var t=this,e=this.$store.getters.getPublishingCompanies,a=[];return e.forEach((function(e){a.push({text:e.name,value:e.cwr+"#"+e.id,alvqa:t.alvqa+"-cwr-dropdown-submitter-"+e.name.toLowerCase().replace(/ /g,"-")})})),0!=a.length&&this.$store.commit("setExportWorksDetailsCwrSubmitter",a[0].value),a},typeItems:function(){return[{text:this.$t("lang_GENERAL_CAPTION_EXCEL"),value:"Excel",alvqa:this.alvqa+"-dropdown-type-excel"},{text:this.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_CAPTION_TYPE_CWR"),value:"CWR",alvqa:this.alvqa+"-dropdown-type-cwr"},{text:this.$t("lang_ACCOUNT_MAPPINGS"),value:"mappings",alvqa:this.alvqa+"-dropdown-type-mappings"}]},cwrFileVersions:function(){return[{text:this.$t("lang_PUBLISHING_GENERIC_CAPTION_CWR_21"),value:"V21",alvqa:this.alvqa+"-dropdown-type-cwr-v21"},{text:this.$t("lang_PUBLISHING_GENERIC_CAPTION_CWR_22"),value:"V22",alvqa:this.alvqa+"-dropdown-type-cwr-v22"}]},interestedPartiesItems:function(){return[{text:this.$t("lang_WORKSEXPORT_IP_WITHOUT_SE"),value:"without-se",alvqa:this.alvqa+"-dropdown-interested-parties-without-se"},{text:this.$t("lang_WORKSEXPORT_IP_WITH_SE"),value:"with-se",alvqa:this.alvqa+"-dropdown-interested-parties-with-se"}]},addSEandCollPercentItems:function(){var t=Pe,e=this.$store.getters.getUserModules.sv_work_registration;return"yes"!==e.active&&(t=t.filter((function(t){return"no"==t.value}))),t},exportWorksPseudoSlgOptions:function(){var t=this,e=JSON.parse(JSON.stringify(this.$store.getters.getExportWorksSlgContracts)).list;if(void 0!=e){var a=[];return e.forEach((function(e){a.push({text:e.title,value:e.alvId,alvqa:t.alvqa+"-pseudo-slg-dropdown-"+e.alvId})})),a}return[]},resultHeaders:function(){return[{text:"",value:"level",align:"center",width:"95px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),value:"workTitle",align:"left",class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_ERROR"),value:"errorMsg",align:"left",class:"text-no-wrap"}]},exportMappingsList:function(){var t=this,e=this.$store.getters.getMappings,a=[];return e.forEach((function(e){"export"===e.direction&&a.push({value:e.alvId,text:e.abbreviation,alvqa:t.alvqa+"-export-mapping-".concat(e.alvId)})})),a},getDirectMembershipSocieties:function(){var t=this,e=this.$store.getters.getAzSocietiesWhereDirectMember,a=[];return e.forEach((function(e){a.push({value:e.alvId,text:e.societyAcronym,alvqa:t.alvqa+"-export-source-society-".concat(e.societyAcronym)})})),a},exportMappingSources:function(){var t=[{text:"ROLE%",value:"osRole",alvqa:this.alvqa+"-export-mappings-source-original-share-role"},{text:"INTL%",value:"osIntl",alvqa:this.alvqa+"-export-mappings-source-original-share-intl"},{text:"OWN%",value:"osOwn",alvqa:this.alvqa+"-export-mappings-source-original-share-own"},{text:"MANU%",value:"osManu",alvqa:this.alvqa+"-export-mappings-source-original-share-manu"}],e=this.getDirectMembershipSocieties;return t.concat(e)},isInputValid:function(){return"mappings"!=this.type||null!=this.$store.getters.getExportWorksDetailsMappingId&&null!=this.$store.getters.getExportWorksDetailsMappingSource},isPseudoSlgDisabled:function(){return"yes"!==this.$store.getters.getUserModules.sv_work_registration.active},ShareTypeItems:function(){return Le}},methods:{closeDialog:function(){this.showExportWorksDialog=!1,this.clearButtons()},switchListOfPublishers:function(t){this.$store.commit("setExportWorksDetailsSelectedPublisherEntry",null),this.$store.commit("setExportWorksDetailsShareType",t),this.$store.dispatch("fetchExportPublisherEntries")},clearButtons:function(){this.$store.commit("setExportWorksErrorArray",[]),this.$store.commit("setExportWorksResultLink",null),this.$store.commit("setExportWorksResultGi",null),this.$store.commit("setExportWorksShowResult",!1),this.$store.commit("setExportWorksCWRCheckbox",[]),this.$store.commit("setSelectedMappingsDirectionsFilter",null),this.$store.commit("setSelectedMappingsDomainsFilter",null),this.$store.commit("setExportWorksDetailsSelectedPublisherEntry",null)},start:function(){this.$store.dispatch("exportWorks")},getFileName:function(){var t=this.resultLink,e=t.substring(0,t.indexOf("&alvtoken")).replace(/^.*[\\\/]/,"");return e},downloadFile:function(){k$.getFileFromALV(this.resultLink),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})},getMappings:function(){this.$store.commit("setSelectedMappingsDomainsFilter","publishing_works"),this.$store.dispatch("fetchMappingsByDomain")}},created:function(){this.$store.commit("setSocieties"),this.$store.commit("setCountries"),this.$store.commit("setExportWorksDetailsCwrSubmitter"),this.$store.dispatch("fetchAzSocietiesWhereDirectMember")}},Cr=Ir,Ar=Object(C["a"])(Cr,pr,vr,!1,null,null,null),Tr=Ar.exports,br=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showNoSharesDialog,maxDialogWidth:"600",maxCardHeight:"900",headline:"lang_PUBLISHING_WORKS_NOSHARES_DIALOG_HEADLINE",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-dialog-title"}},[t._v("\n                    "+t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_ORIGINAL_SHARES"))+"\n                ")])],1),a("v-container",{staticClass:"py-6",attrs:{fluid:""}},[t.getCurrentConfig.show.manu||t.getCurrentConfig.show.role?a("v-row",{staticClass:"ml-4"},[a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context,label:t.$t("lang_GENERAL_MANU_PERCENT"),valueOuter:"manu",disabled:!t.getCurrentConfig.show.manu,hideDetails:"",alvqa:t.alvqa+"-checkbox-manu"}})],1),a("v-col",{attrs:{cols:"1"}}),a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context,label:t.$t("lang_GENERAL_ROLE_PERCENT"),valueOuter:"role",disabled:!t.getCurrentConfig.show.role,hideDetails:"",alvqa:t.alvqa+"-checkbox-role"}})],1)],1):t._e(),t.getCurrentConfig.show.intl||t.getCurrentConfig.show.own?a("v-row",{staticClass:"ml-4"},[a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context,label:t.$t("lang_GENERAL_INTL_PERCENT"),valueOuter:"intl",disabled:!t.getCurrentConfig.show.intl,hideDetails:"",alvqa:t.alvqa+"-checkbox-intl"}})],1),t.getCurrentConfig.show.intl?a("v-col",{attrs:{cols:"1"}}):t._e(),a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context,label:t.$t("lang_GENERAL_OWN_PERCENT"),valueOuter:"own",disabled:!t.getCurrentConfig.show.own,hideDetails:"",alvqa:t.alvqa+"-checkbox-own"}})],1)],1):t._e()],1),t.getCurrentConfig.show.homeSociety?a("v-container",{staticClass:"px-0"},[a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-dialog-title"}},[t._v("\n                        "+t._s(t.$t("lang_ACCOUNT_COMPANIES_CAPTION_HOME_SOCIETY"))+"\n                    ")])],1),a("v-container",{staticClass:"py-6"},[a("v-row",{staticClass:"ml-4"},[a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+"HomeSociety",label:t.homeSocietyName,valueOuter:t.getHomeSocietyInfo,hideDetails:"",alvqa:t.alvqa+"-checkbox-"+t.homeSocietyNameForAlvqa}})],1),t._l(t.getDirectMembershipSocieties,(function(e){return[a("v-col",[a("BaseCheckbox",{key:e.societyCode,staticClass:"mt-0",attrs:{context:t.context+"HomeSociety",label:t.$alvPlugin.getSocietyPanelHeadline(e.societyCode),valueOuter:e.societyCode,hideDetails:"",alvqa:t.alvqa+"-checkbox-"+t.homeSocietyNameForAlvqa}})],1)]}))],2)],1)],1):t._e()],1)]},proxy:!0}])})},Pr=[],Dr=(a("6b54"),{name:"NoSharesDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseCheckbox:Qt,BaseEditPageDropdown:me,BaseRegions:Er,BaseIcon:N},data:function(){return{context:"NoShares",alvqa:"publishing-works-list-dialog-no-shares",homeSocietyName:"",homeSocietyNameForAlvqa:""}},computed:{getDirectMembershipSocieties:function(){var t=this,e=this.$store.getters.getAzSocietiesWhereDirectMember.filter((function(e){return e.societyCode!==t.getHomeSocietyInfo}));return e},showNoSharesDialog:{get:function(){return this.$store.getters.getShowNoSharesDialog},set:function(t){this.$store.commit("setShowNoSharesDialog",t)}},sharePercentageOption:{get:function(){return this.$store.getters.getSelectedWorksQualityFilter},set:function(t){this.$store.commit("setSelectedWorksQualityFilter",t)}},configByOption:function(){return{"100Share":{show:{manu:!1,role:!1,intl:!0,own:!0,homeSociety:!0}},lessThan100Share:{show:{manu:!1,role:!1,intl:!0,own:!0,homeSociety:!0}},noShare:{show:{manu:!0,role:!0,intl:!0,own:!0,homeSociety:!0}},noUVZ:{show:{manu:!1,role:!0,intl:!0,own:!0,homeSociety:!0}},withContractChains:{show:{manu:!1,role:!0,intl:!0,own:!0,homeSociety:!0}},"0Share":{show:{manu:!1,role:!0,intl:!0,own:!0,homeSociety:!0}},noUvzOfContractingParty:{show:{manu:!1,role:!0,intl:!0,own:!0,homeSociety:!0}},allDisabled:{show:{manu:!1,role:!1,intl:!1,own:!1,homeSociety:!1}}}},getCurrentConfig:function(){return this.sharePercentageOption&&this.sharePercentageOption in this.configByOption?this.configByOption[this.sharePercentageOption]:this.configByOption["allDisabled"]},getHomeSocietyInfo:function(){var t=JSON.parse(localStorage.getItem("userData"))["user"],e=t.homeSocietyCode;return this.homeSocietyName=this.$alvPlugin.getSocietyPanelHeadline(e),this.homeSocietyNameForAlvqa=this.$alvPlugin.getSocietyName(parseInt(e)).toLowerCase(),e.toString()}},methods:{closeDialog:function(){0===this.$store.getters.getNoSharesCheckbox.length&&0===this.$store.getters.getNoSharesHomeSocietyCheckbox.length&&(this.$store.commit("setSelectedWorksQualityFilter",[]),this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_PUBLISHING_WORKS_NOSHARES_FILTER_NO_OPTIONS_CHOOSEN")})),this.showNoSharesDialog=!1},start:function(){}}}),Nr=Dr,Rr=(a("6a8a"),Object(C["a"])(Nr,br,Pr,!1,null,null,null)),xr=Rr.exports,Or=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDistributionSearchDialog,maxDialogWidth:"600",maxCardHeight:"900",headline:"lang_PUBLISHING_WORKS_CAPTION_DISTRIBUTION_SEARCH",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Target",items:t.$alvPlugin.cwrSocieties(!1,t.alvqa+"-cwr-dropdown-recipient"),label:t.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_TARGET"),withMargin:!1,selection:!0,alvqa:t.alvqa+"-cwr-dropdown-recipient"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Function",items:t.functionItems,label:t.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_FUNCTION"),withMargin:!1,selection:!0,alvqa:t.alvqa+"-dropdown-function"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Status",items:t.statusItems,label:t.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_STATUS"),withMargin:!1,selection:!0,alvqa:t.alvqa+"-dropdown-status"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"From",withMargin:!1,label:t.$t("lang_GENERIC_CAPTION_PERIOD_FROM"),alvqa:t.alvqa+"-datepicker-from"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"To",withMargin:!1,label:t.$t("lang_GENERIC_CAPTION_PERIOD_TO"),alvqa:t.alvqa+"-datepicker-to"}})],1)],1)],1)]},proxy:!0}])})},wr=[],Lr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-menu",{ref:"menu",attrs:{"close-on-content-click":!1,"return-value":t.date,transition:"scale-transition","offset-y":"","min-width":"auto"},on:{"update:returnValue":function(e){t.date=e},"update:return-value":function(e){t.date=e}},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on,i=e.attrs;return[a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.errors;return[a("v-text-field",t._g(t._b({class:t.withMargin?"ml-4 mr-4":"",attrs:{value:t.formattedDate,label:t.label,"append-icon":"event",alvqa:t.alvqa+"-textfield",clearable:t.clearable,disabled:t.disabled,"error-messages":s,readonly:!0},on:{"click:clear":function(e){return t.resetVal()}}},"v-text-field",i,!1),n))]}}],null,!0)})]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("v-date-picker",{attrs:{locale:this.$i18n.locale,"no-title":"",alvqa:t.alvqa,color:"buttonStandard",type:t.type,min:t.min,disabled:t.disabled},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},[a("v-spacer"),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){t.menu=!1}}}),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_OK",alvqa:t.alvqa+"-button-ok"},on:{click:function(e){return t.$refs.menu.save(t.date)}}})],1)],1)},yr=[],qr={name:"BaseEditPageDatePicker",props:{context:String,field:String,label:String,min:String,type:String,alvqa:{type:String,default:""},withMargin:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},rules:{type:[Object,String],default:""}},components:{BaseButton:wt},data:function(){return{menu:!1}},computed:{date:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){this.$store.commit("set"+this.context+"Details"+this.field,t)}},formattedDate:function(){return"month"===this.type?this.date?this.$d(new Date(this.date),"alvMonthYearFormat"):"":this.date?this.$d(new Date(this.date),"alvDateFormat"):""}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.date=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},kr=qr,Br=(a("ed48"),Object(C["a"])(kr,Lr,yr,!1,null,null,null)),$r=Br.exports,Gr={name:"DistributionSearchDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseCheckbox:Qt,BaseEditPageDropdown:me,BaseRegions:Er,BaseIcon:N,BaseEditPageDatePicker:$r},data:function(){return{context:"DistributionSearch",alvqa:"publishing-works-list-dialog-distribution-search"}},computed:{showDistributionSearchDialog:{get:function(){return this.$store.getters.getShowDistributionSearchDialog},set:function(t){this.$store.commit("setShowDistributionSearchDialog",t)}},functionItems:function(){return ke},statusItems:function(){return Be}},methods:{closeDialog:function(){this.showDistributionSearchDialog=!1}}},Fr=Gr,Ur=Object(C["a"])(Fr,Or,wr,!1,null,null,null),Mr=Ur.exports,Wr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"workRegistration",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,maxDialogWidth:"1000",maxCardHeight:"1000",headline:"lang_PUBLISHING_WORKS_ACTION_OPTION_WORKS_REGISTRATION",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Target",items:t.getWorksRegistrationTargets,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_WORKS_REGISTRATION_TARGETS"),selection:!0,withMargin:!1,hideDetails:"",clearable:!0,rules:"required",additionalFunction:t.switchTarget,alvqa:t.alvqa+"-dropdown-works-registration-targets",disabled:t.deactivatedForm}})],1)],1)],1),t.isIWA?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ContractDate",label:t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE"),alvqa:t.alvqa+"-datepicker-works-registration-contract-date",rules:"required",withMargin:!1,disabled:t.deactivatedForm}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_PUBLISHING_WORKS_ACTION_REGISTRATION_GEMA_IWA_COMMISSIONED_COMPOSITION"),hideDetails:"",valueOuter:"commissioned",alvqa:t.alvqa+"-checkbox-gema-iwa-commissioned-composition",disabled:t.deactivatedForm}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_PUBLISHING_WORKS_ACTION_REGISTRATION_GEMA_IWA_CONFIRMATION_1"),hideDetails:"",valueOuter:"signedPublishingContract",alvqa:t.alvqa+"-checkbox-gema-iwa-confirmation-1",disabled:t.deactivatedForm,rules:"workRegistrationCheckboxes"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_PUBLISHING_WORKS_ACTION_REGISTRATION_GEMA_IWA_CONFIRMATION_2"),hideDetails:"",valueOuter:"registrationTruthfulComplete",alvqa:t.alvqa+"-checkbox-gema-iwa-confirmation-2",disabled:t.deactivatedForm,rules:"workRegistrationCheckboxes"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+t.type,label:t.$t("lang_PUBLISHING_WORKS_ACTION_REGISTRATION_GEMA_IWA_CONFIRMATION_3"),hideDetails:"",valueOuter:"textPermission",alvqa:t.alvqa+"-checkbox-gema-iwa-confirmation-3",disabled:t.deactivatedForm}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaUsername",label:t.$t("lang_GENERIC_CAPTION_USERNAME"),rules:"required",withMargin:!1,disabled:t.deactivatedForm}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaPassword",type:"password",label:t.$t("lang_GENERIC_CAPTION_PASSWORD"),rules:"required",withMargin:!1,disabled:t.deactivatedForm}})],1)],1)],1):t.isCWR?a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CwrSubmitter",items:t.CwrSubmitterItems,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_CWR_SUBMITTER"),selection:!0,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-cwr-dropdown-submitter",rules:"required|workRegistrationCwrSubmitterCode"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ShareType",items:t.ShareTypeItems,label:t.$t("lang_PUBLISHING_CAPTION_SHARE_TYPE"),selection:!0,withMargin:!1,hideDetails:"",valueOuter:"shareTypeOuter",additionalFunction:t.switchListOfPublishers,clearable:!1,alvqa:t.alvqa+"-dropdown-share-type",rules:"required"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"InterestedParties",items:t.interestedPartiesItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_ADD_SE_AND_COLL"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-interested-parties",rules:"required"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Pmr",items:t.getDropdownYesNo,label:t.$t("lang_CONTRACTS_PUBLISHING_WORKSEXPORT_PMR"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-pmr",rules:"required"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SelectedPublisherEntry",items:t.exportPublisherEntries,label:t.$t("lang_PUBLISHING_WORKS_EXPORT_DYNAMIC_PUBLISHER_AFFILIATION"),selection:!0,withMargin:!1,hideDetails:""}})],1)],1)],1):t._e(),a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{cols:"12"}},[null!==t.errorText?a("span",{staticStyle:{color:"brown"},domProps:{innerHTML:t._s(t.errorText)}}):t._e(),a("span",[null!==t.preflightCsvPath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-preflight-csv"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.preflightCsvPath)}}}):t._e()],1),a("span",[null!==t.registrationErrorCsvPath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-registrtion-error-csv"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.registrationErrorCsvPath)}}}):t._e()],1),null!==t.successText?a("span",{domProps:{innerHTML:t._s(t.successText)}}):t._e(),a("span",[null!==t.xmlFilePath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-preflight-xml"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.xmlFilePath)}}}):t._e()],1),a("span",[null!==t.registrationCsvPath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-registration-csv"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.registrationCsvPath)}}}):t._e()],1),t._v("\n\n                        "+t._s(null!==t.errorText||null!==t.successText?" | ":"")+"\n\n                        "),a("span",{staticStyle:{"padding-right":"20px"},domProps:{innerHTML:t._s(t.stepText)}}),t.showLoginButton?a("v-tooltip",{attrs:{disabled:!t.gemaIWADisabled||!t.isIWA,bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on;return[a("div",t._g({staticStyle:{display:"inline-block"}},i),[a("BaseButton",{attrs:{disabled:t.isLoginButtonDisabled,label:"lang_LOGIN_BUTTON_CAPTION_LOGIN",alvqa:t.alvqa+"-button-gema-iwa-login"},on:{click:function(e){return n(t.login)}}})],1)]}}],null,!0)},[a("span",[t._v(t._s(t.$t("lang_PUBLISHING_WORKS_MESSAGE_ERROR_WORK_REGISTRATION_IWA_FILTER")))])]):t._e(),t.showPreflightButton?a("BaseButton",{attrs:{disabled:t.isPreflightButtonDisabled,label:"lang_PUBLISHING_WORKS_WORK_REGISTRATION_CAPTION_PREFLIGHT",alvqa:t.alvqa+"-button-preflight"},on:{click:function(e){return n(t.preflight)}}}):t._e(),t.showSendButton?a("BaseButton",{attrs:{disabled:t.isSendButtonDisabled,label:"lang_PUBLISHING_WORKS_WORK_REGISTRATION_CAPTION_SEND",alvqa:t.alvqa+"-button-start-works-registration"},on:{click:t.startWorksRegistration}}):t._e()],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},jr=[],zr=(a("4f7f"),{name:"WorksRegistrationDialog",components:{BaseDialog:Pt,BaseCheckbox:Qt,BaseButton:wt,BaseIcon:N,BaseRegions:Er,BaseEditPageDatePicker:$r,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"WorksRegistration",alvqa:"publishing-works-action-option-works-registration-dialog"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowWorksRegistrationDialog},set:function(t){this.$store.commit("setShowWorksRegistrationDialog",t)}},type:function(){return this.$store.getters.getWorksRegistrationDetailsTarget},exportPublisherEntries:function(){return this.$store.getters.getExportPublisherEntries||[]},interestedPartiesItems:function(){var t=Pe,e=this.$store.getters.getUserModules.sv_work_registration;return"yes"!==e.active&&(t=t.filter((function(t){return"no"==t.value}))),t},exportWorksTypes:function(){return Oe},CwrSubmitterItems:function(){var t=this,e=this.$store.getters.getPublishingCompanies,a=[];return e.forEach((function(e){a.push({text:e.name,value:e.cwr+"#"+e.id,alvqa:t.alvqa+"-cwr-dropdown-submitter-"+e.name.toLowerCase().replace(/ /g,"-")})})),0!=a.length&&this.$store.commit("setExportWorksDetailsCwrSubmitter",a[0].value),a},ShareTypeItems:function(){return Le},includeItems:function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t},excludeItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},isIWA:function(){return"GemaIwa"==this.$store.getters.getWorksRegistrationDetailsTarget},isCWR:function(){return"Cwr"==this.$store.getters.getWorksRegistrationDetailsTarget.slice(-3)},getLogedUserId:function(){return this.$store.getters["getUserInformation"].id},isOPW:function(){return"newOpw"==this.$store.getters.getSelectedWorksStatusFilter},getSelectedWorksStatus:function(){var t=this;return Object(ft["a"])(new Set(this.$store.getters.getSelectedWorks.map((function(e){return t.$store.getters.getWorks.find((function(t){return t.alvId===e})).status}))))},getSelectedWorksType:function(){var t=this;return Object(ft["a"])(new Set(this.$store.getters.getSelectedWorks.map((function(e){return t.$store.getters.getWorks.find((function(t){return t.alvId===e})).status}))))},gemaIWADisabled:function(){return this.getSelectedWorksType.some((function(t){return!t}))||this.getSelectedWorksStatus.some((function(t){return"toBeRegistered"!==t&&"update"!==t}))||"newOpw"!==this.$store.getters.getSelectedWorksStatusFilter&&"newSpw"!==this.$store.getters.getSelectedWorksStatusFilter&&"update"!==this.$store.getters.getSelectedWorksStatusFilter},stepText:function(){return this.$store.getters.getWorksRegistrationDialogStepText},errorText:function(){return this.$store.getters.getWorksRegistrationDialogErrorText},successText:function(){return this.$store.getters.getWorksRegistrationDialogSuccessText},showLoginButton:function(){return this.$store.getters.getWorksRegistrationDialogShowLoginButton},showPreflightButton:function(){return this.$store.getters.getWorksRegistrationDialogShowPreflightButton},showSendButton:function(){return this.$store.getters.getworksRegistrationDialogShowSendButton},isLoginButtonDisabled:function(){return this.$store.getters.getWorksRegistrationDialogDisableLoginButton||this.isIWA&&this.gemaIWADisabled||!this.hasCwrSubmitterCode},isPreflightButtonDisabled:function(){return this.$store.getters.getWorksRegistrationDialogDisablePreflightButton},isSendButtonDisabled:function(){return Boolean(this.$store.getters.getWorksRegistrationDialogDisableSendButton)},deactivatedForm:function(){return this.$store.getters.getWorksRegistrationDeaktivateForm},xmlFilePath:function(){return this.$store.getters.getWorksRegistrationXmlFilePath},preflightCsvPath:function(){return this.$store.getters.getWorksRegistrationPreflightPathCsv},registrationErrorCsvPath:function(){return this.$store.getters.getWorksRegistrationRegistrationErrorCsv},registrationCsvPath:function(){return this.$store.getters.getWorksRegistrationRegistrationCsv},registrationPdfPath:function(){return this.$store.getters.getWorksRegistrationRegistrationPdf},getWorksRegistrationTargets:function(){return we},getDropdownYesNo:function(){return be},hasCwrSubmitterCode:function(){var t=this.$store.getters.getWorksRegistrationDetailsCwrSubmitter;if(!t)return!1;var e=t.split("#");return 1!=e.length&&3===e[0].length}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setWorksRegistrationDialogDisableLoginButton",!1),this.$store.commit("setWorksRegistrationDialogShowPreflightButton",!1),this.$store.commit("setWorksRegistrationDialogDisablePreflightButton",!1),this.$store.commit("setWorksRegistrationDialogShowLoginButton",!0),this.$store.commit("setWorksRegistrationDialogShowSendButton",!1),this.$store.commit("setWorksRegistrationDialogSuccessText",null),this.$store.commit("setWorksRegistrationDialogErrorText",null),this.$store.commit("setWorksRegistrationDialogStepText",this.$t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_STEP_1_OF_3")),this.$store.commit("setWorksRegistrationGemaIwaCheckbox",[]),this.$store.commit("setWorksRegistrationDetailsContractDate",null),this.$store.commit("setWorksRegistrationDetailsGemaUsername",null),this.$store.commit("setWorksRegistrationDetailsGemaPassword",null),this.$store.commit("setWorksRegistrationDeaktivateForm",!1),this.$store.commit("setWorksRegistrationXmlFilePath",null),this.$store.commit("setWorksRegistrationPreflightPathCsv",null),this.$store.commit("setWorksRegistrationRegistrationErrorCsv",null),this.$store.commit("setWorksRegistrationRegistrationCsv",null),this.$store.commit("setWorksRegistrationRegistrationPdf",null),this.$store.commit("setSelectedWorksAction",[]),this.$store.commit("setWorksRegistrationDetailsTarget",""),this.$refs.workRegistration.reset()},onGemaDialogOpens:function(){this.gemaIWADisabled&&this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_PUBLISHING_WORKS_MESSAGE_ERROR_WORK_REGISTRATION_IWA_FILTER")})},switchTarget:function(){var t=this.$store.getters.getWorksRegistrationDetailsTarget;"SuisaCwr"==t?this.$store.commit("setWorksRegistrationDetailsCwrRecipient","80"):"AkmCwr"==t&&this.$store.commit("setWorksRegistrationDetailsCwrRecipient","5")},switchListOfPublishers:function(t){this.$store.commit("setExportWorksDetailsSelectedPublisherEntry",null),this.$store.commit("setExportWorksDetailsShareType",t),this.$store.dispatch("fetchExportPublisherEntries")},login:function(){this.$store.commit("setWorksRegistrationDialogDisableLoginButton",!0),this.$store.dispatch("workRegistrationLogin")},preflight:function(){this.$store.commit("setWorksRegistrationDialogDisablePreflightButton",!0),this.$store.dispatch("workRegistrationPreflight")},startWorksRegistration:function(){this.$store.commit("setWorksRegistrationDialogDisableSendButton",!0),this.$store.dispatch("startWorksRegistration")},downloadFile:function(t){k$.getFileFromALV(t)}},watch:{showDialog:function(t){t&&"GemaIwa"===this.type&&this.onGemaDialogOpens()},type:function(t){"GemaIwa"===t&&this.showDialog&&this.onGemaDialogOpens()}},created:function(){this.$store.commit("setSocieties"),this.$store.commit("setCountries")}}),Hr=zr,Vr=Object(C["a"])(Hr,Wr,jr,!1,null,null,null),Yr=Vr.exports,Kr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_PUBLISHING_WORKS_ACTION_OPTION_WORKS_BULK_EDITING",close:t.closeDialog,persistent:"",maxDialogWidth:"1500",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("v-card",{attrs:{elevation:"1"}},[a("v-card-title",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CONVERT_SHARES"))+"\n                        ")]),a("v-card-subtitle",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CONVERT_SHARES_TEXT"))+"\n                        ")]),a("v-card-text",[a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SocietyOwnShares",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_OWN"),items:t.convertRoleToSocietyOwnShares,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-society-rules-own-shares"}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"7"}},[a("BaseButton",{attrs:{label:"START",alvqa:t.alvqa+"-button-convert-role-to-intl"},on:{click:t.convertRoleToIntlShares}}),t.convertRoleSharesInProgress?a("span",{staticClass:"pl-2",attrs:{alvqa:t.alvqa+"-copy-shares-result-text"}},[t._v("\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_RESULT_REPORT")+": ")+"\n                                    ")]):t._e(),t.showConvertRoleSharesProgressBar?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-convert-role-to-int"}})],1):a("span",[t._v("\n                                        "+t._s(t.statusOfConvertRoleShares)+"\n                                    ")])],1)],1)],1)],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-card",{attrs:{elevation:"1"}},[a("v-card-title",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES"))+"\n                        ")]),a("v-card-subtitle",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TEXT"))+"\n                        ")]),a("v-card-text",[a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SourceShare",items:t.copySharesOwnSourceItems,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_FROM"),withMargin:!1,clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-copy-source-share"}}),a("span",[t._v(t._s(t.$t(t.msgRequiredSourceSharesCopy)))])],1),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TargetShare",items:t.copySharesTargetItems,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO"),withMargin:!1,clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-copy-target-share"}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"5"}},[a("BaseButton",{attrs:{disabled:t.buttonDisabledCopyShares,label:"lang_GENERIC_CAPTION_COPY",alvqa:t.alvqa+"-button-copy-shares"},on:{click:function(e){return t.copyShares("own")}}}),t.showResultCopyShares?a("span",{staticClass:"pl-3",attrs:{alvqa:t.alvqa+"-copy-shares-result-text"}},[t._v("\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_RESULT_REPORT"))+"\n                                    ")]):t._e(),null!==t.csvReportCopySharesFilepath?a("span",[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-csv-report-bulk-edit-copy-shares"},on:{click:function(e){return e.stopPropagation(),t.downloadReportCopyShares(t.csvReportCopySharesFilepath)}}})],1):t.progressBarCopyShares?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-copy-shares"}})],1):t._e()],1)],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-card",{attrs:{elevation:"1"}},[a("v-card-title",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CAPTION_COMBINE_E"))+"\n                        ")]),a("v-card-subtitle",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CAPTION_COMBINE_E_DESCRIPTION"))+"\n                        ")]),a("v-card-text",[a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TargetShareCombineE",items:t.listCombineEShareTypes,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO"),withMargin:!1,clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-combine-e-in-target-share"}}),a("span",[t._v(t._s(t.$t(t.msgRequiredTargetSharesCombineE)))])],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"5"}},[a("BaseButton",{attrs:{disabled:t.buttonDisabledCombineE,label:"lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CAPTION_COMBINE_E_BUTTON",alvqa:t.alvqa+"-button-combine-e-shares"},on:{click:t.combineEShares}}),t.progressBarCombineEShares?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-combine-e-shares"}})],1):t._e()],1)],1)],1)],1)],1)],1),a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("v-card",{attrs:{elevation:"1"}},[a("v-card-title",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CONVERT_TO_INTL"))+"\n                        ")]),a("v-card-subtitle",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CONVERT_TO_INTL_TEXT"))+"\n                        ")]),a("v-card-text",[a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SourceShare",items:t.copySharesSourceItems,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_FROM"),withMargin:!1,clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-fill-intl-source-share"}}),a("span",[t._v(t._s(t.$t(t.msgRequiredSourceSharesFill)))])],1),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FillIntl",items:t.fillIntlTargetItems,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO"),withMargin:!1,clearable:!1,rules:"required",disabled:"disabled",alvqa:t.alvqa+"-dropdown-fill-intl-target-share"}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"5"}},[a("BaseButton",{attrs:{disabled:t.buttonDisabledFillIntl,label:"lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_FILL_INTL_PERCENT",alvqa:t.alvqa+"-button-fill-intl"},on:{click:function(e){return t.fillIntl()}}}),t.showResultFillIntl?a("span",{staticClass:"pl-3",attrs:{alvqa:t.alvqa+"-convert-to-intl-result-text"}},[t._v("\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_RESULT_REPORT"))+"\n                                    ")]):t._e(),null!==t.csvReportFillIntlFilepath?a("span",[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-csv-report-bulk-edit-fill-intl"},on:{click:function(e){return e.stopPropagation(),t.downloadReportFillIntl(t.csvReportFillIntlFilepath)}}})],1):t.progressBarFillIntl?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-fill-intl"}})],1):t._e()],1)],1)],1)],1)],1),a("v-col",{attrs:{cols:"6"}},[a("v-card",{attrs:{elevation:"1"}},[a("v-card-title",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_REMOVE_SE_SHARE_TITLE"))+"\n                        ")]),a("v-card-subtitle",[t._v("\n                            "+t._s(t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_REMOVE_SE_SHARE_TEXT"))+"\n                        ")]),a("v-card-text",[a("v-row",[a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"RemoveSEShareType",items:t.subPublishersShareTypesList,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_CAPTION_SHARE_TYPE"),withMargin:!1,clearable:!1,additionalFunction:t.toggleButtonRemoveSE,alvqa:t.alvqa+"-dropdown-remove-se-share-type"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"RemoveSEField",items:t.subPublishersList,label:t.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_SELECT_SE_SHARE"),withMargin:!1,clearable:!0,additionalFunction:t.toggleButtonRemoveSE,alvqa:t.alvqa+"-dropdown-remove-se-share"}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:!t.buttonDisabledRemoveSE,label:"lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_REMOVE_SE_SHARE",alvqa:t.alvqa+"-button-remove-se-share"},on:{click:function(e){return t.removeSE()}}}),t.showResultRemoveSE?a("span",{staticClass:"pl-3",attrs:{alvqa:t.alvqa+"-remove-se-share-result-text"}},[t._v("\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_RESULT_REPORT"))+"\n                                    ")]):t._e(),null!==t.csvReportRemoveSEFilepath?a("span",[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-csv-report-bulk-edit-remove-se"},on:{click:function(e){return e.stopPropagation(),t.downloadReportRemoveSE(t.csvReportRemoveSEFilepath)}}})],1):t.progressBarRemoveSE?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-remove-se"}})],1):t._e()],1)],1)],1)],1)],1)],1),a("WorksBulkEditingConfirmDialog",{ref:"confirmDialog"})],1)]},proxy:!0}])})},Zr=[],Xr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showConfirmationDialog,maxDialogWidth:"500",maxCardHeight:"500",headline:"lang_PUBLISHING_WORKS_CAPTION_WORKS_BULK_EDITING_CONFIRM_DIALOG_TITLE",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_WORKS_BULK_EDITING_CONFIRM_DIALOG_TEXT"))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-col",[a("v-text-field",{staticClass:"ml-0 mr-0",attrs:{messages:t.$t(t.errorMessage),depressed:"",label:t.confirmationValue,alvqa:t.alvqa+"-textfield-confirm",autofocus:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkUserInput()}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:function(e){return t.checkUserInput()}}})],1)],1)],1)]},proxy:!0}])})},Jr=[],Qr={name:"WorksBulkEditingConfirmDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{context:"WorksBulkEditingConfirm",userInput:"",errorMessage:"",alvqa:"publishing-works-action-option-works-bulk-editing-confirm-dialog",resolvePromise:void 0}},computed:{showConfirmationDialog:{get:function(){return this.$store.getters.getShowWorksBulkEditingConfirmDialog},set:function(t){this.$store.commit("setShowWorksBulkEditingConfirmDialog",t)}},confirmationValue:function(){var t=this.$store.getters.getSelectedWorks.length;return this.$store.getters.getBulkEditingAllWorks&&(t=this.$store.getters.getTotalListed),t.toString()},actionToConfirm:{get:function(){return this.$store.getters.getWorksBulkEditingActionToConfirm},set:function(t){this.$store.commit("setWorksBulkEditingActionToConfirm",t)}}},methods:{openDialog:function(){var t=this;return this.showConfirmationDialog=!0,new Promise((function(e,a){t.resolvePromise=e}))},continueAction:function(){var t=this,e="from ",a=this.$store.getters.getSocieties.find((function(e){return e.value.toString()===t.$store.getters.getWorksBulkEditingDetailsSourceShare}));if(void 0!==a){var n=this.$alvPlugin.getSocietyName(parseInt(a.value))+"-"+this.$t("lang_GENERAL_CAPTION_SHARES");e+=n}else e+="id ".concat(this.$store.getters.getWorksBulkEditingDetailsSourceShare);switch(this.actionToConfirm){case"copyShares":this.$store.commit("setBulkEditCopySharesReportCsv",null),this.$store.dispatch("copyShares",{dir:this.dir,context:this.context,ids:this.idAttributeName}),e+=" to ".concat(this.$store.getters.getWorksBulkEditingDetailsTargetShare);break;case"fillIntl":this.$store.commit("setBulkEditFillIntlReportCsv",null),this.$store.dispatch("fillIntl",{dir:this.dir,context:this.context,ids:this.idAttributeName}),e+=" to ".concat(this.$store.getters.getWorksBulkEditingDetailsFillIntl);break;case"combineEShares":this.$store.dispatch("combineEShares",{dir:this.dir,context:this.context,ids:this.idAttributeName}).then((function(){t.$store.commit("setSnackbar",{type:"success",msg:t.$t("lang_PROCESS_COMPLETED")})})),e=" Combine E shares in ".concat(this.$store.getters.getWorksBulkEditingDetailsTargetShareCombineE,"%");break}var i=this.context+" ".concat(this.actionToConfirm," (").concat(e,")"),s=this.$store.getters["getSelectedWorks"];mixpanel.track(i,{entityIds:s,routePath:this.$route.path,userId:this.$store.getters.getUser.id}),this.closeDialog(!0)},closeDialog:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.showConfirmationDialog=!1,this.userInput="",this.errorMessage="",this.actionToConfirm=null,1==t?this.resolvePromise(!0):this.resolvePromise(!1)},checkUserInput:function(){this.userInput==this.confirmationValue?this.continueAction():this.errorMessage="lang_PUBLISHING_WORKS_CAPTION_WORKS_BULK_EDITING_CONFIRM_DIALOG_VALIDATION_ERROR"}}},tl=Qr,el=Object(C["a"])(tl,Xr,Jr,!1,null,null,null),al=el.exports,nl={name:"WorksBulkEditingDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseCheckbox:Qt,BaseEditPageDropdown:me,BaseIcon:N,WorksBulkEditingConfirmDialog:al},data:function(){return{context:"WorksBulkEditing",alvqa:"publishing-works-action-option-works-bulk-editing-dialog",convertRoleSharesInProgress:!1,buttonDisabledCopyShares:!1,showResultCopyShares:!1,progressBarCopyShares:!1,buttonDisabledFillIntl:!1,showResultFillIntl:!1,progressBarFillIntl:!1,buttonDisabledRemoveSE:!1,showResultRemoveSE:!1,progressBarRemoveSE:!1,msgRequiredSourceSharesCopy:"",msgRequiredSourceSharesFill:"",msgRequiredTargetSharesCombineE:"",mapShareTypeToText:{own:this.$t("lang_GENERIC_CAPTION_OWN_PERCENT"),manu:this.$t("lang_GENERIC_CAPTION_MANU_PERCENT"),intl:this.$t("lang_GENERIC_CAPTION_INTL_PERCENT"),role:this.$t("lang_GENERIC_CAPTION_ROLE_PERCENT")},showResultCombineE:!1,progressBarCombineEShares:!1,buttonDisabledCombineE:!1,listCombineEShareTypes:[{text:this.$t("lang_GENERAL_OWN_PERCENT"),value:"own",alvqa:"dropdown-combine-e-target-shares-own"},{text:this.$t("lang_GENERAL_INTL_PERCENT"),value:"intl",alvqa:"dropdown-combine-e-target-shares-intl"}]}},computed:{showDialog:{get:function(){return this.$store.getters.getShowWorksBulkEditingDialog},set:function(t){this.$store.commit("setShowWorksBulkEditingDialog",t)}},actionToConfirm:{get:function(){return this.$store.getters.getWorksBulkEditingActionToConfirm},set:function(t){this.$store.commit("setWorksBulkEditingActionToConfirm",t)}},csvReportCopySharesFilepath:function(){var t=this.$store.getters.getBulkEditCopySharesReportCsv;return t&&(this.progressBarCopyShares=!1,this.buttonDisabledCopyShares=!1),t},csvReportFillIntlFilepath:function(){var t=this.$store.getters.getBulkEditFillIntlReportCsv;return t&&(this.progressBarFillIntl=!1,this.buttonDisabledFillIntl=!1),t},csvReportRemoveSEFilepath:function(){var t=this.$store.getters.getBulkEditRemoveSEReportCsv;return t&&(this.progressBarRemoveSE=!1,this.$store.dispatch("fetchWorkSubpublishers"),this.buttonDisabledRemoveSE=!1),t},copySharesTargetItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO_OWN"),value:"toOwn",alvqa:"dropdown-target-shares-to-own"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO_INTL"),value:"toIntl",alvqa:"dropdown-target-shares-to-intl"},{text:this.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO_ROLE"),value:"toRole",alvqa:"dropdown-target-shares-to-role"}]},copySharesOwnSourceItems:function(){var t=this.$store.getters.getSocieties,e=JSON.parse(localStorage.getItem("userData"))["user"]["homeSocietyCode"],a=t.find((function(t){return t.value.toString()===e}));if(void 0!==a){var n=this.$alvPlugin.getSocietyName(parseInt(a.value))+"-"+this.$t("lang_GENERAL_CAPTION_SHARES");return[{text:this.$t("lang_GENERIC_CAPTION_FROM_LOWERCASE")+" "+n,value:a.value.toString(),alvqa:"dropdown-source-shares-from-"+a.text.toLowerCase()}]}},copySharesSourceItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_FROM_GEMA"),value:"fromGEMA",alvqa:"dropdown-source-shares-from-gema"}]},convertRoleToSocietyOwnShares:function(){return[{text:this.$t("lang_GENERIC_CAPTION_NONE"),value:"none",alvqa:"dropdown-convert-to-society-own-percent-none"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_GEMA_OWN"),value:"gemaOwn",alvqa:"dropdown-convert-to-society-own-percent-gema"}]},subPublishersList:function(){var t=this.$store.getters.getWorksBulkEditingDetailsRemoveSEArray,e=this.$store.getters.getWorksBulkEditingDetailsRemoveSEShareType;return t?t.filter((function(t){return t.shareType==e})):[]},subPublishersShareTypesList:function(){var t=this,e=this.$store.getters.getWorksBulkEditingDetailsRemoveSEArray,a=[];return e&&e.forEach((function(e){a.some((function(t){return t.value===e.shareType}))||a.push({text:t.mapShareTypeToText[e.shareType],value:e.shareType})})),a},fillIntlTargetItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_ACTION_BULK_EDITING_COPY_SHARES_TO_INTL"),value:"toIntl",alvqa:"dropdown-target-shares-to-intl"}]},statusOfConvertRoleShares:{get:function(){return this.$store.getters.getBulkEditingStatusOfConvertRoleShares},set:function(t){this.$store.commit("setBulkEditingStatusOfConvertRoleShares",t)}},showConvertRoleSharesProgressBar:{get:function(){return this.$store.getters.getBulkEditingShowConvertRoleSharesProgressBar},set:function(t){this.$store.commit("setBulkEditingShowConvertRoleSharesProgressBar",t)}}},methods:{closeDialog:function(){this.statusOfConvertRoleShares="",this.showConvertRoleSharesProgressBar=!1,this.convertRoleSharesInProgress=!1,this.showResultCopyShares=!1,this.showResultFillIntl=!1,this.buttonDisabledFillIntl=!1,this.buttonDisabledCopyShares=!1,this.showResultRemoveSE=!1,this.showDialog=!1,this.actionToConfirm=null,this.$store.commit("setBulkEditCopySharesReportCsv",null),this.$store.commit("setBulkEditFillIntlReportCsv",null),this.$store.commit("setBulkEditRemoveSEReportCsv",null),this.$store.commit("setWorksBulkEditingDetailsRemoveSEArray",null),this.$store.commit("setWorksBulkEditingDetailsRemoveSEField",null)},convertRoleToIntlShares:function(){this.$store.dispatch("convertRoleToIntlShares",{dir:this.dir,context:this.context,ids:this.idAttributeName}),this.convertRoleSharesInProgress=!0},copyShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this.$store.getters.getSocieties.find((function(t){return t.value.toString()===n.$store.getters.getWorksBulkEditingDetailsSourceShare})),void 0!==e){t.next=6;break}return this.msgRequiredSourceSharesCopy="lang_GENERAL_VALIDATION_MESSAGE_FIELD_REQUIRED",t.abrupt("return");case 6:this.msgRequiredSourceSharesCopy="";case 7:return this.actionToConfirm="copyShares",t.next=10,this.$refs.confirmDialog.openDialog();case 10:a=t.sent,a&&(this.buttonDisabledCopyShares=!0,this.progressBarCopyShares=!0,this.showResultCopyShares=!0);case 12:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),combineEShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.buttonDisabledCombineE=!0,this.progressBarCombineEShares=!0,e=this.$store.getters.getWorksBulkEditingDetailsTargetShareCombineE,void 0!==e){t.next=8;break}return this.msgRequiredTargetSharesCombineE="lang_GENERAL_VALIDATION_MESSAGE_FIELD_REQUIRED",t.abrupt("return");case 8:this.msgRequiredTargetSharesCombineE="";case 9:return this.actionToConfirm="combineEShares",t.next=12,this.$refs.confirmDialog.openDialog();case 12:a=t.sent,a&&(this.buttonDisabledCombineE=!1,this.progressBarCombineEShares=!1);case 14:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),removeSE:function(){this.buttonDisabledRemoveSE=!1,this.$store.commit("setBulkEditRemoveSEReportCsv",null),this.$store.dispatch("removeSE",{dir:this.dir,context:this.context,ids:this.idAttributeName}),this.showResultRemoveSE=!0,this.progressBarRemoveSE=!0},fillIntl:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this.copySharesSourceItems.find((function(t){return t.value.toString()===n.$store.getters.getWorksBulkEditingDetailsSourceShare})),void 0!==e){t.next=6;break}return this.msgRequiredSourceSharesFill="lang_GENERAL_VALIDATION_MESSAGE_FIELD_REQUIRED",t.abrupt("return");case 6:this.msgRequiredSourceSharesFill="";case 7:return this.actionToConfirm="fillIntl",t.next=10,this.$refs.confirmDialog.openDialog();case 10:a=t.sent,a&&(this.buttonDisabledFillIntl=!0,this.progressBarFillIntl=!0,this.showResultFillIntl=!0);case 12:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),toggleButtonRemoveSE:function(t){this.buttonDisabledRemoveSE=!!t},downloadReportCopyShares:function(t){k$.getFileFromALV(t),this.showResultCopyShares=!1,this.$store.commit("setBulkEditCopySharesReportCsv",null)},downloadReportFillIntl:function(t){k$.getFileFromALV(t),this.showResultFillIntl=!1,this.$store.commit("setBulkEditFillIntlReportCsv",null)},downloadReportRemoveSE:function(t){k$.getFileFromALV(t),this.showResultRemoveSE=!1,this.$store.commit("setBulkEditRemoveSEReportCsv",null)}}},il=nl,sl=Object(C["a"])(il,Kr,Zr,!1,null,null,null),rl=sl.exports,ll=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showYearOfExpirationDialog,maxDialogWidth:"600",maxCardHeight:"900",headline:"lang_PUBLISHING_WORKS_NOSHARES_DIALOG_HEADLINE",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{staticClass:"py-6",attrs:{fluid:""}},[a("v-row",[a("v-col",[a("DropdownFilter",{staticClass:"mx-4",attrs:{context:t.context,label:"lang_GENERIC_CAPTION_YEAR_OF_EXPIRATION",itemText:"text",items:t.yearsOptions,hideErrorMessage:!1,alvqa:t.alvqa+"-dropdown-track-years-filter"}})],1)],1)],1)]},proxy:!0}])})},ol=[],cl={name:"YearOfExpirationDialog",components:{BaseDialog:Pt,DropdownFilter:us},data:function(){return{context:"YearOfExpiration",alvqa:"publishing-works-list-dialog-year-of-expiration"}},computed:{showYearOfExpirationDialog:{get:function(){return this.$store.getters.getShowYearOfExpirationDialog},set:function(t){this.$store.commit("setShowYearOfExpirationDialog",t)}},yearsOptions:function(){for(var t=[],e=(new Date).getFullYear(),a=e+31,n=e;n<a;n++)t.push({text:n.toString(),value:n,alvqa:this.alvqa+"-dropdown-period-selector-years-"+n});return t}},methods:{closeDialog:function(){null!=this.$store.getters.getSelectedYearOfExpiration&&0!=this.$store.getters.getSelectedYearOfExpiration||(this.$store.commit("setSelectedWorksQualityFilter",[]),this.$store.commit("setSelectedYearOfExpiration",0),this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_PUBLISHING_WORKS_NOSHARES_FILTER_NO_OPTIONS_CHOOSEN")})),this.showYearOfExpirationDialog=!1}}},ul=cl,dl=(a("b4c7"),Object(C["a"])(ul,ll,ol,!1,null,null,null)),gl=dl.exports,pl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.confirmationDialog.show,maxDialogWidth:"500",maxCardHeight:"500",headline:t.headlineTitle,close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERIC_DIALOG_TEXT_ACTION_ON_RESULTS"))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-col",[a("v-text-field",{staticClass:"ml-0 mr-0",attrs:{messages:t.$t(t.errorMessage),depressed:"",label:t.confirmationValue,alvqa:t.alvqa+"-textfield-confirm",autofocus:""},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkUserInput()}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:function(e){return t.checkUserInput()}}})],1)],1)],1)]},proxy:!0}])})},vl=[];function _l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function hl(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?_l(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):_l(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var ml={name:"ConfirmationDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{context:"ConfirmationDialog",userInput:"",errorMessage:"",alvqa:"confirmation-dialog",resolveCallback:null}},computed:hl({},Object(u["d"])(["confirmationDialog"]),{confirmationValue:function(){return this.$store.getters.getTotalListed.toString()},headlineTitle:function(){var t=this.$t("lang_GENERIC_DIALOG_TITLE_WARNING_ACTION_ON_RESULTS");return t.replace("{REPLACE_1}",this.confirmationValue)}}),methods:{checkUserInput:function(){var t=1*this.userInput,e=1*this.confirmationValue;t===e?(this.userInput="",this.errorMessage="",this.$store.dispatch("resolveConfirmationDialog")):this.errorMessage="lang_GENERIC_DIALOG_ERROR_MESSAGE_WRONG_VALUE"},closeDialog:function(){this.$store.commit("setConfirmationDialog",{show:!1,txt:"",result:!1,resolveCallback:null}),this.userInput="",this.errorMessage=""}}},fl=ml,Sl=Object(C["a"])(fl,pl,vl,!1,null,null,null),El=Sl.exports;function Il(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Cl(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Il(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Il(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var Al={name:"WorksList",components:{BaseEditPageAutocomplete:Zs,BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,BaseEditPageDropdown:me,WorksTopSlot:ii,WorkReadOnly:Ji,ExpandIcon:is,DropdownFilter:us,SelectionRequiredDialog:hs,DeletionDialog:Cs,FileImportDialog:Ns,NoSharesDialog:xr,DistributionSearchDialog:Mr,SearchDialog:ys,GemaSoundfileDialog:ne,ManageTagsDialog:Fs,TestCalculationGemaDialog:tr,TestCalculationSvdDialog:rr,TestCalculationC3Dialog:gr,ExportWorksDialog:Tr,WorksRegistrationDialog:Yr,WorksBulkEditingDialog:rl,YearOfExpirationDialog:gl,ConfirmationDialog:El},data:function(){return{context:"Works",alvqa:"publishing-works",spotifyUrl:"https://works.spotify.com/work/"}},computed:Cl({},Object(u["c"])(["getWorksSearch","getSelectedWorksQualityFilter","getSelectedWorksStatusFilter"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"type",align:"center",sortable:!1,width:"80px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"right",sortable:!0,width:"140px",class:"text-no-wrap"},{text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!0,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},qualityItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_CONTRACT"),value:"noContract",alvqa:this.alvqa+"-list-dropdown-quality-no-contracts-connected"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_QA_FILTER_NO_SHEET_CONNECTED"),value:"noSheets",alvqa:this.alvqa+"-list-dropdown-quality-no-sheet-connected"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_UVZ"),value:"noUVZ",alvqa:this.alvqa+"-list-dropdown-quality-without-uvz"},{text:this.$t("lang_GENERIC_CAPTION_YEAR_OF_EXPIRATION"),value:"yearOfExpiration",alvqa:this.alvqa+"-list-dropdown-quality-year-of-expiration"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_UVZ_OF_CONTRACTING_PARTY"),value:"noUvzOfContractingParty",alvqa:this.alvqa+"-list-dropdown-quality-no-uvz-of-contracting-party"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_WITH_CONTRACT_CHAINS"),value:"withContractChains",alvqa:this.alvqa+"-list-dropdown-quality-with-contract-chains"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_DISTRIBUTION_SEARCH"),value:"distributionSearch",alvqa:this.alvqa+"-list-dropdown-quality-distribution-search"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_SHARES_SUM_MORE_THAN_100"),value:"100Share",alvqa:this.alvqa+"-list-dropdown-quality-shares-more-than-100"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_SHARES_SUM_LESS_THAN_100"),value:"lessThan100Share",alvqa:this.alvqa+"-list-dropdown-quality-shares-less-than-100"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_SHARES_EMPTY"),value:"noShare",alvqa:this.alvqa+"-list-dropdown-quality-no-shares"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_SHARES_SUM_0"),value:"0Share",alvqa:this.alvqa+"-list-dropdown-quality-shares-sum-0"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_TRACK"),value:"noTrack",alvqa:this.alvqa+"-list-dropdown-quality-no-track-connection"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_OLD_GEMA_SPLIT"),value:"oldGemaSplit",alvqa:this.alvqa+"-list-dropdown-quality-old-gema-split"},{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_TYPE"),value:"noType",alvqa:this.alvqa+"-list-dropdown-quality-no-work-type"}]},statusItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_REGISTERED_WORKS"),value:"registered",alvqa:this.alvqa+"-list-dropdown-status-registered"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_GEMA_STATUS_2"),value:"status2",alvqa:this.alvqa+"-list-dropdown-status-status-2"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_GHOST_WORKS"),value:"ghost",alvqa:this.alvqa+"-list-dropdown-status-ghost"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_WITHOUT_GHOST_WORKS"),value:"withoutGhost",alvqa:this.alvqa+"-list-dropdown-status-without-ghost"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TO_BE_UPDATED"),value:"update",alvqa:this.alvqa+"-list-dropdown-status-update"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_REGISTER_NEW_OVW"),value:"newOpw",alvqa:this.alvqa+"-list-dropdown-new-opw"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_REGISTER_NEW_SVW"),value:"newSpw",alvqa:this.alvqa+"-list-dropdown-status-new-spw"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_OPW_REGISTRATION"),value:"inRegistrationOpw",alvqa:this.alvqa+"-list-dropdown-status-in-registration-opw"},{text:this.$t("lang_PUBLISHING_WORKS_STATUS_FILTER_OPTION_SPW_REGISTRATION"),value:"inRegistrationSpw",alvqa:this.alvqa+"-list-dropdown-status-in-registration-spw"}]},getCwrTypes:function(){var t=this.alvqa+"-cwr-import-dropdown-cwr-type";return[{text:"lang_PUBLISHING_WORKS_BUTTON_OPTION_CWR_IMPORT",value:"ack",alvqa:t+"-ack"},{text:"lang_PUBLISHING_WORKS_CAPTION_CWR_NON_ACK",value:"nonAck",alvqa:t+"-non-ack"}]},getCwrSourceShareTypes:function(){var t=this.alvqa+"-cwr-import-dropdown-cwr-source-share-type";return[{text:"lang_PUBLISHING_WORKS_CAPTION_CWR_OWNERSHIP",value:"ownership",alvqa:t+"-ownership"},{text:"lang_PUBLISHING_WORKS_CAPTION_CWR_COLLECTION",value:"collection",alvqa:t+"-collection"}]},getCwrTargetShareTypes:function(){var t=this.alvqa+"-cwr-import-dropdown-cwr-target-share-type";return[{text:"lang_GENERAL_INTL_PERCENT",value:"intl",alvqa:t+"-intl"},{text:"lang_GENERIC_CAPTION_OWN_PERCENT",value:"own",alvqa:t+"-own"}]},tagsForImport:{get:function(){return this.$store.getters.getWorkImportTags},set:function(t){this.$store.commit("setWorkImportTags",t)}},cwrSubmitterCode:function(){return this.$store.getters.getSelectedCwrSubmitterCode},spotifySetting:function(){return this.$store.getters.getSelectedSpotifySetting},getSelectedImportOption:function(){return this.$store.getters.getSelectedFileImport},getCwrImportType:function(){var t=this.$store.getters.getWorksDetailsImportCwrType;return"ack"===t&&(this.$store.commit("setWorksDetailsCwrPublisherSourceAz",null),this.$store.commit("setWorksDetailsImportCwrSourceShareType",null),this.$store.commit("setWorksDetailsImportCwrTargetShareType",null)),t},isMappingImport:function(){return"mappingImport"===this.getSelectedImportOption},mappingAbbreviations:function(){var t=this,e=this.$store.getters.getMappings,a=[];return e.forEach((function(e){"import"===e.direction&&a.push({value:e.alvId,text:e.abbreviation,alvqa:t.alvqa+"-import-mapping-".concat(e.alvId)})})),a}}),methods:{showAdditionalDialogs:function(){var t=this.$store.getters.getSelectedWorksQualityFilter,e=["lessThan100Share","100Share","noUVZ","withContractChains","0Share","noUvzOfContractingParty"];"noShare"===t?(this.$store.commit("setNoSharesCheckbox",["role"]),this.$store.commit("setShowNoSharesDialog",!0)):e.includes(t)?(this.$store.commit("setNoSharesCheckbox",[]),this.$store.commit("setNoSharesHomeSocietyCheckbox",[]),this.$store.commit("setShowNoSharesDialog",!0)):"distributionSearch"===t?this.$store.commit("setShowDistributionSearchDialog",!0):"yearOfExpiration"===t?this.$store.commit("setShowYearOfExpirationDialog",!0):this.$store.commit("setNoSharesCheckbox",["role"])},contractsFoundSelectedText:function(t,e){var a=t.length+" ";return 0===t.length?(a+=this.$t("lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_CONTRACTS_FOUND"),a):(1===t.length?a+=this.$t("lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_CONTRACT_FOUND"):a+=this.$t("lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_CONTRACTS_FOUND"),a+=", "+e.length+" ",1===e.length?a+=this.$t("lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_CONTRACT_SELECTED"):a+=this.$t("lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_CONTRACTS_SELECTED"),a)},getWorksType:function(t){switch(t.item.type){case"opw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_OPW");case"spw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_SPW");case"upw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_UPW");default:return this.$t("lang_GENERAL_WORK")}},getMappings:function(){this.$store.commit("setSelectedMappingsDomainsFilter","publishing_works"),this.$store.dispatch("fetchMappingsByDomain")}},created:function(){this.$store.commit("setSelectedWorksAction",[]),this.$store.dispatch("fetchCwrSubmitterCode"),this.$store.dispatch("fetchSlgContracts"),this.getMappings()}},Tl=Al,bl=Object(C["a"])(Tl,dn,gn,!1,null,null,null),Pl=bl.exports,Dl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context+"s",alvqa:t.alvqa,cancelIconRoute:"/publishing/works",defaultOpenPanelsArray:t.defaultOpenPanels},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.title)+"\n            ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("v-col",[a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Title",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),alvqa:t.alvqa+"-textfield-title",rules:"required"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ScorePrinting",items:t.scorePrintingItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_SCORE_PRINTING"),alvqa:t.alvqa+"-dropdown-score-printing"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",items:t.languageItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-dropdown-language"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Isrc",label:t.$t("lang_GENERAL_CAPTION_ISRC"),alvqa:t.alvqa+"-textfield-isrc"}})],1),a("v-row",{staticClass:"fill-width"},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FreeRoleSplitMusic",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_FREE_ROLESPLIT_MUSIC"),additionalFunction:t.calculateFreeRoleSplitText,iconTooltipText:t.$t("lang_PUBLISHING_WORKS_TOOLTIP_FREE_ROLESPLIT_MUSIC"),rules:"freeRoleSplitMusic",disabled:t.getDisabledValue,alvqa:t.alvqa+"-textfield-free-rolesplit-music"}}),a("BaseEditPageTextField",{attrs:{context:t.context,field:"FreeRoleSplitText",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_FREE_ROLESPLIT_TEXT"),readonly:!0,disabled:t.getDisabledValue,clearable:!1,alvqa:t.alvqa+"-textfield-free-rolesplit-text"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),readonly:!0,clearable:!1,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SocietyWorkId",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_WORK_ID"),clearable:!0,readonly:!1,alvqa:t.alvqa+"-textfield-society-work-id"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"IceWorkKey",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_ICE_WORK_KEY"),clearable:t.societyWorkIdIsClearable,readonly:t.societyWorkIdIsReadonly,alvqa:t.alvqa+"-textfield-ice-work-key"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Iswc",label:t.$t("lang_GENERIC_CAPTION_ISWC"),clearable:"ghost"===t.getStatus,readonly:"ghost"!==t.getStatus&&"update"!==t.getStatus,alvqa:t.alvqa+"-textfield-iswc"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CatalogueNumber",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_CATALOGUE_NUMBER"),alvqa:t.alvqa+"-textfield-catalogue-number"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ForeignWorkIds",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_FOREIGN_WORK_IDS"),iconTooltipText:t.$t("lang_GENERAL_INFO_MESSAGE_COMMA_SEPARATED"),alvqa:t.alvqa+"-textarea-foreign-work-ids"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"RegistrationDate",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_REGISTRATION_DATE"),disabled:!0,alvqa:t.alvqa+"-datepicker-registration-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"LastUpdated",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_LAST_UPDATED"),disabled:!0,alvqa:t.alvqa+"-datepicker-last-updated"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Duration",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_DURATION"),iconTooltipText:"hh:mm:ss | mm:ss",alvqa:t.alvqa+"-textfield-duration"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.worksTypes,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),alvqa:t.alvqa+"-dropdown-type",clearable:"ghost"===t.getStatus,rules:"ghost"===t.getStatus?"":"required"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"WorkPoints",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_POINTS"),iconTooltipText:t.$t("lang_PUBLISHING_WORKS_TOOLTIP_WORK_POINTS"),alvqa:t.alvqa+"-textfield-work-points"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"NotificationDate",label:t.$t("lang_GENERAL_CAPTION_NOTIFICATION_DATE"),alvqa:t.alvqa+"-datepicker-notification-date"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"LeadingPublisher",items:t.leadingPublisherItems,label:t.$t("lang_PUBLISHING_WORK_LEADING_PUBLISHER"),alvqa:t.alvqa+"dropdown-leading-publisher"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Status",items:t.statusItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"),disabled:t.statusDropdownDisabled,clearable:!1,alvqa:t.alvqa+"dropdown-status",rules:"required"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"IceStatus",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_ICE_STATUS"),disabled:!0,alvqa:t.alvqa+"-textfield-ice-status"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Style",items:t.styleItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_STYLE"),alvqa:t.alvqa+"dropdown-style"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"BackCollection",items:t.backCollectionItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_BACK_COLLECTION"),alvqa:t.alvqa+"dropdown-back-collection",clearable:"ghost"===t.getStatus}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"OldMrSplit",items:t.oldMrSplitItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_OLD_MR_SPLIT"),alvqa:t.alvqa+"dropdown-old-mr-split",clearable:"ghost"===t.getStatus}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tags",label:"Tags",iconTooltipText:t.$t("lang_GENERAL_INFO_MESSAGE_WHITE_SPACE_SEPARATED"),alvqa:t.alvqa+"-textfield-tags"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Favourites",items:t.getDropdownYesNo,label:t.$t("lang_GENERAL_FAVOURITE"),alvqa:t.alvqa+"dropdown-favourites",clearable:!1}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),t._l(t.getShareTypes,(function(e){return a("OriginalSharesEditPanel",{key:e,attrs:{originalShares:t.getOriginalShares[e],typeName:e}})})),a("OriginalSharesEditPanelDialog"),a("InstrumentationEditPanel"),a("InstrumentationEditPanelDialog"),a("AlternativeTitlesEditPanel"),a("AlternativeTitlesEditPanelDialog"),a("OtherPersonsEditPanel"),a("OtherPersonsEditPanelDialog")]},proxy:!0}])})},Nl=[],Rl=a("7618"),xl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-container",{staticClass:"pt-0 pb-0",staticStyle:{"background-color":"var(--v-editPageBackground-base)"},attrs:{fluid:""}},[a("ValidationObserver",{ref:"editForm",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("v-row",{staticClass:"mb-2",staticStyle:{"background-color":"var(--v-editPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline"},[t._t("headline",null,{data:t.data})],2),a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",to:t.cancelIconRoute,disabled:t.isLoading,color:"iconCancelEditForm",alvqa:t.alvqa+"-icon-cancel"}}),t.showPrintBtn?a("BaseButton",{staticClass:"ml-4",attrs:{label:"lang_GENERIC_CAPTION_PRINT",color:"new"===t.$route.params.alvId?"iconCancelEditForm":"buttonStandard",alvqa:t.alvqa+"-icon-print"},on:{click:function(e){return e.stopPropagation(),t.printBtnFunction()}}}):t._e(),a("BaseButton",{staticClass:"ml-4",attrs:{label:"lang_GENERAL_BUTTON_SAVE",disabled:t.isLoading,alvqa:t.alvqa+"-icon-save",abbreviation:t.abbreviation},on:{click:function(e){return n(t.submit)}}})],1)],1),a("v-row",[t._t("editForm",null,{data:t.data})],2)]}}],null,!0)}),a("v-row",[a("v-col",[a("v-expansion-panels",{attrs:{value:t.defaultOpenPanelsArray,multiple:t.openMultiplePanels,focusable:"",tile:"",flat:""}},[t._t("panels")],2)],1)],1)],1)],1)},Ol=[],wl={name:"BaseEditPage",components:{BaseIcon:N,BaseButton:wt},props:{context:String,alvqa:String,cancelIconRoute:{default:"/dashboard",type:String},openMultiplePanels:{default:!0,type:Boolean},defaultOpenPanelsArray:{type:Array,default:function(){return[0]}},showPrintBtn:{default:!1,type:Boolean},printBtnFunction:{type:Function,default:function(){}},abbreviation:{type:String}},computed:{data:function(){return this.$store.getters["get"+this.context+"Details"]},activePanels:{get:function(){return this.$store.getters["get"+this.context+"ActivePanels"]},set:function(t){this.$store.commit("set"+this.context+"ActivePanels",t)}},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}},methods:{submit:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.isLoading=!0,t.next=3,this.$store.dispatch("save"+this.context+"Form");case 3:this.isLoading=!1;case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),generateUniqueFormId:function(){var t=(new Date).getTime(),e="ALV"+t;switch(this.context){case"AzPersons":e+="AP";break;case"Sheet":e+="PS";break;case"PublishingRelease":e+="PR";break;case"Track":e+="LT";break;case"PublishingContract":e+="CP";break;case"LabelContract":e+="CL";break;case"Companies":e+="AG"}return e+="TMP",e}},created:function(){this.isLoading=!0,this.$store._mutations["setIsAllSelected"+this.context]&&this.$store.commit("setIsAllSelected"+this.context,!1),this.$store._mutations["setSelected"+this.context]&&this.$store.commit("setSelected"+this.context,[]);var t=this.generateUniqueFormId();this.$store._mutations["set"+this.context+"UniqueId"]&&this.$store.commit("set"+this.context+"UniqueId",t),this.$store.dispatch("fetch"+this.context+"Details",this.$route.params.alvId),this.$store._actions["prepare"+this.context+"EditFormData"]&&this.$store.dispatch("prepare"+this.context+"EditFormData"),this.isLoading=!1}},Ll=wl,yl=Object(C["a"])(Ll,xl,Ol,!1,null,null,null),ql=yl.exports,kl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-textarea",{class:t.withMargin?"ml-4 mr-4":" v-textarea--base",attrs:{label:t.label,"auto-grow":!0,rows:t.rows,"row-height":"30",alvqa:t.alvqa,"error-messages":n},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.iconTooltipText?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.iconTooltipText))])]},proxy:!0}],null,!0)}):t._e()]},proxy:!0}],null,!0),model:{value:t.textAreaValue,callback:function(e){t.textAreaValue=e},expression:"textAreaValue"}})]}}])})},Bl=[],$l=a("a582"),Gl=a.n($l),Fl={name:"BaseEditPageTextarea",extends:Gl.a,components:{BaseTooltip:T},props:{context:String,field:String,iconTooltipText:{type:String,default:""},alvqa:{type:String,default:""},rules:{type:[Object,String],default:""},rows:{type:String,default:"1"},withMargin:{type:Boolean,default:!0}},computed:{textAreaValue:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){this.$store.commit("set"+this.context+"Details"+this.field,t)}}}},Ul=Fl,Ml=(a("93a2"),Object(C["a"])(Ul,kl,Bl,!1,null,null,null)),Wl=Ml.exports,jl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_WORKS_CAPTION_OTHER_TITLES",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},zl=[],Hl={name:"AlternativeTitlesEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"publishing-works-edit-form-panel-alternative-titles"}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),align:"left",value:"title",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),align:"left",value:"type",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-type"},{text:"",value:"inlineEdit",align:"right",width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getWorksAlternativeTitles},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getType:function(t){var e=Re;if(void 0!==e)return e.find((function(e){return e.value===t})).text},addNewRow:function(){this.$store.commit("setShowWorksAlternativeTitlesEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultWorksAlternativeTitles));this.$store.commit("setWorksAlternativeTitlesEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedWorksAlternativeTitles",t.id),this.$store.commit("setDeletionDialogContext","SelectedWorksAlternativeTitles"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedWorksAlternativeTitles",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setWorksAlternativeTitlesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowWorksAlternativeTitlesEditingDialog",!0)}}},Vl=Hl,Yl=(a("46c0"),Object(C["a"])(Vl,jl,zl,!1,null,null,null)),Kl=Yl.exports,Zl=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_WORKS_CAPTION_OTHER_PERSONS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-name"}},[t._v("\n                    "+t._s(n.name)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},Xl=[],Jl={name:"OtherPersonsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"publishing-works-edit-form-panel-other-persons"}},computed:{headers:function(){return[{text:this.$t("lang_CAPTION_NAME"),align:"left",value:"name",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-name"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),align:"left",value:"type",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-type"},{text:"",value:"inlineEdit",align:"right",width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getWorksOtherPersons},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getType:function(t){var e=xe;if(void 0!==e)return e.find((function(e){return e.value===t})).text},addNewRow:function(){this.$store.commit("setShowWorksOtherPersonsEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultWorksOtherPersons));this.$store.commit("setWorksOtherPersonsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedWorksOtherPersons",t),this.$store.commit("setDeletionDialogContext","SelectedWorksOtherPersons"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedWorksOtherPersons",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setWorksOtherPersonsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowWorksOtherPersonsEditingDialog",!0)}}},Ql=Jl,to=(a("e1af"),Object(C["a"])(Ql,Zl,Xl,!1,null,null,null)),eo=to.exports,ao=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.getPanelHeadline,alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.originalShares,"hide-default-footer":"",loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.azEntity.gemaName+" ("+t.getRolePosition(n.role,n.position)+")",alvqa:t.alvqa+"-list-row-"+i+"-text-name"}})],1),a("div",{staticClass:"ellipsis subtitleGray--text"},[a("BaseTooltip",{attrs:{simpleText:t.getIpiAlvIdForInterestedParty(n),alvqa:t.alvqa+"-list-row-"+i+"-text-ipi"}})],1)]}},{key:"item.pwr",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-uvz"}},[t._v("\n                    "+t._s(t.getPwrCommaSeparated(n.pwr))+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-role"}},[t._v("\n                    "+t._s(n.role)+"\n                ")])]}},{key:"item.societyPrMr",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.showSocietyNames(n.prSociety,n.mrSociety),alvqa:t.alvqa+"-list-row-"+i+"-text-society-pr-mr"}})],1)]}},{key:"item.prPercent",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-percent-own-pr"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.prPercent,"number"))+"\n                ")])]}},{key:"item.mrPercent",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-percent-own-mr"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.mrPercent,"number"))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-list-row-"+i+"-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},no=[],io={name:"OriginalSharesEditPanel",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N,BaseButton:wt},props:{originalShares:Array,typeName:String},data:function(){return{alvqa:"publishing-works-edit-form-panel-original-shares-"+this.typeName}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTY"),value:"name",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-name"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_ROLE"),value:"role",align:"left",width:"80px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_UVZ"),align:"left",value:"pwr",width:"90px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-uvz"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_SOCIETY_PR_MR"),value:"societyPrMr",align:"left",class:"text-no-wrap",sortable:!1,width:"140px",alvqa:this.alvqa+"-header-society-pr-mr"},{text:this.getCaptionPercent("pr"),align:"right",value:"prPercent",class:"text-no-wrap",width:"90px",sortable:!1,alvqa:this.alvqa+"-header-manu-percent-pr"},{text:this.getCaptionPercent("mr"),align:"right",value:"mrPercent",class:"text-no-wrap",width:"90px",sortable:!1,alvqa:this.alvqa+"-header-manu-percent-mr"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},getPanelHeadline:function(){return this.typeName.toUpperCase()+"-"+this.$t("lang_GENERAL_CAPTION_SHARES")},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getRolePosition:function(t,e){var a="";return null!==t&&(a+=t),null!==e&&(a+=e),a},getPwrCommaSeparated:function(t){var e=[];return t.forEach((function(t){if(null===t)return null;e.push(t.role+t.position)})),e.join(", ")},getIpiAlvIdForInterestedParty:function(t){var e="";return""!==t.ipi&&null!==t.ipi&&(e+=t.ipi,""!==t.azEntity.alvId&&null!==t.azEntity.alvId)?(e+=" | "+t.azEntity.alvId,e):""!==t.azEntity.alvId&&null!==t.azEntity.alvId?(e+=t.azEntity.alvId,e):void 0},getInfoCol:function(t){if(this.item.contracts){var e=this.item.contracts.find((function(e){return e.licensor.alvId===t.azEntity.alvId}));return void 0===e?"":e.contractType}return""},showSocietyNames:function(t,e){var a=this.$alvPlugin.getSocietyName(t),n=this.$alvPlugin.getSocietyName(e);return""==a&&""===n?"":a+" | "+n},addNewRow:function(){this.$store.commit("setWorksOriginalSharesDetailsShareType",this.typeName),this.$store.commit("setShowWorksOriginalSharesEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultWorksOriginalShares));this.$store.commit("setWorksOriginalSharesEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedWorksOriginalShares",t.id),this.$store.commit("setDeletionDialogContext","SelectedWorksOriginalShares"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedWorksOriginalShares",t.id);var e=JSON.parse(JSON.stringify(t));e["mrPercent"]=this.$alvPlugin.getNumberLocalization(e["mrPercent"],"number"),e["prPercent"]=this.$alvPlugin.getNumberLocalization(e["prPercent"],"number"),null!==e.azEntity&&this.$store.commit("setWorksOriginalSharesInterestedPartyOptions",[e.azEntity]),this.$store.commit("setWorksOriginalSharesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setWorksOriginalSharesDetailsShareType",this.typeName),this.$store.commit("setShowWorksOriginalSharesEditingDialog",!0)},isUnsaved:function(){var t=this.$store.getters.getWorkDetailsAlvId;return"ALV000000000PW"===t},getCaptionPercent:function(t){var e=this,a=[{text:this.$t("lang_GENERIC_CAPTION_MANU_PERCENT"),value:"manu"},{text:this.$t("lang_GENERIC_CAPTION_ROLE_PERCENT"),value:"role"},{text:this.$t("lang_GENERIC_CAPTION_INTL_PERCENT"),value:"intl"},{text:this.$t("lang_GENERIC_CAPTION_OWN_PERCENT"),value:"own"}],n=[{text:this.$t("lang_PUBLISHING_CAPTION_PERFORMING_RIGHTS_ABBREVIATION"),value:"pr"},{text:this.$t("lang_PUBLISHING_CAPTION_MECHANICAL_RIGHTS_ABBREVIATION"),value:"mr"}],i=a.find((function(t){return t.value===e.typeName}));i=i?i.text:"";var s=n.find((function(e){return e.value===t}));return s=s?s.text:"","".concat(i," ").concat(s)}}},so=io,ro=(a("6b45"),Object(C["a"])(so,ao,no,!1,null,null,null)),lo=ro.exports,oo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Title",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-title"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.alternativeTitlesTypeDropdownItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-type"}})],1)],1)]},proxy:!0}])})},co=[],uo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"editingDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.useDifferentShowDialogProp?t.showSpecificEditDialog:t.showDialog,headline:t.headline,close:t.close,maxDialogWidth:t.maxDialogWidth,maxCardHeight:t.maxCardHeight,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t._t("editForm")],2)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"text-left",attrs:{cols:"7"}},[t._t("checkboxSlot")],2),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{cols:"5"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_SAVE",alvqa:t.alvqa+"-button-save",disabled:t.disabled},on:{click:function(e){return n(t.save)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},go=[],po={name:"EditingDialog",components:{BaseDialog:Pt,BaseButton:wt},props:{context:String,showSnackbar:{type:Boolean,default:!1},snackbarTextLangConst:String,useDifferentShowDialogProp:{default:!1,type:Boolean},useDifferentSaveFunction:{default:!1,type:Boolean},differentSaveFunction:{type:Function,default:function(){}},useAdditionalSaveFunction:{type:Boolean,default:!1},additionalSaveFunction:{type:Function,default:function(){}},additionalAfterSaveFunction:{type:Function,default:function(){}},additionalCloseFunction:{type:Function,default:function(){}},maxDialogWidth:{type:String,default:"800"},maxCardHeight:{type:String,default:"800"},addAtTop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},useRowIndex:{type:Boolean,default:!1}},data:function(){return{alvqa:"editing-dialog"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowEditingDialog},set:function(t){this.$store.commit("setShowEditingDialog",t)}},showSpecificEditDialog:{get:function(){return this.$store.getters["getShow"+this.context+"EditingDialog"]},set:function(t){this.$store.commit("setShow"+this.context+"EditingDialog",t)}},headline:function(){return this.$store.getters.getEditingDialogHeadline}},methods:{close:function(){this.useDifferentShowDialogProp?this.showSpecificEditDialog=!1:this.showDialog=!1;var t=this.$store.getters["getDefault"+this.context];this.$store.commit("set"+this.context+"EditingDialogDetails",t),this.$store.commit("setSelected"+this.context,[]),this.$refs.editingDialog.reset(),this.additionalCloseFunction()},save:function(){if(this.useDifferentSaveFunction)return this.differentSaveFunction(),this.showSnackbar&&this.$store.commit("setSnackbar",{type:"success",msg:this.$t(this.snackbarTextLangConst)}),void this.close();var t,e=this.$store.getters["get"+this.context],a=this.$store.getters["get"+this.context+"EditingDialogDetails"],n=this.$store.getters["getSelected"+this.context],i=0===n.length;i?(a.id=-Math.floor(1e4*Math.random()),this.useAdditionalSaveFunction&&(a=this.additionalSaveFunction(a)),this.addAtTop?e.push(a):e.unshift(a),this.$store.commit("set"+this.context,e)):(t=this.useRowIndex?n:e.findIndex((function(t){return t.id===n})),this.useAdditionalSaveFunction&&(a=this.additionalSaveFunction(a)),Object.assign(e[t],a));this.showSnackbar&&this.$store.commit("setSnackbar",{type:"success",msg:this.$t(this.snackbarTextLangConst)}),this.additionalAfterSaveFunction(),this.close()}}},vo=po,_o=Object(C["a"])(vo,uo,go,!1,null,null,null),ho=_o.exports,mo={name:"AlternativeTitlesEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"WorksAlternativeTitles",alvqa:"publishing-works-edit-form-alternative-titles-panel-editing-dialog"}},computed:{alternativeTitlesTypeDropdownItems:function(){return Re}}},fo=mo,So=Object(C["a"])(fo,oo,co,!1,null,null,null),Eo=So.exports,Io=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_PUBLISHING_WORKS_CAPTION_INSRUMENTATION"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"items-per-page":1e3,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-title"}},[t._v("\n                    "+t._s(t.showInstrumentationTitle(n.title))+"\n                ")])]}},{key:"item.instruments",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-instruments"}},[t._v("\n                    "+t._s(n.instruments)+"\n                ")])]}},{key:"item.musicians",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-musicians"}},[t._v("\n                    "+t._s(n.musicians)+"\n                ")])]}},{key:"item.voices",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.title.toLowerCase()+"-text-voices"}},[t._v("\n                    "+t._s(n.voices)+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},Co=[],Ao={name:"InstrumentationEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"publishing-works-edit-form-panel-instrumentation"}},computed:{listItems:function(){return this.$store.getters.getWorksInstrumentation},headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_ITEM_TITLE"),align:"left",value:"title",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_INSTRUMENTS"),align:"right",value:"instruments",sortable:!1,alvqa:this.alvqa+"-header-instruments"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_MUSICIANS"),align:"right",value:"musicians",sortable:!1,alvqa:this.alvqa+"-header-musicians"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_VOICES"),align:"right",value:"voices",sortable:!1,alvqa:this.alvqa+"-header-voices"},{text:"",value:"inlineEdit",align:"right",width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap"}]}},methods:{addNewRow:function(){this.$store.commit("setShowWorksInstrumentationEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultWorksInstrumentation));this.$store.commit("setWorksInstrumentationEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedWorksInstrumentation",t),this.$store.commit("setDeletionDialogContext","SelectedWorksInstrumentation"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedWorksInstrumentation",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setWorksInstrumentationEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowWorksInstrumentationEditingDialog",!0)},showInstrumentationTitle:function(t){var e=this.$store.getters.getInstrumentations[this.$i18n.locale];void 0===e&&(e=this.$store.getters.getInstrumentations["en"]);var a=e.find((function(e){return e.value===t}));return a.text}},created:function(){this.$store.commit("setInstrumentations")}},To=Ao,bo=Object(C["a"])(To,Io,Co,!1,null,null,null),Po=bo.exports,Do=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,useDifferentShowDialogProp:!0,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",maxCardHeight:"900"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Title",items:t.instrumentationItems,label:t.$t("lang_GENERIC_CAPTION_ITEM_TITLE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-title"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Instruments",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_INSTRUMENTS"),withMargin:!1,rules:"required|positiveinteger",alvqa:t.alvqa+"-textfield-title"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Musicians",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_MUSICIANS"),rules:"positiveinteger",withMargin:!1,alvqa:t.alvqa+"-textfield-musicians"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Voices",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_VOICES"),rules:"positiveinteger",withMargin:!1,alvqa:t.alvqa+"-textfield-voices"}})],1)],1)]},proxy:!0}])})},No=[],Ro={name:"InstrumentationEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"WorksInstrumentation",alvqa:"publishing-works-edit-form-instrumentation-panel-editing-dialog"}},computed:{instrumentationItems:function(){var t=[],e=this.$store.getters.getWorksInstrumentation,a=JSON.parse(JSON.stringify(this.$store.getters.getInstrumentations[this.$i18n.locale]));void 0===a&&(a=this.$store.getters.getInstrumentations["en"]),a.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),a.forEach((function(e){e["disabled"]=!1,e["alvqa"]="dropdown-instrumentation-"+e.value.toLowerCase(),e["text"]=e.text+" ("+e.value+")",t.push(e)}));var n=!0,i=!1,s=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done);n=!0){var o=r.value,c=!0,u=!1,d=void 0;try{for(var g,p=t[Symbol.iterator]();!(c=(g=p.next()).done);c=!0){var v=g.value;o.title===v.value&&(v.disabled=!0)}}catch(_){u=!0,d=_}finally{try{c||null==p.return||p.return()}finally{if(u)throw d}}}}catch(_){i=!0,s=_}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}return t}}},xo=Ro,Oo=Object(C["a"])(xo,Do,No,!1,null,null,null),wo=Oo.exports,Lo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Name",label:t.$t("lang_CAPTION_NAME"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-name"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.otherPersonsTypeDropdownItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-type"}})],1)],1)]},proxy:!0}])})},yo=[],qo={name:"OtherPersonsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"WorksOtherPersons",alvqa:"publishing-works-edit-form-other-persons-panel-editing-dialog"}},computed:{otherPersonsTypeDropdownItems:function(){return xe}}},ko=qo,Bo=Object(C["a"])(ko,Lo,yo,!1,null,null,null),$o=Bo.exports,Go=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,useDifferentShowDialogProp:!0,useDifferentSaveFunction:!0,differentSaveFunction:t.saveFunction,maxCardHeight:"900"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"InterestedParty",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTY"),rules:"required",withFreeText:!1,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-autocomplete-interested-party-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-interested-party-selection"}},[t._v("\n                            "+t._s(n.gemaName)+"\n                            "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                            ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-interested-party-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-interested-party-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-interested-party-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Pwr",items:t.interestedPartiesItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_UVZ"),selection:!0,multiple:!0,withMargin:!1,itemText:"name",itemValue:"id",returnObject:!0,alvqa:t.alvqa+"-dropdown-uvz"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Role",items:t.roleItems,label:t.$t("lang_LABEL_TRACKS_CAPTION_ROLE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Pmr",items:t.zbsItems,label:t.$t("lang_GENERAL_PMR"),selection:!0,multiple:!1,withMargin:!1,itemText:"name",itemValue:"id",returnObject:!0,alvqa:t.alvqa+"-dropdown-pmr"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"PrSociety",items:t.societyItems,label:t.$t("lang_GENERIC_CAPTION_SOCIETY_PR"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-society-pr"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"MrSociety",items:t.societyItems,label:t.$t("lang_GENERIC_CAPTION_SOCIETY_MR"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-society-mr"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PrPercent",label:t.getCaptionPercent("pr"),withMargin:!1,rules:"percentDecimal",disabled:t.showManuFields,alvqa:t.alvqa+"-textfield-manu-percent-pr"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"MrPercent",label:t.getCaptionPercent("mr"),withMargin:!1,rules:"percentDecimal",disabled:t.showManuFields,alvqa:t.alvqa+"-textfield-manu-percent-mr"}})],1)],1)]},proxy:!0}])})},Fo=[],Uo={name:"OriginalSharesEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me},data:function(){return{context:"WorksOriginalShares",alvqa:"publishing-works-edit-form-original-shares-panel-editing-dialog",_shareType:""}},computed:{getOriginalShares:function(){return JSON.parse(JSON.stringify(this.$store.getters.getWorksOriginalShares))},getShareType:function(){return this.$store.getters.getWorksOriginalSharesDetailsShareType},getSelectedItem:function(){return this.$store.getters.getSelectedWorksOriginalShares},zbsItems:function(){var t=[];if(null==this.getShareType)return t;var e=this.getOriginalShares[this.getShareType],a=this.$store.getters.getWorksOriginalSharesDetailsPwr;return e.forEach((function(e){var n=a.find((function(t){return t.id===e.id}));n&&t.push({role:e.role,position:e.position,id:e.id,name:e.name+" ("+e.role+e.position+")"})})),t},roleItems:function(){var t=this,e=De.filter((function(e){return"manu"!=t.getShareType||!["E","SE"].includes(e.text)}));return e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0}))},interestedPartiesItems:function(){var t=this.getShareType,e=[];if(null==t)return e;var a=Object(ft["a"])(this.getOriginalShares[t]);if(0===a.length)return e;var n=this.getSelectedItem;if(0!==n.length){var i=a.findIndex((function(t){return t.id===n}));a.splice(i,1)}return a.forEach((function(t){"E"!==t.role&&"SE"!==t.role||e.push({role:t.role,position:t.position,id:t.id,name:t.name+" ("+t.role+t.position+")"})})),e},societyItems:function(){var t=this,e=this.$store.getters.getSocieties;return e.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-recipient-"+e.value})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},showManuFields:function(){var t=this.$store.getters.getWorksOriginalSharesDetailsRole;return"manu"==this.getShareType&&("E"==t||"SE"==t)}},methods:{saveFunction:function(){var t=this.getShareType;if(null!=t){var e,a=this.getOriginalShares,n=this.$store.getters.getWorksOriginalSharesEditingDialogDetails,i=this.getSelectedItem,s=0===i.length;if(s)n.id=-Math.floor(1e4*Math.random()),a[t].unshift(n),this.$store.commit("setWorksOriginalShares",a);else e=a[t].findIndex((function(t){return t.id===i})),Object.assign(a[t][e],n);this.$store.dispatch("addWorksOriginalShares")}},getCaptionPercent:function(t){var e=this,a=[{text:this.$t("lang_GENERIC_CAPTION_MANU_PERCENT"),value:"manu"},{text:this.$t("lang_GENERIC_CAPTION_ROLE_PERCENT"),value:"role"},{text:this.$t("lang_GENERIC_CAPTION_INTL_PERCENT"),value:"intl"},{text:this.$t("lang_GENERIC_CAPTION_OWN_PERCENT"),value:"own"}],n=[{text:this.$t("lang_PUBLISHING_CAPTION_PERFORMING_RIGHTS_ABBREVIATION"),value:"pr"},{text:this.$t("lang_PUBLISHING_CAPTION_MECHANICAL_RIGHTS_ABBREVIATION"),value:"mr"}],i=a.find((function(t){return t.value===e.getShareType}));i=i?i.text:"";var s=n.find((function(e){return e.value===t}));return s=s?s.text:"","".concat(i," ").concat(s)}},created:function(){this.$store.commit("setSocieties")}},Mo=Uo,Wo=Object(C["a"])(Mo,Go,Fo,!1,null,null,null),jo=Wo.exports,zo={name:"WorksEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,BaseEditPageDatePicker:$r,AlternativeTitlesEditPanel:Kl,OtherPersonsEditPanel:eo,OriginalSharesEditPanel:lo,AlternativeTitlesEditPanelDialog:Eo,InstrumentationEditPanel:Po,InstrumentationEditPanelDialog:wo,OtherPersonsEditPanelDialog:$o,OriginalSharesEditPanelDialog:jo,DeletionDialog:Cs},data:function(){return{context:"Work",statusDropdownDisabled:!1,alvqa:"publishing-works-edit-form"}},computed:{getDisabledValue:function(){for(var t=!0,e=0,a=0,n=this.getOriginalShares,i=0,s=Object.keys(n);i<s.length;i++){var r=s[i],l=!0,o=!1,c=void 0;try{for(var u,d=n[r][Symbol.iterator]();!(l=(u=d.next()).done);l=!0){var g=u.value;"A"===g.role?e++:"C"===g.role&&a++}}catch(p){o=!0,c=p}finally{try{l||null==d.return||d.return()}finally{if(o)throw c}}}return e>0&&a>0?t=!1:(this.$store.commit("setWorkDetailsFreeRoleSplitMusic",null),this.$store.commit("setWorkDetailsFreeRoleSplitText",null)),t},getStatus:function(){return this.$store.getters.getWorkDetailsStatus},societyWorkIdIsReadonly:function(){var t=!0;return"ghost"!==this.getStatus&&null!==this.getStatus||(t=!1),t},societyWorkIdIsClearable:function(){var t=!1;return"ghost"!==this.getStatus&&null!==this.getStatus||(t=!0),t},statusItems:function(){var t=this,e=ye;return e.sort((function(e,a){return t.$t(e.text)>t.$t(a.text)?1:t.$t(a.text)>t.$t(e.text)?-1:0})),e},languageItems:function(){return this.$alvPlugin.getListOfTranslatedLanguages()},leadingPublisherItems:function(){var t,e=this,a=this.$store.getters.getLeadingPublishers;return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-download-leading-publisher-"+t.value}))):t=[],t},styleItems:function(){var t,e=this,a=this.$store.getters["getWorkStyles"][this.$i18n.locale];return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-style-"+t.value.toLowerCase().replace(/ /g,"_")}))):t=[],t},scorePrintingItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_SCORE_PRINTING_DROPDOWN_OPTION_SPD_AVAILABLE"),value:"spdAvailable",alvqa:this.alvqa+"-dropdown-score-printing-spd-available"},{text:this.$t("lang_PUBLISHING_WORKS_SCORE_PRINTING_DROPDOWN_OPTION_NO_SPD_AVAILABLE"),value:"spdNotAvailable",alvqa:this.alvqa+"-dropdown-score-printing-spd-not-available"},{text:this.$t("lang_PUBLISHING_WORKS_SCORE_PRINTING_DROPDOWN_OPTION_PRINTING_INTENDED"),value:"intended",alvqa:this.alvqa+"-dropdown-score-printing-intended"}]},getOriginalShares:function(){var t=this.$store.getters.getWorksOriginalShares;if("object"==Object(Rl["a"])(t)){var e=!0,a=!1,n=void 0;try{for(var i,s=this.getShareTypes[Symbol.iterator]();!(e=(i=s.next()).done);e=!0){var r=i.value;r in t||(t[r]=[])}}catch(l){a=!0,n=l}finally{try{e||null==s.return||s.return()}finally{if(a)throw n}}}return t},backCollectionItems:function(){return be},oldMrSplitItems:function(){return $e},getDropdownYesNo:function(){return be},worksTypes:function(){return qe},getShareTypes:function(){return["manu","role","intl","own"]},defaultOpenPanels:function(){return[]}},methods:{calculateFreeRoleSplitText:function(){var t=this.$store.getters.getWorkDetailsFreeRoleSplitMusic,e="de"===this.$i18n.locale;if(t&&e&&(t=t.toString().replace(",",".")),null==t||t<35.2||t>80.2)this.$store.commit("setWorkDetailsFreeRoleSplitText",null);else{var a=(100-t).toFixed(2);a=e?a.toString().replace(".",","):a.toString().replace(",","."),this.$store.commit("setWorkDetailsFreeRoleSplitText",a)}}},created:function(){this.$store.commit("setLanguages"),this.$store.commit("setWorkStyles")},watch:{"$i18n.locale":{handler:function(t,e){var a=function(e){return e?"de"===t?e.toString().replace(".",","):e.toString().replace(",","."):e},n=a(this.$store.state.works.workDetails.freeRoleSplitMusic),i=a(this.$store.state.works.workDetails.freeRoleSplitText);this.$store.commit("setWorkDetailsFreeRoleSplitMusic",n),this.$store.commit("setWorkDetailsFreeRoleSplitText",i)},immediate:!0}}},Ho=zo,Vo=(a("149b"),Object(C["a"])(Ho,Dl,Nl,!1,null,"2df650b0",null)),Yo=Vo.exports,Ko=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("ExportSheetsDialog"),a("DeletionDialog",{attrs:{context:"SelectedSheets"}}),a("ManageTagsDialog",{attrs:{context:"Sheets",dir:"publishing/sheets",idAttributeName:"alvIds"}}),a("GemaAvRegistrationDialog"),a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_SHEETS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("DropdownFilter",{attrs:{context:t.context+"TypeFilter",label:"lang_PUBLISHING_SHEETS_CAPTION_TYPE",items:t.sheetsTypeOptions,alvqa:t.alvqa+"-list-dropdown-sheet-types-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"YearsFilter",label:"lang_GENERIC_PERIOD_FILTER_OPTION_YEAR",itemText:"text",items:t.sheetsYearsOptions,alvqa:t.alvqa+"-list-dropdown-sheet-years-filter"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("SheetsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.title,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-sheet-title"}})],1),a("td",{staticClass:"no_ellipsis text-left",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-sheet-type"}},[t._v(t._s(t.getSheetType(n.item.type)))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.composers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-composers"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.publishers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-publishers"}})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-when"}},[t._v(t._s(t.getDate(n.item)))]),a("td",{staticClass:"no_ellipsis text-left",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-info"}},[t._v(t._s("film/tv"===n.item.type?t.getFilmSheetInfo(n.item.sheetNumber):t.getMusicSheetInfo(n.item)))])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("SheetReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Zo=[],Xo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Sheets",alvqa:t.alvqa}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Sheets",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_PUBLISHING_SHEETS_BUTTON_CAPTION_NEW_SHEET",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},Jo=[],Qo={name:"SheetsTopSlot",components:{BaseButton:wt,ActionDropdown:Mn,BaseHeaderStats:ti},data:function(){return{editForm:"SheetsEdit",alvqa:"publishing-sheets"}},computed:{actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_EXPORT"),value:"exportSheets",alvqa:this.alvqa+"-list-action-dropdown-export"},{text:this.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_AV_MELDUNG_API"),value:"avGemaJson",alvqa:this.alvqa+"-list-action-dropdown-av_report"},{text:this.$t("lang_GENERIC_CAPTION_COPY"),value:"copy",alvqa:this.alvqa+"-list-action-dropdown-copy"},{text:this.$t("lang_GENERIC_CAPTION_MANAGE_TAGS"),value:"replaceTags",alvqa:this.alvqa+"-list-action-dropdown-manage-tags"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},tc=Qo,ec=Object(C["a"])(tc,Xo,Jo,!1,null,null,null),ac=ec.exports,nc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4 pt-3"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v("\n                        "+t._s("film/tv"===t.item.type?t.$t("lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_FILMTV"):t.$t("lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_SETLIST"))+"\n                    ")]),a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v("\n                        "+t._s(t.item.alvId)+"\n                    ")]),null!==t.item.tag&&""!==t.item.tag?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tag"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tag"}},[t._v("\n                            "+t._s(t.item.tag)+"\n                        ")])]):t._e(),null!==t.item.note&&""!==t.item.note?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-note"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_NOTE"))+":")]),a("div",{staticStyle:{"white-space":"pre"},attrs:{alvqa:t.alvqa+"-note"}},[t._v(t._s(t.item.note)+"\n                        ")])]):t._e()])],1)],1),"film/tv"===t.item.type&&t.showSecondTvSheetTypeCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.productionYear&&""!==t.item.productionYear?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-production-year"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_PRODUCTION_YEAR"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-production-year"}},[t._v("\n                            "+t._s(t.item.productionYear)+"\n                        ")])]):t._e(),null!==t.item.firstBroadcastDate&&void 0!==t.item.firstBroadcastDate&&""!==t.item.firstBroadcastDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-first-broadcast-date"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_FIRST_BROADCAST_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-first-broadcast-date"}},[t._v("\n                            "+t._s(t.getFormattedDate(t.item.firstBroadcastDate))+"\n                        ")])]):t._e(),null!==t.item.sheetNumber&&void 0!==t.item.sheetNumber&&""!==t.item.sheetNumber?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-sheet-number"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-sheet-number"}},[t._v("\n                            "+t._s(t.item.sheetNumber)+"\n                        ")])]):t._e(),0!==t.item.versionTypes.length?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-version-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_VERSION_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-version-type"}},[t._v("\n                            "+t._s(t.getVersionTypes(t.item.versionTypes).join(", "))+"\n                        ")])]):t._e(),0!==t.item.regions.length?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-version-regions"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_REGIONS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-version-regions"}},[t._v("\n                             "+t._s(t.getRegions(t.item.regions).join(", "))+"\n                        ")])]):t._e(),null!==t.item.releaseType&&void 0!==t.item.releaseType&&t.item.releaseType!==[]?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-release-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_RELEASES_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-release-type"}},[t._v("\n                            \n                        "+t._s(t.$alvPlugin.isLangConst(t.item.releaseType.text)?t.$t(t.item.releaseType.text):t.item.releaseType)+"\n                        ")])]):t._e()])],1)],1):t._e(),"setlist"===t.item.type&&t.showSecondMusicSheetTypeCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.setDate&&""!==t.item.setDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-set-date"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-set-date"}},[t._v("\n                            "+t._s(t.getFormattedDate(t.item.setDate))+"\n                        ")])]):t._e(),null!==t.item.setStartTime&&""!==t.item.setStartTime?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-set-start-time"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_START_TIME"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-set-start-time"}},[t._v("\n                            "+t._s(t.item.setStartTime)+"\n                        ")])]):t._e(),null!==t.item.setEndTime&&""!==t.item.setEndTime?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-set-end-time"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_END_TIME"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-set-end-time"}},[t._v("\n                            "+t._s(t.item.setEndTime)+"\n                        ")])]):t._e(),null!==t.item.setType&&""!==t.item.setType?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-set-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-set-type"}},[t._v("\n                            "+t._s(t.getSetType(t.item.setType))+"\n                        ")])]):t._e()])],1)],1):t._e(),"film/tv"===t.item.type&&t.showThirdTvSheetTypeCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.internetValue?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-internet"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_INTERNET"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-internet"}},[t._v("\n                            "+t._s(t.getInternetValue(t.item.internetValue))+"\n                        ")])]):t._e(),null!==t.item.platform&&""!==t.item.platform?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-platform"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_PLATFORM"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-platform"}},[t._v("\n                            "+t._s(t.item.platform)+"\n                        ")])]):t._e(),null!==t.item.provider&&""!==t.item.provider?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-provider"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_PROVIDER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-provider"}},[t._v("\n                            "+t._s(t.item.provider)+"\n                        ")])]):t._e(),null!==t.item.url&&""!==t.item.url?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-url"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_URL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-url"}},[t._v("\n                            "+t._s(t.item.url)+"\n                        ")])]):t._e()])],1)],1):t._e(),"setlist"===t.item.type?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.eventName&&""!==t.item.eventName?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-name"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NAME"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-name"}},[t._v("\n                            "+t._s(t.item.eventName)+"\n                        ")])]):t._e(),null!==t.item.eventType&&""!==t.item.eventType?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-type"}},[t._v("\n                            "+t._s(t.getEventType(t.item.eventType))+"\n                        ")])]):t._e(),null!==t.item.eventVenue&&void 0!==t.item.eventVenue?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-venue"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-venue"}},[t._v("\n                            "+t._s(t.item.eventVenue.name)+"\n                        ")])]):t._e(),null!==t.item.eventVenueSpace&&""!==t.item.eventVenueSpace?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-venue-space"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE_SPACE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-venue-space"}},[t._v("\n                            "+t._s(t.item.eventVenueSpace)+"\n                        ")])]):t._e(),null!==t.item.eventVenueType&&""!==t.item.eventVenueType?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-venue-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-venue-type"}},[t._v("\n                            "+t._s(t.getVenueType(t.item.eventVenueType))+"\n                        ")])]):t._e(),null!==t.item.eventOrganizer&&void 0!==t.item.eventOrganizer?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-event-organizer"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_ORGANIZER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-event-organizer"}},[t._v("\n                            "+t._s(t.item.eventOrganizer.name)+"\n                        ")])]):t._e(),null!==t.item.eventOrganizerYesNo&&""!==t.item.eventOrganizerYesNo?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-event-organizer-yesno"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_ORGANIZER_YESNO"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-event-organizer-yesno"}},[t._v("\n                            "+t._s(t.isEventOrganizer(t.item.eventOrganizerYesNo))+"\n                        ")])]):t._e()])],1)],1):t._e(),"setlist"===t.item.type?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.status&&""!==t.item.status?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-status"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_STATUS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-status"}},[t._v("\n                            "+t._s(t.item.status)+"\n                        ")])]):t._e(),null!==t.item.eventBandleader&&void 0!==t.item.eventBandleader?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-band-leader"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_BANDLEADER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-band-leader"}},[t._v("\n                            "+t._s(t.item.eventBandleader.name)+"\n                        ")])]):t._e(),null!==t.item.eventPerformer&&void 0!==t.item.eventPerformer?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-performer"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_PERFORMER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-performer"}},[t._v("\n                            "+t._s(t.$alvPlugin.showNameOfAzEntry(t.item.eventPerformer,!0))+"\n                        ")])]):t._e(),null!==t.item.eventHighestTicketPrice&&""!==t.item.eventHighestTicketPrice?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-highest-ticket-price"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_HIGHEST_TICKET_PRICE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-highest-ticket-price"}},[t._v("\n                            "+t._s(t.item.eventHighestTicketPrice)+"\n                        ")])]):t._e(),null!==t.item.eventNumberOfConcertgoers&&""!==t.item.eventNumberOfConcertgoers?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-number-of-concert-goers"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NUMBER_OF_CONCERTGOERS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-number-of-concert-goers"}},[t._v("\n                            "+t._s(t.item.eventNumberOfConcertgoers)+"\n                        ")])]):t._e(),null!==t.item.eventNumberOfMusicians&&""!==t.item.eventNumberOfMusicians?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-event-number-of-musicians"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NUMBER_OF_MUSICIANS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-event-number-of-musicians"}},[t._v("\n                            "+t._s(t.item.eventNumberOfMusicians)+"\n                        ")])]):t._e()])],1)],1):t._e()],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("WorksReadOnlyPanel",{attrs:{sheetAlvId:t.item.alvId}}),a("PdfReadonlyPanel",{attrs:{sheetAlvId:t.item.alvId}}),a("SheetDistributionsPanel",{attrs:{sheetAlvId:t.item.alvId}})],1)],1)],1)],1)},ic=[],sc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_CAPTION_WORKS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.listItems,"item-key":"index","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),id:"worksList"},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-title"}},[t._v(t._s(n.title))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.title))]},proxy:!0}],null,!0)})]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-composers"}},[t._v(t._s(n.composers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.composers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-publishers"}},[t._v(t._s(n.publishers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.publishers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.gemaNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-work-id"}},[t._v("\n                    "+t._s(n.gemaNumber)+"\n                ")])]}},{key:"item.workSheetSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-work-sheet-seconds"}},[t._v("\n                    "+t._s(null!==n.workSheetSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSheetSeconds)+" ("+n.workSheetSeconds+")":"")+"\n                ")])]}},{key:"item.workSetlistSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-work-setlist-seconds"}},[t._v("\n                    "+t._s(null!==n.workSetlistSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSetlistSeconds)+" ("+n.workSetlistSeconds+")":"")+"\n                ")])]}},{key:"item.workAvType",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getWorkAvType(n.workAvType)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-av-type"}})],1)]}},{key:"item.workSetlistType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-setlist-type"}},[t._v("\n\n                    "+t._s(t.getSetlistType(n.workSetlistType))+"\n                ")])]}},{key:"item.workCharacteristicType",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getWorkCharacteristicType(n.workCharacteristicType)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-characteristic"}})],1)]}},{key:"item.bigRight",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getBigRight(n.bigRight)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-big-right"}})],1)]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-"+n.id+"-text-status"}},[t._v("\n                "+t._s(t.$t(t.getStatus(n.status)))+"\n                ")])]}}],null,!0)}),t.pages()>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.pages(),color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},rc=[],lc={name:"WorksReadonlyPanel",components:{BasePanel:vi,BaseTooltip:T},props:{sheetAlvId:{type:String}},data:function(){return{alvqa:"publishing-sheets-list-row-"+this.sheetAlvId+"-read-only-panel-works",currentPage:1}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedSheets.find((function(e){return e.alvId===t.sheetAlvId}));return e},listItems:function(){var t=this.item.works,e=(this.currentPage-1)*this.itemsPerPage,a=e+this.itemsPerPage;return t.length<this.itemsPerPage?t:t.slice(e,a)},headers:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-publishers"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"left",sortable:!1,width:"140px",class:"text-no-wrap",alvqa:this.alvqa+"-works-header-work-id"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SECONDS"),value:"film/tv"===this.sheetType?"workSheetSeconds":"workSetlistSeconds",align:"left",sortable:!1,width:"120px",class:"text-no-wrap",alvqa:this.alvqa+"-works-header-duration"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"),value:"film/tv"===this.sheetType?"workAvType":"workSetlistType",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-work-av-type"},{text:this.$t("film/tv"===this.sheetType?"lang_PUBLISHING_SHEETS_CAPTION_CHARACTERISTIC":"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_BIG_RIGHT"),value:"film/tv"===this.sheetType?"workCharacteristicType":"bigRight",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-work-characteristic"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"),value:"status",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-status"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},sheetType:function(){return this.$store.getters.getSheetDetailsType}},methods:{getWorkAvType:function(t){var e=Ge.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getSetlistType:function(t){var e=Fe.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getWorkCharacteristicType:function(t){var e=Ue.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getStatus:function(t){return ye.find((function(e){return e.value===t})).text},getBigRight:function(t){if(null!==t&&void 0!==t){var e=be.find((function(e){return e.value===t}));return this.$t(e.text)}return null},pages:function(){return this.item.works.length<this.itemsPerPage?0:Math.ceil(this.item.works.length/this.itemsPerPage)},nextPage:function(){var t=this;setTimeout((function(){t.$vuetify.goTo("#worksList")}),500)}}},oc=lc,cc=Object(C["a"])(oc,sc,rc,!1,null,null,null),uc=cc.exports,dc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERAL_CAPTION_PDF",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{attrs:{justify:"center"}},[null!==t.item.path?a("v-col",{attrs:{cols:"10"}},[a("iframe",{attrs:{src:t.item.path,frameborder:"0",width:"90%",height:"800px"}})]):a("v-col",{staticClass:"v-data-table__empty-wrapper",attrs:{cols:"10"}},[a("div",{attrs:{alvqa:t.alvqa+"-list-no-data-text"}},[t._v("\n                        "+t._s(t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE"))+"\n                    ")])])],1)],1)]},proxy:!0}])})},gc=[],pc={name:"PdfReadonlyPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},props:{sheetAlvId:{type:String}},data:function(){return{alvqa:"publishing-sheets-list-row-"+this.sheetAlvId+"-read-only-panel-pdf"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedSheets.find((function(e){return e.alvId===t.sheetAlvId}));return e}}},vc=pc,_c=Object(C["a"])(vc,dc,gc,!1,null,null,null),hc=_c.exports,mc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DISTRIBUTION",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.item,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.code_name",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-code-name"}},[t._v("\n                    "+t._s(t.getCodeName(n))+"\n                ")])]}},{key:"item.function",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-function"}},[t._v("\n                    "+t._s(t.getFunction(n.function))+"\n                ")])]}},{key:"item.data",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-data"}},[t._v("\n                    "+t._s(n.data)+"\n                ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-status"}},[t._v("\n                    "+t._s(t.getStatus(n.status))+"\n                ")])]}},{key:"item.distribution_time",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-text-distribution-time"}},[t._v("\n                    "+t._s(t.$d(new Date(n.distribution_time),"alvDateTime"))+"\n                ")])]}},{key:"item.notes",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_DISTRIBUTION_PANEL_CAPTION_PROCESS_ID"))+" "+t._s(n.distribution_id))])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_DISTRIBUTION_PANEL_CAPTION_PROCESS_ID"))+" "+t._s(n.distribution_id))])]},proxy:!0}],null,!0)})],1)]}},{key:"item.download_path",fn:function(e){var n=e.item;return["download_path"in n&&null!==n.download_path?a("BaseIcon",{staticStyle:{"vertical-align":"middle"},attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-file-distribution"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.download_path)}}}):t._e()]}}],null,!0)})]},proxy:!0}])})},fc=[],Sc={name:"WorkDistributionsPanel",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N},props:{sheetAlvId:{type:String}},data:function(){return{alvqa:"publishing-works-list-row-"+this.sheetAlvId+"-read-only-panel-distributions"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedSheets.find((function(e){return e.alvId===t.sheetAlvId})),a=null===e.distributions?[]:e.distributions;return a},headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_TARGET"),align:"left",value:"code_name",sortable:!1,alvqa:this.alvqa+"-header-target"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_FUNCTION"),align:"left",value:"function",sortable:!1,alvqa:this.alvqa+"-header-function"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DATA"),align:"left",value:"data",sortable:!1,alvqa:this.alvqa+"-header-data"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_STATUS"),align:"left",value:"status",sortable:!1,alvqa:this.alvqa+"-header-status"},{text:this.$t("lang_PUBLISHING_WORKS_DISTRIBUTION_PANEL_CAPTION_DATE"),align:"left",value:"distribution_time",sortable:!1,alvqa:this.alvqa+"-header-date"},{text:this.$t("lang_GENERIC_CAPTION_NOTES"),align:"left",value:"notes",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-notes"},{text:this.$t("lang_DOWNLOAD"),align:"left",value:"download_path",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-download"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getStatus:function(t){switch(t){case"sent":return this.$t("lang_GENERIC_CAPTION_SENT");case"submitted":return this.$t("lang_GENERIC_CAPTION_SUBMITTED");case"registered":return this.$t("lang_GENERIC_CAPTION_REGISTERED");case"rejected":return this.$t("lang_GENERIC_CAPTION_REJECTED");case"error":return this.$t("lang_GENERIC_CAPTION_ERROR");case"success":return this.$t("lang_GENERIC_CAPTION_SUCCESSFUL");case"done":return this.$t("lang_GENERIC_CAPTIONS_DONE");default:return""}},getFunction:function(t){switch(t){case"gema-soundfile":return this.$t("lang_GENERIC_CAPTION_SOUNDFILE");case"work-registration":return this.$t("lang_GENERIC_CAPTION_WORK_REGISTRATION");case"work-import-cwr":return this.$t("lang_GENERIC_CAPTION_MANUAL_IMPORT");case"av-registration":return this.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_TYPE_AV_MELDUNG_API");default:return""}},getCodeName:function(t){return t.code_name?t.code_name:t.az_name?t.az_name:""},downloadFile:function(t){null!==t&&(k$.getFileFromALV(t),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}))}}},Ec=Sc,Ic=(a("10a3"),Object(C["a"])(Ec,mc,fc,!1,null,null,null)),Cc=Ic.exports,Ac={name:"SheetReadOnly",components:{BasePanel:vi,BaseButton:wt,BaseTooltip:T,WorksReadOnlyPanel:uc,PdfReadonlyPanel:hc,SheetDistributionsPanel:Cc},props:{itemId:{type:Number}},data:function(){return{alvqa:"publishing-sheets-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedSheets.find((function(e){return e.id===t.itemId}));return e},showSecondTvSheetTypeCard:function(){var t=null!==this.item.productionYear&&""!==this.item.productionYear,e=null!==this.item.firstBroadcastDate&&void 0!==this.item.firstBroadcastDate&&""!==this.item.firstBroadcastDate,a=null!==this.item.sheetNumber&&void 0!==this.item.sheetNumber&&""!==this.item.sheetNumber,n=null!==this.item.versionTypes&&void 0!==this.item.versionTypes&&0!==this.item.versionTypes.length,i=null!==this.item.regions&&void 0!==this.item.regions&&0!==this.item.regions.length,s=null!==this.item.releaseType&&""!==this.item.releaseType;return!!(t||a||e||n||i||s)},showSecondMusicSheetTypeCard:function(){var t=null!==this.item.setDate&&void 0!==this.item.setDate&&""!==this.item.setDate,e=null!==this.item.setStartTime&&void 0!==this.item.setStartTime&&""!==this.item.setStartTime,a=null!==this.item.setEndTime&&void 0!==this.item.setEndTime&&""!==this.item.setEndTime,n=null!==this.item.setType&&void 0!==this.item.setType&&""!==this.item.setType;return!!(t||e||a||n)},showThirdTvSheetTypeCard:function(){var t=null!==this.item.internetValue,e=null!==this.item.provider,a=null!==this.item.platform,n=null!==this.item.url;return!!(e||a||n||t)}},methods:{getVersionTypes:function(t){var e=this,a=[];return t.forEach((function(t){a.push(e.$t(t.text))})),a},getRegions:function(t){var e=this,a=[];return t.forEach((function(t){a.push(e.$t(t.text))})),a},getEventType:function(t){var e=Ye,a=e.find((function(e){return e.value===t})).text;return this.$t(a)},getVenueType:function(t){var e=Ze,a=e.find((function(e){return e.value===t})).text;return this.$t(a)},getSetType:function(t){var e=Ke,a=e.find((function(e){return e.value===t})).text;return this.$t(a)},isEventOrganizer:function(t){var e=be,a=e.find((function(e){return e.value===t})).text;return this.$t(a)},getFormattedDate:function(t){return null===t||void 0===t||""===t?"":this.$d(new Date(t),"alvDateFormat")},getInternetValue:function(t){var e=Me.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):null}}},Tc=Ac,bc=(a("3746"),Object(C["a"])(Tc,nc,ic,!1,null,null,null)),Pc=bc.exports,Dc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showExportSheetsDialog,maxDialogWidth:"750",maxCardHeight:"800",headline:"lang_GENERIC_CAPTION_EXPORT",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[!1===t.allowExport?a("v-container",[a("v-row",[a("v-col",{attrs:{alvqa:"action-export-film-tv-notice"}},[t._v(t._s(t.$t("lang_PUBLISHING_SHEETS_ACTION_EXPORT_FILMTV_NOTICE")))])],1)],1):a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.typeItems,label:t.$t("lang_PUBLISHING_WORKS_CAPTION_TYPE"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,alvqa:t.alvqa+"-dropdown-type"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("span",[a("BaseButton",{attrs:{label:"lang_BUTTON_START",disabled:t.isLoading||!1===t.allowExport,alvqa:t.alvqa+"-button-start"},on:{click:t.start}})],1)])],1)],1)]},proxy:!0}])})},Nc=[],Rc={name:"ExportSheetsDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageDropdown:me},data:function(){return{context:"ExportSheets",alvqa:"publishing-sheets-list-dialog-export-sheets"}},computed:{showExportSheetsDialog:{get:function(){return this.$store.getters.getShowExportSheetsDialog},set:function(t){this.$store.commit("setShowExportSheetsDialog",t)}},isLoading:function(){return this.$store.getters.getIsLoading},typeItems:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_ACTION_EXPORT_DIALOG_TYPE_CONCERT_DATE_NOTIFICATION"),value:"concert",alvqa:this.alvqa+"-dropdown-type-concert-date-notification"},{text:this.$t("lang_PUBLISHING_SHEETS_ACTION_EXPORT_DIALOG_TYPE_SETLIST"),value:"setlist",alvqa:this.alvqa+"-dropdown-type-setlist"}]},allowExport:function(){var t=0!==this.$store.getters.getSelectedSheets.length?this.$store.getters.getSelectedSheets[0]:"",e=this.$store.getters.getSheets;if(""!==t&&void 0!==t&&null!==t){var a=e.find((function(e){return e.alvId===t}));return"film/tv"!==a.type&&void 0!==a.type&&null!==a.type}}},methods:{closeDialog:function(){this.showExportSheetsDialog=!1,this.clearButtons()},clearButtons:function(){this.$store.commit("setExportSheetsDetailsType",[])},start:function(){this.$store.dispatch("exportSelectedSheets")}}},xc=Rc,Oc=Object(C["a"])(xc,Dc,Nc,!1,null,null,null),wc=Oc.exports,Lc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showGemaAvRegistrationDialog,maxDialogWidth:"750",maxCardHeight:"800",headline:"lang_PUBLISHING_SHEETS_AV_REGISTRATION_DIALOG_HEADLINE",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("span",[t._v(t._s(t.dialogText))])]),t.reportLink?a("v-col",{attrs:{cols:"12"}},[a("a",{attrs:{href:t.reportLink,target:"_blank"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD")))])]):t._e()],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[t.gemaProgress?a("span",{staticClass:"pr-3"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-remove-se"}})],1):t._e(),a("span",[a("BaseButton",{attrs:{label:"lang_PUBLISHING_WORKS_WORK_REGISTRATION_CAPTION_SEND",disabled:t.isLoading||!1===t.allowSend,alvqa:t.alvqa+"-button-send"},on:{click:t.send}})],1)])],1)],1)]},proxy:!0}])})},yc=[],qc={name:"GemaAvRegistrationDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageDropdown:me},data:function(){return{context:"GemaAvRegistration",alvqa:"publishing-sheets-list-dialog-gema-av-registration"}},computed:{showGemaAvRegistrationDialog:{get:function(){return this.$store.getters.getShowGemaAvRegistrationDialog},set:function(t){this.$store.commit("setShowGemaAvRegistrationDialog",t)}},reportLink:{get:function(){return this.$store.getters.getGemaAvRegistrationDialogReportLink},set:function(t){this.$store.commit("setGemaAvRegistrationDialogReportLink",t)}},dialogText:function(){var t=this.$store.getters.getGemaAvRegistrationDialogText;return t.includes("lang")?this.$t(t):t},isLoading:function(){return this.$store.getters.getIsLoading},allowSend:function(){return this.$store.getters.getGemaAvRegistrationDialogAllowSend},gemaProgress:function(){return this.$store.getters.getIsLoading}},methods:{closeDialog:function(){this.showGemaAvRegistrationDialog=!1,this.reportLink=null,this.$store.commit("setGemaAvRegistrationDialogText","lang_PUBLISHING_SHEETS_AV_REGISTRATION_DIALOG_TEXT_DEFAULT")},send:function(){this.$store.dispatch("createAvGemaJson","sendJson")}}},kc=qc,Bc=Object(C["a"])(kc,Lc,yc,!1,null,null,null),$c=Bc.exports;function Gc(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Fc(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Gc(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Gc(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var Uc={name:"SheetsList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,SheetsTopSlot:ac,SheetReadOnly:Pc,ExpandIcon:is,DropdownFilter:us,SelectionRequiredDialog:hs,DeletionDialog:Cs,ManageTagsDialog:Fs,ExportSheetsDialog:wc,GemaAvRegistrationDialog:$c},data:function(){return{context:"Sheets",alvqa:"publishing-sheets"}},computed:Fc({},Object(u["c"])(["getSheetsSearch"]),{sheetsTypeOptions:function(){return We},sheetsYearsOptions:function(){for(var t=[],e=(new Date).getFullYear()+1,a=e;a>=2008;a--)t.push({text:a.toString(),value:a,alvqa:this.alvqa+"-dropdown-period-selector-years-"+a});return t},headers:function(){return[{text:"",value:"data-table-select",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"),value:"type",align:"left",sortable:!1,width:"150px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_WHEN"),value:"when",align:"right",sortable:!1,width:"100px",class:"text-no-wrap"},{text:this.$t("lang_CAPTION_INFO"),value:"info",align:"left",sortable:!1,width:"300px",class:"text-no-wrap"},{text:"",value:"ghost",sortable:!1,width:"1%",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}}),methods:{getSheetType:function(t){return"film/tv"===t?this.$t("lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_FILMTV"):"setlist"===t?this.$t("lang_PUBLISHING_SHEETS_DROPDOWN_TYPE_SETLIST"):this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")},getFilmSheetInfo:function(t){return null!==t&&void 0!==t&&""!==t||(t=this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),this.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER_ABBREVIATION")+" "+t},getFormattedDate:function(t){return null===t||void 0===t||""===t?"":this.$d(new Date(t),"alvDateFormat")},getDate:function(t){return"film/tv"===t.type?t.productionYear:"setlist"===t.type?this.getFormattedDate(t.setDate):this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")},getMusicSheetInfo:function(t){var e=t.eventPerformer,a=t.eventVenue;return e=""===e||null===e||null===e.name||""===e.name?this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):e.name,a=""===a||null===a||null===a.city||""===a.city?this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):a.city,e+" | "+a}}},Mc=Uc,Wc=Object(C["a"])(Mc,Ko,Zo,!1,null,null,null),jc=Wc.exports,zc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("BaseEditPage",{attrs:{context:t.context+"s",alvqa:t.alvqa,cancelIconRoute:"/publishing/sheets"},scopedSlots:t._u([{key:"headline",fn:function(e){var a=e.data;return[n("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(a.title?a.title:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")])]}},{key:"editForm",fn:function(){return[n("PdfUploadDialog"),n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("v-col",["film/tv"==t.getSheetsType?n("v-img",{staticClass:"avatar-300",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image",src:a("25e2")}}):n("v-img",{staticClass:"avatar-300",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image",src:a("cf63")}})],1)],1)],1),n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Title",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_TITLE"),alvqa:t.alvqa+"-textfield-title",rules:"required"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Tag",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tag"}})],1),n("v-row",[n("BaseEditPageTextarea",{attrs:{context:t.context,field:"Note",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_NOTE"),alvqa:t.alvqa+"-textarea-note"}})],1)],1),n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),clearable:!1,readonly:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.sheetsTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"),clearable:!1,selection:!0,rules:"required",disabled:"new"===t.$route.params.alvId,alvqa:t.alvqa+"-dropdown-type"}})],1),"film/tv"==t.getSheetsType?n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"CompletenessCuesheetYesNo",items:t.completenessCuesheetYesNo,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_COMPLETENESS_CUESHEET_YESNO"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type-completeness-cuesheet-yesno"}})],1):t._e(),"film/tv"==t.getSheetsType?n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"CommissionedWorkYesNo",items:t.commissionedWorkYesNo,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_COMMISSIONED_WORK_YESNO"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type-commissioned-work-yesno"}})],1):t._e(),"film/tv"==t.getSheetsType?n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"CommissioningChannel",items:t.commissioningChannels,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_COMMISSIONING_CHANNEL"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type-commissioning-channel"}})],1):t._e()],1),"film/tv"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"ProductionYear",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_PRODUCTION_YEAR"),rules:"sheetProductionYearBetween|sheetValidProductionYear",rules:t.isProductionYearRequired,alvqa:t.alvqa+"-textfield-production-year"}})],1),n("v-row",[n("BaseEditPageDatePicker",{attrs:{context:t.context,field:"FirstBroadcastDate",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_FIRST_BROADCAST_DATE"),alvqa:t.alvqa+"-datepicker-first-broadcast-date"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"AvType",items:t.sheetsAvTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_AV_TYPE"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-av-type"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"AvFirstExploitation",items:t.sheetsAvFirstExploitationOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_AV_FIRST_EXPLOITATION"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-av-first-exploitation"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"AvMessageType",items:t.sheetsAvMessageTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_AV_MESSAGE_TYPE"),clearable:!0,selection:!0,alvqa:t.alvqa+"-dropdown-av-message-type"}})],1)],1):"setlist"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageDatePicker",{attrs:{context:t.context,field:"SetDate",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_DATE"),alvqa:t.alvqa+"-datepicker-setlist-set-date"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"SetStartTime",label:t.getSetTimeCaption("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_START_TIME"),alvqa:t.alvqa+"-textfield-setlist-set-start-time",rules:"timeHoursMinutes|required"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"SetEndTime",label:t.getSetTimeCaption("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_END_TIME"),alvqa:t.alvqa+"-textfield-setlist-set-end-time",rules:"timeHoursMinutes|required"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"SetType",items:t.sheetsSetTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_SET_TYPE"),selection:!0,clearable:!1,alvqa:t.alvqa+"-dropdown-setlist-set-type"}})],1)],1):t._e(),"film/tv"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"SheetNumber",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER"),rules:"notZero",alvqa:t.alvqa+"-textfield-sheet-number"}})],1),n("v-row",[n("BaseEditPageCombobox",{attrs:{context:t.context,field:"VersionType",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_VERSION_TYPE"),multiple:!0,alvqa:t.alvqa+"-autocomplete-version-type"}})],1),n("v-row",[n("BaseEditPageCombobox",{attrs:{context:t.context,field:"Regions",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_REGIONS"),multiple:!0,alvqa:t.alvqa+"-autocomplete-regions"}})],1),n("v-row",[n("BaseEditPageCombobox",{attrs:{context:t.context,field:"CarrierType",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_RELEASES_TYPE"),alvqa:t.alvqa+"-autocomplete-carrier-type"}})],1)],1):"setlist"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"EventName",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NAME"),alvqa:t.alvqa+"-textfield-setlist-event-name"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"EventType",items:t.sheetsEventTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_TYPE"),selection:!0,clearable:!1,alvqa:t.alvqa+"-dropdown-setlist-event-type"}})],1),n("v-row",[n("v-col",{staticClass:"pa-0 ma-0",attrs:{cols:"10"}},[n("BaseReadOnlyTextField",{attrs:{innerValue:t.getVenue,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE"),alvqa:t.alvqa+"-textfield-venue-name"}})],1),n("v-col",{staticClass:"justify-end d-flex ml-0 pl-0",attrs:{cols:"2"}},[n("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-edit-venue-name",icon:t.isVenueConnected?"delete":"edit",tooltipText:t.isVenueConnected?"lang_GENERIC_CAPTION_DELETE":"lang_PUBLISHING_SHEETS_CAPTION_CONNECT_VENUE"},on:{click:function(e){return t.editConnectedVenue()}}})],1)],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"EventVenueSpace",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE_SPACE"),alvqa:t.alvqa+"-textfield-setlist-event-venue-space",rules:"required"}})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"EventVenueType",items:t.sheetsVenueTypeOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE_TYPE"),alvqa:t.alvqa+"-dropdown-setlist-event-venue-type",clearable:!1}})],1),n("v-row",[n("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"EventOrganizer",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_ORGANIZER"),withFreeText:!1,rules:"required",alvqa:t.alvqa+"-autocomplete-setlist-event-organizer"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[n("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-organizer-selection"}},[t._v("\n                                "+t._s(a.name)+"\n                            ")])]}},{key:"items",fn:function(e){var a=e.items;return[n("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-organizer-dropdown-"+a.alvId}},[n("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-organizer-dropdown-"+a.alvId+"-title"}},[t._v("\n                                    "+t._s(a.name)+"\n                                        "),n("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(a.typeOfAz))])],1),n("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-organizer-dropdown-"+a.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(a.alvId)+"                                      \n                                ")])],1)]}}])})],1),n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"EventOrganizerYesNo",items:t.eventOrganizerYesNoItems,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_ORGANIZER_YESNO"),alvqa:t.alvqa+"-dropdown-setlist-event-organizer-yesno",clearable:!1,rules:"required"}})],1)],1):t._e(),"film/tv"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageDropdown",{attrs:{context:t.context,field:"Internet",items:t.internetOptions,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_INTERNET"),selection:!0,alvqa:t.alvqa+"-dropdown-internet"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Platform",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_PLATFORM"),alvqa:t.alvqa+"-textfield-platform"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Provider",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_PROVIDER"),alvqa:t.alvqa+"-textfield-provider"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Url",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_URL"),alvqa:t.alvqa+"-textfield-url"}})],1)],1):"setlist"==t.getSheetsType?n("v-col",{attrs:{cols:"2"}},[n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"Status",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_STATUS"),alvqa:t.alvqa+"-textfield-setlist-status"}})],1),n("v-row",[n("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"EventBandleader",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_BANDLEADER"),withFreeText:!1,rules:"required",alvqa:t.alvqa+"-autocomplete-setlist-event-bandleader"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[n("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-bandleader-selection"}},[t._v("\n                                "+t._s(a.name)+"\n                            ")])]}},{key:"items",fn:function(e){var a=e.items;return[n("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-bandleader-dropdown-"+a.alvId}},[n("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-bandleader-dropdown-"+a.alvId+"-title"}},[t._v("\n                                    "+t._s(a.name)+"\n                                        "),n("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(a.typeOfAz))])],1),n("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-bandleader-dropdown-"+a.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(a.alvId)+"                                      \n                                ")])],1)]}}])})],1),n("v-row",[n("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"EventPerformer",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_PERFORMER"),withFreeText:!1,rules:"required",alvqa:t.alvqa+"-autocomplete-setlist-event-performer"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[n("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-performer-selection"}},[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(a,!0))+"\n                            ")])]}},{key:"items",fn:function(e){var a=e.items;return[n("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-performer-dropdown-"+a.alvId}},[n("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-performer-dropdown-"+a.alvId+"-title"}},[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(a,!1))+"\n                                        "),n("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(a.typeOfAz))])],1),n("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-setlist-event-performer-dropdown-"+a.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(a.alvId)+"                                      \n                                ")])],1)]}}])})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"EventHighestTicketPrice",rules:"integer|rangeinteger_1-9999",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_HIGHEST_TICKET_PRICE"),alvqa:t.alvqa+"-textfield-setlist-event-highest-ticket-price"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"EventNumberOfConcertgoers",rules:"integer",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NUMBER_OF_CONCERTGOERS"),alvqa:t.alvqa+"-textfield-setlist-event-number-of-concertgoers"}})],1),n("v-row",[n("BaseEditPageTextField",{attrs:{context:t.context,field:"EventNumberOfMusicians",rules:"integer",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_NUMBER_OF_MUSICIANS"),alvqa:t.alvqa+"-textfield-setlist-event-number-of-musicians"}})],1)],1):t._e()]},proxy:!0},{key:"panels",fn:function(){return[n("ConnectVenueToSheetDialog"),n("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),n("WorksPanel"),n("WorksEditPanelDialog"),n("SheetsWorksPanelAddWorksDialog"),n("PdfSheetPanel")]},proxy:!0}])})},Hc=[],Vc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-combobox",{staticClass:"ml-4 mr-4",attrs:{items:t.options,label:t.label,multiple:t.multiple,clearable:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item,i=e.index;return[0===i?a("span",{attrs:{alvqa:t.alvqa+"-selection"}},[t.checkIfString(n)?a("span",[t._v(t._s(n))]):a("span",[t._v(t._s(t.$t(n.text)))])]):t._e(),1===i?a("span",{attrs:{alvqa:t.alvqa+"-selection"}},[t._v(" (+"+t._s(t.selected.length-1)+" "+t._s(t.$t("lang_GENERIC_CAPTION_OTHERS"))+")")]):t._e()]}},{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-dropdown-"+n.value}},[t.checkIfString(n)?a("span",[t._v(t._s(n))]):a("span",[t._v(t._s(t.$t(n.text)))])])]}}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})},Yc=[],Kc={name:"BaseEditPageCombobox",extends:Hs.a,props:{context:String,field:String,alvqa:{type:String,default:""}},computed:{selected:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){this.$store.commit("set"+this.context+"Details"+this.field,t)}},options:function(){return this.$store.getters["get"+this.context+this.field+"Options"]}},methods:{checkIfString:function(t){return"string"===typeof t}}},Zc=Kc,Xc=Object(C["a"])(Zc,Vc,Yc,!1,null,null,null),Jc=Xc.exports,Qc=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-text-field",{staticClass:"ml-4 mr-4",attrs:{"error-messages":n,label:t.label,suffix:t.suffix,disabled:!1,clearable:!1,readonly:!0,alvqa:t.alvqa},scopedSlots:t._u([{key:"append",fn:function(){return[""!==t.iconTooltipText?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.iconTooltipText))])]},proxy:!0}],null,!0)}):t._e()]},proxy:!0}],null,!0),model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})]}}])})},tu=[],eu={name:"BaseReadOnlyTextField",extends:kt.a,components:{BaseTooltip:T},props:{innerValue:String|Number,iconTooltipText:{type:String,default:""},alvqa:{type:String,default:""},field:String,rules:{type:[Object,String],default:""}}},au=eu,nu=Object(C["a"])(au,Qc,tu,!1,null,null,null),iu=nu.exports,su=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_CAPTION_WORKS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"item-key":"index","hide-default-footer":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.title,alvqa:t.alvqa+"-list-row-"+n.alvId+"-title"}})],1)]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.composers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.alvId+"-composers"}})],1)]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.publishers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.alvId+"-publishers"}})],1)]}},{key:"item.gemaNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-gema-number"}},[t._v("\n                    "+t._s(n.gemaNumber)+"\n                ")])]}},{key:"item.workSheetSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-sheet-seconds"}},[t._v("\n                    "+t._s(null!==n.workSheetSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSheetSeconds)+" ("+n.workSheetSeconds+")":"")+"\n                ")])]}},{key:"item.workSetlistSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-setlist-seconds"}},[t._v("\n                    "+t._s(null!==n.workSetlistSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSetlistSeconds)+" ("+n.workSetlistSeconds+")":"")+"\n                ")])]}},{key:"item.workAvType",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getWorkAvType(n.workAvType)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-av-type"}})],1)]}},{key:"item.workSetlistType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-setlist-type"}},[t._v("\n                    "+t._s(t.getSetlistType(n.workSetlistType))+"\n                ")])]}},{key:"item.workCharacteristicType",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getWorkCharacteristicType(n.workCharacteristicType)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-work-characteristic-type"}})],1)]}},{key:"item.bigRight",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-big-right"}},[t._v("\n                    "+t._s(t.getBigRight(n.bigRight))+"\n                ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$t(t.getStatus(n.status)),alvqa:t.alvqa+"-list-row-"+n.alvId+"-text-status"}})],1)]}},{key:"item.delete",fn:function(e){var n=e.index;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+n+"-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n,i)}}})]}}],null,!0)})]},proxy:!0}])})},ru=[],lu={name:"WorksPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt,BaseTooltip:T},data:function(){return{alvqa:"publishing-sheets-edit-form-panel-works"}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-publishers"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"left",sortable:!1,width:"140px",alvqa:this.alvqa+"-header-gema-number"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_DURATION"),value:"film/tv"===this.sheetType?"workSheetSeconds":"workSetlistSeconds",align:"left",sortable:!1,width:"120px",alvqa:this.alvqa+"-header-work-sheet-seconds"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"),value:"film/tv"===this.sheetType?"workAvType":"workSetlistType",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-work-av-type"},{text:this.$t("film/tv"===this.sheetType?"lang_PUBLISHING_SHEETS_CAPTION_CHARACTERISTIC":"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_BIG_RIGHT"),value:"film/tv"===this.sheetType?"workCharacteristicType":"bigRight",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-work-characteristic-type"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"),value:"status",align:"left",sortable:!1,width:"100px",alvqa:this.alvqa+"-header-status"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1}]},listItems:function(){return this.$store.getters.getSheetsWorks},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},sheetType:function(){return this.$store.getters.getSheetDetailsType}},methods:{addNewRow:function(){this.$store.commit("setShowConnectWorksToSheetDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedSheetWork",t),this.$store.commit("setDeletionDialogContext","SelectedSheetWork"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t,e){this.$store.commit("setSelectedSheetsWorks",e);var a=JSON.parse(JSON.stringify(t));this.$store.commit("setSheetsWorksEditingDialogDetails",a),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)},getStatus:function(t){if(null===t)return"";var e=ye.find((function(e){return e.value===t}));return void 0!==e?e.text:""},getWorkAvType:function(t){var e=Ge.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getSetlistType:function(t){var e=Fe.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getWorkCharacteristicType:function(t){var e=Ue.find((function(e){return e.value===t}));if(void 0!==e)return e.text},getBigRight:function(t){if(null!==t&&void 0!==t){var e=be.find((function(e){return e.value===t}));return this.$t(e.text)}return null}}},ou=lu,cu=(a("c704"),Object(C["a"])(ou,su,ru,!1,null,null,null)),uu=cu.exports,du=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERAL_CAPTION_PDF",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{attrs:{justify:"center"}},[null!==t.pdfPath?a("v-col",{attrs:{cols:"10"}},[a("iframe",{attrs:{src:t.pdfPath,frameborder:"0",width:"90%",height:"800px"}})]):t._e(),null!==t.pdfPath?a("v-col",{attrs:{cols:"1"}},[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-icon-delete"},on:{click:t.deletePdf}})],1):a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{staticClass:"text-center",attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_UPLOAD_PDF",alvqa:t.alvqa+"-button-upload-pdf"},on:{click:t.openUploadialog}})],1)],1)],1)]},proxy:!0}])})},gu=[],pu={name:"PdfSheetPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"publishing-sheets-edit-form-panel-pdf"}},computed:{pdfPath:function(){return this.$store.getters.getSheetsPdfPath}},methods:{openUploadialog:function(){var t=this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" "+this.$t("lang_PUBLISHING_SHEETS_DIALOG_SHEET_FILE")+". <br />"+this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE").replace("<join>","PDF/ZIP");this.$store.commit("setUploadPDFDialogText",t),this.$store.commit("setShowUploadPDFDialog",!0)},deletePdf:function(){this.$store.commit("setDeletionDialogContext","SheetPdf"),this.$store.commit("setShowDeletionDialog",!0)}}},vu=pu,_u=Object(C["a"])(vu,du,gu,!1,null,null,null),hu=_u.exports,mu=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showUploadPDFDialog,maxDialogWidth:"600",headline:"lang_GENERAL_FILE_IMPORT_DIALOG_TITLE_UPLOAD_FILE",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1),t.showProgressbar?a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{height:"25",color:"dialogProgressbar",alvqa:t.alvqa+"-upload-progressbar"},model:{value:t.progressbarValue,callback:function(e){t.progressbarValue=e},expression:"progressbarValue"}})],1)],1):t._e()],1)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[t.showUploadActions?a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-form",{model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[a("v-row",[a("v-col",{attrs:{cols:"7"}},[a("v-file-input",{staticClass:"pr-6",attrs:{label:t.$t("lang_GENERAL_CAPTION_SELECT_FILE"),rules:t.rules,"show-size":"",alvqa:t.alvqa+"-file-input"},on:{change:function(e){t.fileExt=t.$alvPlugin.extractFileExt(t.file)},"click:clear":function(e){return t.resetVal()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.valid||!t.file,label:"lang_GENERAL_BUTTON_UPLOAD_FILE",alvqa:t.alvqa+"-button-upload"},on:{click:t.submitFile}})],1)],1)],1)],1)],1):t._e()]},proxy:!0}])})},fu=[],Su={name:"PdfUploadDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){var t=this;return{alvqa:"publishing-sheets-edit-form-panel-pdf-dialog-upload-pdf",showProgressbar:!1,showUploadActions:!0,progressbarValue:0,file:null,fileExt:"",valid:!1,formData:new FormData,rules:[function(e){return!e||"pdf"===t.fileExt||"zip"===t.fileExt||t.$t("lang_GENERAL_DIALOG_TEXT_INVALID_FORMAT")}]}},computed:{showUploadPDFDialog:{get:function(){return this.$store.getters.getShowUploadPDFDialog},set:function(t){this.$store.commit("setShowUploadPDFDialog",t)}},dialogText:{get:function(){return this.$store.getters.getUploadPDFDialogText},set:function(t){this.$store.commit("setUploadPDFDialogText",t)}}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_FILE_IS_BEING_UPLOADED"),this.formData.append("file",this.file),this.showUploadActions=!1,this.showProgressbar=!0,e=this.$store.getters.getSheetDetailsAlvId,t.next=7,k$.putFile("publishing/sheets/"+e,this.formData,"?type=pdf");case 7:a=t.sent,-1===a.error?(this.progressbarValue=100,this.$store.dispatch("fetchSheetsPdf"),this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_UPLOAD_SUCCESS")):this.dialogText=this.$alvPlugin.isLangConst(a.response.errorMsg)?this.$t(a.response.errorMsg):a.response.errorMsg,this.dialogText+="<br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG");case 10:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),closeDialog:function(){this.showUploadPDFDialog=!1,this.showUploadActions=!0,this.showProgressbar=!1,this.file=null,this.progressbarValue=0,this.dialogText=""}}},Eu=Su,Iu=Object(C["a"])(Eu,mu,fu,!1,null,null,null),Cu=Iu.exports,Au=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"connectVenueToSheetDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:t.headline,close:t.close,maxDialogWidth:"800",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showVenueFields?t.showVenueFields?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.venueContext,field:"VenueName",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE"),rules:"required",withMargin:!1,clearable:!1,disabled:!t.createNew,alvqa:t.alvqa+"-textfield-venue-name"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.venueContext,field:"AddressRow1",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-address-row-one"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.venueContext,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-city"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.venueContext,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-zip"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.venueContext,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1)],1):t._e():a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"10"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-left",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",[a("BaseHeaderStats",{attrs:{context:t.context,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"ConnectVenueToSheetDialog"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                    0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                    ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:!1},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e){return a("v-list-item",{key:e.alvId,attrs:{value:e,alvqa:t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e)}}},[a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-name"}},[t._v("\n                                    "+t._s(e.name)+" ("+t._s(e.alvId)+")\n                                ")]),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(e.addressRow1)+", "+t._s(e.zip)+" "+t._s(e.city)+", "+t._s(t.$alvPlugin.getTranslatedCountryName(e.country))+"\n                                ")])],1)],1)})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.showVenueFields?a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-back"},on:{click:function(e){return t.backToSearch()}}})],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_SAVE_AND_CONNECT",alvqa:t.alvqa+"-button-save-connect"},on:{click:function(e){return n(t.connectAndSaveVenue)}}})],1)],1):a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:0!==t.selectedVenue.length,label:"lang_PUBLISHING_SHEETS_CAPTION_CREATE_VENUE",alvqa:t.alvqa+"-button-create"},on:{click:function(e){return t.editVenue(!0)}}})],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:0===t.selectedVenue.length,label:"lang_PUBLISHING_SHEETS_CAPTION_SELECT_VENUE",alvqa:t.alvqa+"-button-select"},on:{click:function(e){return t.editVenue()}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},Tu=[],bu={name:"ConnectVenueToSheetDialog",components:{BaseDialog:Pt,SearchFilter:Nn,BaseIcon:N,BaseHeaderStats:ti,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{alvqa:"publishing-sheets-edit-form",showSearchResult:!1,items:[],selected:[],context:"VenueForSheets",showVenueFields:!1,createNew:!1,headline:"lang_PUBLISHING_SHEETS_CAPTION_CONNECT_VENUE",venueContext:"AzLive"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowConnectVenueToSheetDialog},set:function(t){this.$store.commit("setShowConnectVenueToSheetDialog",t)}},selectedVenue:{get:function(){return this.$store.getters.getSelectedVenueForSheets},set:function(t){this.$store.commit("setSelectedVenueForSheets",t)}},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},methods:{close:function(){this.showDialog=!1,this.selectedVenue=[],this.selected=[],this.showSearchResult=!1,this.items=[],this.showVenueFields=!1,this.createNew=!1,this.headline="lang_PUBLISHING_SHEETS_CAPTION_CONNECT_VENUE",this.$store.commit("setVenueForSheetsSearch",null),this.$store.commit("setTotalListedConnectVenueToSheetDialog",0),this.$store.commit("setTotalRecordsConnectVenueToSheetDialog",0)},searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),e=this.$store.getters.getVenueForSheetsSearch,!e){t.next=9;break}return this.selectedVenue=[],this.selected=[],this.showSearchResult=!0,t.next=8,this.$store.dispatch("searchVenueForSheets");case 8:this.items=t.sent;case 9:e||(this.items=[]),this.$store.commit("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),editVenue:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.showVenueFields=!0,t?(this.headline="lang_PUBLISHING_SHEETS_CAPTION_CREATE_VENUE",this.createNew=!0,this.$store.commit("setAzLiveDetails",this.$store.getters.getDefaultAzLive)):(this.headline="lang_PUBLISHING_SHEETS_CAPTION_EDIT_VENUE",this.$store.commit("setAzLiveDetails",this.selectedVenue[0]))},selectItem:function(t){0===this.selectedVenue.length?this.selectedVenue.push(t):this.selectedVenue[0]["id"]===t.id?this.selectedVenue=[]:(this.selectedVenue=[],this.selectedVenue.push(t))},connectAndSaveVenue:function(){this.$store.dispatch("saveAzLiveForm",!1);var t=this.$store.getters.getAzLiveDetails;this.$store.commit("setSheetDetailsEventVenue",t),this.$store.commit("setSheetDetailsEventVenueId",t.id),this.close()},backToSearch:function(){this.showVenueFields=!1}},mounted:function(){this.$store.commit("setCountries")}},Pu=bu,Du=Object(C["a"])(Pu,Au,Tu,!1,null,null,null),Nu=Du.exports,Ru=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,useRowIndex:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"film/tv"===t.sheetType?"WorkSheetSeconds":"WorkSetlistSeconds",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SECONDS"),withMargin:!1,alvqa:t.alvqa+"-dropdown-work-"+t.sheetType==="film/tv"?"sheet":"setlist-seconds"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"film/tv"===t.sheetType?"WorkAvType":"WorkSetlistType",items:"film/tv"===t.sheetType?t.avTypeItems:t.setlistTypes,label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_TYPE"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-work-"+t.sheetType==="film/tv"?"av":"setlist-type"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"film/tv"===t.sheetType?"WorkCharacteristicType":"BigRight",items:"film/tv"===t.sheetType?t.workCharacteristicTypeItems:t.bigRightItems,label:t.$t("film/tv"===t.sheetType?"lang_PUBLISHING_SHEETS_CAPTION_CHARACTERISTIC":"lang_GENERAL_CAPTION_TYPE_OF_RIGHTS_BIG_RIGHT"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-work-"+t.sheetType==="film/tv"?"characteristic-type":"big-right"}})],1)],1)]},proxy:!0}])})},xu=[],Ou={name:"WorksEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"SheetsWorks",alvqa:"publishing-sheets-edit-form-works-panel-editing-dialog"}},computed:{avTypeItems:function(){return Ge},workCharacteristicTypeItems:function(){return Ue},setlistTypes:function(){return Fe},bigRightItems:function(){return be},sheetType:function(){return this.$store.getters.getSheetDetailsType}}},wu=Ou,Lu=Object(C["a"])(wu,Ru,xu,!1,null,null,null),yu=Lu.exports,qu=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"connectWorksToSheetDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:t.headline,close:t.close,scrollable:!0,maxDialogWidth:"800",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showWorkFields?t.showWorkFields?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"WorkTitle",label:t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-work-title"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Interpret",label:t.$t("lang_PUBLISHING_SHEETS_WORKS_DIALOG_CAPTION_INTERPRET_COMPOSER"),withMargin:!1,alvqa:t.alvqa+"-textfield-interpret",rules:"required"}})],1)],1),"setlist"===t.sheetType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Duration",label:t.getSetTimeCaption("lang_PUBLISHING_WORKS_CAPTION_DURATION"),withMargin:!1,alvqa:t.alvqa+"-textfield-setlist-set-start-time",rules:"timeHoursMinutes"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tags",label:"Tags",iconTooltipText:t.$t("lang_GENERAL_INFO_MESSAGE_WHITE_SPACE_SEPARATED"),withMargin:!1,alvqa:t.alvqa+"-textfield-tags"}})],1)],1):t._e()],1):t._e():a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"10"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-left",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",{staticClass:"pl-7"},[a("v-checkbox",{attrs:{alvqa:t.alvqa+"-checkbox-all-select","hide-details":"",color:"generalCheckbox",disabled:t.disabledAllSelect},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("BaseHeaderStats",{attrs:{context:t.context,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"SearchDialog"}})]},proxy:!0}],null,!0),model:{value:t.allSelected,callback:function(e){t.allSelected=e},expression:"allSelected"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                    0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                    ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:!0},on:{change:function(e){return t.checkSelectAll()}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e,n){return a("v-list-item",{key:e.alvId,attrs:{value:n,alvqa:t.alvqa+"-result-list-row-"+e.alvId,disabled:e.alvInternalDisable},on:{click:function(a){return t.selectItem(e.alvId,n)}},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.active;return[a("v-list-item-action",{staticClass:"mr-2"},[a("v-checkbox",{attrs:{"input-value":i,color:"generalCheckbox","hide-details":"",disabled:e.alvInternalDisable,alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-checkbox"}})],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-title"}},[t._v("\n                                        "+t._s(e.title)+" "+t._s(e.gemaNumber?"("+e.gemaNumber+")":"")+"\n                                    ")]),a("div",{staticClass:"ellipsis subtitle"},[a("BaseTooltip",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-title",simpleText:t.getInterestedParties(e)}})],1)],1)]}}],null,!0)})})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.showWorkFields?a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-back"},on:{click:function(e){return t.backToSearch()}}})],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_SAVE_AND_CONNECT",alvqa:t.alvqa+"-button-save-connect"},on:{click:function(e){return n(t.connectAndSaveVenue)}}})],1)],1):a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},["film/tv"!==t.sheetType?a("BaseButton",{attrs:{disabled:0!==t.selectedWorkIds.length,label:"lang_GENERIC_PUBLISHING_CAPTION_CREATE_GHOST_WORK",alvqa:t.alvqa+"-button-create"},on:{click:function(e){return t.createNewWork(!0)}}}):t._e()],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:0===t.selectedWorkIds.length,label:"lang_PUBLISHING_SHEETS_BUTTON_CAPTION_ADD_WORKS",alvqa:t.alvqa+"-button-select"},on:{click:function(e){return t.addWork()}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},ku=[],Bu={name:"SheetsWorksPanelAddWorksDialog",components:{BaseDialog:Pt,SearchFilter:Nn,BaseIcon:N,BaseHeaderStats:ti,BaseButton:wt,BaseTooltip:T,BaseEditPageTextField:Ut},data:function(){return{alvqa:"publishing-sheets-edit-form-works-panel",showWorkFields:!1,context:"SheetWork",selected:[],allSelected:!1,showSearchResult:!1,items:[],disabledAllSelect:!1,createNew:!1,headline:"lang_PUBLISHING_SHEETS_BUTTON_CAPTION_ADD_WORKS",venueContext:"AzLive"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowConnectWorksToSheetDialog},set:function(t){this.$store.commit("setShowConnectWorksToSheetDialog",t)}},selectedWorkIds:{get:function(){return this.$store.getters.getSelectedSheetWork},set:function(t){this.$store.commit("setSelectedSheetWork",t)}},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},sheetType:function(){return this.$store.getters.getSheetDetailsType}},methods:{getInterestedParties:function(t){var e=t.interestedParties.map((function(t){return t.name+" ("+t.role+")"})).join(", ");return e},close:function(){this.showDialog=!1,this.showWorkFields=!1,this.selectedWorkIds=[],this.showSearchResult=!1,this.selected=[],this.items=[],this.allSelected=!1,this.disabledAllSelect=!1,this.createNew=!1,this.headline="lang_PUBLISHING_SHEETS_BUTTON_CAPTION_ADD_WORKS",this.$store.commit("setSheetWorkSearch",""),this.$store.commit("setSheetWorkDetailsInterpret",null),this.$store.commit("setSheetWorkDetailsWorkTitle",null),this.$store.commit("setSheetWorkDetailsDuration",null),this.$store.commit("setSheetWorkDetailsTags",null)},searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),e=this.$store.getters.getSheetWorkSearch,!e){t.next=10;break}return this.selectedWorkIds=[],this.selected=[],this.allSelected=!1,this.showSearchResult=!0,t.next=9,this.$store.dispatch("searchSheetWork");case 9:this.items=t.sent;case 10:e||(this.items=[]),a=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0),this.disabledAllSelect=0==a,this.$store.commit("setTotalListedSearchDialog",a),this.$store.commit("setTotalRecordsSearchDialog",this.items.length),this.$store.commit("setIsLoading",!1);case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),createNewWork:function(){this.showWorkFields=!0,this.headline="lang_PUBLISHING_WORK_BUTTON_CAPTION_NEW_WORK"},addWork:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(e=[],a=0;a<this.selected.length;a++)e.push(this.items[this.selected[a]]);return t.next=4,this.$store.dispatch("addWorksToSheet",e);case 4:this.searchForListItems();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectAll:function(){if(1==this.allSelected){this.selected=[],this.selectedWorkIds=[];for(var t=0;t<this.items.length;t++)1!=this.items[t].alvInternalDisable&&(this.selected.push(t),this.selectedWorkIds.push(this.items[t].alvId))}else this.selected=[],this.selectedWorkIds=[],this.allSelected=!1},checkSelectAll:function(){var t=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0);this.selected.length===this.items.length||t>0&&t===this.selected.length?this.allSelected=!0:this.allSelected=!1},selectItem:function(t,e){var a=this.selected.indexOf(e);a>=0?this.selectedWorkIds.splice(this.items[e].alvId,1):this.selectedWorkIds.push(this.items[e].alvId)},connectAndSaveVenue:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.$store.getters.getDefaultNewWork,e["title"]=this.$store.getters.getSheetWorkDetailsWorkTitle,e["duration"]=this.$store.getters.getSheetWorkDetailsDuration,e["tags"]=this.$store.getters.getSheetWorkDetailsTags,e["status"]="ghost",this.$store.commit("setWorksOtherPersons",[{type:"IN",name:this.$store.getters.getSheetWorkDetailsInterpret}]),this.$store.commit("setWorksDetails",e),t.next=9,this.$store.dispatch("saveWorksForm",!1);case 9:return a=this.$store.getters.getWorksDetails,t.next=12,this.$store.dispatch("addWorksToSheet",[a]);case 12:this.$store.commit("setDefaultNewWork"),this.close();case 14:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),backToSearch:function(){this.showWorkFields=!1,this.headline="lang_PUBLISHING_SHEETS_BUTTON_CAPTION_ADD_WORKS"},getSetTimeCaption:function(t){var e=this.$t(t);return e+=" (HH:MM)",e}},mounted:function(){this.$store.commit("setCountries")}},$u=Bu,Gu=(a("0e3a"),Object(C["a"])($u,qu,ku,!1,null,null,null)),Fu=Gu.exports,Uu={name:"SheetsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDatePicker:$r,BaseEditPageCombobox:Jc,BaseEditPageDropdown:me,BaseEditPageAutocomplete:Zs,BaseReadOnlyTextField:iu,WorksPanel:uu,PdfSheetPanel:hu,PdfUploadDialog:Cu,DeletionDialog:Cs,ConnectVenueToSheetDialog:Nu,WorksEditPanelDialog:yu,SheetsWorksPanelAddWorksDialog:Fu},data:function(){return{context:"Sheet",alvqa:"publishing-sheets-edit-form"}},computed:{internetOptions:function(){return Me},sheetsTypeOptions:function(){return We},sheetsSetTypeOptions:function(){return Ke},sheetsEventTypeOptions:function(){return Ye},sheetsVenueTypeOptions:function(){return Ze},eventOrganizerYesNoItems:function(){return be},sheetsAvTypeOptions:function(){return je},sheetsAvFirstExploitationOptions:function(){return ze},sheetsAvMessageTypeOptions:function(){return He},homeSocietyCode:function(){return this.$store.getters.getHomeSocietyCode},getSheetsType:function(){return this.$store.getters.getSheetDetailsType},getVenue:function(){return null!==this.$store.getters.getSheetDetailsEventVenue?this.$store.getters.getSheetDetailsEventVenue.name:this.$store.getters.getSheetDetailsEventVenue},isVenueConnected:function(){return null!==this.getVenue},completenessCuesheetYesNo:function(){return be},commissionedWorkYesNo:function(){return be},isProductionYearRequired:function(){return"FILM"==this.$store.getters.getSheetDetailsAvType||"EPISODE"==this.$store.getters.getSheetDetailsAvType?"required":""},isRegionsRequired:function(){return"FILM"==this.$store.getters.getSheetDetailsAvType?"required":""},commissioningChannels:function(){return Ve}},methods:{openUploadialog:function(){var t=this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" "+this.$t("lang_PUBLISHING_SHEETS_DIALOG_SHEET_FILE")+". <br />"+this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE").replace("<join>","PDF/ZIP");this.$store.commit("setUploadPDFDialogText",t),this.$store.commit("setShowUploadPDFDialog",!0)},getSetTimeCaption:function(t){var e=this.$t(t);return e+=" (HH:MM)",e},copyVenueToOrganizer:function(t){var e=this.$store.getters.getSheetDetailsEventOrganizer;null!==t&&void 0!==t&&null==e&&(this.$store.commit("setSheetDetailsEventOrganizer",t),this.$store.commit("setSheetEventOrganizerOptions",[t]))},editConnectedVenue:function(){this.isVenueConnected?(this.$store.commit("setSheetDetailsEventVenue",null),this.$store.commit("setSheetDetailsEventVenueId",null)):this.$store.commit("setShowConnectVenueToSheetDialog",!0)}}},Mu=Uu,Wu=Object(C["a"])(Mu,zc,Hc,!1,null,null,null),ju=Wu.exports,zu=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"SelectedPublishingProjects"}}),a("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"}}),a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_PROJECTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"2",alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("PublishingProjectsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded}}),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.title,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-name"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.composers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-composers"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.publishers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-publishers"}})],1),a("td",{staticClass:"no_ellipsis"},[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-alv-id"}},[t._v("\n                                "+t._s(n.item.alvId)+"\n                            ")])])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("PublishingProjectsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Hu=[],Vu=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"PublishingProjects",alvqa:t.alvqa}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",alvqa:t.alvqa}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"PublishingProjects",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_PUBLISHING_PROJECTS_BUTTON_CAPTION_NEW_PROJECT",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},Yu=[],Ku={name:"PublishingProjectsTopSlot",components:{BaseButton:wt,ImportButton:Yn,BaseHeaderStats:ti,ActionDropdown:Mn},data:function(){return{editForm:"PublishingProjectsEdit",alvqa:"publishing-projects"}},computed:{actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]},importOptions:function(){return[{text:this.$t("lang_PUBLISHING_RELEASES_BUTTON_OPTION_ALV_TEMPLATE"),value:"alvExcelTemplatePublishingProjects",alvqa:this.alvqa+"-list-import-dropdown-alv-excel-template"}]}}},Zu=Ku,Xu=Object(C["a"])(Zu,Vu,Yu,!1,null,null,null),Ju=Xu.exports,Qu=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{staticClass:"pl-0",attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-release-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n        ")])],1),a("v-row",[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-title"}},[t._v(t._s(t.$t("lang_PUBLISHING_PROJECTS_CAPTION_TITLE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                            "+t._s(t.item.title)+"\n                        ")]),null!==t.item.productionTypeId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-production-type"}},[t._v(t._s(t.$t("lang_PUBLISHING_RELEASES_CAPTION_PRODUCTION_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-production-type"}},[t._v("\n                                "+t._s(t.getProductionTypeOption(t.item.productionTypeId))+"\n                            ")])]):t._e(),null!==t.item.producer?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-producer"}},[t._v(t._s(t.$t("lang_PUBLISHING_RELEASES_CAPTION_PRODUCER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-producer"}},[t._v("\n                             "+t._s(t.item.producer.gemaName+" ("+t.item.producer.alvId+")")+"\n                            ")])]):t._e(),null!==t.item.note&&""!==t.item.note?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-note"}},[t._v(t._s(t.$t("lang_PUBLISHING_RELEASES_CAPTION_NOTE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-note"}},[t._v("\n                                "+t._s(t.item.note)+"\n                            ")])]):t._e()])],1)],1),t.showSecondCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.tvStation&&""!==t.item.tvStation?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tv-station"}},[t._v(t._s(t.$t("lang_PUBLISHING_RELEASES_CAPTION_TV_STATION_NAME"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tv-station"}},[t._v("\n                                "+t._s(t.item.tvStation)+"\n                            ")])]):t._e(),null!==t.item.tag&&""!==t.item.tag?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tag"}},[t._v(t._s(t.$t("lang_PUBLISHING_RELEASES_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tag"}},[t._v("\n                                "+t._s(t.item.tag)+"\n                            ")])]):t._e()])],1)],1):t._e()],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.sheetsHeaders,items:t.listItemsSheets,expanded:t.expandedItems,"show-expand":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"hide-default-footer":"","sort-by":"sheetNumber","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),id:"sheetsList"},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([t._l(t.sheetsHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard"}},n?[t._v("fa-arrow-alt-circle-down")]:[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.title",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-title"}},[t._v(t._s(n.title))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.title))]},proxy:!0}],null,!0)})]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-composers"}},[t._v(t._s(n.composers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.composers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-publishers"}},[t._v(t._s(n.publishers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.publishers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.productionYear",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-production-year"}},[t._v("\n                        "+t._s(n.productionYear)+"\n                    ")])]}},{key:"item.sheetNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-sheet-number"}},[t._v("\n                        "+t._s(n.sheetNumber)+"\n                    ")])]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.sheetsHeaders.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-sheet-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n                                    "+t._s(n.title)+"\n                                ")])],1),a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.worksHeaders,"hide-default-footer":"",items:t.listItemsWorks,"item-key":"index","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage,id:"worksList"},scopedSlots:t._u([t._l(t.worksHeaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.sheetNumber}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-title"}},[t._v(t._s(n.title))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.title))]},proxy:!0}],null,!0)})]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-composers"}},[t._v(t._s(n.composers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.composers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-publishers"}},[t._v(t._s(n.publishers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.publishers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.gemaNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-gema-number"}},[t._v("\n                                                "+t._s(n.gemaNumber)+"\n                                            ")])]}},{key:"item.workSheetSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-duration"}},[t._v("\n                                                "+t._s(null!==n.workSheetSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSheetSeconds)+" ("+n.workSheetSeconds+")":"")+"\n                                            ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-status"}},[t._v("\n                                                "+t._s(t.$t(t.getStatus(n.status)))+"\n                                            ")])]}}],null,!0)}),t.workPages()>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.workPages(),color:"pagination"},on:{input:function(e){return t.nextWorkPage()}},model:{value:t.currentWorkPage,callback:function(e){t.currentWorkPage=e},expression:"currentWorkPage"}}):t._e()],1)],1)],1)],1)]}}],null,!0)}),t.sheetPages()>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.sheetPages(),color:"pagination"},on:{input:function(e){return t.nextSheetPage()}},model:{value:t.currentSheetPage,callback:function(e){t.currentSheetPage=e},expression:"currentSheetPage"}}):t._e()],1)],1)],1)},td=[],ed={name:"PublishingProjectsReadOnly",components:{BasePanel:vi,BaseButton:wt,BaseTooltip:T},props:{itemId:{type:Number}},data:function(){return{expandedItems:[],alvqa:"publishing-projects-list-row-"+this.itemId+"-read-only",currentSheetPage:1,currentWorkPage:1,works:[]}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedPublishingProjects.find((function(e){return e.id===t.itemId}));return e},listItemsSheets:function(){var t=this.item.sheets.sort((function(t,e){return t.sheetNumber-e.sheetNumber})),e=(this.currentSheetPage-1)*this.itemsPerPage,a=e+this.itemsPerPage;return t.length<this.itemsPerPage?t:t.slice(e,a)},listItemsWorks:function(){var t=this.works,e=(this.currentWorkPage-1)*this.itemsPerPage,a=e+this.itemsPerPage;return t.length<this.itemsPerPage?t:t.slice(e,a)},sheetsHeaders:function(){return[{text:"",value:"data-table-expand",align:"center",width:"48px"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TITLE")+" ("+this.item.sheets.length+")",value:"title",align:"left",sortable:!1,class:"text-no-wrap",width:"250px",alvqa:this.alvqa+"-sheets-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,width:"180px",alvqa:this.alvqa+"-sheets-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,alvqa:this.alvqa+"-sheets-header-publishers"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_PRODUCTION_YEAR"),value:"productionYear",align:"right",sortable:!1,width:"150px",class:"text-no-wrap",alvqa:this.alvqa+"-sheets-header-production-year"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER"),value:"sheetNumber",align:"right",sortable:!1,width:"150px",class:"text-no-wrap",alvqa:this.alvqa+"-sheets-header-sheet-number"}]},worksHeaders:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap",width:"250px",alvqa:this.alvqa+"-works-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,width:"180px",alvqa:this.alvqa+"-works-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,alvqa:this.alvqa+"-works-header-publishers"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"left",sortable:!1,width:"140px",class:"text-no-wrap",alvqa:this.alvqa+"-works-header-gema-number"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SECONDS"),value:"workSheetSeconds",align:"left",sortable:!1,width:"120px",class:"text-no-wrap",alvqa:this.alvqa+"-works-header-duration"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"),value:"status",align:"right",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-works-header-status"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},showSecondCard:function(){var t=null!==this.item.tvStation,e=null!==this.item.tag&&""!==this.item.tag;return!(!t&&!e)}},methods:{expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e),this.works=e.works;case 2:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getStatus:function(t){return ye.find((function(e){return e.value===t})).text},getProductionTypeOption:function(t){var e=ka.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):null},workPages:function(){return this.works.length<1||this.works.length<this.itemsPerPage?0:Math.ceil(this.works.length/this.itemsPerPage)},nextWorkPage:function(){var t=this;setTimeout((function(){t.$vuetify.goTo("#worksList")}),500)},sheetPages:function(){return this.item.sheets.length<this.itemsPerPage?0:Math.ceil(this.item.sheets.length/this.itemsPerPage)},nextSheetPage:function(){var t=this;setTimeout((function(){t.$vuetify.goTo("#sheetsList")}),500)}}},ad=ed,nd=(a("6554"),Object(C["a"])(ad,Qu,td,!1,null,null,null)),id=nd.exports;function sd(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function rd(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?sd(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):sd(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var ld={name:"PublishingProjectsList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,ExpandIcon:is,PublishingProjectsTopSlot:Ju,PublishingProjectsReadOnly:id,FileImportDialog:Ns,SelectionRequiredDialog:hs,DeletionDialog:Cs},data:function(){return{context:"PublishingProjects",alvqa:"publishing-projects"}},computed:rd({},Object(u["c"])(["getPublishingProjectsSearch"]),{headers:function(){var t;return[{text:"",value:"data-table-select",align:"center",sortable:!1,width:"60px"},{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_PUBLISHING_PROJECTS_CAPTION_TITLE"),value:"title",align:"left",sortable:!1,width:"300px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,width:"180px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,class:"text-no-wrap"},(t={text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:"true",width:"170px"},Object(c["a"])(t,"sortable",!1),Object(c["a"])(t,"class","text-no-wrap"),t),{text:"",value:"ghost",sortable:!1,width:"1%",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}})},od=ld,cd=Object(C["a"])(od,zu,Hu,!1,null,null,null),ud=cd.exports,dd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/publishing/projects"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(n.title?n.title:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("v-col",[a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Title",label:t.$t("lang_PUBLISHING_PROJECTS_CAPTION_TITLE"),alvqa:t.alvqa+"-textfield-title",rules:"required"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ProductionTypeId",items:t.productionTypeOptions,label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_PRODUCTION_TYPE"),selection:!0,alvqa:t.alvqa+"-dropdown-production-type"}})],1),a("v-row",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Producer",label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_PRODUCER"),alvqa:t.alvqa+"-autocomplete-producer-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-producer-selection"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-producer-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-producer-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-producer-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" | "+t._s(n.alvId)+"                                      \n                                ")])],1)]}}])})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Note",label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_NOTE"),alvqa:t.alvqa+"-textarea-note"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),alvqa:t.alvqa+"-textfield-alvid",clearable:!1,readonly:!0}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TvStation",label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_TV_STATION_NAME"),alvqa:t.alvqa+"-textfield-tv-station"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tag",label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tag"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Favourite",items:t.getDropdownYesNo,label:t.$t("lang_GENERAL_FAVOURITE"),alvqa:t.alvqa+"dropdown-favourite",clearable:!1}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("SheetsPanel"),a("SearchDialog",{attrs:{context:"Projects",subcontext:"ProjectsSheets",searchcontext:"ProjectsSheet",addcontext:"SheetToProjects",addButtonLabel:"lang_PUBLISHING_RELEASES_BUTTON_CAPTION_ADD_SHEETS",dialogTitle:"lang_PUBLISHING_RELEASES_BUTTON_CAPTION_ADD_SHEETS",alvqaContext:t.alvqa},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n                    "+t._s(a.title)+" "+t._s(a.sheetNumber?"("+a.sheetNumber+")":"")+"\n                ")]}}])})]},proxy:!0}])})},gd=[],pd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_RELEASES_PANEL_CAPTION_SHEETS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.sheetsHeaders,"hide-default-footer":"",items:t.sheets,expanded:t.expandedItems,"show-expand":"","sort-by":"sheetNumber","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage,"header-props":{sortIcon:""}},on:{"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.sheetsHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard"}},n?[t._v("fa-arrow-alt-circle-down")]:[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.title",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-"+n.id+"-text-title"}},[t._v(t._s(n.title))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.title))]},proxy:!0}],null,!0)})]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-"+n.id+"-text-composers"}},[t._v(t._s(n.composers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.composers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-"+n.id+"-text-publishers"}},[t._v(t._s(n.publishers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.publishers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.productionYear",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.id+"-text-production-year"}},[t._v("\n                                "+t._s(n.productionYear)+"\n                            ")])]}},{key:"item.sheetNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.id+"-text-sheet-number"}},[t._v("\n                                "+t._s(n.sheetNumber)+"\n                            ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.sheetsHeaders.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.worksHeaders,"hide-default-footer":"",items:n.works,"item-key":"index","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.worksHeaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.sheetNumber}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-title"}},[t._v(t._s(n.title))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.title))]},proxy:!0}],null,!0)})]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-composers"}},[t._v(t._s(n.composers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.composers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.publishers",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-publishers"}},[t._v(t._s(n.publishers.join(" / ")))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.publishers.join(" / ")))]},proxy:!0}],null,!0)})]}},{key:"item.gemaNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-gema-number"}},[t._v("\n                                                        "+t._s(n.gemaNumber)+"\n                                                    ")])]}},{key:"item.workSheetSeconds",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-duration"}},[t._v("\n                                                        "+t._s(null!==n.workSheetSeconds?t.$alvPlugin.transformSecondsToDuration(n.workSheetSeconds)+" ("+n.workSheetSeconds+")":"")+"\n                                                    ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-works-list-row-"+n.id+"-text-status"}},[t._v("\n                                                        "+t._s(t.$t(t.getStatus(n.status)))+"\n                                                    ")])]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},vd=[],_d={name:"SheetsPanel",components:{BasePanel:vi,BaseButton:wt,BaseTooltip:T,BaseIcon:N},data:function(){return{expandedItems:[],alvqa:"publishing-projects-edit-form-panel-sheets"}},computed:{sheets:function(){return this.$store.getters.getProjectsSheets},sheetsHeaders:function(){return[{text:"",value:"data-table-expand",align:"center",width:"48px"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_TITLE")+" ("+this.sheets.length+")",value:"title",align:"left",sortable:!1,width:"250px",class:"text-no-wrap",alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,width:"180px",alvqa:this.alvqa+"-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,alvqa:this.alvqa+"-header-publishers"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_PRODUCTION_YEAR"),value:"productionYear",align:"right",sortable:!1,width:"150px",class:"text-no-wrap",alvqa:this.alvqa+"-header-production-year"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SHEET_NUMBER"),value:"sheetNumber",align:"right",sortable:!1,width:"150px",class:"text-no-wrap",alvqa:this.alvqa+"-header-sheet-number"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap"}]},worksHeaders:function(){return[{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!1,width:"250px",class:"text-no-wrap",alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,width:"180px",alvqa:this.alvqa+"-header-composers"},{text:this.$t("lang_PUBLISHING_CAPTION_PUBLISHERS"),value:"publishers",align:"left",sortable:!1,alvqa:this.alvqa+"-header-publishers"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"left",sortable:!1,width:"140px",class:"text-no-wrap",alvqa:this.alvqa+"-header-gema-number"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SECONDS"),value:"workSheetSeconds",align:"left",sortable:!1,width:"120px",class:"text-no-wrap",alvqa:this.alvqa+"-header-duration"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_STATUS"),value:"status",align:"right",sortable:!1,width:"200px",class:"text-no-wrap",alvqa:this.alvqa+"-header-status"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getStatus:function(t){return ye.find((function(e){return e.value===t})).text},addNewRow:function(){this.$store.commit("setShowSearchDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedProjectsSheet",[t]),this.$store.commit("setDeletionDialogContext","SelectedProjectsSheet"),this.$store.commit("setShowDeletionDialog",!0)}}},hd=_d,md=(a("29a4"),Object(C["a"])(hd,pd,vd,!1,null,null,null)),fd=md.exports,Sd={name:"PublishingProjectsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me,SheetsPanel:fd,DeletionDialog:Cs,SearchDialog:ys},data:function(){return{context:"PublishingProjects",alvqa:"publishing-projects-edit-form"}},computed:{productionTypeOptions:function(){return[{header:this.$t("lang_PUBLISHING_RELEASES_CAPTION_CINEMA")},{text:"lang_PUBLISHING_RELEASES_CAPTION_FILM",value:1,group:"lang_PUBLISHING_RELEASES_CAPTION_CINEMA",alvqa:this.alvqa+"-dropdown-production-type-film"},{text:"lang_PUBLISHING_RELEASES_CAPTION_SHORT_FILM",value:2,group:"lang_PUBLISHING_RELEASES_CAPTION_CINEMA",alvqa:this.alvqa+"-dropdown-production-type-short-film"},{header:this.$t("lang_PUBLISHING_RELEASES_CAPTION_TELEVISION")},{text:"lang_PUBLISHING_RELEASES_CAPTION_INHOUSE_COMMISSIONED_PRODUCTION",value:3,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:this.alvqa+"-dropdown-production-type-inhouse-commissioned-production"},{text:"lang_PUBLISHING_RELEASES_CAPTION_SHOW",value:4,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:this.alvqa+"-dropdown-production-type-show"},{text:"lang_PUBLISHING_RELEASES_CAPTION_OTHER_TELEVISION_PRODUCTION",value:5,group:"lang_PUBLISHING_RELEASES_CAPTION_TELEVISION",alvqa:this.alvqa+"-dropdown-production-type-television"}]},getDropdownYesNo:function(){return be}},methods:{uploadReleaseImage:function(){this.$store.commit("setSnackbar",{type:"warning",msg:"This page is under construction. No image upload function yet!"})}}},Ed=Sd,Id=Object(C["a"])(Ed,dd,gd,!1,null,null,null),Cd=Id.exports,Ad=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("RunErrorListDialog",{attrs:{context:t.context}}),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("InlineEditingListpageDialog",{attrs:{listPageContext:t.context}}),a("IncomeFileImportDialog"),a("MoveIntoCompanyDialog",{attrs:{context:"Income",message:t.$t("lang_PUBLISHING_INCOME_DIALOG_CAPTION_MOVE_INCOME")}}),a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_INCOME",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"FromQuarter",label:"lang_PUBLISHING_STATISTICS_CAPTION_FROM_QUARTER",items:t.quarterItems("from"),alvqa:t.alvqa+"-list-dropdown-from-quarter"}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"FromYear",label:"lang_PUBLISHING_STATISTICS_CAPTION_FROM_YEAR",items:t.yearItems("from"),alvqa:t.alvqa+"-list-dropdown-from-year"}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ToQuarter",label:"lang_PUBLISHING_STATISTICS_CAPTION_TO_QUARTER",items:t.quarterItems("to"),alvqa:t.alvqa+"-list-dropdown-to-quarter"}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ToYear",label:"lang_PUBLISHING_STATISTICS_CAPTION_TO_YEAR",items:t.yearItems("to"),alvqa:t.alvqa+"-list-dropdown-to-year"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,editInlineFunction:t.inlineEditing,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("IncomeTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand",color:n.item.errorListExists?"standardBrownIcon":"buttonStandard"}}),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:"multiple"===n.item.source?t.$t("lang_GENERAL_CAPTION_MULTIPLE"):n.item.source,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-source"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.category,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-category"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.fileName,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-file-name"}})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-period"}},[t._v(t._s(t.$alvPlugin.displayPeriod(n.item.period)))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$d(new Date(n.item.importDate),"alvDateTime"),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-import-date"}})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-records"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.records,"numberInteger")))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-netto"}},["GEMA"===n.item.source?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.net,"number")))]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+" "+t._s(t.$t("lang_PUBLISHING_INCOME_CAPTION_INCLUSIVE"))+" "+t._s(t.$t("lang_PUBLISHING_INCOME_CAPTION_COMMISSION_PERCENT"))+": "+t._s(t.$alvPlugin.getNumberLocalization(n.item.sum,"number")))]},proxy:!0}],null,!0)}):t._e(),"GEMA"!==n.item.source?a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.net,"number")))]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ORIGINAL_SUM"))+" : "+t._s(t.$alvPlugin.getNumberLocalization(n.item.originalSum,"number")))]},proxy:!0}],null,!0)}):t._e()],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-list-number"}},[t._v(t._s(n.item.listNumber))]),a("td",{staticClass:"text-right ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getNumberLocalization(n.item.conversionFactor,"decimal8"),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-list-ccf"}})],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("IncomeReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Td=[],bd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("FixItDialog"),a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.fileName)+" \n            ("+t._s(t.$t("lang_GENERIC_CAPTION_NUMBER_OF_WORKS"))+": "+t._s(t.item.totalRecords)+" | "+t._s(t.$t("lang_GENERAL_CAPTION_NUMBER_OF_ERRORS"))+": "+t._s(t.item.numberOfTotalRows)+")\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{headers:t.headers,"hide-default-footer":"",items:t.item.list,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.title+" ("+t.$t("lang_PUBLISHING_INCOME_CAPTION_ERRORS")+": "+n.numberOfRows+")",alvqa:t.alvqa+"-error-list-text-title"}})],1)]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.composers,alvqa:t.alvqa+"-error-list-text-composers"}})],1)]}},{key:"item.workNo",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-work-id"}},[t._v("\n                        "+t._s(n.workNo)+"\n                    ")])]}},{key:"item.collPercent",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-error-list-text-coll-percent"}},[t._v("\n                        "+t._s(t.$alvPlugin.getNumberLocalization(n.collPercent,"number"))+"\n                    ")])]}},{key:"item.info",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-error-list-text-info"}},[a("BaseTooltip",{attrs:{simpleText:n.typeOfRights+(null!==n.kto?", KTO: "+n.kto+", BG"+n.bg:"")}})],1)]}},{key:"item.error",fn:function(e){var n=e.item;return["VF102"==n.errorType||"VF108"==n.errorType?a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-error"}},[a("v-row",[a("v-col",{attrs:{cols:"2"}},[a("BaseIcon",{attrs:{icon:"fa-wrench",color:"standardBrownIcon",small:"small",tooltipText:"lang_GENERIC_CAPTION_FIX_IT",alvqa:t.alvqa+"-icon-fix-it-"+n.errorType},on:{click:function(e){return e.stopPropagation(),t.fixIt(n)}}})],1),a("v-col",[t._v("\n                                "+t._s(n.error)+"\n                            ")])],1)],1):a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-error"}},[t._v("\n                        "+t._s(n.error)+"\n                    ")])]}}],null,!0)})],1)],1)],1)},Pd=[],Dd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"fixIt",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_GENERIC_CAPTION_FIX_IT",close:t.closeDialog,maxDialogWidth:"900",maxCardHeight:"600",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Ykto",label:t.$t("lang_PUBLISHING_INCOME_CAPTION_FIX_IT_ASSIGN_KTO"),withMargin:!1,rules:"required",additionalFunction:t.ktoSelected,alvqa:t.alvqa+"-autocomplete-ykto-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-ykto-selection"}},[t._v("\n                                    "+t._s("object"===typeof n?t.getKtoName(n):n)+"\n                                ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-ykto-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-ykto-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+" ("+t._s(n.alvId)+") [KTO: "+t._s(n.metadata.ykto)+" - "+t._s(n.metadata.hkto)+" - "+t._s(n.metadata.ukto)+"]\n                                    ")])],1)]}}],null,!0)})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:t.disableApplyButton,label:"lang_GENERIC_CAPTION_APPLY",alvqa:t.alvqa+"-button-apply"},on:{click:function(e){return n(t.apply)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},Nd=[],Rd={name:"FixItDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageAutocomplete:Zs},data:function(){return{context:"FixIt",alvqa:"publishing-income-list-dialog-fix-it",disableApplyButton:!0}},computed:{showDialog:{get:function(){return this.$store.getters.getShowFixItDialog},set:function(t){this.$store.commit("setShowFixItDialog",t)}},ktoSelected:function(){null==this.$store.getters.getFixItDetailsYkto?this.disableApplyButton=!0:this.disableApplyButton=!1}},methods:{closeDialog:function(){this.showDialog=!1},getKtoName:function(t){return t.gemaName+" ("+t.ykto+"-"+t.hkto+"-"+t.ukto+" | "+t.alvId+")"},apply:function(){this.disableApplyButton=!0,this.$store.dispatch("fixIt")}}},xd=Rd,Od=Object(C["a"])(xd,Dd,Nd,!1,null,null,null),wd=Od.exports,Ld={name:"IncomeReadOnly",components:{BaseTooltip:T,BaseIcon:N,FixItDialog:wd},props:{itemId:{type:Number}},data:function(){return{alvqa:"publishing-income-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this;return this.$store.getters.getExpandedIncome.find((function(e){return e.id===t.itemId}))},headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),value:"title",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-work-title"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",class:"text-no-wrap",width:"160px",sortable:!1,alvqa:this.alvqa+"-error-list-header-composers"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"workNo",align:"left",class:"text-no-wrap",width:"140px",sortable:!1,alvqa:this.alvqa+"-error-list-header-work-id"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_COLL_PERCENT"),value:"collPercent",align:"right",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-error-list-header-coll-percent"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_INFO"),value:"info",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-info"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_ERROR"),value:"error",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-error"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{fixIt:function(t){this.$store.commit("setShowFixItDialog",!0),this.$store.commit("setFixItErrorObject",t)}}},yd=Ld,qd=(a("9c70"),Object(C["a"])(yd,bd,Pd,!1,null,null,null)),kd=qd.exports,Bd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Income",alvqa:t.alvqa,cols:"3"}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",cols:"3",alvqa:t.alvqa,"return-object":"","additional-function":t.setImportOption}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Income",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1)],1)],1)},$d=[],Gd={name:"IncomeTopSlot",components:{ImportButton:Yn,ActionDropdown:Mn,BaseHeaderStats:ti},data:function(){return{alvqa:"publishing-income"}},methods:{setImportOption:function(t){this.$store.commit("setPublishingIncomeDetailsAbbreviation",null),this.$store.dispatch("setSelectedFileImportOption",t)}},computed:{importOptions:function(){var t=this,e=this.$store.getters.getIncomeImporters||[];return e.forEach((function(e){return e.alvqa="".concat(t.alvqa,"-list-import-dropdown-").concat(e.alvId)})),e.unshift({text:this.$t("lang_PUBLISHING_INCOME_BUTTON_OPTION_SUBPUBLISHING_LICENSING"),value:"ALV000385817AD",fileExtensions:"XLSX;XLS",alvqa:this.alvqa+"-list-import-dropdown-svd"},{divider:!0}),e.sort((function(t,e){return t.text<e.text?-1:1})),e},actions:function(){return[{text:this.$t("lang_GENERAL_ACTION_OPTION_UPDATE_ERROR_LIST"),value:"runErrorLists",alvqa:this.alvqa+"-list-action-dropdown-run-error-list"},{text:this.$t("lang_GENERAL_ACTION_OPTION_EXPORT_ERROR_LIST"),value:"downloadErrorList",alvqa:this.alvqa+"-list-action-dropdown-export-error-list"},{text:this.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_COMPARE_GEMA_BEW"),value:"compareGemaBew",alvqa:this.alvqa+"-list-action-dropdown-compare-gema-bew"},{text:this.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_MOVE"),value:"move",alvqa:this.alvqa+"-list-action-dropdown-move"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},Fd=Gd,Ud=Object(C["a"])(Fd,Bd,$d,!1,null,null,null),Md=Ud.exports,Wd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"},scopedSlots:t._u([{key:"importOptions",fn:function(){return[a("div",{attrs:{align:"center"}},[a("BasePeriod",{attrs:{context:"ImportDialog",periodLabel:"lang_GENERAL_CAPTION_UPLOADER_PERIOD_OPTIONAL",widthTimeUnitField:"4",undefinedTimeUnit:!0,justify:"center"}})],1),t.$store.getters.getSelectedFileImportOption&&t.$store.getters.getSelectedFileImportOption.mappings&&t.$store.getters.getSelectedFileImportOption.mappings.length>0?a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{field:"Abbreviation",label:t.$t("lang_GENERIC_CAPTION_ABBREVIATION"),items:t.abbreviationsOptions,context:t.context,withMargin:!1,clearable:!0,alvqa:t.alvqa+"-dropdown-abbreviation"}})],1)],1):t._e(),a("v-row",[a("v-col",{staticClass:"pb-1"},[a("span",{staticClass:"black-label"},[a("v-checkbox",{staticClass:"mt-0",attrs:{value:"runErrorLists","hide-details":"",color:"generalCheckbox",alvqa:t.alvqa+"-checkbox-run-error-lists"},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text pt-1",attrs:{alvqa:t.alvqa+"-checkbox-run-error-lists-text"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_UPLOADER_RUN_ERROR_LISTS")))])]},proxy:!0}]),model:{value:t.selectedIncomeCheckboxes,callback:function(e){t.selectedIncomeCheckboxes=e},expression:"selectedIncomeCheckboxes"}})],1)])],1),a("v-row",[a("v-col",{staticClass:"pt-1"},[a("v-checkbox",{staticClass:"mt-0",attrs:{value:"withoutAssigning","hide-details":"",color:"generalCheckbox",alvqa:t.alvqa+"-checkbox-without-assigning"},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text pt-1",attrs:{alvqa:t.alvqa+"-checkbox-without-assigning-text"}},[t._v(t._s(t.$t("lang_PUBLISHING_SALES_DATA_UPLOADER_NO_ASSING_TO_COMPANY")))])]},proxy:!0}]),model:{value:t.selectedIncomeCheckboxes,callback:function(e){t.selectedIncomeCheckboxes=e},expression:"selectedIncomeCheckboxes"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ImportCommissionPercent",label:t.$t("lang_PUBLISHING_INCOME_CAPTION_COMMISSION_PERCENT"),withMargin:!1,rules:"percent3Decimals",alvqa:t.alvqa+"-textfield-commission-percent"}})],1),a("v-col",{attrs:{cols:"7"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ImportCurrencyConversionFactor",label:t.$t("lang_GENERAL_CAPTION_CONVERSION_FACTOR"),withMargin:!1,alvqa:t.alvqa+"-textfield-currency-conversion-factor"}})],1)],1)]},proxy:!0}])})},jd=[],zd=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",{attrs:{dense:""}},[a("v-col",{class:t.classNumber,attrs:{cols:t.widthNumberField}},[a("v-select",{attrs:{items:t.getPeriodNumbers(),disabled:t.periodNumbersDisabled,outlined:t.outlined,"hide-details":t.hideDetails,"menu-props":"offset-y",alvqa:t.alvqa+"-dropdown-period-selector-numbers"},on:{"click:clear":function(e){return t.resetVal("number")}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                        "+t._s(n.text)+"\n                    ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                        "+t._s(n.text)+"\n                    ")])]}}]),model:{value:t.selectedNumber,callback:function(e){t.selectedNumber=e},expression:"selectedNumber"}})],1),a("v-col",{class:t.classTimeUnit,attrs:{cols:t.widthTimeUnitField}},[a("v-select",{attrs:{items:t.getPeriodTimeUnits(),label:t.label,outlined:t.outlined,"hide-details":t.hideDetails,clearable:t.clearable,"menu-props":"offset-y",alvqa:t.alvqa+"-dropdown-period-selector-time-units"},on:{"click:clear":function(e){return t.resetVal("timeUnit")}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                    "+t._s(t.$t(n.text))+"\n                ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                    "+t._s(t.$t(n.text))+"\n                ")])]}}]),model:{value:t.selectedTimeUnit,callback:function(e){t.selectedTimeUnit=e},expression:"selectedTimeUnit"}})],1),a("v-col",{class:t.classYear,attrs:{cols:t.widthYearField}},[a("v-select",{attrs:{items:t.getPeriodYears(),disabled:t.periodYearsDisabled,outlined:t.outlined,"hide-details":t.hideDetails,"menu-props":"offset-y",alvqa:t.alvqa+"-dropdown-period-selector-years"},on:{"click:clear":function(e){return t.resetVal("year")}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                    "+t._s(n.text)+"\n                ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                    "+t._s(n.text)+"\n                ")])]}}]),model:{value:t.selectedYear,callback:function(e){t.selectedYear=e},expression:"selectedYear"}})],1)],1)},Hd=[],Vd={name:"BasePeriod",props:{undefinedTimeUnit:{type:Boolean,default:!1},monthNotAllowed:{type:Boolean,default:!1},widthNumberField:{type:Number|String,default:3},widthYearField:{type:Number|String,default:3},widthTimeUnitField:{type:Number|String,default:3},hideDetails:{type:Boolean,default:!1},classNumber:{type:String,default:"pr-1"},classYear:{type:String,default:"pl-1"},justify:{type:String,default:"start"},clearable:Boolean,classTimeUnit:String,outlined:Boolean,periodLabel:String,context:String},data:function(){return{periodNumbersDisabled:!1,periodYearsDisabled:!1,alvqa:"period-selector"}},computed:{label:function(){return this.$t(this.periodLabel)},selectedNumber:{get:function(){return this.$store.getters["getSelectedPeriodNumber"+this.context]},set:function(t){this.$store.commit("setSelectedPeriodNumber"+this.context,t)}},selectedTimeUnit:{get:function(){return this.$store.getters["getSelectedPeriodTimeUnit"+this.context]},set:function(t){"notDefined"===t&&(this.selectedNumber=null,this.selectedYear=null),"halfyear"!==t&&"year"!==t||(this.selectedNumber=null),this.$store.commit("setSelectedPeriodTimeUnit"+this.context,t)}},selectedYear:{get:function(){return this.$store.getters["getSelectedPeriodYear"+this.context]},set:function(t){this.$store.commit("setSelectedPeriodYear"+this.context,t)}}},methods:{getPeriodNumbers:function(){switch(this.$store.getters["getSelectedPeriodTimeUnit"+this.context]){case"month":for(var t=[],e=1;e<=12;e++)t.push({text:e,value:e,alvqa:this.alvqa+"-dropdown-period-selector-numbers-"+e});return this.periodNumbersDisabled=!1,t;case"quarter":for(var a=[],n=1;n<=4;n++)a.push({text:n,value:n,alvqa:this.alvqa+"-dropdown-period-selector-numbers-"+n});return this.periodNumbersDisabled=!1,a;case"halfyear":return this.periodNumbersDisabled=!1,[{text:1,value:1,alvqa:this.alvqa+"-dropdown-period-selector-numbers-1"},{text:2,value:2,alvqa:this.alvqa+"-dropdown-period-selector-numbers-2"}];case"year":return this.periodNumbersDisabled=!0,[];case"notDefined":this.periodNumbersDisabled=!0;break;default:this.periodNumbersDisabled=!0}},getPeriodTimeUnits:function(){return this.undefinedTimeUnit?Ae:this.monthNotAllowed?Te:Ie},getPeriodYears:function(){var t=[];if("notDefined"!==this.$store.getters["getSelectedPeriodTimeUnit"+this.context]&&null!==this.$store.getters["getSelectedPeriodTimeUnit"+this.context]){this.periodYearsDisabled=!1;for(var e=(new Date).getFullYear()+1,a=e;a>=2008;a--)t.push({text:a,value:a,alvqa:this.alvqa+"-dropdown-period-selector-years-"+a});return t}this.periodYearsDisabled=!0},numberValidation:function(){switch(this.selectedTimeUnit){case"month":case"quarter":case"halfyear":return"required";default:return""}},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:t.t0=e,t.next="number"===t.t0?5:"year"===t.t0?7:"timeUnit"===t.t0?9:13;break;case 5:return this.selectedNumber=null,t.abrupt("break",13);case 7:return this.selectedYear=null,t.abrupt("break",13);case 9:return this.selectedNumber=null,this.selectedYear=null,!0===this.undefinedTimeUnit?this.selectedTimeUnit="notDefined":this.selectedTimeUnit=null,t.abrupt("break",13);case 13:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},Yd=Vd,Kd=Object(C["a"])(Yd,zd,Hd,!1,null,null,null),Zd=Kd.exports,Xd={name:"IncomeFileImportDialog",components:{FileImportDialog:Ns,BasePeriod:Zd,BaseEditPageDropdown:me,BaseEditPageTextField:Ut},data:function(){return{userLoginId:this.$store.getters["getUserInformation"].id,alvqa:"publishing-income-list-import-dialog",context:"PublishingIncome"}},computed:{selectedIncomeCheckboxes:{get:function(){return this.$store.getters.getSelectedImportDialogCheckboxes},set:function(t){this.$store.commit("setSelectedImportDialogCheckboxes",t)}},abbreviationsOptions:function(){if(!this.$store.getters.getSelectedFileImportOption||!this.$store.getters.getSelectedFileImportOption.mappings)return[];var t=this.$store.getters.getSelectedFileImportOption.mappings;return t.length>0&&this.$store.commit("setPublishingIncomeDetailsAbbreviation",t[0].value),t}},methods:{showCurrencyConversionFactor:function(){var t=!1,e=this.$store.getters.getSelectedFileImport;return t="edition_björlund"===e||"bmg_us"===e||"iqmusic"===e||"musicreports"===e||"maestroAt"===e||"suisa"===e,t}}},Jd=Xd,Qd=Object(C["a"])(Jd,Wd,jd,!1,null,null,null),tg=Qd.exports,eg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,close:t.closeDialog,persistent:"",headline:"lang_GENERAL_ACTION_OPTION_UPDATE_ERROR_LIST",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1),a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{height:"25",alvqa:t.alvqa+"-progressbar",color:"dialogProgressbar"},model:{value:t.progressbarValue,callback:function(e){t.progressbarValue=e},expression:"progressbarValue"}},[t._v(t._s(t.progressbarValue)+" %")])],1)],1)],1)]},proxy:!0}])})},ag=[],ng={name:"RunErrorListDialog",props:{context:String},components:{BaseDialog:Pt},data:function(){return{alvqa:"dialog-run-error-list"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowRunErrorListDialog},set:function(t){this.$store.commit("setShowRunErrorListDialog",t)}},dialogText:{get:function(){return this.$store.getters.getRunErrorListDialogText},set:function(t){this.$store.commit("setRunErrorListDialogText",t)}},progressbarValue:{get:function(){return this.$store.getters.getRunErrorListDialogProgressValue},set:function(t){this.$store.commit("setRunErrorListDialogProgressValue",t)}}},methods:{closeDialog:function(){this.showDialog=!1,this.dialogText="",this.progressbarValue=0,this.$store.commit("setRunErrorListDialogPolling",null),this.$store.commit("setSelected"+this.context+"Action",[]),this.$store.commit("setIsAllSelected"+this.context,!1),this.$store.commit("setSelected"+this.context,[]),this.$store.commit("setExpanded"+this.context,[])}}},ig=ng,sg=Object(C["a"])(ig,eg,ag,!1,null,null,null),rg=sg.exports,lg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"inlineEditing",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,close:t.closeDialog,persistent:"",headline:t.getHeadline,alvqa:t.alvqa,maxDialogWidth:"800",maxCardHeight:"800"},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ConversionFactor",label:t.$t("lang_PUBLISHING_INCOME_CAPTION_CCF"),withMargin:!1,clearable:!0,alvqa:t.alvqa+"-textfield-list-conversion-factor",rules:"wuf|notZero"}})],1),"Income"===t.listPageContext?a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ListNo",label:t.$t("lang_GENERIC_CAPTION_LIST_NUMBER"),withMargin:!1,alvqa:t.alvqa+"-textfield-list-number"}})],1):t._e(),"Income"===t.listPageContext||"SalesData"===t.listPageContext?a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CommissionPercent",label:t.$t("lang_PUBLISHING_INCOME_CAPTION_COMMISSION_PERCENT"),withMargin:!1,clearable:!0,alvqa:t.alvqa+"-textfield-list-commission-percent",suffix:"%",rules:"percent3Decimals"}})],1):t._e()],1),a("BasePeriod",{attrs:{context:t.context,periodLabel:"lang_GENERIC_CAPTION_PERIOD",undefinedTimeUnit:!0,classNumber:"pr-3",classYear:"pr-3"}})],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_SAVE",disabled:t.isLoading,alvqa:t.alvqa+"-button-save"},on:{click:function(e){return n(t.save)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},og=[],cg={name:"InlineEditingListPageDialog",props:{listPageContext:String},components:{BaseDialog:Pt,BasePeriod:Zd,BaseButton:wt,BaseEditPageTextField:Ut},data:function(){return{alvqa:"inline-editing-listpage-dialog",context:this.listPageContext+"InlineEditingDialog"}},computed:{getHeadline:function(){var t=this,e=this.$store.getters["get"+this.listPageContext].find((function(e){return e.alvId===t.$store.getters["getSelected"+t.listPageContext]}));return void 0===e?"":this.$t("lang_GENERAL_CAPTION_EDIT_LISTPAGE_DIALOG_EDIT_METADATA")+": "+e.source},showDialog:{get:function(){return this.$store.getters.getShowInlineEditingDialog},set:function(t){this.$store.commit("setShowInlineEditingDialog",t)}},isLoading:function(){return"SalesData"==this.listPageContext&&this.$store.getters.getIsLoading},showListNumber:function(){return this.$store.getters["get"+this.listPageContext+"InlineEditingDialogDetails"].showListNumber}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelected"+this.listPageContext,[]),this.$store.commit("set"+this.listPageContext+"InlineEditingDialogDetails",{}),this.$store.commit("setSelectedPeriodValues"+this.listPageContext+"InlineEditingDialog",{num:null,period:"notDefined",year:null})},save:function(){this.$store.dispatch("save"+this.listPageContext+"EditDialog")}},created:function(){var t=this.$store.getters["get"+this.listPageContext+"InlineEditingDialogDefault"];this.$store.commit("set"+this.listPageContext+"InlineEditingDialogDetails",t)}},ug=cg,dg=Object(C["a"])(ug,lg,og,!1,null,null,null),gg=dg.exports,pg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"moveDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showMoveDialog,maxDialogWidth:"800",maxCardHeight:"600",headline:t.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_MOVE"),close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                        "+t._s(t.message)),a("br")])],1),a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-dropdown"}},[a("BaseEditPageDropdown",{attrs:{label:t.label,items:t.allCompanies,context:t.context,field:"SelectedCompany",withMargin:!1,rules:"required",clearable:!1,alvqa:t.alvqa+"-label-companies"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:function(e){return n(t.move)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},vg=[],_g={name:"MoveIntoCompanyDialog",data:function(){return{alvqa:"move-contract-dialog",label:""}},props:{context:{type:String},message:{type:String}},components:{BaseDialog:Pt,BaseEditPageDropdown:me,BaseButton:wt},computed:{showMoveDialog:{get:function(){return this.$store.getters.getShowMoveContractsDialog},set:function(t){this.$store.commit("setShowMoveContractsDialog",t)}},allCompanies:function(){var t=[],e=this.$route.meta.parentName,a=this.$route.meta.childName;"lang_LABEL"===e?(t=JSON.parse(JSON.stringify(this.$store.getters.getLabelCompanies)),this.label=this.$t("lang_GENERAL_CAPTION_LABEL_COMPANIES")):"lang_PUBLISHING"===e?(t=JSON.parse(JSON.stringify(this.$store.getters.getPublishingCompanies)),this.label=this.$t("lang_GENERAL_CAPTION_PUBLISHING_COMPANIES")):"lang_CONTRACTS"===e&&("lang_CONTRACTS_PUBLISHING_CONTRACTS"===a?(t=JSON.parse(JSON.stringify(this.$store.getters.getPublishingCompanies)),this.label=this.$t("lang_GENERAL_CAPTION_PUBLISHING_COMPANIES")):(t=JSON.parse(JSON.stringify(this.$store.getters.getLabelCompanies)),this.label=this.$t("lang_GENERAL_CAPTION_LABEL_COMPANIES")));var n=[];return t.forEach((function(t){n.push({text:t.name,value:t.alvId})})),n}},methods:{closeDialog:function(){this.showMoveDialog=!1,this.$refs.moveDialog.reset(),this.$store.commit("set"+this.context+"DetailsSelectedCompany",[])},move:function(){this.$store.dispatch("moveSelected"+this.context),this.closeDialog()}}},hg=_g,mg=Object(C["a"])(hg,pg,vg,!1,null,null,null),fg=mg.exports;function Sg(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Eg(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Sg(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Sg(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var Ig={name:"IncomeList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,ExpandIcon:is,DropdownFilter:us,IncomeReadOnly:kd,IncomeTopSlot:Md,IncomeFileImportDialog:tg,SelectionRequiredDialog:hs,RunErrorListDialog:rg,DeletionDialog:Cs,InlineEditingListpageDialog:gg,MoveIntoCompanyDialog:fg},data:function(){return{alvqa:"publishing-income",context:"Income"}},computed:Eg({},Object(u["c"])(["getIncomeSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"source",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_CATEGORY"),value:"category",align:"left",sortable:!1,width:"90px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_FILE_NAME"),value:"fileName",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_PERIOD"),value:"period",align:"right",sortable:!0,width:"150px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_IMPORT_DATE"),value:"importDate",align:"left",sortable:!0,width:"180px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_RECORDS"),value:"records",align:"right",sortable:!1,width:"100px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_NET")+" "+this.$store.getters.getSelectedCurrency,value:"net",align:"right",sortable:!1,width:"120px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_LIST_NUMBER"),value:"listNumber",align:"right",sortable:!1,width:"90px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_CCF"),value:"conversionFactor",align:"right",sortable:!1,width:"90px",class:"text-no-wrap"},{text:"",value:"downloadLink",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}}),methods:{inlineEditing:function(t){this.$store.commit("setSelectedIncome",[]),this.$store.commit("setIsAllSelectedIncome",!1),this.$store.commit("setSelectedIncome",t.alvId);var e=this.$store.getters.getIncome.find((function(e){return e.alvId===t.alvId})),a=JSON.parse(JSON.stringify(e));null!==a.commissionPercent&&(a.commissionPercent=this.$i18n.n(a.commissionPercent,"decimal3")),null!==a.conversionFactor&&(a.conversionFactor=this.$i18n.n(a.conversionFactor,"decimal8")),this.$store.commit("setIncomeInlineEditingDialogDetails",a),this.$store.commit("setShowInlineEditingDialog",!0)},quarterItems:function(t){return[{text:"1. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:1,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-1"},{text:"2. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:2,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-2"},{text:"3. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:3,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-3"},{text:"4. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:4,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-4"}]},yearItems:function(t){for(var e=[],a=(new Date).getFullYear(),n=a;n>=2008;n--)e.push({text:n.toString(),value:n,alvqa:this.alvqa+"-dropdown-"+t+"-year-"+n});return e}},created:function(){this.$store.dispatch("fetchIncomeImporters")}},Cg=Ig,Ag=Object(C["a"])(Cg,Ad,Td,!1,null,null,null),Tg=Ag.exports,bg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("PeriodRequiredDialog"),a("PublishingStatementsRoyaltyControllingDialog"),a("DeletionDialog",{attrs:{context:"SelectedPublishingStatementsArchive"}}),a("PublishingStatementsArchivingDialog"),a("StatementPreviewDialog",{attrs:{context:"PublishingStatements",dir:"publishing/statements"}}),a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_STATEMENTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"period",fn:function(){return[a("BasePeriod",{staticClass:"pt-2 pl-3",attrs:{context:t.context,widthYearField:"2",widthNumberField:"1",periodLabel:"lang_GENERIC_CAPTION_PERIOD"}})]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,showExpand:!0,readOnlyGhostTdSpan:"2",alvqa:t.alvqa,differentItemsPerPage:900,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("PublishingStatementsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand",color:n.item.archiveRowsExist?"standardBrownIcon":"buttonStandard"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-licensor"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v("\n                                "+t._s(null!==n.item.licensor?t.$alvPlugin.showNameOfAzEntry(n.item.licensor)+" ("+t.$t("lang_GENERIC_CAPTION_ALVID")+": "+n.item.licensor.alvId+")":"")+"\n                            ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(n.item.licensor))+"                               \n                            ")]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"no_ellipsis"},[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-last-created-on"}},[t._v("\n                                "+t._s(null!==n.item.lastCreatedOn?t.$d(new Date(n.item.lastCreatedOn),"alvDateTime",t.$i18n.locale):"")+"\n                            ")])]),a("td",{staticClass:"no_ellipsis text-right"},[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-period"}},[t._v("\n                                "+t._s(t.$alvPlugin.displayPeriod(n.item.period))+"\n                            ")])]),a("td",{staticClass:"no_ellipsis text-right"},[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-amount"}},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(n.item.amount,"number"))+"\n                            ")])])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("PublishingStatementsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Pg=[],Dg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:t.context,alvqa:t.alvqa}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"PublishingStatements",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-col",{staticClass:"mt-2 mr-5",attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{label:t.setRoyaltyControlLingBtnLabel,progressPercentage:t.progressbarValue,block:"",disabled:t.royaltyControllingIsRunning,alvqa:t.alvqa+"-list-button-royalty-controlling"},on:{click:function(e){null!==t.royaltyControllingPath?t.downloadFile(t.royaltyControllingPath):t.royaltyControlling()}}})],1),t.$store.getters.getIsPublishingStatementsRunning?a("v-col",{staticClass:"mt-2 text-right",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_BUTTON_CAPTION_CHECK_STATUS",block:"",alvqa:t.alvqa+"-list-button-check-statement-status"},on:{click:function(e){return t.checkStatus()}}})],1):t._e()],1)],1)},Ng=[],Rg={name:"PublishingStatementsTopSlot",components:{ActionDropdown:Mn,BaseHeaderStats:ti,BaseButton:wt},data:function(){return{context:"PublishingStatements",alvqa:"publishing-statements",royaltyControlLingBtnLabel:"",royaltyControlLingBtnDisabled:!1}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},royaltyControllingIsRunning:{get:function(){return this.$store.getters.getPublishingStatementsRoyaltyControllingInProcess},set:function(t){this.$store.commit("setPublishingStatementsRoyaltyControllingInProcess",t)}},royaltyControllingPath:{get:function(){return this.$store.getters.getPublishingStatementsRoyaltyControllingPath},set:function(t){this.$store.commit("setPublishingStatementsRoyaltyControllingPath",t)}},progressbarValue:{get:function(){return this.$store.getters.getPublishingStatementsRoyaltyControllingProgressbarValue},set:function(t){this.$store.commit("setPublishingStatementsRoyaltyControllingProgressbarValue",t)}},setRoyaltyControlLingBtnLabel:function(){var t="lang_PUBLISHING_STATEMENTS_BUTTON_OPTION_ROYALTY_CONTROLLING";return this.royaltyControllingIsRunning&&(t="lang_PUBLISHING_STATEMENTS_ROYALTY_CONTROLLING_POPUP"),null===this.royaltyControllingPath||this.royaltyControllingIsRunning||(t="lang_GENERAL_CAPTION_DOWNLOAD_FILE"),t},actions:function(){return[{text:this.$t("lang_GENERIC_ACTION_OPTION_CAPTION_LAUNCH_STATEMENT_PREVIEW"),value:"launchStatementRun",alvqa:this.alvqa+"-list-action-dropdown-run-statements"},{text:this.$t("lang_GENERAL_CAPTION_ARCHIVE_WITH_CARRY_FORWARD"),value:"archiveWithForwarded",alvqa:this.alvqa+"-list-action-dropdown-archive-with-forwarded"},{text:this.$t("lang_GENERAL_CAPTION_ARCHIVE_WITHOUT_CARRY_FORWARD"),value:"archiveWithoutForwarded",alvqa:this.alvqa+"-list-action-dropdown-archive-without-forwarded"},{text:this.$t("lang_PUBLISHING_STATEMENTS_CAPTION_DOWNLOAD_BULK"),value:"bulkDownload",alvqa:this.alvqa+"-list-action-dropdown-bulk-download"}]}},methods:{checkStatus:function(){this.$store.dispatch("checkStatusOfStatementsRun",{context:"PublishingStatements",dir:"publishing/statements"})},royaltyControlling:function(){var t=this.$store.getters.getSelectedPeriodTimeUnitPublishingStatements,e=this.$store.getters.getSelectedPeriodNumberPublishingStatements,a=this.$store.getters.getSelectedPeriodYearPublishingStatements;if(""!==t&&void 0!==t&&null!==t)switch(t){case"month":case"quarter":case"halfyear":null!==e&&void 0!==e&&null!==a&&void 0!==a?(this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialog",!0),this.$store.commit("setPublishingStatementsRoyaltyControllingDialogText",it.t("lang_PUBLISHING_STATEMENTS_ROYALTY_CONTROLLING_CONFIRMATION_POPUP")),this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",!0)):(this.$store.commit("setShowPeriodRequiredDialog",!0),this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",!1));break;case"year":null!==a&&void 0!==a?(this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialog",!0),this.$store.commit("setPublishingStatementsRoyaltyControllingDialogText",it.t("lang_PUBLISHING_STATEMENTS_ROYALTY_CONTROLLING_CONFIRMATION_POPUP")),this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",!0)):(this.$store.commit("setShowPeriodRequiredDialog",!0),this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",!1));break}else this.$store.commit("setShowPeriodRequiredDialog",!0)},downloadFile:function(t){k$.getFileFromALV(t),this.royaltyControllingPath=null,this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",!1)}}},xg=Rg,Og=Object(C["a"])(xg,Dg,Ng,!1,null,null,null),wg=Og.exports,Lg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{staticClass:"pl-0",attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.archivingHeaders,items:t.item.archiveRows,"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.archivingHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.archivePeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-period"}},[t._v("\n                        "+t._s(null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$alvPlugin.displayPeriod(n.archivePeriod))+"\n                    ")])]}},{key:"item.forward",fn:function(e){var n=e.item;return[null!==n.forward?a("div",[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-chip",{attrs:{small:"",color:null!==n.forward?"standard":"standardBrownIcon",alvqa:t.alvqa+"-archive-"+n.id+"-chip-carry-forward"}},[t._v("\n                                    "+t._s(null!==n.forward?t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_CARRY_FORWARD"):t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_WITHOUT_CARRY_FORWARD"))+"\n                                ")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.$n(n.forward,"number")+" "+t.getCurrentCurrency))])]},proxy:!0}],null,!0)})],1):a("div",[a("v-chip",{attrs:{small:"",color:n.forward?"standard":"standardBrownIcon",alvqa:t.alvqa+"-archive-"+n.id+"-chip-carry-forward"}},[t._v("\n                        "+t._s(n.forward?t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_CARRY_FORWARD"):t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_WITHOUT_CARRY_FORWARD"))+"\n                    ")])],1)]}},{key:"item.net",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-net"}},[t._v("\n                        "+t._s(null!==n.net?t.$n(n.net,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                    ")])]}},{key:"item.vatValue",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-vat-value"}},[t._v("\n                        "+t._s(null!==n.vatValue?t.$n(n.vatValue,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                    ")])]}},{key:"item.taxWaiver",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-tax-waiver"}},[t._v("\n                        "+t._s(null!==n.taxWaiver?t.$n(n.taxWaiver,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                    ")])]}},{key:"item.sum",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-sum"}},[t._v("\n                        "+t._s(null!==n.sum?t.$n(n.sum,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                    ")])]}},{key:"item.creditNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-credit-number"}},[t._v("\n                        "+t._s(null===n.creditNumber?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):n.creditNumber)+"\n                    ")])]}},{key:"item.archivedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-archiving-date"}},[t._v("\n                        "+t._s(null!==n.archivedOn?t.$d(new Date(n.archivedOn),"alvDateTime",t.$i18n.locale):"")+"\n                    ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"#d1d1d1",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-archive-"+n.id+"-icon-delete"},on:{click:function(e){return e.stopPropagation(),t.deleteArchiveLine(n)}}})]}},{key:"item.path",fn:function(e){var n=e.item;return[null!==n.path?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",alvqa:t.alvqa+"-archive-"+n.id+"-icon-download"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.path)}}}):t._e()]}}],null,!0)})],1)],1)],1)},yg=[],qg={name:"PublishingStatementsReadOnly",props:{itemId:{type:Number}},components:{BaseIcon:N,BaseTooltip:T},data:function(){return{alvqa:"publishing-statements-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedPublishingStatements.find((function(e){return e.id===t.itemId}));return e},getCurrentCurrency:function(){return this.$store.getters.getSelectedCurrency},archivingHeaders:function(){return[{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_ARCHIVE_PERIOD"),value:"archivePeriod",align:"left",sortable:!1,width:"140px",alvqa:this.alvqa+"-archive-header-period"},{text:"",value:"forward",align:"left",sortable:!1,width:"170px"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_NET")+" "+this.$store.getters.getSelectedCurrency,value:"net",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-net"},{text:this.$t("lang_GENERIC_STATEMENTS_CAPTION_UST")+" "+this.$store.getters.getSelectedCurrency,value:"vatValue",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-net"},{text:this.$t("lang_GENERIC_STATEMENTS_CAPTION_TAX_WAIVER")+" "+this.$store.getters.getSelectedCurrency,value:"taxWaiver",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-net"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_GROSS")+" "+this.$store.getters.getSelectedCurrency,value:"sum",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-sum"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_CREDIT_NUMBER"),value:"creditNumber",align:"right",sortable:!1,width:"190px",alvqa:this.alvqa+"-archive-header-credit-number"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_ARCHIVED_ON"),value:"archivedOn",align:"right",sortable:!1,width:"200px",alvqa:this.alvqa+"-archive-header-archived-on"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"path",align:"right",sortable:!1,width:"70px"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{deleteArchiveLine:function(t){var e,a=this;this.$store.getters.getExpandedPublishingStatements.forEach((function(t){t.id===a.itemId&&(e=t.alvId)})),this.$store.commit("setSelectedPublishingStatementsForDeleteArchive",e),this.$store.commit("setSelectedPublishingStatementsArchive",t),this.$store.commit("setDeletionDialogContext","SelectedPublishingStatementsArchive"),this.$store.commit("setShowDeletionDialog",!0)},downloadFile:function(t){k$.getFileFromALV(t)}}},kg=qg,Bg=(a("e455"),Object(C["a"])(kg,Lg,yg,!1,null,null,null)),$g=Bg.exports,Gg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_PUBLISHING_STATEMENTS_DIALOG_CAPTION_ARCHIVING",close:t.closeDialog,alvqa:t.alvqa,maxCardHeight:"600",maxDialogWidth:"700"},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.checkIfSomeRowsNotArchivable?a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"warning-text"}},[t._v("\n                      "+t._s(t.$t("lang_LABEL_STATEMENTS_ARCHIVING_WARNING_NO_RESULTS"))+" "),a("br"),a("br"),t._v("\n                      "+t._s(t.getNameOfNotNotArchivableStatements())+"\n                  ")])],1):t._e(),t.checkIfNoneAreArchivable?a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"close-text"}},[t._v("\n                      "+t._s(t.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"))+"\n                  ")])],1):t._e(),a("v-row",[t.checkIfNoneAreArchivable?t._e():a("v-col",{attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.getDialogText)}})],1),a("v-row",[a("v-col",[a("v-text-field",{attrs:{label:t.$t("lang_GENERAL_CAPTION_ADD_TAG"),"hide-details":"",clearable:"",alvqa:t.alvqa+"-textfield-add-tag"},model:{value:t.addTag,callback:function(e){t.addTag=e},expression:"addTag"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end pl-0 pt-0",attrs:{"align-self":"center"}},[t.archivingIsInProgress?a("v-progress-circular",{staticClass:"mr-5",attrs:{alvqa:t.alvqa+"-progress-bar",indeterminate:"",color:"dialogProgressbar"}}):t._e(),a("BaseButton",{attrs:{disabled:t.checkIfNoneAreArchivable||t.archivingIsInProgress,label:t.getButtonLabel,alvqa:t.alvqa+"-button-archiving-"+t.getTypeOfArchiving()},on:{click:t.archive}})],1)],1)],1)]},proxy:!0}])})},Fg=[],Ug={name:"PublishingStatementsArchivingDialog",data:function(){return{alvqa:"publishing-statements-archiving-dialog"}},components:{BaseDialog:Pt,BaseButton:wt},computed:{addTag:{get:function(){return this.$store.getters.getAddTag},set:function(t){null!=t?this.$store.commit("setAddTag",t.replace(/\s/g,"")):this.$store.commit("setAddTag",null)}},showDialog:{get:function(){return this.$store.getters.getShowPublishingStatemtensArchivingDialog},set:function(t){this.$store.commit("setShowPublishingStatemtensArchivingDialog",t)}},archivingIsInProgress:function(){return this.$store.getters.getPublishingStatementsArchivingInProgress},getButtonLabel:function(){var t=this.$store.getters.getSelectedPublishingStatementsAction,e="";return"archiveWithForwarded"===t&&(e="lang_GENERAL_CAPTION_ARCHIVE_WITH_CARRY_FORWARD"),"archiveWithoutForwarded"===t&&(e="lang_GENERAL_CAPTION_ARCHIVE_WITHOUT_CARRY_FORWARD"),e},getDialogText:function(){var t=this,e=this.$t("lang_LABEL_STATEMENTS_ARCHIVING_DIALOG_TEXT");return e=e.replace(/<archiving>/gi,(function(e){return{"<archiving>":t.$t(t.getButtonLabel)}[e]})),e},checkIfNoneAreArchivable:function(){var t=this.getSelectedStatementsDetails();return t.every((function(t){return"no"===t.archivable}))},checkIfSomeRowsNotArchivable:function(){var t=this.getSelectedStatementsDetails();return t.some((function(t){return"no"===t.archivable}))}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedPublishingStatementsAction",[]),this.$store.commit("setAddTag",null)},archive:function(){this.$store.dispatch("archivePublishingStatements")},getSelectedStatementsDetails:function(){var t=this.$store.getters.getSelectedPublishingStatements,e=this.$store.getters.getPublishingStatements,a=[];return t.forEach((function(t){var n=e.find((function(e){return t===e.alvId}));a.push(n)})),a},getNameOfNotNotArchivableStatements:function(){var t=this.getSelectedStatementsDetails(),e=[];return t.forEach((function(t){"no"===t.archivable&&e.push(t.name)})),e.join(", ")},getTypeOfArchiving:function(){return"archiveWithForwarded"==this.$store.getters.getSelectedPublishingStatementsAction?"with-carry-forward":"without-carry-forward"}}},Mg=Ug,Wg=Object(C["a"])(Mg,Gg,Fg,!1,null,null,null),jg=Wg.exports,zg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_GENERIC_ACTION_OPTION_CAPTION_LAUNCH_STATEMENT_PREVIEW",close:t.closeDialog,alvqa:t.alvqa,maxCardHeight:"600",maxDialogWidth:"700"},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-dialog-title"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context+"StatementPreviewDialog",clearable:!1,field:"StatementPreviewDate",label:t.$t("lang_GENERIC_CAPTION_STATEMENT_CREATION_DATE"),disabled:!1,alvqa:t.alvqa+"-datepicker-statement-date"}})],1)],1),a("v-row",{staticClass:"ml-4"},[a("v-col",{staticClass:"pl-0"},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+"StatementPreviewDialogCreatePdf",label:t.$t("lang_PUBLISHING_STATEMENTS_ACTION_STATEMENT_PREVIEW_DIALOG_OPTIMIZE_PROCESSING_CHECKBOX"),value:!0,hideDetails:"",iconTooltipText:t.$t("lang_PUBLISHING_STATEMENTS_ACTION_STATEMENT_PREVIEW_DIALOG_OPTIMIZE_PROCESSING_CHECKBOX_TOOLTIP_TEXT"),alvqa:t.alvqa+"-excel-checkbox-create-pdf"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("span",[a("BaseButton",{attrs:{disabled:!1,label:t.getButtonLabel,alvqa:t.alvqa+"-button-archiving"},on:{click:t.start}})],1)])],1)],1)]},proxy:!0}])})},Hg=[],Vg={name:"StatementPreviewDialog",data:function(){return{alvqa:"statements-statement-preview-dialog"}},props:{context:String,dir:String},components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageDatePicker:$r,BaseCheckbox:Qt,BaseTooltip:T},computed:{showDialog:{get:function(){return this.$store.getters.getShowStatementPreviewDialog},set:function(t){this.$store.commit("setShowStatementPreviewDialog",t)}},selectedPreviewDate:{get:function(){return this.$store.getters["get"+this.context+"StatementPreviewDialogDetailsStatementPreviewDate"]},set:function(t){this.$store.commit("set"+this.context+"StatementPreviewDialogDetailsStatementPreviewDate",t)}},createPdfCheckBox:{get:function(){return this.$store.getters["get"+this.context+"StatementPreviewDialogCreatePdfCheckbox"]},set:function(t){this.$store.commit("set"+this.context+"StatementPreviewDialogCreatePdfCheckbox",t)}},getButtonLabel:function(){var t="lang_BUTTON_START";return t}},methods:{closeDialog:function(){this.showDialog=!1,this.selectedPreviewDate=this.$alvPlugin.dateToISOFormat(new Date)},start:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.$store.getters["get"+this.context+"StatementPreviewDialogDetailsStatementPreviewDate"],a=this.$store.getters["get"+this.context+"StatementPreviewDialogCreatePdfCheckbox"],t.next=4,this.$store.dispatch("launchStatementRun",{context:this.context,dir:this.dir,statementDate:e,createPdf:a});case 4:this.closeDialog();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},Yg=Vg,Kg=Object(C["a"])(Yg,zg,Hg,!1,null,null,null),Zg=Kg.exports,Xg=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showPeriodRequiredDialog,maxDialogWidth:"450",headline:"lang_GENERAL_SELECTION_REQUIRED_DIALOG_TITLE",close:function(){t.showPeriodRequiredDialog=!1},alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERAL_CAPTION_PLEASE_SELECT_PERIOD"))+".\n                ")])],1)],1)]},proxy:!0}])})},Jg=[],Qg={name:"PeriodRequiredDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{alvqa:"period-required-dialog"}},computed:{showPeriodRequiredDialog:{get:function(){return this.$store.getters.getShowPeriodRequiredDialog},set:function(t){this.$store.commit("setShowPeriodRequiredDialog",t)}}}},tp=Qg,ep=Object(C["a"])(tp,Xg,Jg,!1,null,null,null),ap=ep.exports,np=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,close:t.closeDialog,persistent:"",headline:"lang_PUBLISHING_STATEMENTS_BUTTON_OPTION_ROYALTY_CONTROLLING",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.showConfirmationButton?a("v-row",[a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_PUBLISHING_STATEMENTS_ROYALTY_CONTROLLING_BUTTON_START ",alvqa:t.alvqa+"-button-yes"},on:{click:function(e){return t.confirmProcess()}}})],1)],1):t._e()],1)]},proxy:!0}])})},ip=[],sp={name:"PublishingStatementsRoyaltyControllingDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"publishing-statements-royalty-controlling-dialog",showConfirmationTriggers:!0}},computed:{showDialog:{get:function(){return this.$store.getters.getShowPublishingStatementsRoyaltyControllingDialog},set:function(t){return this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialog",t)}},showConfirmationButton:{get:function(){return this.$store.getters.getShowPublishingStatementsRoyaltyControllingDialogConfirmationButton},set:function(t){return this.$store.commit("setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton",t)}},dialogText:{get:function(){return this.$store.getters.getPublishingStatementsRoyaltyControllingDialogText},set:function(t){this.$store.commit("setPublishingStatementsRoyaltyControllingDialogText",t)}}},methods:{closeDialog:function(){this.showDialog=!1,this.dialogText="",this.showConfirmationButton=!1},confirmProcess:function(){this.$store.dispatch("publishingStatemtensRoyaltyControlling"),this.$store.commit("setPublishingStatementsRoyaltyControllingInProcess",!0),this.closeDialog()}},created:function(){}},rp=sp,lp=Object(C["a"])(rp,np,ip,!1,null,null,null),op=lp.exports;function cp(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function up(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?cp(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):cp(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var dp={name:"PublishingStatementsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,BasePeriod:Zd,ExpandIcon:is,PublishingStatementsTopSlot:wg,PublishingStatementsReadOnly:$g,PublishingStatementsArchivingDialog:jg,DeletionDialog:Cs,StatementPreviewDialog:Zg,SelectionRequiredDialog:hs,PeriodRequiredDialog:ap,PublishingStatementsRoyaltyControllingDialog:op},data:function(){return{context:"PublishingStatements",alvqa:"publishing-statements"}},computed:up({},Object(u["c"])(["getPublishingStatementsSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_LICENSOR"),value:"licensor",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_STATEMENTS_CAPTION_LAST_CREATED_ON"),value:"lastCreatedOn",align:"left",sortable:!0,width:"220px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_PERIOD"),value:"period",align:"right",sortable:!1,width:"150px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,value:"amount",align:"right",sortable:!0,width:"180px",class:"text-no-wrap"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"downloadLink",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}})},gp=dp,pp=Object(C["a"])(gp,bg,Pg,!1,null,null,null),vp=pp.exports,_p=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("FileImportDialog",{scopedSlots:t._u([{key:"importOptions",fn:function(){return[a("v-row",{attrs:{justify:"center"}},[a("v-col",{attrs:{cols:"3"}},[a("v-select",{attrs:{items:t.yearOptions,label:t.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_YEAR"),"hide-details":""},model:{value:t.selectedYear,callback:function(e){t.selectedYear=e},expression:"selectedYear"}})],1)],1)]},proxy:!0}])}),a("v-row",[a("v-col",{staticClass:"headline"},[t._v(t._s(t.$t("lang_PUBLISHING_TRACKING")))])],1),a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("ProlistsPanel"),a("SetlistsPanel"),a("MyMappingPanel")],1)],1)},hp=[],mp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_TRACKING_PANEL_CAPTION_PRO_LISTS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("ValidationObserver",{ref:"editForm",scopedSlots:t._u([{key:"default",fn:function(e){e.invalid,e.validated,e.validate;var n=e.passes;return[a("BaseInlineEditingDataTable",{attrs:{headers:t.headers,context:t.context},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("ProlistsPanelTopSlot",{attrs:{validation:n}})]},proxy:!0},{key:"editRow",fn:function(t){var e=t.items;return[a("ProlistsEditRow",{attrs:{items:e}})]}}],null,!0)})]}}])})]},proxy:!0}])})},fp=[],Sp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.listItems,"no-data-text":t.noDataText,loading:t.isLoading,"loading-text":t.loadingText,"hide-default-footer":"",page:t.page,"items-per-page":t.itemsPerPage},on:{"update:page":function(e){t.page=e}},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("topSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.items;return[0!==n.length?t._t("editRow",null,{items:n}):a("tbody",[a("tr",{staticClass:"v-data-table__empty-wrapper"},[a("td",{attrs:{colspan:t.headers.length}},[a("div",{attrs:{alvqa:t.alvqa+"-list-no-data-text"}},[t._v(t._s(t.noDataText))])])])])]}}],null,!0)})],1)],1),t.pages()>1?a("v-row",{attrs:{align:"center","align-content":"center"}},[a("v-pagination",{attrs:{"total-visible":"7",length:t.pages()},model:{value:t.page,callback:function(e){t.page=e},expression:"page"}})],1):t._e()],1)},Ep=[],Ip={name:"BaseInlineEditingDataTable",props:{headers:{required:!0,type:Array,default:[]},context:{required:!0,type:String,default:""},itemKey:{type:String},alvqa:{type:String,default:""}},data:function(){return{page:1}},computed:{listItems:function(){return this.$store.getters["get"+this.context]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},loadingText:function(){return this.$t("lang_GENERAL_LOADING_DATATABLE")},isLoading:function(){return this.$store.getters.getIsLoading},noDataText:function(){return this.$t(this.$store.getters.getNoDataText)}},methods:{pages:function(){return null==this.itemsPerPage||null==this.listItems.length?0:Math.ceil(this.listItems.length/this.itemsPerPage)},addNewRow:function(){this.$store.dispatch("addNewRow"+this.context)}},created:function(){"Credentials"===this.context&&(this.$store.commit("setIsLoading",!0),this.$store.dispatch("fetch"+this.context))}},Cp=Ip,Ap=(a("559f"),Object(C["a"])(Cp,Sp,Ep,!1,null,null,null)),Tp=Ap.exports,bp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ImportButton",{attrs:{items:t.importOptions,label:t.$t("lang_PUBLISHING_TRACKING_BUTTON_CAPTION_IMPORT_STATEMENTS"),context:"FileImport",cols:"3"}}),a("v-spacer"),a("v-row",{staticClass:"pr-3",attrs:{align:"end"}},[a("v-col",{attrs:{align:"end"}},[a("BaseIcon",{attrs:{icon:"save",tooltipText:"lang_GENERAL_BUTTON_SAVE"},on:{click:function(e){return t.validation(t.saveDataTable)}}})],1)],1)],1)},Pp=[],Dp={name:"ProlistsPanelTopSlot",components:{ActionDropdown:Mn,ImportButton:Yn,BaseIcon:N},props:{validation:Function},computed:{actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete"}]},importOptions:function(){return[{text:this.$t("lang_PUBLISHING_TRACKING_BUTTON_OPTION_GEMA_NA"),value:"gemaNA"}]}},methods:{saveDataTable:function(){this.$store.dispatch("saveProlists")}}},Np=Dp,Rp=Object(C["a"])(Np,bp,Pp,!1,null,null,null),xp=Rp.exports,Op=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tbody",t._l(t.items,(function(e,n){return a("tr",{key:n},[a("td",[t._v(" "+t._s(e.category))]),a("td",[t._v(" "+t._s(e.fileName))]),a("td",[a("ValidationProvider",{attrs:{rules:"prolistYear",slim:""},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.errors;return[a("v-text-field",{staticClass:"alvcell mt-0 pt-1",attrs:{error:e.yearError,depressed:"","hide-details":"",reverse:"","error-messages":i},model:{value:e.year,callback:function(a){t.$set(e,"year",a)},expression:"row.year"}})]}}],null,!0)})],1),a("td",{staticClass:"text-right"},[t._v(t._s(e.rows))]),a("td",[t._v(t._s(t.$d(new Date(e.importDate),"alvDateFormat",t.selectedDateFormat)))]),a("td",[null!==e.path?a("BaseIcon",{attrs:{href:e.path,icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD"}}):t._e()],1),a("td",[e.editable?t._e():a("BaseIcon",{attrs:{icon:"delete"},on:{click:function(a){return t.deleteRow(e)}}})],1)])})),0)},wp=[],Lp=a("7bb1"),yp={name:"ProlistsEditRow",components:{BaseIcon:N},props:{items:{required:!0,type:Array,default:[]}},computed:{noDataText:function(){return this.$store.getters.getNoDataText},selectedDateFormat:function(){return this.$i18n.locale}},methods:{edit:function(t){this.$store.commit("setProlistsTempRow",t),t.editable=!t.editable},save:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(Lp["d"])(e.year,"required").then((function(t){e.yearError=!t.valid}));case 2:return t.next=4,this.$nextTick();case 4:e.yearError?this.$store.commit("setSnackbar",{type:"error",msg:"Year for statement is missing"}):(this.$store.commit("deleteProlistsTempRow",e),e.editable=!e.editable);case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteRow:function(t){this.$store.commit("setSelectedProlists",[t.id]),this.$store.commit("setShowDeletionDialogProlists",!0)},cancel:function(t){this.$store.commit("replaceNewProlistsValuesWithOld",t),this.$store.commit("deleteProlistsTempRow",t)}}},qp=yp,kp=Object(C["a"])(qp,Op,wp,!1,null,null,null),Bp=kp.exports,$p={name:"ProlistsPanel",components:{BaseInlineEditingDataTable:Tp,BasePanel:vi,ProlistsPanelTopSlot:xp,ProlistsEditRow:Bp},data:function(){return{context:"Prolists"}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_CATEGORY"),align:"left",value:"category",class:"text-no-wrap",width:"10%"},{text:this.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_FILE"),align:"left",value:"fileName",class:"text-no-wrap",width:"40%"},{text:this.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_YEAR"),align:"right",value:"year",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_RECORDS"),align:"right",value:"rows",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_TRACKING_PROLISTS_PANEL_CAPTION_IMPORT_DATE"),align:"left",value:"importDate",class:"text-no-wrap"},{text:"",align:"right",value:"downloadLink",width:"50px"},{text:"",align:"right",value:"delete",width:"50px"}]}}},Gp=$p,Fp=Object(C["a"])(Gp,mp,fp,!1,null,null,null),Up=Fp.exports,Mp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_TRACKING_PANEL_CAPTION_SETLISTS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:"Setlists",groupBy:"year",showExpand:!1}})]},proxy:!0}])})},Wp=[],jp={name:"SetlistsPanel",components:{BasePanel:vi,BaseDataTableList:En},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_TRACKING_SETLISTS_PANEL_CAPTION_FILE"),align:"left",value:"fileName"},{text:this.$t("lang_PUBLISHING_TRACKING_SETLISTS_PANEL_CAPTION_YEAR"),align:"left",value:"year"},{text:this.$t("lang_PUBLISHING_TRACKING_SETLISTS_PANEL_CAPTION_RECORDS"),align:"right",value:"rows"},{text:this.$t("lang_PUBLISHING_TRACKING_SETLISTS_PANEL_CAPTION_IMPORT_DATE"),align:"left",value:"importDate"},{text:"",align:"right",value:"downloadLink",width:"50px"}]}}},zp=jp,Hp=Object(C["a"])(zp,Mp,Wp,!1,null,null,null),Vp=Hp.exports,Yp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_TRACKING_PANEL_CAPTION_MY_MAPPING"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("BaseInlineEditingDataTable",{attrs:{context:"MyMapping",headers:t.headers},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("v-row",[a("v-spacer"),a("v-col",{attrs:{cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:""},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},{key:"editRow",fn:function(t){var e=t.items;return[a("MyMappingEditRow",{attrs:{items:e}})]}}])})]},proxy:!0}])})},Kp=[],Zp=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tbody",t._l(t.items,(function(e,n){return a("tr",{key:n},[a("td",[e.editable?a("v-text-field",{attrs:{depressed:""},model:{value:e.prolistsPhrase,callback:function(a){t.$set(e,"prolistsPhrase",a)},expression:"row.prolistsPhrase"}}):[t._v("\n        "+t._s(e.prolistsPhrase)+"\n      ")]],2),a("td",[e.editable?a("v-text-field",{attrs:{depressed:""},model:{value:e.myPhrase,callback:function(a){t.$set(e,"myPhrase",a)},expression:"row.myPhrase"}}):[t._v("\n        "+t._s(e.myPhrase)+"\n      ")]],2),a("td",{staticClass:"text-right"},[e.editable?a("v-text-field",{attrs:{depressed:""},model:{value:e.art,callback:function(a){t.$set(e,"art",a)},expression:"row.art"}}):[t._v("\n        "+t._s(e.art)+"\n      ")]],2),a("td",[e.editable?a("BaseIcon",{attrs:{icon:"save"},on:{click:function(a){return t.save(e)}}}):a("BaseIcon",{attrs:{icon:"edit"},on:{click:function(a){return t.edit(e)}}})],1),a("td",[e.editable?a("BaseIcon",{attrs:{icon:"close"},on:{click:function(a){return t.close(e)}}}):a("BaseIcon",{attrs:{icon:"delete"},on:{click:function(a){return t.deleteRow(e)}}})],1)])})),0)},Xp=[],Jp={name:"MyMappingEditRow",components:{BaseIcon:N},props:{items:{required:!0,type:Array,default:[]}},methods:{save:function(t){this.$store.dispatch("saveMyMappingRow",t)},close:function(t){t.id>0?(this.$store.commit("replaceNewMyMappingValuesWithOld",t),this.$store.commit("deleteMyMappingTempRow",t)):this.$store.commit("deleteMyMappingRow",t),t.editable=!1},deleteRow:function(t){this.$store.commit("setSelectedMyMapping",[t.id]),this.$store.commit("setShowDeletionDialogMyMapping",!0)},edit:function(t){t.editable=!0,this.$store.commit("setMyMappingTempRow",t)}}},Qp=Jp,tv=Object(C["a"])(Qp,Zp,Xp,!1,null,null,null),ev=tv.exports,av={name:"MyMappingPanel",components:{BasePanel:vi,BaseInlineEditingDataTable:Tp,BaseButton:wt,MyMappingEditRow:ev},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_TRACKING_MAPPING_PRO_LISTS"),align:"left",value:"prolistsPhrase"},{text:this.$t("lang_PUBLISHING_TRACKING_MAPPING_MY_LISTS"),align:"left",value:"myPhrase"},{text:"Art",align:"right",value:"art"},{text:"",align:"right",value:"editInline",width:"50px"},{text:"",align:"right",value:"delete",width:"50px"}]},myMappingItems:{get:function(){return this.$store.getters.getMyMapping},set:function(t){this.$store.commit("setMyMapping",t)}}},methods:{addNewRow:function(){this.$store.dispatch("addNewRowMyMapping")}}},nv=av,iv=Object(C["a"])(nv,Yp,Kp,!1,null,null,null),sv=iv.exports,rv={name:"Tracking",components:{ProlistsPanel:Up,SetlistsPanel:Vp,MyMappingPanel:sv,FileImportDialog:Ns},computed:{selectedYear:{get:function(){return this.$store.getters.getSelectedUploadYear},set:function(t){this.$store.commit("setSelectedUploadYear",t)}},yearOptions:function(){for(var t=[],e=(new Date).getFullYear(),a=e;a>=2008;a--)t.push(a);return t}}},lv=rv,ov=Object(C["a"])(lv,_p,hp,!1,null,null,null),cv=ov.exports,uv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseListPage",{attrs:{headline:"lang_PUBLISHING_STATISTICS",context:t.context,alvqa:t.alvqa,searchCols:"2",searchIconLangConst:"lang_PUBLISHING_STATISTICS_CAPTION_SUMS_ON_SCREEN"},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"FromQuarter",label:"lang_PUBLISHING_STATISTICS_CAPTION_FROM_QUARTER",items:t.quarterItems("from"),alvqa:t.alvqa+"-list-dropdown-from-quarter",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"FromYear",label:"lang_PUBLISHING_STATISTICS_CAPTION_FROM_YEAR",items:t.yearItems("from"),alvqa:t.alvqa+"-list-dropdown-from-year",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ToQuarter",label:"lang_PUBLISHING_STATISTICS_CAPTION_TO_QUARTER",items:t.quarterItems("to"),alvqa:t.alvqa+"-list-dropdown-to-quarter",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ToYear",label:"lang_PUBLISHING_STATISTICS_CAPTION_TO_YEAR",items:t.yearItems("to"),alvqa:t.alvqa+"-list-dropdown-to-year",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"TypeOfRights",label:"lang_PUBLISHING_STATISTICS_CAPTION_TYPE_OF_RIGHTS",items:t.typeOfRightsItems,alvqa:t.alvqa+"-list-dropdown-type-of-rights",clearable:!1,multiple:!0,allSelect:!0}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,showExpand:!1},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("PublishingStatisticsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("td",{staticClass:"caption text-center",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-status_type"}},[t._v("\n                        "+t._s(t.$t(t.getWorksType(n.item.status,n.item.type)))+"\n                    ")]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.title,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-work-title"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.composers.join(" / "),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-composers"}})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-work-id"}},[t._v(t._s(n.item.gemaNumber))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-amount-gema"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.amountGEMA,"number")))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-amount-sv"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.amountSV,"number")))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-amount-dv"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.amountDV,"number")))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-amount-total"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.amountTotal,"number")))])]}}])})]},proxy:!0}])})},dv=[],gv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"Rows",label:"lang_GENERAL_STATISTICS_CAPTION_IN_ROWS",items:t.rowsItems,alvqa:t.alvqa+"-list-dropdown-rows",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ColumnTitles",label:"lang_GENERAL_STATISTICS_CAPTION_COLUMN_TITLES",items:t.columnTitlesItems,alvqa:t.alvqa+"-list-dropdown-column-titles",clearable:!1}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"OutputType",label:"lang_GENERAL_STATISTICS_CAPTION_OUTPUT_VALUES",items:t.outputTypeItems,alvqa:t.alvqa+"-list-dropdown-output-type",clearable:!1}})],1),a("span",{staticClass:"pt-6"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-icon-excel",icon:"fa-file-excel",tooltipText:"lang_GENERAL_STATISTICS_CAPTION_GENERATE_EXCEL"},on:{click:t.exportExcel}})],1)],1)},pv=[],vv={name:"PublishingStatisticsTopSlot",components:{DropdownFilter:us,BaseIcon:N},data:function(){return{alvqa:"publishing-statistics",context:"PublishingStatistics"}},computed:{rowsItems:function(){return[{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_WORK_WORK_IDS"),value:"works",alvqa:this.alvqa+"-list-dropdown-rows-works"}]},columnTitlesItems:function(){return[{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_TYPE_OF_RIGHTS"),value:"typeOfRights",alvqa:this.alvqa+"-list-dropdown-column-titles-type-of-rights"},{text:this.$t("lang_GENERIC_CAPTION_PERIOD"),value:"period",alvqa:this.alvqa+"-list-dropdown-column-titles-period"},{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_CUMULATIVE_VALUES"),value:"cumulativeValues",alvqa:this.alvqa+"-list-dropdown-column-titles-cumulative-values"}]},outputTypeItems:function(){return[{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_REVENUE")+" "+this.$store.getters.getSelectedCurrency,value:"amount",alvqa:this.alvqa+"-list-dropdown-output-type-revenue"}]}},methods:{exportExcel:function(){this.$store.dispatch("publishingStatisticsExportExcel")}}},_v=vv,hv=Object(C["a"])(_v,gv,pv,!1,null,null,null),mv=hv.exports,fv={name:"PublishingStatisticsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,DropdownFilter:us,BaseIcon:N,PublishingStatisticsTopSlot:mv},data:function(){return{context:"PublishingStatistics",alvqa:"publishing-statistics"}},computed:{headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_TYPE"),value:"statusType",align:"center",sortable:!1,width:"60px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),value:"composers",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),value:"gemaNumber",align:"right",sortable:!1,width:"140px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_AMOUNT_GEMA"),value:"amountGEMA",align:"right",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_AMOUNT_SV"),value:"amountSV",align:"right",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_STATISTICS_CAPTION_AMOUNT_DV"),value:"amountDV",align:"right",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_SUM")+" "+this.$store.getters.getSelectedCurrency,value:"amountTotal",align:"right",sortable:!1,class:"text-no-wrap"}]},typeOfRightsItems:function(){var t=this;this.$store.commit("setPublishingTypeOfRights");var e=this.$store.getters.getPublishingTypeOfRightsGema,a=this.$store.getters.getPublishingTypeOfRightsSvd,n=[];return n.push({header:this.$t("lang_CAPTION_GEMA_TYPE_OF_RIGHTS"),alvqa:this.alvqa+"-list-dropdown-type-of-rights-header-gema"}),e.forEach((function(e,a){e["alvqa"]=t.alvqa+"-list-dropdown-type-of-rights-gema-"+a,e["group"]="GEMA-Type of rights",n.push(e)})),n.push({header:this.$t("lang_CAPTION_OTHER_TYPE_OF_RIGHTS"),alvqa:this.alvqa+"-list-dropdown-type-of-rights-header-svd"}),a.forEach((function(e,a){e["text"]=t.$t(e.text),e["alvqa"]=t.alvqa+"-list-dropdown-type-of-rights-svd-"+a,e["group"]="SVD type of rights",n.push(e)})),n}},methods:{getWorksType:function(t,e){if("ghost"==t)return"lang_GENERAL_GHOST";switch(e){case"opw":return"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_OPW";case"spw":return"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_SPW";case"upw":return"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_UPW";default:return"lang_GENERAL_WORK"}},quarterItems:function(t){return[{text:"1. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:1,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-1"},{text:"2. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:2,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-2"},{text:"3. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:3,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-3"},{text:"4. "+this.$t("lang_GENERAL_PERIOD_FILTER_OPTION_QUARTER"),value:4,alvqa:this.alvqa+"-dropdown-"+t+"-quarter-4"}]},yearItems:function(t){for(var e=[],a=(new Date).getFullYear(),n=a;n>=2008;n--)e.push({text:n.toString(),value:n,alvqa:this.alvqa+"-dropdown-"+t+"-year-"+n});return e}}},Sv=fv,Ev=Object(C["a"])(Sv,uv,dv,!1,null,null,null),Iv=Ev.exports,Cv=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("FileBulkUploadDialog"),n("SelectionRequiredDialog"),n("DeletionDialog",{attrs:{context:"SelectedLabelTracks"}}),n("ManageTagsDialog",{attrs:{context:"Tracks",dir:"label/tracks",idAttributeName:"alvIds"}}),n("TracksSearchContractsDialog"),n("BaseListPage",{attrs:{headline:"lang_LABEL_TRACKS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[n("v-col",{attrs:{cols:"3"}},[n("DropdownFilter",{attrs:{context:t.context+"LabelsFilter",label:"lang_LABEL_RELEASES_FILTER_CAPTION_CATALOGS",items:t.labelsItems,alvqa:t.alvqa+"-list-dropdown-labels"}})],1),n("v-col",{attrs:{cols:"3"}},[n("DropdownFilter",{attrs:{context:t.context+"QualityFilter",label:"lang_GENERIC_CAPTION_QUALITY",items:t.qualityItems,alvqa:t.alvqa+"-list-dropdown-quality"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("TracksTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",{staticClass:"no_ellipsis text-center"},[i.item.audioTrack||i.item.audioTrack&&i.item.cover?n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-audio",icon:i.item.isPlaying?"fa-stop-circle":"fa-play-circle",tooltipText:i.item.isPlaying?"lang_GENERAL_CAPTION_STOP":"lang_GENERAL_CAPTION_PLAY"},on:{click:function(e){return e.stopPropagation(),t.play(i.item)}}}):n("div",[n("v-img",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image-default",src:a("ee19"),width:"40px"}})],1)],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{attrs:{simpleText:t.getTitle(i.item),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-track-title"}})],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{attrs:{simpleText:i.item.displayArtist,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-display-artist"}})],1),n("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-duration"}},[t._v("\n                            "+t._s(t.$alvPlugin.transformSecondsToDuration(i.item.duration))+"\n                        ")]),n("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-isrc"}},[t._v("\n                            "+t._s(i.item.isrc)+"\n                        ")])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[n("TrackReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Av=[],Tv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Tracks",alvqa:t.alvqa}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileBulkImport",alvqa:t.alvqa}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"3","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Tracks",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_LABEL_TRACKS_BUTTON_CAPTION_NEW_TRACK",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)},bv=[],Pv={name:"TracksTopSlot",data:function(){return{editForm:"TracksEdit",alvqa:"label-tracks"}},components:{ImportButton:Yn,BaseHeaderStats:ti,BaseButton:wt,ActionDropdown:Mn},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},importOptions:function(){return[{text:this.$t("lang_LABEL_TRACKS_BUTTON_OPTION_IMPORT_AUDIO_FILE"),value:"audioFilesImport",alvqa:"label-tracks-list-import-dropdown-audio-file"}]},actions:function(){return[{text:this.$t("lang_LABEL_TRACKS_ACTION_OPTION_LABELCOPY"),value:"labelcopy",alvqa:this.alvqa+"-list-action-dropdown-label-copy"},{text:this.$t("lang_LABEL_TRACKS_ACTION_OPTION_ADD_CONTRACT"),value:"addContract",alvqa:this.alvqa+"-list-action-dropdown-add-contract"},{text:this.$t("lang_GENERIC_CAPTION_MANAGE_TAGS"),value:"replaceTags",alvqa:this.alvqa+"-list-action-dropdown-manage-tags"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},Dv=Pv,Nv=Object(C["a"])(Dv,Tv,bv,!1,null,null,null),Rv=Nv.exports,xv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n            "+t._s(null!==t.item.version?" ("+t.item.version+")":"")+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4 pt-3"},[a("v-col",{attrs:{cols:"1"}},[a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",width:"150px",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height",attrs:{align:"center",justify:"center"}})],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.displayArtist?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-display-artist"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_DISPLAY_ARTIST"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-display-artist"}},[t._v("\n                            "+t._s(t.item.displayArtist)+"\n                        ")])]):t._e(),t.getAzName?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-artist"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_ARTIST"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-artist"}},[t._v("\n                            "+t._s(t.getAzName)+"\n                            "),t.item.artist.alvId?[a("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(t.item.artist.alvId)}},[t._v(" "+t._s(t.item.artist.alvId))])]:t._e()],2)]):t._e(),null!==t.item.isrc?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-isrc"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_ISRC"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-isrc"}},[t._v("\n                            "+t._s(t.item.isrc)+"\n                        ")])]):t._e(),null!==t.item.tags?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v("\n                            "+t._s(t.item.tags)+"\n                        ")])]):t._e(),a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-label-company"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_LABEL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-label-company"}},[t._v("\n                            "+t._s(t.getSelectedLabelOfTrack.text)+" "),a("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(t.getSelectedLabelOfTrack.alvId)}},[t._v(t._s(t.getSelectedLabelOfTrack.alvId))])],1)]),a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v("\n                            "+t._s(t.item.alvId)+"\n                        ")])])])],1)],1),t.showSecondCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.language?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-language"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_LANGUAGE")))]),a("div",{attrs:{alvqa:t.alvqa+"-language"}},[t._v("\n                            "+t._s(t.$t(t.getLanguage))+"\n                        ")])]):t._e(),null!==t.item.duration&&""!==t.item.duration?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-duration"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_DURATION"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-duration"}},[t._v("\n                            "+t._s(t.item.duration)+"\n                        ")])]):t._e(),null!==t.item.initialDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-initial-date"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_DATE_INITIAL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-initial-date"}},[t._v("\n                            "+t._s(t.$d(new Date(t.item.initialDate),"alvDateFormat"))+"\n                        ")])]):t._e(),null!==t.item.explicit||null!==t.item.live||null!==t.item.instrumental?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v("\n                            "+t._s(t.$t("lang_LABEL_TRACKS_CAPTION_EXPLICIT"))+" / \n                            "+t._s(t.$t("lang_LABEL_TRACKS_CAPTION_LIVE"))+" / \n                            "+t._s(t.$t("lang_LABEL_TRACKS_CAPTION_INSTRUMENTAL"))+":\n                        ")]),a("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v("\n                            "+t._s(t.getYesOrNoTranslated(t.item.explicit))+" / "+t._s(t.getYesOrNoTranslated(t.item.live))+" / "+t._s(t.getYesOrNoTranslated(t.item.instrumental))+"\n                        ")])]):t._e(),null!==t.item.copyright?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-copyright"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_P_NOTICE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-copyright"}},[t._v("\n                            "+t._s(t.item.copyright)+"\n                        ")])]):t._e()])],1)],1):t._e(),t.showThirdCard?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.work?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-linked-work"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_LINKED_WORK"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-linked-work"}},[t._v("\n                            "+t._s(t.item.work.title)+"\n                        ")]),null!==t.item.work.gemaNumber||null!==t.item.work.type?[a("div",{staticClass:"subtitleGray--text"},[t._v("\n                              "+t._s(t.showGemaNumberAndType(t.item.work))+"\n                            ")])]:t._e(),a("router-link",{attrs:{to:"/publishing/works/"+t.item.work.alvId}},[t._v(t._s(t.item.work.alvId))])],2):t._e(),null!==t.item.contracts&&0!==t.item.contracts.length?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-contracts"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_CONTRACTS"))+":")]),t._l(t.item.contracts,(function(e,n){return a("div",{key:n,attrs:{alvqa:t.alvqa+"-contracts-"+e.alvId}},[t._v("\n                            "+t._s(e.name)+" \n                            "),a("router-link",{attrs:{to:"/contracts/label/"+e.alvId}},[t._v(t._s(e.alvId))])],1)}))],2):t._e()])],1)],1):t._e(),t.showAlternativeTitlesReleasesNotes?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.trackName2||null!==t.item.trackName3||null!==t.item.trackName4||null!==t.item.trackName2?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alternative-titles"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_ALTERNATIVE_TITLES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alternative-titles"}},[t._v("\n                            "+t._s(t.item.trackName2)),a("br"),t._v("\n                            "+t._s(t.item.trackName3)),a("br"),t._v("\n                            "+t._s(t.item.trackName4)+"\n                        ")])]):t._e(),null!==t.item.releases&&0!==t.item.releases.length?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-linked-releases"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_LINKED_RELEASES"))+":")]),t._l(t.item.releases,(function(e,n){return a("div",{key:n,attrs:{alvqa:t.alvqa+"-linked-release-"+e.alvId}},[t._v("\n                            "+t._s(e.name)+" \n                            "+t._s(null!==e.ean?"("+e.ean+")":null!==e.catalogueNumber?"("+e.catalogueNumber+")":"")+"\n                            "),a("router-link",{attrs:{to:"/label/releases/"+e.alvId}},[t._v(t._s(e.alvId))])],1)}))],2):t._e(),null!==t.item.notes?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"}},[t._v(t._s(t.item.notes))])]):t._e()])],1)],1):t._e()],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("TracksArtistsReadOnlyPanel",{attrs:{trackAlvId:t.item.alvId}}),a("TracksMediaReadOnlyPanel",{attrs:{trackAlvId:t.item.alvId}})],1)],1)],1)],1)},Ov=[],wv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_CAPTION_CONTRIBUTORS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"items-per-page":1e3,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.artist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-artist"}},[t._v("\n                    "+t._s(null!==n.artist.firstName&&""!==n.artist.firstName||null!==n.artist.lastName&&""!==n.artist.lastName?n.artist.firstName+" "+n.artist.lastName:null!==n.artist.group&&""!==n.artist.group?n.artist.group:n.artist.gemaName)+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-role"}},[t._v("\n                    "+t._s(t.getRole(n.role))+"\n                ")])]}},{key:"item.primary",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-primary"}},[t._v("\n                    "+t._s(t.getYesOrNo(n.primary))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},Lv=[],yv={name:"TracksArtistsReadOnlyPanel",components:{BasePanel:vi},props:{trackAlvId:{type:String}},data:function(){return{alvqa:"label-tracks-list-row-"+this.trackAlvId+"read-only-panel-artists"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_TRACKS_CAPTION_NAME"),align:"left",value:"artist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),align:"left",value:"primary",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-primary"}]},listItems:function(){var t=this,e=this.$store.getters.getExpandedTracks.find((function(e){return e.alvId===t.trackAlvId})),a=null===e.artists?[]:e.artists;return a}},methods:{getRole:function(t){var e=Ne;if(void 0!==e)return e.find((function(e){return e.value===t})).text},getYesOrNo:function(t){null==t&&(t="no");var e=be.find((function(e){return e.value===t})).text;return this.$t(e)}}},qv=yv,kv=(a("1261"),Object(C["a"])(qv,wv,Lv,!1,null,null,null)),Bv=kv.exports,$v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS_CAPTION_CONTRACTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.alvId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-contract-number"}},[t._v("\n                    "+t._s(n.alvId)+"\n                ")])]}},{key:"item.licensor",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.licensor.name,alvqa:t.alvqa+"-list-row-"+n.id+"-text-licensor"}})],1)]}},{key:"item.salesType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sales-type"}},[t._v("\n                    "+t._s(t.getSalesType(n.salesType))+"\n                ")])]}},{key:"item.license",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-license"}},[t._v("\n                    "+t._s(t.getLicence(n.license))+"\n                ")])]}},{key:"item.base",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-base"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.base,"number"))+"\n                ")])]}},{key:"item.share",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-split"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.share,"number"))+"\n                ")])]}},{key:"item.region",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-region"}},[t._v("\n                    "+t._s(t.$alvPlugin.createRegionsToString(n.region))+"\n                ")])]}},{key:"item.category",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-category"}},[t._v("\n                    "+t._s(t.$t(t.getCategory(n.category)))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},Gv=[],Fv={name:"TracksContractsReadOnlyPanel",components:{BasePanel:vi,BaseTooltip:T},props:{trackAlvId:{type:String}},data:function(){return{alvqa:"label-tracks-list-row-"+this.trackAlvId+"read-only-panel-contracts"}},computed:{headers:function(){return[{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_CONTRACT_ID"),align:"left",value:"alvId",class:"text-no-wrap",width:"170px",sortable:!1,alvqa:this.alvqa+"-header-contract-number"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY"),align:"left",value:"licensor",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-licensor"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),value:"salesType",align:"left",class:"text-no-wrap",width:"180px",sortable:!1,alvqa:this.alvqa+"-header-sales-type"},{text:this.$t("lang_GENERAL_CAPTION_LICENSE"),value:"license",align:"left",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-license"},{text:this.$t("lang_CONTRACTS_LABEL_EDIT_SPLITS_PANEL_CAPTION_BASE"),value:"base",align:"right",width:"100px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-base"},{text:this.$t("lang_GENERAL_CAPTION_SPLIT"),value:"share",align:"right",width:"100px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-shares"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_REGION"),value:"region",align:"left",class:"text-no-wrap",width:"200px",sortable:!1,alvqa:this.alvqa+"-header-region"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_CATEGORY"),value:"category",align:"left",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-category"}]},listItems:function(){var t=this,e=this.$store.getters.getExpandedTracks.find((function(e){return e.alvId===t.trackAlvId})),a=null===e.contracts?[]:e.contracts;return a}},methods:{getSalesType:function(t){var e=ba.find((function(e){return e.value===t}));if(void 0!==e)return this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text},getLicence:function(t){var e=Ra.find((function(e){return e.value===t}));return void 0!==e?this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text:""},getCategory:function(t){return wa.find((function(e){return e.value=t})).text}}},Uv=Fv,Mv=(a("406b"),Object(C["a"])(Uv,$v,Gv,!1,null,null,null)),Wv=Mv.exports,jv=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS_CAPTION_MEDIA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.media",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])]}},{key:"item.playTrack",fn:function(e){var n=e.item;return["mp3"===n.type?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-media-read-only-icon-audio",icon:n.isPlaying?"fa-stop-circle":"fa-play-circle",tooltipText:n.isPlaying?"lang_GENERAL_CAPTION_STOP":"lang_GENERAL_CAPTION_PLAY"},on:{click:function(e){return e.stopPropagation(),t.play(n)}}}):t._e()]}},{key:"item.downloadLink",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-donwload",icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.link)}}})]}}],null,!0)})]},proxy:!0}])})},zv=[],Hv=(a("b54a"),{name:"TracksMediaReadOnlyPanel",components:{BasePanel:vi,BaseIcon:N},props:{trackAlvId:{type:String}},data:function(){return{alvqa:"label-tracks-list-row-"+this.trackAlvId+"read-only-panel-media",trackIcon:""}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_FILE_NAME"),align:"left",value:"media",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"",value:"playTrack",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"downloadLink",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getTracksMedia},globalAudio:{get:function(){return this.$store.getters["getAudio"]},set:function(t){this.$store.commit("setAudio",t)}}},methods:{downloadFile:function(t){k$.getFileFromALV(t)},play:function(t){if(null!=this.globalAudio&&!t.isPlaying){this.globalAudio.pause(),this.globalAudio=null;var e=this.listItems.findIndex((function(t){return!0===t.isPlaying}));this.listItems[e].isPlaying=!1}null==this.globalAudio?(this.globalAudio=new Audio(t.link),this.globalAudio.addEventListener("ended",this.endedAudioEvent.bind(event,t)),t.isPlaying=!0,this.globalAudio.play()):(this.globalAudio.pause(),t.isPlaying=!1,this.globalAudio=null)},endedAudioEvent:function(t){t.isPlaying=!1,this.globalAudio=null}}}),Vv=Hv,Yv=Object(C["a"])(Vv,jv,zv,!1,null,null,null),Kv=Yv.exports,Zv={name:"TrackReadOnly",components:{TracksArtistsReadOnlyPanel:Bv,TracksContractsReadOnlyPanel:Wv,TracksMediaReadOnlyPanel:Kv},props:{itemId:{type:Number}},data:function(){return{alvqa:"label-tracks-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedTracks.find((function(e){return e.id===t.itemId}));return e},getAzName:function(){return this.$store.getters.getTrackDetailsConnectedArtist},getSelectedLabelOfTrack:function(){var t=this.$store.getters.getLabelsDropdown,e=this.$store.getters.getTrackDetailsSelectedLabelId,a=t.find((function(t){return t.value===e}));return a},showSecondCard:function(){var t=null!==this.item.duration&&"00:00"!==this.item.duration&&""!==this.item.duration,e=null!==this.item.initialDate,a=null!==this.item.copyright&&""!==this.item.copyright,n=null!==this.item.explicit&&""!==this.item.explicit||null!==this.item.live&&""!==this.item.live||null!==this.item.instrumental&&this.item.instrumental;return!!(t||e||n||a)},showThirdCard:function(){var t=null!==this.item.work,e=null!==this.item.contracts&&0!==this.item.contracts.length;return t||e},showAlternativeTitlesReleasesNotes:function(){var t=null!==this.item.trackName2||null!==this.item.trackName3||null!==this.item.trackName4||null!==this.item.trackName2,e=null!==this.item.notes,a=0!==this.item.releases.length;return!!(t||e||a)},getLanguage:function(){var t=this.$alvPlugin.getListOfGenericMusicLanguages("label-tracks"),e=this.item.language.toLowerCase(),a=t.find((function(t){return t.value===e}));return a.text}},methods:{getYesOrNoTranslated:function(t){var e=be.find((function(e){return e.value===t})).text;return this.$t(e)},showGemaNumberAndType:function(t){if(null===t.gemaNumber&&null===t.type)return t.alvId;var e=[];return null===t.gemaNumber?t.statusType:null===t.statusType?t.gemaNumber:(e=[t.gemaNumber,t.statusType],e.join(", "))},getSocietyName:function(t){return this.$alvPlugin.getSocietyName(t)}},created:function(){this.$store.commit("setSocieties")}},Xv=Zv,Jv=Object(C["a"])(Xv,xv,Ov,!1,null,null,null),Qv=Jv.exports,t_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showFileBulkImportDialog,maxDialogWidth:"950",headline:"lang_GENERAL_BUTTON_UPLOAD_FILES",close:t.closeDialog,maxCardHeight:"1110",scrollable:!1,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-file-uploader"}},[a("FileUploader",{ref:"fileUploader"})],1)],1)],1)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[a("ValidationObserver",{ref:"FileBulkUploaderValidation",attrs:{slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tag",clearable:!1,disabled:!t.show||t.readonly,label:t.tagPrefixLabel,alvqa:t.alvqa+"-textfield-tag"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{label:t.labelCompanyLabel,items:t.getLabelsItems,context:t.context,field:"SelectedLabelId",clearable:!1,itemText:"name_alv",itemValue:"alvId",rules:"required",alvqa:t.alvqa+"-dropdown-selected-label"}})],1)],1),a("v-row",{staticClass:"pa-0"},[a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:t.uploadButtonCondition,label:"lang_GENERAL_BUTTON_UPLOAD_FILES",alvqa:t.alvqa+"-button-upload"},on:{click:function(e){return n(t.uploadFiles)}}})],1)],1)],1)],1)]}}])})]},proxy:!0}])})},e_=[],a_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{"max-height":"500px","overflow-y":"scroll"}},[a("v-container",[a("v-row",[t.show?a("v-col",[a("VueFileAgent",{ref:"vueFileAgent",attrs:{thumbnailSize:120,theme:"list",deletable:t.deletable,uploadHeaders:t.uploadHeaders,accept:".mp3",readonly:t.readonly,averageColor:!1,helpText:t.$t("lang_LABEL_TRACKS_ACTION_BULK_FILE_IMPORT_UPLOADER_TEXT")},on:{upload:function(e){return t.onUpload(e)},beforedelete:function(e){return t.onBeforeDelete(e)},select:function(e){return t.filesSelected(e)},"upload:error":function(e){return t.onUploadError(e)}},model:{value:t.fileRecords,callback:function(e){t.fileRecords=e},expression:"fileRecords"}})],1):a("v-col",[a("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left report-table-header",attrs:{alvqa:t.alvqa+"-result-table-header"}},[t._v("\n                    "+t._s(t.$t("lang_LABEL_TRACKS_ACTION_BULK_FILE_IMPORT_REPORT"))+"\n                ")])])]),a("tbody",t._l(t.data,(function(e,n){return a("tr",{key:e.name},[a("td",{class:[n%3==0?"report-table-file-name-row":"",0!=n&&n%3==0?"report-table-file-name-row2":""],attrs:{alvqa:t.alvqa+"-result-table-row-"+n}},[t._v("\n                  "+t._s(e)+"\n                ")])])})),0)]},proxy:!0}])})],1)],1)],1)],1)},n_=[],i_={name:"FileUploader",components:{BaseButton:wt},data:function(){return{alvqa:"file-uploader"}},computed:{fileRecords:{get:function(){return this.$store.getters.getSelectedFileRecordsBulkImport},set:function(t){this.$store.commit("setSelectedFileRecordsBulkImport",t)}},data:{get:function(){return this.$store.getters.getSelectedFileReportDataBulkImport},set:function(t){this.$store.commit("setSelectedFileReportDataBulkImport",t)}},show:{get:function(){return this.$store.getters.getSelectedFileBulkImportUploader},set:function(t){this.$store.commit("setSelectedFileBulkImportUploader",t)}},fileRecordsForUpload:{get:function(){return this.$store.getters.getFileBulkUploaderFileRecordsForUpload},set:function(t){this.$store.commit("setFileBulkUploaderFileRecordsForUpload",t)}},uploadUrl:{get:function(){return this.$store.getters.getFileBulkUploaderUploadUrl},set:function(t){this.$store.commit("setFileBulkUploaderUploadUrl",t)}},uploadHeaders:{get:function(){return this.$store.getters.getFileBulkUploaderUploadHeaders},set:function(t){this.$store.commit("setFileBulkUploaderUploadHeaders",t)}},deletable:{get:function(){return this.$store.getters.getFileBulkUploaderDeletable},set:function(t){this.$store.commit("setFileBulkUploaderDeletable",t)}},readonly:{get:function(){return this.$store.getters.getFileBulkUploaderReadonly},set:function(t){this.$store.commit("setFileBulkUploaderReadonly",t)}}},methods:{onUploadError:function(t){this.readonly=!1},onUpload:function(t){this.show=!1;var e=!0,a=!1,n=void 0;try{for(var i,s=t[Symbol.iterator]();!(e=(i=s.next()).done);e=!0){var r=i.value;r.error||(this.data.push(r.data[0].fileName),this.data.push(r.data[0].trackMessage),this.data.push(r.data[0].workMessage))}}catch(l){a=!0,n=l}finally{try{e||null==s.return||s.return()}finally{if(a)throw n}}this.readonly=!1,this.deletable=!0,this.$store.dispatch("fetchTracks")},filesSelected:function(t){var e=t.filter((function(t){return!t.error}));this.fileRecordsForUpload=this.fileRecordsForUpload.concat(e)},onBeforeDelete:function(t){var e=this.fileRecordsForUpload.indexOf(t);!1!==t.error&&this.$refs.vueFileAgent.deleteFileRecord(t),-1!==e&&(this.fileRecordsForUpload.splice(e,1),this.$refs.vueFileAgent.deleteFileRecord(t))}}},s_=i_,r_=(a("ae4b"),Object(C["a"])(s_,a_,n_,!1,null,null,null)),l_=r_.exports,o_={name:"FileBulkUploadDialog",components:{BaseDialog:Pt,BaseButton:wt,FileUploader:l_,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{showDialog:!1,context:"FileBulkUploader",alvqa:"file-bulk-upload-dialog"}},computed:{labelCompanyLabel:function(){return this.$t("lang_LABEL_TRACKS_CAPTION_LABEL")},tagPrefixLabel:function(){return this.$t("lang_LABEL_TRACKS_ACTION_BULK_FILE_IMPORT_TAG_FIELD")},uploadButtonCondition:function(){return!this.show||this.readonly||0==this.fileRecordsForUpload.length},showFileBulkImportDialog:{get:function(){return this.$store.getters.getShowFileBulkImportDialog},set:function(t){this.$store.commit("setShowFileBulkImportDialog",t)}},fileRecords:{get:function(){return this.$store.getters.getSelectedFileRecordsBulkImport},set:function(t){this.$store.commit("setSelectedFileRecordsBulkImport",t)}},data:{get:function(){return this.$store.getters.getSelectedFileReportDataBulkImport},set:function(t){this.$store.commit("setSelectedFileReportDataBulkImport",t)}},show:{get:function(){return this.$store.getters.getSelectedFileBulkImportUploader},set:function(t){this.$store.commit("setSelectedFileBulkImportUploader",t)}},fileRecordsForUpload:{get:function(){return this.$store.getters.getFileBulkUploaderFileRecordsForUpload},set:function(t){this.$store.commit("setFileBulkUploaderFileRecordsForUpload",t)}},uploadUrl:{get:function(){return this.$store.getters.getFileBulkUploaderUploadUrl},set:function(t){this.$store.commit("setFileBulkUploaderUploadUrl",t)}},uploadHeaders:{get:function(){return this.$store.getters.getFileBulkUploaderUploadHeaders},set:function(t){this.$store.commit("setFileBulkUploaderUploadHeaders",t)}},deletable:{get:function(){return this.$store.getters.getFileBulkUploaderDeletable},set:function(t){this.$store.commit("setFileBulkUploaderDeletable",t)}},readonly:{get:function(){return this.$store.getters.getFileBulkUploaderReadonly},set:function(t){this.$store.commit("setFileBulkUploaderReadonly",t)}},tag:{get:function(){return this.$store.getters.getFileBulkUploaderDetailsTag},set:function(t){this.$store.commit("setFileBulkUploaderDetailsTag",t)}},getLabelsItems:function(){var t=this,e=this.$store.getters.getFileBulkUploaderLabelsDropdown;return e.forEach((function(e){e["alvqa"]=t.alvqa+"-label-dropdown-"+e.id})),e},getSelectedLabelId:function(){return this.$store.getters.getFileBulkUploaderDetailsSelectedLabelId}},methods:{closeDialog:function(){var t=this;this.readonly||this.$nextTick((function(){t.showFileBulkImportDialog=!1,t.$store.commit("setSelectedFileRecordsBulkImport",[]),t.$store.commit("setSelectedFileReportDataBulkImport",[]),t.$store.commit("setSelectedFileBulkImportUploader",!0),t.fileRecordsForUpload=[],t.$store.commit("setSelectedFileBulkImport",[]),t.readonly=!1,t.deletable=!0,t.tag=""}))},uploadFiles:function(){if(0!=this.fileRecordsForUpload.length){this.deletable=!1,this.readonly=!0,this.uploadHeaders={Authorization:"Bearer "+this.$store.getters.getUserToken()},this.uploadUrl=k$.getFileBulkUploadUrl();var t=this;this.$refs.fileUploader.$refs.vueFileAgent.upload(this.uploadUrl,this.uploadHeaders,this.fileRecordsForUpload,(function(e){var a=new FormData;return a.append("userTags",t.tag),a.append("labelAlvId",t.getSelectedLabelId),a.append("file",e.file),a})),this.fileRecordsForUpload=[]}}}},c_=o_,u_=Object(C["a"])(c_,t_,e_,!1,null,null,null),d_=u_.exports,g_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("SearchDialog",{attrs:{context:t.context,searchcontext:"ContractsFor"+t.context,subcontext:"Contracts",addcontext:"ContractsTo"+t.context,addButtonLabel:"lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_TITLE",dialogTitle:"lang_PUBLISHING_WORKS_ADD_CONTRACTS_DIALOG_TITLE",alvqaContext:t.alvqa+"-list"},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n        "+t._s(a.contractName)+" ("+t._s(a.alvId)+")\n    ")]}},{key:"itemSubtitle",fn:function(e){var a=e.item;return[t._v("\n        "+t._s(null!==a.licensor?a.licensor.gemaName:"")+"\n    ")]}}])})},p_=[],v_={name:"TracksSearchContractsDialog",components:{SearchDialog:ys},data:function(){return{context:"Tracks",alvqa:"label-tracks"}}},__=v_,h_=Object(C["a"])(__,g_,p_,!1,null,null,null),m_=h_.exports;function f_(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function S_(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f_(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f_(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var E_={name:"TracksList",components:{BaseDataTableList:En,BaseListPage:yn,BaseIcon:N,BaseTooltip:T,ExpandIcon:is,DropdownFilter:us,TracksTopSlot:Rv,TrackReadOnly:Qv,FileBulkUploadDialog:d_,DeletionDialog:Cs,SelectionRequiredDialog:hs,ManageTagsDialog:Fs,TracksSearchContractsDialog:m_},data:function(){return{context:"Tracks",alvqa:"label-tracks"}},computed:S_({},Object(u["c"])(["getTracksSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"audioTrack",align:"center",width:"65px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_TRACK_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DISPLAY_ARTIST"),value:"displayArtist",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DURATION"),value:"duration",align:"right",sortable:!1,width:"90px",class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_ISRC"),value:"isrc",align:"right",sortable:!1,width:"160px",class:"text-no-wrap"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},qualityItems:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_QA_FILTER_OPTION_NO_CONTRACT"),value:"noContract",alvqa:this.alvqa+"-list-dropdown-quality-no-contracts-connected"},{text:this.$t("lang_LABEL_TRACKS_DROPDOWN_QA_FILTER_NO_ISRC"),value:"noIsrc",alvqa:this.alvqa+"-list-dropdown-quality-no-isrc"},{text:this.$t("lang_LABEL_TRACKS_DROPDOWN_QA_FILTER_NO_ARTIST_AZ"),value:"noArtistAz",alvqa:this.alvqa+"-list-dropdown-quality-no-artist-az"}]},listItems:function(){return this.$store.getters["getTracks"]},globalAudio:{get:function(){return this.$store.getters["getAudio"]},set:function(t){this.$store.commit("setAudio",t)}},labelsItems:function(){var t=this,e=[],a=[],n=this.$store.getters.getSelectedLabelCompanyId;return n&&"object"===Object(Rl["a"])(n)&&n.constructor===Object&&(n=n.id),this.$store.getters.getLabelCompanies.forEach((function(t){null!=t.labels&&t.id==n&&(e=e.concat(t.labels))})),e.forEach((function(e){a.push({value:parseInt(e.id),text:e.name_alv+" ("+e.alvId+")",alvqa:t.alvqa+"-list-dropdown-label-"+parseInt(e.id)})})),void 0!==a&&0!==a.length&&1!==a.error||(a=[]),a.sort(this.sortLabelItemsList)}}),methods:{play:function(t){if(null!=this.globalAudio&&!t.isPlaying){this.globalAudio.pause(),this.globalAudio=null;var e=this.listItems.findIndex((function(t){return!0===t.isPlaying}));this.listItems[e].isPlaying=!1}null==this.globalAudio?(this.globalAudio=new Audio(t.audioTrack),this.globalAudio.addEventListener("ended",this.endedAudioEvent.bind(event,t)),t.isPlaying=!0,this.globalAudio.play()):(this.globalAudio.pause(),t.isPlaying=!1,this.globalAudio=null)},uploadAudioFile:function(){},endedAudioEvent:function(t){t.isPlaying=!1,this.globalAudio=null},getTitle:function(t){var e=t.title;return null!==t.version&&(e+=" ("+t.version+")"),e},sortLabelItemsList:function(t,e){return t.text<e.text?-1:t.text>e.text?1:0}},beforeRouteLeave:function(t,e,a){var n=this.listItems.findIndex((function(t){return!0===t.isPlaying}));-1!==n&&(this.listItems[n].isPlaying=!1,this.globalAudio.pause(),this.globalAudio=null),a()},created:function(){this.$store.commit("setSelectedTracksLabelsFilter",[])}},I_=E_,C_=Object(C["a"])(I_,Cv,Av,!1,null,null,null),A_=C_.exports,T_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context+"s",alvqa:t.alvqa,cancelIconRoute:"/label/tracks"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(n.title?n.title:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")])]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("v-col",[a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}},[t._v("Track")])],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TITLE"),context:t.context,field:"TrackTitle",rules:"required",alvqa:t.alvqa+"-textfield-track-title"}})],1),a("v-row",[a("v-col",{staticClass:"pa-0 ma-0",attrs:{cols:"10"}},[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getAzName,label:t.$t("lang_LABEL_RELEASES_CAPTION_ARTIST"),alvqa:t.alvqa+"-textfield-interpret",rules:"isTrackArtistObject",iconTooltipText:t.$t("lang_LABEL_CAPTION_TOOLTIP_ARTIST_TYPE")+(n.artist&&n.artist.alvId?" ["+n.artist.alvId+"]":"")}})],1),a("v-col",{staticClass:"justify-end d-flex ml-0 pl-0",attrs:{cols:"2"}},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-edit-interpret-connection",icon:t.isArtistConnected?"delete":"edit",tooltipText:t.isArtistConnected?"lang_GENERIC_CAPTION_DELETE":"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return t.editConnectedArtist()}}})],1)],1),a("v-row",[a("v-col",{staticClass:"pa-0 ma-0",attrs:{cols:"10"}},[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getWorkTitle,label:t.$t("lang_LABEL_TRACKS_CAPTION_LINKED_WORK"),alvqa:t.alvqa+"-textfield-work-title",iconTooltipText:t.getWorkTooltipTxt()}})],1),a("v-col",{staticClass:"justify-end d-flex ml-0 pl-0",attrs:{cols:"2"}},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-edit-work-connection",icon:t.isWorkConnected?"delete":"edit",tooltipText:t.isWorkConnected?"lang_GENERIC_CAPTION_DELETE":"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return t.editConnectedWork()}}})],1)],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACK_LINKED_RELEASES"),clearable:!1,items:t.getReleasesItems,context:t.context,field:"SelectedReleaseId",alvqa:t.alvqa+"-dropdown-releases"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_VERSION"),field:"Version",context:t.context,alvqa:t.alvqa+"-textfield-track-version"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TITLE2"),field:"TrackName2",context:t.context,alvqa:t.alvqa+"-textfield-track-title-2"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TITLE3"),field:"TrackName3",context:t.context,alvqa:t.alvqa+"-textfield-track-title-3"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TITLE4"),field:"TrackName4",context:t.context,alvqa:t.alvqa+"-textfield-track-title-4"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_ISRC"),field:"ISRC",context:t.context,alvqa:t.alvqa+"-textfield-isrc"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_ISRC2"),field:"ISRC2",context:t.context,alvqa:t.alvqa+"-textfield-isrc-2"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_ISRC3"),field:"ISRC3",context:t.context,alvqa:t.alvqa+"-textfield-isrc-3"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_ISRC4"),field:"ISRC4",context:t.context,alvqa:t.alvqa+"-textfield-isrc-4"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_OTHER_ID"),field:"OtherCode",context:t.context,alvqa:t.alvqa+"-textfield-other-code"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TAGS"),field:"Tags",context:t.context,alvqa:t.alvqa+"-textfield-tags"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_NOTES"),field:"Notes",context:t.context,alvqa:t.alvqa+"-textfield-notes"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_DURATION"),field:"Duration",context:t.context,rules:"duration",alvqa:t.alvqa+"-textfield-duration"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"InitialDate",label:t.$t("lang_LABEL_TRACKS_CAPTION_DATE_INITIAL"),alvqa:t.alvqa+"-datepicker-initial_date"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_P_NOTICE"),field:"Copyright",context:t.context,alvqa:t.alvqa+"-textfield-copyright"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_CLASSICAL_WORK"),field:"ClassicalWork",context:t.context,alvqa:t.alvqa+"-textfield-classical-work"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_LANGUAGE"),items:t.$alvPlugin.getListOfGenericMusicLanguages("label-tracks"),context:t.context,field:"SelectedLanguageId",alvqa:t.alvqa+"-dropdown-language"}})],1),a("v-row",{staticClass:"pb-0"},[a("DropdownFilter",{staticClass:"mx-4",attrs:{context:t.context+"Year",label:"lang_LABEL_TRACKS_CAPTION_YEAR_OF_RECORDING",itemText:"text",items:t.yearsOptions,hideErrorMessage:!1,alvqa:t.alvqa+"-dropdown-track-years-filter"}})],1),a("v-row",{staticClass:"mt-n5"},[a("BaseEditPageDropdown",{staticClass:"mt-6",attrs:{context:t.context,label:t.$t("lang_LABEL_TRACKS_CAPTION_COUNTRY_OF_RECORDING"),field:"Country",items:t.countries,alvqa:t.alvqa+"-dropdown-country"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_EXPLICIT"),items:t.getYesOrNo("explicit"),context:t.context,field:"Explicit",clearable:!1,alvqa:t.alvqa+"-dropdown-explicit"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_LIVE"),items:t.getYesOrNo("live"),context:t.context,field:"Live",clearable:!1,alvqa:t.alvqa+"-dropdown-live"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_INSTRUMENTAL"),items:t.getYesOrNo("instrumental"),context:t.context,field:"Instrumental",clearable:!1,alvqa:t.alvqa+"-dropdown-instrumental"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_LABEL"),items:t.getLabelsItems,context:t.context,field:"SelectedLabelId",clearable:!1,rules:"required",alvqa:t.alvqa+"-dropdown-label-companies"}})],1)],1)]}},{key:"panels",fn:function(){return[a("ConnectWorkToTrackDialog"),a("ConnectArtistToTrackDialog"),a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("TracksArtistsEditPanel"),a("TracksArtistsEditPanelDialog"),a("TracksMediaEditPanel"),a("MediaFileUploadDialog",{attrs:{acceptedFiles:".png,.jpg,.jpeg,.pdf,.txt,.mp4,.wav,.mov,.mp3,.mpeg,.flac,.zip",placeholder:"lang_LABEL_TRACKS_EDIT_AUDIO_UPLOADER_TEXT_UPLOAD_MEDIA_FILES",headline:"lang_GENERICL_AUDIO_UPLOAD_DIALOG_TITLE",context:t.context+"sMedia",detailsCall:"getTracksDetails",directory:"label/tracks/"}})]},proxy:!0}])})},b_=[],P_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_CAPTION_CONTRIBUTORS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"items-per-page":1e3,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.artist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-artist"}},[t._v("\n                    "+t._s(t.$alvPlugin.getArtistOrPerformerName(n.artist))+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-role"}},[t._v("\n                    "+t._s(t.getRole(n.role))+"\n                ")])]}},{key:"item.primary",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-primary"}},[t._v("\n                    "+t._s(t.getYesOrNo(n.primary))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},D_=[],N_={name:"TracksArtistsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"label-tracks-edit-form-panel-artists"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_TRACKS_CAPTION_NAME"),align:"left",value:"artist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),align:"left",value:"primary",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-primary"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getTracksArtists}},methods:{addNewRow:function(){this.$store.commit("setTracksArtistsArtistOptions",[]),this.$store.commit("setTracksArtistsDetailsPrimary","no"),this.$store.commit("setShowTracksArtistsEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultTracksArtists));this.$store.commit("setTracksArtistsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedTracksArtists",t),this.$store.commit("setDeletionDialogContext","SelectedTracksArtists"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedTracksArtists",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setTracksArtistsEditingDialogDetails",e),this.$store.commit("setTracksArtistsArtistOptions",[t.artist]),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowTracksArtistsEditingDialog",!0)},getRole:function(t){var e=Ne;if(void 0!==e)return e.find((function(e){return e.value===t})).text},getYesOrNo:function(t){null==t&&(t="no");var e=be.find((function(e){return e.value===t})).text;return this.$t(e)}}},R_=N_,x_=(a("be78"),Object(C["a"])(R_,P_,D_,!1,null,null,null)),O_=x_.exports,w_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS_CAPTION_MEDIA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:function(e){return t.openMediaUploader()}}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.media",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n                        "+t._s(e.item.name)+"\n                    ")])]}},{key:"item.type",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n                        "+t._s(e.item.type.toUpperCase())+"\n                    ")])]}},{key:"item.delete",fn:function(e){return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-donwload",icon:"delete",tooltipText:"lang_GENERIC_CAPTION_DELETE"},on:{click:function(a){return t.deleteFile(e)}}})]}}],null,!0)})]},proxy:!0}])})},L_=[],y_={name:"TracksMediaEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt,BaseCheckbox:Qt},data:function(){return{alvqa:"label-tracks-edit-form-panel-media",context:"TracksMedia"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_FILE_NAME"),align:"left",value:"media",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"Type",align:"left",value:"type",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"",align:"right",value:"delete",sortable:!1,width:"70px",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getTracksMedia}},methods:{openMediaUploader:function(){this.$store.commit("setShowMediaFileUploadDialog",!0)},deleteFile:function(t){var e=t.item.type,a=t.item.id;this.$store.dispatch("deleteLabelTracksMediaFile",{clickedMediaType:e,mediaFileId:a})},checkAsPrimary:function(t){var e=this.$store.getters.getTracksMediaCheckbox,a=this.$store.getters.getTracksMedia,n=!0,i=!1,s=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done);n=!0){var o=r.value;o===t.name?t["primary"]=!0:t["primary"]=!1}}catch(c){i=!0,s=c}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}a.forEach((function(a,n){a.type===t.type&&!0===a.primary&&a.name!==t.name&&(a.primary=!1,e.filter((function(t){return t!==a.name})))}))}}},q_=y_,k_=Object(C["a"])(q_,w_,L_,!1,null,null,null),B_=k_.exports,$_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showMediaFileUploadDialog,maxDialogWidth:"800",maxCardHeight:"600",headline:t.headline,close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-drag-and-drop"}},[a("VueFileAgent",{ref:"mediaFileUploader",attrs:{thumbnailSize:120,theme:"list",accept:t.acceptedFiles,multiple:!0,deletable:!0,errorText:t.errorProps,averageColor:!0,helpText:t.$t(t.placeholder)},on:{beforedelete:function(e){return t.removeMediaFile(e)},select:function(e){return t.mediaFileSelected(e)}}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end pl-0",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_UPLOAD",alvqa:t.alvqa+"-button-image-upload",disabled:t.shouldDisableButton},on:{click:function(e){return t.uploadMediaFiles()}}})],1)],1)],1)]},proxy:!0}])})},G_=[],F_={name:"MediaFileUploadDialog",props:{headline:{type:String},acceptedFiles:{type:String},placeholder:{type:String},context:{type:String},detailsCall:{type:String},directory:{type:String}},components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{alvqa:"media-file-upload-dialog",formData:new FormData,isUploading:!1,errorProps:{type:this.$t("lang_GENERIC_DRAG_AND_DROP_UPLOADER_WRONG_FILE_FORMAT"),size:"You selected a larger file!"}}},computed:{showMediaFileUploadDialog:{get:function(){return this.$store.getters.getShowMediaFileUploadDialog},set:function(t){this.$store.commit("setShowMediaFileUploadDialog",t)}},selected:{get:function(){return this.$store.getters.getSelectedMediaUploadFiles},set:function(t){this.$store.commit("setSelectedMediaUploadFiles",t)}},shouldDisableButton:function(){return this.isUploading||0===this.selected.length}},methods:{closeDialog:function(){this.selected=[],this.$refs.mediaFileUploader.fileRecords=[],this.showMediaFileUploadDialog=!1,this.$store.dispatch("fetch"+this.context)},mediaFileSelected:function(t){var e=t.filter((function(t){return!1===t.error}));this.selected=this.selected.concat(e)},removeMediaFile:function(t){var e=this.selected.indexOf(t);!1!==t.error&&this.$refs.mediaFileUploader.deleteFileRecord(t),-1!==e&&(this.selected.splice(e,1),this.$refs.mediaFileUploader.deleteFileRecord(t))},uploadMediaFiles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.isUploading=!0,e=this.$store.getters[this.detailsCall].alvId,a=k$.getRootUrl(),this.uploadHeaders={Authorization:"Bearer "+this.$store.getters.getUserToken()},this.uploadUrl=a+this.directory+e+"/files",t.next=7,this.$refs.mediaFileUploader.upload(this.uploadUrl,this.uploadHeaders,this.selected,(function(t){var e=new FormData;return e.append("file",t.file),e}));case 7:n=t.sent,n=JSON.parse(n[0].request.response),1===n.error&&this.$store.commit("setSnackbar",{type:"error",msg:n.response.errorMsg}),this.isUploading=!1,this.closeDialog();case 12:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},U_=F_,M_=Object(C["a"])(U_,$_,G_,!1,null,null,null),W_=M_.exports,j_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Artist",label:t.$t("lang_LABEL_TRACKS_CAPTION_NAME"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-artist-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-artist-selection"}},[t._v("\n                            "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                        ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Role",items:t.roleItems,label:t.$t("lang_LABEL_TRACKS_CAPTION_ROLE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-role"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Primary",items:t.yesNoItems,label:t.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-primary"}})],1),a("v-col",{attrs:{cols:"1","align-self":"center"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(" "+t._s(t.$t("lang_GENERIC_CAPTION_ARTISTS_PRIMARY_INFO_ICON"))+" ")])]},proxy:!0}])})],1)],1)]},proxy:!0}])})},z_=[],H_={name:"TracksArtistsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me,BaseCheckbox:Qt,BaseTooltip:T},data:function(){return{context:"TracksArtists",alvqa:"label-tracks-edit-form-panel-artists-editing-panel"}},computed:{roleItems:function(){var t=Ne;return t.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),t},yesNoItems:function(){return be},isReadonly:function(){var t=this.$store.getters.getReleasesArtistsDetailsRole;switch(t){case"featuring":case"with":case"presents":case"versus":case"performer":return!1;default:return this.$store.commit("setReleasesArtistsDetailsPrimary","no"),!0}}}},V_=H_,Y_=Object(C["a"])(V_,j_,z_,!1,null,null,null),K_=Y_.exports,Z_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("SearchDialog",{attrs:{context:t.context,searchcontext:"WorksFor"+t.context,subcontext:"Works",addcontext:"WorksTo"+t.context,addButtonLabel:"lang_LABEL_TRACKS_CONNECT_WORK_DIALOG_TITLE",dialogTitle:"lang_LABEL_TRACKS_CONNECT_WORK_DIALOG_TITLE",withoutCheckboxesList:!0,alvqaContext:t.alvqa},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n        "+t._s(a.title)+"\n    ")]}},{key:"itemSubtitle",fn:function(e){var a=e.item;return[t._v("\n        "+t._s(t.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"))+": "+t._s(""!==a.gemaNumber&&null!==a.gemaNumber?a.gemaNumber:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" |\n        "+t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+": "+t._s(a.alvId)+"\n    ")]}}])})},X_=[],J_={name:"ConnectWorkToTrackDialog",data:function(){return{context:"Tracks",alvqa:"label-tracks-edit-form"}},components:{SearchDialog:ys}},Q_=J_,th=Object(C["a"])(Q_,Z_,X_,!1,null,null,null),eh=th.exports,ah=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"connectArtistToTrackDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:t.headline,close:t.close,maxDialogWidth:"800",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showAzFields?t.showAzFields?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:"LabelTracks",field:"SelectedAzTypeForArtist",items:t.azTypes,label:t.$t("lang_GENERIC_CAPTION_AZ_TYPE"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-az-type",additionalFunction:t.changeAzType}})],1)],1),"groups"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"Group",label:t.$t("lang_AZ_GROUPS_CAPTION_GROUP_NAME"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-textfield-group-name"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.subcontext,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1):t._e(),"persons"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"Group",label:t.$t("lang_AZ_PERSONS_CAPTION_COMPANY_GROUP_ARTIST_NAME"),rules:t.isGroupRequired,alvqa:t.alvqa+"-textfield-group",withMargin:!1}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.subcontext,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1):t._e(),"persons"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"FirstName",label:t.$t("lang_AZ_PERSONS_CAPTION_FIRST_NAME"),rules:t.areNamesRequiered,withMargin:!1,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"LastName",label:t.$t("lang_AZ_PERSONS_CAPTION_LAST_NAME"),rules:t.areNamesRequiered,withMargin:!1,alvqa:t.alvqa+"-textfield-last-name"}})],1)],1):t._e()],1):t._e():a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"10"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-left",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",[a("BaseHeaderStats",{attrs:{context:t.context,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"ConnectArtistToTrackDialog"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                    0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                    ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:!1},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e){return a("v-list-item",{key:e.alvId,attrs:{value:e,alvqa:t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e)}}},[a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-name"}},[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(e))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(e.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==e.ipi?e.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(e.alvId)+"\n                                ")])],1)],1)})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.showAzFields?a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-back"},on:{click:function(e){return t.backToSearch()}}})],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:null===t.selectedAzType,label:"lang_GENERIC_CAPTION_SAVE_AND_CONNECT",alvqa:t.alvqa+"-button-save-connect"},on:{click:function(e){return n(t.connectAndSavePerformer)}}})],1)],1):a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:0!==t.selectedArtist.length,label:"lang_GENERIC_CREATE_NEW_AZ_ENTRY",alvqa:t.alvqa+"-button-create"},on:{click:function(e){return t.createAz()}}})],1),a("v-col",{staticClass:"text-right",attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:0===t.selectedArtist.length,label:"lang_GENERIC_CAPTION_CONNECT",alvqa:t.alvqa+"-button-select"},on:{click:function(e){return t.connectPerformer()}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},nh=[],ih={name:"ConnectArtistToTrackDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N,SearchFilter:Nn,BaseHeaderStats:ti,BaseEditPageDropdown:me,BaseEditPageTextField:Ut},data:function(){return{alvqa:"label-tracks-edit-form",selected:[],showSearchResult:!1,items:[],context:"ArtistForTracks",headline:"lang_LABEL_TRACKS_CAPTION_CONNECT_INTERPRET",showAzFields:!1}},computed:{showDialog:{get:function(){return this.$store.getters.getShowConnectArtistDialog},set:function(t){this.$store.commit("setShowConnectArtistDialog",t)}},selectedArtist:{get:function(){return this.$store.getters.getSelectedArtistForTracks},set:function(t){this.$store.commit("setSelectedArtistForTracks",t)}},azTypes:function(){return[{value:"groups",text:this.$t("lang_AZ_GROUPS")},{value:"persons",text:this.$t("lang_AZ_PERSONS")}]},selectedAzType:{get:function(){return this.$store.getters.getLabelTracksDetailsSelectedAzTypeForArtist},set:function(t){this.$store.commit("setLabelTracksDetailsSelectedAzTypeForArtist",t)}},isGroupRequired:function(){var t=this.$store.getters.getAzPersonsDetails;if(void 0===t)return"required";var e=null===t.firstName||null===t.lastName;return e?"required":""},areNamesRequiered:function(){var t=this.$store.getters.getAzPersonsDetails;return void 0===t||null===t.group?"required":""},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},subcontext:function(){return"Az"+this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1)}},methods:{connectAndSavePerformer:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1),a=this.$store.getters["getAz"+e+"Details"],a["type"]=["artist"],t.next=5,this.$store.dispatch("saveAz"+e+"Form",!1);case 5:n=this.$store.getters["getAz"+e+"Details"],this.$store.commit("setSelectedArtistForTracks",[n]),this.connectPerformer();case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),connectPerformer:function(){this.$store.dispatch("addArtistToTracks"),this.close()},backToSearch:function(){this.showAzFields=!1,this.$store.commit("setLabelTracksDetailsSelectedAzTypeForArtist",null);var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultNewAzPersons)),e=JSON.parse(JSON.stringify(this.$store.getters.getDefaultNewAzGroups));this.$store.commit("setAzPersonsDetails",t),this.$store.commit("setAzGroupsDetails",e)},close:function(){this.showDialog=!1,this.selectedArtist=[],this.selected=[],this.showSearchResult=!1,this.items=[],this.showAzFields=!1,this.headline="lang_LABEL_TRACKS_CAPTION_CONNECT_INTERPRET",this.$store.commit("setArtistForTracksSearch",""),this.$store.commit("setLabelTracksDetailsSelectedAzTypeForArtist",null),this.$store.commit("setAzPersonsDetails",this.$store.getters.getDefaultNewAzPersons),this.$store.commit("setAzGroupsDetails",this.$store.getters.getDefaultNewAzGroups)},searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),e=this.$store.getters.getArtistForTracksSearch,!e){t.next=9;break}return this.selectedArtist=[],this.selected=[],this.showSearchResult=!0,t.next=8,this.$store.dispatch("searchArtistForTracks");case 8:this.items=t.sent;case 9:e||(this.items=[]),this.$store.commit("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectItem:function(t){0===this.selectedArtist.length?this.selectedArtist.push(t):this.selectedArtist[0]["id"]===t.id?this.selectedArtist=[]:(this.selectedArtist=[],this.selectedArtist.push(t))},createAz:function(){this.showAzFields=!0,this.headline="lang_GENERIC_CREATE_NEW_AZ_ENTRY"},changeAzType:function(t){if(t){var e=this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1),a=JSON.parse(JSON.stringify(this.$store.getters["getDefaultNewAz"+e]));this.$store.commit("setAz"+e+"Details",a),this.$refs.connectArtistToTrackDialog.reset()}}},mounted:function(){this.$store.commit("setCountries")}},sh=ih,rh=Object(C["a"])(sh,ah,nh,!1,null,null,null),lh=rh.exports,oh={name:"TracksEdit",data:function(){return{context:"Track",releasesDropdown:[],alvqa:"label-tracks-edit-form"}},components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseButton:wt,BaseIcon:N,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseReadOnlyTextField:iu,DropdownFilter:us,TracksArtistsEditPanel:O_,TracksMediaEditPanel:B_,DeletionDialog:Cs,MediaFileUploadDialog:W_,TracksArtistsEditPanelDialog:K_,ConnectWorkToTrackDialog:eh,ConnectArtistToTrackDialog:lh},computed:{yearsOptions:function(){for(var t=[],e=(new Date).getFullYear()+1,a=e;a>=1901;a--)t.push({text:a.toString(),value:a,alvqa:this.alvqa+"-dropdown-period-selector-years-"+a});return t},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},getReleasesItems:function(){return this.$store.getters.getReleasesDropdown},getLabelsItems:function(){var t,e=this,a=this.$store.getters.getLabelsDropdown;return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-label-companies-"+t.value,t["text"]=t.text+" ("+t.alvId+")"}))):t=[],t},isWorkConnected:function(){return null!==this.getWorkTitle},isArtistConnected:function(){return null!==this.getAzName},getWorkTitle:function(){return this.$store.getters.getTrackDetailsConnectedWork},getAzName:function(){return this.$store.getters.getTrackDetailsConnectedArtist}},methods:{getYesOrNo:function(t){var e=this,a=JSON.parse(JSON.stringify(be));return a.forEach((function(a){a["alvqa"]=e.alvqa+"-dropdown-"+t+"-"+a.value})),a},getWorkTooltipTxt:function(){var t="",e=this.$store.getters.getTracksDetails.work;return void 0!==e&&null!==e&&(t=e.title+" (",null!==e.alvId&&void 0!==e.alvId&&""!==e.alvId?t+=e.alvId:t+="",void 0!==e.gemaNumber&&null!==e.gemaNumber&&""!==e.gemaNumber?t+=" | "+e.gemaNumber:t+="",t+=")"),t},uploadAudio:function(){this.$store.commit("setSnackbar",{type:"warning",msg:"This page is under construction. This function is not added yet!"})},editConnectedWork:function(){this.isWorkConnected?this.$store.dispatch("deleteWorkTrackConnection"):this.$store.commit("setShowSearchDialog",!0)},editConnectedArtist:function(){this.isArtistConnected?this.$store.dispatch("deleteArtistTrackConnection"):this.$store.commit("setShowConnectArtistDialog",!0)}}},ch=oh,uh=Object(C["a"])(ch,T_,b_,!1,null,null,null),dh=uh.exports,gh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"}}),n("SelectionRequiredDialog"),n("LabelReleasesCoverImageUploadDialog",{attrs:{alvContext:t.alvqa+"-list"}}),n("DeletionDialog",{attrs:{context:"SelectedLabelReleases"}}),n("ManageTagsDialog",{attrs:{context:"LabelReleases",dir:"label/releases",idAttributeName:"releaseIds"}}),n("ErrorDialog"),n("LabelReleasesDeliveryDialog"),n("LabelReleasesValidationErrorDialog"),n("LabelReleasesExportDialog"),n("LabelTestReleasesDialog"),n("BaseListPage",{attrs:{headline:"lang_LABEL_RELEASES",context:t.context,searchCols:"2",alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[n("v-col",{attrs:{cols:"3"}},[n("DropdownFilter",{attrs:{context:t.context+"LabelsFilter",label:"lang_LABEL_RELEASES_FILTER_CAPTION_CATALOGS",items:t.labelsItems,alvqa:t.alvqa+"-list-dropdown-labels"}})],1),n("v-col",{attrs:{cols:"2"}},[n("DropdownFilter",{attrs:{context:t.context+"QualityFilter",label:"lang_GENERIC_CAPTION_QUALITY",items:t.qualityItems,alvqa:t.alvqa+"-list-dropdown-quality"}})],1),n("v-col",{attrs:{cols:"2"}},[n("DropdownFilter",{attrs:{context:t.context+"DigitalDistributionStatus",label:"lang_LABEL_RELEASES_FILTER_CAPTION_DIGITAL_DISTRIBUTION_STATUS",items:t.releaseDistributionStatusItems,alvqa:t.alvqa+"-list-dropdown-status"}})],1),n("v-col",{attrs:{cols:"2"}},[n("DropdownFilter",{attrs:{context:t.context+"YearsFilter",label:"lang_GENERIC_PERIOD_FILTER_OPTION_YEAR",itemText:"text",items:t.yearsOptions,alvqa:t.alvqa+"-list-dropdown-years-filter"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("ReleasesTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",[void 0!==i.item.cover&&null!==i.item.cover?n("v-img",{attrs:{src:i.item.cover,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}}):n("v-img",{attrs:{src:a("ee19"),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"cover-image",width:"40px"}})],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(i.item.title))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-release-title"}},[t._v("\n                    "+t._s(i.item.title)+"\n                  ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-tracks"}},[t._v("\n              "+t._s(i.item.tracks)+"\n            ")]),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(i.item.displayArtist))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-display-artist"}},[t._v("\n                    "+t._s(i.item.displayArtist)+"\n                  ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"no_ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(i.item.ean))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-ean"}},[t._v("\n                    "+t._s(i.item.ean)+"\n                  ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"no_ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(i.item.catalogueNumber))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-gema-catalogue-number"}},[t._v("\n                    "+t._s(i.item.catalogueNumber)+"\n                  ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"no_ellipsis"},[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-date-retail"}},[t._v("\n                  "+t._s(null!==i.item.dateRetail?t.$d(new Date(i.item.dateRetail),"alvDateFormat"):"")+"\n                ")])]),n("td",{staticClass:"no_ellipsis"},[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-date-digital"}},[t._v("\n                  "+t._s(null!==i.item.dateDigital?t.$d(new Date(i.item.dateDigital),"alvDateFormat"):"")+"\n                ")])]),n("td",{staticClass:"no_ellipsis"},[n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.id+"-icon-upload-picture",icon:"photo",tooltipText:"lang_LABEL_RELEASES_UPLOAD_COVER_IMAGE",color:i.item.cover?"buttonStandard":"standardBrownIcon"},on:{click:function(e){return e.stopPropagation(),t.showImageUploadDialog(i.item)}}})],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[n("LabelReleaseReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},ph=[],vh=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"LabelReleases",alvqa:t.alvqa,cols:"2"}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",alvqa:t.alvqa,cols:"2"}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center",cols:"4"}},[a("BaseHeaderStats",{attrs:{context:"LabelReleases",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",alvqa:t.alvqa+"-list-button-export-all"},on:{click:t.exportLabelReleases}})],1),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_LABEL_RELEASES_BUTTON_CAPTION_NEW_RELEASE",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},_h=[],hh={name:"ReleasesTopSlot",data:function(){return{editForm:"LabelReleasesEdit",alvqa:"label-releases"}},components:{ImportButton:Yn,BaseButton:wt,ActionDropdown:Mn,BaseHeaderStats:ti},computed:{importOptions:function(){return[{text:this.$t("lang_LABEL_RELEASES_BUTTON_OPTION_HARVEST_MEDIA"),value:"harvestMedia",alvqa:this.alvqa+"-list-import-dropdown-harvest-media"},{text:this.$t("lang_GENERAL_CAPTION_IMPORT_EXCEL"),value:"alvExcelTemplateLabelReleases",alvqa:this.alvqa+"-list-import-dropdown-excel-template"},{text:this.$t("lang_LABEL_RELEASES_BUTTON_OPTION_ZIP_IMPORT"),value:"alvZipLabelReleases",alvqa:this.alvqa+"-list-import-dropdown-zip"}]},actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_EXPORT"),value:"export",alvqa:this.alvqa+"-list-action-dropdown-export"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_DELIVER_RELEASE"),value:"prepareReleaseForDelivery",alvqa:this.alvqa+"-list-action-dropdown-deliver-release"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_COPY_WITH_TRACKS"),value:"copyWithTracks",alvqa:this.alvqa+"-list-action-dropdown-copy-with-tracks"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_COPY_WITHOUT_TRACKS"),value:"copyWithoutTracks",alvqa:this.alvqa+"-list-action-dropdown-copy-without-tracks"},{text:this.$t("lang_GENERIC_CAPTION_TEST_CALCULATION"),value:"testRelease",alvqa:this.alvqa+"-list-action-dropdown-test"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_LABELCOPY_EXCEL"),value:"labelCopyExcel",alvqa:this.alvqa+"-list-action-dropdown-labelcopy-excel"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_LABELCOPY_PDF"),value:"labelCopyPdf",alvqa:this.alvqa+"-list-action-dropdown-labelcopy-pdf"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_GVL_TRISYS"),value:"gvlExcel",alvqa:this.alvqa+"-list-action-dropdown-gvl-trisys"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_GEMA_TONIS"),value:"gemaTonis",alvqa:this.alvqa+"-list-action-dropdown-gema-tonis"},{text:this.$t("lang_GENERIC_CAPTION_MANAGE_TAGS"),value:"replaceTags",alvqa:this.alvqa+"-list-action-dropdown-manage-tags"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_EXPORT_DDEX_ERN"),value:"ddexExport",alvqa:this.alvqa+"-list-action-dropdown-ddex-ern-41-export"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}},methods:{exportLabelReleases:function(){this.$store.commit("setSelectedLabelReleases",[]),this.$store.commit("setLabelReleasesExportAll",!0),this.$store.commit("setShowLabelReleasesExportDialog",!0)}}},mh=hh,fh=Object(C["a"])(mh,vh,_h,!1,null,null,null),Sh=fh.exports,Eh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[n("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.name)+"\n        ")])],1),n("v-row",{staticClass:"pl-4 pr-4 pt-3"},[void 0!==t.item.cover&&null!==t.item.cover?n("v-col",{attrs:{cols:"1"}},[n("v-img",{attrs:{src:t.item.cover,alvqa:t.alvqa+"-image"}})],1):t._e(),t.showFirstCard?n("v-col",[n("v-card",{attrs:{height:"100%",elevation:"0"}},[n("v-card-text",[null!==t.item.displayArtist?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-display-artist"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_CAPTION_DISPLAY_ARTIST"))+"\n                            "),n("img",{staticStyle:{height:"12px",cursor:"pointer","margin-left":"4px",filter:"grayscale(100%) opacity(50%)"},attrs:{src:a("abee"),alt:"YouTube"},on:{click:function(e){t.showHelpOverlay=!0}}})]),n("div",{attrs:{alvqa:t.alvqa+"-display-artist"}},[t._v("\n                            "+t._s(t.item.displayArtist)+"\n                        ")])]):t._e(),t.getAzName?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-artist"}},[t._v(t._s(t.$t("lang_LABEL_TRACKS_CAPTION_ARTIST")))]),n("div",{attrs:{alvqa:t.alvqa+"-artist"}},[t._v("\n                            "+t._s(t.getAzName)+"\n                            "),t.item.performer.alvId?[n("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(t.item.performer.alvId)}},[t._v(" "+t._s(t.item.performer.alvId))])]:t._e()],2)]):t._e(),null!==t.item.mediaType?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-media-type"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_MEDIA_TYPE")))]),n("div",{attrs:{alvqa:t.alvqa+"-media-type"}},[t._v("\n                            "+t._s(t.getMediaType(t.item.mediaType))+"\n                        ")])]):t._e(),null!==t.item.genre1||null!==t.item.genre2||null!==t.item.genre3?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-genres"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_GENRES")))]),null!==t.item.genre1?n("div",{attrs:{alvqa:t.alvqa+"-genre-1"}},[t._v(t._s(t.getGenre(t.item.genre1)))]):t._e(),null!==t.item.genre2?n("div",{attrs:{alvqa:t.alvqa+"-genre-2"}},[t._v(t._s(t.getGenre(t.item.genre2)))]):t._e(),null!==t.item.genre3?n("div",{attrs:{alvqa:t.alvqa+"-genre-3"}},[t._v(t._s(t.getGenre(t.item.genre3)))]):t._e()]):t._e(),null!==t.item.notes?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES")))]),n("div",{attrs:{alvqa:t.alvqa+"-notes"}},[t._v("\n                            "+t._s(t.item.notes)+"\n                        ")])]):t._e()])],1)],1):t._e(),t.showSecondCard?n("v-col",[n("v-card",{attrs:{height:"100%",elevation:"0"}},[n("v-card-text",[null!==t.item.ean?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-ean-upc"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC")))]),n("div",{attrs:{alvqa:t.alvqa+"-ean-upc"}},[t._v("\n                            "+t._s(t.item.ean)+"\n                        ")])]):t._e(),null!==t.item.catalogueNumber?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-catalogue-number"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_CATALOGUE_NUMBER")))]),n("div",{attrs:{alvqa:t.alvqa+"-catalogue-number"}},[t._v("\n                            "+t._s(t.item.catalogueNumber)+"\n                        ")])]):t._e(),n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-label-company"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_LABEL")))]),n("div",{attrs:{alvqa:t.alvqa+"-label-company"}},[t._v("\n                            "+t._s(t.getLabelOfRelease.text)+" ("),n("router-link",{attrs:{to:"/az/azgroups/"+t.getLabelOfRelease.alvId}},[t._v(t._s(t.getLabelOfRelease.alvId))]),t._v(")\n                        ")],1)]),null!==t.item.otherId?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-other-id"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_OTHER_ID")))]),n("div",{attrs:{alvqa:t.alvqa+"-other-id"}},[t._v("\n                            "+t._s(t.item.otherId)+"\n                        ")])]):t._e(),null!==t.item.gemaCatalogueNumber?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-catalogue-number"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_GEMA_CATALOGUE_NO")))]),n("div",{attrs:{alvqa:t.alvqa+"-gema-catalogue-number"}},[t._v("\n                            "+t._s(t.item.gemaCatalogueNumber)+"\n                        ")])]):t._e(),null!==t.item.gemaRegistrationNumbers?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-registration-number"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_GEMA_REG_NO")))]),n("div",{attrs:{alvqa:t.alvqa+"-gema-registration-number"}},[t._v("\n                            "+t._s(t.item.gemaRegistrationNumbers)+"\n                        ")])]):t._e(),null!==t.item.gemaLtnNumber?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-ltn-number"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_GEMA_LTN_NUMBER")))]),n("div",{attrs:{alvqa:t.alvqa+"-gema-ltn-number"}},[t._v("\n                            "+t._s(t.item.gemaLtnNumber)+"\n                        ")])]):t._e(),null!==t.item.alvId?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID")))]),n("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v("\n                            "+t._s(t.item.alvId)+"\n                        ")])]):t._e()])],1)],1):t._e(),t.showThirdCard?n("v-col",[n("v-card",{attrs:{height:"100%",elevation:"0"}},[n("v-card-text",[null!==t.item.minimumStock?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-minimum-stock"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_MINIMUM_STOCK")))]),n("div",{attrs:{alvqa:t.alvqa+"-minimum-stock"}},[t._v("\n                            "+t._s(t.item.minimumStock)+"\n                        ")])]):t._e(),null!==t.item.numberOfDiscs?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-number-of-discs"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_DISCS")))]),n("div",{attrs:{alvqa:t.alvqa+"-number-of-discs"}},[t._v("\n                            "+t._s(t.item.numberOfDiscs)+"\n                        ")])]):t._e(),null!==t.item.weight?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-weight"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_CAPTION_WEIGHT")))]),n("div",{attrs:{alvqa:t.alvqa+"-weight"}},[t._v("\n                            "+t._s(t.item.weight)+"\n                        ")])]):t._e(),null!==t.item.dateRetail&&""!==t.item.dateRetail?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-retail-date"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_DATE_PHYSICAL")))]),n("div",{attrs:{alvqa:t.alvqa+"-retail-date"}},[t._v("\n                            "+t._s(t.getFormattedDate(t.item.dateRetail))+"\n                        ")])]):t._e(),null!==t.item.dateDigital&&""!==t.item.dateDigital?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-digital-release-date"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_DATE_DIGITAL")))]),n("div",{attrs:{alvqa:t.alvqa+"-digital-release-date"}},[t._v("\n                            "+t._s(t.getFormattedDate(t.item.dateDigital))+"\n                        ")])]):t._e(),null!==t.item.datePreRelease&&""!==t.item.datePreRelease?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-prerelease-date"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_DATE_PRERELEASE")))]),n("div",{attrs:{alvqa:t.alvqa+"-prerelease-date"}},[t._v("\n                            "+t._s(t.getFormattedDate(t.item.datePreRelease))+"\n                        ")])]):t._e()])],1)],1):t._e(),t.showFourthCard?n("v-col",[n("v-card",{attrs:{height:"100%",elevation:"0"}},[n("v-card-text",[null!==t.item.priceCategory?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-price-category"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_PRICE_CATEGORY")))]),n("div",{attrs:{alvqa:t.alvqa+"-price-category"}},[t._v("\n                            \n                            "+t._s(t.$t(t.getPriceCategory(t.item.priceCategory)))+"\n                        ")])]):t._e(),null!==t.item.selectedPriceListTitle?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-pricelist-title"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_PRICELIST")))]),n("div",{attrs:{alvqa:t.alvqa+"-pricelist-title"}},[t._v("\n                            \n                            "+t._s(t.item.selectedPriceListTitle)+"\n                        ")])]):t._e(),null!==t.item.language?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-language"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_LANGUAGE")))]),n("div",{attrs:{alvqa:t.alvqa+"-language"}},[t._v("\n                            "+t._s(t.$t(t.getLanguage))+"\n                        ")])]):t._e(),null!==t.item.tags?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_TAGS")))]),n("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v("\n                            "+t._s(t.item.tags)+"\n                        ")])]):t._e(),null!==t.item.contracts&&0!==t.item.contracts.length?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-contracts"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_CONTRACTS"))+":")]),t._l(t.item.contracts,(function(e,a){return n("div",{key:a,attrs:{alvqa:t.alvqa+"-contracts-"+e.contract.alvId}},[n("BaseTooltip",{scopedSlots:t._u([null!=e.contract.licensor?{key:"text",fn:function(){return[t._v(t._s(e.contract.licensor.name)+" ("+t._s(e.contract.licensor.alvId)+")")]},proxy:!0}:{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_GENERIC_CONTRACTS_ERROR_NO_LICENSOR")))]},proxy:!0},{key:"content",fn:function(){return[t._v("\n                                    "+t._s(e.contract.contractName)+" \n                                    "),n("router-link",{attrs:{to:"/contracts/label/"+e.contract.alvId}},[t._v("\n                                    "+t._s(e.contract.alvId))]),t._v("\n                                    "+t._s(e.connectedTracks)+" "+t._s(t.$t("lang_GENERIC_CAPTION_OF"))+" "+t._s(t.item.tracks)+" "+t._s(t.$t("lang_GENERIC_TRACKS_PLURAL_SMALLCAP"))+"\n                                ")]},proxy:!0}],null,!0)})],1)}))],2):t._e()])],1)],1):t._e()],1),n("v-row",[n("v-col",{staticClass:"ml-4 mr-4"},[n("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[n("TracksReadOnlyPanel",{attrs:{releaseAlvId:t.item.alvId}}),n("ReleasesArtistsReadOnlyPanel",{attrs:{releaseAlvId:t.item.alvId}}),n("ReleasePromotionalTextsReadOnlyPanel",{attrs:{releaseAlvId:t.item.alvId}}),n("ReleasesProfitAndLossReadOnlyPanel",{attrs:{releaseAlvId:t.item.alvId}}),n("ReleasesDigitalDistributionPanel",{attrs:{releaseAlvId:t.item.alvId}})],1)],1)],1),n("v-dialog",{attrs:{"max-width":"360px","max-height":"640px"},model:{value:t.showHelpOverlay,callback:function(e){t.showHelpOverlay=e},expression:"showHelpOverlay"}},[n("v-card",{staticStyle:{"background-color":"#f0f0f0"}},[n("v-card-title",[n("v-spacer"),n("BaseIcon",{staticStyle:{cursor:"pointer"},attrs:{alvqa:t.alvqa+"-icon-dialog-close",small:!0,icon:"close",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.showHelpOverlay=!1}}})],1),n("v-card-text",[n("div",{staticStyle:{position:"relative","padding-bottom":"177.78%",height:"0",overflow:"hidden"}},[n("iframe",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},attrs:{id:"videoPlayer",src:t.youtubeUrl,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},on:{load:t.setupVideoPlayer}})])])],1)],1)],1)},Ih=[],Ch=(a("4917"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.tracks,"hide-default-footer":"","items-per-page":600,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.soundCarrierNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sound-carrier-number"}},[t._v("\n                    "+t._s(n.soundCarrierNumber)+"\n                ")])]}},{key:"item.trackPosition",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-track-position"}},[t._v("\n                    "+t._s(n.trackPosition)+"\n                ")])]}},{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.isrc",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-isrc"}},[t._v("\n                    "+t._s(n.isrc)+"\n                ")])]}},{key:"item.performer",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getArtistOrPerformerName(n.displayArtist),alvqa:t.alvqa+"-list-row-"+n.id+"-text-performer"}})],1)]}},{key:"item.duration",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-duration"}},[t._v("\n                    "+t._s(t.$alvPlugin.transformSecondsToDuration(n.duration))+"\n                ")])]}},{key:"item.jumpToBtn",fn:function(e){var n=e.item;return[a("BaseButton",{attrs:{label:"lang_ERP_SHIPPING_CAPTION_LINKED_DOC_ABBREVIATION",alvqa:t.alvqa},on:{click:function(e){return e.stopPropagation(),t.jumpToTrack(n.alvId)}}})]}}],null,!0)})]},proxy:!0}])})}),Ah=[],Th={name:"TracksReadOnlyPanel",components:{BasePanel:vi,BaseTooltip:T,BaseButton:wt},props:{releaseAlvId:String},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-tracks"}},computed:{tracks:function(){var t=this,e=this.$store.getters.getExpandedLabelReleases.find((function(e){return e.alvId===t.releaseAlvId})),a=[];for(var n in e.tracksOnRelease)e.tracksOnRelease[n].forEach((function(t){a.push(t)}));return a},headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_TRACKS_CAPTION_DISC"),align:"left",width:"100px",value:"soundCarrierNumber",sortable:!1},{text:this.$t("lang_LABEL_RELEASES_CAPTION_TRACKS_PANEL_POS"),align:"left",width:"100px",value:"trackPosition",sortable:!1},{text:this.$t("lang_LABEL_TRACKS_CAPTION_TITLE"),align:"left",value:"title",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_GENERAL_CAPTION_ISRC"),align:"left",value:"isrc",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-isrc"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ARTIST"),align:"left",value:"performer",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-performer"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DURATION"),align:"left",value:"duration",width:"130px",sortable:!1,alvqa:this.alvqa+"-header-duration"},{text:"",align:"right",value:"jumpToBtn",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-jump-to-button",width:"100px"}]}},methods:{jumpToTrack:function(t){this.$store.commit("setTracksSearch",t),this.$store.commit("setExpandedTracks",[]),this.$store.commit("setExpandedTracks",t),this.$router.push({name:"Tracks"}),this.$store.dispatch("fetchTracksDetails",t)}}},bh=Th,Ph=Object(C["a"])(bh,Ch,Ah,!1,null,null,null),Dh=Ph.exports,Nh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_CAPTION_DIGITAL_DISTRIBUTION",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[n("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.items,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"header-props":{sortIcon:""},"items-per-page":100},scopedSlots:t._u([t._l(t.headers,(function(e,a){return{key:"header."+e.value,fn:function(){return[n("span",{key:a,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.logo",fn:function(t){var e=t.item;return[n("div",{staticClass:"justify-left"},[n("v-img",{attrs:{src:a("7f37")("./"+e.platformId.toLowerCase()+"-22px.png"),contain:"",height:"22px",position:"left"}})],1)]}},{key:"item.platformCompany",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-text-company-platform-company"}},[t._v("\n                    "+t._s(t.getPlatformCompany(a.platformId))+"\n                ")])]}},{key:"item.status",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-text-staus"}},[t._v("\n                    "+t._s(t.$t("lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_STATUS_DELIVERED"))+"\n                ")])]}},{key:"item.digitalRelease",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-text-digital-release-date"}},[t._v("\n                    "+t._s(t.getFormattedDate(a.digitalRelease))+"\n                ")])]}},{key:"item.distributionTime",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-text-distribution-date"}},[t._v("\n                    "+t._s(t.getFormattedDate(a.distributionTime))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},Rh=[],xh={name:"ReleasesDigitalDistributionPanel",components:{BasePanel:vi},props:{releaseAlvId:String},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-digital-distribution"}},computed:{items:function(){var t=this,e=this.$store.getters.getExpandedLabelReleases.find((function(e){return e.alvId===t.releaseAlvId}));return e.digitalDistributionLog},headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_PLATFORM"),align:"left",value:"logo",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-logo"},{text:this.$t("lang_GENERAL_CAPTION_COMPANY"),align:"left",value:"platformCompany",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-platform-company"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_STATUS"),align:"left",value:"status",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-status"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DISTRIBUTION_DATE"),align:"left",value:"distributionTime",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-distribution-date"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),align:"left",value:"digitalRelease",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-digital-release-date"}]}},methods:{getFormattedDate:function(t){return null===t||void 0===t?"":this.$d(new Date(t),"alvDateFormat")},getPlatformCompany:function(t){var e=this.$store.getters.getDigitalPlatforms;if(void 0!==e)return e.find((function(e){return e.platformId===t})).platformCompany}},mounted:function(){this.$store.commit("setDigitalPlatforms")}},Oh=xh,wh=(a("ac3f"),Object(C["a"])(Oh,Nh,Rh,!1,null,null,null)),Lh=wh.exports,yh=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_CAPTION_CONTRIBUTORS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","items-per-page":1e3,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.artist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-artist"}},[t._v("\n                    "+t._s(t.$alvPlugin.getArtistOrPerformerName(n.artist))+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-role"}},[t._v("\n                    "+t._s(t.getRole(n.role))+"\n                ")])]}},{key:"item.primary",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-primary"}},[t._v("\n                    "+t._s(t.getYesOrNo(n.primary))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},qh=[],kh={name:"ReleasesArtistsReadOnlyPanel",components:{BasePanel:vi},props:{releaseAlvId:{type:String}},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-artists"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_NAME"),align:"left",value:"artist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:this.$t("lang_LABEL_RELEASES_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),align:"left",value:"primary",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-primary"}]},listItems:function(){var t=this,e=this.$store.getters.getExpandedLabelReleases.find((function(e){return e.alvId===t.releaseAlvId})),a=null===e.artists?[]:e.artists;return a}},methods:{getRole:function(t){var e=Ne;if(void 0!==e){var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:""}return""},getYesOrNo:function(t){null==t&&(t="no");var e=be.find((function(e){return e.value===t})).text;return this.$t(e)}}},Bh=kh,$h=(a("6ffc"),Object(C["a"])(Bh,yh,qh,!1,null,null,null)),Gh=$h.exports,Fh=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_PROMOTIONAL_TEXTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.description",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-description"}},[t._v("\n                    "+t._s(n.description)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}},{key:"item.language",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-long-language"}},[t._v("\n                    "+t._s(t.$t(t.getLanguage(n.language)))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},Uh=[],Mh={name:"ReleasePromotionalTextsReadOnlyPanel",components:{BasePanel:vi},props:{releaseAlvId:{type:String}},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-promotional-texts"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASE_CAPTION_TYPE"),align:"left",value:"type",class:"text-no-wrap",width:"250px",sortable:!1,alvqa:this.alvqa+"-header-type"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_LANGUAGE"),align:"left",value:"language",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-language"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-description"}]},listItems:function(){var t=this,e=this.$store.getters.getExpandedLabelReleases.find((function(e){return e.alvId===t.releaseAlvId})),a=null===e.promotionalTexts?[]:e.promotionalTexts;return a}},methods:{getLanguage:function(t){var e=this.$store.getters.getGeneralLanguages;if(void 0!==e)return e.find((function(e){return e.value===t})).text},getType:function(t){var e=La.find((function(e){return e.value===t}));if(void 0!==e)return e.text}}},Wh=Mh,jh=(a("3dbe"),Object(C["a"])(Wh,Fh,Uh,!1,null,null,null)),zh=jh.exports,Hh=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_PROFIT_AND_LOSS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("v-row",[a("v-col",{staticClass:"pt-9 pl-2",attrs:{cols:"4",alvqa:t.alvqa+"-result"}},[t._v("\n                            "+t._s(t.$t("lang_LABEL_STATEMENTS_CAPTION_RESULT"))+":\n                            "+t._s(t.$n(t.getProfitAndLossResult,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n                        ")]),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context+"Filter",field:"FromMonth",label:t.$t("lang_GENERIC_CAPTION_PERIOD_FROM"),withMargin:!1,alvqa:t.alvqa+"-datepicker-from-month",type:"month",clearable:!1}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context+"Filter",field:"ToMonth",label:t.$t("lang_GENERIC_CAPTION_PERIOD_TO"),withMargin:!1,alvqa:t.alvqa+"-datepicker-to-month",type:"month",clearable:!1}})],1),a("span",{staticClass:"pt-6"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:t.filter}})],1)],1)],1)],1),a("v-spacer"),a("v-col",{staticClass:"pt-1",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",icon:"library_books",alvqa:t.alvqa+"-button-export"},on:{click:function(e){return t.exportData()}}})],1)],1),a("ProfitAndLossCostsDataTableReadOnly",{attrs:{releaseAlvId:t.releaseAlvId}}),a("ProfitAndLossIncomeDataTableReadOnly",{staticClass:"pt-3",attrs:{releaseAlvId:t.releaseAlvId}})]},proxy:!0}])})},Vh=[],Yh=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,expanded:t.expandedItems,"show-expand":"",loading:t.isLoading,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"no-results-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:"ProfitAndLossFilterCostGroup",label:"lang_LABEL_RELEASES_CAPTION_COST_GROUP",items:t.costGroupItems,alvqa:t.alvqa+"-dropdown-filter-cost-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"3",alvqa:t.alvqa+"-sum"}},[t._v("\n                "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n            ")])],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[n?a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-open"}},[t._v("fa-arrow-alt-circle-down")]):a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-close"}},[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.costGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-cost-group-"+n.costGroup}},[t._v("\n            "+t._s(t.getCostGroup(n.costGroup))+"\n        ")])]}},{key:"item.budgetPercent",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-budget-percent-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.budgetPercent,"number"))+"\n        ")])]}},{key:"item.difference",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-difference-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.difference,"number"))+"\n        ")])]}},{key:"item.budget",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-budget-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.budget,"number"))+"\n        ")])]}},{key:"item.costsResult",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-result-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.costsResult,"number"))+"\n        ")])]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.headers.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.subheaders,"hide-default-footer":"",items:n.rows,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.subheaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.costGroup}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.date",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-date-"+n.costgroup}},[t._v("\n                                    "+t._s(null!==n.date?t.$d(new Date(n.date),"alvDateFormat"):"")+"\n                                ")])]}},{key:"item.description",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.description,alvqa:t.alvqa+"-list-row-"+i+"-text-description-"+n.costgroup}})],1)]}},{key:"item.costs",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-costs-"+n.costgroup}},[t._v("\n                                    "+t._s(t.$alvPlugin.getNumberLocalization(n.costs,"number"))+"\n                                ")])]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})},Kh=[],Zh={name:"ProfitAndLossCostsDataTableReadOnly.vue",components:{DropdownFilter:us,BaseTooltip:T},props:{releaseAlvId:{type:String}},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-profit-and-loss-costs",expandedItems:[]}},computed:{headers:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS"),align:"left",value:"costGroup",class:"text-no-wrap",alvqa:this.alvqa+"-header-costs",sortable:!1,filter:this.filterCostGroup},{text:this.$t("lang_GENERIC_CAPTION_BUDGET")+" %",align:"right",value:"budgetPercent",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-budget-percent"},{text:this.$t("lang_GENERIC_CAPTION_DIFF")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"difference",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-difference"},{text:this.$t("lang_GENERIC_CAPTION_BUDGET")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"budget",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-budget"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"costsResult",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-result"}]},subheaders:function(){return[{text:this.$t("lang_GENERIC_CAPTION_DATE"),value:"date",align:"left",sortable:!1,class:"text-no-wrap",width:"250px",alvqa:this.alvqa+"-expand-header-date"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-description"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"costs",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-costs"}]},listItems:function(){var t=this.$store.getters.getReleasesProfitAndLoss.costs;return null!==t&&void 0!==t&&t.forEach((function(t,e){t.rows.forEach((function(e){e["costgroup"]=t.costGroup}))})),t},isLoading:function(){return this.$store.getters.getProfitAndLossIsLoading},costGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(Ce));return null!==e&&void 0!==e&&e.forEach((function(e){e.text=t.$t(e.text)})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},getSumOfDisplayedRows:function(){var t=this,e=this.$store.getters.getSelectedProfitAndLossFilterCostGroup,a=0;return void 0===this.listItems||(e?this.listItems.forEach((function(n){n.costGroup===e&&(a+=t.$alvPlugin.stringToNumber(n.costsResult))})):a=this.listItems.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.costsResult)}),0)),a}},methods:{getCostGroup:function(t){var e=Ce;if(null===e||void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?this.$t(a.text):void 0},expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),filterCostGroup:function(t){var e=this.$store.getters.getSelectedProfitAndLossFilterCostGroup;return!e||t===e}}},Xh=Zh,Jh=(a("00c0"),Object(C["a"])(Xh,Yh,Kh,!1,null,null,null)),Qh=Jh.exports,tm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,expanded:t.expandedItems,"show-expand":"",loading:t.isLoading,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"no-results-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:"ProfitAndLossFilterIncomeGroup",label:"lang_LABEL_RELEASES_CAPTION_INCOME_GROUP",items:t.incomeGroupItems,alvqa:t.alvqa+"-dropdown-filter-income-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"3",alvqa:t.alvqa+"-income-sum"}},[t._v("\n                "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n            ")])],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[n?a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-open"}},[t._v("fa-arrow-alt-circle-down")]):a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-close"}},[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.incomeGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-income-group-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.getIncomeGroup(n.incomeGroup))+"\n        ")])]}},{key:"item.prognosePercent",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-prognose-percent-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.prognosePercent,"number"))+"\n        ")])]}},{key:"item.difference",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-difference-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.difference,"number"))+"\n        ")])]}},{key:"item.prognose",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-prognose-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.prognose,"number"))+"\n        ")])]}},{key:"item.income",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-result-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.income,"number"))+"\n        ")])]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.headers.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.subheaders,"hide-default-footer":"",items:n.rows,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.subheaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.description",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-description"}},[t._v("\n                                        "+t._s(n.description)+"\n                                ")])]}},{key:"item.quantity",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-quantity"}},[t._v("\n                                    "+t._s(t.$alvPlugin.getNumberLocalization(n.quantity,"numberInteger"))+"\n                                ")])]}},{key:"item.income",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-income"}},[t._v("\n                                    "+t._s(t.$alvPlugin.getNumberLocalization(n.income,"number"))+"\n                                ")])]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})},em=[],am={name:"ProfitAndLossIncomeDataTableReadOnly",components:{DropdownFilter:us},props:{releaseAlvId:{type:String}},data:function(){return{alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-profit-and-loss-income",expandedItems:[]}},computed:{headers:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_INCOME"),align:"left",value:"incomeGroup",class:"text-no-wrap",alvqa:this.alvqa+"-header-income",sortable:!1,filter:this.filterIncomeGroup},{text:this.$t("lang_LABEL_RELEASES_CAPTION_FORECAST")+" %",align:"right",value:"prognosePercent",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-forecast-percent"},{text:this.$t("lang_GENERIC_CAPTION_DIFF")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"difference",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-difference"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_FORECAST")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"prognose",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-forecast"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"income",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-result"}]},subheaders:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-description"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_QUANTITY"),align:"right",value:"quantity",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-quantity"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"income",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-income"}]},listItems:function(){return this.$store.getters.getReleasesProfitAndLoss.income},isLoading:function(){return this.$store.getters.getProfitAndLossIsLoading},incomeGroupItems:function(){var t=this,e=[],a=JSON.parse(JSON.stringify(qa));return null!==a&&void 0!==a&&a.forEach((function(a){"income"===a.group&&(a.text=t.$t(a.text),e.push(a))})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},getSumOfDisplayedRows:function(){var t=this,e=this.$store.getters.getSelectedProfitAndLossFilterIncomeGroup,a=0;return void 0===this.listItems||void 0!==this.listItems&&null!==this.listItems&&(e?this.listItems.forEach((function(n){n.incomeGroup===e&&(a+=t.$alvPlugin.stringToNumber(n.income))})):a=this.listItems.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.income)}),0)),a}},methods:{getIncomeGroup:function(t){var e=qa;if(void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?this.$t(a.text):void 0},getIncomeAlvQa:function(t){switch(t){case"incomeOther":return"other";case"incomeLive":return"live";default:return t}},expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),filterIncomeGroup:function(t){var e=this.$store.getters.getSelectedProfitAndLossFilterIncomeGroup;return!e||t===e}}},nm=am,im=(a("78da"),Object(C["a"])(nm,tm,em,!1,null,null,null)),sm=im.exports,rm={name:"ReleasesProfitAndLossReadOnlyPanel",components:{BasePanel:vi,BaseEditPageDatePicker:$r,BaseIcon:N,ProfitAndLossCostsDataTableReadOnly:Qh,ProfitAndLossIncomeDataTableReadOnly:sm,BaseButton:wt},props:{releaseAlvId:{type:String}},data:function(){return{context:"ProfitAndLoss",alvqa:"label-releases-list-row-"+this.releaseAlvId+"-read-only-panel-profit-and-loss"}},computed:{getProfitAndLossResult:function(){return this.$store.getters.getReleasesProfitAndLossResult}},methods:{filter:function(){this.$store.commit("setSelectedProfitAndLossFilterCostGroup",null),this.$store.commit("setSelectedProfitAndLossFilterIncomeGroup",null),this.$store.dispatch("fetchReleaseProfitAndLoss")},exportData:function(){this.$store.dispatch("exportProfitAndLossData")}},created:function(){var t=new Date;this.$store.commit("setProfitAndLossFilterDetailsToMonth",this.$alvPlugin.dateToISOFormat(t));this.$store.getters.getLabelReleasesDetailsDatePhysical,this.$store.getters.getLabelReleasesDetailsDateDigital;var e,a=new Date("2008",0);e=this.$alvPlugin.dateToISOFormat(a),this.$store.commit("setProfitAndLossFilterDetailsFromMonth",e),this.$store.dispatch("fetchReleaseProfitAndLoss")}},lm=rm,om=Object(C["a"])(lm,Hh,Vh,!1,null,null,null),cm=om.exports,um={name:"LabelReleaseReadOnly",components:{TracksReadOnlyPanel:Dh,ReleasesDigitalDistributionPanel:Lh,ReleasesArtistsReadOnlyPanel:Gh,ReleasePromotionalTextsReadOnlyPanel:zh,ReleasesProfitAndLossReadOnlyPanel:cm,BaseTooltip:T,BaseIcon:N},props:{itemId:{type:Number}},data:function(){return{showHelpOverlay:!1,youtubeUrl:"https://www.youtube.com/embed/5j0WcYS5vUM?autoplay=1&enablejsapi=1",alvqa:"label-releases-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){return this.$store.getters.getExpandedLabelReleases[0]},showFirstCard:function(){var t=null!==this.item.performer,e=null!==this.item.mediaType,a=null!==this.item.notes;return!!(t||e||a)},getAzName:function(){return this.$store.getters.getLabelReleasesDetailsConnectedArtist},getLabelOfRelease:function(){var t=this.$store.getters.getLabelReleaseLabelsDropdown,e=this.$store.getters.getLabelReleasesDetailsSelectedLabelId,a=t.find((function(t){return t.value===e}));return a},showSecondCard:function(){var t=null!==this.item.catalogueNumber,e=null!==this.item.ean,a=null!==this.item.otherId,n=null!==this.item.gemaCatalogueNumber,i=null!==this.item.gemaRegistrationNumbers,s=null!==this.item.gemaLtnNumber;return!!(t||e||a||n||i||s)},showThirdCard:function(){var t=null!==this.item.dateRetail&&""!==this.item.dateRetail,e=null!==this.item.dateDigital&&""!==this.item.dateDigital,a=null!==this.item.datePreRelease&&""!==this.item.datePreRelease;return!!(t||e||a)},showFourthCard:function(){var t=null!==this.item.priceCategory,e=null!==this.item.language,a=null!==this.item.tags,n=null!==this.item.contracts;return!!(t||e||a||n)},getLanguage:function(){var t=this.$alvPlugin.getListOfGenericMusicLanguages("label-releases"),e=this.item.language.toLowerCase(),a=t.find((function(t){return t.value===e}));return a.text}},methods:{getFormattedDate:function(t){return null!==t&&void 0!==t&&t.match(/^\d{4}-\d{2}-\d{2}$/)?this.$d(new Date(t),"alvDateFormat"):""},getMediaType:function(t){var e=Je,a=e.find((function(e){return e.value===t})).text;return this.$t(a)},setupVideoPlayer:function(){var t=this;if(window.onYouTubeIframeAPIReady=function(){new YT.Player("videoPlayer",{events:{onStateChange:t.onPlayerStateChange}})},window.YT)window.onYouTubeIframeAPIReady();else{var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)}},onPlayerStateChange:function(t){t.data===YT.PlayerState.ENDED&&(this.showHelpOverlay=!1)},getGenre:function(t){var e=this.$store.getters["getGenres"+this.$i18n.locale.toUpperCase()];if(void 0!==e)return e.find((function(e){return e.value===t})).text},getPriceCategory:function(t){return Ee.find((function(e){return e.value==t})).text}},created:function(){this.$store.commit("setGenres")}},dm=um,gm=Object(C["a"])(dm,Eh,Ih,!1,null,null,null),pm=gm.exports,vm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,maxDialogWidth:"500",headline:"lang_GENERAL_CAPTION_ERROR",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.getDialogErrorMessage)}})],1),a("v-row",[t.showCsvFileLink?a("v-col",[a("a",{attrs:{href:t.csvFileLink,target:"_blank"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD")))])]):t._e()],1)],1)]},proxy:!0}])})},_m=[],hm=[{text:"lang_AZ_ERROR_CANNOT_DELETE_AZ_ENTRY",value:1},{text:"lang_LABEL_RELEASES_ERROR_CANNOT_CREATE_GVL_FILE",value:"1LR"},{text:"lang_LABEL_RELEASES_ERROR_CANNOT_CREATE_GEMA_TONIS_FILE",value:"2LR"}],mm={name:"ErrorDialog",props:{showCsvFileLink:{default:!0,type:Boolean},useErrorCode:{default:!0,type:Boolean}},data:function(){return{alvqa:"error-dialog"}},components:{BaseDialog:Pt},computed:{showDialog:{get:function(){return this.$store.getters.getShowErrorDialog},set:function(t){this.$store.commit("setShowErrorDialog",t)}},csvFileLink:{get:function(){return this.$store.getters.getErrorDialogCsvLink},set:function(t){this.$store.commit("setErrorDialogCsvLink",t)}},errorMessage:{get:function(){return this.$store.getters.getErrorDialogMessage},set:function(t){this.$store.commit("setErrorDialogMessage",t)}},getDialogErrorMessage:function(){if(this.useErrorCode){var t=this.$store.getters.getErrorMessageCode,e=hm.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""}return this.errorMessage}},methods:{closeDialog:function(){this.showDialog=!1,this.showCsvFileLink&&(this.csvFileLink=""),this.useErrorCode&&this.$store.commit("setErrorMessageCode",null),this.useErrorCode||(this.errorMessage=null)}}},fm=mm,Sm=Object(C["a"])(fm,vm,_m,!1,null,null,null),Em=Sm.exports,Im=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_LABEL_RELEASES_ACTION_OPTION_DELIVER_RELEASE",maxDialogWidth:"1200",maxCardHeight:"1200",close:t.close,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[n("v-container",{attrs:{fluid:""}},[n("v-row",[n("v-col",{attrs:{cols:"2"}},[void 0!==t.releaseDetails.cover&&null!==t.releaseDetails.cover?n("v-img",{attrs:{src:t.releaseDetails.cover,width:"130px",alvqa:t.alvqa+"-cover"}}):n("v-img",{attrs:{src:a("ee19"),width:"120px",alvqa:t.alvqa+"-cover"}})],1),n("v-col",{attrs:{cols:"6"}},[n("v-row",[n("v-col",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-name"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_TITLE")))]),n("div",{attrs:{alvqa:t.alvqa+"-name"}},[t._v("\n                                "+t._s(t.releaseDetails.name)+"\n                            ")])])],1),n("v-row",[n("v-col",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-"+t.releaseDetails.alvId+"-caption-performer"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_CAPTION_DISPLAY_ARTIST")))]),n("div",{attrs:{alvqa:t.alvqa+"-performer"}},[t._v("\n                                "+t._s(t.$alvPlugin.getArtistOrPerformerName(t.releaseDetails.displayArtist))+"\n                            ")])])],1),n("v-row",[n("v-col",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-"+t.releaseDetails.alvId+"-caption-other-contributors"}},[t._v(t._s(t.$t("lang_LABEL_RELEASE_CAPTION_OTHER_CONTRIBUTORS"))+"\n                            ")]),n("div",{attrs:{alvqa:t.alvqa+"-other-contributors"}},[t._v("\n                                "+t._s(t.getOtherContributors(t.releaseDetails.artists))+"\n                            ")])])],1)],1),n("v-col",[""!==t.releaseDetails.ean&&null!==t.releaseDetails.ean?n("v-row",[n("v-col",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-"+t.releaseDetails.alvId+"-caption-ean-upc"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC")))]),n("div",{attrs:{alvqa:t.alvqa+"-ean-upc"}},[t._v("\n                                "+t._s(t.releaseDetails.ean)+"\n                            ")])])],1):t._e(),""!==t.releaseDetails.dateDigital&&null!==t.releaseDetails.dateDigital?n("v-row",[n("v-col",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-"+t.releaseDetails.alvId+"-caption-digital-release-date"}},[t._v(t._s(t.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL")))]),n("div",{attrs:{alvqa:t.alvqa+"-digital-release-date"}},[t._v("\n                                "+t._s(t.getFormattedDate(t.releaseDetails.dateDigital))+"\n                            ")])])],1):t._e()],1),n("v-col",[n("v-row",[t.releaseValidationInProgress||null===t.xmlValidationErrorPath?t._e():n("v-col",[n("div",{staticClass:"read-only-caption error--text",attrs:{alvqa:t.alvqa+"-caption-xml-file"}},[t._v("\n                                "+t._s(t.$t("lang_GENERIC_MESSAGE_ERROR_XML_VALIDATION_FAILED"))+"\n                            ")]),n("div",{attrs:{alvqa:t.alvqa+"-xml-file"}},[n("a",{attrs:{href:t.xmlValidationErrorPath,target:"_blank"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD")))])])])],1)],1)],1),n("v-row",[n("v-col",{attrs:{cols:"9"}},[n("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.trackHeaders,items:t.tracks,"hide-default-footer":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,page:t.currentPage},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([t._l(t.trackHeaders,(function(e,a){return{key:"header."+e.value,fn:function(){return[n("span",{key:a,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var a=e.item;return[n("div",{staticClass:"ellipsis"},[n("BaseTooltip",{attrs:{simpleText:t.getTitle(a),alvqa:t.alvqa+"-list-row-"+a.id+"-text-track-title"}})],1)]}},{key:"item.isrc",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-"+a.alvId+"-text-isrc"}},[t._v("\n                                "+t._s(a.isrc)+"\n                            ")])]}},{key:"item.performer",fn:function(e){var a=e.item;return[n("div",{staticClass:"ellipsis"},[n("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getArtistOrPerformerName(a.displayArtist),alvqa:t.alvqa+"-list-row-"+a.id+"-text-display-artist"}})],1)]}},{key:"item.duration",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-"+a.alvId+"-text-duration"}},[t._v("\n                                "+t._s(t.$alvPlugin.transformSecondsToDuration(a.duration))+"\n                            ")])]}}],null,!0)}),n("div",[t.pages()>1?n("v-pagination",{attrs:{"total-visible":"10",length:t.pages(),color:"pagination"},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()],1)],1),n("v-col",[n("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.platformHeaders,items:t.getPlatformItems(t.releaseDetails.digitalDistributionStatus),"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.platformHeaders,(function(e,a){return{key:"header."+e.value,fn:function(){return[n("span",{key:a,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.platform",fn:function(e){var i=e.item;return[n("v-img",{attrs:{src:a("7f37")("./"+i.platformId.toLowerCase()+"-22px.png"),contain:"",height:"18px",position:"left",alvqa:t.alvqa+"-"+i.alvId+"-platform"}})]}}],null,!0)})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[n("v-container",{attrs:{fluid:""}},[t.releaseValidationInProgress?n("v-row",[n("v-spacer"),n("v-col",{staticClass:"text-right mt-2",attrs:{cols:"3"}},[t._v("\n                        "+t._s(t.$t("lang_LABEL_RELEASES_DELIVER_RELEASE_DIALOG_VALIDATION_METADATA"))+"\n                    ")]),n("v-col",{attrs:{cols:"2","align-self":"center"}},[n("v-progress-linear",{attrs:{color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-process-progressbar-validation"}})],1)],1):t._e(),t.releaseValidationInProgress||!t.showDeliverReleaseButton||t.showMainProgressbar?t._e():n("v-row",{attrs:{align:"center"}},[n("v-spacer"),n("v-col",{staticClass:"text-right pr-0",attrs:{cols:"6"}},[null==t.xmlValidationErrorPath?n("span",[t._v("\n                            "+t._s(t.$t("lang_GENERAL_CAPTION_DOWNLOAD_FILE"))+"\n                        ")]):t._e(),n("span",[null==t.xmlValidationErrorPath?n("BaseIcon",{staticStyle:{"vertical-align":"middle"},attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-file-distribution"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.xmlPath)}}}):t._e()],1),null==t.xmlValidationErrorPath?n("span",{staticClass:"px-1"},[t._v("|")]):t._e(),t._v("\n                        "+t._s(t.$t("lang_LABEL_RELEASES_DELIVER_RELEASE_DIALOG_FOR_DELIVERY_CLICK_HERE"))+"\n                        ")]),n("v-col",{staticClass:"text-right pl-0",attrs:{cols:"2"}},[n("BaseButton",{attrs:{disabled:null===t.xmlPath,icon:"cloud_upload",label:"lang_LABEL_RELEASES_BUTTON_CAPTION_DELIVER",alvqa:t.alvqa+"-button-upload"},on:{click:function(e){return t.deliverRelease()}}})],1)],1),t.showMainProgressbar?n("v-row",[n("v-spacer"),n("v-col",{attrs:{cols:"5","align-self":"center"}},[n("v-progress-linear",{attrs:{color:"dialogProgressbar",alvqa:t.alvqa+"-process-progressbar"},model:{value:t.mainProcessValue,callback:function(e){t.mainProcessValue=e},expression:"mainProcessValue"}})],1)],1):t._e(),t.showDeliverySuccessfullMessage?n("v-row",[n("v-spacer"),n("v-col",{staticClass:"text-right mt-2",attrs:{cols:"5"}},[t._v("\n                        "+t._s(t.$t("lang_LABEL_RELEASES_DELIVER_RELEASE_DIALOG_DELIVERY_SUCCESSFULL"))+"\n                    ")])],1):t._e()],1)]},proxy:!0}])})},Cm=[],Am={name:"LabelReleasesDeliveryDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseTooltip:T,BaseIcon:N},data:function(){return{alvqa:"label-releases-list-dialog-deliver-release",showProcessProgressbar:!0,polling:null,mainProcessValue:0,showDeliverReleaseButton:!0,showMainProgressbar:!1,showDeliverySuccessfullMessage:!1,currentPage:1,itemsPerPage:100}},computed:{tracks:function(){var t=[];for(var e in this.releaseDetails.tracksOnRelease)this.releaseDetails.tracksOnRelease[e].forEach((function(e){t.push(e)}));return t},showDialog:{get:function(){return this.$store.getters.getShowReleaseDeliveryDialog},set:function(t){this.$store.commit("setShowReleaseDeliveryDialog",t)}},xmlPath:{get:function(){return this.$store.getters.getXmlFilePath},set:function(t){this.$store.commit("setXmlFilePath",t)}},xmlValidationErrorPath:{get:function(){return this.$store.getters.getXmlValidationErrorPath},set:function(t){this.$store.commit("setXmlValidationErrorPath",t)}},releaseValidationInProgress:{get:function(){return this.$store.getters.getReleaseValidationInProgress},set:function(t){this.$store.commit("setReleaseValidationInProgress",t)}},releaseDetails:function(){return this.$store.getters.getReleaseDeliveryDialogDetails},selectedReleasesDetails:function(){var t=this,e=this.$store.getters.getSelectedLabelReleases,a=[];return e.forEach((function(e){var n=t.$store.getters.getLabelReleases.find((function(t){return t.alvId===e}));a.push(n)})),a},trackHeaders:function(){return[{text:this.$t("lang_LABEL_TRACKS"),value:"title",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-tracks"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ISRC"),value:"isrc",align:"left",sortable:!1,class:"text-no-wrap",width:"160px",alvqa:this.alvqa+"-header-isrc"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DISPLAY_ARTIST"),value:"performer",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-display-artist"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DURATION"),value:"duration",align:"right",sortable:!1,width:"90px",class:"text-no-wrap",alvqa:this.alvqa+"-header-duration"}]},platformHeaders:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_PLATFORM"),value:"platform",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-platform"}]}},methods:{pages:function(){return 0===this.tracks.length?0:Math.ceil(this.tracks.length/this.itemsPerPage)},close:function(){this.showDialog=!1,this.xmlPath=null,this.xmlValidationErrorPath=null,this.releaseValidationInProgress=!0,this.showDeliverReleaseButton=!0,this.showMainProgressbar=!1,this.showDeliverySuccessfullMessage=!1,this.$store.commit("setReleaseDeliveryDialogDetails",{}),this.$store.commit("setSelectedLabelReleases",[]),this.$store.commit("setIsAllSelectedLabelReleases",!1),this.$store.commit("setSelectedLabelReleasesAction",[]),this.$store.commit("setMainPercentageProgressbarReleaseDelivery",0)},deliverRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i,s=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.showMainProgressbar=!0,e={action:"deliverRelease"},a={releaseIds:this.$store.getters.getSelectedLabelReleases},t.next=5,k$.triggerAction("label/releases",a,e);case 5:if(n=t.sent,-1!==n.error){t.next=11;break}return t.next=9,this.processDeliverRelease(n);case 9:i=t.sent,"running"===i.status&&(this.polling=setInterval((function(){s.processDeliverRelease(n)}),3e3),setTimeout((function(){clearInterval(s.polling)}),18e5));case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),processDeliverRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k$.getProgressOfProcess(e.response.processId,this.polling).then((function(t){return t}));case 2:return a=t.sent,this.mainProcessValue=a.percent,"finished"===a.status&&(-1==a.error?(this.showDeliverReleaseButton=!1,this.showMainProgressbar=!1,this.showDeliverySuccessfullMessage=!0,clearInterval(this.polling)):(this.showDeliverReleaseButton=!1,this.showMainProgressbar=!1,n=this.$t(a.errorMsg),this.$store.commit("setSnackbar",{type:"error",msg:n}))),t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getFormattedDate:function(t){return null===t||void 0===t||""===t?"":this.$d(new Date(t),"alvDateFormat")},getPlatformItems:function(t){if(null===t||void 0===t)return[];var e=JSON.parse(JSON.stringify(t)),a=[];return e.forEach((function(t){"yes"===t.selected&&a.push(t)})),a},getTitle:function(t){var e=t.title;return null!==t.version&&(e+=" ("+t.version+")"),e},getOtherContributors:function(t){var e=this,a=[];return null===t||void 0===t?"":(t.forEach((function(t){a.push(t.artist.name+" ("+e.getRole(t.role)+")")})),a.join(", "))},getRole:function(t){var e=Ne;if(void 0!==e)return e.find((function(e){return e.value===t})).text},downloadFile:function(t){null!==t&&(k$.getFileFromALV(t),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}))}}},Tm=Am,bm=(a("d9cd"),Object(C["a"])(Tm,Im,Cm,!1,null,null,null)),Pm=bm.exports,Dm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"Release Validation Errors",close:t.close,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",[a("v-row",[a("v-col",[t._v("\n                    Validation Errors:\n                    ")])],1)],1)]},proxy:!0}])})},Nm=[],Rm={name:"LabelReleasesValidationErrorDialog",components:{BaseDialog:Pt},data:function(){return{alvqa:"label-releases-list-dialog-validation-errors"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowLabelReleaseValidationErrorDialog},set:function(t){this.$store.commit("setShowLabelReleaseValidationErrorDialog",t)}}},methods:{close:function(){this.showDialog=!1}}},xm=Rm,Om=Object(C["a"])(xm,Dm,Nm,!1,null,null,null),wm=Om.exports,Lm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showImageUploadOnlyDialog,maxDialogWidth:"600",maxCardHeight:"600",headline:"lang_LABEL_RELEASES_UPLOAD_COVER_IMAGE",close:t.closeDialog,persistent:"",alvqa:t.alvContext+"-"+t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"mb-3"},[a("v-col",{attrs:{alvqa:t.alvContext+"-"+t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1)],1)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-form",[a("v-row",[a("v-col",{attrs:{cols:"8"}},[a("v-file-input",{ref:"coverUploader",attrs:{label:t.$t("lang_GENERAL_CAPTION_SELECT_FILE"),accept:"image/jpeg","show-size":"",rules:[function(e){return!e||t.validFile||t.$t("lang_LABEL_RELEASES_COVER_IMAGE_WARNING_WRONG_FILE_TYPE")}],alvqa:t.alvContext+"-"+t.alvqa+"-file-input-import-file"},on:{change:function(e){t.fileExt=t.$alvPlugin.extractFileExt(t.file)},"click:clear":function(e){return t.resetVal()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.validFile||!t.file||t.disableButton,label:"lang_GENERAL_BUTTON_SAVE",alvqa:t.alvContext+"-"+t.alvqa+"-button-upload"},on:{click:t.submitFile}})],1)],1)],1)],1)],1)]},proxy:!0}])})},ym=[],qm={name:"LabelReleasesCoverImageUploadDialog",components:{BaseDialog:Pt,BaseButton:wt},props:{context:{type:String,default:""},alvContext:{type:String,default:""}},data:function(){return{formData:new FormData,file:null,fileExt:"",valid:!1,alvqa:"label-releases-cover-image-upload-dialog",errors:[],disableButton:!1}},computed:{showImageUploadOnlyDialog:{get:function(){return this.$store.getters.getShowImageUploadOnlyDialog},set:function(t){this.$store.commit("setShowImageUploadOnlyDialog",t)}},validFile:function(){return null!==this.file&&("image/jpeg"===this.file.type?this.valid=!0:this.valid=!1),this.valid},dialogText:function(){var t=this.$t("lang_LABEL_RELEASES_UPLOAD_COVER_IMAGE_DIALOG_TEXT")+"<br />";return t+this.$t("lang_LABEL_RELEASES_UPLOAD_COVER_IMAGE_JPG_TYPE")}},methods:{closeDialog:function(){this.showImageUploadOnlyDialog=!1,this.file=null,this.formData=new FormData,this.valid=!1,this.disableButton=!1},submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.disableButton=!0,e=this.$store.getters.getLabelReleasesDetails.alvId,a="images/"+e,n=this.$refs.coverUploader._data.initialValue.type,"image/jpeg"!==n){t.next=13;break}return this.formData.append("file",this.file),t.next=8,k$.putFile(a,this.formData);case 8:i=t.sent,this.$store.commit("setLabelReleasesImageUrl",i.response.path),this.$store.commit("setExpandedLabelReleases",[]),this.closeDialog(),this.$store.dispatch("fetchLabelReleases");case 13:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},km=qm,Bm=Object(C["a"])(km,Lm,ym,!1,null,null,null),$m=Bm.exports,Gm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_GENERIC_CAPTION_EXPORT",close:t.closeDialog,persistent:"",maxDialogWidth:"500",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[t._v("\n                    "+t._s(t.$t("lang_LABEL_RELEASES_EXPORT_ACTION_DIALOG_TEXT_WITH_METADATA"))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_YES",alvqa:t.alvqa+"-button-yes"},on:{click:function(e){return t.doExport(!0)}}})],1),a("v-col",{staticClass:"text-right",attrs:{cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_NO",alvqa:t.alvqa+"-button-no"},on:{click:function(e){return t.doExport()}}})],1)],1)],1)]},proxy:!0}])})},Fm=[],Um={name:"LabelReleasesExportDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{alvqa:"label-releases-list-dialog-export"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowLabelReleasesExportDialog},set:function(t){this.$store.commit("setShowLabelReleasesExportDialog",t)}},isAllSelected:{get:function(){return this.$store.getters.getLabelReleasesExportAll},set:function(t){this.$store.commit("setLabelReleasesExportAll",t)}}},methods:{closeDialog:function(){this.showDialog=!1,this.isAllSelected=!1},doExport:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&this.$store.commit("setLabelReleasesExportWithTracks",!0),this.isAllSelected?this.$store.dispatch("exportAllLabelReleases"):this.$store.dispatch("exportSelectedLabelReleases"),this.closeDialog()}}},Mm=Um,Wm=Object(C["a"])(Mm,Gm,Fm,!1,null,null,null),jm=Wm.exports,zm=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"testCalculation",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:t.$t("lang_GENERIC_CAPTION_TEST_CALCULATION"),close:t.closeDialog,maxDialogWidth:"1500",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-3 headline"},[t._v("\n                    "+t._s(t.getReleaseName())+"\n                ")]),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Licenses",items:t.licensesItems,label:t.$t("lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-licenses"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SalesType",items:t.salesTypeItems,label:t.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-sales-type"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countryItems,label:t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_ORIGINATING_COUNTRY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Net",label:t.$t("lang_GENERIC_LABEL_CAPTION_NET"),withMargin:!1,rules:t.dynamicRules("net","amount"),alvqa:t.alvqa+"-textfield-net"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Quantity",label:t.$t("lang_GENERIC_CAPTION_QUANTITY"),withMargin:!1,rules:t.dynamicRules("quantity","amount"),alvqa:t.alvqa+"-textfield-quantity"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ppd",label:t.$t("lang_GENERIC_LABEL_CAPTION_PPD"),withMargin:!1,rules:t.dynamicRules("ppd","amount"),alvqa:t.alvqa+"-textfield-ppd"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Isrc",label:t.$t("lang_GENERAL_CAPTION_ISRC"),withMargin:!1,alvqa:t.alvqa+"-textfield-isrc"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Msp",label:t.$t("lang_GENERIC_LABEL_CAPTION_MSP"),withMargin:!1,rules:t.dynamicRules("msp","amount"),alvqa:t.alvqa+"-textfield-msp"}})],1)],1),a("v-divider"),null!==t.errorMessage?a("v-row",{staticClass:"pt-3"},[a("v-col",[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),t._v("\n                        "+t._s(t.$t(t.errorMessage))+"\n                        "+t._s(t.errorMessage.split("_").pop())+"\n                    ")],1)],1):t._e(),t._l(t.result,(function(e,n){return a("v-row",{key:"row_"+n,staticClass:"pt-3"},[a("v-col",[t._l(n.split("#"),(function(e,n){return a("v-chip",{key:n,staticClass:"mr-1",attrs:{label:"",color:"resultHeadlineBackground","text-color":"resultHeadlineText",alvqa:t.alvqa+"-result-list-chip-type-of-right-"+e.toLowerCase().replace(/\s+/g,"-")}},[t._v(t._s(t.$t(e)))])})),a("v-row",[a("v-col",[e&&e.length&&-1===e[0].error?a("v-data-table",{attrs:{headers:t.resultHeaders,items:e,"hide-default-footer":"","disable-sort":"",dense:"","items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"item",fn:function(e){var i=e.item,s=e.index;return[a("tr",[a("td",[a("v-chip",{attrs:{small:"",label:"",color:"excelLineChip","text-color":"excelLineText",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-excel"}},[a("span",{staticClass:"mr-2 ml-1"},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_EXCEL")))])])],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-statement-for"}},[a("BaseTooltip",{attrs:{simpleText:i.name}})],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-original-amount"}},[t._v("\n                                              "+t._s(t.$alvPlugin.getNumberLocalization(i.originalAmount,"number"))+"\n                                            ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-base-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.basePercent,"number"))+"\n                                            ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-percent"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.sharePercent,"number"))+"\n                                            ")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-share-amount"}},[t._v(" "+t._s(t.$alvPlugin.getNumberLocalization(i.shareAmount,"number"))+"\n                                            ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-contract-alv-id"}},[t._v("\n                                            "+t._s(i.contractAlvId))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-result-list-"+n.toLowerCase().replace(/\s+/g,"-")+"-row-"+(s+1)+"-text-contract-type"}},[t._v("\n                                            "+t._s(t.$t(i.contractType)))])]),void 0!==i.rowInfo?[a("tr",{staticClass:"pt-3"},[a("td"),a("td",{attrs:{colspan:"8",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-contract-line"}},[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"contractLineChip",alvqa:t.alvqa+"result-list-row-"+n.toLowerCase().replace(/\s+/g,"-")+"-chip-contract"}},[t._v("\n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_SINGLE_TEST_CONTRACT_ROW_CAPTION")))]),t._v(" \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_SALES_TYPE"))+": "+t._s(t.$t(i.rowInfo.salesType))+" | \n                                                    "+t._s(t.$t("lang_GENERIC_LABEL_DROPDOWN_SALES_TYPE_LICENSE"))+": "+t._s(t.$t(i.rowInfo.license))+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE"))+": "+t._s(""!==i.rowInfo.contractShare?t.$n(i.rowInfo.contractShare,"number")+" % ":"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE"))+": "+t._s(""!==i.rowInfo.contractBase?t.$n(i.rowInfo.contractBase,"number")+" % ":"--")+" | \n                                                    "+t._s(t.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_REGION"))+": "+t._s(i.rowInfo.contractRegion)+" | \n                                                    "+t._s(t.$t("lang_GENERIC_CAPTION_CATEGORY"))+": "+t._s(i.rowInfo.contractCategory)+"\n                                            ")],1)])]:t._e()]}}],null,!0)}):1===e.error?a("div",{staticClass:"pt-3"},[a("v-chip",{staticClass:"mr-6",attrs:{small:"",label:"",color:"errorLineChip","text-color":"errorLineText",alvqa:t.alvqa+"-result-chip-error"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_ERROR")))]),a("span",{attrs:{alvqa:t.alvqa+"-result-error-text"}},[t._v("\n                                        "+t._s(e[0].rowInfo.error)+"\n                                    ")])],1):t._e()],1)],1)],2)],1)}))],2)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:t.disableCalculateButton,label:"lang_GENERAL_CAPTION_CALCULATE",alvqa:t.alvqa+"-button-calculate"},on:{click:function(e){return n(t.calculate)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},Hm=[],Vm={name:"TestCalculationReleaseDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageAutocomplete:Zs,BaseTooltip:T},data:function(){return{context:"TestCalculationRelease",alvqa:"label-release-dialog-test-calculation",disableCalculateButton:!1}},computed:{itemsPerPage:function(){return this.$store.getters.getItemsPerPage},licensesItems:function(){var t,e=this,a=Ba;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-licenses-"+t.value}))),t},salesTypeItems:function(){var t,e=this,a=$a;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-sales-type-"+t.value}))),t},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},result:{get:function(){return this.$store.getters.getLabelReleaseTestCalculationResult},set:function(t){this.$store.commit("setLabelReleaseTestCalculationResult",t)}},errorMessage:{get:function(){return this.$store.getters.getLabelReleaseTestCalculationErrorMessage},set:function(t){this.$store.commit("setLabelReleaseTestCalculationErrorMessage",t)}},showDialog:{get:function(){return this.$store.getters.getLabelTestReleasesDialog},set:function(t){this.$store.commit("setLabelTestReleasesDialog",t)}},resultHeaders:function(){return[{text:"",value:"contractLine",align:"center",width:"95px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_STATEMENT_FOR"),value:"name",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,value:"originalAmount",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_BASE")+" %",value:"basePercent",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" %",value:"sharePercent ",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_WORKS_DIALOG_CAPTION_SHARE")+" "+this.$store.getters.getSelectedCurrency,value:"shareAmount",align:"right",width:"140px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABELCONTRACT_PLACEHOLDER"),value:"contractAlvId",align:"left",width:"200px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"contractType",align:"left",width:"140px",sortable:!1,class:"text-no-wrap"}]}},methods:{dynamicRules:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.$store.getters.getTestCalculationReleaseDetailsLicenses;return"net"===a&&"net"==t||"stck"===a&&"quantity"==t||"ppd"===a&&"ppd"==t||"msp"===a&&"msp"==t?e?"".concat(e,"|required"):"required":e},closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedLabelReleasesAction",[]),this.$store.commit("setSelectedLabelReleases",[]),this.$store.commit("setIsAllSelectedLabelReleases",!1),this.result=[],this.errorMessage=null},calculate:function(){var t=this;this.result=[],this.errorMessage=null,this.disableCalculateButton=!0,this.$store.dispatch("calculateLabelReleaseTestCalculation").then((function(){t.disableCalculateButton=!1}))},getReleaseName:function(){var t=this.$store.getters.getSelectedLabelReleases,e=this.$store.getters.getLabelReleases,a="",n=e.find((function(e){return e.alvId===t[0]}));return void 0!==n&&(a+="".concat(n.title," (").concat(n.alvId,")")),a}},created:function(){this.$store.commit("setCountries")}},Ym=Vm,Km=Object(C["a"])(Ym,zm,Hm,!1,null,null,null),Zm=Km.exports;function Xm(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Jm(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Xm(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Xm(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var Qm={name:"ReleasesList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,ExpandIcon:is,BaseIcon:N,ReleasesTopSlot:Sh,LabelReleaseReadOnly:pm,DropdownFilter:us,FileImportDialog:Ns,DeletionDialog:Cs,SelectionRequiredDialog:hs,ManageTagsDialog:Fs,LabelReleasesDeliveryDialog:Pm,LabelReleasesValidationErrorDialog:wm,LabelReleasesCoverImageUploadDialog:$m,ErrorDialog:Em,LabelReleasesExportDialog:jm,LabelTestReleasesDialog:Zm},data:function(){return{context:"LabelReleases",alvqa:"label-releases"}},computed:Jm({},Object(u["c"])(["getLabelReleasesSearch","getSelectedLabelReleasesLabelsFilter"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"cover",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_TITLE"),value:"title",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_TRACKS"),value:"tracks",align:"right",sortable:!1,width:"80px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_DISPLAY_ARTIST"),value:"displayArtist",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC"),value:"ean",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_CATALOGUE_NUMBER"),value:"catalogueNumber",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_PHYSICAL"),value:"dateRetail",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),value:"dateDigital",align:"left",sortable:!0,class:"text-no-wrap"},{text:"",value:"uploadPicture",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},qualityItems:function(){return[{text:this.$t("lang_LABEL_TRACKS_DROPDOWN_QA_FILTER_NO_ARTIST_AZ"),value:"noArtistAz",alvqa:this.alvqa+"-list-dropdown-quality-no-artist-az"},{text:this.$t("lang_LABEL_RELEASES_QA_FILTER_OPTION_NO_CONTRACT"),value:"noContracts",alvqa:this.alvqa+"-list-dropdown-quality-no-contracts"}]},labelsItems:function(){var t=this,e=[],a=[],n=this.$store.getters.getSelectedLabelCompanyId;return n&&"object"===Object(Rl["a"])(n)&&n.constructor===Object&&(n=n.id),this.$store.getters.getLabelCompanies.forEach((function(t){null!=t.labels&&t.id==n&&(e=e.concat(t.labels))})),e.forEach((function(e){a.push({value:parseInt(e.id),text:e.name_alv+" ("+e.alvId+")",alvqa:t.alvqa+"-list-dropdown-label-"+parseInt(e.id)})})),void 0!==a&&0!==a.length&&1!==a.error||(a=[]),a.sort(this.sortLabelItemsList)},releaseDistributionStatusItems:function(){return ya},yearsOptions:function(){for(var t=[],e=(new Date).getFullYear()+1,a=e;a>=2008;a--)t.push({text:a.toString(),value:a,alvqa:this.alvqa+"-dropdown-period-selector-years-"+a});return t}}),methods:{showImageUploadDialog:function(t){this.$store.commit("setShowImageUploadOnlyDialog",!0),this.$store.commit("setLabelReleasesDetails",t)},sortLabelItemsList:function(t,e){return t.text<e.text?-1:t.text>e.text?1:0}},created:function(){this.$store.commit("setSelectedLabelReleasesLabelsFilter",[])}},tf=Qm,ef=Object(C["a"])(tf,gh,ph,!1,null,null,null),af=ef.exports,nf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/label/releases",defaultOpenPanelsArray:[]},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n        "+t._s(n.name?n.name:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n        ")])]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("v-col",[n.cover?a("v-img",{attrs:{src:n.cover,"aspect-ratio":"1"}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}},[t._v("                                \n                            "+t._s(t.$t("lang_LABEL_RELEASES"))+"\n                        ")])],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_TITLE"),context:t.context,field:"ReleaseTitle",rules:"required",alvqa:t.alvqa+"-textfield-release-title"}})],1),a("v-row",[a("v-col",{staticClass:"pa-0 ma-0",attrs:{cols:"10"}},[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getAzName,label:t.$t("lang_LABEL_RELEASES_CAPTION_ARTIST"),alvqa:t.alvqa+"-textfield-interpret",rules:"isReleaseArtistObject",iconTooltipText:t.$t("lang_LABEL_CAPTION_TOOLTIP_ARTIST_TYPE")+(n.performer&&n.performer.alvId?" ["+n.performer.alvId+"]":"")}})],1),a("v-col",{staticClass:"justify-end d-flex ml-0 pl-0",attrs:{cols:"2"}},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-edit-interpret-connection",icon:t.isArtistConnected?"delete":"edit",tooltipText:t.isArtistConnected?"lang_GENERIC_CAPTION_DELETE":"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return t.editConnectedArtist()}}})],1)],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_GEMA_TYPE"),items:t.getGemaTypeItems,context:t.context,field:"SelectedGemaTypeId",alvqa:t.alvqa+"-dropdown-gema-types"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_MEDIA_TYPE"),items:t.getMediaTypeItems,context:t.context,rules:"required",field:"SelectedMediaTypeId",alvqa:t.alvqa+"-dropdown-media-types"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_GENRE_1"),items:t.getGenreItems,context:t.context,field:"SelectedGenre1Id",alvqa:t.alvqa+"-dropdown-genres-1"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_GENRE_2"),items:t.getGenreItems,context:t.context,field:"SelectedGenre2Id",alvqa:t.alvqa+"-dropdown-genres-2"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_GENRE_3"),items:t.getGenreItems,context:t.context,field:"SelectedGenre3Id",alvqa:t.alvqa+"-dropdown-genres-3"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_GENERAL_CAPTION_NOTES"),field:"Notes",rows:"3",context:t.context,alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC"),field:"EanUpc",context:t.context,alvqa:t.alvqa+"-textfield-ean"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_CATALOGUE_NUMBER"),field:"CatalogueNumber",context:t.context,alvqa:t.alvqa+"-textfield-catalogue-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_OTHER_ID"),field:"OtherId",context:t.context,alvqa:t.alvqa+"-textfield-other-id"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASE_CAPTION_GRID_NUMBER"),field:"GRidNumber",context:t.context,alvqa:t.alvqa+"-textfield-grid-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASE_GEMA_CATALOGUE_NO"),field:"GemaCatalogueNumber",context:t.context,alvqa:t.alvqa+"-textfield-gema-catalogue-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASE_GEMA_REG_NO"),field:"GemaRegistrationNumber",context:t.context,alvqa:t.alvqa+"-textfield-gema-registration-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_GEMA_LTN_NUMBER"),field:"GemaLtnNumber",context:t.context,alvqa:t.alvqa+"-textfield-gema-ltn-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_C_NOTICE"),field:"CNotice",context:t.context,alvqa:t.alvqa+"-textfield-c-notice"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_P_NOTICE"),field:"PNotice",context:t.context,alvqa:t.alvqa+"-textfield-p-notice"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_TAGS"),field:"Tags",context:t.context,alvqa:t.alvqa+"-textfield-tags"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_MINIMUM_STOCK"),field:"MinimumStock",context:t.context,type:"number",rules:"integer",alvqa:t.alvqa+"-textfield-minimum-stock"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_DISCS"),items:t.getNumberOfDiscsItems,context:t.context,clearable:!1,field:"SelectedNumberOfDiscs",alvqa:t.alvqa+"-dropdown-number-of-discs"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASE_VOLUME"),field:"Volume",context:t.context,alvqa:t.alvqa+"-textfield-volume"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_RELEASE_CAPTION_WEIGHT"),field:"Weight",context:t.context,type:"number",rules:"integer",alvqa:t.alvqa+"-textfield-weight"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_ERP_SHIPPING_CAPTION_HS_CODE"),field:"HsCode",context:t.context,type:"number",rules:"integer",alvqa:t.alvqa+"-textfield-hscode"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"DatePhysical",label:t.$t("lang_LABEL_RELEASES_CAPTION_DATE_PHYSICAL"),alvqa:t.alvqa+"-datepicker-physical-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"DateDigital",label:t.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),alvqa:t.alvqa+"-datepicker-digital-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"DatePrerelease",label:t.$t("lang_LABEL_RELEASES_CAPTION_DATE_PRERELEASE"),alvqa:t.alvqa+"-datepicker-prerelease-date"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Conductor",label:t.$t("lang_LABEL_RELEASES_CAPTION_CONDUCTOR"),alvqa:t.alvqa+"-textfield-conductor"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_MUSICIANS"),field:"Musicians",rows:"3",context:t.context,alvqa:t.alvqa+"-textarea-musicians"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_PRICE_CATEGORY"),items:t.getPriceCatogoryItems,context:t.context,field:"SelectedCategoryId",alvqa:t.alvqa+"-dropdown-price-category"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_GENERIC_CAPTION_PRICELIST"),items:t.getReleasePricelists,context:t.context,field:"SelectedReleasePricelists",alvqa:t.alvqa+"-dropdown-release-pricelists"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_LANGUAGE"),items:t.$alvPlugin.getListOfGenericMusicLanguages("label-releases"),context:t.context,field:"SelectedLanguageId",alvqa:t.alvqa+"-dropdown-languages"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TracksNumber",label:t.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_TRACKS"),disabled:!0,alvqa:t.alvqa+"-textfield-tracks-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CompilationTracks",label:t.$t("lang_LABEL_RELEASES_COMPILATIONS_TRACKS"),alvqa:t.alvqa+"-textfield-compilation-tracks"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_LICENSOR"),items:t.getLicensorsItems,context:t.context,field:"SelectedLicensorId",disabled:!0,alvqa:t.alvqa+"-dropdown-licensors"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_GEMA_TAS"),items:t.getDropdownYesNo,context:t.context,clearable:!1,field:"SelectedGemaTasId",alvqa:t.alvqa+"-dropdown-gema-tas"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_LABEL"),items:t.getLabelsItems,clearable:!1,context:t.context,rules:"required",field:"SelectedLabelId",alvqa:t.alvqa+"-dropdown-label-company"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Favourite",items:t.getDropdownYesNo,label:t.$t("lang_GENERAL_FAVOURITE"),alvqa:t.alvqa+"dropdown-favourite",clearable:!1}})],1)],1)]}},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("ConnectArtistToReleaseDialog"),a("ReleasesTracksEditPanel"),a("SearchDialog",{attrs:{context:"LabelReleases",subcontext:"Tracks",searchcontext:"LabelReleaseTrack",addcontext:"TracksToRelease",addButtonLabel:"lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_BUTTON_ADD_TRACKS",dialogTitle:"lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TITLE",uniqueIdRequired:!0,alvqaContext:t.alvqa},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n                "+t._s(a.title)+" "+t._s(a.isrc?"("+a.isrc+")":"")+"\n            ")]}},{key:"itemSubtitle",fn:function(e){var n=e.item;return[a("span",[t._v(t._s(t.$alvPlugin.getArtistOrPerformerName(n.artist)))])]}}])}),a("ReleasesArtistsEditPanel"),a("ReleasesArtistsEditPanelDialog"),a("ReleasePromotionalTextsEditPanel"),a("ReleasePromotionalTextsEditPanelDialog"),a("ReleasesCostsEditPanel"),a("ReleasesCostsEditPanelDialog"),a("LabelReleasesCostsplittingDialog"),a("ReleasesBudgetEditPanel"),a("ReleasesBudgetEditPanelDialog"),a("ReleaseDigitalDistributionEditPanel"),a("ReleaseDigitalDistributionEditPanelDialog")]},proxy:!0}])})},sf=[],rf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_CAPTION_CONTRIBUTORS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","items-per-page":1e3,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.artist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-artist"}},[t._v("\n                    "+t._s(t.$alvPlugin.getArtistOrPerformerName(n.artist))+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-role"}},[t._v("\n                    "+t._s(t.getRole(n.role))+"\n                ")])]}},{key:"item.primary",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-primary"}},[t._v("\n                    "+t._s(t.getYesOrNo(n.primary))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},lf=[],of={name:"ReleasesArtistsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"label-releases-edit-form-panel-artists"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_NAME"),align:"left",value:"artist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:this.$t("lang_LABEL_RELEASES_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),align:"left",value:"primary",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-primary"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getReleasesArtists}},methods:{addNewRow:function(){this.$store.commit("setReleasesArtistsArtistOptions",[]),this.$store.commit("setReleasesArtistsDetailsPrimary","no"),this.$store.commit("setShowReleasesArtistsEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultReleasesArtists));this.$store.commit("setReleasesArtistsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedReleasesArtists",t),this.$store.commit("setDeletionDialogContext","SelectedReleasesArtists"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedReleasesArtists",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setReleasesArtistsEditingDialogDetails",e),this.$store.commit("setReleasesArtistsArtistOptions",[t.artist]),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowReleasesArtistsEditingDialog",!0)},getRole:function(t){var e=Ne;if(void 0!==e){var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:""}return""},getYesOrNo:function(t){null==t&&(t="no");var e=be.find((function(e){return e.value===t})).text;return this.$t(e)}}},cf=of,uf=(a("27b3"),Object(C["a"])(cf,rf,lf,!1,null,null,null)),df=uf.exports,gf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.listItems,loading:t.isLoading,"item-key":"id","show-select":!1,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":600},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pt-3 pb-3"},[a("v-col",{attrs:{cols:"2"}},[a("v-select",{attrs:{items:t.selectedDiscItems,label:t.$t("lang_LABEL_TRACKS_CAPTION_SELECTED_DISC"),"menu-props":"offset-y, offset-overflow",outlined:"","hide-details":"",alvqa:t.alvqa+"-dropdown-selected-disc"},model:{value:t.selectedDisc,callback:function(e){t.selectedDisc=e},expression:"selectedDisc"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_CONTRACT_LABEL_CAPTION_ADD_TRACK",block:"",alvqa:t.alvqa+"-button-add-track"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},{key:"body",fn:function(e){return[0!==e.items.length?a("draggable",{attrs:{list:e.items,tag:"tbody"},on:{change:function(e){return t.onPositionChange(e)}}},t._l(e.items,(function(e,n){return a("tr",{key:e.trackPosition},[a("td",{staticClass:"text-right"},[a("BaseIcon",{attrs:{icon:"fa-arrows-alt",tooltipText:"Drag&Drop",alvqa:t.alvqa+"-icon-drag-drop",small:!0}})],1),a("td",[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n+"-text-track-position"}},[t._v(t._s(e.trackPosition))])]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:e.title,alvqa:t.alvqa+"-list-row-"+n+"-text-title"}})],1),a("td",[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n+"-text-isrc"}},[t._v(t._s(e.isrc))])]),a("td",[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n+"-text-duration"}},[t._v(t._s(t.$alvPlugin.transformSecondsToDuration(e.duration)))])]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getArtistOrPerformerName(e.artist),alvqa:t.alvqa+"-list-row-"+n+"-text-performer"}})],1),a("td",[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n+"-text-gema-name"}},[t._v(t._s(e.label.gemaName))])]),a("td",{staticClass:"pl-0 text-right"},[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-icon-delete"},on:{click:function(a){return t.deleteRow(e)}}})],1)])})),0):a("tbody",[a("tr",{staticClass:"v-data-table__empty-wrapper"},[a("td",{attrs:{colspan:t.headers.length}},[a("div",{attrs:{alvqa:t.alvqa+"-list-no-data-text"}},[t._v(t._s(t.noDataText))])])])])]}}])})]},proxy:!0}])})},pf=[],vf=a("b76a"),_f=a.n(vf),hf={name:"ReleasesTracksEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseTooltip:T,BaseButton:wt,draggable:_f.a},data:function(){return{alvqa:"label-releases-edit-form-panel-tracks"}},computed:{headers:function(){return[{text:"",align:"center",width:"70px",value:"dragIcon",sortable:!1},{text:"Pos",align:"left",width:"80px",value:"trackPosition",sortable:!1},{text:this.$t("lang_CAPTION_TITLE"),align:"left",value:"title",sortable:!1},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ISRC"),align:"left",width:"150px",sortable:!1,value:"isrc"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DURATION"),align:"left",width:"130px",sortable:!1,value:"duration"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ARTIST"),align:"left",value:"artist",sortable:!1},{text:this.$t("lang_LABEL_RELEASE_LABEL"),align:"left",value:"label",sortable:!1},{text:"",align:"right",width:"70px",sortable:!1,value:"delete"}]},listItems:function(){var t=[];if(null!==this.$store.getters.getLabelReleaseTracks){var e=this.$store.getters.getLabelReleaseTracks[this.selectedDisc];t=void 0===e||null===e?[]:e}return t},isLoading:function(){return this.$store.getters.getIsLoading},noDataText:function(){return this.$t(this.$store.getters.getNoDataText)},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},selectedDisc:{get:function(){return this.$store.getters.getLabelReleasesTracksSelectedDisc},set:function(t){this.$store.commit("setLabelReleasesTracksSelectedDisc",t)}},selectedDiscItems:function(){for(var t=[],e=this.$store.getters.getLabelReleasesDetailsSelectedNumberOfDiscs,a=1;a<=e;a++)t.push({text:"Disc "+a,value:a});return t}},methods:{deleteRow:function(t){this.$store.commit("setSelectedLabelReleaseTrack",t.alvId),this.$store.commit("setDeletionDialogContext","SelectedLabelReleaseTrack"),this.$store.commit("setShowDeletionDialog",!0)},addNewRow:function(){this.$store.commit("setShowSearchDialog",!0)},onPositionChange:function(t){var e=this.$store.getters.getLabelReleaseTracks[this.selectedDisc],a=e.findIndex((function(e){return e.alvId===t.moved.element.alvId}));if(e[a].trackPosition=t.moved.newIndex+1,t.moved.newIndex>t.moved.oldIndex){var n=t.moved.oldIndex;for(n;n<=t.moved.newIndex;n++)n!==a&&e[n]["trackPosition"]--}if(t.moved.newIndex<t.moved.oldIndex){var i=t.moved.newIndex;for(i;i<=t.moved.oldIndex;i++)i!==a&&e[i]["trackPosition"]++}e.sort((function(t,e){return t.trackPosition>e.trackPosition?1:e.trackPosition>t.trackPosition?-1:0})),this.$store.commit("setSpecificLabelReleaseTracks",e),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_LABEL_RELEASES_SNACKBAR_POSITION_CHANGED")+"<br />"+this.$t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1})}}},mf=hf,ff=(a("ebc2"),Object(C["a"])(mf,gf,pf,!1,null,null,null)),Sf=ff.exports,Ef=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_PROMOTIONAL_TEXTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.description",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-description"}},[t._v("\n                    "+t._s(n.description)+"\n                ")])]}},{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-type"}},[t._v("\n                    "+t._s(t.$t(t.getType(n.type)))+"\n                ")])]}},{key:"item.language",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-long-language"}},[t._v("\n                    "+t._s(t.$t(t.getLanguage(n.language)))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},If=[],Cf={name:"ReleasePromotionalTextsEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt},data:function(){return{alvqa:"label-releases-edit-form-panel-digital-promotional-texts"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASE_CAPTION_TYPE"),align:"left",value:"type",class:"text-no-wrap",width:"250px",sortable:!1,alvqa:this.alvqa+"-header-type"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_LANGUAGE"),align:"left",value:"language",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-language"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-description"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getReleasesPromotionalTexts}},methods:{addNewRow:function(){this.$store.commit("setShowReleasesPromotionalTextsEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultReleasesPromotionalTexts));this.$store.commit("setReleasesPromotionalTextsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedReleasesPromotionalTexts",t),this.$store.commit("setDeletionDialogContext","SelectedReleasesPromotionalTexts"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedReleasesPromotionalTexts",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setReleasesPromotionalTextsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowReleasesPromotionalTextsEditingDialog",!0)},getLanguage:function(t){var e=this.$store.getters.getGeneralLanguages;if(void 0!==e)return e.find((function(e){return e.value===t})).text},getType:function(t){var e=La.find((function(e){return e.value===t}));if(void 0!==e)return e.text}}},Af=Cf,Tf=(a("df37"),Object(C["a"])(Af,Ef,If,!1,null,null,null)),bf=Tf.exports,Pf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_DIGITAL_DISTRIBUTION",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[n("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([{key:"header.data-table-select",fn:function(e){var a=e.on,i=e.props;return[n("v-simple-checkbox",t._g(t._b({attrs:{color:"generalCheckbox",alvqa:t.alvqa+"-list-checkbox-all-select","indeterminate-icon":"check_box_outline_blank"}},"v-simple-checkbox",i,!1),a))]}},t._l(t.headers,(function(e,a){return{key:"header."+e.value,fn:function(){return[n("span",{key:a,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.logo",fn:function(e){var i=e.item;return[n("v-img",{attrs:{src:a("7f37")("./"+i.platformId.toLowerCase()+"-22px.png"),contain:"",height:"22px",position:"left",alvqa:t.alvqa+"-list-row-"+i.alvId+"-logo"}})]}},{key:"item.platformCompany",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.alvId+"-platform-company"}},[t._v("\n                    "+t._s(t.getPlatformCompany(a.platformId))+"\n                ")])]}},{key:"item.status",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.alvId+"-status"}},[t._v("\n                    "+t._s(t.getStatus(a.status))+"\n                ")])]}},{key:"item.digitalRelease",fn:function(e){var a=e.item;return[n("div",{attrs:{alvqa:t.alvqa+"-list-row-"+a.alvId+"-digital-release"}},[t._v("\n                    "+t._s(t.getFormattedDate(a.digitalRelease))+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var a=e.item;return["delivered"!==a.status&&"yes"===t.$store.getters.getDigitalDistributionIsBooked?n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(a)}}}):t._e(),"no"===t.$store.getters.getDigitalDistributionIsBooked?n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+a.id+"-icon-info",icon:"info",color:"grey",tooltipText:"lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_TOOLTIP_SWITCHNOW"}}):t._e()]}}],null,!0)})]},proxy:!0}])})},Df=[],Nf={name:"ReleaseDigitalDistributionPanel",components:{BasePanel:vi,BaseIcon:N},data:function(){return{context:"ReleaseDigitalDistribution",alvqa:"label-releases-edit-form-panel-digital-distribution"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_PLATFORM"),align:"left",value:"logo",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-platform-logo"},{text:this.$t("lang_GENERAL_CAPTION_COMPANY"),align:"left",value:"platformCompany",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-platform-company"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_STATUS"),align:"left",value:"status",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-status"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),align:"left",value:"digitalRelease",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-digital-release-date"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},listItems:function(){var t=this.$store.getters.getLabelReleasesDetails.digitalDistributionStatus;if(void 0===t)return[];var e=t.findIndex((function(t){return"qobuz"===t.platformId}));return void 0!==e&&t.splice(e,1),t},selected:{get:function(){return this.$store.getters.getSelectedReleaseDigitalDistributionStatus},set:function(t){this.$store.commit("setSelectedReleaseDigitalDistributionStatus",t)}}},methods:{getPlatformCompany:function(t){var e=this.$store.getters.getDigitalPlatforms;if(void 0!==e)return e.find((function(e){return e.platformId===t})).platformCompany},getFormattedDate:function(t){return null===t||void 0===t?"":this.$d(new Date(t),"alvDateFormat")},getStatus:function(t){return null===t?"":"delivered"===t?this.$t("lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_STATUS_DELIVERED"):"pending"===t?this.$t("lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_STATUS_PENDING"):void 0},editInlineFunction:function(t){this.$store.commit("setSelectedReleaseDigitalDistribution",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setReleaseDigitalDistributionEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowReleaseDigitalDistributionEditingDialog",!0)}}},Rf=Nf,xf=(a("c830"),Object(C["a"])(Rf,Pf,Df,!1,null,null,null)),Of=xf.exports,wf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_COSTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"no-results-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3 pl-4"},[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:"ReleasesFilterCostGroup",label:"lang_LABEL_RELEASES_CAPTION_COST_GROUP",items:t.costGroupItems,alvqa:t.alvqa+"-dropdown-filter-cost-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"2",alvqa:t.alvqa+"-sum"}},[t._v("\n                        "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                        "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n                    ")]),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",icon:"fa-file-excel",alvqa:t.alvqa+"-list-button-export-all"},on:{click:t.exportAllCosts}})],1),a("v-col",{attrs:{cols:"2","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_LABEL_RELEASES_COST_SPLITTING",block:"",alvqa:t.alvqa+"-button-costsplitting"},on:{click:t.openCostsplittingDialog}})],1),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.costGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-cost-group"}},[t._v("\n                    "+t._s(t.getCostGroup(n.costGroup))+"\n                ")])]}},{key:"item.date",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-date"}},[t._v("\n                    "+t._s(null!==n.date?t.$d(new Date(n.date),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.recipient",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getRecipientInfo(n.recipient),alvqa:t.alvqa+"-list-row-text-recipient"}})],1)]}},{key:"item.documentNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-document-number"}},[t._v("\n                    "+t._s(n.documentNumber)+"\n                ")])]}},{key:"item.amount",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-amount"}},[t._v("\n                    "+t._s(t.$n(n.amount,"number"))+"\n                ")])]}},{key:"item.description",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.description,alvqa:t.alvqa+"-list-row-text-description"}})],1)]}},{key:"item.country",fn:function(e){var n=e.item;return[a("div",[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-country"}},[t._v(t._s(n.country))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$alvPlugin.getTranslatedCountryName(n.country)))]},proxy:!0}],null,!0)})],1)]}},{key:"item.paidOn",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-paid-on"}},[t._v("\n                    "+t._s(null!==n.paidOn?t.$d(new Date(n.paidOn),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.billable",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-billable"}},[t._v("\n                    "+t._s("no"===n.billable?t.$t("lang_GENERAL_NO"):n.billable)+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.delete",fn:function(e){var n=e.item;return["no"===n.billable?a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}}):t._e()]}}],null,!0)})]},proxy:!0}])})},Lf=[],yf={name:"ReleasesCostsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T,DropdownFilter:us},data:function(){return{alvqa:"label-releases-edit-form-panel-costs"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_COST_GROUP"),align:"left",value:"costGroup",class:"text-no-wrap",width:"150px",alvqa:this.alvqa+"-header-cost-group",sortable:!1,filter:this.filterCostGroup},{text:this.$t("lang_GENERIC_CAPTION_DATE"),align:"left",value:"date",width:"110px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-date"},{text:this.$t("lang_GENERIC_CAPTION_RECIPIENT"),align:"left",value:"recipient",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-recipient"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-description"},{text:this.$t("lang_GENERIC_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"amount",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-amount"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DOCUMENT_NUMBER"),align:"left",value:"documentNumber",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-document-number"},{text:this.$t("lang_GENERAL_CAPTION_COUNTRY"),value:"country",align:"left",width:"90px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-country"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_PAID_ON"),align:"right",value:"paidOn",width:"110px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-paid-on"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_BILLABLE"),align:"left",value:"billable",class:"text-no-wrap",width:"120px",sortable:!1,alvqa:this.alvqa+"-header-billable"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getReleasesCosts},costGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(Ce));return e.forEach((function(e){e.text=t.$t(e.text)})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},getSumOfDisplayedRows:function(){var t=this,e=this.$store.getters.getReleasesCosts,a=this.$store.getters.getSelectedReleasesFilterCostGroup,n=0;return a?e.forEach((function(e){e.costGroup===a&&(n+=t.$alvPlugin.stringToNumber(e.amount))})):n=e.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.amount)}),0),n}},methods:{getCostGroup:function(t){var e=Ce;if(void 0!==e){var a=e.find((function(e){return e.value===t}));return this.$t(a.text)}return""},getRecipientInfo:function(t){if(null!==t){var e=this.$alvPlugin.printName(t)?"("+t.firstName+" "+t.lastName+")":"";if(!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject){var a=t.inheritFromGroupObject.inv_company_name;return a+" "+e}return null!==t.group&&""!==t.group&&void 0!==t.group?t.group+" "+e:t.gemaName+" "+e}},filterCostGroup:function(t){var e=this.$store.getters.getSelectedReleasesFilterCostGroup;return!e||t===e},exportAllCosts:function(){this.$store.dispatch("exportAllReleasesCosts")},deleteRow:function(t){this.$store.commit("setSelectedReleasesCosts",t),this.$store.commit("setDeletionDialogContext","SelectedReleasesCosts"),this.$store.commit("setShowDeletionDialog",!0)},addNewRow:function(){this.$store.commit("setShowReleasesCostsEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultReleasesCosts));this.$store.commit("setReleasesCostsEditingDialogDetails",t)},editInlineFunction:function(t){this.$store.commit("setSelectedReleasesCosts",t.id);var e=JSON.parse(JSON.stringify(t));e["amount"]=this.$n(e["amount"],"number"),this.$store.commit("setReleasesCostsEditingDialogDetails",e),this.$store.commit("setReleasesCostsRecipientOptions",[t.recipient]),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowReleasesCostsEditingDialog",!0)},openCostsplittingDialog:function(){var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultReleaseCostsplittingDialogDetails));this.$store.commit("setReleaseCostsplittingDialogDetails",t),this.$store.commit("setShowReleaseCostsplittingDialog",!0)}},mounted:function(){this.$store.commit("setCountries")}},qf=yf,kf=Object(C["a"])(qf,wf,Lf,!1,null,null,null),Bf=kf.exports,$f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_CAPTION_BUDGET",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"no-results-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":100},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3 pl-4"},[a("v-col",{attrs:{cols:"3"}},[a("DropdownFilter",{attrs:{context:"ReleasesFilterBudgetGroup",label:"lang_LABEL_RELEASES_CAPTION_BUDGET_GROUP",items:t.budgetGroupItems,alvqa:t.alvqa+"-dropdown-filter-budget-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"2",alvqa:t.alvqa+"-sum"}},[t._v("\n                        "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                        "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+"\n                    ")]),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",icon:"fa-file-excel",alvqa:t.alvqa+"-list-button-export-all"},on:{click:t.exportAllBudget}})],1),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.budgetGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-budget-group"}},[t._v("\n                    "+t._s(t.getBudgetGroup(n.budgetGroup))+"\n                ")])]}},{key:"item.scheduledMonth",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-scheduled-month"}},[t._v("\n                    "+t._s(null!==n.scheduledMonth?t.$d(new Date(n.scheduledMonth),"alvMonthYearFormat"):"")+"\n                ")])]}},{key:"item.description",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-description"}},[t._v("\n                    "+t._s(n.description)+"\n                ")])]}},{key:"item.amount",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-amount"}},[t._v("\n                    "+t._s(t.$n(n.amount,"number"))+"\n                ")])]}},{key:"item.country",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-country"}},[t._v("\n                    "+t._s(t.$alvPlugin.getTranslatedCountryName(n.country))+"\n                ")])]}},{key:"item.quantity",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-quantity"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.quantity,"numberInteger"))+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)})]},proxy:!0}])})},Gf=[],Ff={name:"ReleasesBudgetEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,DropdownFilter:us},data:function(){return{alvqa:"label-releases-edit-form-panel-budget"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_BUDGET_GROUP"),align:"left",value:"budgetGroup",class:"text-no-wrap",alvqa:this.alvqa+"-header-budget-group",sortable:!1,filter:this.filterbudgetGroup},{text:this.$t("lang_LABEL_RELEASES_CAPTION_SCHEDULE_MONTH"),align:"left",value:"scheduledMonth",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-scheduled-month"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-description"},{text:this.$t("lang_GENERIC_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"amount",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-amount"},{text:this.$t("lang_GENERAL_CAPTION_COUNTRY"),value:"country",align:"left",width:"200px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-country"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_QUANTITY"),value:"quantity",align:"right",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-quantity"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getReleasesBudget},budgetGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(qa));return e.forEach((function(e){"income"===e.group&&(e.text=t.$t("lang_GENERIC_CAPTION_INCOME")+": "+t.$t(e.text)),"costs"===e.group&&(e.text=t.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+t.$t(e.text))})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e.unshift({text:this.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+this.$t("lang_GENERAL_CAPTION_ALL"),value:"costsAll",group:"costs",alvqa:"dropdown-budget-group-costs-all"},{text:this.$t("lang_GENERIC_CAPTION_INCOME")+": "+this.$t("lang_GENERAL_CAPTION_ALL"),value:"incomeAll",group:"income",alvqa:"dropdown-budget-group-income-all"},{divider:!0}),e},getSumOfDisplayedRows:function(){var t=this.$store.getters.getReleasesBudget,e=this.$store.getters.getSelectedReleasesFilterBudgetGroup,a=0;if(e)if("costsAll"===e){var n=[];qa.forEach((function(t){"costs"===t.group&&n.push(t.value)})),t.forEach((function(t){n.includes(t.budgetGroup)&&(a+=t.amount)}))}else if("incomeAll"===e){var i=[];qa.forEach((function(t){"income"===t.group&&i.push(t.value)})),t.forEach((function(t){i.includes(t.budgetGroup)&&(a+=t.amount)}))}else t.forEach((function(t){t.budgetGroup===e&&(a+=t.amount)}));else a=t.reduce((function(t,e){return t+e.amount}),0);return a}},methods:{getBudgetGroup:function(t){var e=qa;if(void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0===a?"":"income"===a.group?this.$t("lang_GENERIC_CAPTION_INCOME")+": "+this.$t(a.text):"costs"===a.group?this.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+this.$t(a.text):void 0},filterbudgetGroup:function(t){var e=qa,a=this.$store.getters.getSelectedReleasesFilterBudgetGroup;if(a){if("costsAll"===a){var n=[];return e.forEach((function(t){"costs"===t.group&&n.push(t.value)})),n.includes(t)}if("incomeAll"===a){var i=[];return e.forEach((function(t){"income"===t.group&&i.push(t.value)})),i.includes(t)}return t===a}return!0},exportAllBudget:function(){this.$store.dispatch("exportAllReleasesBudget")},deleteRow:function(t){this.$store.commit("setSelectedReleasesBudget",t),this.$store.commit("setDeletionDialogContext","SelectedReleasesBudget"),this.$store.commit("setShowDeletionDialog",!0)},addNewRow:function(){this.$store.commit("setShowReleasesBudgetEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultReleasesBudget));this.$store.commit("setReleasesBudgetEditingDialogDetails",t)},editInlineFunction:function(t){this.$store.commit("setSelectedReleasesBudget",t.id);var e=JSON.parse(JSON.stringify(t));e["amount"]=this.$n(e["amount"],"number"),this.$store.commit("setReleasesBudgetEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowReleasesBudgetEditingDialog",!0)}},mounted:function(){this.$store.commit("setCountries")}},Uf=Ff,Mf=Object(C["a"])(Uf,$f,Gf,!1,null,null,null),Wf=Mf.exports,jf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",additionalSaveFunction:t.additionalSaveFunction,useAdditionalSaveFunction:!0,useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"DigitalRelease",label:t.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),alvqa:t.alvqa+"-datepicker-digital-release",withMargin:!1}})],1),a("v-col",{staticClass:"mb-3",attrs:{"align-self":"center"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:t.context+"SetForAll",label:t.$t("lang_LABEL_RELEASES_CHECKBOX_CAPTION_SET_FOR_ALL"),hideDetails:"",alvqa:t.alvqa+"-cwr-checkbox-no-ghost"}})],1)],1)]},proxy:!0}])})},zf=[],Hf={name:"ReleaseDigitalDistributionEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDatePicker:$r,BaseCheckbox:Qt},data:function(){return{context:"ReleaseDigitalDistribution",alvqa:"label-releases-edit-form-digital-distribution-panel-editing-dialog"}},methods:{additionalSaveFunction:function(t){var e=t.digitalRelease;return!0===this.$store.getters.getReleaseDigitalDistributionSetForAllCheckbox&&this.$store.getters.getReleaseDigitalDistribution.forEach((function(t){t.digitalRelease=e,null!==e?(t.selected="yes",t.status="pending"):(t.selected="no",t.status=null)})),t.selected=null!==e?"yes":"no",t.status=null!==e?"pending":null,this.$store.commit("setReleaseDigitalDistributionSetForAllCheckbox",!1),t}}},Vf=Hf,Yf=Object(C["a"])(Vf,jf,zf,!1,null,null,null),Kf=Yf.exports,Zf=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Artist",label:t.$t("lang_LABEL_RELEASES_CAPTION_NAME"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-artist-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-artist-selection"}},[t._v("\n                            "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                        ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-artist-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Role",items:t.roleItems,label:t.$t("lang_LABEL_RELEASES_ROLE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-role"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Primary",items:t.yesNoItems,label:t.$t("lang_GENERIC_CAPTION_CHECKBOX_PRIMARY_ARTIST"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-primary"}})],1),a("v-col",{attrs:{cols:"1","align-self":"center"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(" "+t._s(t.$t("lang_GENERIC_CAPTION_ARTISTS_PRIMARY_INFO_ICON"))+" ")])]},proxy:!0}])})],1)],1)]},proxy:!0},{key:"checkboxSlot",fn:function(){return[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:"Label"+t.context+"PanelConnectToAllTracks",label:t.$t("lang_LABEL_RELEASES_CAPTION_ADD_TO_ALL_CONNECTED_TRACKS"),hideDetails:"",alvqa:t.alvqa+"-checkbox-add-to-connected-tracks"}})]},proxy:!0}])})},Xf=[],Jf={name:"ReleasesArtistsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me,BaseCheckbox:Qt,BaseTooltip:T},data:function(){return{context:"ReleasesArtists",alvqa:"label-releases-edit-form-panel-artists-editing-panel"}},computed:{roleItems:function(){var t=Ne;return t.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),t},yesNoItems:function(){return be},isReadonly:function(){var t=this.$store.getters.getReleasesArtistsDetailsRole;switch(t){case"featuring":case"with":case"presents":case"versus":case"performer":return!1;default:return this.$store.commit("setReleasesArtistsDetailsPrimary","no"),!0}}}},Qf=Jf,tS=Object(C["a"])(Qf,Zf,Xf,!1,null,null,null),eS=tS.exports,aS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASE_CAPTION_TYPE"),items:t.typeItems,context:t.context,field:"Type",alvqa:t.alvqa+"-dropdown-type",rules:"required",clearable:!1}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_LANGUAGE"),items:t.languageItems,context:t.context,field:"Language",alvqa:t.alvqa+"-dropdown-language",rules:"required",clearable:!1}})],1)],1)],1),a("v-col",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),field:"Description",context:t.context,alvqa:t.alvqa+"-textarea-description",rules:"required"}})],1)],1)]},proxy:!0}])})},nS=[],iS={name:"ReleasePromotionalTextsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me},data:function(){return{context:"ReleasesPromotionalTexts",alvqa:"label-releases-edit-form-panel-promotional-texts-editing-panel"}},computed:{languageItems:function(){return this.$store.getters.getGeneralLanguages},typeItems:function(){return La}}},sS=iS,rS=Object(C["a"])(sS,aS,nS,!1,null,null,null),lS=rS.exports,oS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.formatAmountBeforeSave,useAdditionalSaveFunction:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_COST_GROUP"),items:t.costGroupItems,context:t.context,field:"CostGroup",alvqa:t.alvqa+"-dropdown-cost-group",rules:"required",withMargin:!1,clearable:!1}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Description",label:t.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),withMargin:!1,alvqa:t.alvqa+"-textfield-description"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"DocumentNumber",label:t.$t("lang_LABEL_RELEASES_CAPTION_DOCUMENT_NUMBER"),withMargin:!1,alvqa:t.alvqa+"-textfield-document-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Recipient",label:t.$t("lang_GENERIC_CAPTION_RECIPIENT"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-recipient-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-recipient-selection"}},[t._v("\n                            "+t._s(t.getPersonInfo(n))+"\n                            "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                            ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(t.getPersonInfo(n))+"\n                                "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_GENERAL_CAPTION_COUNTRY"),items:t.countryItems,context:t.context,field:"Country",rules:"required",alvqa:t.alvqa+"-dropdown-country",withMargin:!1,clearable:!1}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",label:t.$t("lang_GENERIC_CAPTION_DATE"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-datepicker-date"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"PaidOn",withMargin:!1,label:t.$t("lang_LABEL_RELEASES_CAPTION_PAID_ON"),alvqa:t.alvqa+"-datepicker-paid-on"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1)],1)]},proxy:!0}])})},cS=[],uS={name:"ReleasesCostsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs},data:function(){return{context:"ReleasesCosts",alvqa:"label-releases-edit-form-panel-costs-editing-dialog"}},computed:{costGroupItems:function(){return Ce},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},methods:{formatAmountBeforeSave:function(t){return t.amount=this.$alvPlugin.stringToFloat(t.amount),t},getPersonInfo:function(t){return!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject?t.inheritFromGroupObject.inv_company_name:null!==t.group&&""!==t.group&&void 0!==t.group?t.group:t.gemaName}},mounted:function(){this.$store.commit("setCountries")}},dS=uS,gS=Object(C["a"])(dS,oS,cS,!1,null,null,null),pS=gS.exports,vS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.formatAmountBeforeSave,useAdditionalSaveFunction:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_LABEL_RELEASES_CAPTION_BUDGET_GROUP"),items:t.budgetGroupItems,context:t.context,field:"BudgetGroup",alvqa:t.alvqa+"-dropdown-budget-group",rules:"required",withMargin:!1,clearable:!1}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ScheduledMonth",label:t.$t("lang_LABEL_RELEASES_CAPTION_SCHEDULE_MONTH"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-datepicker-scheduled-month",type:"month"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Description",label:t.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),withMargin:!1,alvqa:t.alvqa+"-textfield-description"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_GENERAL_CAPTION_COUNTRY"),items:t.countryItems,context:t.context,field:"Country",alvqa:t.alvqa+"-dropdown-country",withMargin:!1}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Quantity",label:t.$t("lang_LABEL_RELEASES_CAPTION_QUANTITY"),withMargin:!1,alvqa:t.alvqa+"-textfield-quantity"}})],1)],1)]},proxy:!0}])})},_S=[],hS={name:"ReleasesBudgetEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageDatePicker:$r},data:function(){return{context:"ReleasesBudget",alvqa:"label-releases-edit-form-panel-budget-editing-dialog"}},computed:{budgetGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(qa));return e.forEach((function(e){"income"===e.group&&(e.text=t.$t("lang_GENERIC_CAPTION_INCOME")+": "+t.$t(e.text)),"costs"===e.group&&(e.text=t.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+t.$t(e.text))})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},methods:{formatAmountBeforeSave:function(t){return t.amount=this.$alvPlugin.stringToFloat(t.amount),t}}},mS=hS,fS=Object(C["a"])(mS,vS,_S,!1,null,null,null),SS=fS.exports,ES=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"costsplittingDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_LABEL_RELEASES_COST_SPLITTING",maxDialogWidth:"1500",maxCardHeight:"1000",close:t.close,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pl-4",attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",rules:"required",label:t.$t("lang_GENERIC_CAPTION_DATE"),alvqa:t.alvqa+"-datepicker-date",withMargin:!1}})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"2"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Recipient",label:t.$t("lang_GENERIC_CAPTION_RECIPIENT"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-recipient-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-recipient-selection"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                        ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                    ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+"\n                                        "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                        "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                        "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                                    ")])],1)]}}],null,!0)})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"DocumentNumber",label:t.$t("lang_LABEL_RELEASES_CAPTION_DOCUMENT_NUMBER"),alvqa:t.alvqa+"-textfield-document-number",withMargin:!1}})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),alvqa:t.alvqa+"-textfield-document-number",rules:"required|amountMaxTwoDigits",clearable:!1,withMargin:!1,additionalFunction:t.calculateWithNewAmount}})],1),a("v-col",{staticClass:"pr-3 pl-0",attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countryCodeItems,label:t.$t("lang_GENERAL_CAPTION_COUNTRY"),alvqa:t.alvqa+"-dropdown-country",withMargin:!1}})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CostGroup",items:t.costGroupItems,label:t.$t("lang_LABEL_RELEASES_CAPTION_COST_GROUP"),alvqa:t.alvqa+"-dropdown-cost-group",clearable:!1,withMargin:!1}})],1)],1),a("v-row",[a("v-col",{staticClass:"pl-4",attrs:{cols:"4"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Release",rules:"required",label:t.$t("lang_LABEL_RELEASES_CAPTION_CATALOGUE_NUMBER")+"/EAN",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-release-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-release-selection"}},[t._v("\n                                    "+t._s(n.name)+" ("+t._s(n.alvId)+")\n                                ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-release-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-release-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.name)+" ("+t._s(n.alvId)+")\n                                    ")])],1)]}}],null,!0)})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Description",label:t.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION_OF_COST_ITEM"),alvqa:t.alvqa+"-textfield-description",withMargin:!1}})],1),a("v-col",{staticClass:"pl-0",attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Share",label:t.$t("lang_LABEL_RELEASES_CAPTION_SHARE")+" %",alvqa:t.alvqa+"-textfield-share-percentage",rules:"percentDecimal",clearable:!1,withMargin:!1}})],1),a("v-spacer"),a("v-col",{staticClass:"pl-0",attrs:{"align-self":"center",cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1),a("v-row",[a("v-col",[a("v-data-table",{attrs:{headers:t.headers,items:t.releaseCostsplittingRows,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([{key:"item.release",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-catalogue-nr-ean"}},[t._v("\n                                    "+t._s(null!==n.release.catalogueNumber?n.release.catalogueNumber:null!==n.release.ean?n.release.ean:n.release.name+"("+n.release.alvId+")")+"\n                                ")])]}},{key:"item.share",fn:function(e){var n=e.item;return[a("div",{staticClass:"text--right",attrs:{alvqa:t.alvqa+"-list-row-text-share"}},[t._v("\n                                    "+t._s(t.$n(n.share,"number"))+"\n                                ")])]}},{key:"item.proRataAmount",fn:function(e){var n=e.item;return[a("div",{staticClass:"text--right",attrs:{alvqa:t.alvqa+"-list-row-text-pro-rata-amount"}},[t._v("\n                                    "+t._s(t.$n(n.proRataAmount,"number"))+"\n                                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),null!==t.errorMessage?a("v-col",{staticClass:"text-right",staticStyle:{color:"brown"},attrs:{cols:"10","align-self":"center"}},[t._v("\n                        "+t._s(t.$t(t.errorMessage))+"\n                    ")]):t._e(),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_SAVE",alvqa:t.alvqa+"-button-save"},on:{click:function(e){return n(t.splittingCosts)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},IS=[],CS={name:"LabelReleasesCostsplittingDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N,BaseEditPageDatePicker:$r,BaseEditPageAutocomplete:Zs,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{alvqa:"label-releases-edit-form-costsplitting-dialog",context:"LabelReleasesCostsplitting",errorMessage:null}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_CATALOGUE_NUMBER")+"/EAN",align:"left",value:"release",class:"text-no-wrap",alvqa:this.alvqa+"-header-catalogue-nr-ean",sortable:!1},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION_OF_COST_ITEM"),align:"left",value:"description",class:"text-no-wrap",width:"450px",alvqa:this.alvqa+"-header-description",sortable:!1},{text:this.$t("lang_LABEL_RELEASES_CAPTION_SHARE")+" %",align:"right",value:"share",class:"text-no-wrap",alvqa:this.alvqa+"-header-share",sortable:!1},{text:this.$t("lang_LABEL_RELEASES_CAPTION_PRO_RATA")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"proRataAmount",class:"text-no-wrap",alvqa:this.alvqa+"-header-pro-rata-amount",sortable:!1},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},showDialog:{get:function(){return this.$store.getters.getShowReleaseCostsplittingDialog},set:function(t){this.$store.commit("setShowReleaseCostsplittingDialog",t)}},releaseCostsplittingRows:{get:function(){return this.$store.getters.getReleaseCostsplittingRows},set:function(t){return this.$store.commit("setReleaseCostsplittingRows",t)}},costGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(Ce));return e.forEach((function(e){e.text=t.$t(e.text)})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},countryCodeItems:function(){var t=JSON.parse(JSON.stringify(this.$alvPlugin.getListOfTranslatedCountries()));return t.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),t},isLoading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}},methods:{close:function(){this.showDialog=!1,this.releaseCostsplittingRows=[],this.errorMessage=null,this.$refs.costsplittingDialog.reset()},addNewRow:function(){var t=this;this.$store.dispatch("addNewLineCostsplittingRows");var e=this.releaseCostsplittingRows,a=parseFloat(e.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.share)}),0).toFixed(2));a>100&&(this.errorMessage="lang_LABEL_RELEASES_COSTSPLITTING_ERROR_SHARE_NOT_100"),100===a&&(this.errorMessage=null)},deleteRow:function(t){var e=this;this.$store.dispatch("deleteLineCostsplittingRows",t);var a=this.releaseCostsplittingRows,n=parseFloat(a.reduce((function(t,a){return t+e.$alvPlugin.stringToNumber(a.share)}),0).toFixed(2));n<=100&&(this.errorMessage=null)},splittingCosts:function(){var t=this,e=this.releaseCostsplittingRows,a=parseFloat(e.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.share)}),0).toFixed(2));100===a?(this.errorMessage=null,this.$store.dispatch("labelReleasesSplittingCosts"),this.close()):this.errorMessage="lang_LABEL_RELEASES_COSTSPLITTING_ERROR_SHARE_NOT_100"},calculateWithNewAmount:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.releaseCostsplittingRows,a=this.$store.getters.getLabelReleasesCostsplittingDetailsAmount,null!==a&&""!==a?a=JSON.parse(JSON.stringify(this.$alvPlugin.stringToFloat(a))):this.$n(0,"number"),e.forEach((function(t){var e=0;null!==t.share&&""!==t.share?t.share=JSON.parse(JSON.stringify(n.$alvPlugin.stringToFloat(t.share))):(t.share,n.$n(0,"number"));var i=a*t.share;0!==i&&(e=i/100),t.proRataAmount=e}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},created:function(){this.$store.commit("setCountries")}},AS=CS,TS=Object(C["a"])(AS,ES,IS,!1,null,null,null),bS=TS.exports,PS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"connectArtistToReleaseDialog",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:t.headline,close:t.close,maxDialogWidth:"800",maxCardHeight:"800",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[t.showAzFields?t.showAzFields?a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:"LabelReleases",field:"SelectedAzTypeForArtist",items:t.azTypes,label:t.$t("lang_GENERIC_CAPTION_AZ_TYPE"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-az-type",additionalFunction:t.changeAzType}})],1)],1),"groups"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"Group",label:t.$t("lang_AZ_GROUPS_CAPTION_GROUP_NAME"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-textfield-group-name"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.subcontext,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1):t._e(),"persons"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"Group",label:t.$t("lang_AZ_PERSONS_CAPTION_COMPANY_GROUP_ARTIST_NAME"),rules:t.isGroupRequired,alvqa:t.alvqa+"-textfield-group",withMargin:!1}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.subcontext,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",withMargin:!1,alvqa:t.alvqa+"-dropdown-country"}})],1)],1):t._e(),"persons"===t.selectedAzType?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"FirstName",label:t.$t("lang_AZ_PERSONS_CAPTION_FIRST_NAME"),rules:t.areNamesRequiered,withMargin:!1,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.subcontext,field:"LastName",label:t.$t("lang_AZ_PERSONS_CAPTION_LAST_NAME"),rules:t.areNamesRequiered,withMargin:!1,alvqa:t.alvqa+"-textfield-last-name"}})],1)],1):t._e()],1):t._e():a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"10"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-left",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",[a("BaseHeaderStats",{attrs:{context:t.context,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"ConnectArtistToReleasesDialog"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                    0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                    ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:!1},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e){return a("v-list-item",{key:e.alvId,attrs:{value:e,alvqa:t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e)}}},[a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-name"}},[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(e))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(e.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==e.ipi?e.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(e.alvId)+"\n                                ")])],1)],1)})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.showAzFields?a("v-row",[null!==t.selectedAzType?a("v-col",{attrs:{cols:"5"}},[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:"LabelReleases"+t.context+"ConnectToAllTracks",label:t.$t("lang_LABEL_RELEASES_CAPTION_ADD_TO_ALL_CONNECTED_TRACKS"),valueOuter:"connectToAllTracks",hideDetails:"",alvqa:t.alvqa+"-checkbox-add-to-connected-tracks"}})],1):t._e(),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-back"},on:{click:function(e){return t.backToSearch()}}})],1),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:null===t.selectedAzType,label:"lang_GENERIC_CAPTION_SAVE_AND_CONNECT",alvqa:t.alvqa+"-button-save-connect"},on:{click:function(e){return n(t.connectAndSavePerformer)}}})],1)],1):a("v-row",[0!==t.selectedArtist.length?a("v-col",[a("BaseCheckbox",{staticClass:"mt-0",attrs:{context:"LabelReleases"+t.context+"ConnectToAllTracks",label:t.$t("lang_LABEL_RELEASES_CAPTION_ADD_TO_ALL_CONNECTED_TRACKS"),valueOuter:"connectToAllTracks",hideDetails:"",alvqa:t.alvqa+"-checkbox-add-to-connected-tracks"}})],1):t._e(),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{disabled:0!==t.selectedArtist.length,label:"lang_GENERIC_CREATE_NEW_AZ_ENTRY",alvqa:t.alvqa+"-button-create"},on:{click:function(e){return t.createAz()}}})],1),a("v-col",{staticClass:"text-right",attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:0===t.selectedArtist.length,label:"lang_GENERIC_CAPTION_CONNECT",alvqa:t.alvqa+"-button-select"},on:{click:function(e){return t.connectPerformer()}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},DS=[],NS={name:"ConnectArtistToRelease",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N,SearchFilter:Nn,BaseHeaderStats:ti,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseCheckbox:Qt},data:function(){return{headline:"lang_LABEL_TRACKS_CAPTION_CONNECT_INTERPRET",alvqa:"label-releases-edit-form",showAzFields:!1,context:"ArtistForReleases",selected:[],items:[],showSearchResult:!1}},computed:{showDialog:{get:function(){return this.$store.getters.getShowConnectArtistDialog},set:function(t){this.$store.commit("setShowConnectArtistDialog",t)}},selectedArtist:{get:function(){return this.$store.getters.getSelectedArtistForReleases},set:function(t){this.$store.commit("setSelectedArtistForReleases",t)}},connectToAllTracksCheckbox:{get:function(){return this.$store.getters.getLabelReleasesArtistForReleasesConnectToAllTracksCheckbox},set:function(t){this.$store.commit("setLabelReleasesArtistForReleasesConnectToAllTracksCheckbox",t)}},azTypes:function(){return[{value:"groups",text:this.$t("lang_AZ_GROUPS")},{value:"persons",text:this.$t("lang_AZ_PERSONS")}]},selectedAzType:{get:function(){return this.$store.getters.getLabelReleasesDetailsSelectedAzTypeForArtist},set:function(t){this.$store.commit("setLabelReleasesDetailsSelectedAzTypeForArtist",t)}},isGroupRequired:function(){var t=this.$store.getters.getAzPersonsDetails;if(void 0===t)return"required";var e=null===t.firstName||null===t.lastName;return e?"required":""},areNamesRequiered:function(){var t=this.$store.getters.getAzPersonsDetails;return void 0===t||null===t.group?"required":""},subcontext:function(){return"Az"+this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1)},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},methods:{close:function(){this.showDialog=!1,this.headline="lang_LABEL_TRACKS_CAPTION_CONNECT_INTERPRET",this.showAzFields=!1,this.selectedArtist=[],this.selected=[],this.items=[],this.showSearchResult=!1,this.$store.commit("setArtistForReleasesSearch",""),this.$store.commit("setLabelReleasesDetailsSelectedAzTypeForArtist",null),this.$store.commit("setAzPersonsDetails",this.$store.getters.getDefaultNewAzPersons),this.$store.commit("setAzGroupsDetails",this.$store.getters.getDefaultNewAzGroups)},searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),e=this.$store.getters.getArtistForReleasesSearch,!e){t.next=9;break}return this.selectedArtist=[],this.selected=[],this.showSearchResult=!0,t.next=8,this.$store.dispatch("searchArtistForReleases");case 8:this.items=t.sent;case 9:e||(this.items=[]),this.$store.commit("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectItem:function(t){0===this.selectedArtist.length?this.selectedArtist.push(t):this.selectedArtist[0]["id"]===t.id?this.selectedArtist=[]:(this.selectedArtist=[],this.selectedArtist.push(t))},changeAzType:function(t){if(t){var e=this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1),a=JSON.parse(JSON.stringify(this.$store.getters["getDefaultNewAz"+e]));this.$store.commit("setAz"+e+"Details",a),this.$refs.connectArtistToReleaseDialog.reset()}},createAz:function(){this.showAzFields=!0,this.headline="lang_GENERIC_CREATE_NEW_AZ_ENTRY"},connectPerformer:function(){this.$store.dispatch("addArtistToReleases"),this.close()},backToSearch:function(){this.showAzFields=!1,this.$store.commit("setLabelReleasesDetailsSelectedAzTypeForArtist",null);var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultNewAzPersons)),e=JSON.parse(JSON.stringify(this.$store.getters.getDefaultNewAzGroups));this.$store.commit("setAzPersonsDetails",t),this.$store.commit("setAzGroupsDetails",e)},connectAndSavePerformer:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.selectedAzType.charAt(0).toUpperCase()+this.selectedAzType.slice(1),a=this.$store.getters["getAz"+e+"Details"],a["type"]=["artist"],t.next=5,this.$store.dispatch("saveAz"+e+"Form",!1);case 5:n=this.$store.getters["getAz"+e+"Details"],this.$store.commit("setSelectedArtistForReleases",[n]),this.connectPerformer();case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){this.$store.commit("setCountries")}},RS=NS,xS=Object(C["a"])(RS,PS,DS,!1,null,null,null),OS=xS.exports,wS={name:"LabelReleasesEdit",data:function(){return{context:"LabelReleases",alvqa:"label-releases-edit-form"}},components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseButton:wt,BaseIcon:N,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseReadOnlyTextField:iu,SearchDialog:ys,DeletionDialog:Cs,EditingDialog:ho,ReleaseDigitalDistributionEditPanelDialog:Kf,ReleasesArtistsEditPanelDialog:eS,ReleasePromotionalTextsEditPanelDialog:lS,ReleasesCostsEditPanelDialog:pS,ReleasesBudgetEditPanelDialog:SS,LabelReleasesCostsplittingDialog:bS,ConnectArtistToReleaseDialog:OS,ReleasesTracksEditPanel:Sf,ReleaseDigitalDistributionEditPanel:Of,ReleasesArtistsEditPanel:df,ReleasePromotionalTextsEditPanel:bf,ReleasesCostsEditPanel:Bf,ReleasesBudgetEditPanel:Wf},computed:{getLabelsItems:function(){var t=this;this.$store.commit("setLabelCompanies");var e=[],a=[];return this.$store.getters.getLabelCompanies.forEach((function(t){null!=t.labels&&(e=e.concat(t.labels))})),e.forEach((function(e){a.push({value:parseInt(e.id),text:e.name_alv+" ("+e.alvId+")",alvqa:t.alvqa+"-dropdown-label-company-"+e.id})})),void 0!==a&&0!==a.length&&1!==a.error||(a=[]),a},getGemaTypeItems:function(){var t=this,e=this.$store.getters["getReleaseGemaMediaTypes"];return e.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-gema-types-"+e.value})),e},getMediaTypeItems:function(){var t=this,e=JSON.parse(JSON.stringify(Je));e.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-media-types-"+e.value}));var a=[];e.forEach((function(e){"1"!==e["disabled"]&&!1!==e["disabled"]||(e["disabled"]=!1,t.$alvPlugin.isLangConst(e["text"])&&(e["text"]=t.$i18n.t(e["text"])),a.push(e))})),a.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),a.push({divider:!0});var n=[];return e.forEach((function(e){"0"!==e["disabled"]&&!0!==e["disabled"]||(e["disabled"]=!0,t.$alvPlugin.isLangConst(e["text"])&&(e["text"]=t.$i18n.t(e["text"])),n.push(e))})),n.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),a=a.concat(n),a},getGenreItems:function(){var t=this,e=this.$store.getters["getGenres"+this.$i18n.locale.toUpperCase()];return e?(e.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-genres-"+e.value})),e):[]},getNumberOfDiscsItems:function(){for(var t=[],e=1;e<=99;e++){var a=e.toString();t.push({text:a,value:e,alvqa:this.alvqa+"-dropdown-number-of-discs-"+e})}return t},getPriceCatogoryItems:function(){return Ee},getReleasePricelists:function(){return this.$store.getters.getLabelReleasesPricelistsOptions},getLicensorsItems:function(){var t=this,e=[];return this.$store.getters["getLicensors"].forEach((function(a){e.push({value:a["id"],text:a["name"],alvqa:t.alvqa+"-dropdown-licensors-"+a["id"]})})),e},getDropdownYesNo:function(){return be},getData:function(){return this.$store.getters["getLabelReleasesDetails"]},isArtistConnected:function(){return null!==this.getAzName},getAzName:function(){return this.$store.getters.getLabelReleasesDetailsConnectedArtist},connectToAllTracksCheckbox:{get:function(){return this.$store.getters.getLabelReleasesArtistForReleasesConnectToAllTracksCheckbox},set:function(t){this.$store.commit("setLabelReleasesArtistForReleasesConnectToAllTracksCheckbox",t)}}},methods:{tracksFoundSelectedText:function(t,e){var a=t.length+" ";return 0===t.length?(a+=this.$t("lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TRACKS_FOUND"),a):(1===t.length?a+=this.$t("lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TRACK_FOUND"):a+=this.$t("lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TRACKS_FOUND"),a+=", "+e.length+" ",1===e.length?a+=this.$t("lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TRACK_SELECTED"):a+=this.$t("lang_LABEL_RELEASES_ADD_TRACKS_DIALOG_TRACKS_SELECTED"),a)},editConnectedArtist:function(){this.connectToAllTracksCheckbox=[],this.isArtistConnected?this.$store.dispatch("deleteArtistLabelReleasConnection"):this.$store.commit("setShowConnectArtistDialog",!0)}},created:function(){this.$store.dispatch("fetchLabelReleasesPricelistsDropdownValues")}},LS=wS,yS=Object(C["a"])(LS,nf,sf,!1,null,null,null),qS=yS.exports,kS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"SelectedLabelProjects"}}),a("BaseListPage",{attrs:{headline:"lang_LABEL_PROJECTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("ReleasesTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"ellipsis"},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.title)+"\n\t\t\t\t\t\t")]),a("td",{staticClass:"ellipsis"},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.alvId)+"\n\t\t\t\t\t\t")])]}},{key:"expandSlot",fn:function(){return[a("LabelProjectsReadOnly")]},proxy:!0}])})]},proxy:!0}])})],1)},BS=[],$S=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4"},[null!==t.item.tag?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v(t._s(t.item.tag))])])],1)],1):t._e(),null!==t.item.note?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-note"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-note"}},[t._v(t._s(t.item.note))])])],1)],1):t._e()],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("LabelProjectsReleasesReadOnlyPanel",{attrs:{projectsAlvId:t.item.alvId}}),a("ProjectsProfitAndLossReadOnlyPanel",{attrs:{projectsAlvId:t.item.alvId}})],1)],1)],1)],1)},GS=[],FS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.$t("lang_LABEL_RELEASES")+" ("+this.listItemsLength+")",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-release-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.tracks",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-tracks"}},[t._v("\n                    "+t._s(n.tracks)+"\n                ")])]}},{key:"item.displayArtist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-display-artist"}},[t._v("\n                    "+t._s(n.displayArtist)+"\n                ")])]}},{key:"item.ean",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-ean"}},[t._v("\n                    "+t._s(n.ean)+"\n                ")])]}},{key:"item.catalogueNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-catalogue-number"}},[t._v("\n                    "+t._s(n.catalogueNumber)+"\n                ")])]}},{key:"item.dateRetail",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-date-retail"}},[t._v("\n                    "+t._s(null!==n.dateRetail?t.$d(new Date(n.dateRetail),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.dateDigital",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-date-digital"}},[t._v("\n                    "+t._s(null!==n.dateDigital?t.$d(new Date(n.dateDigital),"alvDateFormat"):"")+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},US=[],MS={name:"LabelProjectsReleasesReadOnlyPanel",components:{BasePanel:vi},props:{projectsAlvId:{type:String}},data:function(){return{alvqa:"label-projects-list-row-"+this.projectsAlvId+"-read-only-panel-releases"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_TITLE"),value:"title",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_TRACKS"),value:"tracks",align:"right",sortable:!1,width:"100px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_DISPLAY_ARTIST"),value:"displayArtist",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC"),value:"ean",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_CATALOGUE_NUMBER"),value:"catalogueNumber",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_PHYSICAL"),value:"dateRetail",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),value:"dateDigital",align:"left",sortable:!0,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelProjectsReleases},listItemsLength:function(){return this.$store.getters.getLabelProjectsReleases.length}}},WS=MS,jS=Object(C["a"])(WS,FS,US,!1,null,null,null),zS=jS.exports,HS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES_PANEL_CAPTION_PROFIT_AND_LOSS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("v-row",[a("v-col",{staticClass:"pt-9 pl-2",attrs:{alvqa:t.alvqa+"-result"}},[t._v("\n                            "+t._s(t.$t("lang_LABEL_STATEMENTS_CAPTION_RESULT"))+":\n                            "+t._s(t.$n(t.getProfitAndLossResult,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n                        ")]),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context+"Filter",field:"FromMonth",label:t.$t("lang_GENERIC_CAPTION_PERIOD_FROM"),withMargin:!1,alvqa:t.alvqa+"-datepicker-from-month",type:"month",clearable:!1}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context+"Filter",field:"ToMonth",label:t.$t("lang_GENERIC_CAPTION_PERIOD_TO"),withMargin:!1,alvqa:t.alvqa+"-datepicker-to-month",type:"month",clearable:!1}})],1),a("span",{staticClass:"pt-6"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:t.filter}})],1)],1)],1)],1)],1),a("ProjectsProfitAndLossCostsDataTableReadOnly",{attrs:{projectsAlvId:t.projectsAlvId}}),a("ProjectsProfitAndLossIncomeDataTableReadOnly",{staticClass:"pt-3",attrs:{releaseAlvId:t.projectsAlvId}})]},proxy:!0}])})},VS=[],YS=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,loading:t.isLoading,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"no-results-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:"ProjectsProfitAndLossFilterCostGroup",label:"lang_LABEL_RELEASES_CAPTION_COST_GROUP",items:t.costGroupItems,alvqa:t.alvqa+"-dropdown-filter-cost-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"3",alvqa:t.alvqa+"costs-sum"}},[t._v("\n                "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n            ")])],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.costGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-cost-group-"+n.costGroup}},[t._v("\n            "+t._s(t.getCostGroup(n.costGroup))+"\n        ")])]}},{key:"item.budgetPercent",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-budget-percent-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.budgetPercent,"number"))+"\n        ")])]}},{key:"item.difference",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-difference-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.difference,"number"))+"\n        ")])]}},{key:"item.budget",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-budget-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.budget,"number"))+"\n        ")])]}},{key:"item.costsResult",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-result-"+n.costGroup}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.costsResult,"number"))+"\n        ")])]}}],null,!0)})},KS=[],ZS={name:"ProjectsProfitAndLossCostsDataTableReadOnly",components:{DropdownFilter:us,BaseTooltip:T},props:{projectsAlvId:{type:String}},data:function(){return{alvqa:"label-projects-list-row-"+this.projectsAlvId+"-read-only-panel-profit-and-loss-costs"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS"),align:"left",value:"costGroup",class:"text-no-wrap",alvqa:this.alvqa+"-header-costs",sortable:!1,filter:this.filterCostGroup},{text:this.$t("lang_GENERIC_CAPTION_BUDGET")+" %",align:"right",value:"budgetPercent",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-budget-percent"},{text:this.$t("lang_GENERIC_CAPTION_DIFF")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"difference",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-difference"},{text:this.$t("lang_GENERIC_CAPTION_BUDGET")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"budget",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-budget"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"costsResult",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-result"}]},listItems:function(){return this.$store.getters.getProjectsProfitAndLossCosts},isLoading:function(){return this.$store.getters.getProjectsProfitAndLossIsLoading},costGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(Ce));return e.forEach((function(e){e.text=t.$t(e.text)})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},getSumOfDisplayedRows:function(){var t=this,e=this.$store.getters.getSelectedProjectsProfitAndLossFilterCostGroup,a=0;return void 0===this.listItems||(e?this.listItems.forEach((function(n){n.costGroup===e&&(a+=t.$alvPlugin.stringToNumber(n.costsResult))})):a=this.listItems.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.costsResult)}),0)),a}},methods:{getCostGroup:function(t){var e=Ce;if(null===e||void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?this.$t(a.text):void 0},filterCostGroup:function(t){var e=this.$store.getters.getSelectedProjectsProfitAndLossFilterCostGroup;return!e||t===e}}},XS=ZS,JS=(a("236c"),Object(C["a"])(XS,YS,KS,!1,null,null,null)),QS=JS.exports,tE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,expanded:t.expandedItems,"show-expand":"",loading:t.isLoading,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"no-results-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:"ProjectsProfitAndLossFilterCostGroup",label:"lang_LABEL_RELEASES_CAPTION_INCOME_GROUP",items:t.incomeGroupItems,alvqa:t.alvqa+"-dropdown-filter-income-group",defaultValueNull:!0}})],1),a("v-col",{staticClass:"pt-8",attrs:{cols:"3",alvqa:t.alvqa+"-income-sum"}},[t._v("\n                "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+":\n                "+t._s(t.$n(t.getSumOfDisplayedRows,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n            ")])],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[n?a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-open"}},[t._v("fa-arrow-alt-circle-down")]):a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard",alvqa:t.alvqa+"-list-row-expand-icon-close"}},[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.incomeGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-income-group-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.getIncomeGroup(n.incomeGroup))+"\n        ")])]}},{key:"item.prognosePercent",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-prognose-percent-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.prognosePercent,"number"))+"\n        ")])]}},{key:"item.difference",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-difference-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.difference,"number"))+"\n        ")])]}},{key:"item.prognose",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-prognose-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.prognose,"number"))+"\n        ")])]}},{key:"item.income",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-result-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v("\n            "+t._s(t.$alvPlugin.getNumberLocalization(n.income,"number"))+"\n        ")])]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.headers.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.subheaders,"hide-default-footer":"",items:n.rows,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([t._l(t.subheaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+t.getIncomeAlvQa(n.incomeGroup)}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.description",fn:function(e){var n=e.item,i=e.index;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-description"}},[t._v("\n                                    "+t._s(t.getTranslatedDescription(n.description))+"\n                                ")])]}},{key:"item.quantity",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-quantity"}},[t._v("\n                                    "+t._s(t.$alvPlugin.getNumberLocalization(n.quantity,"numberInteger"))+"\n                                ")])]}},{key:"item.income",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-income"}},[t._v("\n                                    "+t._s(t.$alvPlugin.getNumberLocalization(n.income,"number"))+"\n                                ")])]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})},eE=[],aE={name:"ProjectsProfitAndLossIncomeDataTableReadOnly",components:{DropdownFilter:us},props:{projectsAlvId:{type:String}},data:function(){return{alvqa:"label-projects-list-row-"+this.projectsAlvId+"-read-only-panel-profit-and-loss-income",expandedItems:[]}},computed:{headers:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_INCOME"),align:"left",value:"incomeGroup",class:"text-no-wrap",alvqa:this.alvqa+"-header-income",sortable:!1,filter:this.filterIncomeGroup},{text:this.$t("lang_LABEL_RELEASES_CAPTION_FORECAST")+" %",align:"right",value:"prognosePercent",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-forecast-percent"},{text:this.$t("lang_GENERIC_CAPTION_DIFF")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"difference",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-difference"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_FORECAST")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"prognose",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-forecast"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"income",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-result"}]},subheaders:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-description"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_QUANTITY"),align:"right",value:"quantity",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-quantity"},{text:this.$t("lang_GENERIC_CAPTION_ACTUAL")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"income",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-expand-header-income"}]},listItems:function(){var t=this.$store.getters.getProjectsProfitAndLossIncome,e=t.filter((function(t){return"incomeLive"!==t["incomeGroup"]&&"incomeOther"!==t["incomeGroup"]}));return e},isLoading:function(){return this.$store.getters.getProjectsProfitAndLossIsLoading},incomeGroupItems:function(){var t=this,e=[],a=JSON.parse(JSON.stringify(qa));return a.forEach((function(a){"income"===a.group&&(a.text=t.$t(a.text),e.push(a))})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},getSumOfDisplayedRows:function(){var t=this,e=this.$store.getters.getSelectedProjectsProfitAndLossFilterIncomeGroup,a=0;return void 0===this.listItems||(e?this.listItems.forEach((function(n){n.incomeGroup===e&&(a+=t.$alvPlugin.stringToNumber(n.income))})):a=this.listItems.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.income)}),0)),a}},methods:{getIncomeGroup:function(t){var e=qa;if(void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?this.$t(a.text):void 0},getIncomeAlvQa:function(t){switch(t){case"incomeOther":return"other";case"incomeLive":return"live";default:return t}},expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),filterIncomeGroup:function(t){var e=this.$store.getters.getSelectedProjectsProfitAndLossFilterIncomeGroup;return!e||t===e},getTranslatedDescription:function(t){if("Top"===t.slice(0,3)){var e=t.slice(-2),a=this.$alvPlugin.getTranslatedCountryName(e),n=t.replace(e,a);return n}return this.$t(t)}},created:function(){this.$store.commit("setCountries")}},nE=aE,iE=(a("72f5"),Object(C["a"])(nE,tE,eE,!1,null,null,null)),sE=iE.exports,rE={name:"ProjectsProfitAndLossReadOnlyPanel",components:{BasePanel:vi,BaseEditPageDatePicker:$r,BaseIcon:N,BaseButton:wt,ProjectsProfitAndLossCostsDataTableReadOnly:QS,ProjectsProfitAndLossIncomeDataTableReadOnly:sE},props:{projectsAlvId:{type:String}},data:function(){return{context:"ProjectProfitAndLoss",alvqa:"label-projects-list-row-"+this.projectsAlvId+"-read-only-panel-profit-loss"}},computed:{getProfitAndLossResult:{get:function(){return this.$store.getters.getProjectsProfitAndLossResult},set:function(t){this.$store.commit("setProjectsProfitAndLossResult",t)}}},methods:{filter:function(){this.$store.commit("setSelectedProjectsProfitAndLossFilterCostGroup",null),this.$store.commit("setSelectedProjectsProfitAndLossFilterIncomeGroup",null),this.$store.dispatch("fetchProjectsProfitAndLoss")}},created:function(){this.$store.commit("setProjectProfitAndLossFilterDetailsToMonth",this.$alvPlugin.dateToISOFormat(new Date)),this.$store.commit("setProjectProfitAndLossFilterDetailsFromMonth",this.$alvPlugin.dateToISOFormat(new Date("2008",0))),this.$store.dispatch("fetchProjectsProfitAndLoss")}},lE=rE,oE=Object(C["a"])(lE,HS,VS,!1,null,null,null),cE=oE.exports,uE={name:"LabelProjectsReadOnly",components:{LabelProjectsReleasesReadOnlyPanel:zS,ProjectsProfitAndLossReadOnlyPanel:cE},data:function(){return{alvqa:"label-releases-list-read-only"}},computed:{item:function(){return this.$store.getters.getExpandedLabelProjects[0]}}},dE=uE,gE=Object(C["a"])(dE,$S,GS,!1,null,null,null),pE=gE.exports,vE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"LabelProjects",alvqa:t.alvqa}}),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_LABEL_PROJECTS_BUTTON_CAPTION_NEW_PROJECT",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},_E=[],hE={name:"LabelProjectsTopSlot",components:{BaseHeaderStats:ti,BaseButton:wt,ActionDropdown:Mn},data:function(){return{editForm:"LabelProjectsEdit",alvqa:"label-projects"}},computed:{actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},mE=hE,fE=Object(C["a"])(mE,vE,_E,!1,null,null,null),SE=fE.exports,EE={name:"LabelProjectsList",components:{BaseListPage:yn,BaseDataTableList:En,ExpandIcon:is,LabelProjectsReadOnly:pE,ReleasesTopSlot:SE,SelectionRequiredDialog:hs,DeletionDialog:Cs},data:function(){return{context:"LabelProjects",alvqa:"label-projects"}},computed:{headers:function(){return[{text:"",value:"data-table-select",align:"center",sortable:!1,width:"60px"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_PROJECTS_CAPTION_TITLE"),value:"title",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!0,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}}},IE=EE,CE=Object(C["a"])(IE,kS,BS,!1,null,null,null),AE=CE.exports,TE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/label/projects"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n        "+t._s(n.title?n.title:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n        ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_PROJECTS_CAPTION_TITLE"),context:t.context,field:"Title",rules:"required",alvqa:t.alvqa+"-textfield-project-title"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),alvqa:t.alvqa+"-textfield-alvid",clearable:!1,readonly:!0}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_PROJECTS_CAPTION_PROJECT_NUMBER"),field:"Projectnumber",context:t.context,alvqa:t.alvqa+"-textfield-catalogue-number"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ProjectDate",label:t.$t("lang_LABEL_PROJECTS_CAPTION_PROJECT_START_DATE"),alvqa:t.alvqa+"-datepicker-project-date"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{label:t.$t("lang_LABEL_PROJECTS_CAPTION_URL"),field:"Url",context:t.context,alvqa:t.alvqa+"-textfield-url"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tags",label:t.$t("lang_PUBLISHING_RELEASES_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tag"}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("LabelProjectsReleasesEditPanel"),a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("SearchDialog",{attrs:{context:"Projects",subcontext:"ProjectsReleases",searchcontext:"ProjectsReleases",addcontext:"ReleaseToProjects",addButtonLabel:"lang_LABEL_PROJECTS_BUTTON_CAPTION_ADD_RELEASES",dialogTitle:"lang_LABEL_PROJECTS_BUTTON_CAPTION_ADD_RELEASES",alvqaContext:t.alvqa},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n                "+t._s(a.name)+"\n            ")]}},{key:"itemSubtitle",fn:function(e){var a=e.item;return[t._v("\n                EAN: "+t._s(null!==a.ean?a.ean:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" | \n                "+t._s(t.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER"))+": "+t._s(null!==a.catalogueNumber?a.catalogueNumber:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" |\n                "+t._s(t.$t("lang_LABEL_RELEASE_CAPTION_FIRST_MAIN_ARTIST"))+": "+t._s(null!==a.performer?t.$alvPlugin.getArtistOrPerformerName(a.performer):t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n            ")]}}])})]},proxy:!0}])})},bE=[],PE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_RELEASES",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",disabled:"new"===t.$route.params.alvId,alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-release-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.tracks",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-tracks"}},[t._v("\n                    "+t._s(n.tracks)+"\n                ")])]}},{key:"item.displayArtist",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-display-artist"}},[t._v("\n                    "+t._s(n.displayArtist)+"\n                ")])]}},{key:"item.ean",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-ean"}},[t._v("\n                    "+t._s(n.ean)+"\n                ")])]}},{key:"item.catalogueNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-catalogue-number"}},[t._v("\n                    "+t._s(n.catalogueNumber)+"\n                ")])]}},{key:"item.dateRetail",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-date-retail"}},[t._v("\n                    "+t._s(null!==n.dateRetail?t.$d(new Date(n.dateRetail),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.dateDigital",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-date-digital"}},[t._v("\n                    "+t._s(null!==n.dateDigital?t.$d(new Date(n.dateDigital),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)})]},proxy:!0}])})},DE=[],NE={name:"LabelProjectsReleasesEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt},data:function(){return{alvqa:"label-projects-edit-form-panel-releases"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_RELEASES_CAPTION_TITLE"),value:"title",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_NUMBER_OF_TRACKS"),value:"tracks",align:"right",sortable:!1,width:"100px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_DISPLAY_ARTIST"),value:"displayArtist",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_EAN_UPC"),value:"ean",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASE_CAPTION_CATALOGUE_NUMBER"),value:"catalogueNumber",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_PHYSICAL"),value:"dateRetail",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DATE_DIGITAL"),value:"dateDigital",align:"left",sortable:!0,class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelProjectsReleases}},methods:{addNewRow:function(){this.$store.commit("setShowSearchDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedProjectsReleases",t),this.$store.commit("setDeletionDialogContext","SelectedProjectsReleases"),this.$store.commit("setShowDeletionDialog",!0)}}},RE=NE,xE=Object(C["a"])(RE,PE,DE,!1,null,null,null),OE=xE.exports,wE={name:"LabelProjectsEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDatePicker:$r,LabelProjectsReleasesEditPanel:OE,SearchDialog:ys,DeletionDialog:Cs},data:function(){return{context:"LabelProjects",alvqa:"label-projects-edit-form"}}},LE=wE,yE=Object(C["a"])(LE,TE,bE,!1,null,null,null),qE=yE.exports,kE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"SelectedSalesData"}}),a("RunErrorListDialog",{attrs:{context:t.context}}),a("InlineEditingListpageDialog",{attrs:{listPageContext:t.context}}),a("MoveIntoCompanyDialog",{attrs:{context:"LabelSalesData",message:t.$t("lang_LABEL_SALESDATA_DIALOG_CAPTION_MOVE_SALESDATA")}}),a("FileImportDialog",{attrs:{context:t.context,alvqaContext:t.alvqa+"-list"},scopedSlots:t._u([{key:"importOptions",fn:function(){return[a("div",{attrs:{align:"center"}},[a("BasePeriod",{attrs:{context:"ImportDialog",periodLabel:"lang_GENERAL_CAPTION_UPLOADER_PERIOD_OPTIONAL",widthTimeUnitField:"4",undefinedTimeUnit:!0,justify:"center"}})],1),t.withAbbreviation?a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{field:"Abbreviation",label:t.$t("lang_GENERIC_CAPTION_ABBREVIATION"),items:t.abbreviationsOptions,context:t.context,withMargin:!1,clearable:!0,alvqa:t.alvqa+"-dropdown-abbreviation"}})],1)],1):t._e(),a("v-row",[a("v-col",{staticClass:"pb-1"},[a("span",{staticClass:"black-label"},[a("v-checkbox",{staticClass:"mt-0",attrs:{value:"runErrorLists","hide-details":"",color:"generalCheckbox",alvqa:t.alvqa+"-list-file-import-dialog-checkbox-run-error-lists"},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",attrs:{alvqa:t.alvqa+"-list-file-import-dialog-checkbox-run-error-lists"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_UPLOADER_RUN_ERROR_LISTS")))])]},proxy:!0}]),model:{value:t.selectedImportCheckboxes,callback:function(e){t.selectedImportCheckboxes=e},expression:"selectedImportCheckboxes"}})],1)])],1),a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ImportCommissionPercent",label:t.$t("lang_PUBLISHING_INCOME_CAPTION_COMMISSION_PERCENT"),withMargin:!1,rules:"percent3Decimals",alvqa:t.alvqa+"-textfield-commission-percent"}})],1),a("v-col",{staticClass:"pb-0",attrs:{cols:"7"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ImportCurrencyConversionFactor",label:t.$t("lang_LABEL_SALES_DATA_IMPORT_DIALOG_CAPTION_CONVERSION_FACTOR"),withMargin:!1,alvqa:t.alvqa+"-list-file-import-dialog-textfield-currency-conversion-factor"}})],1)],1)]},proxy:!0}])}),a("BaseListPage",{attrs:{headline:"lang_LABEL_SALES_DATA",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,editInlineFunction:t.inlineEditing,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("SalesDataTopslot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand",color:n.item.errorListExists?"standardBrownIcon":"buttonStandard"}}),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.source))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-source"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(n.item.source)+"\n\t\t\t\t\t\t\t\t\t")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-period"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$alvPlugin.displayPeriod(n.item.period))+"\n\t\t\t\t\t\t")]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-sum"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$alvPlugin.getNumberLocalization(n.item.sum,"number"))+"\n\t\t\t\t\t\t")]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-records"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.records,"numberInteger"))+"\n                        ")]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.fileName))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-file-name"}},[t._v(t._s(n.item.fileName))])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$d(new Date(n.item.importDate),"alvDateTime"),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-import-date"}})],1),a("td",{staticClass:"text-right ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getNumberLocalization(n.item.conversionFactor,"decimal8"),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-list-ccf"}})],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("SalesDataReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},BE=[],$E=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"SalesData",alvqa:t.alvqa}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",additionalFunction:t.setImporterSourceAlvId,alvqa:t.alvqa}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"SalesData",typeStats:"LIST",alvqa:"label-sales_data-list"}})],1):t._e()],1)],1)},GE=[],FE={name:"SalesDataTopSlot",components:{ImportButton:Yn,BaseHeaderStats:ti,ActionDropdown:Mn},data:function(){return{alvqa:"label-sales-data"}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},importOptions:function(){var t=this,e=this.$store.getters.getSalesDataImportOptions||[];return e.forEach((function(e){return e.alvqa="".concat(t.alvqa,"-list-import-dropdown-").concat(e.alvId)})),e},actions:function(){return[{text:this.$t("lang_GENERAL_ACTION_OPTION_UPDATE_ERROR_LIST"),value:"runErrorLists",alvqa:this.alvqa+"-list-action-dropdown-run-error-list"},{text:this.$t("lang_GENERAL_ACTION_OPTION_EXPORT_ERROR_LIST"),value:"downloadErrorList",alvqa:this.alvqa+"-list-action-dropdown-export-error-list"},{text:this.$t("lang_GENERIC_ACTION_CREATE_INVOICE"),value:"createFromSalesData",alvqa:this.alvqa+"-list-action-dropdown-create-invoice"},{text:this.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_MOVE"),value:"move",alvqa:this.alvqa+"-list-action-dropdown-move"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]},setImporterSourceAlvId:function(){var t=this.$store.getters.getSelectedFileImport,e=this.$store.getters.getSalesDataImportOptions;if(e){var a=e.find((function(e){return e.value==t}));a&&(this.$store.commit("setSalesDataDetailsAlvIdOfSource",a.alvId),this.$store.commit("setSalesDataDetailsFileExtensions",a.fileExtensions))}}},created:function(){this.$store.dispatch("fetchSalesDataImporters")}},UE=FE,ME=Object(C["a"])(UE,$E,GE,!1,null,null,null),WE=ME.exports,jE=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.fileName)+"\n            ("+t._s(t.$t("lang_GENERAL_CAPTION_NUMBER_OF_ERRORS"))+": "+t._s(t.item.numberOfTotalRows)+")\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{headers:t.headers,"hide-default-footer":"",items:t.item.list,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.title+" ("+t.$t("lang_PUBLISHING_INCOME_CAPTION_ERRORS")+": "+n.numberOfRows+")",alvqa:t.alvqa+"-error-list-text-track-releases-title"}})],1)]}},{key:"item.artist",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.artist,alvqa:t.alvqa+"-error-list-text-artist"}})],1)]}},{key:"item.isrc",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-isrc"}},[t._v("\n                        "+t._s(n.isrc)+"\n                    ")])]}},{key:"item.catalogueNo",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-catalogue-number"}},[t._v("\n                        "+t._s(n.catalogueNo)+"\n                    ")])]}},{key:"item.ean",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-upc-ean"}},[t._v("\n                        "+t._s(n.ean)+"\n                    ")])]}},{key:"item.salesType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-sales-type"}},[t._v("\n                        "+t._s(n.salesType)+"\n                    ")])]}},{key:"item.error",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-error-list-text-description"}},[t._v("\n                        "+t._s(n.error)+"\n                    ")])]}}],null,!0)})],1)],1)],1)},zE=[],HE={name:"SalesDataReadOnly",components:{BaseTooltip:T},props:{itemId:Number},data:function(){return{alvqa:"label-salesdata-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this;return this.$store.getters.getExpandedSalesData.find((function(e){return e.id===t.itemId}))},headers:function(){return[{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_TRACK_ALBUM_NAME"),value:"title",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-track-releases-title"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_ARTIST"),value:"artist",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-artist"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_ISRC"),value:"isrc",align:"left",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-error-list-header-isrc"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_CAT_NO"),value:"catalogueNo",align:"left",class:"text-no-wrap",width:"120px",sortable:!1,alvqa:this.alvqa+"-error-list-header-catalogue-number"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_UPC_EAN"),value:"ean",align:"left",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-error-list-header-upc-ean"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),value:"salesType",align:"left",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-error-list-header-sales-type"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_ERROR_DESCRIPTION"),value:"error",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-error-list-header-error-description"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}}},VE=HE,YE=(a("666f"),Object(C["a"])(VE,jE,zE,!1,null,null,null)),KE=YE.exports;function ZE(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function XE(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?ZE(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ZE(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var JE={name:"SalesDataList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,BasePeriod:Zd,BaseEditPageTextField:Ut,ExpandIcon:is,BaseEditPageDropdown:me,SalesDataTopslot:WE,SalesDataReadOnly:KE,FileImportDialog:Ns,DeletionDialog:Cs,SelectionRequiredDialog:hs,RunErrorListDialog:rg,InlineEditingListpageDialog:gg,MoveIntoCompanyDialog:fg},data:function(){return{context:"SalesData",alvqa:"label-sales-data"}},computed:XE({},Object(u["c"])(["getSalesDataSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"source",align:"left",sortable:!1,width:"200px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_PERIOD"),value:"period",align:"right",sortable:!0,width:"150px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_SUM")+" "+this.$store.getters.getSelectedCurrency,value:"sum",align:"right",sortable:!1,width:"180px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_RECORDS"),value:"records",align:"right",sortable:!1,width:"90px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_FILE_NAME"),value:"fileName",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_IMPORT"),value:"importDate",align:"left",sortable:!0,width:"180px",class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_CCF"),value:"conversionFactor",align:"right",sortable:!1,width:"90px",class:"text-no-wrap"},{text:"",value:"ghost",sortable:!1,width:"1%",class:"text-no-wrap"},{text:"",value:"downloadLink",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},selectedImportCheckboxes:{get:function(){return this.$store.getters.getSelectedImportDialogCheckboxes},set:function(t){this.$store.commit("setSelectedImportDialogCheckboxes",t)}},withAbbreviation:function(){var t=this.$store.getters.getSelectedFileImport,e=this.$store.getters.getSalesDataImportOptions;if(e){var a=e.find((function(e){return e.value==t}));return!(!a||!a.mappings)&&(this.$store.commit("setSalesDataDetailsAbbreviation",a.mappings[0].value),!0)}},abbreviationsOptions:function(){var t=this.$store.getters.getSelectedFileImport;return this.$store.getters.getSalesDataImportOptions.find((function(e){return e.value==t})).mappings}}),methods:{inlineEditing:function(t){this.$store.commit("setSelectedSalesData",[]),this.$store.commit("setIsAllSelectedSalesData",!1),this.$store.commit("setSelectedSalesData",t.alvId);var e=this.$store.getters.getSalesData.find((function(e){return e.alvId===t.alvId})),a=JSON.parse(JSON.stringify(e));null!==a.conversionFactor&&(a.conversionFactor=this.$i18n.n(a.conversionFactor,"decimal8")),this.$store.commit("setSalesDataInlineEditingDialogDetails",a),this.$store.commit("setShowInlineEditingDialog",!0)}}},QE=JE,tI=Object(C["a"])(QE,kE,BE,!1,null,null,null),eI=tI.exports,aI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("PeriodRequiredDialog"),a("DeletionDialog",{attrs:{context:"SelectedLabelStatementsArchive"}}),a("LabelStatementsArchivingDialog"),a("StatementPreviewDialog",{attrs:{context:"LabelStatements",dir:"label/statements"}}),a("BaseListPage",{attrs:{headline:"lang_LABEL_STATEMENTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"period",fn:function(){return[a("BasePeriod",{staticClass:"pt-2 pl-3",attrs:{context:t.context,widthYearField:"2",widthNumberField:"1",periodLabel:"lang_GENERIC_CAPTION_PERIOD"}})]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"2",alvqa:t.alvqa,differentItemsPerPage:400,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("LabelStatementsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand",color:n.item.archiveRowsExist?"buttonStandard":"standardBrownIcon"}}),a("td",{staticClass:"no_ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(null!==n.item.alvId?t.$alvPlugin.getArtistOrPerformerName(n.item.licensor)+" ("+n.item.alvId+")":""))]},proxy:!0},{key:"content",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-interested-party"}},[t._v("\n                                    "+t._s(t.$alvPlugin.getArtistOrPerformerName(n.item.licensor))+" \n                                    ")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-period"}},[t._v(t._s(t.$alvPlugin.displayPeriod(n.item.period)))]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-expected-sum"}},[t._v(t._s(t.$alvPlugin.getNumberLocalization(n.item.expectedSum,"number")))]),a("td",{staticClass:"text-right"},[t._v(t._s(null!==n.item.createdOn?t.$d(new Date(n.item.createdOn),"alvDateTime",t.$i18n.locale):""))])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("LabelStatementsReadonly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},nI=[],iI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:t.context,alvqa:t.alvqa}}),a("ReportButton",{attrs:{items:t.reportOptions,context:"FileReport",alvqa:t.alvqa,cols:"2"}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"LabelStatements",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-col",{staticClass:"mt-2",attrs:{cols:"2","align-self":"center"}},[t.$store.getters.getIsLabelStatementsRunning?a("BaseButton",{attrs:{label:"lang_GENERIC_BUTTON_CAPTION_CHECK_STATUS",block:"",alvqa:t.alvqa+"-list-button-check-statement-status"},on:{click:function(e){return t.checkStatus()}}}):t._e()],1)],1)],1)},sI=[],rI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-col",{attrs:{cols:t.cols}},[a("v-select",{attrs:{items:t.items,label:t.$t("lang_GENERIC_ACTION_BULK_FILE_IMPORT_REPORT"),"menu-props":"offset-y, offset-overflow",outlined:!0,hideDetails:!0,alvqa:t.alvqa+"-list-import-dropdown","no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE")},on:{input:t.run,"click:clear":function(e){return t.resetVal()}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-no-wrap text-truncate",attrs:{alvqa:n.alvqa}},[t._v("\n                "+t._s(n.text)+"\n            ")])]}}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1)},lI=[],oI={name:"ReportButton",extends:ce.a,props:{cols:{type:String|Number,default:"3"},alvqa:{type:String,default:""},context:String},computed:{selected:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$store.commit("setSelected"+this.context,t)}}},methods:{run:function(){this.$store.dispatch("do"+this.context)},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},cI=oI,uI=Object(C["a"])(cI,rI,lI,!1,null,null,null),dI=uI.exports,gI={name:"LabelStatementsTopSlot",components:{ActionDropdown:Mn,ReportButton:dI,BaseHeaderStats:ti,BaseButton:wt},data:function(){return{context:"LabelStatements",alvqa:"label-statements"}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_GENERIC_ACTION_OPTION_CAPTION_LAUNCH_STATEMENT_PREVIEW"),value:"launchStatementRun",alvqa:this.alvqa+"-list-action-dropdown-run-statement"},{text:this.$t("lang_GENERAL_CAPTION_ARCHIVE_WITH_CARRY_FORWARD"),value:"archiveWithForwarded",alvqa:this.alvqa+"-list-action-dropdown-archive-with-forwarded"},{text:this.$t("lang_GENERAL_CAPTION_ARCHIVE_WITHOUT_CARRY_FORWARD"),value:"archiveWithoutForwarded",alvqa:this.alvqa+"-list-action-dropdown-archive-without-forwarded"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_DOWNLOAD_BULK"),value:"bulkDownload",alvqa:this.alvqa+"-list-action-dropdown-bulk-download"}]},reportOptions:function(){return[{text:this.$t("lang_LABEL_STATEMENTS_BALANCE_REPORT_ACCOUNT_BALANCES"),value:"balanceReportLabelStatements",alvqa:this.alvqa+"-list-report-dropdown-balance-report"},{text:this.$t("lang_GENERAL_CAPTION_PAYMENT_LIST"),value:"paymentListLabelStatements",alvqa:this.alvqa+"-list-report-dropdown-payment-list"}]}},methods:{checkStatus:function(){this.$store.dispatch("checkStatusOfStatementsRun",{context:"LabelStatements",dir:"label/statements"})}}},pI=gI,vI=Object(C["a"])(pI,iI,sI,!1,null,null,null),_I=vI.exports,hI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{staticClass:"pl-0",attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.archivingHeaders,items:t.item.archiveRows,expanded:t.expandedItems,"show-expand":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([t._l(t.archivingHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard"}},n?[t._v("fa-arrow-alt-circle-down")]:[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.archivePeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-period"}},[t._v("\n                            "+t._s(null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$alvPlugin.displayPeriod(n.archivePeriod))+"\n                        ")])]}},{key:"item.forward",fn:function(e){var n=e.item;return[a("v-chip",{attrs:{small:"",color:n.forward?"standard":"standardBrownIcon",alvqa:t.alvqa+"-archive-"+n.id+"-chip-carry-forward"}},[t._v("\n                            "+t._s(n.forward?t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_CARRY_FORWARD"):t.$t("lang_LABEL_STATEMENTS_CHIP_CAPTION_WITHOUT_CARRY_FORWARD"))+"\n                        ")])]}},{key:"item.net",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-net"}},[t._v("\n                            "+t._s(null!==n.net?t.$n(n.net,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                        ")])]}},{key:"item.sum",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-sum"}},[t._v("\n                            "+t._s(null!==n.sum?t.$n(n.sum,"number"):null===n.archivePeriod?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):t.$n(0,"number"))+"\n                        ")])]}},{key:"item.creditNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-credit-number"}},[t._v("\n                            "+t._s(null===n.creditNumber?t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):n.creditNumber)+"\n                        ")])]}},{key:"item.archivedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-archive-"+n.id+"-text-archiving-date"}},[t._v("\n                            "+t._s(null!==n.archivedOn?t.$d(new Date(n.archivedOn),"alvDateTime",t.$i18n.locale):"")+"\n                        ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"#d1d1d1",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-archive-"+n.id+"-icon-delete"},on:{click:function(e){return e.stopPropagation(),t.deleteArchiveLine(n)}}})]}},{key:"item.path",fn:function(e){var n=e.item;return[null!==n.path?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",alvqa:t.alvqa+"-archive-"+n.id+"-icon-download"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.path)}}}):t._e()]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.archivingHeaders.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.contractGroupsHeaders,"hide-default-footer":"",items:n.contracts,"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.contractGroupsHeaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.sheetNumber}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.contractGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-contract-group"}},[t._v("\n                                                    "+t._s("regular"===n.typeOfContract?t.$t("lang_LABEL_STATEMENTS_REGULAR_CONTRACT"):"crossRecouped"===n.typeOfContract?t.$t("lang_LABEL_STATEMENTS_CROSS_RECOUPED"):"")+"\n                                                ")])]}},{key:"item.result",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-result"}},[t._v("\n                                                    "+t._s(null!==n.result?t.$n(n.result,"number"):t.$n(0,"number"))+"\n                                                ")])]}},{key:"item.carryForward",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-carry-forward"}},[t._v("\n                                                    "+t._s(null!==n.carryForward?t.$n(n.carryForward,"number"):t.$n(0,"number"))+"\n                                                ")])]}},{key:"item.returns",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-reserve-from-previous"}},[t._v("\n                                                            "+t._s(null!==n.reserveFromPrevious?t.$n(n.reserveFromPrevious,"number"):t.$n(0,"number"))+" / \n                                                        ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_LABEL_STATEMENTS_PREVIOUS_RESERVE")))]},proxy:!0}],null,!0)}),a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-reserve"}},[t._v("\n                                                            "+t._s(null!==n.reserve?t.$n(n.reserve,"number"):t.$n(0,"number"))+" /\n                                                        ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_LABEL_STATEMENTS_CURRENT_RESERVE")))]},proxy:!0}],null,!0)}),a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-reserve"}},[t._v("\n                                                            "+t._s(null!==n.resolution?t.$n(n.resolution,"number"):t.$n(0,"number"))+"\n                                                        ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$t("lang_LABEL_STATEMENTS_WITHHOLD_RESERVE")))]},proxy:!0}],null,!0)})]}},{key:"item.advance",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-advance"}},[t._v("\n                                                    "+t._s(null!==n.advance?t.$n(n.advance,"number"):t.$n(0,"number"))+"\n                                                ")])]}},{key:"item.costs",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-contract-group-"+n.id+"-text-costs"}},[t._v("\n                                                    "+t._s(null!==n.costs?t.$n(n.costs,"number"):t.$n(0,"number"))+"\n                                                ")])]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})],1)],1)],1)},mI=[],fI={name:"LabelStatementsReadonly",props:{itemId:{type:Number}},components:{BaseIcon:N,BaseTooltip:T},data:function(){return{expandedItems:[],alvqa:"label-statements-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedLabelStatements.find((function(e){return e.id===t.itemId}));return e},archivingHeaders:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_ARCHIVE_PERIOD"),value:"archivePeriod",align:"left",sortable:!1,width:"140px",alvqa:this.alvqa+"-archive-header-period"},{text:"",value:"forward",align:"left",sortable:!1,width:"170px"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_NET")+" "+this.$store.getters.getSelectedCurrency,value:"net",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-net"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_GROSS")+" "+this.$store.getters.getSelectedCurrency,value:"sum",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-archive-header-sum"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_CREDIT_NUMBER"),value:"creditNumber",align:"right",sortable:!1,width:"190px",alvqa:this.alvqa+"-archive-header-credit-number"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_ARCHIVED_ON"),value:"archivedOn",align:"right",sortable:!1,width:"200px",alvqa:this.alvqa+"-archive-header-archived-on"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"path",align:"right",sortable:!1,width:"70px"}]},contractGroupsHeaders:function(){return[{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_CONTRACT_GROUP"),value:"contractGroup",align:"left",sortable:!1,width:"290px",alvqa:this.alvqa+"-contracts-header-contract-group"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_RESULT")+" "+this.$store.getters.getSelectedCurrency,value:"result",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-contracts-header-result"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_CARRY_FORWARD")+" "+this.$store.getters.getSelectedCurrency,value:"carryForward",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-contracts-header-carry-forward"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_RETURNS")+" "+this.$store.getters.getSelectedCurrency,value:"returns",align:"right",sortable:!1,width:"160px",alvqa:this.alvqa+"-contracts-header-returns"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_ADVANCE")+" "+this.$store.getters.getSelectedCurrency,value:"advance",align:"right",sortable:!1,width:"200px",alvqa:this.alvqa+"-contracts-header-advance"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_COSTS")+" "+this.$store.getters.getSelectedCurrency,value:"costs",align:"right",sortable:!1,width:"160px",alvqa:this.alvqa+"-contracts-header-costs"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteArchiveLine:function(t){var e,a=this;this.$store.getters.getExpandedLabelStatements.forEach((function(t){t.id===a.itemId&&(e=t.alvId)})),this.$store.commit("setSelectedLabelStatementsForDeleteArchive",e),this.$store.commit("setSelectedLabelStatementsArchive",t),this.$store.commit("setDeletionDialogContext","SelectedLabelStatementsArchive"),this.$store.commit("setShowDeletionDialog",!0)},downloadFile:function(t){k$.getFileFromALV(t)}}},SI=fI,EI=(a("5784"),Object(C["a"])(SI,hI,mI,!1,null,null,null)),II=EI.exports,CI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_LABEL_STATEMENTS_DIALOG_CAPTION_ARCHIVING",close:t.closeDialog,alvqa:t.alvqa,maxCardHeight:"600",maxDialogWidth:"700"},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[t.checkIfSomeRowsNotArchivable?a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"warning-text"}},[t._v("\n                    "+t._s(t.$t("lang_LABEL_STATEMENTS_ARCHIVING_WARNING_NO_RESULTS"))+" "),a("br"),a("br"),t._v("\n                    "+t._s(t.getNameOfNotArchivableStatements())+"\n                ")])],1):t._e(),t.checkIfNoneAreArchivable?a("v-row",[a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"close-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"))+"\n                ")])],1):t._e(),a("v-row",[t.checkIfNoneAreArchivable?t._e():a("v-col",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.getDialogText)}})],1),a("v-row",[a("v-col",[a("v-text-field",{attrs:{label:t.$t("lang_GENERAL_CAPTION_ADD_TAG"),"hide-details":"",alvqa:t.alvqa+"-textfield-add-tag"},model:{value:t.addTag,callback:function(e){t.addTag=e},expression:"addTag"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end pl-0 pt-0",attrs:{"align-self":"center"}},[t.archivingIsInProgress?a("v-progress-circular",{staticClass:"mr-5",attrs:{alvqa:t.alvqa+"-progress-bar",indeterminate:"",color:"dialogProgressbar"}}):t._e(),a("BaseButton",{attrs:{disabled:t.checkIfNoneAreArchivable||t.archivingIsInProgress,label:t.getButtonLabel,alvqa:t.alvqa+"-button-save"},on:{click:t.archive}})],1)],1)],1)]},proxy:!0}])})},AI=[],TI={name:"LabelStatementsArchivingDialog",data:function(){return{alvqa:"label-statements-archiving-dialog"}},components:{BaseDialog:Pt,BaseButton:wt},computed:{addTag:{get:function(){return this.$store.getters.getAddTag},set:function(t){null!=t?this.$store.commit("setAddTag",t.replace(/\s/g,"")):this.$store.commit("setAddTag",null)}},showDialog:{get:function(){return this.$store.getters.getShowLabelStatemtensArchivingDialog},set:function(t){this.$store.commit("setShowLabelStatemtensArchivingDialog",t)}},archivingIsInProgress:function(){return this.$store.getters.getArchivingInProgress},getButtonLabel:function(){var t=this.$store.getters.getSelectedLabelStatementsAction,e="";return"archiveWithForwarded"===t&&(e="lang_GENERAL_CAPTION_ARCHIVE_WITH_CARRY_FORWARD"),"archiveWithoutForwarded"===t&&(e="lang_GENERAL_CAPTION_ARCHIVE_WITHOUT_CARRY_FORWARD"),e},getDialogText:function(){var t=this,e=this.$t("lang_LABEL_STATEMENTS_ARCHIVING_DIALOG_TEXT");return e=e.replace(/<archiving>/gi,(function(e){return{"<archiving>":t.$t(t.getButtonLabel)}[e]})),e},checkIfNoneAreArchivable:function(){var t=this.getSelectedStatementsDetails();return t.every((function(t){return"no"===t.archivable}))},checkIfSomeRowsNotArchivable:function(){var t=this.getSelectedStatementsDetails();return t.some((function(t){return"no"===t.archivable}))}},methods:{closeDialog:function(){this.showDialog=!1,this.$store.commit("setSelectedLabelStatementsAction",[]),this.$store.commit("setAddTag",null)},archive:function(){this.$store.dispatch("archiveLabelStatements")},getSelectedStatementsDetails:function(){var t=this.$store.getters.getSelectedLabelStatements,e=this.$store.getters.getLabelStatements,a=[];return t.forEach((function(t){var n=e.find((function(e){return t===e.alvId}));a.push(n)})),a},getNameOfNotArchivableStatements:function(){var t=this,e=this.getSelectedStatementsDetails(),a=[];return e.forEach((function(e){"no"===e.archivable&&a.push(t.$alvPlugin.getArtistOrPerformerName(e.licensor))})),a.join(", ")}}},bI=TI,PI=Object(C["a"])(bI,CI,AI,!1,null,null,null),DI=PI.exports;function NI(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function RI(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?NI(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):NI(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var xI,OI={name:"LabelStatementsList",components:{BaseListPage:yn,BaseDataTableList:En,BasePeriod:Zd,ExpandIcon:is,BaseTooltip:T,LabelStatementsTopSlot:_I,LabelStatementsReadonly:II,SelectionRequiredDialog:hs,PeriodRequiredDialog:ap,DeletionDialog:Cs,LabelStatementsArchivingDialog:DI,StatementPreviewDialog:Zg},data:function(){return{context:"LabelStatements",alvqa:"label-statements"}},computed:RI({},Object(u["c"])(["getLabelStatementsSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",sortable:!1,width:"60px"},{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_LICENSOR"),value:"licensor",align:"left",sortable:!0},{text:this.$t("lang_GENERIC_CAPTION_PERIOD"),value:"period",align:"right",sortable:!1},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_PREVIEW")+" "+this.$store.getters.getSelectedCurrency,value:"expectedSum",align:"right",sortable:!0,width:"180px"},{text:this.$t("lang_LABEL_STATEMENTS_CAPTION_CREATED_ON"),value:"createdOn",align:"right",sortable:!0},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"downloadLink",align:"right",sortable:!1,width:"70px"}]}})},wI=OI,LI=Object(C["a"])(wI,aI,nI,!1,null,null,null),yI=LI.exports,qI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"labelStatisticsValidation",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("v-container",{staticClass:"pt-0 pb-0",staticStyle:{"background-color":"var(--v-listPageBackground-base)"},attrs:{fluid:""}},[a("LabelStatisticsCreateNewFavoriteDialog"),a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-list-title"}},[t._v("\n            "+t._s(t.$t("lang_LABEL_STATISTICS"))+"\n        ")])],1),a("v-row",{staticClass:"my-0",staticStyle:{"background-color":"var(--v-listPageFilterBackground-base)"}},[a("v-col",{staticClass:"py-0"},[a("ProductDialog",{attrs:{open:t.productDialogOpen,context:t.context},on:{close:function(e){t.productDialogOpen=!1}},model:{value:t.selectedProduct,callback:function(e){t.selectedProduct=e},expression:"selectedProduct"}})],1),a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"SalesType",field:"SalesType",hideErrorMessage:!1,label:"lang_GENERIC_CAPTION_SALES_TYPE",items:t.salesTypeValues,multiple:!0,alvqa:t.alvqa+"-list-dropdown-sales-types",rules:"required"}})],1),a("v-col",{staticClass:"py-0"},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Artist",label:t.$t("lang_ARTIST"),withMargin:!1,multiple:!1,withFreeText:!1,isLoading:!0,returnObject:!1,rules:"",alvqa:t.alvqa+"-dropdown-artist"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[t._v("\n                    "+t._s(t.$alvPlugin.showNameOfAzEntry(a.artist,!0)+" ("+a.artist.alvId+")")+"\n                ")]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",[a("v-list-item-title",[t._v("\n                            "+t._s(t.$alvPlugin.showNameOfAzEntry(n.artist,!0)+" ("+n.artist.alvId+")")+"\n                        ")])],1)]}}],null,!0)})],1),a("v-col",{staticClass:"py-0"},[a("RegionsDialog",{attrs:{context:t.context}})],1),a("span",{staticClass:"pt-4"},[a("BaseIcon")],1)],1),a("v-row",{staticClass:"my-0"},[a("v-col",{staticClass:"py-0"},[a("v-menu",{ref:"fromMonthMenu",attrs:{"min-width":"auto","offset-y":"","close-on-content-click":!1,"return-value":t.fromValue},on:{"update:returnValue":function(e){t.fromValue=e},"update:return-value":function(e){t.fromValue=e}},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("ValidationProvider",{attrs:{name:"toMonth",rules:"required|statisticsCheckToFromMonthOrder",slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.errors;return[a("v-text-field",t._g({attrs:{value:t.getFormattedDateFrom,label:t.$t("lang_LABEL_STATISTICS_CAPTION_FROM_MONTH"),readonly:"",clearable:"",loading:t.loading,alvqa:t.alvqa+"-textfield-from-month","error-messages":i},on:{"click:clear":function(e){return t.resetFromValue()}}},n))]}}],null,!0)})]}}],null,!0),model:{value:t.fromMonthMenu,callback:function(e){t.fromMonthMenu=e},expression:"fromMonthMenu"}},[a("v-date-picker",{attrs:{locale:t.$i18n.locale,color:"buttonStandard","no-title":"",type:"month",alvqa:t.alvqa+"-datepicker-from-month"},model:{value:t.fromValue,callback:function(e){t.fromValue=e},expression:"fromValue"}},[a("v-spacer"),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){t.fromMonthMenu=!1}}}),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_OK",alvqa:t.alvqa+"-button-ok"},on:{click:function(e){return t.$refs.fromMonthMenu.save(t.fromValue)}}})],1)],1)],1),a("v-col",{staticClass:"py-0"},[a("v-menu",{ref:"toMonthMenu",attrs:{"min-width":"auto","offset-y":"","close-on-content-click":!1,"return-value":t.toValue},on:{"update:returnValue":function(e){t.toValue=e},"update:return-value":function(e){t.toValue=e}},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("ValidationProvider",{attrs:{name:"fromMonth",rules:"required|statisticsCheckToFromMonthOrder",slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.errors;return[a("v-text-field",t._g({attrs:{value:t.getFormattedDateTo,label:t.$t("lang_LABEL_STATISTICS_CAPTION_TO_MONTH"),readonly:"",clearable:"",loading:t.loading,alvqa:t.alvqa+"-textfield-to-month","error-messages":i},on:{"click:clear":function(e){return t.resetToValue()}}},n))]}}],null,!0)})]}}],null,!0),model:{value:t.toMonthMenu,callback:function(e){t.toMonthMenu=e},expression:"toMonthMenu"}},[a("v-date-picker",{attrs:{locale:t.$i18n.locale,color:"buttonStandard","no-title":"",type:"month",alvqa:t.alvqa+"-datepicker-to-month"},model:{value:t.toValue,callback:function(e){t.toValue=e},expression:"toValue"}},[a("v-spacer"),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){t.toMonthMenu=!1}}}),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_OK",alvqa:t.alvqa+"-button-ok"},on:{click:function(e){return t.$refs.toMonthMenu.save(t.toValue)}}})],1)],1)],1),a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"Distributors",field:"Distributors",hideErrorMessage:!1,label:"lang_LABEL_STATISTICS_IN_ROWS_DISTRIBUTORS",items:t.distributorsValues,alvqa:t.alvqa+"-list-dropdown-distributors",multiple:!0,withMargin:!1}})],1),a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"Platforms",field:"Platforms",hideErrorMessage:!1,label:"lang_LABEL_STATISTICS_PLATFORMS",items:t.platformsValues,alvqa:t.alvqa+"-list-dropdown-platforms",multiple:!0,withMargin:!1,allSelect:!0}})],1),a("span",{staticClass:"pt-4"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-icon-csv",icon:"cloud_download",tooltipText:"lang_GENERIC_CAPTION_DOWNLOAD_CSV_REPORT"},on:{click:t.exportCsv}})],1)],1),a("v-row",{staticClass:"my-0"},[a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"LeftChart",field:"LeftChart",hideErrorMessage:!1,label:"lang_LABEL_STATISTICS_CAPTION_LEFT_CHART",items:t.leftChartValues,alvqa:t.alvqa+"-list-dropdown-left-chart",multiple:!1,withMargin:!1,rules:"required"}})],1),a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"RightChart",field:"RightChart",hideErrorMessage:!1,label:"lang_LABEL_STATISTICS_CAPTION_RIGHT_CHART",items:t.rightChartValues,alvqa:t.alvqa+"-list-dropdown-right-chart",multiple:!1,withMargin:!1,rules:"required"}})],1),a("v-col",{staticClass:"py-0"},[a("DropdownFilter",{attrs:{context:t.context+"DataTable",field:"DataTable",hideErrorMessage:!1,label:"lang_LABEL_STATISTICS_CAPTION_DATA_TABLE",items:t.dataTableValues,alvqa:t.alvqa+"-list-dropdown-data-table",multiple:!1,withMargin:!1,rules:"required"}})],1),a("v-col",{staticClass:"py-0"},[a("BaseDropdown",{attrs:{items:t.favoriteItems,label:t.$t("lang_GENERAL_FAVOURITE"),context:t.context+"Favorite",hideDetails:!0,returnObject:!0,clearable:!0,alvqa:t.alvqa+"-list-favorit-dropdown"}})],1),a("span",{staticClass:"pt-4"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:function(e){return n(t.labelStatisticReport)}}})],1)],1),t.showChartsSection?a("v-row",{staticClass:"mt-4",staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",[a("pie-chart",{attrs:{context:t.context+"First"}})],1),a("v-col",{staticClass:"d-flex flex-column"},[a("v-row",[a("v-col",{staticClass:"my-1"},[a("v-card",{attrs:{elevation:"2","max-width":"450"}},[t.cards.firstCard?a("div",{staticClass:"d-flex flex-column justify-center align-center",staticStyle:{height:"100%"}},[a("v-card-title",[t._v("\n                                "+t._s(t.$alvPlugin.isLangConst(t.cards.firstCard.text)?t.$t(t.cards.firstCard.text):t.firstCard.text)+"\n                            ")]),a("v-card-text",{staticClass:"text-center"},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(t.cards.firstCard.value,"number"))+" "+t._s(t.$store.getters.getSelectedCurrency)+"\n                            ")])],1):t._e()])],1),a("v-col",{staticClass:"my-1"},[a("v-card",{attrs:{elevation:"2","max-width":"450"}},[t.cards.secondCard?a("div",{staticClass:"d-flex flex-column justify-center align-center",staticStyle:{height:"100%"}},[a("v-card-title",[t._v("\n                                "+t._s(t.$alvPlugin.isLangConst(t.cards.secondCard.text)?t.$t(t.cards.secondCard.text):t.cards.secondCard.text)+"\n                            ")]),a("v-card-text",{staticClass:"text-center"},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(t.cards.secondCard.value,"number").slice(0,-3))+"\n                            ")])],1):t._e()])],1)],1),a("v-row",[a("v-col",{staticClass:"my-1"},[a("v-card",{attrs:{elevation:"2","max-width":"450"}},[t.cards.thirdCard?a("div",{staticClass:"d-flex flex-column justify-center align-center",staticStyle:{height:"100%"}},[a("v-card-title",[t._v("\n                                "+t._s(t.$alvPlugin.isLangConst(t.cards.thirdCard.text)?t.$t(t.cards.thirdCard.text):t.cards.thirdCard.text)+"\n                            ")]),a("v-card-text",{staticClass:"text-center"},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(t.cards.thirdCard.value,"number").slice(0,-3))+"\n                            ")])],1):t._e()])],1),a("v-col",{staticClass:"my-1"},[a("v-card",{attrs:{elevation:"2","max-width":"450"}},[t.cards.fourthCard?a("div",{staticClass:"d-flex flex-column justify-center align-center",staticStyle:{height:"100%"}},[a("v-card-title",[t._v("\n                                "+t._s(t.$alvPlugin.isLangConst(t.cards.fourthCard.text)?t.$t(t.cards.fourthCard.text):t.cards.fourthCard.text)+"\n                            ")]),a("v-card-text",{staticClass:"text-center"},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(t.cards.fourthCard.value,"number").slice(0,-3))+"\n                            ")])],1):t._e()])],1)],1)],1),a("v-col",[a("pie-chart",{attrs:{context:t.context+"Second"}})],1)],1):t._e(),t.showDataTable?a("v-row",{staticStyle:{"background-color":"var(--v-listPageHeadlineBackground-base)"}},[a("v-col",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-data-table-title"}},[t._v("\n            "+t._s(t.$t(t.dataTableTitle))+"\n        ")]),a("v-col",{attrs:{cols:"12"}},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.items,"items-per-page":1e3,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item",fn:function(e){var n=e.item;return[a("tr",[a("td",["lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_COUNTRIES"===t.dataTableTitle?a("span",[t._v("\n                                "+t._s(t.$alvPlugin.getTranslatedCountryCode(n.title))+"\n                            ")]):"lang_LABEL_STATISTICS_DATATABLE_DROPDOWN_TOP_100_ARTISTS"===t.dataTableTitle?a("span",[t._v("\n                                "+t._s(n.title)+"\n                                "),n.alvId?a("span",[t._v("\n                                    ("),a("router-link",{attrs:{to:t.$alvPlugin.createUrlForAlvId(n.alvId)}},[t._v(t._s(n.alvId))]),t._v(")\n                                ")],1):t._e()]):a("span",[t._v("\n                                "+t._s(n.title)+"\n                            ")])]),n.artist?a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-text-artist"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.artist))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-text-display-artist"}},[t._v("\n                                        "+t._s(n.artist)+"\n                                    ")])]},proxy:!0}],null,!0)})],1):t._e(),n.isrc||n.ean?a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-text-isrc"}},[t._v("\n                            "+t._s(n.isrc)+"\n                            "+t._s(n.ean)+"\n                        ")]):t._e(),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-number-quantity"}},[t._v("\n                            "+t._s(t.$alvPlugin.getNumberLocalization(n.quantity,"number").slice(0,-3))+"\n                        ")]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-number-revenue"}},[t._v("\n                            "+t._s(t.$alvPlugin.getNumberLocalization(n.revenue,"number"))+"\n                        ")])])]}}],null,!0)})],1)],1):t._e()],1)]}}])})},kI=[],BI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-dialog",{attrs:{width:"650",persistent:""},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("v-text-field",t._g({class:t.classes,attrs:{"hide-details":"",readonly:"",label:t.$t(t.label),alvqa:"label-statistics-textfield-regions"},model:{value:t.getRegionsString,callback:function(e){t.getRegionsString=e},expression:"getRegionsString"}},n))]}}]),model:{value:t.showRegionDialog,callback:function(e){t.showRegionDialog=e},expression:"showRegionDialog"}},[a("v-card",{attrs:{"min-height":"300","max-height":"400",color:"dialogStandardBackground"}},[a("v-toolbar",{attrs:{color:"dialogStandardHeaderBackground"}},[a("v-toolbar-title",{staticClass:"dialogStandardHeadlineText--text",attrs:{alvqa:t.alvqa+"-title"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_REGIONS")))]),a("v-spacer"),a("v-toolbar-items",{staticClass:"mt-4"},[a("BaseIcon",{attrs:{icon:"close",color:"iconCancel",alvqa:t.alvqa+"-icon-close"},on:{click:t.closeDialog}})],1)],1),a("v-card-text",[a("v-container",{attrs:{fluid:""}},[a("BaseRegions",{attrs:{context:"RegionDialog",includeCols:"6",excludeCols:"6",cols:"6",alvqa:t.alvqa,justify:"space-around"}})],1)],1),a("v-card-actions",[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-submit"},on:{click:t.submit}})],1)],1)],1)],1)],1)],1)},$I=[],GI={name:"RegionsDialog",components:{BaseRegions:Er,BaseIcon:N,BaseButton:wt},props:{context:String,label:{default:"lang_GENERAL_CAPTION_REGIONS",type:String},classes:String,rowRegions:{type:Object,default:null}},data:function(){return{alvqa:"dialog-regions"}},computed:{showRegionDialog:{get:function(){return this.$store.getters.getShowRegionDialog},set:function(t){this.$store.commit("setShowRegionDialog",t)}},originalInclude:{get:function(){return this.$store.getters["getSelected"+this.context+"Regions"].include},set:function(t){this.$store.commit("setSelected"+this.context+"RegionsInclude",t)}},originalExclude:{get:function(){return this.$store.getters["getSelected"+this.context+"Regions"].exclude},set:function(t){this.$store.commit("setSelected"+this.context+"RegionsExclude",t)}},getRegionsString:{get:function(){return this.$store.getters.getSelectedLabelStatisticsRegionsString},set:function(t){this.$store.commit("setSelectedLabelStatisticsRegionsString",t)}}},methods:{closeDialog:function(){null!==this.rowRegions?(this.$store.commit("setRegionDialogDetailsInclude",JSON.parse(JSON.stringify(this.rowRegions.include))),this.$store.commit("setRegionDialogDetailsExclude",JSON.parse(JSON.stringify(this.rowRegions.exclude)))):(this.$store.commit("setRegionDialogDetailsInclude",JSON.parse(JSON.stringify(this.originalInclude))),this.$store.commit("setRegionDialogDetailsExclude",JSON.parse(JSON.stringify(this.originalExclude)))),this.showRegionDialog=!1},submit:function(){null!==this.rowRegions?(this.rowRegions.include=JSON.parse(JSON.stringify(this.$store.getters.getRegionDialogDetailsInclude)),this.rowRegions.exclude=JSON.parse(JSON.stringify(this.$store.getters.getRegionDialogDetailsExclude))):(this.$store.commit("setSelected"+this.context+"RegionsInclude",JSON.parse(JSON.stringify(this.$store.getters.getRegionDialogDetailsInclude))),this.$store.commit("setSelected"+this.context+"RegionsExclude",JSON.parse(JSON.stringify(this.$store.getters.getRegionDialogDetailsExclude))));var t=this.$alvPlugin.createRegionsToString(this.$store.getters.getSelectedLabelStatisticsRegions);this.getRegionsString=t,this.showRegionDialog=!1}},created:function(){var t=[],e=[];null!==this.rowRegions?(t=JSON.parse(JSON.stringify(this.rowRegions.include)),e=JSON.parse(JSON.stringify(this.rowRegions.exclude))):(t=JSON.parse(JSON.stringify(this.originalInclude)),e=JSON.parse(JSON.stringify(this.originalExclude))),this.$store.commit("setRegionDialogDetailsInclude",t),this.$store.commit("setRegionDialogDetailsExclude",e)}},FI=GI,UI=Object(C["a"])(FI,BI,$I,!1,null,null,null),MI=UI.exports,WI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-dialog",{attrs:{width:"850",persistent:""},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("v-text-field",t._g({attrs:{"hide-details":"",readonly:"",label:t.$t("lang_LABEL_STATISTICS_PRODUCTS"),loading:t.loading,alvqa:"label-statistics-textfield-product"},model:{value:t.getProductString,callback:function(e){t.getProductString=e},expression:"getProductString"}},n))]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[a("v-card",{attrs:{"min-height":"300","max-height":"400",color:"dialogStandardBackground"}},[a("v-toolbar",{attrs:{color:"dialogStandardHeaderBackground"}},[a("v-toolbar-title",{staticClass:"dialogStandardHeadlineText--text",attrs:{alvqa:t.alvqa+"-title"}},[t._v(t._s(t.$t("lang_LABEL_STATISTICS_PRODUCTS")))]),a("v-spacer"),a("v-toolbar-items",{staticClass:"mt-4"},[a("BaseIcon",{attrs:{icon:"close",color:"iconCancel",alvqa:t.alvqa+"-icon-close"},on:{click:t.close}})],1)],1),a("v-card-text",[a("v-row",{staticClass:"ml-n5 mt-2"},[a("v-col",{staticClass:"mt-4",attrs:{cols:"6"}},t._l([0,1],(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:e===t.selectedSearchType?"selectedChip":"standard"},on:{click:function(a){return t.updateSearchType(e)}}},[0===e?a("div",[t._v("\n              "+t._s(t.$t("lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_TRACKS"))+"\n            ")]):t._e(),1===e?a("div",[t._v("\n              "+t._s(t.$t("lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_LABEL_RELEASES"))+"\n            ")]):t._e()])})),1),a("v-col",{attrs:{offset:"2",cols:"4"}},[a("DropdownFilter",{attrs:{context:t.context+"SearchMode",field:"SearchMode",hideErrorMessage:!0,items:t.searchModes,alvqa:t.alvqa+"-list-dropdown-search-mode",multiple:!1,withMargin:!1,rules:"required",clearable:!1}})],1)],1),0===t.selectedSearchMode?a("v-row",{staticClass:"mt-2"},[0===t.selectedSearchType?a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Track",label:t.$t("lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_TRACKS"),withMargin:!1,multiple:!1,withFreeText:!1,isLoading:!0,returnObject:!1,rules:"",alvqa:t.alvqa+"-dropdown-track"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[t._v("\n                    "+t._s(t.trackToText(a.value))+"\n                ")]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",[a("v-list-item-title",[t._v("\n                            "+t._s(t.trackToText(n.value))+"\n                        ")])],1)]}}],null,!1,695584091)})],1):t._e(),1===t.selectedSearchType?a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Release",label:t.$t("lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_LABEL_RELEASES"),withMargin:!1,multiple:!1,withFreeText:!1,isLoading:!0,returnObject:!1,rules:"",alvqa:t.alvqa+"-dropdown-release"},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.item;return[t._v("\n                    "+t._s(t.releaseToText(a.value))+"\n                ")]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",[a("v-list-item-title",[t._v("\n                            "+t._s(t.releaseToText(n.value))+"\n                        ")])],1)]}}],null,!1,2949083547)})],1):t._e()],1):t._e(),1===t.selectedSearchMode?a("div",{staticClass:"mt-6"},[a("v-text-field",{attrs:{label:t.$t("lang_LABEL_TRACKS_CAPTION_TAGS"),alvqa:t.alvqa+"-tags-search"},model:{value:t.selectedTag,callback:function(e){t.selectedTag=e},expression:"selectedTag"}})],1):t._e()],1),a("v-card-actions",[a("v-spacer"),a("v-btn",{staticClass:"white--text",attrs:{disabled:null===t.selectedProduct,color:"buttonStandard"},on:{click:t.changedProduct}},[t._v("\n        "+t._s(t.$t("lang_BUTTON_SAVE"))+"\n      ")])],1)],1)],1)},jI=[],zI={name:"ProductDialog",props:["value","context"],components:{BaseIcon:N,BaseEditPageAutocomplete:Zs,DropdownFilter:us},data:function(){return{isOpen:!1,alvqa:"ChooseProductDialog",selectedRelease:null,selectedTag:""}},computed:{selectedSearchMode:function(){return this.$store.getters.getSelectedLabelStatisticsSearchMode},selectedSearchType:function(){return this.$store.getters.getSelectedLabelStatisticsSearchType},selectedProduct:function(){return this.$store.getters.getLabelStatisticsDetailsProduct},getProductString:function(){return this.selectedProduct?0===this.selectedSearchType?this.trackToText(this.selectedProduct):1===this.selectedSearchType?this.releaseToText(this.selectedProduct):void 0:null},searchModes:function(){return[{value:0,text:this.$t("lang_GENERIC_CAPTION_PRODUCT_SEARCH")}]},loading:{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}},methods:{releaseToText:function(t){var e=t.name+" ("+(null!==t.catalogueNumber?t.catalogueNumber:null!==t.ean?t.ean:t.alvId)+")";return e},trackToText:function(t){var e="".concat(t.title," (").concat(t.isrc,")");return e},changedProduct:function(){this.$store.commit("setSelected"+this.context+"Product",this.selectedProduct.alvId),this.$emit("input",this.selectedProduct),this.close()},close:function(){this.isOpen=!1},updateSearchType:function(t){1==t&&(this.$store.commit("setLabelStatisticsTrackOptions",[]),this.$store.commit("setLabelStatisticsDetailsTrack",null)),0==t&&(this.$store.commit("setLabelStatisticsReleaseOptions",[]),this.$store.commit("setLabelStatisticsDetailsRelease",null)),this.$store.commit("setSelectedLabelStatisticsSearchType",t)}}},HI=zI,VI=Object(C["a"])(HI,WI,jI,!1,null,"af9c31a8",null),YI=VI.exports,KI=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"newFavorite",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_LABEL_STATISTIC_ADD_NEW_FILTER",close:t.closeDialog},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:"LabelStatisticsCreateNewFavoriteDialog",field:"FavoriteName",label:t.$t("lang_LABEL_STATISTIC_CAPTION_FAVORITE_NAME"),rules:"required",withMargin:!1,noDataText:"lang_LABEL_STATISTIC_NO_FILTER",alvqa:t.alvqa+"-textfield-favorit-name"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_LABEL_STATISTIC_ADD_NEW_FILTER",alvqa:t.alvqa+"-button-add"},on:{click:function(e){return n(t.saveFavorite)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},ZI=[],XI={name:"LabelStatisticsCreateNewFavoriteDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut},data:function(){return{alvqa:"label-statistics-create-new-favorite-dialog"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowLabelStatisticsCreateNewFavoriteDialog},set:function(t){this.$store.commit("setShowLabelStatisticsCreateNewFavoriteDialog",t)}},favoritName:{get:function(){return this.$store.getters.getLabelStatisticsCreateNewFavoriteDialogDetailsFavoriteName},set:function(t){this.$store.commit("setLabelStatisticsCreateNewFavoriteDialogDetailsFavoriteName",t)}}},methods:{closeDialog:function(){this.showDialog=!1,this.favoritName=null,this.$store.commit("setSelectedLabelStatisticsFavorite",null),this.$store.dispatch("fetchLabelStatisticsFavoriteDropdownValues"),this.$refs.newFavorite.reset()},saveFavorite:function(){this.$store.dispatch("saveNewLabelStatisticsFavorite"),this.$store.commit("setShowLabelStatisticsCreateNewFavoriteDialog",!1),this.closeDialog()}}},JI=XI,QI=Object(C["a"])(JI,KI,ZI,!1,null,null,null),tC=QI.exports,eC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("VueHighcharts",{ref:"pieCharts",staticClass:"chart",attrs:{options:t.chartOptions}})},aC=[],nC=a("604f"),iC=a.n(nC),sC={name:"PieChart",props:{context:{type:String,required:!0}},components:{VueHighcharts:iC.a},data:function(){return{format:null}},computed:{chartOptions:function(){return{chart:{type:"pie"},credits:{enabled:!1},title:{text:this.chartTitleText,style:{fontSize:"16px",fontWeight:"normal",fontFamily:"Roboto, sans-serif"}},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b><br>{point.revenue} <br> {point.quantity}",style:{fontFamily:"Roboto, sans-serif"}},plotOptions:{series:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,distance:20,style:{fontFamily:"Roboto, sans-serif"}}}},series:[{name:this.$store.getters["get"+this.context+"PieChartSeriesTitle"],colorByPoint:!0,data:this.chartSeriesData}]}},chartSeriesData:function(){var t=this,e=this.$store.getters["get"+this.context+"PieChartSeriesData"].sort((function(t,e){return t.y<e.y?1:e.y<t.y?-1:0}));return e=e.map((function(e){var a=e.name;return"countries"===t.chartTitleValue?a=t.$alvPlugin.getTranslatedCountryCode(e.name):t.$alvPlugin.isLangConst(e.name)&&(a=t.$t(e.name)),{name:a,y:e.y,q:e.q,revenue:t.$t("lang_LABEL_STATISTICS_CAPTION_REVENUE")+": "+t.$alvPlugin.getNumberLocalization(e.y,"number")+" "+t.$store.getters.getSelectedCurrency,quantity:t.$t("lang_GENERIC_CAPTION_QUANTITY")+": "+t.$alvPlugin.getNumberLocalization(e.q,"number").slice(0,-3)}})),e},chartTitleText:function(){var t=this,e=this.$store.getters["get"+this.context+"PieChartTitle"],a=this.$store.getters["get"+this.context+"PieChartSeriesData"];if(0==a.length)return this.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");var n="";return e.text.length>1?e.text.forEach((function(e){var a=t.$alvPlugin.isLangConst(e)?t.$t(e):e;n=n+" "+a})):n=this.$alvPlugin.isLangConst(e.text[0])?this.$t(e.text[0]):e.text[0],n},chartTitleValue:function(){var t=this.$store.getters["get"+this.context+"PieChartTitle"];return t.value}},mounted:function(){}},rC=sC,lC=(a("4c27"),Object(C["a"])(rC,eC,aC,!1,null,"686dbb72",null)),oC=lC.exports,cC={name:"LabelStatistics",components:{DropdownFilter:us,BaseTooltip:T,RegionsDialog:MI,ProductDialog:YI,PieChart:oC,LabelStatisticsCreateNewFavoriteDialog:tC,DeletionDialog:Cs,BaseButton:wt,BaseDropdown:pe,BaseIcon:N,BaseEditPageAutocomplete:Zs},data:function(){return{context:"LabelStatistics",alvqa:"label-statistics",fromMonthMenu:!1,toMonthMenu:!1,productDialogOpen:!1,selectedProduct:null}},computed:(xI={headers:function(){var t=this,e=this.$store.getters.getLabelStatisticsDatatableData.headers;return e.length>0&&(e=e.map((function(e){var a=t.$t(e.text);return"lang_LABEL_STATISTICS_CAPTION_REVENUE"==e.text&&(a=t.$t(e.text)+" "+t.$store.getters.getSelectedCurrency),{text:a,value:e.value,align:e.align,sortable:e.sortable,class:e.class}}))),e},items:function(){return this.$store.getters.getLabelStatisticsDatatableData.data},showDataTable:function(){return!(!this.$store.getters.getLabelStatisticsDatatableData.data||0==this.$store.getters.getLabelStatisticsDatatableData.data.length)},dataTableTitle:function(){return this.$store.getters.getLabelStatisticsDatatableData.title},getFormattedDateFrom:function(){return this.fromValue?this.$d(new Date(this.fromValue),"alvMonthYearFormat"):""},getFormattedDateTo:function(){return this.toValue?this.$d(new Date(this.toValue),"alvMonthYearFormat"):""},regions:{get:function(){return this.$store.getters.getSelectedLabelStatisticsRegionsString},set:function(t){this.$store.commit("setSelectedLabelStatisticsRegionsString",t)}},fromValue:{get:function(){return this.$store.getters.getSelectedLabelStatisticsFrom},set:function(t){this.$store.commit("setSelectedLabelStatisticsFrom",t)}},toValue:{get:function(){return this.$store.getters.getSelectedLabelStatisticsTo},set:function(t){this.$store.commit("setSelectedLabelStatisticsTo",t)}}},Object(c["a"])(xI,"regions",(function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t})),Object(c["a"])(xI,"loading",{get:function(){return this.$store.getters.getIsLoading},set:function(t){this.$store.commit("setIsLoading",t)}}),Object(c["a"])(xI,"favoriteItems",(function(){var t=this,e=JSON.parse(JSON.stringify(this.$store.getters.getLabelStatisticsFavoriteDropdownValues));return e.forEach((function(e){e["text"]=t.$alvPlugin.isLangConst(e["text"])?t.$t(e["text"]):e["text"],"newFavorite"===e.value?e["alvqa"]=t.alvqa+"-list-favorit-dropdown-new-favorite":"deleteFavorite"===e.value?e["alvqa"]=t.alvqa+"-list-favorit-dropdown-delete-favorite":e["alvqa"]=t.alvqa+"-list-favorit-dropdown-"+e["id"]})),e})),Object(c["a"])(xI,"distributorsValues",(function(){var t=this.$store.getters.getLabelStatisticsInRowsDistributors;return t=t.filter((function(t){return t&&t.text&&!t.text.startsWith("All Users of Typ")})).map((function(t){return{text:t.text+" ("+t.alvid+")",value:t.alvid}})),t})),Object(c["a"])(xI,"salesTypeValues",(function(){var t=this;return ta.map((function(e){return{text:t.$t(e.text),value:e.value}}))})),Object(c["a"])(xI,"platformsValues",(function(){var t=this;return Qe.map((function(e){return{text:t.$t(e.text),value:e.value}}))})),Object(c["a"])(xI,"leftChartValues",(function(){return ea})),Object(c["a"])(xI,"rightChartValues",(function(){return aa})),Object(c["a"])(xI,"dataTableValues",(function(){return na})),Object(c["a"])(xI,"showChartsSection",(function(){return this.$store.getters.getShowLabelStatisticsChartsSection})),Object(c["a"])(xI,"cards",(function(){return this.$store.getters.getLabelStatisticsCards})),xI),methods:{filter:function(){this.$store.dispatch("fetchLabelStatistics")},resetFromValue:function(){this.$store.commit("setSelectedLabelStatisticsFrom",null)},resetToValue:function(){this.$store.commit("setSelectedLabelStatisticsTo",null)},exportExcel:function(){var t=this.$store.getters.getSelectedLabelStatisticsFrom,e=this.$store.getters.getSelectedLabelStatisticsTo;null===t||null===e||null===t&&null===e?this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_GENERAL_CAPTION_PLEASE_SELECT_PERIOD")}):this.$store.dispatch("labelStatisticsExportExcel")},labelStatisticReport:function(){this.$store.dispatch("labelStatisticReport")},exportCsv:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$refs["labelStatisticsValidation"].refs.toMonth.validate();case 2:return e=t.sent,t.next=5,this.$refs["labelStatisticsValidation"].refs.fromMonth.validate();case 5:return a=t.sent,t.next=8,this.$refs["labelStatisticsValidation"].refs.DataTable.validate();case 8:return n=t.sent,t.next=11,this.$refs["labelStatisticsValidation"].refs.SalesType.validate();case 11:if(i=t.sent,0!=e.valid&&0!=a.valid&&!1!==i.valid&&!1!==n.valid){t.next=14;break}return t.abrupt("return");case 14:this.$store.dispatch("labelStatisticExportCsv");case 15:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},created:function(){this.$store.commit("setCountries"),this.$store.commit("setLabelStatisticsInRows"),this.$store.dispatch("fetchLabelStatisticsFavoriteDropdownValues")}},uC=cC,dC=Object(C["a"])(uC,qI,kI,!1,null,null,null),gC=dC.exports,pC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("BaseListPage",{attrs:{headline:"lang_ERP_PRICELISTS",context:t.context,alvqa:"erp-pricelists"},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",alvqa:"erp-pricelists"},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("PricelistsTopSlot")]},proxy:!0},{key:"headers",fn:function(e){var a=e.header;return[t._v(t._s(a))]}},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:"erp-pricelists-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:"erp-pricelists-list-row-"+n.item.alvId+"-text-title"}},[t._v("\n                            "+t._s(n.item.title))])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("PricelistsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},vC=[],_C=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v(t._s(t.item.title))])],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:"",value:[0]}},[a("PricelistsRowsReadOnlyPanel",{attrs:{pricelistsAlvId:t.item.alvId}})],1)],1)],1)],1)},hC=[],mC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_PRICELISTS_CAPTION_PRICELISTS_ROWS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"","items-per-page":t.itemsPerPage,items:t.item.rows,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.distributorName",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.distributorName))]},proxy:!0},{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-distributor-name"}},[t._v("\n                                "+t._s(n.distributorName)+"\n                            ")])]},proxy:!0}],null,!0)})]}},{key:"item.regions",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.getRegionsInclude(n.regions)))]},proxy:!0},{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-regions"}},[t._v("\n                                "+t._s(t.getRegionsInclude(n.regions))+"\n                            ")])]},proxy:!0}],null,!0)})]}},{key:"item.msp",fn:function(e){var n=e.item;return[null!=n.msp?a("i18n-n",{attrs:{value:n.msp,format:"number",alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-manufacturer-sales-price"}}):t._e()]}},{key:"item.ppd",fn:function(e){var n=e.item;return[null!=n.ppd?a("i18n-n",{attrs:{value:n.ppd,format:"number",alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-published-price-to-dealer"}}):t._e()]}},{key:"item.srp",fn:function(e){var n=e.item;return[null!=n.srp?a("i18n-n",{attrs:{value:n.srp,format:"number",alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-suggested-retail-price"}}):t._e()]}},{key:"item.sps",fn:function(e){var n=e.item;return[null!=n.sps?a("i18n-n",{attrs:{value:n.sps,format:"number",alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-salesprice-published-to-society"}}):t._e()]}},{key:"item.priceCategory",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-price-category"}},[t._v("\n                        "+t._s(t.$t(t.getPriceCategory(n.priceCategory)))+"\n                    ")])]}},{key:"item.currency",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqaBaseString+"read-only-row-"+n.id+"-currency"}},[t._v(t._s(n.currency))])]}}],null,!0)})]},proxy:!0}])})},fC=[],SC={name:"PricelistsRowsReadOnlyPanel",components:{BasePanel:vi,BaseTooltip:T},props:{pricelistsAlvId:{type:String}},data:function(){return{alvqaBaseString:"erp-pricelists-list-row-"+this.pricelistsAlvId+"-"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedPricelists.find((function(e){return e.alvId===t.pricelistsAlvId}));return e},headers:function(){return[{text:this.$t("lang_ERP_PRICELISTS_CAPTION_DISTRIBUTOR"),alvqa:this.alvqaBaseString+"header-distributor-name",align:"left",sortable:!1,value:"distributorName",tooltip:"",class:"text-no-wrap"},{text:this.$t("lang_ERP_PRICELISTS_CAPTION_REGION"),alvqa:this.alvqaBaseString+"header-region",align:"left",sortable:!1,value:"regions",tooltip:"",width:"120px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_MSP"),alvqa:this.alvqaBaseString+"header-msp-manufacturer-sales-price",align:"right",sortable:!1,value:"msp",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_PPD"),alvqa:this.alvqaBaseString+"header-ppd-published-price-to-dealer",align:"right",sortable:!1,value:"ppd",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_SRP"),alvqa:this.alvqaBaseString+"header-srp-suggested-retail-price",align:"right",sortable:!1,value:"srp",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_SPS"),alvqa:this.alvqaBaseString+"header-sps-salesprice-published-to-society",align:"right",sortable:!1,value:"sps",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_PRICELISTS_CAPTION_PRICE_CATEGORY"),alvqa:this.alvqaBaseString+"header-price-category",align:"left",sortable:!1,value:"priceCategory",tooltip:"",width:"120px"},{text:this.$t("lang_ACCOUNT_COMPANIES_CAPTION_CURRENCY"),alvqa:this.alvqaBaseString+"header-currency",align:"left",sortable:!1,value:"currency",tooltip:"",width:"120px"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getRegionsInclude:function(t){return t.include.join("+")},getPriceCategory:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return t?Ee.find((function(e){return e.value==t}))[e]:""}}},EC=SC,IC=(a("cce8"),Object(C["a"])(EC,mC,fC,!1,null,null,null)),CC=IC.exports,AC={name:"PricelistsReadOnly",components:{PricelistsRowsReadOnlyPanel:CC},props:{itemId:{type:Number}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedPricelists.find((function(e){return e.id===t.itemId}));return e}}},TC=AC,bC=Object(C["a"])(TC,_C,hC,!1,null,null,null),PC=bC.exports,DC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Pricelists",alvqa:"erp-pricelists",cols:"2"}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Pricelists",typeStats:"LIST",alvqa:"erp-pricelists-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{xl:"2",lg:"3","align-self":"end",cols:"2"}},[a("BaseButton",{attrs:{label:"lang_ERP_PRICELISTS_BUTTON_CAPTION_ADD_NEW_PRICELIST",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:"erp-pricelists-list-button-new"}})],1)],1)},NC=[],RC={name:"PricelistsTopSlot",data:function(){return{editForm:"PricelistsEdit"}},components:{BaseHeaderStats:ti,BaseButton:wt,ActionDropdown:Mn},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_COPY"),value:"copy",alvqa:"erp-pricelists-list-action-dropdown-copy"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:"erp-pricelists-list-action-dropdown-delete"}]}}},xC=RC,OC=Object(C["a"])(xC,DC,NC,!1,null,null,null),wC=OC.exports;function LC(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function yC(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?LC(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):LC(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var qC={name:"PricelistsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseIcon:N,ExpandIcon:is,PricelistsReadOnly:PC,PricelistsTopSlot:wC,DeletionDialog:Cs,SelectionRequiredDialog:hs},data:function(){return{context:"Pricelists"}},computed:yC({},Object(u["c"])(["getPricelistsSearch"]),{headers:function(){return[{text:"",value:"data-table-select",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ERP_PRICELISTS_CAPTION_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}})},kC=qC,BC=Object(C["a"])(kC,pC,vC,!1,null,null,null),$C=BC.exports,GC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/erp/pricelists"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{staticClass:"pl-4",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(n.title)+"\n        ")])]}},{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Title",label:t.$t("lang_ERP_PRICELISTS_CAPTION_TITLE"),alvqa:t.alvqa+"-textfield-title",clearable:!0}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Description",rows:"3",label:t.$t("lang_ERP_PRICELISTS_CAPTION_DESCRIPTION"),alvqa:t.alvqa+"-textarea-description"}})],1)],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("PricelistsRowsEditPanel"),a("EditingDialog",{attrs:{context:t.context+"PricelistsRows"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("PricelistsRowsEditPanelDialog")]},proxy:!0}])}),a("DeletionDialog",{attrs:{context:"SelectedPricelistsRows"}})]},proxy:!0}])})},FC=[],UC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_PRICELISTS_CAPTION_PRICELISTS_ROWS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.items,"items-per-page":t.itemsPerPage,"header-props":{sortIcon:""},"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"2"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.distributor",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.distributor.alvId))]},proxy:!0},{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-edit-row-"+n.distributor.alvId+"-distributor"}},[t._v("\n                            "+t._s(t.getGroupName(n))+"\n                        ")])]},proxy:!0}],null,!0)})]}},{key:"item.regions",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-edit-row-"+n.id+"-regions"}},[t._v("\n                    "+t._s(t.convertRegionsToString(n.regions))+"\n                ")])]}},{key:"item.msp",fn:function(e){var n=e.item;return[null!=n.msp?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.msp),format:"number"}}):t._e()]}},{key:"item.ppd",fn:function(e){var n=e.item;return[null!=n.ppd?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.ppd),format:"number"}}):t._e()]}},{key:"item.srp",fn:function(e){var n=e.item;return[null!=n.srp?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.srp),format:"number"}}):t._e()]}},{key:"item.sps",fn:function(e){var n=e.item;return[null!=n.sps?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.sps),format:"number"}}):t._e()]}},{key:"item.priceCategory",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-edit-row-"+n.id+"-price-category"}},[t._v("\n                    "+t._s(t.$t(t.getPriceCategory(n.priceCategory)))+"\n                ")])]}},{key:"item.currency",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-edit-row-"+n.id+"-currency"}},[t._v("\n                    "+t._s(n.currency)+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"edit-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-edit-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},MC=[],WC={name:"PricelistsRowsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T},data:function(){return{alvqa:"erp-pricelists-edit-form-panel-pricelists-rows"}},computed:{items:function(){return this.$store.getters.getPricelistsPricelistsRows},headers:function(){return[{text:this.$t("lang_ERP_PRICELISTS_CAPTION_DISTRIBUTOR"),alvqa:this.alvqa+"header-distributor",align:"left",sortable:!1,value:"distributor",tooltip:"",class:"text-no-wrap"},{text:this.$t("lang_ERP_PRICELISTS_CAPTION_REGION"),alvqa:this.alvqa+"header-region",align:"left",sortable:!1,value:"regions",tooltip:"",width:"120px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_MSP"),alvqa:this.alvqa+"header-msp-manufacturer-sales-price",align:"right",sortable:!1,value:"msp",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_PPD"),alvqa:this.alvqa+"header-ppd-published-price-to-dealer",align:"right",sortable:!1,value:"ppd",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_SRP"),alvqa:this.alvqa+"header-srp-suggested-retail-price",align:"right",sortable:!1,value:"srp",tooltip:"",width:"80px"},{text:this.$t("lang_GENERIC_LABEL_CAPTION_SPS"),alvqa:this.alvqa+"header-sps-salesprice-published-to-society",align:"right",sortable:!1,value:"sps",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_PRICELISTS_CAPTION_PRICE_CATEGORY"),alvqa:this.alvqa+"header-price-category",align:"left",sortable:!1,value:"priceCategory",tooltip:"",width:"120px"},{text:this.$t("lang_ACCOUNT_COMPANIES_CAPTION_CURRENCY"),alvqa:this.alvqa+"header-currency",align:"left",sortable:!1,value:"currency",tooltip:"",width:"120px"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{convertRegionsToString:function(t){if(null!=t)return t.include?this.$alvPlugin.createRegionsToString(t):t},getGroupName:function(t){return t.distributor.group?t.distributor.group:t.distributor.name?t.distributor.name:""},getPriceCategory:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return t?Ee.find((function(e){return e.value==t}))[e]:""},addNewRow:function(){this.$store.commit("setPricelistsPricelistsRowsIsNewSearch",!0),this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPricelistsPricelistsRows));this.$store.commit("setPricelistsPricelistsRowsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedPricelistsPricelistsRows",[t.id]),this.$store.commit("setDeletionDialogContext","SelectedPricelistsPricelistsRows"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedPricelistsPricelistsRows",t.id),this.$store.commit("setPricelistsPricelistsRowsIsNewSearch",!1);var e=JSON.parse(JSON.stringify(t));null!=e["msp"]&&(e["msp"]=this.$n(this.$alvPlugin.stringToNumber(e["msp"]),"number")),null!=e["ppd"]&&(e["ppd"]=this.$n(this.$alvPlugin.stringToNumber(e["ppd"]),"number")),null!=e["srp"]&&(e["srp"]=this.$n(this.$alvPlugin.stringToNumber(e["srp"]),"number")),null!=e["sps"]&&(e["sps"]=this.$n(this.$alvPlugin.stringToNumber(e["sps"]),"number"));var a=e.regions;null!=a&&a.include&&(e["regions"]=this.$alvPlugin.createRegionsToString(a)),this.$store.commit("setPricelistsPricelistsRowsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)}},created:function(){this.$store.dispatch("fetchDropdownPricelistsDistributor",["vertrieb"])}},jC=WC,zC=Object(C["a"])(jC,UC,MC,!1,null,null,null),HC=zC.exports,VC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("v-col",[t.isNewSearch?[a("BaseEditPageDropdownAz",{attrs:{context:t.context+"PricelistsRows",field:"Distributor",items:t.getDistributorDropdownItems,selection:!0,rules:"required",clearable:!1,withMargin:!1,label:t.$t("lang_ERP_PRICELISTS_CAPTION_DISTRIBUTOR"),alvqa:t.alvqa+"-dropdown-pricelists-distributor"}})]:[a("BaseEditPageDropdownAz",{attrs:{context:t.context+"PricelistsRows",field:"Distributor",items:t.getDistributorDropdownItems,selection:!0,rules:"required",clearable:!1,withMargin:!1,label:t.$t("lang_ERP_PRICELISTS_CAPTION_DISTRIBUTOR"),alvqa:t.alvqa+"-dropdown-pricelists-distributor",disabled:!0}})]],2)],1),a("v-row",[a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"PricelistsRows",field:"Msp",label:t.$t("lang_GENERIC_LABEL_CAPTION_MSP"),iconTooltipText:t.$t("lang_ERP_PRICELISTS_TOOLTIP_MSP"),rules:"amountMaxTwoDigits",withMargin:!1,alvqa:t.alvqa+"-textfield-msp"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"PricelistsRows",field:"Ppd",label:t.$t("lang_GENERIC_LABEL_CAPTION_PPD"),iconTooltipText:t.$t("lang_ERP_PRICELISTS_TOOLTIP_PPD"),rules:"amountMaxTwoDigits",withMargin:!1,alvqa:t.alvqa+"-textfield-ppd"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"PricelistsRows",field:"Srp",label:t.$t("lang_GENERIC_LABEL_CAPTION_SRP"),iconTooltipText:t.$t("lang_ERP_PRICELISTS_TOOLTIP_SRP"),rules:"amountMaxTwoDigits",withMargin:!1,alvqa:t.alvqa+"-textfield-srp"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"PricelistsRows",field:"Sps",label:t.$t("lang_GENERIC_LABEL_CAPTION_SPS"),iconTooltipText:t.$t("lang_ERP_PRICELISTS_TOOLTIP_SPS"),rules:"amountMaxTwoDigits",withMargin:!1,alvqa:t.alvqa+"-textfield-sps"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"PricelistsRows",field:"Currency",items:t.dropdownCurrency,label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_CURRENCY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-currency"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"PricelistsRows",field:"PriceCategory",items:t.dropdownPriceCategory,label:t.$t("lang_ERP_PRICELISTS_CAPTION_PRICE_CATEGORY"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-price-category"}})],1),a("v-col",{attrs:{cols:"8"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"PricelistsRows",field:"Regions",label:t.$t("lang_GENERIC_CAPTION_REGIONS_DEFINITION"),withMargin:!1,rules:"listTwoCharacterWordsWithCommas",iconTooltipText:t.$t("lang_ERP_PRICELISTS_TOOLTIP_REGIONS"),clearable:!0,alvqa:t.alvqa+"-textfield-regions-definition"}})],1)],1)],1)},YC=[],KC=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:t.field,rules:t.rules,slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-select",{class:t.withMargin?"ml-4 mr-4":"",attrs:{items:t.items,label:t.label,"error-messages":n,clearable:t.clearable,readonly:t.readonly,multiple:t.multiple,"menu-props":"offset-y","item-text":t.itemText,"item-value":t.itemValue,disabled:t.disabled,"no-data-text":t.$t("lang_GENERAL_CAPTION_NO_DATA_AVAILABLE"),"hide-details":t.hideDetails,alvqa:t.alvqa,"item-color":"generalCheckbox"},on:{"click:clear":function(e){return t.resetVal()},change:function(e){return t.additionalFunction(t.selected)}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-dropdown-az-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-dropdown-az-"+n.alvId+"-title"}},[t._v("\n                    "+t._s(n.gemaName)+" "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-dropdown-az-"+n.alvId+"-subtitle"}},[t._v("\n                    "+t._s(n.alvId)+"                                      \n                ")])],1)]}},{key:"selection",fn:function(e){var n=e.item,i=e.index;return[0===i?a("span",[a("div",{attrs:{alvqa:t.alvqa}},[t._v(t._s(n.gemaName))])]):t._e(),1===i?a("div",[t._v("  (+"+t._s(t.selected.length-1)+" others)")]):t._e()]}}],null,!0),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})]}}])})},ZC=[],XC={name:"BaseEditPageDropdownAz",extends:pe,props:{context:String,field:String,hideDetails:Boolean,alvqa:{type:String,default:""},itemValue:{type:String|Function,default:"value"},itemText:{type:String|Function,default:"text"},selection:{default:!1,type:Boolean},clearable:{default:!0},rules:{type:[Object,String],default:""},withMargin:{type:Boolean,default:!0},additionalFunction:{type:Function,default:function(){}}},computed:{selected:{get:function(){return this.$store.getters["get"+this.context+"Details"+this.field]},set:function(t){return this.$store.commit("set"+this.context+"Details"+this.field,t)}}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.selected=[];case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},JC=XC,QC=Object(C["a"])(JC,KC,ZC,!1,null,null,null),tA=QC.exports,eA={name:"PricelistsRowsEditPanelDialog",components:{BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDropdownAz:tA,DropdownGeneralPriceCategories:Ee,DropdownCurrencies:ia},data:function(){return{context:"Pricelists",alvqa:"erp-pricelists-edit-panel-pricelists-rows-dialog"}},computed:{getDistributorDropdownItems:function(){return this.$store.getters.getPricelistsPricelistsRowsDistributorOptions},dropdownCurrency:function(){return ia},dropdownPriceCategory:function(){return Ee},isNewSearch:function(){var t=this.$store.getters.getPricelistsPricelistsRowsIsNewSearch;return t}}},aA=eA,nA=Object(C["a"])(aA,VC,YC,!1,null,null,null),iA=nA.exports,sA={name:"PricelistsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,SearchDialog:ys,DeletionDialog:Cs,EditingDialog:ho,PricelistsRowsEditPanel:HC,PricelistsRowsEditPanelDialog:iA},data:function(){return{context:"Pricelists",alvqa:"erp-pricelists-edit-form",menu:!1}}},rA=sA,lA=Object(C["a"])(rA,GC,FC,!1,null,null,null),oA=lA.exports,cA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("InventoriesImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"}}),a("BaseListPage",{attrs:{headline:"lang_ERP_INVENTORIES",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"Warehouses",label:"lang_GENERIC_CAPTION_WAREHOUSES",items:t.getWarehouses,alvqa:t.alvqa+"-list-dropdown-warehouses"}})],1),a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"ValueTypes",label:"lang_ERP_INVENTORIES_DROPDOWN_VALUE_TYPES",items:t.getDropdownValueTypes,alvqa:t.alvqa+"-list-dropdown-value-types"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{field:"StockToDate",context:t.context,label:t.$t("lang_ERP_INVENTORIES_CAPTION_STOCK_TO_DATE"),alvqa:t.alvqa+"-datepicker-stock-to-date",clearable:!1}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("InventoriesTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-release-title"}},[t._v(" "+t._s(n.item.title)+" ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-performer"}},[t._v(" "+t._s(t.$alvPlugin.getArtistOrPerformerName(n.item.performer))+" ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-ean"}},[t._v(" "+t._s(n.item.ean)+" ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-catalogue-number"}},[t._v(" "+t._s(n.item.catalogueNumber)+" ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-release-date"}},[t._v("\n                        "+t._s(null!==n.item.dateRetail?t.$d(new Date(n.item.dateRetail),"alvDateFormat"):"")+"\n                    ")])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("InventoriesReadonly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},uA=[],dA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ImportButton",{attrs:{items:t.importOptions,context:"InventoriesImport",alvqa:t.alvqa}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Inventories",typeStats:"LIST",alvqa:"erp-inventories-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",icon:"library_books",alvqa:t.alvqa+"-list-button-export-all"},on:{click:function(e){return t.exportInventories()}}})],1),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_LABEL_RELEASES_CAPTION_MINIMUM_STOCK",block:"",alvqa:t.alvqa+"-list-minimum-stock-button"},on:{click:function(e){return t.minStockReport()}}})],1)],1)],1)},gA=[],pA={name:"InventoriesTopSlot",components:{ImportButton:Yn,BaseHeaderStats:ti,BaseButton:wt},data:function(){return{context:"Inventories",alvqa:"erp-inventories"}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},importOptions:function(){var t=this,e=JSON.parse(JSON.stringify(this.$store.getters.getInventoriesWarehousesOptions)),a=[];return e.forEach((function(e){var n={alvqa:t.alvqa+"-list-import-dropdown-"+e.alvId,text:e.gemaName+" ("+e.alvId+")",value:e.alvId};a.push(n)})),a}},methods:{minStockReport:function(){this.$store.dispatch("createMinStockReport")},exportInventories:function(){this.$store.dispatch("exportAllInventories")}}},vA=pA,_A=Object(C["a"])(vA,dA,gA,!1,null,null,null),hA=_A.exports,mA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{staticClass:"pl-0",attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.warehousesHeaders,items:t.item.warehousesRows,expanded:t.expandedItems,"show-expand":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([t._l(t.warehousesHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard"}},n?[t._v("fa-arrow-alt-circle-down")]:[t._v("fa-arrow-alt-circle-right")])]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.warehousesHeaders.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.movementsGroupsHeaders,"hide-default-footer":"",items:n.movements,"header-props":{sortIcon:""},"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.movementsGroupsHeaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.sheetNumber}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.senderReceiver",fn:function(e){var a=e.item;return[t._v("\n                                                "+t._s(t.getSenderReceiver(a.senderReceiver,a.typeOfDocument))+"\n                                            ")]}},{key:"item.typeOfDocument",fn:function(e){var a=e.item;return[t._v("\n                                                "+t._s(t.$t(a.typeOfDocument))+"\n                                            ")]}},{key:"item.date",fn:function(e){var a=e.item;return[t._v("\n                                                "+t._s(t.$d(new Date(a.date),"alvDateFormat",t.$i18n.locale))+"\n                                            ")]}},{key:"item.additionalInformation",fn:function(e){var a=e.item;return[t._v("\n                                                "+t._s(t.getAdditionalInformation(a.additionalInformation,a.typeOfDocument))+"\n                                            ")]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})],1)],1)],1)},fA=[],SA={name:"InventoriesReadonly",props:{itemId:{type:Number}},components:{BaseIcon:N,BaseTooltip:T},data:function(){return{expandedItems:[],alvqa:"erp-inventories-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedInventories.find((function(e){return e.id===t.itemId}));return e},warehousesHeaders:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_WAREHOUSES"),value:"warehouseTitle",align:"left",sortable:!1,width:"200px",alvqa:this.alvqa+"-warehouse-title"},{text:this.$t("lang_ERP_SHIPPING_DROPDOWN_BATCH_SALES"),value:"batchSales",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-warehouse-batch-sales"},{text:this.$t("lang_ERP_SHIPPING_DROPDOWN_BATCH_PROMO"),value:"batchPromo",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-warehouse-batch-promo"},{text:this.$t("lang_ERP_SHIPPING_DROPDOWN_BATCH_FOC"),value:"batchFoc",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-warehouse-batch-foc"},{text:this.$t("lang_ERP_SHIPPING_DROPDOWN_BATCH_PST"),value:"batchPst",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-warehouse-batch-pst"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"}]},movementsGroupsHeaders:function(){return[{text:this.$t("lang_ERP_INVENTORIES_CAPTION_SENDER_RECEIVER"),value:"senderReceiver",align:"left",sortable:!1,width:"200px",alvqa:this.alvqa+"-movements-sender-receiver"},{text:"",value:"batchSales",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-movements-batch-sales"},{text:"",value:"batchPromo",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-movements-batch-promo"},{text:"",value:"batchFoc",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-movements-batch-foc"},{text:"",value:"batchPst",align:"right",sortable:!1,width:"80px",alvqa:this.alvqa+"-movements-batch-pst"},{text:this.$t("lang_ERP_INVENTORIES_CAPTION_TYPE_OF_DOCUMENT"),value:"typeOfDocument",align:"right",sortable:!1,width:"150px",alvqa:this.alvqa+"-movements-type-of-document"},{text:this.$t("lang_GENERIC_CAPTION_DATE"),value:"date",align:"right",sortable:!1,width:"120px",alvqa:this.alvqa+"-movements-date"},{text:this.$t("lang_ERP_INVENTORIES_CAPTION_ID_OF_DOCUMENT"),value:"idOfDocument",align:"right",sortable:!1,width:"90px",alvqa:this.alvqa+"-movements-id-of-document"},{text:this.$t("lang_GENERIC_CAPTION_ADDITIONAL_INFORMATION"),value:"additionalInformation",align:"right",sortable:!1,width:"200px",alvqa:this.alvqa+"-movements-additional-information"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getSenderReceiver:function(t,e){if(null!=e)return"lang_ERP_INVENTORIES_DOCUMENT_TYPE_INVENTORY_DATA"==e||"lang_ERP_INVENTORIES_DOCUMENT_TYPE_STOCK_CORRECTION"==e?this.$t("lang_ERP_INVENTORIES_CAPTION_UPLOADED_BY")+" "+t:t},getAdditionalInformation:function(t,e){if(null!=e)return"lang_ERP_INVENTORIES_DOCUMENT_TYPE_INVENTORY_DATA"==e||"lang_ERP_INVENTORIES_DOCUMENT_TYPE_STOCK_CORRECTION"==e?this.$t("lang_ERP_INVENTORIES_CAPTION_UPLOADED_ON")+": "+this.$d(new Date(t),"alvDateFormat",this.$i18n.locale):t}}},EA=SA,IA=(a("cdcd"),Object(C["a"])(EA,mA,fA,!1,null,null,null)),CA=IA.exports,AA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showFileImportDialog,maxDialogWidth:"600",maxCardHeight:"600",headline:"lang_GENERAL_FILE_IMPORT_DIALOG_TITLE_UPLOAD_FILE",close:t.closeDialog,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1),null!==t.csvReportPath?a("v-row",[a("v-col",[t._v("\n                        "+t._s(t.$t("lang_GENERIC_CAPTION_DOWNLOAD_CSV_REPORT"))+"\n                        "),null!==t.csvReportPath?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERIC_CAPTION_DOWNLOAD_CSV_REPORT"),alvqa:t.alvqa+"-icon-download-csv-report"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(t.csvReportPath)}}}):t._e()],1)],1):t._e(),t.showUploadProgressbar?a("v-row",[a("v-col",[a("v-progress-linear",{attrs:{height:"25",color:"dialogProgressbar",alvqa:t.alvqa+"-upload-progressbar"},model:{value:t.uploadProgressbarValue,callback:function(e){t.uploadProgressbarValue=e},expression:"uploadProgressbarValue"}})],1)],1):t._e()],1)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[t.showUploadActions?a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-form",{model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[a("v-row",[a("v-col",{attrs:{cols:"8"}},[a("v-file-input",{attrs:{label:t.$t("lang_GENERAL_CAPTION_SELECT_FILE"),rules:t.rules,"show-size":"",alvqa:t.alvqa+"-file-input-import-file"},on:{change:function(e){t.fileExt=t.$alvPlugin.extractFileExt(t.file)},"click:clear":function(e){return t.resetVal()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.valid||!t.file,label:"lang_GENERAL_CAPTION_UPLOAD",alvqa:t.alvqa+"-button-upload"},on:{click:t.submitFile}})],1)],1)],1)],1)],1):t._e()]},proxy:!0}])})},TA=[],bA={name:"InventoriesImportDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N},props:{context:{type:String,default:""},alvqaContext:{type:String,default:""}},data:function(){var t=this;return{valid:!1,formData:new FormData,file:null,fileExt:"",showUploadProgressbar:!1,showUploadActions:!0,uploadProgressbarValue:0,rules:[function(e){return!e||"xlsx"===t.fileExt||"xls"===t.fileExt||t.$t("lang_GENERAL_DIALOG_TEXT_INVALID_FORMAT")}],alvqa:"erp-inventories-import-dialog",csvReportPath:null}},computed:{showFileImportDialog:{get:function(){return this.$store.getters.getShowInventoriesImportDialog},set:function(t){this.$store.commit("setShowInventoriesImportDialog",t)}},dialogText:{get:function(){return this.$store.getters.getImportDialogText},set:function(t){this.$store.commit("setImportDialogText",t)}}},methods:{submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_FILE_IS_BEING_UPLOADED"),this.formData.append("file",this.file),this.showUploadActions=!1,this.showUploadProgressbar=!0,e="?type="+this.$store.getters.getSelectedInventoriesImport,t.next=7,k$.putFile("erp/inventories",this.formData,e);case 7:a=t.sent,this.uploadProgressbarValue=100,this.showUploadProgressbar=!1,-1===a.error?this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_UPLOAD_SUCCESS")+"<br /><br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"):(n=a.response.errorMsg,null!==n&&(this.dialogText=this.$alvPlugin.isLangConst(n)?this.$t(n):n),this.csvReportPath=a.response.path,this.dialogText+="<br /><br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG")),this.$store.dispatch("fetchInventories");case 12:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downloadFile:function(t){k$.getFileFromALV(t)},closeDialog:function(){this.showFileImportDialog=!1,this.showUploadProgressbar=!1,this.showUploadActions=!0,this.file=null,this.formData=new FormData,this.uploadProgressbarValue=0,this.selectedFileImportOption=[],this.dialogText="",this.csvReportPath=null,this.$store.commit("setSelectedInventoriesImport",[])}}},PA=bA,DA=(a("d1cb"),Object(C["a"])(PA,AA,TA,!1,null,"052273b0",null)),NA=DA.exports;function RA(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function xA(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?RA(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):RA(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var OA={name:"InventoriesList",components:{BaseListPage:yn,BaseDataTableList:En,ExpandIcon:is,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,DropdownFilter:us,InventoriesTopSlot:hA,InventoriesReadonly:CA,InventoriesImportDialog:NA},data:function(){return{context:"Inventories",alvqa:"erp-inventories"}},computed:xA({},Object(u["c"])(["getInventoriesSearch"]),{headers:function(){return[{text:"",value:"data-table-expand",align:"center",sortable:!1,width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_ITEM_TITLE"),value:"title",align:"left",sortable:!1},{text:this.$t("lang_GENERIC_CAPTION_PERFORMER"),value:"performer",align:"left",sortable:!1},{text:this.$t("lang_GENERIC_CAPTION_EAN"),value:"ean",align:"left",sortable:!1},{text:this.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER"),value:"catalogueNumber",align:"left",sortable:!1},{text:this.$t("lang_GENERIC_CAPTION_DATE_RETAIL"),value:"dateRetail",align:"left",sortable:!1}]},getWarehouses:function(){var t=this,e=JSON.parse(JSON.stringify(this.$store.getters.getInventoriesWarehousesOptions)),a=[];return e.forEach((function(e){var n={alvqa:t.alvqa+"-list-dropdown-warehouses-"+e.alvId,text:e.gemaName+" ("+e.alvId+")",value:e.alvId};a.push(n)})),a},getDropdownValueTypes:function(){return ra}}),created:function(){this.$store.dispatch("clearFilters"),this.$store.dispatch("fetchDropdownInventoriesWarehouses")}},wA=OA,LA=Object(C["a"])(wA,cA,uA,!1,null,null,null),yA=LA.exports,qA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("ProFormaDialog"),a("BaseListPage",{attrs:{headline:"lang_ERP_SHIPPING",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"TypeFilter",label:"lang_ERP_INVOICES_CAPTION_TYPE",items:t.typeItems,alvqa:t.alvqa+"-list-dropdown-type-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"StatusFilter",label:"lang_ERP_INVOICES_CAPTION_STATUS",items:t.statusItems,alvqa:t.alvqa+"-list-dropdown-status-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DatePickerFilter",{attrs:{context:t.context+"PeriodFromFilter",label:t.$t("lang_GENERIC_CAPTION_PERIOD_FROM"),alvqa:t.alvqa}})],1),a("v-col",{attrs:{cols:"2"}},[a("DatePickerFilter",{attrs:{context:t.context+"PeriodToFilter",label:t.$t("lang_GENERIC_CAPTION_PERIOD_TO"),alvqa:t.alvqa}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("ShippingTopSlot")]},proxy:!0},{key:"headers",fn:function(e){var a=e.header;return[t._v(t._s(a))]}},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.number))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-number"}},[t._v("\n                                        "+t._s(n.item.number)+"\n                                    ")])]},proxy:!0}],null,!0)})],1),null!=n.item.date?a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-date"}},[t._v("\n                            "+t._s(t.$d(new Date(n.item.date),"alvDateFormat",t.$i18n.locale)))]):t._e(),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-type"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.$t(t.getLangOfShippingType(n.item.type))))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-type"}},[t._v("\n                                        "+t._s(t.$t(t.getLangOfShippingType(n.item.type,"abbr")))+"\n                                    ")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.recipientName+" ("+n.item.recipient.alvId+")"))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-recipient"}},[t._v("\n                                        "+t._s(n.item.recipientName)+"\n                                    ")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.senderName+" ("+n.item.sender.alvId+")"))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-sender"}},[t._v("\n                                        "+t._s(n.item.senderName)+"\n                                    ")])]},proxy:!0}],null,!0)})],1),null!=n.item.status?a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-shipping-status"}},[t._v("\n                            "+t._s(t.$t(t.getLangOfStatus(n.item.status)))+"\n                        ")]):t._e(),a("td",[null!==n.item.linkedShipping?a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v("\n                                    "+t._s(t.$t(t.getLangOfShippingType(n.item.linkedShipping.type,"text")))+" \n                                    "+t._s(n.item.linkedShipping.number)+" "),a("br"),a("div",{staticStyle:{"text-align":"center"}},[t._v(t._s(n.item.linkedShipping.alvId))])]},proxy:!0},{key:"content",fn:function(){return[null!==n.item.linkedInvoice?a("BaseButton",{attrs:{label:t.getLangOfShippingType(n.item.linkedShipping.type,"abbr")},on:{click:function(e){return e.stopPropagation(),t.jumpToShipping(n.item.linkedShipping.alvId)}}}):a("BaseButton",{attrs:{label:t.getLangOfShippingType(n.item.linkedShipping.type,"text")},on:{click:function(e){return e.stopPropagation(),t.jumpToShipping(n.item.linkedShipping.alvId)}}})]},proxy:!0}],null,!0)}):t._e(),null!==n.item.linkedInvoice?a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v("\n                                    "+t._s(t.$t(t.getLangOfInvoiceType(n.item.linkedInvoice.type,"text")))+" \n                                    "+t._s(n.item.linkedInvoice.number)+" "),a("br"),a("div",{staticStyle:{"text-align":"center"}},[t._v(t._s(n.item.linkedInvoice.alvId))])]},proxy:!0},{key:"content",fn:function(){return[null!==n.item.linkedShipping?a("span",{staticClass:"pl-2"},[a("BaseButton",{attrs:{label:t.getLangOfInvoiceType(n.item.linkedInvoice.type,"abbr")},on:{click:function(e){return e.stopPropagation(),t.jumpToInvoice(n.item.linkedInvoice.alvId)}}})],1):a("span",[a("BaseButton",{attrs:{label:t.getLangOfInvoiceType(n.item.linkedInvoice.type,"text")},on:{click:function(e){return e.stopPropagation(),t.jumpToInvoice(n.item.linkedInvoice.alvId)}}})],1)]},proxy:!0}],null,!0)}):t._e()],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("ShippingReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},kA=[],BA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showProFormaDialog,maxDialogWidth:"600",headline:"lang_ERP_SHIPPING_ACTION_CREATE_PRO_FORMA",close:t.closeDialog,maxCardHeight:"1110",scrollable:!1,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pl-0"},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AmountToSplit",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),alvqa:t.alvqa+"-textfield-amount-to-split"}})],1)],1),a("v-row",[a("v-col",{staticClass:"pl-0"},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ProFormaText",rows:"3",label:t.$t("lang_ERP_SHIPPING_CAPTION_PRO_FORMA_TEXT"),alvqa:t.alvqa+"-textfield-pro-forma-text"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end pl-0 pt-0",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",alvqa:t.alvqa},on:{click:function(e){return t.getProForma()}}})],1)],1)],1)]},proxy:!0}])})},$A=[],GA={name:"ProFormaDialog",components:{BaseDialog:Pt,BaseEditPageTextField:Ut,BaseButton:wt,BaseEditPageTextarea:Wl},data:function(){return{alvqa:"erp-shipping-pro-forma-dialog",context:"ProFormaDialog"}},computed:{showProFormaDialog:{get:function(){return this.$store.getters.getShowProFormaDialog},set:function(t){this.$store.commit("setShowProFormaDialog",t)}},setAmountToSplit:{get:function(){return this.$store.getters.getProFormaDialogDetailsAmountToSplit},set:function(t){this.$store.commit("setProFormaDialogDetailsAmountToSplit",t)}},setProFormaText:{get:function(){return this.$store.getters.getProFormaDialogDetailsProFormaText},set:function(t){this.$store.commit("setProFormaDialogDetailsProFormaText",t)}}},methods:{closeDialog:function(){this.showProFormaDialog=!1,this.setAmountToSplit="",this.setProFormaText=""},getProForma:function(){this.$store.dispatch("createProForma")}}},FA=GA,UA=Object(C["a"])(FA,BA,$A,!1,null,null,null),MA=UA.exports,WA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},["ja"!=t.$i18n.locale?a("div",[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n                "+t._s(t.$t(t.getLangOfType(t.item.type)))+" "+t._s(t.item.number)+" \n                "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR"))+" \n                "+t._s(t.item.recipientName)+"\n            ")])],1)],1):a("div",[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n                "+t._s(t.item.recipientName)+" \n                "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR"))+" \n                "+t._s(t.$t(t.getLangOfType(t.item.type)))+" "+t._s(t.item.number)+"\n            ")])],1)],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.recipientFullAddress?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ADDRESS_INVOICE")))]),a("div",{domProps:{innerHTML:t._s(t.item.recipientFullAddress)}})]):t._e(),null!==t.item.recipientVatId?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_VAT_ID")))]),a("div",{domProps:{innerHTML:t._s(t.item.recipientVatId)}})]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.recipientFullShippingAddress?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ADDRESS_SHIPPING")))]),a("div",{domProps:{innerHTML:t._s(t.item.recipientFullShippingAddress)}})]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.senderFullAddress?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_SENDER_ABBREVIATION")))]),a("div",{domProps:{innerHTML:t._s(t.item.senderFullAddress)}})]):t._e()])],1)],1)],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",{attrs:{cols:"6"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_NOTE_FOR_RECIPIENT")))]),a("div",{domProps:{innerHTML:t._s(t.item.noteForRecipient)}})])],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.number&&""!==t.item.number?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_NUMBER_FULLTEXT")))]),a("div",[t._v(t._s(t.item.number))])]):t._e(),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_CAPTION_ALVID")))]),a("div",[t._v(t._s(t.item.alvId))]),null!==t.item.recipientTransactionNumber&&void 0!==t.item.recipientTransactionNumber?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_CAPTION_TRANSACTION_NUMBER")))]),a("div",{domProps:{innerHTML:t._s(t.item.recipientTransactionNumber)}})]):t._e(),a("div",{staticClass:"read-only-caption"},[t._v("\n                        "+t._s(t.$t("lang_GENERIC_CAPTION_CREATED"))+"\n                    ")]),void 0!==t.item.created?a("div",[t._v("\n                        "+t._s(t.item.created.name)+", "+t._s(t.$d(new Date(t.item.created.date),"alvDateTime",t.$i18n.locale))+"\n                    ")]):t._e(),a("div",{staticClass:"read-only-caption"},[t._v("\n                        "+t._s(t.$t("lang_GENERIC_CAPTION_LAST_UPDATED"))+"\n                    ")]),void 0!==t.item.lastUpdated?a("div",[t._v("\n                        "+t._s(t.item.lastUpdated.name)+", "+t._s(t.$d(new Date(t.item.lastUpdated.date),"alvDateTime",t.$i18n.locale))+"\n                    ")]):t._e()])],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_DATE_ABBREVIATION")))]),a("div",[t._v(t._s(t.$d(new Date(t.item.date),"alvDateFormat",this.$i18n.locale)))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_SHIPPING_CAPTION_STATUS")))]),a("div",[t._v(t._s(t.$t(t.getLangOfStatus(t.item.status))))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_LANGUAGE")))]),a("div",[t._v(t._s(t.$t(t.getLangOfLang(t.item.language))))])])],1)],1)],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:"",value:[0]}},[a("ShippingRowsReadOnlyPanel",{attrs:{shippingAlvId:t.item.alvId}})],1)],1)],1)],1)},jA=[],zA=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_SHIPPING_CAPTION_SHIPPING_ROWS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"","items-per-page":990,items:t.items,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.connectionObject",fn:function(e){var n=e.item;return[null!=n.connectionId?a("div",{attrs:{alvqa:t.alvqa+"list-row-"+n.connectionId+"-product-title"}},[a("BaseIcon",{attrs:{icon:t.$alvPlugin.getIconOfType(n.type),tooltipText:t.$alvPlugin.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                    "+t._s(t.$alvPlugin.getTitle(n))+"\n                ")],1):a("div",{attrs:{alvqa:t.alvqa+"list-row-"+t.$alvPlugin.getTitle(n).replace(/[^A-Z0-9]+/gi,"-").toLowerCase()+"-freetext"}},[a("BaseIcon",{attrs:{icon:t.$alvPlugin.getIconOfType(n.type),tooltipText:t.$alvPlugin.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                    "+t._s(t.$alvPlugin.getTitle(n))+"\n                ")],1)]}},{key:"item.productId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"list-row-"+n.connectionId+"-product-id"}},[t._v("\n                    "+t._s(t.$alvPlugin.getProductItemId(n))+"\n                ")])]}},{key:"item.batch",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"list-row-"+n.connectionId+"-batch"}},[t._v("\n                    "+t._s(t.$t(t.getLangOfBatch(n.batch)))+"\n                ")])]}},{key:"item.quantity",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"list-row-"+n.connectionId+"-quantity"}},[t._v("\n                    "+t._s(t.$n(n.quantity,"numberInteger"))+"\n                ")])]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"list-row-"+n.connectionId+"-price"}},[null!=n.price?a("i18n-n",{attrs:{value:n.price,format:"number"}}):t._e()],1)]}}],null,!0)},[a("template",{slot:"body.append"},[a("tr",[a("td"),a("td"),a("td",{staticClass:"data-table-sum-row",attrs:{align:"left"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SUM")))]),a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[t._v(t._s(t.sumField("quantity")))])])])],2)]},proxy:!0}])})},HA=[],VA={name:"ShippingRowsReadOnlyPanel",components:{BasePanel:vi,BaseIcon:N},props:{shippingAlvId:{type:String}},data:function(){return{alvqa:"erp-shipping-list-row-"+this.shippingAlvId+"-read-only-panel-shipping-rows-"}},methods:{sumField:function(t){return this.$n(this.items.reduce((function(e,a){return e+(a[t]||0)}),0),"numberInteger")},getLangOfBatch:function(t){return t?la.find((function(e){return e.value==t})).text:""},getProductId:function(t){var e="";return null!==t.release?null!=t.release.catalogueNumber?(e=t.release.catalogueNumber,null!=t.release.ean&&(e+=" ("+t.release.ean+")")):null!=t.release.ean&&(e=t.release.ean):null!=t.freeInputId&&(e=t.freeInputId),e}},computed:{items:function(){var t=this,e=this.$store.getters.getExpandedShipping.find((function(e){return e.alvId===t.shippingAlvId})),a=null===e.rows?[]:e.rows;return a},headers:function(){return[{text:this.$t("lang_ERP_SHIPPING_CAPTION_ITEM_NAME"),alvqa:this.alvqa+"header-item-title",align:"left",value:"connectionObject",sortable:!1,tooltip:"",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ID"),alvqa:this.alvqa+"header-product-id",align:"left",value:"productId",sortable:!1,tooltip:"",class:"text-no-wrap",width:"270px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),alvqa:this.alvqa+"header-batch",align:"left",sortable:!1,value:"batch",tooltip:"",width:"100px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_QUANTITY"),alvqa:this.alvqa+"header-quantity",align:"right",sortable:!1,value:"quantity",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_ITEM_PRICE")+" "+this.$store.getters.getSelectedCurrency,alvqa:this.alvqa+"header-item-price",align:"right",sortable:!1,value:"price",tooltip:"",width:"150px"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}}},YA=VA,KA=(a("bc98"),Object(C["a"])(YA,zA,HA,!1,null,null,null)),ZA=KA.exports,XA={name:"ShippingReadOnly",components:{ShippingRowsReadOnlyPanel:ZA,DropdownErpShippingType:Sa,DropdownErpShippingStatus:fa},props:{itemId:{type:Number}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedShipping.find((function(e){return e.id===t.itemId}));return e}},methods:{getLangOfType:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return Sa.find((function(e){return e.value==t}))[e]},getLangOfStatus:function(t){return fa.find((function(e){return e.value==t})).text},getLangOfLang:function(t){var e=this.$store.getters.getGeneralLanguages;if(null!=e){var a=e.find((function(e){return e.value==t}));return a?a.text:"Shyriiwook"}}}},JA=XA,QA=Object(C["a"])(JA,WA,jA,!1,null,null,null),tT=QA.exports,eT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Shipping",alvqa:"erp-shipping",cols:"2"}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Shipping",typeStats:"LIST",alvqa:"erp-shipping-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{xl:"2",lg:"3","align-self":"end",cols:"2"}},[a("BaseButton",{attrs:{label:"lang_ERP_SHIPPING_BUTTON_CAPTION_ADD_NEW_SHIPPING_DOCUMENT",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:"erp-shipping-list-button-new"}})],1)],1)},aT=[],nT={name:"ShippingTopSlot",data:function(){return{editForm:"ShippingEdit"}},components:{BaseHeaderStats:ti,BaseButton:wt,ActionDropdown:Mn},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_PRINT"),value:"print",alvqa:this.alvqa+"-list-action-dropdown-print"},{text:this.$t("lang_GENERIC_CAPTION_EXPORT"),value:"export",alvqa:this.alvqa+"-list-action-dropdown-export"},{text:this.$t("lang_GENERIC_ACTION_CREATE_INVOICE"),value:"createFromShipping",alvqa:"erp-shipping-list-action-dropdown-create-invoice"},{text:this.$t("lang_ERP_SHIPPING_ACTION_CREATE_RETURNS_NOTE"),value:"createReturnsFromShipping",alvqa:"erp-shipping-list-action-dropdown-create-returns-note"},{text:this.$t("lang_ERP_SHIPPING_ACTION_CREATE_CREDIT_NOTE"),value:"createCreditNotesFromShipping",alvqa:"erp-shipping-list-action-dropdown-create-credit-note"},{text:this.$t("lang_ERP_SHIPPING_ACTION_CREATE_PRO_FORMA"),value:"createProForma",alvqa:"erp-shipping-list-action-dropdown-create-pro-forma"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:"erp-shipping-list-action-dropdown-delete"}]}}},iT=nT,sT=Object(C["a"])(iT,eT,aT,!1,null,null,null),rT=sT.exports,lT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-menu",{ref:"menu",attrs:{"close-on-content-click":!1,transition:"scale-transition","offset-y":"","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on,i=e.attrs;return[a("v-text-field",t._g(t._b({attrs:{value:t.formattedDate,label:t.label,readonly:"","append-icon":"event",clearable:"",alvqa:t.alvqa+"-datepicker-filter-textfield"},on:{"click:clear":function(e){return t.resetVal()}}},"v-text-field",i,!1),n))]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("v-date-picker",{attrs:{locale:this.$i18n.locale,color:"buttonStandard","no-title":"",alvqa:t.alvqa+"-datepicker-filter-picker"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},[a("v-spacer"),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){return t.cancel()}}}),a("BaseButton",{staticClass:"text-center",attrs:{label:"lang_GENERAL_BUTTON_OK",alvqa:t.alvqa+"-button-ok"},on:{click:function(e){return t.$refs.menu.save(t.date)}}})],1)],1)},oT=[],cT={name:"DatePickerFilter",props:{context:String,label:String,alvqa:String},components:{BaseButton:wt},data:function(){return{menu:!1}},computed:{formattedDate:function(){return this.date?this.$d(new Date(this.date),"alvDateFormat"):""},date:{get:function(){return this.$store.getters["getSelected"+this.context]},set:function(t){this.$store.commit("setSelected"+this.context,t)}}},methods:{cancel:function(){this.menu=!1,this.resetVal()},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.date=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},uT=cT,dT=Object(C["a"])(uT,lT,oT,!1,null,null,null),gT=dT.exports;function pT(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function vT(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?pT(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):pT(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var _T,hT={name:"ShippingList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,BaseIcon:N,DeletionDialog:Cs,ExpandIcon:is,BaseButton:wt,SelectionRequiredDialog:hs,ProFormaDialog:MA,ShippingReadOnly:tT,ShippingTopSlot:rT,DatePickerFilter:gT,DropdownFilter:us},data:function(){return{context:"Shipping",alvqa:"erp-shipping"}},methods:{getLangOfStatus:function(t){return fa.find((function(e){return e.value==t})).text},getLangOfShippingType:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return Sa.find((function(e){return e.value==t}))[e]},getLangOfInvoiceType:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return ua.find((function(e){return e.value==t}))[e]},jumpToInvoice:function(t){this.$store.commit("setInvoicesSearch",t),this.$store.commit("setExpandedInvoices",[]),this.$store.commit("setExpandedInvoices",t),this.$router.push({name:"Invoices"}),this.$store.dispatch("fetchInvoicesDetails",t)},jumpToShipping:function(t){this.$store.commit("setCurrentPage",1),this.$store.commit("setShippingSearch",t),this.$store.commit("setExpandedShipping",[]),this.$store.commit("setExpandedShipping",t),this.$store.dispatch("fetchShipping")}},computed:vT({},Object(u["c"])(["getShippingSearch"]),{headers:function(){return[{text:"",value:"data-table-select",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_NUMBER_ABBREVIATION"),value:"number",align:"left",width:"150px",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_DATE_ABBREVIATION"),value:"date",align:"left",sortable:!0,width:"90px",class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_TYPE"),value:"type",align:"left",sortable:!1,width:"50px",class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ABBREVIATION"),value:"recipientName",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_SENDER_ABBREVIATION"),value:"senderName",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_STATUS"),value:"status",align:"left",sortable:!1,width:"100px",class:"text-no-wrap"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_LINKED_DOC"),value:"linkedDocuments",align:"left",sortable:!1,width:"200px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},typeItems:function(){return Sa},statusItems:function(){return fa}})},mT=hT,fT=Object(C["a"])(mT,qA,kA,!1,null,null,null),ST=fT.exports,ET=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/erp/shipping",showPrintBtn:!0,printBtnFunction:t.print},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return["ja"==t.$i18n.locale?a("div",{staticClass:"pl-4",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.recipientName+" "+t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR")+" "+n.number)+"\n        ")]):a("div",{staticClass:"pl-4",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.number+" "+t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR")+" "+n.recipientName)+"\n        ")])]}},{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"4"}},["incoming"==t.getShippingType||"returning"==t.getShippingType?[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Sender",label:t.shippingSenderLabel,withFreeText:!1,rules:"required",itemText:"gemaName",additionalFunction:t.showShippingSenderAddress,alvqa:t.alvqa+"-erp-shipping-sender-textfield-autocomplete"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-shipping-sender-selection"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "),void 0!==n.firstName&&void 0!==n.lastName&&""!==n.firstName&&""!==n.lastName?a("span",[t._v("\n                                        ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                    ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-sender-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-sender-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+"\n                                            "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-sender-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                        "+t._s(n.alvId)+"                                      \n                                    ")])],1)]}}],null,!1,1515950640)})]:[a("BaseEditPageDropdownAz",{attrs:{context:t.context,field:"Sender",items:t.getSenderDropdownItems,rules:"required",clearable:!1,label:t.shippingSenderLabel,additionalFunction:t.showShippingSenderAddress,alvqa:t.alvqa+"-dropdown-shipping-sender"}})]],2),a("v-col",{attrs:{cols:"4"}},["shipping"==t.getShippingType||"picking"==t.getShippingType?[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Recipient",label:t.shippingRecipient,withFreeText:!1,rules:"required",additionalFunction:t.showShippingRecipientAddress,alvqa:t.alvqa+"-erp-shipping-recipient-textfield-autocomplete"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-shipping-recipient-selection"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "),void 0!==n.firstName&&void 0!==n.lastName&&""!==n.firstName&&""!==n.lastName&&null!==n.firstName&&null!==n.lastName?a("span",[t._v("\n                                        ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                    ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                        "+t._s(n.gemaName)+"\n                                            "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                        "+t._s(n.alvId)+"                                      \n                                    ")])],1)]}}],null,!1,3160915360)})]:[a("BaseEditPageDropdownAz",{attrs:{context:t.context,field:"Recipient",items:t.getRecipientDropdownItems,rules:"required",clearable:!1,label:t.shippingRecipient,additionalFunction:t.showShippingRecipientAddress,alvqa:t.alvqa+"-dropdown-shipping-recipient"}})]],2),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.dropdownType,rules:"required",additionalFunction:t.fillDropdownFromAz,clearable:!1,label:t.$t("lang_ERP_SHIPPING_CAPTION_TYPE"),alvqa:t.alvqa+"-dropdown-shipping-type"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"SenderFullAddress",rows:"5",label:t.$t("lang_ERP_SHIPPING_CAPTION_SENDER_ADDRESS"),alvqa:t.alvqa+"-textarea-sender-full-address"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"RecipientFullAddress",rows:"5",label:t.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ADDRESS_INVOICE"),alvqa:t.alvqa+"-textarea-recipient-full-address"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"RecipientFullShippingAddress",rows:"5",label:t.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ADDRESS_SHIPPING"),alvqa:t.alvqa+"-textarea-recipient-full-shipping-address"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",label:t.$t("lang_GENERIC_CAPTION_DATE"),alvqa:t.alvqa+"-datepicker-shipping-date",rules:"required"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Status",items:t.dropdownStatus,clearable:!1,label:t.$t("lang_GENERIC_CAPTION_STATUS"),alvqa:t.alvqa+"-dropdown-shipping-status"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",rules:"required",items:t.dropdownLanguage,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-dropdown-shipping-language"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Number",readonly:!0,clearable:!1,label:t.$t("lang_ERP_SHIPPING_CAPTION_NUMBER"),iconTooltipText:t.$t("lang_ERP_SHIPPING_TOOLTIP_NUMBER"),alvqa:t.alvqa+"-textfield-shipping-number"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RecipientVatId",readonly:!0,clearable:!1,label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-textfield-shipping-vat-id"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RecipientTransactionNumber",disabled:!!t.linkedInvoice||!!t.linkedShipping,clearable:!t.linkedInvoice&&!t.linkedShipping,label:t.$t("lang_ERP_CAPTION_TRANSACTION_NUMBER"),alvqa:t.alvqa+"-textfield-shipping-transaction-number"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"NoteForRecipient",rows:"3",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("ShippingRowsEditPanel"),a("ShippingRowsEditPanelDialog"),a("DeletionDialog",{attrs:{context:"SelectedShippingShippingRows"}}),a("FileImportDialog",{attrs:{alvqaContext:t.alvqa,context:"ShippingDetails"}})]},proxy:!0}])})},IT=[],CT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_SHIPPING_CAPTION_SHIPPING_ROWS",alvqa:t.alvqa},on:{clickOnPanel:function(e){return t.hideInventories()}},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.items,"items-per-page":990,"header-props":{sortIcon:""},"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),loading:t.disableShowInventoriesBtn},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",[a("v-spacer"),t.showImportExcelButton?a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_IMPORT_EXCEL",block:"",alvqa:t.alvqa+"-button-import-excel"},on:{click:t.importExcel}})],1):t._e(),"ALV000000000SD"!==t.$store.getters.getShippingDetailsAlvId?a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:t.showInventories?"lang_ERP_SHIPPING_ITEMS_HIDE_INVENTORIES":"lang_ERP_SHIPPING_ITEMS_SHOW_INVENTORIES",block:"",disabled:t.disableShowInventoriesBtn,alvqa:t.alvqa+"-button-show-inventories"},on:{click:function(e){return t.fetchInventories()}}})],1):t._e(),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.connectionObject",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-title"}},[a("BaseIcon",{attrs:{icon:t.$alvPlugin.getIconOfType(n.type),tooltipText:t.$alvPlugin.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                        "+t._s(t.$alvPlugin.getTitle(n))+"\n                        ")],1)]}},{key:"item.productId",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-product-item-id"}},[a("BaseTooltip",{attrs:{simpleText:t.$alvPlugin.getProductItemId(n)}})],1)]}},{key:"item.batch",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-batch"}},[t._v("\n                         "+t._s(t.$t(t.getLangOfBatch(n.batch)))+"\n                    ")])]}},{key:"item.quantity",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-quantity"}},[t._v("\n                        "+t._s(t.$n(n.quantity,"numberInteger"))+"\n                    ")])]}},{key:"item.inventories",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-price"}},[a("v-chip",[t._v("\n                            "+t._s(t.$t("lang_ERP_SHIPPING_ITEMS_TOOLTIP_AVAILABILITY_TEXT")+" "+t.getPreviewQuantity(n)+" | "+t.$t("lang_ERP_SHIPPING_ITEMS_TOOLTIP_MIN_STOCK_TEXT")+" "+t.getPreviewMinQuantity(n))+"\n                         ")])],1)]}},{key:"item.price",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i+"-text-price"}},[null!=n.price?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.price),format:"number"}}):t._e()],1)]}},{key:"item.delete",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+i+"-icon-delete"},on:{click:function(e){return t.deleteShippingRows(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)},[t._v(" --\x3e\n            ")])]},proxy:!0}])})},AT=[],TT={name:"ShippingRowsEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseInlineEditingDataTable:Tp,BaseButton:wt,BaseTooltip:T},data:function(){return{alvqa:"erp-shipping-edit-form-panel-shipping-rows",inventoryRows:null}},computed:{items:function(){return this.$store.getters.getShippingShippingRows},headers:function(){var t=[{text:this.$t("lang_GENERIC_CAPTION_ITEM_TITLE"),alvqa:this.alvqa+"header-item-title",align:"left",sortable:!1,value:"connectionObject",tooltip:"",class:"text-no-wrap",width:"190px"},{text:this.$t("lang_GENERIC_CAPTION_ID"),alvqa:this.alvqa+"header-item-id",align:"left",sortable:!1,value:"productId",tooltip:"",class:"text-no-wrap",width:"200px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),alvqa:this.alvqa+"header-batch",align:"left",sortable:!1,value:"batch",tooltip:"",width:"140px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_QUANTITY"),alvqa:this.alvqa+"header-quantity",align:"right",sortable:!1,value:"quantity",tooltip:"",width:"140px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_ITEM_PRICE")+" "+this.$store.getters.getSelectedCurrency,alvqa:this.alvqa+"header-item-price",align:"right",sortable:!1,value:"price",tooltip:"",width:"150px"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}],e={text:"",alvqa:this.alvqa+"header-inventories",align:"left",sortable:!1,value:"inventories",tooltip:"",width:"200px"};return this.showInventories&&t.splice(4,0,e),t},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},showImportExcelButton:function(){var t=2===this.$store.getters.getSelectedOverAllCompany.context,e="ALV000000000SD"!==this.$store.getters.getShippingDetailsAlvId;return t&&e},showInventories:{get:function(){return this.$store.getters.getShowShippingInventoriesPreview},set:function(t){this.$store.commit("setShowShippingInventoriesPreview",t)}},invokeSaveCallForShowInventories:{get:function(){return this.$store.getters.getInvokeSaveCallForShippingInventories},set:function(t){this.$store.commit("setInvokeSaveCallForShippingInventories",t)}},disableShowInventoriesBtn:{get:function(){return this.$store.getters.getDisableShowInventoriesButton},set:function(t){this.$store.commit("setDisableShowInventoriesButton",t)}}},methods:{addNewRow:function(){var t=this.$store.getters.getSelectedOverAllCompany.context,e=2==t?"label/releases":"publishing/releases";this.$store.commit("setShippingShippingRowsTitleSearch",e),this.$store.commit("setShippingShippingRowsIsNewSearch",!0),this.$store.commit("setShippingShippingRowsTitleOptions",[]),this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var a=JSON.parse(JSON.stringify(this.$store.getters.getDefaultShippingShippingRows));this.$store.commit("setShippingShippingRowsEditingDialogDetails",a),this.showInventories=!1,this.invokeSaveCallForShowInventories=!1},getLangOfBatch:function(t){return t?la.find((function(e){return e.value==t})).text:""},fetchInventories:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.invokeSaveCallForShowInventories=!this.invokeSaveCallForShowInventories,this.disableShowInventoriesBtn=!0,!this.invokeSaveCallForShowInventories){t.next=5;break}return t.next=5,this.$store.dispatch("saveShippingForm");case 5:this.disableShowInventoriesBtn=!1,this.showInventories=!this.showInventories;case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),hideInventories:function(){this.showInventories=!1,this.invokeSaveCallForShowInventories=!1},getPreviewQuantity:function(t){return t.hasOwnProperty("previewQuantity")?null!==t.previewQuantity&&void 0!==t.previewQuantity?t.previewQuantity:this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):0},getPreviewMinQuantity:function(t){return t.hasOwnProperty("previewMinQuantity")?null!==t.previewMinQuantity&&void 0!==t.previewMinQuantity?t.previewMinQuantity:this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"):0},deleteShippingRows:function(t){this.$store.commit("setSelectedShippingShippingRows",[t.id]),this.$store.commit("setShowDeletionDialog",!0),this.showInventories=!1,this.invokeSaveCallForShowInventories=!1},editInlineFunction:function(t){this.$store.commit("setSelectedShippingShippingRows",t.id),this.$store.commit("setShippingShippingRowsIsNewSearch",!1);var e=JSON.parse(JSON.stringify(t));null!=e["price"]&&(e["price"]=this.$n(this.$alvPlugin.stringToNumber(e["price"]),"number")),this.$store.commit("setShippingShippingRowsTitleSearch",t.type),this.$store.commit("setShippingShippingRowsTitleOptions",[e]),this.$store.commit("setShippingShippingRowsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0),this.showInventories=!1,this.invokeSaveCallForShowInventories=!1},importExcel:function(){this.$store.commit("setSelectedFileImport","shippingRows"),this.$store.dispatch("doFileImport")}}},bT=TT,PT=(a("3acb"),Object(C["a"])(bT,CT,AT,!1,null,null,null)),DT=PT.exports,NT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context+"ShippingRows",showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"8"}},[t.companyIsLabel?t._l(t.entryTypesForLabelCompanies,(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:t.getSearchType==e.search?"selectedChip":"standard"},on:{click:function(a){return t.changeEntryTypes(e)}}},[a("div",{attrs:{alvqa:t.alvqa+"-entry-type-chip-"+e.search}},[t._v("\n                        "+t._s(e.text)+"\n                    ")])])})):t._l(t.entryTypesForPublishingCompanies,(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:t.getSearchType==e.search?"selectedChip":"standard"},on:{click:function(a){return t.changeEntryTypes(e)}}},[a("div",{attrs:{alvqa:t.alvqa+"-entry-type-chip-"+e.search}},[t._v("\n                        "+t._s(e.text)+"\n                    ")])])}))],2)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},["label/freetext"!=t.getSearchType&&"publishing/freetext"!=t.getSearchType&&t.isNewSearch?[a("BaseEditPageAutocomplete",{attrs:{context:t.context+"ShippingRows",field:"Title",label:t.autocompleteSearchCaption,rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-textfield-title",returnObject:!1,itemValue:"alvId"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-shipping-shippingrows-title"}},[t._v("\n                            "+t._s(t.titleSelection(n))+"\n                        ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-shippingrows-title-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-shipping-shippingrows-title-dropdown-text-"+n.alvId}},[t._v("\n                                "+t._s(t.titleDropdown(n))+"\n                            ")])],1)]}}],null,!1,2303379409)})]:t.isNewSearch?[a("BaseEditPageTextField",{attrs:{context:t.context+"ShippingRows",field:"Title",clearable:!0,rules:"required",label:t.$t("lang_GENERIC_CAPTION_FREETEXT"),alvqa:t.alvqa+"-textfield-freetext",withMargin:!1}})]:[a("BaseEditPageTextField",{attrs:{context:t.context+"ShippingRows",field:"Title",clearable:!1,label:t.getSearchCaption,alvqa:t.alvqa+"-textfield-freetext",withMargin:!1,disabled:!0}})]],2)],1),a("v-row",["label/releases"==t.getSearchType||"publishing/releases"==t.getSearchType?a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ShippingRows",field:"Batch",items:t.dropdownBatches,label:t.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),selection:!0,withMargin:!1,rules:"required",alvqa:t.alvqa+"-dropdown-batch"}})],1):t._e(),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ShippingRows",field:"Quantity",label:t.$t("lang_ERP_SHIPPING_CAPTION_QUANTITY"),withMargin:!1,alvqa:t.alvqa+"-textfield-quantity"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ShippingRows",field:"Price",label:t.$t("lang_ERP_SHIPPING_CAPTION_ITEM_PRICE")+" "+t.$store.getters.getSelectedCurrency,withMargin:!1,rules:"amountMaxTwoDigits",alvqa:t.alvqa+"-textfield-price"}})],1)],1)]},proxy:!0}])})},RT=[],xT=(a("386d"),{name:"ShippingRowsEditPanelDialog",components:{BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs,EditingDialog:ho},data:function(){return{context:"Shipping",alvqa:"erp-shipping-edit-panel-shippingrows-dialog",searchObject:{company:2==this.$store.getters.getSelectedOverAllCompany.context?"label":"publishing",search:null,caption:""}}},created:function(){var t=this.$store.getters.getShippingShippingRowsTitleSearch;if(this.companyIsLabel){var e=this.entryTypesForLabelCompanies.find((function(e,a){if(e.search==t)return!0}));if(void 0===e)return"";this.searchObject.caption=e.caption}else{var a=this.entryTypesForPublishingCompanies.find((function(e,a){if(e.search==t)return!0}));if(void 0===a)return"";this.searchObject.caption=a.caption}},computed:{autocompleteSearchCaption:function(){return this.getSearchCaption},companyIsLabel:function(){return 2==this.$store.getters.getSelectedOverAllCompany.context},dropdownBatches:function(){return la},entryTypesForLabelCompanies:function(){return[{text:this.$t("lang_ERP_SHIPPING_CAPTION_SHIPPINGROWS_DIALOG_SEARCH_LABEL_RELEASES"),search:"label/releases",caption:"lang_ERP_SHIPPING_CAPTION_SHIPPINGROWS_DIALOG_SEARCH_LABEL_RELEASES"},{text:this.$t("lang_GENERIC_CAPTION_FREETEXT"),search:"label/freetext",caption:"lang_GENERIC_CAPTION_FREETEXT"}]},entryTypesForPublishingCompanies:function(){return[{text:this.$t("lang_PUBLISHING_CAPTION_PROJECTS"),search:"publishing/releases",caption:"lang_PUBLISHING_CAPTION_PROJECTS"},{text:this.$t("lang_GENERIC_CAPTION_FREETEXT"),search:"publishing/freetext",caption:"lang_GENERIC_CAPTION_FREETEXT"}]},getSearchType:function(){var t=this.$store.getters.getShippingShippingRowsTitleSearch;return t},getSearchCaption:function(){var t=this.getSearchType;if(this.companyIsLabel){var e=this.entryTypesForLabelCompanies.find((function(e,a){if(e.search==t)return!0}));return void 0===e?"":this.$t(e.caption)}var a=this.entryTypesForPublishingCompanies.find((function(e,a){if(e.search==t)return!0}));return void 0===a?"":this.$t(a.caption)},getTitleOfExistingRow:function(){return this.$store.getters.getShippingRowsDetailsTitle},isNewSearch:function(){var t=this.$store.getters.getShippingShippingRowsIsNewSearch;return t}},methods:{changeEntryTypes:function(t){this.isNewSearch&&(this.$store.commit("setShippingShippingRowsDetailsTitle",null),this.$store.commit("setShippingShippingRowsTitleOptions",[]),this.$store.commit("setShippingShippingRowsTitleSearch",t.search),this.$store.commit("setShippingShippingRowsDetailsType",t.search))},titleDropdown:function(t){if(this.companyIsLabel){if("label/tracks"==this.getSearchType)return t.title+" ("+this.$alvPlugin.getProductItemIdLabelTracks(t)+")";if("label/releases"==this.getSearchType)return t.title+" ("+this.$alvPlugin.getProductItemIdLabelReleases(t)+")"}else{if("publishing/works"==this.getSearchType)return t.title+" ("+t.gemaNumber+")";if("publishing/sheets"==this.getSearchType)return t.title;if("publishing/releases"==this.getSearchType)return t.title}},titleSelection:function(t){if(t.connectionId)return t.title+" ("+t.connectionId+")";switch(this.$store.commit("setShippingShippingRowsTitleSearch",this.getSearchType),this.$store.commit("setShippingShippingRowsDetailsConnectionId",t.alvId),this.$store.commit("setShippingShippingRowsDetailsType",this.getSearchType),this.$store.commit("setShippingShippingRowsDetailsProductId",t.catalogueNumber),this.getSearchType){case"label/releases":return t.catalogueNumber?t.title+" ("+t.catalogueNumber+")":t.title;case"publishing/releases":return t.title;default:return"Error in type of shipping row"}}}}),OT=xT,wT=Object(C["a"])(OT,NT,RT,!1,null,null,null),LT=wT.exports,yT={name:"ShippingEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDropdownAz:tA,BaseEditPageTextarea:Wl,BaseEditPageDatePicker:$r,BasePeriod:Zd,BaseEditPageAutocomplete:Zs,SearchDialog:ys,DeletionDialog:Cs,ShippingRowsEditPanelDialog:LT,ShippingRowsEditPanel:DT,FileImportDialog:Ns},data:function(){return{context:"Shipping",alvqa:"erp-shipping-edit-form",menu:!1}},computed:{linkedInvoice:function(){return this.$store.getters["getShippingDetailsLinkedInvoice"]},linkedShipping:function(){return this.$store.getters["getShippingDetailsLinkedShipping"]},shippingSenderLabel:function(){var t="";switch(this.getShippingType){case"incoming":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ANY_AZ");break;case"shipping":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_OWN_WAREHOUSES");break;case"picking":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_OTHER_WAREHOUSES");break;case"returning":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ANY_AZ");break;default:break}return this.$t("lang_ERP_SHIPPING_CAPTION_SENDER_ABBREVIATION")+" ("+t+")"},shippingRecipient:function(){var t="";switch(this.getShippingType){case"incoming":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ALL_WAREHOUSES");break;case"shipping":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ANY_AZ");break;case"picking":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ANY_AZ");break;case"returning":t=this.$t("lang_SHIPPING_CAPTION_POSTFIX_ALL_WAREHOUSES");break;default:break}return this.$t("lang_ERP_SHIPPING_CAPTION_RECIPIENT_ABBREVIATION")+" ("+t+")"},dropdownLanguage:function(){return ha},dropdownStatus:function(){return fa},dropdownType:function(){return Sa},senderFullAddress:function(){return this.$store.getters.getShippingDetailsSenderFullAddress},recipientFullAddress:function(){return this.$store.getters.getShippingDetailsRecipientFullAddress},getShippingType:function(){return this.$store.getters.getShippingDetailsType},getSenderDropdownItems:function(){return this.$store.getters.getShippingSenderOptions},getRecipientDropdownItems:function(){return this.$store.getters.getShippingRecipientOptions}},methods:{fillDropdownFromAz:function(){this.$store.dispatch("fillDropdownFromAz",this.getShippingType),this.$store.commit("setShippingDetailsNoteForRecipient",null)},showShippingSenderAddress:function(t){null!==t&&void 0!==t&&(null!=t.fullAddress?this.$store.commit("setShippingDetailsSenderFullAddress",t.fullAddress.replace(/<br\s*[\/]?>/gi,"\n")):this.$store.commit("setShippingDetailsSenderFullAddress",null))},showShippingRecipientAddress:function(t){null!==t&&void 0!==t?(null!=t.fullAddress?this.$store.commit("setShippingDetailsRecipientFullAddress",t.fullAddress.replace(/<br\s*[\/]?>/gi,"\n")):this.$store.commit("setShippingDetailsRecipientFullAddress",null),null!=t.fullShippingAddress?this.$store.commit("setShippingDetailsRecipientFullShippingAddress",t.fullShippingAddress.replace(/<br\s*[\/]?>/gi,"\n")):this.$store.commit("setShippingDetailsRecipientFullShippingAddress",null),null!==t.language?this.$store.commit("setShippingDetailsLanguage",t.language):this.$store.commit("setShippingDetailsLanguage",this.$store.getters.getUserLanguage),null!==t.finance.vatId?this.$store.commit("setShippingDetailsRecipientVatId",t.finance.vatId):this.$store.commit("setShippingDetailsRecipientVatId",null),null!==t.shippingNote?this.$store.commit("setShippingDetailsNoteForRecipient",t.shippingNote):this.$store.commit("setShippingDetailsNoteForRecipient",null)):(this.$store.commit("setShippingDetailsRecipientFullShippingAddress",null),this.$store.commit("setShippingDetailsRecipientFullAddress",null),this.$store.commit("setShippingDetailsLanguage",this.$store.getters.getUserLanguage),this.$store.commit("setShippingDetailsNoteForRecipient",null))},print:function(){"new"!==this.$route.params.alvId&&(this.$store.commit("setSelectedShipping",[this.$store.getters.getShippingDetailsAlvId]),this.$store.dispatch("printShipping"),this.$store.commit("setSelectedShipping",[]))}}},qT=yT,kT=Object(C["a"])(qT,ET,IT,!1,null,null,null),BT=kT.exports,$T=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("GemaTasDialog"),a("PeriodRequiredDialog"),a("BaseListPage",{attrs:{headline:"lang_ERP_INVOICES",context:t.context,alvqa:"erp-invoices",searchCols:"2"},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",[a("DropdownFilter",{attrs:{context:t.context+"TypeFilter",label:"lang_ERP_INVOICES_CAPTION_TYPE",items:t.typeItems,alvqa:t.alvqa+"-list-dropdown-type-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"StatusFilter",label:"lang_ERP_INVOICES_CAPTION_STATUS",items:t.statusItems,alvqa:t.alvqa+"-list-dropdown-status-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DatePickerFilter",{attrs:{context:t.context+"PeriodFromFilter",label:t.$t("lang_GENERIC_CAPTION_PERIOD_FROM"),alvqa:t.alvqa}})],1),a("v-col",{attrs:{cols:"2"}},[a("DatePickerFilter",{attrs:{context:t.context+"PeriodToFilter",label:t.$t("lang_GENERIC_CAPTION_PERIOD_TO"),alvqa:t.alvqa}})],1),a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"PeriodDateFilter",label:"lang_GENERIC_CAPTION_DATE",items:t.periodDateItems,clearable:!1,alvqa:t.alvqa+"-list-dropdown-date-filter"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",hasServerSideSorting:!0,alvqa:"erp-invoices"},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("InvoicesTopSlot")]},proxy:!0},{key:"headers",fn:function(e){var a=e.header;return[t._v("\n            "+t._s(a)+"\n        ")]}},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-number"}},[t._v("\n                    "+t._s(n.item.number))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-date"}},[t._v("\n                    "+t._s(t.$d(new Date(n.item.date),"alvDateFormat",t.$i18n.locale)))]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-type"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.$t(t.getLangOfType(n.item.type))))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-type"}},[t._v("\n                                "+t._s(t.$t(t.getLangOfType(n.item.type,"abbr")))+"\n                            ")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.item.recipientName+" ("+n.item.recipient.alvId+")"))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-recipient"}},[t._v("\n                                "+t._s(n.item.recipientName)+"\n                            ")])]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-sum-net"}},[t._v("\n                    "+t._s(t.$n(t.getSumNetConverted(n),"number"))+"\n                ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-row-"+n.item.alvId+"-text-invoice-status"}},[t._v("\n                    "+t._s(t.$t(t.getLangOfStatus(n.item.status)))+"\n                ")]),a("td",[null!=n.item.linkedDocument?a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v("\n                            "+t._s(t.$t(t.getLangOfLinkedDocumentType(n.item.linkedDocument.type,"text")))+"\n                            "+t._s(n.item.linkedDocument.number)+" "),a("br"),a("div",{staticStyle:{"text-align":"center"}},[t._v(t._s(n.item.linkedDocument.alvId))])]},proxy:!0},{key:"content",fn:function(){return[a("BaseButton",{attrs:{label:t.getLangOfLinkedDocumentType(n.item.linkedDocument.type,"text"),alvqa:t.alvqa+"-row-"+n.item.alvId+"-button-"+n.item.linkedDocument.type},on:{click:function(e){return e.stopPropagation(),t.jumpToDocument(n.item.linkedDocument.type,n.item.linkedDocument.alvId)}}})]},proxy:!0}],null,!0)}):t._e()],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("InvoicesReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},GT=[],FT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},["ja"!=t.$i18n.locale?a("div",[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n                "+t._s(t.$t(t.getLangOfType(t.item.type)))+" "+t._s(t.item.number)+" \n                "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR"))+" \n                "+t._s(t.item.recipientName)+"\n            ")])],1)],1):a("div",[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n                "+t._s(t.item.recipientName)+" \n                "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR"))+" \n                "+t._s(t.$t(t.getLangOfType(t.item.type)))+" "+t._s(t.item.number)+"\n            ")])],1)],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.recipientFullAddress?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_RECIPIENT")))]),a("div",{domProps:{innerHTML:t._s(t.item.recipientFullAddress)}}),null!=t.item.vatId?a("div",[a("div",{staticClass:"read-only-caption"},[a("br"),t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_RECIPIENT_VATID")))]),t._v(" \n                            "+t._s(t.item.vatId)+"\n                        ")]):t._e(),null!=t.item.language?a("div",[a("div",{staticClass:"read-only-caption"},[a("br"),t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_LANGUAGE")))]),t._v(" \n                            "+t._s(t.$t(t.getLangOfLanguage(t.item.language)))+"\n                        ")]):t._e()]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_TYPE")))]),a("div",[t._v(t._s(t.$t(t.getLangOfType(t.item.type))))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_STATUS")))]),a("div",[t._v(t._s(t.$t(t.getLangOfStatus(t.item.status))))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_SALES_TYPES")))]),a("div",[t._v(t._s(t.$t(t.getLangOfSalesType(t.item.salesType))))]),""!==t.item.number&&null!==t.item.number?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_NUMBER")))]),a("div",[t._v(t._s(t.item.number))])]):t._e(),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_CAPTION_ALVID")))]),a("div",[t._v(t._s(t.item.alvId))]),null!==t.item.transactionNumber&&void 0!==t.item.transactionNumber?a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_CAPTION_TRANSACTION_NUMBER")))]):t._e(),a("div",[t._v(t._s(t.item.transactionNumber))]),null!==t.item.linkedDocument?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_LINKED_DOC")))]),a("div",[t._v(t._s(t.$t(t.getLangOfLinkedDocumentType(t.item.linkedDocument.type,"text"))))]),a("router-link",{attrs:{to:"/erp/shipping/"+t.item.linkedDocument.alvId}},[t._v(t._s(t.item.linkedDocument.alvId))])],1):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_SUM_NET")+" "+t.item.currency))]),a("div",[t._v(t._s(t.$n(t.item.sumNet,"number")))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_SUM_GROSS")+" "+t.item.currency))]),a("div",[t._v(t._s(t.$n(t.item.sumGross,"number")))]),a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_CONVERSION_FACTOR_ABBREVIATION")+" "+t.item.currency))]),a("div",[t._v(t._s(t.$n(t.item.conversionFactor,"number")))])])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_DATE")))]),a("div",[t._v(t._s(t.$d(new Date(t.item.date),"alvDateFormat")))]),null!==t.item.dueDate?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_DUEDATE")))]),a("div",[t._v(t._s(t.$d(new Date(t.item.dueDate),"alvDateFormat")))])]):t._e(),null!==t.item.term?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_TARGET")))]),a("div",[a("span",[t._v(t._s(t.item.term)+" "+t._s(t.$t("lang_CAPTION_DAYS")))])])]):t._e(),null!==t.item.paidDate?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_PAIDDATE")))]),a("div",[t._v(t._s(t.$d(new Date(t.item.paidDate),"alvDateFormat")))])]):t._e(),null!==t.item.paymentMethod?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_METHOD")))]),a("div",[t._v(t._s(t.$t(t.getLangOfPaymentMethod(t.item.paymentMethod))))])]):t._e(),null!==t.item.paymentMethodDetails?a("span",[a("div",{staticClass:"read-only-caption"},[t._v(t._s(t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_METHOD_DETAILS")))]),a("div",[t._v(t._s(t.item.paymentMethodDetails))])]):t._e()])],1)],1)],1),null!=t.item.invoiceRows?a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:"",value:[0]}},[a("InvoiceRowsReadOnlyPanel",{attrs:{alvId:t.item.alvId}})],1)],1)],1):t._e()],1)},UT=[],MT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_INVOICES_CAPTION_INVOICEROWS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"","items-per-page":990,items:t.items,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[null!=n.connectionId?a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-product-title"}},[a("BaseIcon",{attrs:{icon:t.getIconOfType(n.type),tooltipText:t.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                    "+t._s(n.title)+"\n                ")],1):a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.title.replace(/[^A-Z0-9]+/gi,"-").toLowerCase()+"-freetext"}},[a("BaseIcon",{attrs:{icon:t.getIconOfType(n.type),tooltipText:t.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                    "+t._s(n.title)+"\n                ")],1)]}},{key:"item.productId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-product-id"}},[t._v("\n                    "+t._s(t.$alvPlugin.getProductItemId(n))+"\n                ")])]}},{key:"item.batch",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-batch"}},[t._v("\n                    "+t._s(t.$t(t.getLangOfBatch(n.batch)))+"\n                ")])]}},{key:"item.quantity",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-quantity"}},[t._v("\n                    "+t._s(n.quantity)+"\n                ")])]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-price"}},[null!=n.price?a("i18n-n",{attrs:{value:n.price,format:"number"}}):t._e()],1)]}},{key:"item.sum",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-sum"}},[null!=n.sum?a("i18n-n",{attrs:{value:n.sum,format:"number"}}):t._e()],1)]}},{key:"item.vat",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"invoice-row-"+n.connectionId+"-vat"}},[null!=n.vat?a("i18n-n",{attrs:{value:n.vat,format:"number"}}):t._e()],1)]}}],null,!0)},[a("template",{slot:"body.append"},[a("tr",[a("td"),a("td"),a("td",{staticClass:"data-table-sum-row",attrs:{align:"left"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SUM")))]),a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[t._v(t._s(t.sumField("quantity")))]),a("td"),a("td",{staticClass:"data-table-sum-row",attrs:{align:"right"}},[t._v(t._s(t.sumFieldFloat("sum")))]),a("td")])])],2)]},proxy:!0}])})},WT=[],jT={name:"InvoiceRowsReadOnlyPanel",components:{BasePanel:vi,BaseIcon:N},props:{alvId:{type:String}},data:function(){return{alvqa:"erp-invoices-list-row-"+this.alvId+"-read-only-panel-invoice-rows-"}},methods:{sumField:function(t){return this.$n(this.items.reduce((function(e,a){return e+(a[t]||0)}),0),"numberInteger")},sumFieldFloat:function(t){return this.$n(this.items.reduce((function(e,a){return e+(a[t]||0)}),0),"number")},getLangOfBatch:function(t){return t?la.find((function(e){return e.value==t})).text:""},getIconOfType:function(t){return this.$alvPlugin.getIconOfType(t)},getIconTooltipText:function(t){return this.$alvPlugin.getIconTooltipText(t)},getProductItemId:function(t){return this.$alvPlugin.getProductItemId(t)}},computed:{items:function(){var t=this,e=this.$store.getters.getExpandedInvoices.find((function(e){return e.alvId===t.alvId})),a=null===e.invoiceRows?[]:e.invoiceRows;return a},headers:function(){return[{text:this.$t("lang_ERP_INVOICES_CAPTION_ITEM_TITLE"),alvqa:this.alvqa+"header-item-title",align:"left",sortable:!1,value:"title",tooltip:"",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ID"),alvqa:this.alvqa+"header-id",align:"left",sortable:!1,value:"productId",tooltip:"",width:"150px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),alvqa:this.alvqa+"header-batch",align:"left",sortable:!1,value:"batch",tooltip:"",width:"100px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_QUANTITY"),alvqa:this.alvqa+"header-quantity",align:"right",sortable:!1,value:"quantity",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_ITEM_PRICE")+" "+this.$store.getters.getInvoicesDetailsCurrency,alvqa:this.alvqa+"header-item-price",align:"right",sortable:!1,value:"price",tooltip:"",width:"150px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_SUM_NET")+" "+this.$store.getters.getInvoicesDetailsCurrency,alvqa:this.alvqa+"header-sum-net",align:"right",sortable:!1,value:"sum",tooltip:"",width:"150px"},{text:this.$t("lang_GENERIC_CAPTION_VAT")+" %",alvqa:this.alvqa+"header-vat",align:"right",sortable:!1,value:"vat",tooltip:"",width:"80px"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}}},zT=jT,HT=(a("adfc"),Object(C["a"])(zT,MT,WT,!1,null,null,null)),VT=HT.exports,KT={name:"InvoicesReadOnly",components:{InvoiceRowsReadOnlyPanel:VT},props:{itemId:{type:Number}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedInvoices.find((function(e){return e.id===t.itemId}));return e}},methods:{getLangOfPaymentMethod:function(t){if(t)return oa.find((function(e){return e.value==t})).text},getLangOfType:function(t){return ua.find((function(e){return e.value==t})).text},getLangOfStatus:function(t){return ca.find((function(e){return e.value==t})).text},getLangOfLanguage:function(t){return ha.find((function(e){return e.value==t})).text},getLangOfSalesType:function(t){return 2==this.$store.getters.getSelectedOverAllCompany.context?Xe.find((function(e){return e.value==t})).text:ma.find((function(e){return e.value==t})).text},getLangOfLinkedDocumentType:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return sa.find((function(e){return e.value==t}))[e]}}},ZT=KT,XT=Object(C["a"])(ZT,FT,UT,!1,null,null,null),JT=XT.exports,QT=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Invoices",alvqa:"erp-invoices"}}),a("ReportButton",{attrs:{items:t.reportOptions,context:"FileReport",alvqa:t.alvqa,cols:"2"}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"Invoices",typeStats:"LIST",alvqa:"erp-invoices-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{xl:"2",lg:"3","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_ERP_INVOICES_BUTTON_CAPTION_ADD_NEW_INVOICE",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)},tb=[],eb={name:"InvoicesTopSlot",data:function(){return{editForm:"InvoicesEdit",alvqa:"erp-invoices"}},components:{BaseHeaderStats:ti,BaseButton:wt,ReportButton:dI,ActionDropdown:Mn},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_GENERIC_CAPTION_PRINT"),value:"print",alvqa:this.alvqa+"-list-action-dropdown-print"},{text:this.$t("lang_GENERIC_CAPTION_EXPORT"),value:"export",alvqa:this.alvqa+"-list-action-dropdown-export"},{text:this.$t("lang_GENERIC_CAPTION_COPY"),value:"copy",alvqa:this.alvqa+"-list-action-dropdown-copy"},{text:this.$t("lang_ERP_INVOICES_ACTION_CREATE_ACCOUNT_STATEMENT"),value:"createAccountStatement",alvqa:this.alvqa+"-list-action-dropdown-create-account-statement"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]},reportOptions:function(){var t=[{text:this.$t("lang_ERP_INVOICES_CAPTION_ACCOUNT_OVERVIEW"),value:"accountReviewErpInvoices",alvqa:this.alvqa+"-list-report-dropdown-account-overview"},{text:this.$t("lang_ERP_INVOICES_REPORT_DROPDOWN_GEMA_AUDIT_REPORT"),value:"gemaAuditReportErpInvoices",alvqa:this.alvqa+"-list-report-dropdown-gema-audit"}];return 2==this.$store.getters.getSelectedOverAllCompany.context&&t.push({text:this.$t("lang_ERP_INVOICES_GEMA_TAS"),value:"gemaTAS",alvqa:this.alvqa+"-list-report-dropdown-gema-tas"}),t}},methods:{accountOverview:function(){this.$store.dispatch("invoicesAccountOverview")}}},ab=eb,nb=Object(C["a"])(ab,QT,tb,!1,null,null,null),ib=nb.exports,sb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showGemaTasDialog,maxDialogWidth:"800",headline:"lang_ERP_INVOICES_GEMA_TAS_DIALOG_NAME",close:t.closeDialog,maxCardHeight:"1110",scrollable:!1,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pl-0 ml-4"},[a("BasePeriod",{attrs:{context:"GemaTasDialog",periodLabel:"lang_GENERIC_CAPTION_PERIOD",monthNotAllowed:!0,widthTimeUnitField:"5",justify:"center"}})],1)],1),a("v-row",[a("v-col",{staticClass:"pl-0"},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ExcludedCountry",clearable:!1,label:t.textFieldLabel,alvqa:t.alvqa+"-textfield-exclude-country"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end pl-0 pt-0",attrs:{"align-self":"center"}},[t.isLoading?a("v-progress-circular",{staticClass:"mr-5",attrs:{alvqa:t.alvqa+"-progress-bar",indeterminate:"",color:"dialogProgressbar"}}):t._e(),a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",disabled:t.disableBtn,alvqa:t.alvqa},on:{click:function(e){return t.getGemaTasReport()}}})],1)],1)],1)]},proxy:!0}])})},rb=[],lb={name:"GemaTasDialog",components:{BaseDialog:Pt,BasePeriod:Zd,BaseEditPageTextField:Ut,BaseButton:wt},data:function(){return{alvqa:"erp-invoices-gema-tas-dialog",context:"GemaTasDialog"}},computed:{showGemaTasDialog:{get:function(){return this.$store.getters.getShowGemaTasDialog},set:function(t){this.$store.commit("setShowGemaTasDialog",t)}},setExcludedCountry:{get:function(){return this.$store.getters.getGemaTasDialogDetailsExcludedCountry},set:function(t){this.$store.commit("setGemaTasDialogDetailsExcludedCountry",t)}},isLoading:function(){return this.$store.getters.getIsLoading},textFieldLabel:function(){return this.$t("lang_ERP_INVOICES_GEMA_TAS_EXCLUDE_FROM_TAS")},disableBtn:function(){var t=this.$store.getters.getSelectedPeriodNumberGemaTasDialog,e=this.$store.getters.getSelectedPeriodTimeUnitGemaTasDialog,a=this.$store.getters.getSelectedPeriodYearGemaTasDialog;return!!this.isLoading||(null!==t&&void 0!==t||"year"!==e||null===a)&&(null===t||"year"===e||null===e||null===a)}},methods:{closeDialog:function(){this.showGemaTasDialog=!1,this.setExcludedCountry="",this.$store.commit("setSelectedPeriodValuesGemaTasDialog",{number:null,timeUnit:null,year:null}),this.$store.commit("setSelectedFileReport",[])},getGemaTasReport:function(){this.$store.dispatch("doGemaTasReport")}}},ob=lb,cb=Object(C["a"])(ob,sb,rb,!1,null,null,null),ub=cb.exports;function db(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function gb(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?db(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):db(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var pb={name:"InvoicesList",components:{BaseButton:wt,BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,InvoicesTopSlot:ib,BaseIcon:N,ExpandIcon:is,DeletionDialog:Cs,GemaTasDialog:ub,PeriodRequiredDialog:ap,InvoicesReadOnly:JT,SelectionRequiredDialog:hs,DropdownFilter:us,DatePickerFilter:gT},data:function(){return{context:"Invoices",alvqa:"erp-invoices-list"}},methods:(_T={getLangOfStatus:function(t){return DropdownErpShippingStatus.find((function(e){return e.value==t})).text}},Object(c["a"])(_T,"getLangOfStatus",(function(t){return ca.find((function(e){return e.value==t})).text})),Object(c["a"])(_T,"getLangOfType",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return ua.find((function(e){return e.value==t}))[e]})),Object(c["a"])(_T,"getLangOfLinkedDocumentType",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return sa.find((function(e){return e.value==t}))[e]})),Object(c["a"])(_T,"getSumNetConverted",(function(t){return t.item.conversionFactor?t.item.sumNet*t.item.conversionFactor:t.item.sumNet})),Object(c["a"])(_T,"jumpToInvoice",(function(t){this.$store.commit("setInvoicesSearch",t),this.$store.commit("setExpandedInvoices",[]),this.$store.commit("setExpandedInvoices",t),this.$router.push({name:"Invoices"}),this.$store.dispatch("fetchInvoicesDetails",t)})),Object(c["a"])(_T,"jumpToShipping",(function(t){this.$store.commit("setShippingSearch",t),this.$store.commit("setExpandedShipping",[]),this.$store.commit("setExpandedShipping",t),this.$router.push({name:"Shipping"}),this.$store.dispatch("fetchShippingDetails",t)})),Object(c["a"])(_T,"jumpToSalesdata",(function(t){this.$store.commit("setSalesDataSearch",t),this.$store.commit("setExpandedSalesData",[]),this.$store.commit("setExpandedSalesData",t),this.$router.push({name:"SalesData"}),this.$store.dispatch("fetchSalesDataDetails",t)})),Object(c["a"])(_T,"jumpToDocument",(function(t,e){switch(t){case"reg":this.jumpToInvoice(e);break;case"incoming":this.jumpToShipping(e);break;case"shipping":this.jumpToShipping(e);break;case"picking":this.jumpToShipping(e);break;case"returning":this.jumpToShipping(e);break;case"sales":this.jumpToSalesdata(e);break;default:break}})),_T),computed:gb({},Object(u["c"])(["getInvoicesSearch"]),{headers:function(){return[{text:"",value:"data-table-select",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_NUMBER_ABBREVIATION"),value:"number",align:"left",width:"160px",sortable:!0,class:"text-no-wrap",alvqa:"schnippschnapp"},{text:this.$t("lang_ERP_INVOICES_CAPTION_DATE_ABBREVIATION"),value:"date",align:"left",width:"90px",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_TYPE"),value:"type",align:"left",width:"50px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_RECIPIENT_ABBREVIATION"),value:"recipientName",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_SUM_NET")+" "+this.$store.getters.getSelectedCurrency,value:"sumNet",align:"right",width:"100px",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_STATUS"),value:"status",align:"left",width:"130px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ERP_INVOICES_CAPTION_LINKED_DOC_ABBREVIATION"),value:"linkedDocument",align:"left",width:"200px",sortable:!1,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},statusItems:function(){var t=JSON.parse(JSON.stringify(ca));return t.push({text:this.$t("lang_ERP_INVOICES_DROPDOWN_STATUS_OPEN")+" + "+this.$t("lang_ERP_INVOICES_DROPDOWN_STATUS_OVERDUE"),value:6,alvqa:"dropdown-status-open-and-overdue"}),t},typeItems:function(){return ua},periodDateItems:function(){return[{text:this.$t("lang_ERP_INVOICES_CAPTION_DATE"),value:"invoicesDate",alvqa:"dropdown-date-invoices-date"},{text:'"'+this.$t("lang_ERP_INVOICES_CAPTION_PAIDDATE")+'" '+this.$t("lang_GENERIC_CAPTION_DATE"),value:"paidDate",alvqa:"dropdown-date-paid-date"}]}})},vb=pb,_b=Object(C["a"])(vb,$T,GT,!1,null,null,null),hb=_b.exports,mb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/erp/invoices",showPrintBtn:!0,printBtnFunction:t.print},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return["ja"==t.$i18n.locale?a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.recipientName+" "+t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR")+" "+n.number)+"\n            ")]):a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.number+" "+t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_TITLE_FOR")+" "+n.recipientName)+"\n            ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Recipient",label:t.invoicesRecipient,rules:"required",withFreeText:!1,additionalFunction:t.showInvoicesRecipientAddress,alvqa:t.alvqa+"-erp-invoices-recipient-textfield-autocomplete"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-invoices-recipient-selection"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-invoices-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-invoices-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-invoices-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" | "+t._s(n.alvId)+"                                      \n                                ")])],1)]}}])})],1),a("v-row",[a("v-container",[a("v-card",{staticClass:"mb-4",attrs:{elevation:"1"}},[a("v-card-text",{domProps:{innerHTML:t._s(t.invoicesRecipientFullAddress)}})],1)],1)],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Note",rows:"3",label:t.$t("lang_ERP_INVOICES_CAPTION_NOTE"),alvqa:t.alvqa+"-textarea-invoice-note"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"PeriodOfService",rows:"2",label:t.$t("lang_ERP_INVOICES_CAPTION_PERIOD_OF_SERVICE"),alvqa:t.alvqa+"-textarea-period-of-service"}})],1),a("BasePeriod",{attrs:{context:"Invoices",periodLabel:"lang_ERP_INVOICES_CAPTION_PERIOD",widthYearField:"3",undefinedTimeUnit:!0,widthTimeUnitField:"6",widthNumberField:"3"}})],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.dropdownType,rules:"required",label:t.$t("lang_ERP_INVOICES_CAPTION_TYPE"),alvqa:t.alvqa+"-dropdown-invoice-type"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Status",items:t.dropdownStatus,rules:"required",label:t.$t("lang_ERP_INVOICES_CAPTION_STATUS"),alvqa:t.alvqa+"-dropdown-invoice-status"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Number",label:t.$t("lang_ERP_INVOICES_CAPTION_NUMBER"),alvqa:t.alvqa+"-textfield-invoice-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),alvqa:t.alvqa+"-textfield-invoice-alvid",readonly:!0,clearable:!1}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TransactionNumber",label:t.$t("lang_ERP_CAPTION_TRANSACTION_NUMBER"),alvqa:t.alvqa+"-textfield-invoice-transaction-number",clearable:!t.hasLinkedDocument,disabled:t.hasLinkedDocument}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.$t("lang_ERP_INVOICES_CAPTION_RECIPIENT_VATID"),alvqa:t.alvqa+"-textfield-invoice-vatid"}})],1),a("v-menu",{ref:"menu",attrs:{"close-on-content-click":!1,"return-value":t.statisticIn,transition:"scale-transition","offset-y":"","max-width":"290px","min-width":"auto"},on:{"update:returnValue":function(e){t.statisticIn=e},"update:return-value":function(e){t.statisticIn=e}},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on;return[a("v-text-field",t._g({attrs:{label:t.$t("lang_ERP_INVOICES_CAPTION_STATISTIC_IN"),readonly:""},model:{value:t.statisticIn,callback:function(e){t.statisticIn=e},expression:"statisticIn"}},n))]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("v-date-picker",{attrs:{type:"month","no-title":"",scrollable:"",locale:t.$i18n.locale},model:{value:t.statisticIn,callback:function(e){t.statisticIn=e},expression:"statisticIn"}},[a("v-spacer"),a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CANCEL",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){t.menu=!1}}}),a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_SAVE",alvqa:t.alvqa+"-button-cancel"},on:{click:function(e){return t.$refs.menu.save(t.statisticIn)}}})],1)],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",label:t.$t("lang_ERP_INVOICES_CAPTION_DATE"),alvqa:t.alvqa+"-datepicker-invoice-date",rules:"required"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"DueDate",label:t.$t("lang_ERP_INVOICES_CAPTION_DUEDATE"),alvqa:t.alvqa+"-datepicker-invoice-due-date"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Term",label:t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-textfield-invoice-payment-target",suffix:t.$t("lang_CAPTION_DAYS")}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"PaidDate",label:t.$t("lang_ERP_INVOICES_CAPTION_PAIDDATE"),alvqa:t.alvqa+"-datepicker-invoice-paid-date",rules:t.isPaidDateRequired}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"PaymentMethod",items:t.dropdownPaymentMethod,label:t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_METHOD"),alvqa:t.alvqa+"-dropdown-invoice-payment-method"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"PaymentMethodDetails",rows:"3",label:t.$t("lang_ERP_INVOICES_CAPTION_PAYMENT_METHOD_DETAILS"),alvqa:t.alvqa+"-textarea-invoice-payment-method-details"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",rules:"required",items:t.dropdownLanguage,label:t.$t("lang_ERP_INVOICES_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-dropdown-invoice-language"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Currency",items:t.dropdownCurrency,clearable:!1,label:t.$t("lang_GENERIC_CAPTION_CURRENCY"),alvqa:t.alvqa+"-dropdown-invoice-currency"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ConversionFactor",label:t.$t("lang_ERP_INVOICES_CAPTION_CONVERSION_FACTOR_ABBREVIATION"),iconTooltipText:t.$t("lang_ERP_INVOICES_TOOLTIP_CCF"),rules:"notZero|amountMaxEightDigits|wuf",alvqa:t.alvqa+"-textfield-invoice-conversion-factor"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SalesType",items:t.dropdownSalesTypes,label:t.$t("lang_ERP_INVOICES_CAPTION_SALES_TYPES"),alvqa:t.alvqa+"-dropdown-invoice-sales-type",clearable:!1,rules:"required"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ArrivalConfirmation",items:t.dropdownArrivalConfirmation,label:t.$t("lang_ERP_INVOICES_CAPTION_ARRIVAL_CONFIRMATION"),alvqa:t.alvqa+"-dropdown-invoice-arrival-confirmation"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PartialPayment",label:t.$t("lang_ERP_INVOICES_CAPTION_PARTIAL_PAYMENT"),iconTooltipText:t.$t("lang_ERP_INVOICES_TOOLTIP_PARTIAL_PAYMENT"),alvqa:t.alvqa+"-textfield-invoice-partial-payment"}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("InvoiceRowsEditPanel"),a("EditingDialog",{attrs:{context:t.context+"InvoiceRows",additionalSaveFunction:t.formatAmountBeforeSave,useAdditionalSaveFunction:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("InvoiceRowsEditPanelDialog")]},proxy:!0}])}),a("DeletionDialog",{attrs:{context:"SelectedInvoicesInvoiceRows"}}),a("FileImportDialog",{attrs:{alvqaContext:t.alvqa,context:"InvoicesDetails"}})]},proxy:!0}])})},fb=[],Sb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ERP_INVOICES_CAPTION_INVOICEROWS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.items,"items-per-page":990,"header-props":{sortIcon:""},"hide-default-footer":"",loading:t.isLoading,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-col",{attrs:{cols:"6"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only"},[t._v("\n                                        "+t._s(t.$t("lang_ERP_INVOICES_CAPTION_QUANTITY"))+": "+t._s(t.$n(t.getTotalQuantity(),"numberInteger"))+" |\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+" "+t._s(t.$t("lang_ERP_INVOICES_CAPTION_SUM_NET"))+": "+t._s(t.$n(t.getTotalNetSum(),"number"))+" |\n                                        "+t._s(t.$t("lang_GENERIC_CAPTION_SUM"))+" "+t._s(t.$t("lang_ERP_INVOICES_CAPTION_SUM_GROSS"))+": "+t._s(t.$n(t.getTotalBrutto(),"number"))+"\n                                    ")])])],1)],1),a("v-col",{attrs:{"align-self":"center",cols:"3"}},[t.showImportExcelButton?a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_IMPORT_EXCEL",block:"",alvqa:t.alvqa+"-button-import-excel",disabled:t.isImportButtonDisabled},on:{click:t.importExcel}}):t._e()],1),a("v-col",{attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-title"}},[a("BaseIcon",{attrs:{icon:t.$alvPlugin.getIconOfType(n.type),tooltipText:t.$alvPlugin.getIconTooltipText(n),alvqa:t.alvqa+"-icon"}}),t._v("\n                    "+t._s(t.getTitle(n))+"\n                ")],1)]}},{key:"item.productId",fn:function(e){var a=e.item;return[t._v("\n                "+t._s(t.$alvPlugin.getProductItemId(a))+"\n            ")]}},{key:"item.batch",fn:function(e){var a=e.item;return[t._v("\n                "+t._s(t.$t(t.getLangOfBatch(a.batch)))+"\n            ")]}},{key:"item.price",fn:function(e){var n=e.item;return[null!=n.price?a("div",[a("div",[t._v(t._s(t.$alvPlugin.formatNumberToFourDecimals(t.$alvPlugin.stringToNumber(n.price))))])]):t._e()]}},{key:"item.sum",fn:function(e){var n=e.item;return[null!=n.sum?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(t.autocalculateSum(n)),format:"number"}}):t._e()]}},{key:"item.vat",fn:function(e){var n=e.item;return[null!=n.vat?a("i18n-n",{attrs:{value:t.$alvPlugin.stringToNumber(n.vat),format:"number"}}):t._e()]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteInvoiceRows(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},Eb=[],Ib={name:"InvoiceRowsEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseInlineEditingDataTable:Tp,BaseButton:wt},data:function(){return{alvqa:"erp-invoices-edit-form-panel-invoicerows"}},computed:{items:function(){return this.$store.getters.getInvoicesInvoiceRows},isLoading:function(){return this.$store.getters.getIsLoading},headers:function(){return[{text:this.$t("lang_ERP_INVOICES_CAPTION_ITEM_TITLE"),alvqa:this.alvqa+"header-item-title",align:"left",sortable:!1,value:"title",tooltip:"",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ID"),alvqa:this.alvqa+"header-id",align:"left",sortable:!1,value:"productId",tooltip:"",width:"150px"},{text:this.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),alvqa:this.alvqa+"header-batch",align:"left",sortable:!1,value:"batch",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_QUANTITY"),alvqa:this.alvqa+"header-quantity",align:"right",sortable:!1,value:"quantity",tooltip:"",width:"80px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_ITEM_PRICE")+" "+this.$store.getters.getInvoicesDetailsCurrency,alvqa:this.alvqa+"header-item-price",align:"right",sortable:!1,value:"price",tooltip:"",width:"100px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_SUM_NET")+" "+this.$store.getters.getInvoicesDetailsCurrency,alvqa:this.alvqa+"header-sum-net",align:"right",sortable:!1,value:"sum",tooltip:"",width:"100px"},{text:this.$t("lang_GENERIC_CAPTION_VAT")+" %",alvqa:this.alvqa+"header-vat",align:"right",sortable:!1,value:"vat",tooltip:"",width:"80px"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},showImportExcelButton:function(){return 2===this.$store.getters.getSelectedOverAllCompany.context},isImportButtonDisabled:function(){return"ALV000000000IN"===this.$store.getters.getInvoicesDetailsAlvId}},methods:{getTitle:function(t){return"string"===typeof t.title?t.title:t.title.title},autocalculateSum:function(t){var e=t.quantity;return"label/freetext"!=t.type&&"publishing/freetext"!=t.type||null!=e||(e=1),t.sum=this.$alvPlugin.stringToNumber(t.price)*this.$alvPlugin.stringToNumber(e),t.sum},addNewRow:function(){var t=this.$store.getters.getSelectedOverAllCompany.context,e=2==t?"label/releases":"publishing/works";this.$store.commit("setInvoicesInvoiceRowsTitleSearch",e),this.$store.commit("setInvoicesInvoiceRowsIsNewSearch",!0),this.$store.commit("setInvoicesInvoiceRowsTitleOptions",[]),this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var a=JSON.parse(JSON.stringify(this.$store.getters.getDefaultInvoicesInvoiceRows));this.$store.commit("setInvoicesInvoiceRowsEditingDialogDetails",a)},getLangOfBatch:function(t){return t?la.find((function(e){return e.value==t})).text:""},deleteInvoiceRows:function(t){this.$store.commit("setSelectedInvoicesInvoiceRows",[t.id]),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedInvoicesInvoiceRows",t.id),this.$store.commit("setInvoicesInvoiceRowsIsNewSearch",!1);var e=JSON.parse(JSON.stringify(t));null!=e["price"]&&(e["price"]=this.$alvPlugin.formatNumberToFourDecimals(this.$alvPlugin.stringToNumber(e["price"]))),null!=e["vat"]&&(e["vat"]=this.$n(this.$alvPlugin.stringToNumber(e["vat"]),"number")),this.$store.commit("setInvoicesInvoiceRowsTitleSearch",t.type),this.$store.commit("setInvoicesInvoiceRowsTitleOptions",[e]),this.$store.commit("setInvoicesInvoiceRowsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)},importExcel:function(){this.$store.commit("setSelectedFileImport","invoiceRows"),this.$store.dispatch("doFileImport")},getTotalQuantity:function(){var t=this;return this.items.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.quantity)}),0)},getTotalNetSum:function(){var t=this;return this.items.reduce((function(e,a){return e+t.$alvPlugin.stringToNumber(a.sum)}),0)},getTotalBrutto:function(){var t=this,e=0;return e=this.items.reduce((function(e,a){var n=0;return n=null!==a.vat?a.sum*(a.vat/100+1):a.sum,e+t.$alvPlugin.stringToNumber(n)}),0),e}}},Cb=Ib,Ab=(a("b940"),Object(C["a"])(Cb,Sb,Eb,!1,null,null,null)),Tb=Ab.exports,bb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",{staticClass:"ml-n5 mt-2"},[a("v-col",{attrs:{cols:"8"}},[t.companyIsLabel?t._l(t.entryTypesForLabelCompanies,(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:t.getSearchType==e.search?"selectedChip":"standard"},on:{click:function(a){return t.changeEntryTypes(e)}}},[a("div",{attrs:{alvqa:t.alvqa+"-entry-type-chip-"+e.search}},[t._v("\n                    "+t._s(e.text)+"\n                ")])])})):t._l(t.entryTypesForPublishingCompanies,(function(e,n){return a("v-chip",{key:n,staticClass:"ml-2 pl-4 pr-4",attrs:{color:t.getSearchType==e.search?"selectedChip":"standard"},on:{click:function(a){return t.changeEntryTypes(e)}}},[a("div",{attrs:{alvqa:t.alvqa+"-entry-type-chip-"+e.search}},[t._v("\n                    "+t._s(e.text)+"\n                ")])])}))],2)],1),a("v-row",[a("v-col",{attrs:{cols:"12"}},["label/freetext"!=t.getSearchType&&"publishing/freetext"!=t.getSearchType&&t.isNewSearch?[a("BaseEditPageAutocomplete",{attrs:{context:t.context+"InvoiceRows",field:"Title",label:t.autocompleteSearchCaption,rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-textfield-title",itemValue:"alvId"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-invoices-invoicerows-title"}},[t._v("\n                        "+t._s(t.titleSelection(n))+"\n                    ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-invoices-invoicerows-title-dropdown"}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-invoices-invoicerows-title-dropdown"}},[t._v("\n                            "+t._s(t.titleDropdown(n))+"\n                        ")])],1)]}}],null,!1,547014354)})]:"label/freetext"===t.getSearchType||"publishing/freetext"===t.getSearchType?[a("BaseEditPageTextField",{attrs:{context:t.context+"InvoiceRows",field:"Title",clearable:!0,rules:"required",label:t.$t("lang_GENERIC_CAPTION_FREETEXT"),alvqa:t.alvqa+"-textfield-freetext",withMargin:!1}})]:[a("BaseEditPageTextField",{attrs:{context:t.context+"InvoiceRows",field:"TitleReadOnly",clearable:!1,label:t.getSearchCaption,alvqa:t.alvqa+"-textfield-tag",withMargin:!1,disabled:!0}})]],2)],1),a("v-row",["label/releases"==t.getSearchType||"publishing/releases"==t.getSearchType?a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"InvoiceRows",field:"Batch",items:t.dropdownBatches,label:t.$t("lang_ERP_SHIPPING_CAPTION_BATCH"),selection:!0,withMargin:!1,rules:"required",alvqa:t.alvqa+"-dropdown-batch"}})],1):t._e(),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"InvoiceRows",field:"Quantity",label:t.$t("lang_GENERIC_CAPTION_QUANTITY"),withMargin:!1,additionalFunction:t.updateSum(),alvqa:t.alvqa+"-textfield-quantity"}})],1),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"InvoiceRows",field:"Price",label:t.$t("lang_GENERIC_CAPTION_PRICE")+" "+this.$store.getters.getInvoicesDetailsCurrency,withMargin:!1,alvqa:t.alvqa+"-textfield-price",rules:"positiveOrNegativeWithMaxFourDigits"}})],1),a("v-col",{attrs:{cols:"3"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"InvoiceRows",field:"Vat",label:t.$t("lang_GENERIC_CAPTION_VAT")+" %",withMargin:!1,alvqa:t.alvqa+"-textfield-vat"}})],1)],1)],1)},Pb=[],Db={name:"InvoiceRowsEditPanelDialog",components:{BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs},data:function(){return{context:"Invoices",alvqa:"erp-invoices-edit-panel-invoicerows-dialog",searchObject:{company:2==this.$store.getters.getSelectedOverAllCompany.context?"label":"publishing",search:null,caption:""},fetchPrice:null}},created:function(){var t=this.$store.getters.getInvoicesInvoiceRowsTitleSearch;if(this.companyIsLabel){var e=this.entryTypesForLabelCompanies.find((function(e,a){if(e.search==t)return!0}));this.searchObject.caption=e.caption}else{var a=this.entryTypesForPublishingCompanies.find((function(e,a){if(e.search==t)return!0}));this.searchObject.caption=a.caption}},computed:{autocompleteSearchCaption:function(){return this.getSearchCaption},companyIsLabel:function(){return 2==this.$store.getters.getSelectedOverAllCompany.context},dropdownBatches:function(){return la},entryTypesForLabelCompanies:function(){return[{text:this.$t("lang_LABEL_TRACKS"),search:"label/tracks",caption:"lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_TRACKS"},{text:this.$t("lang_LABEL_RELEASES"),search:"label/releases",caption:"lang_ERP_INVOICES_CAPTION_INVOICEROWS_DIALOG_SEARCH_LABEL_RELEASES"},{text:this.$t("lang_GENERIC_CAPTION_FREETEXT"),search:"label/freetext",caption:"lang_GENERIC_CAPTION_FREETEXT"}]},entryTypesForPublishingCompanies:function(){return[{text:this.$t("lang_PUBLISHING_CAPTION_WORKS"),search:"publishing/works",caption:"lang_PUBLISHING_CAPTION_WORKS"},{text:this.$t("lang_PUBLISHING_CAPTION_SHEETS"),search:"publishing/sheets",caption:"lang_PUBLISHING_CAPTION_SHEETS"},{text:this.$t("lang_PUBLISHING_CAPTION_PROJECTS"),search:"publishing/releases",caption:"lang_PUBLISHING_CAPTION_PROJECTS"},{text:this.$t("lang_GENERIC_CAPTION_FREETEXT"),search:"publishing/freetext",caption:"lang_GENERIC_CAPTION_FREETEXT"}]},getSearchType:function(){var t=this.$store.getters.getInvoicesInvoiceRowsTitleSearch;return t},getSearchCaption:function(){var t=this.getSearchType;if(this.companyIsLabel){var e=this.entryTypesForLabelCompanies.find((function(e,a){if(e.search==t)return!0}));return this.$t(e.caption)}var a=this.entryTypesForPublishingCompanies.find((function(e,a){if(e.search==t)return!0}));return this.$t(a.caption)},getTitleOfExistingRow:function(){return this.$store.getters.getInvoicesInvoiceRowsDetailsTitle},isNewSearch:function(){var t=this.$store.getters.getInvoicesInvoiceRowsIsNewSearch;return t}},methods:{changeEntryTypes:function(t){this.isNewSearch&&(this.$store.commit("setInvoicesInvoiceRowsDetailsTitle",null),this.$store.commit("setInvoicesInvoiceRowsTitleOptions",[]),this.$store.commit("setInvoicesInvoiceRowsTitleSearch",t.search),this.$store.commit("setInvoicesInvoiceRowsDetailsType",t.search))},updateSum:function(){var t=this.$store.getters.getInvoicesInvoiceRowsDetailsQuantity,e=this.$store.getters.getInvoicesInvoiceRowsDetailsPrice,a=this.$alvPlugin.stringToNumber(t)*this.$alvPlugin.stringToNumber(e);this.$store.commit("setInvoicesInvoiceRowsDetailsSum",a)},titleDropdown:function(t){if(this.companyIsLabel){if("label/tracks"==this.getSearchType)return t.title+" ("+this.$alvPlugin.getProductItemIdLabelTracks(t)+")";if("label/releases"==this.getSearchType)return t.title+" ("+this.$alvPlugin.getProductItemIdLabelReleases(t)+")"}else{if("publishing/works"==this.getSearchType)return t.title+" ("+t.gemaNumber+")";if("publishing/sheets"==this.getSearchType)return t.title;if("publishing/releases"==this.getSearchType)return t.title}},titleSelection:function(t){var e=this;if(t.connectionId)return t.title+" ("+t.connectionId+")";if(this.$store.commit("setInvoicesInvoiceRowsTitleSearch",this.getSearchType),this.$store.commit("setInvoicesInvoiceRowsDetailsConnectionId",t.alvId),this.$store.commit("setInvoicesInvoiceRowsDetailsType",this.getSearchType),this.$store.commit("setInvoicesInvoiceRowsDetailsProductId",this.$alvPlugin.getProductItemId(t)),t.priceForInvoice){var a=t.priceForInvoice.price;null!=a&&""!=a&&this.$store.commit("setInvoicesInvoiceRowsDetailsPrice",this.$n(this.$alvPlugin.stringToNumber(a,"number")))}else if(!this.$store.getters.getInvoicesInvoiceRowsDetailsPrice){var n=this.$store.getters.getInvoicesInvoiceRowsEditingDialogDetails.title.id,i=this.$store.getters.getInvoicesDetails.id;this.fetchPrice||(this.fetchPrice=this.$store.dispatch("fetchPriceForInvoiceEditPanel",{releaseId:n,invoiceId:i}).then((function(t){(t instanceof String||"number"===typeof t)&&(t=e.$alvPlugin.floatToString(t),e.$store.commit("setInvoicesInvoiceRowsDetailsPrice",t),e.fetchPrice=null)})).catch((function(t){e.fetchPrice=null})))}switch(this.getSearchType){case"label/tracks":return t.title+" ("+this.$alvPlugin.getProductItemIdLabelTracks(t)+")";case"label/releases":return t.title+" ("+this.$alvPlugin.getProductItemIdLabelReleases(t)+")";case"publishing/works":return t.title+" ("+t.gemaNumber+")";case"publishing/sheets":return t.title;case"publishing/releases":return t.title;default:return"Error in type of invoice row"}}}},Nb=Db,Rb=Object(C["a"])(Nb,bb,Pb,!1,null,null,null),xb=Rb.exports,Ob={name:"InvoicesEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseButton:wt,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,BaseEditPageDatePicker:$r,BasePeriod:Zd,BaseEditPageAutocomplete:Zs,SearchDialog:ys,DeletionDialog:Cs,EditingDialog:ho,InvoiceRowsEditPanel:Tb,InvoiceRowsEditPanelDialog:xb,FileImportDialog:Ns},data:function(){return{context:"Invoices",alvqa:"erp-invoices-edit-form",menu:!1}},computed:{dropdownArrivalConfirmation:function(){return be},invoicesRecipientFullAddress:function(){return this.$store.getters.getInvoicesDetailsRecipientFullAddress},transactionNumber:function(){return this.$store.getters.getInvoicesDetailsTransactionNumber},hasLinkedDocument:function(){return!!this.$store.getters.getInvoicesDetailsLinkedDocument},invoicesRecipient:function(){return this.$t("lang_ERP_INVOICES_CAPTION_RECIPIENT")},dropdownPaymentMethod:function(){return oa},dropdownStatus:function(){return ca},dropdownType:function(){return ua},dropdownLanguage:function(){return ha},dropdownCurrency:function(){return ia},dropdownSalesTypes:function(){return 2==this.$store.getters.getSelectedOverAllCompany.context?Xe:ma},statisticIn:{get:function(){return this.$store.getters.getInvoicesDetailsStatisticIn},set:function(t){this.$store.commit("setInvoicesDetailsStatisticIn",t)}},isPaidDateRequired:function(){var t=this.$store.getters.getInvoicesDetailsStatus;return 2===t?"required":""}},methods:{showInvoicesRecipientAddress:function(t){null!==t&&void 0!==t&&(this.$store.commit("setInvoicesDetailsVatId",t.finance.vatId),this.$store.commit("setInvoicesDetailsTerm",t.finance.paymentTarget),this.$store.commit("setInvoicesDetailsLanguage",t.metadata.language),this.$store.commit("setInvoicesDetailsRecipientFullAddress",t.fullAddress))},formatAmountBeforeSave:function(t){return t.quantity=this.$alvPlugin.stringToNumber(t.quantity),t.vat=null!==t.vat?this.$alvPlugin.stringToFloat(t.vat):null,t.price=null!==t.price?this.$alvPlugin.stringToFloat(t.price):null,t},print:function(){"new"!==this.$route.params.alvId&&(this.$store.commit("setSelectedInvoices",[this.$store.getters.getInvoicesDetailsAlvId]),this.$store.dispatch("printInvoices"),this.$store.commit("setSelectedInvoices",[]))}}},wb=Ob,Lb=Object(C["a"])(wb,mb,fb,!1,null,null,null),yb=Lb.exports,qb=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("SelectionRequiredDialog"),n("DeletionDialog",{attrs:{context:"Selected"+t.context}}),n("ErrorDialog"),n("ImageUploadDialog",{attrs:{headline:"lang_GENERAL_CAPTION_UPLOAD_IMAGE"}}),n("BaseListPage",{attrs:{headline:"lang_AZ_GROUPS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("AzGroupsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",[n("v-img",{attrs:{src:void 0!==i.item.picture&&null!==i.item.picture?i.item.picture:a("ee19"),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}})],1),n("td",{staticClass:"no_ellipsis"},[n("BaseTooltip",{attrs:{simpleText:i.item.group,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-group"}})],1),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-key-name"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.gemaName)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-city"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.city)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-alv-id"}},[t._v("\n                            "+t._s(i.item.alvId)+"\n                        ")]),n("td",{staticClass:"no_ellipsis"},[n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.id+"-icon-upload-picture",icon:"photo",tooltipText:i.item.picture?"lang_GENERIC_CAPTION_CHANGE_IMAGE":"lang_GENERIC_CAPTION_UPLOAD_IMAGE",color:i.item.picture?"buttonStandard":"standardBrownIcon"},on:{click:function(e){return e.stopPropagation(),t.showImageUploadDialog(i.item)}}})],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[n("AzGroupsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},kb=[],Bb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"AzGroups",alvqa:t.alvqa,cols:"3"}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"AzGroups",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_AZ_GROUPS_BUTTON_CAPTION_NEW_GROUP",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},$b=[],Gb={name:"AzGroupsTopSlot",components:{BaseHeaderStats:ti,BaseButton:wt,ActionDropdown:Mn},data:function(){return{editForm:"AzGroupsEdit",alvqa:"az-groups"}},computed:{actions:function(){return[{text:this.$t("lang_AZ_PERSONS_ACTION_OPTION_PRINT_A6_LABELS"),value:"printAzGroupsA6Labels",alvqa:this.alvqa+"-list-action-dropdown-print-a6-labels"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},Fb=Gb,Ub=Object(C["a"])(Fb,Bb,$b,!1,null,null,null),Mb=Ub.exports,Wb=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("v-row",{staticClass:"pl-13 pr-4"},[n("v-col",{attrs:{cols:"1"}},[n("v-img",{attrs:{src:t.item.picture?t.item.picture:a("ee19"),alvqa:t.alvqa+"-list-row-"+t.item.alvId+"-image"}})],1),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-adresse"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"))+":\n                        "),n("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-address-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.copyToClipboard(t.$alvPlugin.getAddressInternational(t.item))}}})],1),n("span",{attrs:{alvqa:t.alvqa+"-address"},domProps:{innerHTML:t._s(t.$alvPlugin.getAddressInternational(t.item))}})])],1)],1),""!=t.item.fullShippingAddress&&null!=t.item.fullShippingAddress?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-full-shipping-address"}},[t._v(t._s(t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-full-shipping-address"},domProps:{innerHTML:t._s(t.item.fullShippingAddress)}})])])],1)],1):t._e(),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.alvId?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]):t._e(),null!=t.item.type?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TYPE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v(t._s(t.$alvPlugin.getAzTypes(t.item.type)))])]):t._e(),null!=t.item.email?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-email"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_EMAIL"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-email"}},[t._v(t._s(t.item.email))])]):t._e(),null!=t.item.cellphone?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-cellphone"}},[t._v(t._s(t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-cellphone"}},[t._v(t._s(t.item.cellphone))])]):t._e(),null!=t.item.phone?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-phone"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_PHONE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-phone"}},[t._v(t._s(t.item.phone))])]):t._e(),null!=t.item.fax?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-fax"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FAX"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-fax"}},[t._v(t._s(t.item.fax))])]):t._e()])],1)],1),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.gemaName?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-name"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-gema-name"}},[t._v(t._s(t.item.gemaName))])]):t._e(),null!=t.item.web?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-web"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_WEB"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-web"}},[t._v(t._s(t.item.web))])]):t._e(),null!=t.item.facebook?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-facebook"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FACEBOOK"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-facebook"}},[t._v(t._s(t.item.facebook))])]):t._e(),null!=t.item.youtube?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-youtube"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_YOUTUBE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-youtube"}},[t._v(t._s(t.item.youtube))])]):t._e(),null!=t.item.twitter?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-twitter"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TWITTER"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-twitter"}},[t._v(t._s(t.item.twitter))])]):t._e()])],1)],1)],1),n("v-row",{staticClass:"pl-4 pr-4"},[""!=t.item.notes&&null!=t.item.notes?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.notes?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOTES"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-notes"},domProps:{innerHTML:t._s(t.showNotesWithBreaks(t.item.notes))}})]):t._e()])],1)],1):t._e(),""!=t.item.shippingNote&&null!=t.item.shippingNote?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.shippingNote?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-shipping-notes"}},[t._v(t._s(t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_NOTE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-shipping-notes"},domProps:{innerHTML:t._s(t.showNotesWithBreaks(t.item.shippingNote))}})]):t._e()])],1)],1):t._e(),""!=t.item.tags&&null!=t.item.tags?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.tags?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_TAGS"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v(t._s(t.item.tags))])]):t._e()])],1)],1):t._e()],1),n("v-row",[n("v-col",{staticClass:"ml-4 mr-4"},[n("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[n("PersonsReadOnlyPanel",{attrs:{id:t.item.id,context:"AzGroups"}}),n("MetadataReadOnlyPanel",{attrs:{azGroupsAlvId:t.item.alvId}}),n("FinanceReadOnlyPanel",{attrs:{azGroupsAlvId:t.item.alvId}})],1)],1)],1)],1)},jb=[],zb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLanguage,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-language"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFoundingDate,label:t.$t("lang_AZ_GROUPS_CAPTION_FOUNDING_DATE"),alvqa:t.alvqa+"-founding-date"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getCustomerNumber,label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-customer-number"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelCompany,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_LABEL_COMPANY"),alvqa:t.alvqa+"-label-company"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelcode,label:t.$t("lang_AZ_PERSONS_CAPTION_LABELCODE"),alvqa:t.alvqa+"-labelcode"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTonisNextPrefix,label:t.$t("lang_AZ_GROUPS_CAPTION_TONIS_NEXT_PREFIX"),alvqa:t.alvqa+"-tonis-next-prefix"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTonisNextSuffix,label:t.$t("lang_AZ_GROUPS_CAPTION_TONIS_NEXT_SUFFIX"),alvqa:t.alvqa+"-tonis-next-suffix"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTasFromPricelist,label:t.$t("lang_AZ_GROUPS_CAPTION_TAS_FROM_PRICELIST"),alvqa:t.alvqa+"-tas-from-pricelist"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getWarehouseName,label:t.$t("lang_AZ_GROUPS_CAPTION_WAREHOUSE_NAME"),alvqa:t.alvqa+"-warehouse-name"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFocFirstShipment,label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_FIRST_SHIPMENT"),alvqa:t.alvqa+"-foc-first-shipment"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFocAllShipments,label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_ALL_SHIPMENTS"),alvqa:t.alvqa+"-foc-all-shipments"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getHandlingFee,label:t.$t("lang_AZ_GROUPS_CAPTION_HANDLING_FEE"),alvqa:t.alvqa+"-handling-fee"}})],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPublishingCompany,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_PUBLISHING_COMPANY"),alvqa:t.alvqa+"-publishing-company"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getIpi,label:t.$t("lang_GENERIC_AZ_CAPTION_IPI"),alvqa:t.alvqa+"-ipi"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getGemaMember,label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_MEMBER"),alvqa:t.alvqa+"-gema-member"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBgNineSplit,label:t.$t("lang_GENERIC_AZ_CAPTION_BG9_FOR_GEMA_MEMBER"),alvqa:t.alvqa+"-bg-nine-split"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYkto,label:t.$t("lang_GENERIC_AZ_CAPTION_YKTO"),alvqa:t.alvqa+"-ykto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getHkto,label:t.$t("lang_GENERIC_AZ_CAPTION_HKTO"),alvqa:t.alvqa+"-hkto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getUkto,label:t.$t("lang_GENERIC_AZ_CAPTION_UKTO"),alvqa:t.alvqa+"-ukto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getSubSplitTreshold,label:t.$t("lang_GENERIC_AZ_CAPTION_SUBSPLIT_TRESHOLD"),alvqa:t.alvqa+"-sub-split-treshold"}})],1)],1)],1)]},proxy:!0}])})},Hb=[],Vb={name:"MetadataPanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},props:{azGroupsAlvId:{type:String}},data:function(){return{alvqa:"az-groups-readonly-panel-metadata"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedAzGroups.find((function(e){return e.id===t.azGroupsAlvId}));return e},getLanguage:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsLanguage;return this.$alvPlugin.getTranslatedLanguageName(t)},getFoundingDate:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsFoundingDate;return t?this.$d(new Date(t),"alvDateFormat"):""},getCustomerNumber:function(){return this.$store.getters.getAzGroupsMetadataDetailsCustomerNumber},getLabelCompany:function(){var t,e=this.$store.getters.getAzGroupsMetadataDetailsLabelCompany,a="",n=this.$store.getters.getLabelCompanies;return void 0!==n&&(t=JSON.parse(JSON.stringify(n)),t.forEach((function(t){t["alvId"]===e&&(a=t["name"])}))),a},getLabelcode:function(){return this.$store.getters.getAzGroupsMetadataDetailsLabelcode},getTonisNextPrefix:function(){return this.$store.getters.getAzGroupsMetadataDetailsTonisNextPrefix},getTonisNextSuffix:function(){return this.$store.getters.getAzGroupsMetadataDetailsTonisNextSuffix},getTasFromPricelist:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsTasFromPricelist,e=be.find((function(e){return e.value===t})).text;return this.$t(e)},getWarehouseName:function(){return this.$store.getters.getAzGroupsMetadataDetailsWarehouseName},getFocFirstShipment:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsFocFirstShipment;return null!=t?t.toString():""},getFocAllShipments:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsFocAllShipments;return null!=t?t.toString():""},getHandlingFee:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsHandlingFee;return null!=t?t.toString():""},getPublishingCompany:function(){var t,e=this.$store.getters.getAzGroupsMetadataDetailsPublishingCompany,a="",n=this.$store.getters.getPublishingCompanies;return void 0!==n&&(t=JSON.parse(JSON.stringify(n)),t.forEach((function(t){t["alvId"]===e&&(a=t["name"])}))),a},getIpi:function(){return this.$store.getters.getAzGroupsMetadataDetailsIpi},getGemaMember:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsGemaMember,e=be.find((function(e){return e.value===t})).text;return this.$t(e)},getBgNineSplit:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsBgNineSplit,e=be.find((function(e){return e.value===t})).text;return this.$t(e)},getYkto:function(){return this.$store.getters.getAzGroupsMetadataDetailsYkto},getHkto:function(){return this.$store.getters.getAzGroupsMetadataDetailsHkto},getUkto:function(){return this.$store.getters.getAzGroupsMetadataDetailsUkto},getSubSplitTreshold:function(){var t=this.$store.getters.getAzGroupsMetadataDetailsSubSplitTreshold;return null!=t?t.toString():""}},created:function(){this.$store.commit("setLanguages")}},Yb=Vb,Kb=Object(C["a"])(Yb,zb,Hb,!1,null,null,null),Zb=Kb.exports,Xb=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_GROUPS_PANEL_CAPTION_FINANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("v-textarea",{staticClass:"pl-1 pr-1",attrs:{rows:"3",label:t.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER"),alvqa:t.alvqa+"-payment-order",disabled:!1,clearable:!1,readonly:!0},model:{value:t.getPaymentOrder,callback:function(e){t.getPaymentOrder=e},expression:"getPaymentOrder"}})],1)],1),a("v-row",[a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getAccountHolder,label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-account-holder"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBankName,label:t.$t("lang_GENERAL_CAPTION_BANK_NAME"),alvqa:t.alvqa+"-bank-name"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getIban,label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-iban"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBic,label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-bic"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPaymentTarget,label:t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-payment-target"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatId,label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-vat-id"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatRetail,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL"),alvqa:t.alvqa+"-vat-retail"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatLicense,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE"),alvqa:t.alvqa+"-vat-license"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxOffice,label:t.$t("lang_GENERAL_CAPTION_TAX_OFFICE"),alvqa:t.alvqa+"-tax-office"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxNumber,label:t.$t("lang_GENERAL_CAPTION_TAX_NO"),alvqa:t.alvqa+"-tax-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxIdNumber,label:t.$t("lang_GENERAL_CAPTION_TAX_ID_GERMAN"),alvqa:t.alvqa+"-tax-id-number"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegistrationNumber,label:t.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO"),alvqa:t.alvqa+"-registration-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegisterCourt,label:t.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE"),alvqa:t.alvqa+"-register-court"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiver,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER"),alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiverFrom,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM"),alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiverTo,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_TO"),alvqa:t.alvqa+"-datepicker-tax-waiver-to"}})],1)],1)],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPublishingStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT"),alvqa:t.alvqa+"-publishing-statements-text"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT"),alvqa:t.alvqa+"-label-statements-text"}})],1)]},proxy:!0}])})},Jb=[],Qb={name:"FinancePanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},props:{azGroupsAlvId:{type:String}},data:function(){return{alvqa:"az-groups-readonly-panel-finance"}},computed:Object(c["a"])({item:function(){var t=this,e=this.$store.getters.getExpandedAzGroups.find((function(e){return e.id===t.azGroupsAlvId}));return e},getPaymentOrder:function(){return this.$store.getters.getAzGroupsFinanceDetailsPaymentOrder},getAccountHolder:function(){return this.$store.getters.getAzGroupsFinanceDetailsAccountHolder},getPaymentTarget:function(){return this.$store.getters.getAzGroupsFinanceDetailsPaymentTarget},getVatId:function(){return this.$store.getters.getAzGroupsFinanceDetailsVatId},getIban:function(){return this.$store.getters.getAzGroupsFinanceDetailsIban},getVatRetail:function(){var t=this.$store.getters.getAzGroupsFinanceDetailsVatRetail;return null!=t?t.toString():""},getVatLicense:function(){var t=this.$store.getters.getAzGroupsFinanceDetailsVatLicense;return null!=t?t.toString():""},getTaxOffice:function(){return this.$store.getters.getAzGroupsFinanceDetailsTaxOffice},getBic:function(){return this.$store.getters.getAzGroupsFinanceDetailsBic},getRegistrationNumber:function(){return this.$store.getters.getAzGroupsFinanceDetailsRegistrationNumber},getTaxNumber:function(){return this.$store.getters.getAzGroupsFinanceDetailsTaxNumber},getBankName:function(){return this.$store.getters.getAzGroupsFinanceDetailsBankName},getRegisterCourt:function(){return this.$store.getters.getAzGroupsFinanceDetailsRegisterCourt},getTaxIdNumber:function(){return this.$store.getters.getAzGroupsFinanceDetailsTaxIdNumber},getTaxWaiver:function(){return this.$store.getters.getAzGroupsFinanceDetailsTaxWaiver},getTaxWaiverFrom:function(){var t=this.$store.getters.getAzGroupsFinanceDetailsTaxWaiverFrom;return t?this.$d(new Date(t),"alvDateFormat"):""},getTaxWaiverTo:function(){var t=this.$store.getters.getAzGroupsFinanceDetailsTaxWaiverTo;return t?this.$d(new Date(t),"alvDateFormat"):""},getPublishingStatementsText:function(){return this.$store.getters.getAzGroupsFinanceDetailsPublishingStatementsText},getLabelStatementsText:function(){return this.$store.getters.getAzGroupsFinanceDetailsLabelStatementsText}},"getTaxWaiver",(function(){var t=this.$store.getters.getAzGroupsFinanceDetailsTaxWaiver;null==t&&(t=0),"1"==t&&(t=1);var e=Ea.find((function(e){return e.value===t})).text;return this.$t(e)})),created:function(){this.$store.commit("setLanguages")}},tP=Qb,eP=Object(C["a"])(tP,Xb,Jb,!1,null,null,null),aP=eP.exports,nP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_GENEREIC_CAPTION_PERSONS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,"hide-default-footer":"",items:t.persons,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[void 0!==e.mouseover?a("span",{key:n},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[t._v("\n                            "+t._s(e.text)+"\n                            "),a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(e.mouseover))])]},proxy:!0}],null,!0)})],1):a("span",{key:e.value,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.firstName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-first-name"}},[t._v("\n                    "+t._s(n.firstName)+"\n                ")])]}},{key:"item.lastName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-last-name"}},[t._v("\n                    "+t._s(n.lastName)+"\n                ")])]}},{key:"item.gemaName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-key-name"}},[t._v("\n                    "+t._s(n.gemaName)+"\n                ")])]}},{key:"item.cellphone",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-cellphone"}},[t._v("\n                    "+t._s(n.cellphone)+"\n                ")])]}},{key:"item.email",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-email"}},[t._v("\n                    "+t._s(n.email)+"\n                ")])]}},{key:"item.role",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-role"}},[t._v("\n                    "+t._s(n.role)+"\n                ")])]}},{key:"item.inheritFromGroup",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-inherit-from-group"}},[t._v("\n                    "+t._s("yes"===n.inheritFromGroup?t.$t("lang_GENERAL_YES"):t.$t("lang_GENERAL_NO"))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},iP=[],sP={name:"PersonsReadOnlyPanel",components:{BasePanel:vi,BaseTooltip:T},props:{id:{type:String|Number},context:{type:String}},data:function(){return{alvqa:"az-persons-"+this.id+"-read-only-panel"}},computed:{persons:function(){var t=this,e=this.$store.getters["getExpanded"+this.context].find((function(e){return e.id===t.id}));return e.persons},headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_FIRST_NAME"),align:"left",value:"firstName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-first-name"},{text:this.$t("lang_GENERIC_CAPTION_LAST_NAME"),align:"left",value:"lastName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-last-name"},{text:this.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),align:"left",value:"gemaName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-key-name"},{text:this.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),align:"left",value:"cellphone",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-mobil"},{text:this.$t("lang_GENERIC_CAPTION_EMAIL"),align:"left",value:"email",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-email"},{text:this.$t("lang_GENERIC_CAPTION_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_GAI"),align:"left",value:"inheritFromGroup",class:"text-no-wrap",sortable:!1,mouseover:this.$t("lang_AZ_GROUPS_PERSONS_CAPTION_GROUP_ADDRESS_INHERITANCE"),alvqa:this.alvqa+"-header-gai"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}}},rP=sP,lP=Object(C["a"])(rP,nP,iP,!1,null,null,null),oP=lP.exports,cP={name:"AzGroupsReadOnly",components:{MetadataReadOnlyPanel:Zb,FinanceReadOnlyPanel:aP,PersonsReadOnlyPanel:oP,BaseIcon:N},props:{itemId:{type:Number}},data:function(){return{alvqa:"az-groups-list-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedAzGroups.find((function(e){return e.id===t.itemId}));return e}},methods:{copyToClipboard:function(t){var e=t.replace(/<br\s*[\/]?>/gi,"\n");navigator.clipboard.writeText(e)},showNotesWithBreaks:function(t){var e=t.replace(/\n/gi,"<br />");return e}},created:function(){this.$store.commit("setCountries")}},uP=cP,dP=Object(C["a"])(uP,Wb,jb,!1,null,null,null),gP=dP.exports,pP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showImageUploadDialog,maxDialogWidth:"800",maxCardHeight:"600",headline:t.headline,close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[t.showCropper||t.pictureExists?t._e():a("v-col",{attrs:{alvqa:t.alvqa+"-drag-and-drop"}},[a("VueFileAgent",{ref:"imageUploader",attrs:{thumbnailSize:800,compact:!1,theme:"grid",accept:"image/*",multiple:!1,deletable:!0,maxFiles:1,meta:!1,errorText:t.errorProps,averageColor:!0,helpText:t.$t("lang_GENERAL_PICTURE_UPLOADER_TEXT")},on:{beforedelete:function(e){return t.removeImage(e)},select:function(e){return t.imageSelected(e)}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1),t.showCropper?a("v-col",{attrs:{alvqa:t.alvqa+"-image-cropper"}},[a("vue-cropper",{ref:"cropper",attrs:{src:t.imgSrc,alt:"Selected Image",autoCropArea:.9,dragMode:"none",scalable:!1,zoomable:!1}})],1):t._e(),t.pictureExists?a("v-col",{attrs:{alvqa:t.alvqa+"-image"}},[a("v-img",{attrs:{src:t.imageURL}})],1):t._e()],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end",attrs:{cols:"9","align-self":"center"}},[t.showCropper||t.pictureExists?t._e():a("BaseButton",{attrs:{disabled:!t.showEditBtn,label:"lang_GENERAL_CAPTION_ICON_EDIT",alvqa:t.alvqa+"-button-edit"},on:{click:function(e){return t.openCropper()}}}),t.pictureExists?a("BaseButton",{attrs:{label:"lang_GENERAL_CAPTION_ICON_EDIT",alvqa:t.alvqa+"-button-edit"},on:{click:function(e){return t.editExistingPicture()}}}):t._e(),t.showCropper?a("BaseButton",{attrs:{label:t.isAzModules?"lang_GENERIC_CAPTION_CHANGE_IMAGE":"lang_GENERIC_CAPTION_CHANGE_LOGO",alvqa:t.alvqa+"-button-new-change-logo"},on:{click:function(e){return t.removeImage(t.selected)}}}):t._e()],1),a("v-col",{staticClass:"d-flex justify-end pl-0",attrs:{"align-self":"center"}},[t.pictureExists?t._e():a("BaseButton",{attrs:{disabled:!t.showImageUploadButton,label:"lang_GENERAL_CAPTION_UPLOAD",alvqa:t.alvqa+"-button-image-upload"},on:{click:function(e){return t.uploadImage()}}}),t.pictureExists?a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-button-image-delete"},on:{click:function(e){return t.deleteExistingPicture()}}}):t._e()],1)],1)],1)]},proxy:!0}])})},vP=[],_P=a("95c3"),hP=a.n(_P),mP=(a("6107"),{name:"ImageUploadDialog",props:{headline:{type:String}},components:{BaseDialog:Pt,BaseButton:wt,VueCropper:hP.a},data:function(){return{alvqa:"image-upload-dialog",showCropper:!1,showImageUploadButton:!1,cropImg:"",formData:new FormData,showEditBtn:!1,imgSrc:"",errorProps:{type:this.$t("lang_GENERIC_DRAG_AND_DROP_UPLOADER_WRONG_FILE_FORMAT"),size:"You selected a larger file!"}}},computed:{showImageUploadDialog:{get:function(){return this.$store.getters.getShowImageUploadDialog},set:function(t){this.$store.commit("setShowImageUploadDialog",t)}},selected:{get:function(){return this.$store.getters.getSelectedImageUploadFile},set:function(t){this.$store.commit("setSelectedImageUploadFile",t)}},pictureExists:{get:function(){return this.$store.getters.getImageUploaderImageExists},set:function(t){this.$store.commit("setImageUploaderImageExists",t)}},dialogContext:{get:function(){return this.$store.getters.getImageUploaderContext},set:function(t){this.$store.commit("setImageUploaderContext",t)}},imageURL:{get:function(){return this.$store.getters["get"+this.dialogContext+"ImageUrl"]},set:function(t){this.$store.commit("set"+this.dialogContext+"ImageUrl",t)}},isAzModules:function(){return["AzGroups","AzPersons"].includes(this.dialogContext)}},methods:{closeDialog:function(){this.showImageUploadDialog=!1,this.showImageUploadButton=!1,this.pictureExists=!1,this.showCropper=!1,this.showEditBtn=!1,this.imgSrc="",this.selected=null,void 0!==this.$refs.cropper&&this.$refs.cropper.destroy()},removeImage:function(t){this.showImageUploadButton=!1,this.showCropper=!1,this.showEditBtn=!1,void 0!==this.$refs.imageUploader&&this.$refs.imageUploader.deleteFileRecord(t),this.selected=null},imageSelected:function(t){!1===t[0].error&&(this.selected=t,this.showImageUploadButton=!0,this.showEditBtn=!0)},editExistingPicture:function(){this.imgSrc=this.imageURL,this.showCropper=!0,this.pictureExists=!1,this.showImageUploadButton=!0},openCropper:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e="images/temporary/",a=this.selected[0],this.formData.append("file",JSON.stringify(a)),t.next=5,k$.putFile(e,this.formData);case 5:n=t.sent,this.showCropper=!0,this.imgSrc=n.response.path;case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),deleteExistingPicture:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.removeImage(),this.imageURL=null,this.pictureExists=!1,this.isAzModules){t.next=7;break}this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")}),t.next=11;break;case 7:return t.next=9,this.$store.dispatch("save"+this.dialogContext+"Form");case 9:return t.next=11,this.$store.dispatch("fetch"+this.dialogContext);case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),uploadImage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this.isAzModules?this.$store.getters["get"+this.dialogContext+"Details"].alvId:this.$store.getters["getSelected"+this.dialogContext].alvId,a="images/"+e,n="",!this.showCropper){t.next=11;break}return this.cropImg=this.$refs.cropper.getCroppedCanvas().toDataURL(),this.formData.append("file",this.cropImg),t.next=8,k$.putFile(a,this.formData);case 8:n=t.sent,t.next=15;break;case 11:return this.formData.append("file",JSON.stringify(this.selected[0])),t.next=14,k$.putFile(a,this.formData);case 14:n=t.sent;case 15:if(this.imageURL=n.response.path,!this.isAzModules){t.next=21;break}return t.next=19,this.$store.dispatch("save"+this.dialogContext+"Form");case 19:return t.next=21,this.$store.dispatch("fetch"+this.dialogContext);case 21:this.closeDialog(),this.isAzModules||this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")});case 23:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}}),fP=mP,SP=Object(C["a"])(fP,pP,vP,!1,null,null,null),EP=SP.exports,IP={name:"AzGroupsList",components:{BaseListPage:yn,BaseDataTableList:En,ExpandIcon:is,BaseTooltip:T,SelectionRequiredDialog:hs,DeletionDialog:Cs,ErrorDialog:Em,AzGroupsTopSlot:Mb,AzGroupsReadOnly:gP,ImageUploadDialog:EP,BaseIcon:N},data:function(){return{context:"AzGroups",alvqa:"az-groups"}},computed:{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"picture",align:"center",width:"65px",class:"text-no-wrap"},{text:this.$t("lang_AZ_GROUPS_CAPTION_GROUP_NAME"),value:"group",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),value:"gemaName",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_CITY"),value:"city",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"uploadPicture",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}},methods:{showImageUploadDialog:function(t){this.$store.commit("setImageUploaderContext",this.context),null!==t.picture&&this.$store.commit("setImageUploaderImageExists",!0),this.$store.commit("set"+this.context+"Details",t),this.$store.commit("setShowImageUploadDialog",!0)}}},CP=IP,AP=Object(C["a"])(CP,qb,kb,!1,null,null,null),TP=AP.exports,bP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/az/azgroups"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return["new"===t.$route.params.alvId?a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")]):t._e(),null!=n?a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(null!==n.group&&""!==n.group?n.group:n.gemaName)+"\n            ")]):t._e()]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"1"}},[a("v-row",[null!=n?a("v-col",[null!==n.pictureBig?a("v-img",{attrs:{src:n.pictureBig}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1):t._e()],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Group",label:t.$t("lang_AZ_GROUPS_CAPTION_GROUP_NAME"),rules:"required",alvqa:t.alvqa+"-textfield-group-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowOne",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),alvqa:t.alvqa+"-textfield-address-row-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowTwo",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-address-row-two"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),alvqa:t.alvqa+"-textfield-city"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-textfield-state"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FullShippingAddress",rows:"5",label:t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"),alvqa:t.alvqa+"-textarea-full-shipping-address"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Web",label:t.$t("lang_AZ_PERSONS_CAPTION_WEB"),alvqa:t.alvqa+"-textfield-web"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Facebook",label:t.$t("lang_AZ_PERSONS_CAPTION_FACEBOOK"),alvqa:t.alvqa+"-textfield-facebook"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Twitter",label:t.$t("lang_AZ_PERSONS_CAPTION_TWITTER"),alvqa:t.alvqa+"-textfield-twitter"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Youtube",label:t.$t("lang_AZ_PERSONS_CAPTION_YOUTUBE"),alvqa:t.alvqa+"-textfield-youtube"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tags",label:t.$t("lang_AZ_PERSONS_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tags"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ShippingNote",rows:"5",label:t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_NOTE"),alvqa:t.alvqa+"-textarea-shipping-note"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Phone",label:t.$t("lang_AZ_PERSONS_CAPTION_PHONE"),alvqa:t.alvqa+"-textfield-phone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Fax",label:t.$t("lang_AZ_PERSONS_CAPTION_FAX"),alvqa:t.alvqa+"-textfield-fax"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Cellphone",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),alvqa:t.alvqa+"-textfield-cellphone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),alvqa:t.alvqa+"-textfield-email"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FormatNameAddress",items:t.dropdownFormatNameAddress,clearable:!1,label:t.$t("lang_AZ_PERSONS_CAPTION_FORMAT_NAME_ADDRESS"),alvqa:t.alvqa+"-dropdown-format-name-address"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"7",label:t.$t("lang_GENERIC_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaName",label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),clearable:!1,readonly:!1,alvqa:t.alvqa+"-textfield-gema-name"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.azTypes,label:t.$t("lang_AZ_PERSONS_CAPTION_TYPE"),multiple:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Visibility",items:t.visibilityItems,label:t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"),clearable:!1,alvqa:t.alvqa+"-dropdown-visibility"}})],1)],1)]}},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{context:"SelectedPersonsPanelEntry"}}),a("PersonsEditPanel"),a("PersonsEditPanelDialog"),a("MetadataPanel"),a("FinancePanel")]},proxy:!0}])})},PP=[],DP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",items:t.dropdownLanguages,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),selection:!0,alvqa:t.alvqa+"-dropdown-language",clearable:!1}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"FoundingDate",label:t.$t("lang_AZ_GROUPS_CAPTION_FOUNDING_DATE"),alvqa:t.alvqa+"-datepicker-founding-date"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CustomerNumber",label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-textfield-customer-number"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"LabelCompany",items:t.labelCompanyItems,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_LABEL_COMPANY"),selection:!0,itemText:"name",itemValue:"alvId",alvqa:t.alvqa+"-dropdown-label-company"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Labelcode",label:t.$t("lang_AZ_PERSONS_CAPTION_LABELCODE"),alvqa:t.alvqa+"-textfield-labelcode"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TonisNextPrefix",label:t.$t("lang_AZ_GROUPS_CAPTION_TONIS_NEXT_PREFIX"),alvqa:t.alvqa+"-textfield-tonis-next-prefix"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TonisNextSuffix",label:t.$t("lang_AZ_GROUPS_CAPTION_TONIS_NEXT_SUFFIX"),alvqa:t.alvqa+"-textfield-tonis-next-suffix"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TasFromPricelist",items:t.dropdownYesNo,label:t.$t("lang_AZ_GROUPS_CAPTION_TAS_FROM_PRICELIST"),alvqa:t.alvqa+"-dropdown-tas-from-pricelist"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"WarehouseName",label:t.$t("lang_AZ_GROUPS_CAPTION_WAREHOUSE_NAME"),alvqa:t.alvqa+"-textfield-warehouse-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FocFirstShipment",label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_FIRST_SHIPMENT"),alvqa:t.alvqa+"-textfield-foc-first-shipment",suffix:"%"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FocAllShipments",label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_ALL_SHIPMENTS"),alvqa:t.alvqa+"-textfield-foc-all-shipments",suffix:"%"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"HandlingFee",label:t.$t("lang_AZ_GROUPS_CAPTION_HANDLING_FEE"),alvqa:t.alvqa+"-textfield-handling-fee"}})],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"PublishingCompany",items:t.publishingCompanyItems,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_PUBLISHING_COMPANY"),selection:!0,itemText:"name",itemValue:"alvId",alvqa:t.alvqa+"-dropdown-publishing-company"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ipi",label:t.$t("lang_GENERIC_AZ_CAPTION_IPI"),rules:"numeric",alvqa:t.alvqa+"-textfield-ipi",iconTooltipText:t.$t("lang_PUBLISHING_GENERIC_TOOLTIP_IPI_FORMATTING")}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"GemaMember",items:t.dropdownYesNo,label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_MEMBER"),selection:!0,alvqa:t.alvqa+"-dropdown-gema-member"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"BgNineSplit",items:t.dropdownYesNo,label:t.$t("lang_GENERIC_AZ_CAPTION_BG9_FOR_GEMA_MEMBER"),selection:!0,alvqa:t.alvqa+"-dropdown-bg-nine-split"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ykto",label:t.$t("lang_GENERIC_AZ_CAPTION_YKTO"),alvqa:t.alvqa+"-textfield-ykto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Hkto",label:t.$t("lang_GENERIC_AZ_CAPTION_HKTO"),alvqa:t.alvqa+"-textfield-hkto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ukto",label:t.$t("lang_GENERIC_AZ_CAPTION_UKTO"),alvqa:t.alvqa+"-textfield-ukto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SubSplitTreshold",label:t.$t("lang_GENERIC_AZ_CAPTION_SUBSPLIT_TRESHOLD"),alvqa:t.alvqa+"-textfield-sub-split-treshold"}})],1)],1)],1)]},proxy:!0}])})},NP=[],RP={name:"MetadataPanel",components:{BasePanel:vi,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageDatePicker:$r},data:function(){return{context:"AzGroupsMetadata",alvqa:"az-groups-edit-form-panel-metadata"}},computed:{dropdownYesNo:function(){return be},dropdownLanguages:function(){return ha},labelCompanyItems:function(){var t,e=this,a=this.$store.getters.getLabelCompanies;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-label-company-"+t.alvId}))),t},publishingCompanyItems:function(){var t,e=this,a=this.$store.getters.getPublishingCompanies;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-publishing-company-"+t.alvId}))),t}},created:function(){this.$store.commit("setLanguages")}},xP=RP,OP=Object(C["a"])(xP,DP,NP,!1,null,null,null),wP=OP.exports,LP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_GROUPS_PANEL_CAPTION_FINANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"PaymentOrder",rows:"3",label:t.paymentOrderLabel,alvqa:t.alvqa+"-textarea-payment-order"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AccountHolder",label:t.accountHolderNoLabel,alvqa:t.alvqa+"-textfield-account-holder"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PaymentTarget",label:t.paymentTargetLabel,alvqa:t.alvqa+"-textfield-payment-target"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.vatIdLabel,alvqa:t.alvqa+"-textfield-vat-id"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Iban",label:t.accountNumberLabel,alvqa:t.alvqa+"-textfield-iban"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatRetail",rules:"percentDecimal",label:t.vatRetailLabel,alvqa:t.alvqa+"-textfield-vat-retail"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatLicense",rules:"percentDecimal",label:t.vatLicenseLabel,alvqa:t.alvqa+"-textfield-vat-license"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxOffice",label:t.taxOfficeLabel,alvqa:t.alvqa+"-textfield-tax-office"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Bic",label:t.bicLabel,alvqa:t.alvqa+"-textfield-bic"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegistrationNumber",label:t.registrationNumberLabel,alvqa:t.alvqa+"-textfield-registration-number"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxNumber",label:t.taxNumberLabel,alvqa:t.alvqa+"-textfield-tax-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"BankName",label:t.bankNameLabel,alvqa:t.alvqa+"-textfield-bank-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegisterCourt",label:t.registerCourtLabel,alvqa:t.alvqa+"-textfield-register-court"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxIdNumber",label:t.taxIdNumberLabel,alvqa:t.alvqa+"-textfield-tax-id-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TaxWaiver",items:t.taxWaiverItems,label:t.taxWaiverLabel,selection:!0,alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverFrom",label:t.taxWaiverFromLabel,alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverTo",label:t.taxWaiverToLabel,alvqa:t.alvqa+"-datepicker-tax-waiver-to"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxLiabilityPercentage",label:t.taxLiabilityPercentageLabel,alvqa:t.alvqa+"-textfield-tax-liability-percentage"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PublishingStatementsText",label:t.publishingStatementsTextLabel,alvqa:t.alvqa+"-textfield-publishing-statements-text"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LabelStatementsText",label:t.labelStatementsTextLabel,alvqa:t.alvqa+"-textfield-label-statements-text"}})],1)],1)],1)]},proxy:!0}])})},yP=[],qP={name:"FinancePanel",components:{BasePanel:vi,BaseEditPageTextarea:Wl,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r},data:function(){return{context:"AzGroupsFinance",alvqa:"az-groups-edit-form-panel-finance"}},computed:{paymentOrderLabel:function(){return this.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER")},accountHolderNoLabel:function(){return this.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER")},paymentTargetLabel:function(){return this.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET")},vatIdLabel:function(){return this.$t("lang_GENERIC_CAPTION_VAT_ID")},accountNumberLabel:function(){return this.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO")},vatRetailLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL")},vatLicenseLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE")},taxOfficeLabel:function(){return this.$t("lang_GENERAL_CAPTION_TAX_OFFICE")},bicLabel:function(){return this.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA")},registrationNumberLabel:function(){return this.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO")},taxNumberLabel:function(){return this.$t("lang_GENERAL_CAPTION_TAX_NO")},bankNameLabel:function(){return this.$t("lang_GENERAL_CAPTION_BANK_NAME")},registerCourtLabel:function(){return this.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE")},taxIdNumberLabel:function(){return this.$t("lang_GENERAL_CAPTION_TAX_ID_GERMAN")},taxWaiverLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER")},taxWaiverFromLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM")},taxWaiverToLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_TO")},taxLiabilityPercentageLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_TAX_LIABILITY_PERCENTAGE")},publishingStatementsTextLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT")},labelStatementsTextLabel:function(){return this.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT")},taxWaiverItems:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_NOT_AVAILABLE"),value:"1",alvqa:this.alvqa+"-dropdown-tax-waiver-not-available"},{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_AVAILABLE"),value:"2",alvqa:this.alvqa+"-dropdown-tax-waiver-available"}]}}},kP=qP,BP=Object(C["a"])(kP,LP,yP,!1,null,null,null),$P=BP.exports,GP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENEREIC_CAPTION_PERSONS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("BaseEditDataTable",{attrs:{headers:t.headers,items:t.items,alvqa:t.alvqa,deleteFunction:t.deleteFunction,editingFunction:t.editingFunction},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3 pt-3 pr-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-first-name"}},[t._v("\n                    "+t._s(n.item.firstName)+"\n                ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-last-name"}},[t._v("\n                    "+t._s(n.item.lastName)+"\n                ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-key-name"}},[t._v("\n                    "+t._s(n.item.gemaName)+"\n                ")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-cellphone"}},[t._v("\n                    "+t._s(n.item.cellphone)+"\n                ")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-email"}},[t._v("\n                    "+t._s(n.item.email)+"\n                ")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-role"}},[t._v("\n                    "+t._s(n.item.role)+"\n                ")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-inherit-from-group"}},[t._v("\n                    "+t._s("yes"===n.item.inheritFromGroup?t.$t("lang_GENERAL_YES"):t.$t("lang_GENERAL_NO"))+"\n                ")])]}}])})]},proxy:!0}])})},FP=[],UP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.allHeaders,items:t.items,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"no-results-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[t._t("top")],2)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[void 0!==e.mouseover?a("span",{key:n},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[t._v("\n                        "+t._s(e.text)+"\n                        "),a("v-icon",{attrs:{small:"",color:"grey",alvqa:t.alvqa+"-icon-info"}},[t._v("fa-info-circle")])]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(e.mouseover))])]},proxy:!0}],null,!0)})],1):a("span",{key:e.value,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item",fn:function(e){var n=e.item;return[a("tr",[t._t("body",null,{item:{item:n}}),a("td",[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editingFunction(n)}}})],1),a("td",[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteFunction(n)}}})],1)],2)]}}],null,!0)})],1)},MP=[],WP={name:"BaseEditDataTable",extends:hn.a,props:{headers:{required:!0,type:Array,default:[]},items:{required:!0,type:Array,default:[]},alvqa:{type:String,default:""},deleteFunction:{type:Function,default:function(){}},editingFunction:{type:Function,default:function(){}}},components:{BaseIcon:N,BaseTooltip:T},computed:{allHeaders:function(){for(var t=[{text:"",value:"inlineEdit",align:"right",width:"70px",class:"text-no-wrap",alvqa:this.alvqa+"-headers-edit"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap",alvqa:this.alvqa+"-headers-delete"}],e=this.headers.length-1;e>=0;e--)t.unshift(this.headers[e]);return t},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}}},jP=WP,zP=Object(C["a"])(jP,UP,MP,!1,null,null,null),HP=zP.exports,VP={name:"PersonsEditPanel",components:{BasePanel:vi,BaseEditDataTable:HP,BaseButton:wt,BaseTooltip:T},data:function(){return{alvqa:"az-persons-edit-panel"}},computed:{headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_FIRST_NAME"),align:"left",value:"firstName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-first-name"},{text:this.$t("lang_GENERIC_CAPTION_LAST_NAME"),align:"left",value:"lastName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-last-name"},{text:this.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),align:"left",value:"gemaName",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-key-name"},{text:this.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),align:"left",value:"cellphone",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-mobil"},{text:this.$t("lang_GENERIC_CAPTION_EMAIL"),align:"left",value:"email",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-email"},{text:this.$t("lang_GENERIC_CAPTION_ROLE"),align:"left",value:"role",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-role"},{text:this.$t("lang_GENERIC_CAPTION_GAI"),align:"left",value:"inheritFromGroup",class:"text-no-wrap",sortable:!1,mouseover:this.$t("lang_AZ_GROUPS_PERSONS_CAPTION_GROUP_ADDRESS_INHERITANCE"),alvqa:this.alvqa+"-header-gai"}]},items:function(){return this.$store.getters.getPersonsPanelEntry}},methods:{addNewRow:function(){this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPersonsPanelEntry));this.$store.commit("setPersonsPanelEntryEditingDialogDetails",t)},deleteFunction:function(t){this.$store.commit("setSelectedPersonsPanelEntry",t.id),this.$store.commit("setShowDeletionDialog",!0)},editingFunction:function(t){this.$store.commit("setSelectedPersonsPanelEntry",t.id),this.$store.commit("setPersonsPanelEntryDetailsPerson",t);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setPersonsPanelEntryEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)}}},YP=VP,KP=Object(C["a"])(YP,GP,FP,!1,null,null,null),ZP=KP.exports,XP=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",additionalCloseFunction:t.close,useAdditionalSaveFunction:!0,additionalSaveFunction:t.savePersonId},scopedSlots:t._u([{key:"editForm",fn:function(){return[t.isNewEntry?a("div",[a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Person",label:t.$t("lang_AZ_GROUPS_CAPTION_PERSON"),rules:"required|personDoesntAlreadyExists",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-person-textfield",additionalFunction:t.fillInAllFields},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-person-selection"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                                ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-person-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-person-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                    "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-person-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                                ")])],1)]}}],null,!1,1580204431)})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FirstName",label:t.$t("lang_GENERIC_CAPTION_FIRST_NAME"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LastName",label:t.$t("lang_GENERIC_CAPTION_LAST_NAME"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-last-name"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Mobil",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),withMargin:!1,alvqa:t.alvqa+"-textfield-mobil"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),withMargin:!1,alvqa:t.alvqa+"-textfield-email"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Role",label:t.$t("lang_GENERIC_CAPTION_ROLE"),withMargin:!1,alvqa:t.alvqa+"-textfield-role"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"InheritFromGroup",items:t.getDropdownYesNo,label:t.$t("lang_AZ_GROUPS_PERSONS_CAPTION_GROUP_ADDRESS_INHERITANCE"),clearable:!1,withMargin:!1,alvqa:t.alvqa+"-dropdown-inherit-from-group"}})],1)],1)],1):a("div",[a("v-row",[a("v-col",[t._v("\n                    "+t._s(t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"))+": "+t._s(t.selectedEntry.gemaName)+"\n                ")])],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FirstName",label:t.$t("lang_GENERIC_CAPTION_FIRST_NAME"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LastName",label:t.$t("lang_GENERIC_CAPTION_LAST_NAME"),withMargin:!1,clearable:!1,alvqa:t.alvqa+"-textfield-last-name"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Mobil",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),withMargin:!1,alvqa:t.alvqa+"-textfield-mobil"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),withMargin:!1,alvqa:t.alvqa+"-textfield-email"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Role",label:t.$t("lang_GENERIC_CAPTION_ROLE"),withMargin:!1,alvqa:t.alvqa+"-textfield-role"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"InheritFromGroup",items:t.getDropdownYesNo,label:t.$t("lang_AZ_GROUPS_PERSONS_CAPTION_GROUP_ADDRESS_INHERITANCE"),clearable:!1,withMargin:!1,alvqa:t.alvqa+"-dropdown-inherit-from-group"}})],1)],1)],1)]},proxy:!0}])})},JP=[],QP={name:"PersonsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseEditPageTextarea:Wl,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{alvqa:"az-persons-edit-panel-dialog",context:"PersonsPanelEntry"}},computed:{isNewEntry:function(){var t=this.$store.getters.getSelectedPersonsPanelEntry,e=0===t.length;return e},selectedEntry:function(){return this.$store.getters.getPersonsPanelEntryEditingDialogDetails},getDropdownYesNo:function(){return be}},methods:{fillInAllFields:function(){var t=this.$store.getters.getPersonsPanelEntryDetailsPerson;null!==t&&void 0!==t&&(this.$store.commit("setPersonsPanelEntryDetailsMobil",t.cellphone),this.$store.commit("setPersonsPanelEntryDetailsEmail",t.email),this.$store.commit("setPersonsPanelEntryDetailsRole",t.role),this.$store.commit("setPersonsPanelEntryDetailsId",t.id),this.$store.commit("setPersonsPanelEntryDetailsFirstName",t.firstName),this.$store.commit("setPersonsPanelEntryDetailsLastName",t.lastName),this.$store.commit("setPersonsPanelEntryDetailsKeyName",t.gemaName),this.$store.commit("setPersonsPanelEntryDetailsInheritFromGroup","yes"))},close:function(){this.$store.commit("setPersonsPanelEntryDetailsPerson",null),this.$store.commit("setSelectedPersonsPanelEntry",[])},savePersonId:function(t){var e=this.$store.getters.getPersonsPanelEntryDetailsPerson;return t.id=e.id,t}}},tD=QP,eD=Object(C["a"])(tD,XP,JP,!1,null,null,null),aD=eD.exports,nD={name:"AzGroupsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,MetadataPanel:wP,FinancePanel:$P,PersonsEditPanel:ZP,DeletionDialog:Cs,PersonsEditPanelDialog:aD},data:function(){return{context:"AzGroups",alvqa:"az-groups-edit-form"}},computed:{azGroupsData:function(){return this.$store.getters.getAzGroupsDetails},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},azTypes:function(){var t,e=this,a=this.$store.getters["getAzTypes"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getAzTypesEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase()}))):t=[],t.sort((function(t,e){var a=t.text.toUpperCase(),n=e.text.toUpperCase();return a<n?-1:a>n?1:0})),t},visibilityItems:function(){var t,e=this,a=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getVisibilityEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-visibility-"+t.value}))):t=[],t},dropdownFormatNameAddress:function(){return Ia}},methods:{uploadPicture:function(){console.log("Upload Pic")}},mounted:function(){this.$store.commit("setCountries"),this.$store.commit("setVisibility"),this.$store.commit("setDealflow"),this.$store.commit("setAzTypes")}},iD=nD,sD=Object(C["a"])(iD,bP,PP,!1,null,null,null),rD=sD.exports,lD=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("SelectionRequiredDialog"),n("PrintAzPersonsA4LabelsDialog"),n("DeletionDialog",{attrs:{context:"Selected"+t.context}}),n("ErrorDialog"),n("ShowConnectionsAzPersonsDialog"),n("ReassignConnectionsAzPersonsDialog"),n("ManageTagsDialog",{attrs:{context:"AzPersons",dir:"az/persons",idAttributeName:"alvIds"}}),n("SyncDataDialog",{attrs:{context:"AzPersons",dir:"az/persons",idAttributeName:"alvIds"}}),n("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"}}),n("ImageUploadDialog",{attrs:{headline:"lang_GENERAL_CAPTION_UPLOAD_IMAGE"}}),n("BaseListPage",{attrs:{headline:"lang_AZ_PERSONS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[n("v-col",{attrs:{cols:"2"}},[n("DropdownFilter",{attrs:{context:t.context+"QualityFilter",label:"lang_GENERIC_CAPTION_QUALITY",items:t.qualityItems,alvqa:t.alvqa+"-list-dropdown-quality"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0,readOnlyGhostTdSpan:"1"},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("AzPersonsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",[n("v-img",{attrs:{src:void 0!==i.item.picture&&null!==i.item.picture?i.item.picture:a("ee19"),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}})],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.getNameTooltip(i.item)))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-name"}},[t._v("\n                          "+t._s(t.$alvPlugin.getNameInternational(i.item))+"\n                      ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(i.item.group))]},proxy:!0},{key:"content",fn:function(){return[n("span",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-group"}},[t._v("\n                          "+t._s(i.item.group)+"\n                      ")])]},proxy:!0}],null,!0)})],1),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-city"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.city)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-phone"}},[t._v("\n                "+t._s(i.item.phone)+"\n            ")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-email"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.email)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-alv-id"}},[t._v("\n              "+t._s(i.item.alvId)+"\n            ")]),n("td",{staticClass:"no_ellipsis"},[n("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.id+"-icon-upload-picture",icon:"photo",tooltipText:i.item.picture?"lang_GENERIC_CAPTION_CHANGE_IMAGE":"lang_GENERIC_CAPTION_UPLOAD_IMAGE",color:i.item.picture?"buttonStandard":"standardBrownIcon"},on:{click:function(e){return e.stopPropagation(),t.showImageUploadDialog(i.item)}}})],1)]}},{key:"expandSlot",fn:function(t){var e=t.id;return[n("AzPersonsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},oD=[],cD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"AzPersons",alvqa:t.alvqa,cols:"2"}}),a("ImportButton",{attrs:{items:t.importOptions,context:"FileImport",cols:"2",alvqa:t.alvqa}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"AzPersons",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_EXPORT",block:"",icon:"library_books",alvqa:t.alvqa+"-list-button-export-all"},on:{click:t.exportAzPersons}})],1),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_AZ_PERSONS_BUTTON_CAPTION_NEW_PERSON",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},uD=[],dD={name:"AzPersonsTopSlot",components:{BaseButton:wt,BaseHeaderStats:ti,ActionDropdown:Mn,ImportButton:Yn},data:function(){return{editForm:"AzPersonsEdit",alvqa:"az-persons"}},computed:{importOptions:function(){return[{text:this.$t("lang_GENERAL_CAPTION_EXCEL_TEMPLATE"),value:"alvExcelTemplateAzPersons",alvqa:this.alvqa+"-list-import-dropdown-alv-template"}]},actions:function(){return[{text:this.$t("lang_AZ_PERSONS_ACTION_OPTION_PRINT_A4_LABELS"),value:"printAzPersonsA4Labels",alvqa:this.alvqa+"-list-action-dropdown-print-a4-labels"},{text:this.$t("lang_AZ_PERSONS_ACTION_OPTION_PRINT_A6_LABELS"),value:"printAzPersonsA6Labels",alvqa:this.alvqa+"-list-action-dropdown-print-a6-labels"},{text:this.$t("lang_GENERIC_CAPTION_MANAGE_TAGS"),value:"replaceTags",alvqa:this.alvqa+"-list-action-dropdown-manage-tags"},{text:this.$t("lang_AZ_PERSONS_ACTION_SYNC_CONTACTS"),value:"syncData",alvqa:this.alvqa+"-list-action-dropdown-sync-data"},{text:this.$t("lang_GENERIC_CAPTION_ACTION_SHOW_CONNECTIONS"),value:"showConnections",alvqa:this.alvqa+"-list-action-dropdown-show-connections"},{text:this.$t("lang_AZ_CAPTION_REASSIGN_CONNECTIONS"),value:"reassignConnections",alvqa:this.alvqa+"-list-action-dropdown-reassign-connections"},{text:this.$t("lang_AZ_PERSONS_ACTION_CONVERT_TO_GROUP"),value:"convertToGroup",alvqa:this.alvqa+"-list-action-dropdown-convert-to-group"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}},methods:{exportAzPersons:function(){this.$store.dispatch("exportAzPersons")}}},gD=dD,pD=Object(C["a"])(gD,cD,uD,!1,null,null,null),vD=pD.exports,_D=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("v-row",{staticClass:"pl-13 pr-4"},[n("v-col",{attrs:{cols:"1"}},[n("v-img",{attrs:{src:t.item.picture?t.item.picture:a("ee19"),alvqa:t.alvqa+"-list-row-"+t.item.alvId+"-image"}})],1),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-address"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"))+":\n                            "),n("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-address-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.copyToClipboard(t.$alvPlugin.getAddressInternational(t.item))}}})],1),n("span",{attrs:{alvqa:t.alvqa+"-address"},domProps:{innerHTML:t._s(t.$alvPlugin.getAddressInternational(t.item))}})])],1)],1),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.alvId?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]):t._e(),null!=t.item.type?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TYPE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v(t._s(t.$alvPlugin.getAzTypes(t.item.type)))])]):t._e(),null!=t.item.email?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-email"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_EMAIL"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-email"}},[t._v(t._s(t.item.email))])]):t._e(),null!=t.item.cellphone?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-cellphone"}},[t._v(t._s(t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-cellphone"}},[t._v(t._s(t.item.cellphone))])]):t._e(),null!=t.item.phone?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-phone"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_PHONE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-phone"}},[t._v(t._s(t.item.phone))])]):t._e(),null!=t.item.fax?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-fax"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FAX"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-fax"}},[t._v(t._s(t.item.fax))])]):t._e()])],1)],1),n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.gemaName?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-name"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-gema-name"}},[t._v(t._s(t.item.gemaName))])]):t._e(),null!=t.item.web?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-web"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_WEB"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-web"}},[t._v(t._s(t.item.web))])]):t._e(),null!=t.item.facebook?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-facebook"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FACEBOOK"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-facebook"}},[t._v(t._s(t.item.facebook))])]):t._e(),null!=t.item.youtube?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-youtube"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_YOUTUBE"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-youtube"}},[t._v(t._s(t.item.youtube))])]):t._e(),null!=t.item.twitter?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-twitter"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TWITTER"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-twitter"}},[t._v(t._s(t.item.twitter))])]):t._e()])],1)],1)],1),n("v-row",{staticClass:"pl-4 pr-4"},[""!=t.item.notes&&null!=t.item.notes?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.notes?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOTES"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-notes"}},[t._v(t._s(t.item.notes))])]):t._e()])],1)],1):t._e(),""!=t.item.tags&&null!=t.item.tags?n("v-col",[n("v-card",{attrs:{elevation:"0"}},[n("v-card-text",[null!=t.item.tags?n("span",[n("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_TAGS"))+":")]),n("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v(t._s(t.item.tags))])]):t._e()])],1)],1):t._e()],1),n("v-row",[n("v-col",{staticClass:"ml-4 mr-4"},[n("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[n("AzPersonsMetadataReadOnlyPanel",{attrs:{azPersonsAlvId:t.item.alvId}}),n("AzPersonsFinanceReadOnlyPanel",{attrs:{azPersonsAlvId:t.item.alvId}}),n("AzPersonsOtherIdsReadOnlyPanel")],1)],1)],1)],1)},hD=[],mD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLanguage,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-language"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBirthday,label:t.$t("lang_GENERIC_AZ_CAPTION_BIRTHDAY"),alvqa:t.alvqa+"-birthday"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYearOfDeath,label:t.$t("lang_GENERIC_AZ_CAPTION_YEAR_OF_DEATH"),alvqa:t.alvqa+"-year-of-death"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getCustomerNumber,label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-customer-number"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelCompany,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_LABEL_COMPANY"),alvqa:t.alvqa+"-label-company"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getGemaNextPrefix,label:t.$t("lang_AZ_PERSONS_CAPTION_GEMA_NEXT_PREFIX"),alvqa:t.alvqa+"-gema-next-prefix"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getGemaNextSuffix,label:t.$t("lang_AZ_PERSONS_CAPTION_GEMA_NEXT_PREFIX"),alvqa:t.alvqa+"-gema-next-suffix"}})],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPublishingCompany,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_PUBLISHING_COMPANY"),alvqa:t.alvqa+"-publishing-company"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getIpi,label:t.$t("lang_AZ_PERSONS_CAPTION_IPI_NO"),alvqa:t.alvqa+"-ipi"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYesNoTranslation("GemaMember"),label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_MEMBER"),alvqa:t.alvqa+"-gema-member"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYesNoTranslation("BgNineSplit"),label:t.$t("lang_GENERIC_AZ_CAPTION_BG9_FOR_GEMA_MEMBER"),alvqa:t.alvqa+"-bg-nine-split"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYesNoTranslation("FreeAuthor"),label:t.$t("lang_GENERIC_AZ_CAPTION_FREE_AUTHOR"),alvqa:t.alvqa+"-free-author"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getYkto,label:t.$t("lang_GENERIC_AZ_CAPTION_YKTO"),alvqa:t.alvqa+"-ykto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getHkto,label:t.$t("lang_GENERIC_AZ_CAPTION_HKTO"),alvqa:t.alvqa+"-hkto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getUkto,label:t.$t("lang_GENERIC_AZ_CAPTION_UKTO"),alvqa:t.alvqa+"-ukto"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getSubSplitTreshold,label:t.$t("lang_GENERIC_AZ_CAPTION_SUBSPLIT_TRESHOLD"),alvqa:t.alvqa+"-sub-split-treshold"}})],1)],1)],1)]},proxy:!0}])})},fD=[],SD={name:"AzPersonsMetadataReadOnlyPanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},props:{azPersonsAlvId:{type:String}},data:function(){return{alvqa:"az-persons-list-read-only-panel-metadata"}},computed:{getLanguage:function(){var t=this.$store.getters.getAzPersonsMetadataDetailsLanguage;return this.$alvPlugin.getTranslatedLanguageName(t)},getBirthday:function(){var t=this.$store.getters.getAzPersonsMetadataDetailsBirthday;return t?this.$d(new Date(t),"alvDateFormat"):""},getYearOfDeath:function(){return this.$store.getters.getAzPersonsMetadataDetailsYearOfDeath},getCustomerNumber:function(){return this.$store.getters.getAzPersonsMetadataDetailsCustomerNumber},getLabelCompany:function(){var t,e=this.$store.getters.getAzPersonsMetadataDetailsLabelCompany,a="",n=this.$store.getters.getLabelCompanies;return void 0!==n&&(t=JSON.parse(JSON.stringify(n)),t.forEach((function(t){t["alvId"]===e&&(a=t["name"])}))),a},getPublishingCompany:function(){var t,e=this.$store.getters.getAzPersonsMetadataDetailsPublishingCompany,a="",n=this.$store.getters.getPublishingCompanies;return void 0!==n&&(t=JSON.parse(JSON.stringify(n)),t.forEach((function(t){t["alvId"]===e&&(a=t["name"])}))),a},getGemaNextPrefix:function(){return this.$store.getters.getAzPersonsMetadataDetailsGemaNextPrefix},getGemaNextSuffix:function(){return this.$store.getters.getAzPersonsMetadataDetailsGemaNextSuffix},getIpi:function(){return this.$store.getters.getAzPersonsMetadataDetailsIpi},getYkto:function(){return this.$store.getters.getAzPersonsMetadataDetailsYkto},getHkto:function(){return this.$store.getters.getAzPersonsMetadataDetailsHkto},getUkto:function(){return this.$store.getters.getAzPersonsMetadataDetailsUkto},getSubSplitTreshold:function(){var t=this.$store.getters.getAzPersonsMetadataDetailsSubSplitTreshold;return null!=t?t.toString():""}},methods:{getYesNoTranslation:function(t){var e=this.$store.getters["getAzPersonsMetadataDetails"+t];if(e){var a=be.find((function(t){return t.value===e})).text;return this.$t(a)}return""}},created:function(){this.$store.commit("setLanguages")}},ED=SD,ID=Object(C["a"])(ED,mD,fD,!1,null,null,null),CD=ID.exports,AD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_AZ_PERSONS_PANEL_CAPTION_FINANCE"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("v-textarea",{staticClass:"pl-1 pr-1",attrs:{rows:"3",label:t.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER"),alvqa:t.alvqa+"-payment-order",disabled:!1,clearable:!1,readonly:!0},model:{value:t.getPaymentOrder,callback:function(e){t.getPaymentOrder=e},expression:"getPaymentOrder"}})],1)],1),a("v-row",[a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getAccountHolder,label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-account-holder"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBankName,label:t.$t("lang_GENERAL_CAPTION_BANK_NAME"),alvqa:t.alvqa+"-bank-name"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getIban,label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-iban"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBic,label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-bic"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPaymentTarget,label:t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-payment-target"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatId,label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-vat-id"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatRetail,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL"),alvqa:t.alvqa+"-vat-retail"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatLicense,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE"),alvqa:t.alvqa+"-vat-license"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxOffice,label:t.$t("lang_GENERAL_CAPTION_TAX_OFFICE"),alvqa:t.alvqa+"-tax-office"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxNumber,label:t.$t("lang_GENERAL_CAPTION_TAX_NO"),alvqa:t.alvqa+"-tax-number"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegistrationNumber,label:t.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO"),alvqa:t.alvqa+"-registration-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegisterCourt,label:t.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE"),alvqa:t.alvqa+"-register-court"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiver,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER"),alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiverFrom,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM"),alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxLiabilityPercentage,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_LIABILITY_PERCENTAGE"),alvqa:t.alvqa+"-datepicker-tax-liability-percentage"}})],1)],1)],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPublishingStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT"),alvqa:t.alvqa+"-publishing-statements-text"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT"),alvqa:t.alvqa+"-label-statements-text"}})],1)]},proxy:!0}])})},TD=[],bD={name:"AzPersonsFinanceReadOnlyPanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},props:{azPersonsAlvId:{type:String}},data:function(){return{alvqa:"az-persons-list-read-only-panel-finance"}},computed:{getPaymentOrder:function(){return this.$store.getters.getAzPersonsFinanceDetailsPaymentOrder},getAccountHolder:function(){return this.$store.getters.getAzPersonsFinanceDetailsAccountHolder},getPaymentTarget:function(){return this.$store.getters.getAzPersonsFinanceDetailsPaymentTarget},getVatId:function(){return this.$store.getters.getAzPersonsFinanceDetailsVatId},getIban:function(){return this.$store.getters.getAzPersonsFinanceDetailsIban},getBic:function(){return this.$store.getters.getAzPersonsFinanceDetailsBic},getVatRetail:function(){return this.$store.getters.getAzPersonsFinanceDetailsVatRetail},getBankName:function(){return this.$store.getters.getAzPersonsFinanceDetailsBankName},getTaxOffice:function(){return this.$store.getters.getAzPersonsFinanceDetailsTaxOffice},getTaxNumber:function(){return this.$store.getters.getAzPersonsFinanceDetailsTaxNumber},getRegistrationNumber:function(){return this.$store.getters.getAzPersonsFinanceDetailsRegistrationNumber},getRegisterCourt:function(){return this.$store.getters.getAzPersonsFinanceDetailsRegisterCourt},getTaxWaiver:function(){var t=this.$store.getters.getAzPersonsFinanceDetailsTaxWaiver;null==t&&(t=0),"1"==t&&(t=1);var e=Ea.find((function(e){return e.value===t})).text;return this.$t(e)},getTaxWaiverFrom:function(){var t=this.$store.getters.getAzPersonsFinanceDetailsTaxWaiverFrom;return t?this.$d(new Date(t),"alvDateFormat"):""},getTaxWaiverTo:function(){var t=this.$store.getters.getAzPersonsFinanceDetailsTaxWaiverTo;return t?this.$d(new Date(t),"alvDateFormat"):""},getTaxLiabilityPercentage:function(){return this.$store.getters.getAzPersonsFinanceDetailsTaxLiabilityPercentage},getPublishingStatementsText:function(){return this.$store.getters.getAzPersonsFinanceDetailsPublishingStatementsText},getLabelStatementsText:function(){return this.$store.getters.getAzPersonsFinanceDetailsLabelStatementsText},getVatLicense:function(){var t=this.$store.getters.getAzPersonsFinanceDetailsVatLicense;return null!=t?t.toString():""}}},PD=bD,DD=Object(C["a"])(PD,AD,TD,!1,null,null,null),ND=DD.exports,RD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_PERSONS_CAPTION_PANEL_OTHER_IDS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.items,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.name,alvqa:t.alvqa+"-list-row-"+i+"-text-name"}})],1)]}},{key:"item.type",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getTypeText(n.type),alvqa:t.alvqa+"-list-row-"+i+"-text-type"}})],1)]}},{key:"item.source",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:null!==n.source?n.source:"ALV",alvqa:t.alvqa+"-list-row-"+i+"-text-source"}})],1)]}},{key:"item.value",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.value,alvqa:t.alvqa+"-list-row-"+i+"-text-value"}})],1)]}}],null,!0)})]},proxy:!0}])})},xD=[],OD={name:"OtherIdsReadOnlyPanel",components:{BasePanel:vi,BaseTooltip:T},data:function(){return{alvqa:"az-persons-list-row-".concat(this.azPersonAlvId,"-read-only-panel-other-ids"),context:"AzPersonsOtherIds"}},computed:{items:function(){return this.$store.getters.getAzPersonsOtherIds},azPersonAlvId:function(){return this.$store.getters.getAzPersonsDetailsAlvId},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},headers:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_TYPE"),value:"type",alvqa:this.alvqa+"-header-type",width:"20%"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"source",alvqa:this.alvqa+"-header-source",width:"20%"},{text:this.$t("lang_GENERIC_CAPTION_ID"),value:"value",alvqa:this.alvqa+"-header-id",width:"30%"},{text:this.$t("lang_AZ_PERSONS_CAPTION_NAME"),value:"name",alvqa:this.alvqa+"-header-name",width:"20%"}]}},methods:{getTypeText:function(t){var e=Ja,a=e.find((function(e){return e.value==t}));return a?this.$t(a.text):""}}},wD=OD,LD=(a("c55d"),Object(C["a"])(wD,RD,xD,!1,null,null,null)),yD=LD.exports,qD={name:"AzPersonsReadOnly",components:{AzPersonsMetadataReadOnlyPanel:CD,AzPersonsFinanceReadOnlyPanel:ND,AzPersonsOtherIdsReadOnlyPanel:yD,BaseIcon:N},props:{itemId:{type:Number}},data:function(){return{alvqa:"az-persons-list-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedAzPersons.find((function(e){return e.id===t.itemId}));return e}},methods:{copyToClipboard:function(t){var e=t.replace(/<br\s*[\/]?>/gi,"\n");navigator.clipboard.writeText(e)}},created:function(){this.$store.commit("setCountries")}},kD=qD,BD=Object(C["a"])(kD,_D,hD,!1,null,null,null),$D=BD.exports,GD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationObserver",{ref:"printA4Labels",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_AZ_PERSONS_CAPTION_PRINT_ADDRESS_LABELS",close:t.closeDialog,maxDialogWidth:"600",maxCardHeight:"700",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"NumberOfColumns",label:t.$t("lang_AZ_PERSONS_CAPTION_NUMBER_OF_COLUMNS"),withMargin:!1,alvqa:t.alvqa+"-textfield-number-of-columns",rules:"integerMinMax:2,5"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"NumberOfRows",label:t.$t("lang_AZ_PERSONS_CAPTION_NUMBER_OF_ROWS"),withMargin:!1,alvqa:t.alvqa+"-textfield-number-of-rows",rules:"integerMinMax:4,12"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LabelWidth",label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_WIDTH"),withMargin:!1,alvqa:t.alvqa+"-textfield-label-width",suffix:"mm",rules:"integerMinMax:42,105"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LabelHeight",label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_HEIGHT"),withMargin:!1,alvqa:t.alvqa+"-textfield-label-height",suffix:"mm",rules:"integerMinMax:25,75"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TopMargin",label:t.$t("lang_AZ_PERSONS_CAPTION_TOP_MARGIN"),withMargin:!1,alvqa:t.alvqa+"-textfield-top-margin",suffix:"mm",rules:"integerMinMax:0,30"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LeftMargin",label:t.$t("lang_AZ_PERSONS_CAPTION_LEFT_MARGIN"),withMargin:!1,alvqa:t.alvqa+"-textfield-left-margin",suffix:"mm",rules:"integerMinMax:0,20"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PrintTagMarking",label:t.$t("lang_AZ_PERSONS_CAPTION_PRINT_TAG_MARKING"),withMargin:!1,alvqa:t.alvqa+"-textfield-print-tag.marking"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SenderLine",label:t.$t("lang_AZ_PERSONS_CAPTION_SENDER_LINE"),withMargin:!1,alvqa:t.alvqa+"-textfield-sender-line"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SizeSender",label:t.$t("lang_AZ_PERSONS_CAPTION_FONT_SIZE_SENDER"),withMargin:!1,alvqa:t.alvqa+"-textfield-size-sender",suffix:"pt",rules:"integerMinMax:1,50"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SizeAddress",label:t.$t("lang_AZ_PERSONS_CAPTION_FONT_SIZE_ADDRESS"),withMargin:!1,alvqa:t.alvqa+"-textfield-size-address",suffix:"pt",rules:"integerMinMax:1,50"}})],1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_CAPTION_CREATE_PDF",alvqa:t.alvqa+"-button-create"},on:{click:function(e){return n(t.create)}}})],1)],1)],1)]},proxy:!0}],null,!0)})]}}])})},FD=[],UD={name:"PrintAzPersonsA4LabelsDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageTextField:Ut},data:function(){return{alvqa:"az-persons-list-dialog-print-a4-labels",context:"PrintAzPersonsA4LabelsForm"}},computed:{showDialog:{get:function(){return this.$store.getters.getPrintAzPersonsA4LabelsDialog},set:function(t){this.$store.commit("setPrintAzPersonsA4LabelsDialog",t)}}},methods:{closeDialog:function(){this.showDialog=!1},create:function(){this.$store.dispatch("createAddressLabelsPDF"),this.closeDialog()}}},MD=UD,WD=Object(C["a"])(MD,GD,FD,!1,null,null,null),jD=WD.exports,zD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,maxDialogWidth:"500",headline:"lang_GENERIC_CAPTION_ACTION_SHOW_CONNECTIONS",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t(t.showText))+"\n                ")])],1),null!==t.csvFileLink?a("v-row",[a("v-col",[a("a",{attrs:{href:t.csvFileLink,target:"_blank"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD")))])])],1):t._e()],1)]},proxy:!0}])})},HD=[],VD={name:"ShowConnectionsAzPersonsDialog",components:{BaseDialog:Pt},computed:{showDialog:{get:function(){return this.$store.getters.getShowAzPersonsShowConnectionsDialog},set:function(t){this.$store.commit("setShowAzPersonsShowConnectionsDialog",t)}},showText:{get:function(){return this.$store.getters.getShowConnectionsDialogText},set:function(t){this.$store.commit("setShowConnectionsDialogText",t)}},csvFileLink:{get:function(){return this.$store.getters.getShowConnectionsCSVLink},set:function(t){this.$store.commit("setShowConnectionsCSVLink",t)}}},methods:{closeDialog:function(){this.showDialog=!1,this.csvFileLink=null,this.showText=""}},data:function(){return{alvqa:"show-connections-dialog"}}},YD=VD,KD=Object(C["a"])(YD,zD,HD,!1,null,null,null),ZD=KD.exports,XD=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,maxDialogWidth:"500",maxCardHeight:"900",headline:"lang_AZ_CAPTION_REASSIGN_CONNECTIONS",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-col",[a("v-row",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t(t.showText))+"\n                ")]),null!==t.csvFileLink?a("v-row",{staticClass:"pt-4"},[a("a",{staticClass:"textLink",on:{click:function(e){return t.downloadFile(t.csvFileLink)}}},[t._v("\n                         "+t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD"))+"\n                    ")])]):t._e(),a("v-row",{staticClass:"pt-4"},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"dropdownAzPersons",items:t.getDropdownAzPersons,clearable:!1,selection:!0,withMargin:!1,returnObject:!0,label:t.$t("lang_AZ_CAPTION_REASSIGN_CONNECTIONS_SELECT_ONE"),alvqa:t.alvqa+"-dropdown-az-persons"}})],1),a("v-row",{staticClass:"pt-2"},[a("BaseButton",{attrs:{label:"lang_BUTTON_START",disabled:t.csvNotDownloadedYet,alvqa:t.alvqa+"-button-start"},on:{click:t.start}})],1)],1)],1)]},proxy:!0}])})},JD=[],QD={name:"ReassignConnectionsAzPersonsDialog",components:{BaseDialog:Pt,BaseButton:wt,BaseEditPageDropdown:me},data:function(){return{context:"ReassignAzPersons",alvqa:"reassign-connections-dialog",csvNotDownloadedYet:!0}},computed:{showDialog:{get:function(){return this.$store.getters.getShowAzPersonsReassignConnectionsDialog},set:function(t){this.$store.commit("setShowAzPersonsReassignConnectionsDialog",t)}},showText:{get:function(){return this.$store.getters.getReassignConnectionsDialogText},set:function(t){this.$store.commit("setReassignConnectionsDialogText",t)}},csvFileLink:{get:function(){return this.$store.getters.getReassignConnectionsCSVLink},set:function(t){this.$store.commit("setReassignConnectionsCSVLink",t)}},getDropdownAzPersons:function(){var t=this.$store.getters.getAzPersons,e=this.$store.getters.getSelectedAzPersons,a=[];if(void 0!==t)return t.forEach((function(t){e.includes(t.alvId)&&a.push({value:t.alvId,text:t.name+" ("+t.alvId+")"})})),a}},methods:{closeDialog:function(){this.showDialog=!1,this.csvFileLink=null,this.showText="",this.csvNotDownloadedYet=!0},start:function(){this.$store.dispatch("reassignConnectionsOfSelected")},downloadFile:function(t){window.location.href=t,this.csvNotDownloadedYet=!1}}},tN=QD,eN=Object(C["a"])(tN,XD,JD,!1,null,null,null),aN=eN.exports,nN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_AZ_PERSONS_ACTION_SYNC_CONTACTS",close:t.closeDialog,maxCardHeight:"500",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:"Sync"+t.context,field:"Api",items:t.apiConnections,label:t.$t("lang_GENERIC_CAPTION_API_CONNECTIONS"),multiple:!0,selection:!0,rules:t.isApiFieldRequired,alvqa:t.alvqa+"-dropdown-type"}})],1)],1)],1),a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[null!==t.csvReportFilePath?a("span",{staticClass:"pr-2"},[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-csv-report-bulk-edit-copy-shares"},on:{click:function(e){return e.stopPropagation(),t.donwloadReport(t.csvReportFilePath)}}})],1):t._e(),t.showProgressBar?a("span",{staticClass:"pr-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-copy-shares"}})],1):t._e(),a("BaseButton",{attrs:{disabled:t.disableApply,label:"lang_GENERIC_CAPTION_APPLY",alvqa:t.alvqa+"-button-apply"},on:{click:t.apply}})],1)],1)],1)]},proxy:!0}])})},iN=[],sN={name:"SyncDataDialog",props:{context:String,dir:String,idAttributeName:String},data:function(){return{valid:!0,alvqa:"sync-data-dialog",disableApply:!1,showProgressBar:!1,csvReportFilePath:null}},components:{BaseDialog:Pt,BaseButton:wt,BaseIcon:N,BaseEditPageDropdown:me},computed:{showDialog:{get:function(){return this.$store.getters.getShowSyncDataDialog},set:function(t){this.$store.commit("setShowSyncDataDialog",t)}},apiConnections:function(){var t,e=this,a=this.$store.getters["getApiConnections"];return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase(),t["text"]=e.$t(t.text)}))):t=[],t.sort((function(t,e){var a=t.text.toUpperCase(),n=e.text.toUpperCase();return a<n?-1:a>n?1:0})),t},selectedApi:function(){return this.$store.getters.getSyncAzPersonsDetailsApi},isApiFieldRequired:function(){return null!==this.selectedApi&&this.selectedApi.includes("mailchimp")?"":"required"}},methods:{closeDialog:function(){this.showDialog=!1,this.disableApply=!1,this.showProgressBar=!1,this.csvReportFilePath=null,this.$store.commit("setSyncAzPersonsDetailsApi",null)},apply:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.csvReportFilePath=null,null===this.selectedApi||void 0===this.selectedApi||!this.selectedApi.includes("mailchimp")){t.next=8;break}return this.showProgressBar=!0,this.disableApply=!0,t.next=6,this.$store.dispatch("syncData",{dir:this.dir,context:this.context,ids:this.idAttributeName,api:this.$store.getters["getSyncAzPersonsDetailsApi"]});case 6:e=t.sent,e&&(this.csvReportFilePath=e,this.showProgressBar=!1);case 8:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),donwloadReport:function(t){k$.getFileFromALV(t),this.disableApply=!1}},mounted:function(){this.$store.commit("setApiConnections"),this.$store.commit("setAzPersonsDetailsApi",null)}},rN=sN,lN=Object(C["a"])(rN,nN,iN,!1,null,null,null),oN=lN.exports;function cN(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function uN(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?cN(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):cN(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var dN={name:"AzPersonsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,ExpandIcon:is,AzPersonsTopSlot:vD,AzPersonsReadOnly:$D,SelectionRequiredDialog:hs,PrintAzPersonsA4LabelsDialog:jD,FileImportDialog:Ns,DeletionDialog:Cs,ErrorDialog:Em,ShowConnectionsAzPersonsDialog:ZD,ReassignConnectionsAzPersonsDialog:aN,ManageTagsDialog:Fs,SyncDataDialog:oN,DropdownFilter:us,ImageUploadDialog:EP,BaseIcon:N},data:function(){return{context:"AzPersons",alvqa:"az-persons"}},computed:uN({},Object(u["c"])(["getAzPersonsSearch"]),{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"picture",align:"center",width:"65px",class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_NAME"),value:"name",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_GROUP"),value:"group",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_CITY"),value:"city",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_PHONE"),value:"phone",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),value:"email",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!0,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"uploadPicture",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},qualityItems:function(){return[{text:this.$t("lang_GENERIC_CAPTION_FIND_DUPLICATES"),value:"duplicates",alvqa:this.alvqa+"-list-dropdown-quality-duplicates"}]}}),methods:{getNameTooltip:function(t){var e=t.name;return t.ipi&&(e=e+" [IPI: "+t.ipi+"]"),e},showImageUploadDialog:function(t){this.$store.commit("setImageUploaderContext",this.context),null!==t.picture&&this.$store.commit("setImageUploaderImageExists",!0),this.$store.commit("set"+this.context+"Details",t),this.$store.commit("setShowImageUploadDialog",!0)}}},gN=dN,pN=Object(C["a"])(gN,lD,oD,!1,null,null,null),vN=pN.exports,_N=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/az/azpersons"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return["new"===t.$route.params.alvId?a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n        ")]):a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(null!==n.firstName&&""!==n.firstName||null!==n.lastName&&""!==n.lastName?(null!==n.firstName&&""!==n.firstName?n.firstName:"")+(null!==n.lastName&&""!==n.lastName?" "+n.lastName:""):null!==n.group&&""!==n.group?n.group:n.gemaName)+"\n        ")])]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"1"}},[a("v-row",[a("v-col",[null!==n.pictureBig?a("v-img",{attrs:{src:n.pictureBig}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Group",label:t.$t("lang_AZ_PERSONS_CAPTION_COMPANY_GROUP_ARTIST_NAME"),disabled:t.disableField,rules:t.isGroupRequired,alvqa:t.alvqa+"-textfield-group"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Department",label:t.$t("lang_AZ_PERSONS_CAPTION_DEPARTMENT"),alvqa:t.alvqa+"-textfield-department"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SalutationOne",label:t.$t("lang_AZ_PERSONS_CAPTION_SALUTATION_ADDRESS"),alvqa:t.alvqa+"-textfield-salutation-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FirstName",label:t.$t("lang_AZ_PERSONS_CAPTION_FIRST_NAME"),rules:t.areNamesRequiered,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LastName",label:t.$t("lang_AZ_PERSONS_CAPTION_LAST_NAME"),rules:t.areNamesRequiered,alvqa:t.alvqa+"-textfield-last-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowOne",disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),alvqa:t.alvqa+"-textfield-address-row-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowTwo",disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-address-row-two"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),alvqa:t.alvqa+"-textfield-city",additionalFunction:t.getCurrentAdress(n)}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-textfield-state"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countries,disabled:t.disableField,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",alvqa:t.alvqa+"-dropdown-country"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Web",label:t.$t("lang_AZ_PERSONS_CAPTION_WEB"),alvqa:t.alvqa+"-textfield-web"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Facebook",label:t.$t("lang_AZ_PERSONS_CAPTION_FACEBOOK"),alvqa:t.alvqa+"-textfield-facebook"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Twitter",label:t.$t("lang_AZ_PERSONS_CAPTION_TWITTER"),alvqa:t.alvqa+"-textfield-twitter"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Youtube",label:t.$t("lang_AZ_PERSONS_CAPTION_YOUTUBE"),alvqa:t.alvqa+"-textfield-youtube"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FormOfAddress",items:t.formOfAddressOptions,label:t.$t("lang_AZ_PERSONS_CAPTION_FORM_OF_ADDRESS"),alvqa:t.alvqa+"-dropdown-form-of-address"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SalutationTwo",label:t.$t("lang_AZ_PERSONS_CAPTION_SALUTATION_TEXT"),alvqa:t.alvqa+"-textfield-salutation-two"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Tags",rows:"7",label:t.$t("lang_AZ_PERSONS_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tags"}})],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Phone",label:t.$t("lang_AZ_PERSONS_CAPTION_PHONE"),alvqa:t.alvqa+"-textfield-phone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PhonePrivate",label:t.$t("lang_AZ_PERSONS_CAPTION_PHONE_PRIVATE"),alvqa:t.alvqa+"-textfield-phone-private"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Fax",label:t.$t("lang_AZ_PERSONS_CAPTION_FAX"),alvqa:t.alvqa+"-textfield-fax"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Cellphone",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),alvqa:t.alvqa+"-textfield-cellphone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",rules:t.areEmailRequired,label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),alvqa:t.alvqa+"-textfield-email"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FormatNameAddress",items:t.dropdownFormatNameAddress,clearable:!1,label:t.$t("lang_AZ_PERSONS_CAPTION_FORMAT_NAME_ADDRESS"),alvqa:t.alvqa+"-dropdown-format-name-address"}})],1)],1),a("v-col",{attrs:{cols:"6"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaName",label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),clearable:!1,readonly:!1,alvqa:t.alvqa+"-textfield-gema-name"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Dealflow",items:t.dealflowItems,label:t.$t("lang_AZ_PERSONS_CAPTION_DEALFLOW"),alvqa:t.alvqa+"-dropdown-dealflow"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.azTypes,label:t.$t("lang_AZ_PERSONS_CAPTION_TYPE"),multiple:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Visibility",items:t.visibilityItems,label:t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"),clearable:!1,alvqa:t.alvqa+"-dropdown-visibility"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Api",items:t.apiConnections,label:t.$t("lang_GENERIC_CAPTION_API_CONNECTIONS"),multiple:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Labelcode",label:t.$t("lang_AZ_PERSONS_CAPTION_LABELCODE"),alvqa:t.alvqa+"-textfield-label-code"}})],1)],1)],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"8",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1)]}},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("CommunicationListPanel"),a("CommunicationListEditDialog"),a("MetadataPanel"),a("FinancePanel"),a("OtherIdsPanel"),a("OtherIdsEditDialog")]},proxy:!0}])})},hN=[],mN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",items:t.dropdownLanguages,label:t.$t("lang_AZ_PERSONS_CAPTION_LANGUAGE"),selection:!0,clearable:!1,alvqa:t.alvqa+"-dropdown-language"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Birthday",label:t.$t("lang_GENERIC_AZ_CAPTION_BIRTHDAY"),alvqa:t.alvqa+"-datepicker-birthday"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_GENERIC_AZ_CAPTION_YEAR_OF_DEATH"),items:t.yearItems,context:t.context,field:"YearOfDeath",clearable:!0,alvqa:t.alvqa+"-list-dropdown-year-of-death"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CustomerNumber",label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-textfield-customer-number"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"LabelCompany",items:t.labelCompanyItems,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_LABEL_COMPANY"),selection:!0,itemText:"name",itemValue:"alvId",alvqa:t.alvqa+"-dropdown-label-company"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaNextPrefix",label:t.$t("lang_AZ_PERSONS_CAPTION_GEMA_NEXT_PREFIX"),alvqa:t.alvqa+"-textfield-gema-next-prefix"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaNextSuffix",label:t.$t("lang_AZ_PERSONS_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-gema-next-suffix"}})],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"PublishingCompany",items:t.publishingCompanyItems,label:t.$t("lang_GENERIC_AZ_CAPTION_ASSIGN_TO_PUBLISHING_COMPANY"),selection:!0,itemText:"name",itemValue:"alvId",alvqa:t.alvqa+"-dropdown-publishing-company"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ipi",label:t.$t("lang_AZ_PERSONS_CAPTION_IPI_NO"),rules:"numericStringWithOptionalLeadingZeroAndLength9to11",alvqa:t.alvqa+"-textfield-ipi",iconTooltipText:t.$t("lang_PUBLISHING_GENERIC_TOOLTIP_IPI_FORMATTING")}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"GemaMember",items:t.getYesNoDropdownItems,label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_MEMBER"),selection:!0,alvqa:t.alvqa+"-dropdown-gema-member"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"BgNineSplit",items:t.getYesNoDropdownItems,label:t.$t("lang_GENERIC_AZ_CAPTION_BG9_FOR_GEMA_MEMBER"),selection:!0,alvqa:t.alvqa+"-dropdown-bg-nine-split"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FreeAuthor",items:t.getYesNoDropdownItems,label:t.$t("lang_GENERIC_AZ_CAPTION_FREE_AUTHOR"),selection:!0,alvqa:t.alvqa+"-dropdown-free-author"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ykto",rules:"noLeadingZeroNumericString",label:t.$t("lang_AZ_PERSONS_CAPTION_YKTO"),alvqa:t.alvqa+"-textfield-ykto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Hkto",rules:"noLeadingZeroNumericString",label:t.$t("lang_AZ_PERSONS_CAPTION_HKTO"),alvqa:t.alvqa+"-textfield-hkto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ukto",rules:"noLeadingZeroNumericString",label:t.$t("lang_AZ_PERSONS_CAPTION_UKTO"),alvqa:t.alvqa+"-textfield-ukto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SubSplitTreshold",label:t.$t("lang_GENERIC_AZ_CAPTION_SUBSPLIT_TRESHOLD"),alvqa:t.alvqa+"-textfield-sub-split-treshold"}})],1)],1)],1)]},proxy:!0}])})},fN=[],SN={name:"MetadataPanel",components:{BasePanel:vi,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageDatePicker:$r},data:function(){return{context:"AzPersonsMetadata",alvqa:"az-persons-edit-form-panel-metadata"}},computed:{languageItems:function(){return this.$alvPlugin.getListOfTranslatedLanguages()},dropdownLanguages:function(){return ha},yearItems:function(){for(var t=[],e=(new Date).getFullYear(),a=e;a>=1930;a--)t.push({text:a.toString(),value:a,alvqa:this.alvqa+"-dropdown-year-"+a});return t},labelCompanyItems:function(){var t,e=this,a=this.$store.getters.getLabelCompanies;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-label-company-"+t.alvId}))),t},publishingCompanyItems:function(){var t,e=this,a=this.$store.getters.getPublishingCompanies;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-publishing-company-"+t.alvId}))),t},getYesNoDropdownItems:function(){return be}},created:function(){this.$store.commit("setLanguages")}},EN=SN,IN=Object(C["a"])(EN,mN,fN,!1,null,null,null),CN=IN.exports,AN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_PERSONS_PANEL_CAPTION_FINANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"PaymentOrder",rows:"3",label:t.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER"),alvqa:t.alvqa+"-textarea-payment-order"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AccountHolder",label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-textfield-account-holder"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PaymentTarget",label:t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-textfield-payment-target"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-textfield-vat-id"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Iban",label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-textfield-iban"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatRetail",label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL"),rules:"percentDecimal",alvqa:t.alvqa+"-textfield-vat-retail"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatLicense",rules:"percentDecimal",label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE"),alvqa:t.alvqa+"-textfield-vat-license"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxOffice",label:t.$t("lang_GENERAL_CAPTION_TAX_OFFICE"),alvqa:t.alvqa+"-textfield-tax-office"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Bic",label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-textfield-bic"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegistrationNumber",label:t.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO"),alvqa:t.alvqa+"-textfield-registration-number"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxNumber",label:t.$t("lang_GENERAL_CAPTION_TAX_NO"),alvqa:t.alvqa+"-textfield-tax-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"BankName",label:t.$t("lang_GENERAL_CAPTION_BANK_NAME"),alvqa:t.alvqa+"-textfield-bank-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegisterCourt",label:t.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE"),alvqa:t.alvqa+"-textfield-register-court"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxIdNumber",label:t.$t("lang_GENERAL_CAPTION_TAX_ID_GERMAN"),alvqa:t.alvqa+"-textfield-tax-id-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TaxWaiver",items:t.taxWaiverItems,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER"),selection:!0,alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverFrom",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM"),alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverTo",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_TO"),alvqa:t.alvqa+"-datepicker-tax-waiver-to"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxLiabilityPercentage",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_LIABILITY_PERCENTAGE"),alvqa:t.alvqa+"-textfield-tax-liability-percentage"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PublishingStatementsText",label:t.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT"),alvqa:t.alvqa+"-textfield-publishing-statements-text"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LabelStatementsText",label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT"),alvqa:t.alvqa+"-textfield-label-statements-text"}})],1)],1)],1)]},proxy:!0}])})},TN=[],bN={name:"FinancePanel",components:{BasePanel:vi,BaseEditPageTextarea:Wl,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r},data:function(){return{context:"AzPersonsFinance",alvqa:"az-persons-edit-form-panel-finance"}},computed:{taxWaiverItems:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_NOT_AVAILABLE"),value:"1",alvqa:this.alvqa+"-dropdown-tax-waiver-not-available"},{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_AVAILABLE"),value:"2",alvqa:this.alvqa+"-dropdown-tax-waiver-available"}]}}},PN=bN,DN=Object(C["a"])(PN,AN,TN,!1,null,null,null),NN=DN.exports,RN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_COMMUNICATION_LIST",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.commsList,"items-per-page":1e3,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item",fn:function(e){var n=e.item;return[a("tr",[a("td",[t._v(t._s(null!==n.commDate&&"0000-00-00"!==n.commDate?t.$d(new Date(n.commDate),"alvDateFormat"):""))]),a("td",[t._v(t._s(t.$t(t.getCommunicationType(n.commType))))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.commNotes))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"list-row"+n.id+"-text-display-communication-note"}},[t._v(t._s(n.commNotes))])]},proxy:!0}],null,!0)})],1),a("td",[t._v(t._s(null!==n.recontactDate&&"0000-00-00"!==n.recontactDate?t.$d(new Date(n.recontactDate),"alvDateFormat"):""))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(n.recontactHook))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"list-row"+n.id+"-text-display-recontact-note"}},[t._v(t._s(n.recontactHook))])]},proxy:!0}],null,!0)})],1),a("td",[t._v(t._s(t.getYesOrNo(n.status)))]),a("td",[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editRow(n)}}})],1),a("td",[a("BaseIcon",{attrs:{icon:"delete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})],1)])]}}],null,!0)})]],2)]},proxy:!0}])})},xN=[],ON={name:"CommunicationListPanel",components:{BasePanel:vi,BaseListPage:yn,BaseTooltip:T,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"az-persons-edit-form-panel-communications"}},computed:{headers:function(){return[{text:this.$t("lang_DATUM"),value:"commDate",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_AZ_COMMUNICATION_LIST_CHANNEL"),value:"commType",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_NOTES"),value:"commNotes",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_COMMUNICATION_LIST_RECONTACT"),value:"commRecontactDate",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_COMMUNICATION_LIST_HOOK"),value:"commRecontactHook",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTIONS_DONE"),value:"commStatus",align:"left",sortable:!1,class:"text-no-wrap"},{text:"",sortable:!1,value:"edit",width:"60px"},{text:"",sortable:!1,value:"delete",width:"60px"}]},commsList:function(){return this.$store.getters.getAzPersonsCommunication}},methods:{addNewRow:function(){this.$store.commit("setShowAzPersonsCommunicationEditingDialog",!0);var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultAzPersonsCommunication));this.$store.commit("setAzPersonsCommunicationEditingDialogDetails",t),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"))},editRow:function(t){this.$store.commit("setSelectedAzPersonsCommunication",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setAzPersonsCommunicationEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowAzPersonsCommunicationEditingDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedAzPersonsCommunication",t),this.$store.commit("setDeletionDialogContext","SelectedAzPersonsCommunication"),this.$store.commit("setShowDeletionDialog",!0)},getCommunicationType:function(t){return t?Xa.find((function(e){return e.value===t})).text:""},getYesOrNo:function(t){null==t&&(t="no");var e=be.find((function(e){return e.value===t})).text;return this.$t(e)}},created:function(){},mounted:function(){}},wN=ON,LN=Object(C["a"])(wN,RN,xN,!1,null,null,null),yN=LN.exports,qN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",rules:"required",label:t.$t("lang_DATUM"),alvqa:t.alvqa+"-datepicker-comms-date"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"RecontactDate",label:t.$t("lang_AZ_COMMUNICATION_LIST_RECONTACT"),alvqa:t.alvqa+"-datepicker-recontact-date"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.commsType,rules:"required",label:t.$t("lang_AZ_COMMUNICATION_LIST_CHANNEL"),selection:!0,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Status",items:t.yesNoItems,label:t.$t("lang_GENERIC_CAPTIONS_DONE"),selection:!0,rules:"required",clearable:!1,alvqa:t.alvqa+"-dropdown-status"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"3",label:t.$t("lang_GENERIC_CAPTION_NOTES"),alvqa:t.alvqa+"-textfield-notes"}})],1),a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"RecontactHook",rows:"3",label:t.$t("lang_AZ_COMMUNICATION_LIST_HOOK"),alvqa:t.alvqa+"-textarea-recontact-hook"}})],1)],1)],1)]},proxy:!0}])})},kN=[],BN={name:"CommunicationListEditDialog",components:{EditingDialog:ho,BaseEditPageDatePicker:$r,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl},data:function(){return{context:"AzPersonsCommunication",alvqa:"az-persons-edit-form-communication-dialog"}},computed:{yesNoItems:function(){return be},commsType:function(){return Xa}},methods:{}},$N=BN,GN=Object(C["a"])($N,qN,kN,!1,null,null,null),FN=GN.exports,UN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_PERSONS_CAPTION_PANEL_OTHER_IDS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.items,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.name,alvqa:t.alvqa+"-list-row-"+i+"-text-name"}})],1)]}},{key:"item.type",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getTypeText(n.type),alvqa:t.alvqa+"-list-row-"+i+"-text-type"}})],1)]}},{key:"item.source",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:null!==n.source?n.source:"ALV",alvqa:t.alvqa+"-list-row-"+i+"-text-source"}})],1)]}},{key:"item.value",fn:function(e){var n=e.item,i=e.index;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.value,alvqa:t.alvqa+"-list-row-"+i+"-text-value"}})],1)]}},{key:"item.delete",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-list-row-"+i+"-icon-delete"},on:{click:function(e){return t.deleteRow(n.id)}}})]}},{key:"item.edit",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editRow(n)}}})]}}],null,!0)})]},proxy:!0}])})},MN=[],WN={name:"OtherIdsPanel",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N,BaseButton:wt},data:function(){return{alvqa:"az-persons-edit-form-panel-other-ids",context:"AzPersonsOtherIds"}},computed:{items:function(){return this.$store.getters.getAzPersonsOtherIds},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},headers:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_TYPE"),value:"type",alvqa:this.alvqa+"-header-type",width:"20%"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"source",alvqa:this.alvqa+"-header-source",width:"20%"},{text:this.$t("lang_GENERIC_CAPTION_ID"),value:"value",alvqa:this.alvqa+"-header-id",width:"30%"},{text:this.$t("lang_AZ_PERSONS_CAPTION_NAME"),value:"name",alvqa:this.alvqa+"-header-name",width:"20%"},{text:"",value:"edit",alvqa:this.alvqa+"-header-edit"},{text:"",value:"delete",alvqa:this.alvqa+"-header-delete"}]}},methods:{addNewRow:function(){var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultAzPersonsOtherIds));this.$store.commit("setAzPersonsOtherIdsEditingDialogDetails",t),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY")),this.$store.commit("setShowAzPersonsOtherIdsEditingDialog",!0)},editRow:function(t){this.$store.commit("setSelectedAzPersonsOtherIds",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setAzPersonsOtherIdsEditingDialogDetails",e),this.$store.commit("setAzPersonsOtherIdsPersonObjectOptions",[e.personObject]),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowAzPersonsOtherIdsEditingDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedAzPersonsOtherIds",t),this.$store.commit("setDeletionDialogContext","SelectedAzPersonsOtherIds"),this.$store.commit("setShowDeletionDialog",!0)},getTypeText:function(t){var e=Ja,a=e.find((function(e){return e.value==t}));return a?this.$t(a.text):""}}},jN=WN,zN=(a("bc8b"),Object(C["a"])(jN,UN,MN,!1,null,null,null)),HN=zN.exports,VN=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.typeOptions,label:t.$t("lang_GENERIC_CAPTION_TYPE"),alvqa:t.alvqa+"-dropdown-type",rules:"required",clearable:!1,withMargin:!1,additionalFunction:t.autoFillIdByType}})],1),a("v-col",["recipientId"!==t.getType?a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"PersonObject",label:t.$t("lang_AZ_PERSONS_CAPTION_NAME"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-name",additionalFunction:t.fillInName},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-name-selection"}},[t._v("\n                                "+t._s(n?n.gemaName:"")+"\n                            ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-name-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-name-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(n.gemaName)+"\n                                ")]),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-name-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(n.alvId)+"\n                                ")])],1)]}}],null,!1,3415077821)}):a("BaseEditPageTextField",{attrs:{field:"Name",label:t.$t("lang_AZ_PERSONS_CAPTION_NAME"),context:t.context,clearable:!1,withMargin:!1,disabled:!0,alvqa:t.alvqa+"-textfield-name"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SourceAlvId",items:t.sourceOptions,label:t.$t("lang_GENERIC_CAPTION_SOURCE"),alvqa:t.alvqa+"-dropdown-source",withMargin:!1,rules:"recipientId"===t.getType?"required":"",disabled:"recipientId"!==t.getType,additionalFunction:t.fillInSource}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Value",label:t.$t("lang_GENERIC_CAPTION_ID"),alvqa:t.alvqa+"-textfield-id",withMargin:!1,rules:"recipientId"===t.getType?"required":"",disabled:"recipientId"!==t.getType}})],1)],1)],1)]},proxy:!0}])})},YN=[],KN={name:"OtherIdsEditDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs},data:function(){return{context:"AzPersonsOtherIds",alvqa:"az-persons-edit-form-other-ids-dialog",typeOptions:Ja}},computed:{getType:function(){return this.$store.getters.getAzPersonsOtherIdsDetailsType},getAlvIdPerson:function(){return this.$store.getters.getAzPersonsOtherIdsDetailsAlvId},getSelectedPersonName:function(){return this.$store.getters.getAzPersonsOtherIdsDetailsName},sourceOptions:function(){if("recipientId"==this.getType)return this.$store.getters.getAzForMappingsImport;var t=[{value:null,text:"ALV",alvqa:this.alvqa+"-dropdown-source-item-alv"}];return t},getSelectedPersonObject:function(){return this.$store.getters.getAzPersonsOtherIdsDetailsPersonObject}},methods:{fillInName:function(t){null!==t&&"object"==Object(Rl["a"])(t)&&(this.$store.commit("setAzPersonsOtherIdsDetailsName",t.gemaName),this.$store.commit("setAzPersonsOtherIdsDetailsAlvId",t.alvId),"recipientId"!==this.getType&&this.$store.commit("setAzPersonsOtherIdsDetailsValue",t.alvId))},fillInSource:function(t){var e=this.sourceOptions.find((function(e){return e.value==t}));this.$store.commit("setAzPersonsOtherIdsDetailsSource",e?e.text:null)},autoFillIdByType:function(t){this.$store.commit("setAzPersonsOtherIdsDetailsSourceAlvId",null),"recipientId"!==t?(this.$store.commit("setAzPersonsOtherIdsDetailsValue",this.getAlvIdPerson),this.$store.commit("setAzPersonsOtherIdsDetailsSource",null)):(this.$store.commit("setAzPersonsOtherIdsDetailsValue",null),this.$store.commit("setAzPersonsOtherIdsDetailsName",""),this.$store.commit("setAzPersonsOtherIdsDetailsAlvId",null))}},created:function(){this.$store.dispatch("fetchAzForMappings")}},ZN=KN,XN=Object(C["a"])(ZN,VN,YN,!1,null,null,null),JN=XN.exports,QN={name:"AzPersonsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,MetadataPanel:CN,FinancePanel:NN,CommunicationListPanel:yN,CommunicationListEditDialog:FN,OtherIdsPanel:HN,OtherIdsEditDialog:JN,DeletionDialog:Cs},data:function(){return{context:"AzPersons",alvqa:"az-persons-edit-form"}},computed:{azPersonData:function(){return this.$store.getters.getAzPersonsDetails},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},disableField:function(){if(void 0!==this.$store.getters.getAzPersonsInheritsDataFromGroup)return!0===this.$store.getters.getAzPersonsInheritsDataFromGroup},azTypes:function(){var t,e=this,a=this.$store.getters["getAzTypes"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getAzTypesEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase()}))):t=[],t.sort((function(t,e){var a=t.text.toUpperCase(),n=e.text.toUpperCase();return a<n?-1:a>n?1:0})),t},apiConnections:function(){var t,e=this,a=this.$store.getters["getApiConnections"];return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase(),t["text"]=e.$t(t.text)}))):t=[],t.sort((function(t,e){var a=t.text.toUpperCase(),n=e.text.toUpperCase();return a<n?-1:a>n?1:0})),t},dealflowItems:function(){var t,e=this,a=this.$store.getters["getDealflow"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getDealflowEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-dealflow-"+t.value}))):t=[],t},visibilityItems:function(){var t,e=this,a=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getVisibilityEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-visibility-"+t.value}))):t=[],t},dropdownFormatNameAddress:function(){return Ia},formOfAddressOptions:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_FORMALLY"),value:1,alvqa:this.alvqa+"-dropdown-form-of-address-formally"},{text:this.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_INFORMALLY"),value:0,alvqa:this.alvqa+"-dropdown-form-of-address-informally"}]},isAddressedFormally:{get:function(){return this.$store.getters.getAzPersonsDetailsFormOfAdress},set:function(t){this.$store.commit("setAzPersonsDetailsFormOfAdress",t)}},isGroupRequired:function(){return null===this.azPersonData.firstName||null===this.azPersonData.lastName?"required":""},areNamesRequiered:function(){return null===this.azPersonData.group?"required":""},areEmailRequired:function(){return null!==this.azPersonData.api&&void 0!==this.azPersonData.api&&(this.azPersonData.api.includes("mailchimp")||this.azPersonData.api.includes("helpjuice"))?"required":""}},methods:{uploadPicture:function(){console.log("Upload Pic")},getCurrentAdress:function(t){null===t&&void 0===t||null===t.inheritFromGroupObject&&void 0===t.inheritFromGroupObject||!0!==t.inheritFromGroup||(this.$store.commit("setAzPersonsDetailsAddressRowOne",t.inheritFromGroupObject.inv_address),this.$store.commit("setAzPersonsDetailsAddressRowTwo",t.inheritFromGroupObject.inv_address2),this.$store.commit("setAzPersonsDetailsZip",t.inheritFromGroupObject.inv_zip),this.$store.commit("setAzPersonsDetailsCity",t.inheritFromGroupObject.inv_city),this.$store.commit("setAzPersonsDetailsCountry",t.inheritFromGroupObject.inv_land),this.$store.commit("setAzPersonsDetailsState",t.inheritFromGroupObject.state))}},mounted:function(){this.$store.commit("setCountries"),this.$store.commit("setVisibility"),this.$store.commit("setDealflow"),this.$store.commit("setAzTypes"),this.$store.commit("setApiConnections")}},tR=QN,eR=Object(C["a"])(tR,_N,hN,!1,null,null,null),aR=eR.exports,nR=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("BaseListPage",{attrs:{headline:"lang_AZ_DISTRIBUTORS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,readOnlyGhostTdSpan:"1",alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("AzDistributorsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",[void 0!==i.item.picture&&null!==i.item.picture?n("v-img",{attrs:{src:i.item.picture,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}}):n("v-img",{attrs:{src:a("ee19"),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}})],1),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-name"}},[t._v("\n                            "+t._s(i.item.name)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-city"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.city)+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-country"}},[t._v("\n                            "+t._s(t.$alvPlugin.getTranslatedCountryName(i.item.country))+"\n\t\t\t\t\t\t")]),n("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-alv-id"}},[t._v("\n                            "+t._s(i.item.alvId)+"\n                        ")])]}},{key:"expandSlot",fn:function(){return[n("AzDistributorsReadOnly")]},proxy:!0}])})]},proxy:!0}])})],1)},iR=[],sR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-adresse"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"))+":\n                        "),a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-address-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.copyToClipboard(t.$alvPlugin.getAddressInternational(t.item))}}})],1),a("span",{attrs:{alvqa:t.alvqa+"-address"},domProps:{innerHTML:t._s(t.$alvPlugin.getAddressInternational(t.item))}})])],1)],1),""!=t.item.fullShippingAddress&&null!=t.item.fullShippingAddress?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-full-shipping-address"}},[t._v(t._s(t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-full-shipping-address"},domProps:{innerHTML:t._s(t.item.fullShippingAddress)}})])])],1)],1):t._e(),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.alvId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]):t._e(),null!=t.item.type?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v(t._s(t.$alvPlugin.getAzTypes(t.item.type)))])]):t._e(),null!=t.item.email?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-email"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_EMAIL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-email"}},[t._v(t._s(t.item.email))])]):t._e(),null!=t.item.phone?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-phone"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_PHONE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-phone"}},[t._v(t._s(t.item.phone))])]):t._e(),null!=t.item.fax?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-fax"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FAX"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-fax"}},[t._v(t._s(t.item.fax))])]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.metadata.language?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-metadata-language"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_LANGUAGE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-metadata-language"}},[t._v(t._s(t.$alvPlugin.getTranslatedLanguageName(t.item.metadata.language)))])]):t._e(),null!=t.item.metadata.distributorCurrency?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-metadata-distributor-currency"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CURRENCY"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-metadata-distributor-currency"}},[t._v(t._s(t.item.metadata.distributorCurrency))])]):t._e(),null!=t.item.salesCountry?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-sales-country"}},[t._v(t._s(t.$t("lang_AZ_DISTRIBUTORS_CAPTION_SALES_COUNTRY"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-sales-country"}},[t._v(t._s(t.getCountry(t.item.salesCountry)))])]):t._e(),null!=t.item.metadata.distributorReturnFee?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-metadata-distributor-return-fee"}},[t._v(t._s(t.$t("lang_AZ_DISTRIBUTORS_CAPTION_RETURNS_FEE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-metadata-distributor-return-fee"}},[t._v(t._s(t.item.metadata.distributorReturnFee))])]):t._e(),null!=t.item.metadata.distributorReturnReserveCycle?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-metadata-distributor-return-reserve-cycle"}},[t._v(t._s(t.$t("lang_AZ_DISTRIBUTORS_CAPTION_RETURNS_RESERVE_CYCLE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-metadata-distributor-return-reserve-cycle"}},[t._v(t._s(t.$t(t.getCycle(t.item.metadata.distributorReturnReserveCycle))))])]):t._e(),null!=t.item.metadata.distributorReturnReservePercent?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-metadata-distributor-return-reserve-percent"}},[t._v(t._s(t.$t("lang_AZ_DISTRIBUTORS_CAPTION_RETURNS_RESERVE_PERCENT"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-metadata-distributor-return-reserve-percent"}},[t._v(t._s(t.item.metadata.distributorReturnReservePercent))])]):t._e()])],1)],1),t.showFinanceDataColumn(t.item)?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.finance.paymentTarget?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-finance-payment-target"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-finance-finance-payment-target"}},[t._v(t._s(t.item.finance.paymentTarget))])]):t._e(),null!=t.item.finance.vatId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-finance-vatid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_VAT_ID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-finance-vatid"}},[t._v(t._s(t.item.finance.vatId))])]):t._e(),null!=t.item.finance.paymentOrder?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-finance-payment-order"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_PAYMENT_ORDER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-finance-finance-payment-order"}},[t._v(t._s(t.item.finance.paymentOrder))])]):t._e()])],1)],1):t._e()],1),a("v-row",{staticClass:"pl-4 pr-4"},[null!=t.item.notes?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"},domProps:{innerHTML:t._s(t.showNotesWithBreaks(t.item.notes))}})])])],1)],1):t._e(),null!=t.item.shippingNote?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-shipping-notes"}},[t._v(t._s(t.$t("lang_AZ_DISTRIBUTORS_CAPTION_SHIPMENT_NOTE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-shipping-notes"},domProps:{innerHTML:t._s(t.showNotesWithBreaks(t.item.shippingNote))}})])])],1)],1):t._e()],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("AzDistributorsMetadataReadOnlyPanel"),a("AzDistributorsFinanceReadOnlyPanel")],1)],1)],1)],1)},rR=[],lR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLanguage,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),alvqa:t.alvqa+"-language"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFoundingDate,label:t.$t("lang_AZ_GROUPS_CAPTION_FOUNDING_DATE"),alvqa:t.alvqa+"-founding-date"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getCustomerNumber,label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-customer-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getCurrency,label:t.$t("lang_GENERIC_CAPTION_CURRENCY"),alvqa:t.alvqa+"-currency"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTasFromPricelist,label:t.$t("lang_AZ_GROUPS_CAPTION_TAS_FROM_PRICELIST"),alvqa:t.alvqa+"-tas-from-pricelist"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getWarehouseName,label:t.$t("lang_AZ_GROUPS_CAPTION_WAREHOUSE_NAME"),alvqa:t.alvqa+"-warehouse-name"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFocFirstShipment,label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_FIRST_SHIPMENT"),alvqa:t.alvqa+"-foc-first-shipment",suffix:"%"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getFocAllShipments,label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_ALL_SHIPMENTS"),alvqa:t.alvqa+"-foc-all-shipments",suffix:"%"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getHandlingFee,label:t.$t("lang_AZ_GROUPS_CAPTION_HANDLING_FEE"),alvqa:t.alvqa+"-handling-fee"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getDistributorReturnFee,label:t.$t("lang_AZ_DISTRIBUTORS_FEE_FOR_RETURNS"),alvqa:t.alvqa+"-distributor-return-fee"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getReturnReserveCycle,label:t.$t("lang_AZ_DISTRIBUTORS_CYCLE_OF_RETURN_RESERVE"),alvqa:t.alvqa+"-return-reserve-cycle"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getReturnReservePercent,label:t.$t("lang_AZ_DISTRIBUTORS_CAPTION_RETURNS_RESERVE_PERCENT"),alvqa:t.alvqa+"-return-reserve-percent",suffix:"%"}})],1)],1)],1)]},proxy:!0}])})},oR=[],cR={name:"AzDistributorsMetadataReadOnlyPanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},data:function(){return{alvqa:"az-distributors-readonly-panel-metadata"}},computed:{item:function(){return this.$store.getters.getExpandedAzDistributors},getLanguage:function(){var t=this.$store.getters.getAzDistributorsMetadataDetailsLanguage;return this.$alvPlugin.getTranslatedLanguageName(t)},getFoundingDate:function(){var t=this.$store.getters.getAzDistributorsMetadataDetailsFoundingDate;return t?this.$d(new Date(t),"alvDateFormat"):""},getCustomerNumber:function(){return this.$store.getters.getAzDistributorsMetadataDetailsCustomerNumber},getWarehouseName:function(){return this.$store.getters.getAzDistributorsMetadataDetailsWarehouseName},getFocFirstShipment:function(){return this.$store.getters.getAzDistributorsMetadataDetailsFocFirstShipment},getFocAllShipments:function(){return this.$store.getters.getAzDistributorsMetadataDetailsFocAllShipments},getHandlingFee:function(){return this.$store.getters.getAzDistributorsMetadataDetailsHandlingFee},getDistributorReturnFee:function(){return this.$store.getters.getAzDistributorsMetadataDetailsDistributorReturnFee},getReturnReservePercent:function(){return this.$store.getters.getAzDistributorsMetadataDetailsReturnReservePercent},getReturnReserveCycle:function(){var t=this.$store.getters.getAzDistributorsMetadataDetailsReturnReserveCycle,e=Oa.find((function(e){return e.value===t}));return null!==e&&void 0!==e?this.$t(e.text):null},getCurrency:function(){var t=this.$store.getters.getAzDistributorsMetadataDetailsCurrency,e=ia.find((function(e){return e.value===t}));return null!==e&&void 0!==e?e.text:null},getTasFromPricelist:function(){var t=this.$store.getters.getAzDistributorsMetadataDetailsTasFromPricelist,e=be.find((function(e){return e.value===t}));return null!==e&&void 0!==e?this.$t(e.text):null}}},uR=cR,dR=Object(C["a"])(uR,lR,oR,!1,null,null,null),gR=dR.exports,pR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_GROUPS_PANEL_CAPTION_FINANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("v-textarea",{staticClass:"pl-1 pr-1",attrs:{rows:"3",label:t.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER"),alvqa:t.alvqa+"-payment-order",disabled:!1,clearable:!1,readonly:!0},model:{value:t.getPaymentOrder,callback:function(e){t.getPaymentOrder=e},expression:"getPaymentOrder"}})],1)],1),a("v-row",[a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getAccountHolder,label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-account-holder"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBankName,label:t.$t("lang_GENERAL_CAPTION_BANK_NAME"),alvqa:t.alvqa+"-bank-name"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getIban,label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-iban"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getBic,label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-bic"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPaymentTarget,label:t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-payment-target"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatId,label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-vat-id"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatRetail,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL"),alvqa:t.alvqa+"-vat-retail"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getVatLicense,label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE"),alvqa:t.alvqa+"-vat-license"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxOffice,label:t.$t("lang_GENERAL_CAPTION_TAX_OFFICE"),alvqa:t.alvqa+"-tax-office"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxNumber,label:t.$t("lang_GENERAL_CAPTION_TAX_NO"),alvqa:t.alvqa+"-tax-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxIdNumber,label:t.$t("lang_GENERAL_CAPTION_TAX_ID_GERMAN"),alvqa:t.alvqa+"-tax-id-number"}})],1)],1),a("v-col",[a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegistrationNumber,label:t.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO"),alvqa:t.alvqa+"-registration-number"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getRegisterCourt,label:t.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE"),alvqa:t.alvqa+"-register-court"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiver,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER"),alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiverFrom,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM"),alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTaxWaiverTo,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_TO"),alvqa:t.alvqa+"-datepicker-tax-waiver-to"}})],1)],1)],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getPublishingStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT"),alvqa:t.alvqa+"-publishing-statements-text"}})],1),a("v-row",[a("BaseReadOnlyTextField",{attrs:{innerValue:t.getLabelStatementsText,label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT"),alvqa:t.alvqa+"-label-statements-text"}})],1)]},proxy:!0}])})},vR=[],_R={name:"AzDistributorsFinanceReadOnlyPanel",components:{BasePanel:vi,BaseReadOnlyTextField:iu},data:function(){return{alvqa:"az-distributors-readonly-panel-finance"}},computed:Object(c["a"])({getPaymentOrder:function(){return this.$store.getters.getAzDistributorsFinanceDetailsPaymentOrder},getAccountHolder:function(){return this.$store.getters.getAzDistributorsFinanceDetailsAccountHolder},getPaymentTarget:function(){return this.$store.getters.getAzDistributorsFinanceDetailsPaymentTarget},getVatId:function(){return this.$store.getters.getAzDistributorsFinanceDetailsVatId},getIban:function(){return this.$store.getters.getAzDistributorsFinanceDetailsIban},getVatRetail:function(){var t=this.$store.getters.getAzDistributorsFinanceDetailsVatRetail;return null!=t?t.toString():""},getVatLicense:function(){var t=this.$store.getters.getAzDistributorsFinanceDetailsVatLicense;return null!=t?t.toString():""},getTaxOffice:function(){return this.$store.getters.getAzDistributorsFinanceDetailsTaxOffice},getBic:function(){return this.$store.getters.getAzDistributorsFinanceDetailsBic},getRegistrationNumber:function(){return this.$store.getters.getAzDistributorsFinanceDetailsRegistrationNumber},getTaxNumber:function(){return this.$store.getters.getAzDistributorsFinanceDetailsTaxNumber},getBankName:function(){return this.$store.getters.getAzDistributorsFinanceDetailsBankName},getRegisterCourt:function(){return this.$store.getters.getAzDistributorsFinanceDetailsRegisterCourt},getTaxIdNumber:function(){return this.$store.getters.getAzDistributorsFinanceDetailsTaxIdNumber},getTaxWaiver:function(){return this.$store.getters.getAzDistributorsFinanceDetailsTaxWaiver},getTaxWaiverFrom:function(){var t=this.$store.getters.getAzDistributorsFinanceDetailsTaxWaiverFrom;return t?this.$d(new Date(t),"alvDateFormat"):""},getTaxWaiverTo:function(){var t=this.$store.getters.getAzDistributorsFinanceDetailsTaxWaiverTo;return t?this.$d(new Date(t),"alvDateFormat"):""},getPublishingStatementsText:function(){return this.$store.getters.getAzDistributorsFinanceDetailsPublishingStatementsText},getLabelStatementsText:function(){return this.$store.getters.getAzDistributorsFinanceDetailsLabelStatementsText}},"getTaxWaiver",(function(){var t=this.$store.getters.getAzDistributorsFinanceDetailsTaxWaiver;null!=t&&"0"!=t||(t=0),"1"==t&&(t=1),"2"==t&&(t=2);var e=Ea.find((function(e){return e.value===t}));return null!==e&&void 0!==e?this.$t(e.text):null})),created:function(){this.$store.commit("setLanguages")}},hR=_R,mR=Object(C["a"])(hR,pR,vR,!1,null,null,null),fR=mR.exports,SR={name:"AzDistributorsReadOnly",components:{AzDistributorsMetadataReadOnlyPanel:gR,AzDistributorsFinanceReadOnlyPanel:fR,BaseIcon:N},data:function(){return{alvqa:"az-distributors-list-read-only"}},computed:{item:function(){return this.$store.getters.getExpandedAzDistributors[0]}},methods:{getCycle:function(t){return Oa.find((function(e){return e.value=t})).text},copyToClipboard:function(t){var e=t.replace(/<br\s*[\/]?>/gi,"\n");navigator.clipboard.writeText(e)},showNotesWithBreaks:function(t){var e=t.replace(/\n/gi,"<br />");return e},showFinanceDataColumn:function(t){return null!==t.finance.paymentTarget||null!==t.finance.vatId||null!==t.finance.paymentOrder},getCountry:function(t){return this.$alvPlugin.getTranslatedCountryName(t)}},created:function(){this.$store.commit("setLanguages"),this.$store.commit("setCountries")}},ER=SR,IR=Object(C["a"])(ER,sR,rR,!1,null,null,null),CR=IR.exports,AR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("v-col",{staticClass:"v-label theme--light mt-3 ml-6",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"AzDistributors",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1)],1)],1)},TR=[],bR={name:"AzDistributorsTopSlot",components:{BaseHeaderStats:ti},data:function(){return{alvqa:"az-distributors"}}},PR=bR,DR=Object(C["a"])(PR,AR,TR,!1,null,null,null),NR=DR.exports,RR={name:"AzDistributorsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,ExpandIcon:is,AzDistributorsReadOnly:CR,AzDistributorsTopSlot:NR},data:function(){return{context:"AzDistributors",alvqa:"az-distributors"}},computed:{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"picture",align:"center",width:"65px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_DISTRIBUTORS_CAPTION_DISTRIBUTOR"),value:"name",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_CITY"),value:"city",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_DISTRIBUTORS_CAPTION_COUNTRY"),value:"country",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}},mounted:function(){this.$store.commit("setCountries")}},xR=RR,OR=Object(C["a"])(xR,nR,iR,!1,null,null,null),wR=OR.exports,LR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/az/azdistributors"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[null!=n?a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(n.name)+"\n            ")]):t._e()]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"1"}},[a("v-row",[null!=n?a("v-col",[null!==n.pictureBig?a("v-img",{attrs:{src:n.pictureBig}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1):t._e()],1)],1),a("v-col",{attrs:{cols:"5"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Distributor",label:t.$t("lang_AZ_GROUPS_CAPTION_GROUP_NAME"),rules:"required",clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-group-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowOne",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),alvqa:t.alvqa+"-textfield-address-row-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowTwo",clearable:!1,disabled:!0,label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-address-row-two"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",clearable:!1,disabled:!0,label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",clearable:!1,disabled:!0,label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),alvqa:t.alvqa+"-textfield-city"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",clearable:!1,disabled:!0,alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FullShippingAddress",rows:"5",label:t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"),alvqa:t.alvqa+"-textarea-full-shipping-address"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SalesCountry",items:t.countries,label:t.$t("lang_AZ_DISTRIBUTORS_CAPTION_SALES_COUNTRY"),alvqa:t.alvqa+"-dropdown-sales-country"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.distributorTypes,label:t.$t("lang_GENERIC_AZ_CAPTION_TYPE"),multiple:!0,selection:!0,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Visibility",items:t.visibilityItems,clearable:!1,label:t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"),alvqa:t.alvqa+"-dropdown-visibility"}})],1),a("v-row",{staticClass:"mt-6"},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"3",label:t.$t("lang_GENERIC_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1),a("v-row",{staticClass:"mt-3"},[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ShipmentNote",rows:"5",label:t.$t("lang_AZ_DISTRIBUTORS_CAPTION_SHIPMENT_NOTE"),alvqa:t.alvqa+"-textarea-shipmentnote"}})],1)],1)]}},{key:"panels",fn:function(){return[a("AzDistributorsMetadataEditPanel"),a("AzDistributorsFinanceEditPanel")]},proxy:!0}])})},yR=[],qR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERIC_AZ_PANEL_CAPTION_METADATA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-row",{staticClass:"pt-4"},[a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",items:t.dropdownLanguages,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),selection:!0,alvqa:t.alvqa+"-dropdown-language"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"FoundingDate",label:t.$t("lang_AZ_GROUPS_CAPTION_FOUNDING_DATE"),alvqa:t.alvqa+"-datepicker-founding-date"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CustomerNumber",label:t.$t("lang_GENERIC_AZ_CAPTION_CUSTOMER_NUMBER"),alvqa:t.alvqa+"-textfield-customer-number"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Currency",items:t.dropdownCurrency,clearable:!1,label:t.$t("lang_GENERIC_CAPTION_CURRENCY"),alvqa:t.alvqa+"-dropdown-invoice-currency"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TasFromPricelist",items:t.dropdownYesNo,label:t.$t("lang_AZ_GROUPS_CAPTION_TAS_FROM_PRICELIST"),alvqa:t.alvqa+"-dropdown-tas-from-pricelist"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"WarehouseName",label:t.$t("lang_AZ_GROUPS_CAPTION_WAREHOUSE_NAME"),alvqa:t.alvqa+"-textfield-warehouse-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FocFirstShipment",label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_FIRST_SHIPMENT"),alvqa:t.alvqa+"-textfield-foc-first-shipment",suffix:"%"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FocAllShipments",label:t.$t("lang_AZ_GROUPS_CAPTION_FOC_ALL_SHIPMENTS"),alvqa:t.alvqa+"-textfield-foc-all-shipments",suffix:"%"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"HandlingFee",label:t.$t("lang_AZ_GROUPS_CAPTION_HANDLING_FEE"),alvqa:t.alvqa+"-textfield-handling-fee"}})],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"DistributorReturnFee",label:t.$t("lang_AZ_DISTRIBUTORS_FEE_FOR_RETURNS"),alvqa:t.alvqa+"-textfield-distributor-return-fee"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ReturnReserveCycle",items:t.dropdownReturnReserveCycle,label:t.$t("lang_AZ_DISTRIBUTORS_CYCLE_OF_RETURN_RESERVE"),selection:!0,alvqa:t.alvqa+"-dropdown-return-reserve-cycle"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ReturnReservePercent",label:t.$t("lang_AZ_DISTRIBUTORS_CAPTION_RETURNS_RESERVE_PERCENT"),alvqa:t.alvqa+"-textfield-return-reserve-percent",suffix:"%"}})],1)],1)],1)]},proxy:!0}])})},kR=[],BR={name:"AzDistributorsMetadataEditPanel",components:{BasePanel:vi,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseEditPageDatePicker:$r},data:function(){return{context:"AzDistributorsMetadata",alvqa:"az-distributors-edit-form-panel-metadata"}},computed:{dropdownLanguages:function(){return ha},dropdownYesNo:function(){return be},dropdownCurrency:function(){return ia},dropdownReturnReserveCycle:function(){return Oa}}},$R=BR,GR=Object(C["a"])($R,qR,kR,!1,null,null,null),FR=GR.exports,UR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_AZ_GROUPS_PANEL_CAPTION_FINANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pt-4"},[a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"PaymentOrder",rows:"3",label:t.$t("lang_GENERAL_CAPTION_PAYMENT_ORDER"),alvqa:t.alvqa+"-textarea-payment-order"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AccountHolder",label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-textfield-account-holder"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PaymentTarget",label:t.$t("lang_GENERIC_CAPTION_PAYMENT_TARGET"),alvqa:t.alvqa+"-textfield-payment-target"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-textfield-vat-id"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Iban",label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-textfield-iban"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatRetail",label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_RETAIL"),alvqa:t.alvqa+"-textfield-vat-retail"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatLicense",label:t.$t("lang_AZ_PERSONS_CAPTION_VAT_LICENSE"),alvqa:t.alvqa+"-textfield-vat-license"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxOffice",label:t.$t("lang_GENERAL_CAPTION_TAX_OFFICE"),alvqa:t.alvqa+"-textfield-tax-office"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Bic",label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-textfield-bic"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegistrationNumber",label:t.$t("lang_GENERAL_CAPTION_COMPANY_REGISTRATION_NO"),alvqa:t.alvqa+"-textfield-registration-number"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxNumber",label:t.$t("lang_GENERAL_CAPTION_TAX_NO"),alvqa:t.alvqa+"-textfield-tax-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"BankName",label:t.$t("lang_GENERAL_CAPTION_BANK_NAME"),alvqa:t.alvqa+"-textfield-bank-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"RegisterCourt",label:t.$t("lang_GENERAL_CAPTION_REGISTRATION_OFFICE"),alvqa:t.alvqa+"-textfield-register-court"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxIdNumber",label:t.$t("lang_GENERAL_CAPTION_TAX_ID_GERMAN"),alvqa:t.alvqa+"-textfield-tax-id-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"TaxWaiver",items:t.taxWaiverItems,label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER"),selection:!0,alvqa:t.alvqa+"-dropdown-tax-waiver"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverFrom",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_FROM"),alvqa:t.alvqa+"-datepicker-tax-waiver-from"}})],1),a("v-col",{attrs:{cols:"2"}},[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"TaxWaiverTo",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_TO"),alvqa:t.alvqa+"-datepicker-tax-waiver-to"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"TaxLiabilityPercentage",label:t.$t("lang_AZ_PERSONS_CAPTION_TAX_LIABILITY_PERCENTAGE"),alvqa:t.alvqa+"-textfield-tax-liability-percentage",suffix:"%"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"PublishingStatementsText",label:t.$t("lang_AZ_PERSONS_CAPTION_PUBLISHING_STATEMENTS_TEXT"),alvqa:t.alvqa+"-textfield-publishing-statements-text"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LabelStatementsText",label:t.$t("lang_AZ_PERSONS_CAPTION_LABEL_STATEMENTS_TEXT"),alvqa:t.alvqa+"-textfield-label-statements-text"}})],1)],1)],1)]},proxy:!0}])})},MR=[],WR={name:"AzDistributorsFinanceEditPanel",components:{BasePanel:vi,BaseEditPageTextarea:Wl,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r},data:function(){return{context:"AzDistributorsFinance",alvqa:"az-distributors-edit-form-panel-finance"}},computed:{taxWaiverItems:function(){return[{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_NOT_AVAILABLE"),value:"1",alvqa:this.alvqa+"-dropdown-tax-waiver-not-available"},{text:this.$t("lang_AZ_PERSONS_CAPTION_TAX_WAIVER_AVAILABLE"),value:"2",alvqa:this.alvqa+"-dropdown-tax-waiver-available"}]}}},jR=WR,zR=Object(C["a"])(jR,UR,MR,!1,null,null,null),HR=zR.exports,VR={name:"AzDistributorsEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,AzDistributorsMetadataEditPanel:FR,AzDistributorsFinanceEditPanel:HR},data:function(){return{context:"AzDistributors",alvqa:"az-distributors-edit-form"}},computed:{countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},distributorTypes:function(){var t=this,e=JSON.parse(JSON.stringify(Ca));return e.forEach((function(e){e["text"]=t.$t(e["text"])})),e},visibilityItems:function(){var t,e=this,a=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getVisibilityEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-visibility-"+t.value}))):t=[],t}},methods:{},mounted:function(){this.$store.commit("setCountries"),this.$store.commit("setVisibility")}},YR=VR,KR=Object(C["a"])(YR,LR,yR,!1,null,null,null),ZR=KR.exports,XR=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("BaseListPage",{attrs:{headline:"lang_AZ_SOCIETIES",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[n("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[n("AzSocietiesTopSlot")]},proxy:!0},{key:"body",fn:function(e){var i=e.item;return[n("ExpandIcon",{attrs:{isExpanded:i.isExpanded,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-icon-expand"}}),n("td",[void 0!==i.item.picture&&null!==i.item.picture?n("v-img",{attrs:{src:i.item.picture,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}}):n("v-img",{attrs:{src:a("ee19"),alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-image",width:"40px"}})],1),n("td",{staticClass:"ellipsis"},[n("BaseTooltip",{attrs:{simpleText:i.item.name,alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-name"}})],1),n("td",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-city"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.city)+"\n\t\t\t\t\t\t")]),n("td",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-country"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.getCountry(i.item.country))+"\n\t\t\t\t\t\t")]),n("td",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-acronym"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(i.item.societyAcronym)+"\n\t\t\t\t\t\t")]),n("td",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-society-code",align:"right"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.getSocietyCode(i.item.societyCode))+"\n\t\t\t\t\t\t")]),n("td",{attrs:{alvqa:t.alvqa+"-list-row-"+i.item.alvId+"-text-alv-id"}},[t._v("\n                            "+t._s(i.item.alvId)+"\n                        ")])]}},{key:"expandSlot",fn:function(){return[n("AzSocietiesReadOnly")]},proxy:!0}])})]},proxy:!0}])})],1)},JR=[],QR=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-address-row"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"))+":\n                    "),a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-address-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.copyToClipboard(t.$alvPlugin.getAddressInternational(t.item))}}})],1),a("span",{attrs:{alvqa:t.alvqa+"-address"},domProps:{innerHTML:t._s(t.$alvPlugin.getAddressInternational(t.item))}})])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]),a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-currency"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CURRENCY"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-currency"}},[t._v(t._s(t.item.currency))])]),null!==t.item.membershipId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-membership-id"}},[t._v(t._s(t.$t("lang_AZ_SOCIETY_MEMBERSHIP_ID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-membership-id"}},[t._v(t._s(t.item.membershipId))])]):t._e(),a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-visibility"}},[t._v(t._s(t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-visibility"}},[t._v(t._s(t.getVisibility))])])])],1)],1),null!==t.item.notes&&""!==t.item.notes&&void 0!==t.item.notes?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"},domProps:{innerHTML:t._s(t.item.notes)}})])],1)],1):t._e()],1)],1)},tx=[],ex={name:"AzSocietiesReadOnly",components:{BaseReadOnlyTextField:iu,BaseIcon:N},data:function(){return{alvqa:"az-societies-list-row-read-only"}},computed:{item:function(){return this.$store.getters.getExpandedAzSocieties[0]},getCity:function(){return this.$store.getters.getAzSocietiesDetailsCity},getCountry:function(){return this.$store.getters.getAzSocietiesDetailsCountry},getNotes:function(){return this.$store.getters.getAzSocietiesDetailsNotes},getAlvId:function(){return this.$store.getters.getAzSocietiesDetailsAlvId},getCurrency:function(){return this.$store.getters.getAzSocietiesDetailsCurrency},getMembershipId:function(){return this.$store.getters.getAzSocietiesDetailsMembershipId},getVisibility:function(){var t=this,e=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];void 0===e&&(e=this.$store.getters.getVisibilityEN),void 0===e&&(e=[]);var a=e.find((function(e){return e.value===t.$store.getters.getAzSocietiesDetailsVisibility}));return void 0!==a?a.text:null}},methods:{copyToClipboard:function(t){var e=t.replace(/<br\s*[\/]?>/gi,"\n");navigator.clipboard.writeText(e)}},created:function(){this.$store.commit("setCountries")},mounted:function(){this.$store.commit("setVisibility")}},ax=ex,nx=Object(C["a"])(ax,QR,tx,!1,null,null,null),ix=nx.exports,sx=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("v-col",{staticClass:"v-label theme--light mt-3 ml-6",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"AzSocieties",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1)],1)],1)},rx=[],lx={name:"AzSocietiesTopSlot",components:{BaseHeaderStats:ti},data:function(){return{alvqa:"az-societies"}}},ox=lx,cx=Object(C["a"])(ox,sx,rx,!1,null,null,null),ux=cx.exports,dx={name:"AzSocietiesList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,ExpandIcon:is,AzSocietiesTopSlot:ux,AzSocietiesReadOnly:ix},data:function(){return{context:"AzSocieties",alvqa:"az-societies"}},computed:{headers:function(){return[{text:"",value:"data-table-select",align:"center",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:"",value:"picture",align:"center",width:"65px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_SOCIETY"),value:"name",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_CITY"),value:"city",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_COUNTRY"),value:"country",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_SOCIETIES_ACRONYM"),value:"societyAcronym",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERAL_CAPTION_CODE"),value:"societyCode",align:"right",sortable:!1,width:"75px",class:"text-no-wrap"},{text:this.$t("lang_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}},methods:{getCountry:function(t){return this.$alvPlugin.getTranslatedCountryName(t)},getSocietyCode:function(t){if(t)return t.toString().padStart(3,"0")}},mounted:function(){this.$store.commit("setCountries")}},gx=dx,px=Object(C["a"])(gx,XR,JR,!1,null,null,null),vx=px.exports,_x=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/az/azsocieties"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{staticClass:"headline",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n        "+t._s(n.societyName)+"\n        ")])]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"1"}},[a("v-row",[a("v-col",[null!==n.pictureBig?a("v-img",{attrs:{src:n.pictureBig}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1)],1)],1),a("v-col",{attrs:{cols:"7"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Name",label:t.$t("lang_GENERAL_CAPTION_SOCIETY"),disabled:!0,alvqa:t.alvqa+"-textfield-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRowOne",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),disabled:!0,alvqa:t.alvqa+"-textfield-address-row-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),disabled:!0,alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),disabled:!0,alvqa:t.alvqa+"-textfield-city"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),disabled:!0,alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"3",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Currency",items:t.dropdownCurrency,clearable:!1,label:t.$t("lang_GENERIC_CAPTION_CURRENCY"),disabled:!0,alvqa:t.alvqa+"-dropdown-invoice-currency"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"MembershipId",iconTooltipText:t.$t("lang_AZ_SOCIETIES_TOOLTIP_MEMBERSHIP_ID"),label:t.$t("lang_AZ_SOCIETY_MEMBERSHIP_ID"),alvqa:t.alvqa+"-textfield-membership-id"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Visibility",items:t.visibilityItems,label:t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"),clearable:!1,alvqa:t.alvqa+"-dropdown-visibility"}})],1)],1)]}}])})},hx=[],mx={name:"AzSocietiesEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl},data:function(){return{context:"AzSocieties",alvqa:"az-societies-edit-form"}},computed:{countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},dropdownCurrency:function(){return ia},visibilityItems:function(){var t,e=this,a=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getVisibilityEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-visibility-"+t.value}))):t=[],t}},mounted:function(){this.$store.commit("setCountries"),this.$store.commit("setVisibility")}},fx=mx,Sx=Object(C["a"])(fx,_x,hx,!1,null,null,null),Ex=Sx.exports,Ix=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("BaseListPage",{attrs:{headline:"lang_AZ_LIVE",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("AzLiveTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-venue-name"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.name)+"\n\t\t\t\t\t\t")]),a("td",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-zip"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.zip)+"\n\t\t\t\t\t\t")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-city"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.city)+"\n\t\t\t\t\t\t")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-address"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.addressRow1)+"\n\t\t\t\t\t\t")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-alvId"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.item.alvId)+"\n\t\t\t\t\t\t")])]}},{key:"expandSlot",fn:function(){return[a("AzLiveReadOnly")]},proxy:!0}])})]},proxy:!0}])})],1)},Cx=[],Ax=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"AzLive",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{label:"lang_AZ_LIVE_BUTTON_CAPTION_NEW_VENUE",to:{name:"AzLiveEdit",params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},Tx=[],bx={name:"AzLiveTopSlot",components:{BaseHeaderStats:ti,BaseButton:wt},data:function(){return{alvqa:"az-live"}}},Px=bx,Dx=Object(C["a"])(Px,Ax,Tx,!1,null,null,null),Nx=Dx.exports,Rx=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-adresse"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"))+":\n                        "),a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-address-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){e.stopPropagation(),t.copyToClipboard(t.$alvPlugin.getAddressInternational(t.item))}}})],1),a("span",{attrs:{alvqa:t.alvqa+"-address"},domProps:{innerHTML:t._s(t.$alvPlugin.getAddressInternational(t.item))}})])],1)],1),""!=t.item.fullShippingAddress&&null!=t.item.fullShippingAddress?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-full-shipping-address"}},[t._v(t._s(t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-full-shipping-address"},domProps:{innerHTML:t._s(t.item.fullShippingAddress)}})])])],1)],1):t._e(),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[""!=t.item.alvId&&null!=t.item.alvId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]):t._e(),""!=t.item.email&&null!=t.item.email?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-email"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_EMAIL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-email"}},[t._v(t._s(t.item.email))])]):t._e(),""!=t.item.phone&&null!=t.item.phone?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-phone"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_PHONE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-phone"}},[t._v(t._s(t.item.phone))])]):t._e(),""!=t.item.cellphone&&null!=t.item.cellphone?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-cellphone"}},[t._v(t._s(t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-cellphone"}},[t._v(t._s(t.item.cellphone))])]):t._e(),""!=t.item.fax&&null!=t.item.fax?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-fax"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FAX"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-fax"}},[t._v(t._s(t.item.fax))])]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[""!=t.item.keyName&&null!=t.item.keyName?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-gema-name"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-gema-name"}},[t._v(t._s(t.item.keyName))])]):t._e(),""!=t.item.web&&null!=t.item.web?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-web"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_WEB"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-web"}},[a("a",{attrs:{href:t.getLinkWithHttp(t.item.web),target:"_blank"}},[t._v(t._s(t.item.web))])])]):t._e(),""!=t.item.facebook&&null!=t.item.facebook?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-facebook"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_FACEBOOK"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-facebook"}},[a("a",{attrs:{href:t.getLinkWithHttp(t.item.facebook),target:"_blank"}},[t._v(t._s(t.item.facebook))])])]):t._e(),""!=t.item.youtube&&null!=t.item.youtube?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-youtube"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_YOUTUBE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-youtube"}},[t._v(t._s(t.item.youtube))])]):t._e(),""!=t.item.twitter&&null!=t.item.twitter?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-twitter"}},[t._v(t._s(t.$t("lang_GENERIC_AZ_CAPTION_TWITTER"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-twitter"}},[t._v(t._s(t.item.twitter))])]):t._e()])],1)],1)],1),a("v-row",{staticClass:"pl-4 pr-4"},[""!=t.item.notes&&null!=t.item.notes?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.notes?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"},domProps:{innerHTML:t._s(t.item.notes)}})]):t._e()])],1)],1):t._e(),""!=t.item.shippingNote&&null!=t.item.shippingNote?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.shippingNote?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-shipping-notes"}},[t._v(t._s(t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_NOTE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-shipping-notes"},domProps:{innerHTML:t._s(t.item.shippingNote)}})]):t._e()])],1)],1):t._e(),""!=t.item.tags&&null!=t.item.tags?a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!=t.item.tags?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-tags"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_TAGS"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-tags"}},[t._v(t._s(t.item.tags))])]):t._e()])],1)],1):t._e()],1)],1)},xx=[],Ox=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{alvqa:t.alvqa,headline:"lang_AZ_LIVE_CAPTION_VENUE_ROOMS"},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.item,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-name"}},[t._v("\n                    "+t._s(n.name)+"\n                ")])]}},{key:"item.area",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-area"}},[t._v("\n                    "+t._s(t.$n(n.area,"number"))+"\n                ")])]}},{key:"item.capacity",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-capacity"}},[t._v("\n                    "+t._s(t.$n(n.capacity,"number"))+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},wx=[],Lx={name:"AzLiveVenueRoomsReadOnlyPanel",components:{BasePanel:vi},props:{id:{type:String}},data:function(){return{alvqa:"az-live-list-row-"+this.id+"-read-only-panel-venue-rooms"}},computed:{item:function(){return this.$store.getters.getAzLiveVenueRooms},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},headers:function(){return[{text:this.$t("lang_AZ_LIVE_VENUE_ROOMS_CAPTION_NAME"),align:"left",value:"name",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-name"},{text:this.$t("lang_AZ_LIVE_VENUE_ROOMS_CAPTION_AREA")+" (qm²)",align:"right",value:"area",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-area"},{text:this.$t("lang_AZ_LIVE_VENUE_ROOMS_CAPTION_CAPACITY"),align:"right",value:"capacity",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-capacity"}]}}},yx=Lx,qx=(a("24b0"),Object(C["a"])(yx,Ox,wx,!1,null,null,null)),kx=qx.exports,Bx={name:"AzLiveReadOnly",components:{BaseIcon:N,AzLiveVenueRoomsReadOnlyPanel:kx},data:function(){return{alvqa:"az-live-list-read-only"}},computed:{item:function(){return this.$store.getters.getExpandedAzLive[0]}},methods:{copyToClipboard:function(t){var e=t.replace(/<br\s*[\/]?>/gi,"\n");navigator.clipboard.writeText(e)},getType:function(t){var e=[{text:"type 1",value:"0"},{text:"type 2",value:"1"}],a=e.find((function(e){return e.value===t}));return void 0===a?"":a.text},getLinkWithHttp:function(t){return t.startsWith("http")?t:"http://"+t}},created:function(){this.$store.commit("setCountries")}},$x=Bx,Gx=Object(C["a"])($x,Rx,xx,!1,null,null,null),Fx=Gx.exports,Ux={name:"AzLiveList",components:{BaseListPage:yn,BaseDataTableList:En,AzLiveTopSlot:Nx,AzLiveReadOnly:Fx,ExpandIcon:is},data:function(){return{context:"AzLive",alvqa:"az-live"}},computed:{headers:function(){return[{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE"),value:"name",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_ZIP"),value:"zip",align:"right",sortable:!1,width:"150px",class:"text-no-wrap"},{text:this.$t("lang_AZ_PERSONS_CAPTION_CITY"),value:"city",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_AZ_CAPTION_ADDRESS"),value:"addressRow1",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"170px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}}},Mx=Ux,Wx=Object(C["a"])(Mx,Ix,Cx,!1,null,null,null),jx=Wx.exports,zx=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/az/azlive"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-venue-name"}},[t._v("\n            "+t._s("new"===t.$route.params.alvId?t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"):n.name)+"\n        ")])]}},{key:"editForm",fn:function(e){var n=e.data;return[a("v-col",{attrs:{cols:"1"}},[a("v-row",[null!=n?a("v-col",[null!==n.picture?a("v-img",{attrs:{src:n.picture}}):a("v-img",{staticClass:"defaultImageEditPage",attrs:{"aspect-ratio":"1",alvqa:t.alvqa+"-image"}},[a("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}})],1)],1):t._e()],1),a("v-row",[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-created"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CREATED"))+":")]),void 0!==n.created?a("div",{staticClass:"caption",attrs:{alvqa:t.alvqa+"-created"}},[t._v(t._s(n.created.name)+", "+t._s(t.$d(new Date(n.created.date),"alvDateTime",t.$i18n.locale)))]):t._e(),a("br"),a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-last-updated"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_LAST_UPDATED"))+":")]),void 0!==n.lastUpdated?a("div",{staticClass:"caption",attrs:{alvqa:t.alvqa+"-last-updated"}},[t._v(t._s(n.lastUpdated.name)+", "+t._s(t.$d(new Date(n.lastUpdated.date),"alvDateTime",t.$i18n.locale)))]):t._e()])],1)],1)],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VenueName",label:t.$t("lang_PUBLISHING_SHEETS_CAPTION_SETLIST_EVENT_VENUE"),rules:"required",alvqa:t.alvqa+"-textfield-venue-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow1",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),rules:"required",alvqa:t.alvqa+"-textfield-address-row-one"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow2",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-address-row-two"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),rules:"required",alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),rules:"required",alvqa:t.alvqa+"-textfield-city"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-textfield-state"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.countries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),rules:"required",alvqa:t.alvqa+"-dropdown-country"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ShippingAddress",rows:"5",label:t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_ADDRESS"),alvqa:t.alvqa+"-textarea-shipping-address"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Web",label:t.$t("lang_AZ_PERSONS_CAPTION_WEB"),alvqa:t.alvqa+"-textfield-web"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Facebook",label:t.$t("lang_AZ_PERSONS_CAPTION_FACEBOOK"),alvqa:t.alvqa+"-textfield-facebook"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Twitter",label:t.$t("lang_AZ_PERSONS_CAPTION_TWITTER"),alvqa:t.alvqa+"-textfield-twitter"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Youtube",label:t.$t("lang_AZ_PERSONS_CAPTION_YOUTUBE"),alvqa:t.alvqa+"-textfield-youtube"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Tags",label:t.$t("lang_AZ_PERSONS_CAPTION_TAGS"),alvqa:t.alvqa+"-textfield-tags"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"ShippingNote",rows:"5",label:t.$t("lang_AZ_GROUPS_CAPTION_SHIPPING_NOTE"),alvqa:t.alvqa+"-textarea-shipping-note"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Phone",label:t.$t("lang_AZ_PERSONS_CAPTION_PHONE"),alvqa:t.alvqa+"-textfield-phone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Fax",label:t.$t("lang_AZ_PERSONS_CAPTION_FAX"),alvqa:t.alvqa+"-textfield-fax"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Cellphone",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),alvqa:t.alvqa+"-textfield-cellphone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),alvqa:t.alvqa+"-textfield-email"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"7",label:t.$t("lang_GENERIC_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"KeyName",label:t.$t("lang_GENERIC_AZ_CAPTION_GEMA_NAME"),clearable:!1,readonly:!0,alvqa:t.alvqa+"-textfield-key-name"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Visibility",items:t.visibilityItems,label:t.$t("lang_AZ_PERSONS_CAPTION_VISIBILITY"),clearable:!1,disabled:!0,alvqa:t.alvqa+"-dropdown-visibility"}})],1)],1)]}}])})},Hx=[],Vx={name:"AzLiveEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me},data:function(){return{context:"AzLive",alvqa:"az-live-edit-form"}},computed:{visibilityItems:function(){var t,e=this,a=this.$store.getters["getVisibility"+this.$i18n.locale.toUpperCase()];return void 0===a&&(a=this.$store.getters.getVisibilityEN),void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-visibility-"+t.value}))):t=[],t},countries:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},mounted:function(){this.$store.commit("setVisibility"),this.$store.commit("setCountries")}},Yx=Vx,Kx=Object(C["a"])(Yx,zx,Hx,!1,null,null,null),Zx=Kx.exports,Xx=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("SelectionRequiredDialog"),a("MoveIntoCompanyDialog",{attrs:{context:"PublishingContracts",message:t.$t("lang_CONTRACTS_LABEL_CAPTION_MOVE_CONTRACTS_TEXT")}}),a("BaseListPage",{attrs:{headline:"lang_CONTRACTS_PUBLISHING_CONTRACTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("PublishingContractsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-alvid"}},[t._v(t._s(n.item.alvId))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.contractName,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-name"}})],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contracting-party"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v("\n                                    "+t._s(null!==n.item.licensor?t.$alvPlugin.showNameOfAzEntry(n.item.licensor)+" ("+t.$t("lang_GENERIC_CAPTION_ALVID")+": "+n.item.licensor.alvId+" | "+t.getIPI(n)+" | "+t.getKTO(n)+")":"")+"\n                                ")]},proxy:!0},{key:"content",fn:function(){return[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(n.item.licensor))+"                               \n                                ")]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-type"}},[t._v("\n                            "+t._s(n.item.contractType)+"\n                        ")]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-number-of-assigned-works"}},[t._v(t._s(t.$n(n.item.numberOfAssignedWorks,"numberInteger"))+" "+t._s(t.$t(t.getWorksLangConst(n.item.numberOfAssignedWorks))))]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-date"}},[t._v(t._s(null!==n.item.contractDate?t.$d(new Date(n.item.contractDate),"alvDateFormat"):""))])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("PublishingContractsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},Jx=[],Qx=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"PublishingContracts",alvqa:t.alvqa}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center",col:"4"}},[a("BaseHeaderStats",{attrs:{context:"PublishingContracts",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CONTRACTS_CAPTION_NEW_CONTRACT",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},tO=[],eO={name:"PublishingContractsTopSlot",components:{BaseButton:wt,ActionDropdown:Mn,BaseHeaderStats:ti},data:function(){return{editForm:"PublishingContractsEdit",alvqa:"contracts-publishing"}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_COPY_WITH_WORK"),value:"copyWithWorks",alvqa:this.alvqa+"-list-action-dropdown-copy-with-works"},{text:this.$t("lang_CONTRACTS_PUBLISHING_COPY_WITHOUT_WORK"),value:"copyWithoutWorks",alvqa:this.alvqa+"-list-action-dropdown-copy-without-works"},{text:this.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_MOVE"),value:"move",alvqa:this.alvqa+"-list-action-dropdown-move"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},aO=eO,nO=Object(C["a"])(aO,Qx,tO,!1,null,null,null),iO=nO.exports,sO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"sub-catalogues-title"}},[a("v-row",{staticClass:"pl-4 pb-4 headline"},[t._v("\n                "+t._s(t.item.contractName)+"\n            ")])],1),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("PublishingContractsSubCataloguesReadOnlyPanel",{attrs:{contractAvlId:t.item.alvId}}),a("PublishingContractsSubCataloguesReadOnlyPanelDialog"),a("DeletionDialog",{attrs:{context:"SelectedPublishingContractsSubCatalogues"}})],1)],1)],1)],1)},rO=[],lO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_CONTRACTS_PUBLISHING_CAPTION_SUB_CATALOGUES",alvqa:t.alvqa,onOpenPanel:t.onOpenPanel},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.item,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage,page:t.currentPage,"server-items-length":t.totalRecords,loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),id:"listPage"},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_CONTRACTS_PUBLISHING_CAPTION_ADD_SUB_CATALOGUE",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addSubCatalogue}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.name",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{div:""}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.getCatalogueName(n)+" ("+n.licensor.alvId+")"))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-name"}},[t._v("\n                                "+t._s(t.getCatalogueName(n))+"\n                            ")])]},proxy:!0}],null,!0)})],1)]}},{key:"item.gemaAgreementNo",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-agreement-number"}},[t._v("\n                    "+t._s(n.gemaAgreementNo)+"\n                ")])]}},{key:"item.gemaScheduleNo",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-schedule-number"}},[t._v("\n                    "+t._s(n.gemaScheduleNo)+"\n                ")])]}},{key:"item.alvId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-alvid"}},[t._v("\n                    "+t._s(n.alvId)+"\n                ")])]}},{key:"item.notes",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-notes"}},[t._v("\n                    "+t._s(n.notes)+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteSubCatalogue(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editSubCatalogue(n)}}})]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},oO=[],cO={name:"PublishingContractsSubCataloguesReadOnlyPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T},props:{contractAvlId:{type:String}},data:function(){return{alvqa:"publishing-contracts-list-row-"+this.contractAvlId+"-read-only-panel-sub-catalogues"}},computed:{item:function(){return this.$store.getters.getPublishingContractsSubCatalogues},headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_ALVID"),align:"left",value:"alvId",sortable:!1,width:"165px",alvqa:this.alvqa+"-header-alvid"},{text:this.$t("lang_CAPTION_NAME"),align:"left",value:"name",sortable:!1,alvqa:this.alvqa+"-header-name"},{text:this.$t("lang_CONTRACTS_PUBLISHING_CAPTION_AGREEMENT_NUMBER"),align:"left",value:"gemaAgreementNo",sortable:!1,width:"200px",alvqa:this.alvqa+"-header-agreement-number"},{text:this.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SCHEDULE_NUMBER"),align:"left",value:"gemaScheduleNo",sortable:!1,width:"200px",alvqa:this.alvqa+"-header-schedule-number"},{text:this.$t("lang_PUBLISHING_CAPTION_WORKS"),align:"right",value:"numberOfAssignedWorks",sortable:!1,width:"100px",alvqa:this.alvqa+"-header-number-of-assigned-works"},{text:this.$t("lang_GENERIC_CAPTION_NOTES"),align:"right",value:"notes",sortable:!1,alvqa:this.alvqa+"-header-notes"},{text:"",value:"inlineEdit",align:"right",width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",class:"text-no-wrap"}]},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},numberOfPages:function(){return this.$store.getters.getNumberOfPages},totalRecords:function(){return this.$store.getters.getTotalRecords},currentPage:{get:function(){return this.$store.getters.getCurrentPage},set:function(t){this.$store.commit("setCurrentPage",t)}}},methods:{getCatalogueName:function(t){return null!==t.licensor.group&&""!==t.licensor.group?t.licensor.group:t.licensor.gemaName},addSubCatalogue:function(){this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPublishingContractsSubCatalogues));this.$store.commit("setPublishingContractsSubCataloguesEditingDialogDetails",t)},deleteSubCatalogue:function(t){this.$store.commit("setSelectedPublishingContractsSubCatalogues",t.alvId),this.$store.commit("setShowDeletionDialog",!0)},editSubCatalogue:function(t){this.$store.commit("setSelectedPublishingContractsSubCatalogues",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setPublishingContractsSubCataloguesLicensorOptions",[t.licensor]),this.$store.commit("setPublishingContractsSubCataloguesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchPublishingContractsSubCatalogues");case 2:this.$vuetify.goTo("#listPage");case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),onOpenPanel:function(){this.$store.dispatch("fetchPublishingContractsSubCatalogues")}}},uO=cO,dO=(a("3ddb"),Object(C["a"])(uO,lO,oO,!1,null,null,null)),gO=dO.exports,pO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,additionalAfterSaveFunction:t.saveSubCatalogues},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Licensor",label:t.$t("lang_GENERIC_CAPTION_LICENSOR"),rules:"required",withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-autocomplete-licensor-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-licensor-selection"}},[t._v("\n                            "+t._s(n.gemaName)+"\n                            "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                            ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AgreementNumber",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_AGREEMENT_NUMBER"),withMargin:!1,alvqa:t.alvqa+"-textfield-agreement-number"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ScheduleNumber",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SCHEDULE_NUMBER"),withMargin:!1,alvqa:t.alvqa+"-textfield-schedule-number"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextarea",{attrs:{label:t.$t("lang_GENERAL_CAPTION_NOTES"),field:"Notes",context:t.context,withMargin:!1,alvqa:t.alvqa+"-textarea-notes"}})],1)],1)]},proxy:!0}])})},vO=[],_O={name:"PublishingContractsSubCataloguesReadOnlyDialog",components:{EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl},data:function(){return{context:"PublishingContractsSubCatalogues",alvqa:"publishing-contracts-list-row-"+this.contractAvlId+"-read-only-panel-sub-catalogues-editing-dialog"}},methods:{saveSubCatalogues:function(){this.$store.dispatch("savePublishingContractsSubCatalogues")}}},hO=_O,mO=Object(C["a"])(hO,pO,vO,!1,null,null,null),fO=mO.exports,SO={name:"PublishingContractsReadOnly",components:{PublishingContractsSubCataloguesReadOnlyPanel:gO,PublishingContractsSubCataloguesReadOnlyPanelDialog:fO,DeletionDialog:Cs},props:{itemId:{type:Number}},data:function(){return{alvqa:"publishing-contracts-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedPublishingContracts.find((function(e){return e.id===t.itemId}));return e}}},EO=SO,IO=Object(C["a"])(EO,sO,rO,!1,null,null,null),CO=IO.exports,AO={name:"PublishingContractsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,ExpandIcon:is,PublishingContractsTopSlot:iO,PublishingContractsReadOnly:CO,DeletionDialog:Cs,MoveIntoCompanyDialog:fg,SelectionRequiredDialog:hs},data:function(){return{context:"PublishingContracts",alvqa:"contracts-publishing"}},computed:{headers:function(){return[{text:"",value:"data-table-select",sortable:!1,width:"60px"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"165px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CONTRACT_TITLE"),value:"contractName",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY"),value:"licensor",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"contractType",align:"left",sortable:!0,width:"130px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_CONNECTED_TO"),value:"numberOfAssignedWorks",align:"right",sortable:!1,width:"175px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE"),value:"contractDate",align:"left",sortable:!1,width:"145px",class:"text-no-wrap"},{text:"",value:"ghost",sortable:!1,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}},methods:{getIPI:function(t){var e=t.item.licensor.ipi;return null===e&&(e=this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),this.$t("lang_GENERIC_AZ_CAPTION_IPI")+": "+e},getKTO:function(t){var e=t.item.licensor.ykto,a=t.item.licensor.hkto,n=t.item.licensor.ukto;return null===e&&(e=this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),null===a&&(a=this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),null===n&&(n=this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),this.$t("lang_GENERIC_CAPTION_KTO")+": "+e+" - "+a+" - "+n},getWorksLangConst:function(t){return 0===t||t>1?"lang_GENERIC_WORKS_PLURAL":"lang_GENERIC_WORKS_SINGULAR"}},created:function(){this.$store.commit("setPublishingContractsTypes")}},TO=AO,bO=Object(C["a"])(TO,Xx,Jx,!1,null,null,null),PO=bO.exports,DO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/contracts/publishing",openMultiplePanels:!1},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(n.contractName?n.contractName:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ContractName",label:t.$t("lang_GENERIC_CONTRACTS_CONTRACT_TITLE"),alvqa:t.alvqa+"-textfield-contract-name",rules:"required"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ContractType",items:t.contractType,clearable:!1,additionalFunction:t.switchToSLG,rules:"required",label:t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),alvqa:t.alvqa+"-dropdown-contract-type"}})],1),a("v-row",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Licensor",label:t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY"),rules:"required",withFreeText:!1,alvqa:t.alvqa+"-autocomplete-licensor-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-licensor-selection"}},[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                            ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                                ")])],1)]}}])})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"3",label:t.$t("lang_GENERAL_CAPTION_NOTES"),alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.$t("lang_CAPTION_ALVID"),alvqa:t.alvqa+"-textfield-alvid",clearable:!1,readonly:!0}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaAgreementNo",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SOCIETY_AGREEMENT_NUMBER"),iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_SOCIETY_AGREEMENT_NUMBER"),alvqa:t.alvqa+"-textfield-gema-agreement-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaScheduleNo",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SOCIETY_SCHEDULE_NUMBER"),iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_SOCIETY_SCHEDULE_NUMBER"),alvqa:t.alvqa+"-textfield-gema-schedule-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"InitialBalance",rules:"positiveOrNegativeWithMaxTwoDigits",label:t.initialBalanceLabel,alvqa:t.alvqa+"-textfield-initial-balance"}})],1),a("v-row",{staticClass:"ml-1 mr-1"},[a("BasePeriod",{attrs:{context:t.context,widthYearField:"4",widthTimeUnitField:"5",widthNumberField:"3",periodLabel:"lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE_PERIOD"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ContractDate",label:t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE"),alvqa:t.alvqa+"-datepicker-contract-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ValidFromDate",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_VALID_FROM"),alvqa:t.alvqa+"-datepicker-valid-from-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ValidUntilDate",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_VALID_UNTIL"),alvqa:t.alvqa+"-datepicker-valid-until-date"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"GemaContractType",items:t.gemaContractTypes,rules:t.isSLG?"required":{},label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_GEMA_CONTRACT_TYPE"),alvqa:t.alvqa+"-dropdown-gema-contract-type"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ReminderDate",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_REMINDER_DATE"),alvqa:t.alvqa+"-datepicker-reminder-date"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Refunding",items:t.refundingOptions,label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_REFUNDING"),iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_REFUNDING_BY"),alvqa:t.alvqa+"-dropdown-refunding"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SpTresholdPr",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SP_TRESHOLD_PR"),iconTooltipText:t.$t("lang_GENERIC_TOOLTIP_NDA_PARTNER_ONLY"),suffix:"%",alvqa:t.alvqa+"-textfield-sp-treshold-pr"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SpTresholdMr",label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SP_TRESHOLD_MR"),iconTooltipText:t.$t("lang_GENERIC_TOOLTIP_NDA_PARTNER_ONLY"),suffix:"%",alvqa:t.alvqa+"-textfield-sp-treshold-mr"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"NumberOfAssignedWorksContract",label:t.$t("lang_GENERIC_CAPTION_NUMBER_OF_WORKS")+" "+t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_MAIN_CATALOGUE"),disabled:!0,clearable:!1,alvqa:t.alvqa+"-textfield-number-of-assigned-works-contract"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"NumberOfAssignedWorksSubCatalogue",label:t.$t("lang_GENERIC_CAPTION_NUMBER_OF_WORKS")+" "+t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SUB_CATALOGUE"),disabled:!0,clearable:!1,alvqa:t.alvqa+"-textfield-number-of-assigned-works-sub-catalogues"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ArColl",label:t.$t("lang_GENERIC_CAPTION_COLL_PERCENT_PR"),iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_COLL_SHARE_PR"),suffix:"%",disabled:!t.isSLG,alvqa:t.alvqa+"-textfield-ar-coll"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"MrColl",label:t.$t("lang_GENERIC_CAPTION_COLL_PERCENT_MR"),iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_COLL_SHARE_MR"),suffix:"%",disabled:!t.isSLG,alvqa:t.alvqa+"-textfield-mr-coll"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ShareFrom",items:t.shareFrom,rules:t.isSLG?"required":{},disabled:!t.isSLG,label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_COLL_SHARE_MR_FROM"),alvqa:t.alvqa+"-dropdown-share-from"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SvdForSpw",items:t.yesNoItems,iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_SVD_FOR_SPW"),label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SVD_FOR_SPW"),alvqa:t.alvqa+"-dropdown-svd-for-spw"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SourceAdaption",items:t.sourceAdaption,label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SOURCE_ADAPTION"),iconTooltipText:t.$t("lang_GENERIC_TOOLTIP_NDA_PARTNER_ONLY"),alvqa:t.alvqa+"-dropdown-source-adaption"}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("PublishingContractsSplitsEditPanel"),a("PublishingContractsSplitsEditPanelDialog"),a("PublishingContractsWorkEditPanel"),a("PublishingContractsWorksEditPanelDialog"),a("PublishingContractsWorksEditPanelSetTypeDialog"),t._l(t.subcatalogues,(function(t,e){return a("PublishingContractsSubCataloguesEditPanel",{key:e,attrs:{subcatalogue:t}})})),a("PublishingContractsSubCataloguesWorksEditPanelDialog"),a("PublishingContractsConditionsEditPanel"),a("PublishingContractsConditionsEditDialog"),a("PublishingContractsSplitEditDialog"),a("PublishingContractsMediaEditPanel"),a("MediaFileUploadDialog",{attrs:{acceptedFiles:".png,.jpg,.jpeg,.pdf,.txt,.wav,.mp3,.flac,.zip",placeholder:"lang_GENERIC_CAPTION_SELECT_FILES_FOR_UPLOAD",headline:"lang_GENERAL_FILE_IMPORT_DIALOG_TITLE_UPLOAD_FILE",context:t.context+"Media",detailsCall:"getPublishingContractsDetails",directory:"contracts/publishing/"}})]},proxy:!0}])})},NO=[],RO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERAL_PANEL_CAPTION_SPLITS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"baseInlineEditingDataTable",attrs:{headers:t.headers,items:t.items,"header-props":{sortIcon:""},"hide-default-footer":"",loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":t.itemsPerPage,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.rights",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-rights"}},[t._v("\n                    "+t._s(t.$t(t.getTypeOfRights(n.rights)))+"\n                ")])]}},{key:"item.split",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-split"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.split,"number"))+"\n                ")])]}},{key:"item.base",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-base"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.base,"number"))+"\n                ")])]}},{key:"item.applyTo",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-apply-to"}},[t._v("\n                    "+t._s(t.$t(t.getApplyTo(n.applyTo)))+"\n                ")])]}},{key:"item.region",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-region"}},[t._v("\n                    "+t._s(t.$alvPlugin.createRegionsToString(n.region))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteSplitsRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},xO=[],OO={name:"PublishingContractsSplitsEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseInlineEditingDataTable:Tp,BaseButton:wt},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-splits"}},computed:{items:function(){return this.$store.commit("setIsLoading",!0),this.$store.dispatch("fetchPublishingContractSplits"),this.$store.getters.getPublishingContractSplits},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},headers:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_RIGHTS"),value:"rights",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-rights"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_BASE"),value:"base",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-base"},{text:this.$t("lang_GENERAL_CAPTION_SPLIT"),value:"split",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-split"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_REGION"),value:"region",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-region"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_APPLY_TO"),value:"applyTo",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-apply-to"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]}},methods:{addNewRow:function(){this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPublishingContractSplits));this.$store.commit("setPublishingContractSplitsEditingDialogDetails",t)},getApplyTo:function(t){var e=Aa;if(null===t)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0},getTypeOfRights:function(t){var e=this.$store.getters.getPublishingContractTypeOfRights;if(null===e)return"";var a=e.find((function(e){return e.value===t}));return void 0!==a?a.text:void 0},regionsIncludeExcludeFormatted:function(t){var e="";if(0!==t.include.length){var a=t.include.join("+");e+=a}if(0!==t.exclude.length){e+="-";var n=t.exclude.join("-");e+=n}return e},deleteSplitsRow:function(t){this.$store.commit("setSelectedPublishingContractSplits",[t.id]),this.$store.commit("setDeletionDialogContext","SelectedPublishingContractSplits"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedPublishingContractSplits",t.id);var e=JSON.parse(JSON.stringify(t));e["base"]=this.$alvPlugin.getNumberLocalization(e["base"],"number"),e["split"]=this.$alvPlugin.getNumberLocalization(e["split"],"number"),this.$store.commit("setPublishingContractSplitsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)}}},wO=OO,LO=(a("17b6"),Object(C["a"])(wO,RO,xO,!1,null,null,null)),yO=LO.exports,qO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_CAPTION_WORKS",alvqa:t.alvqa,onOpenPanel:t.onOpenPanel},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage,page:t.currentPage,"server-items-length":t.totalRecords,loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([{key:"top",fn:function(){return[a("PublishingContractsWorksEditPanelTopSlot")]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.type",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-title"}},[t._v("\n                        "+t._s(t.getWorksType(n))+"\n                    ")])]}},{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-title"}},[t._v("\n                        "+t._s(n.title)+"\n                    ")])]}},{key:"item.workId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-work-id"}},[t._v("\n                        "+t._s(n.gemaNumber)+"\n                    ")])]}},{key:"item.mainComposer",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.composers.join(" / "),alvqa:t.alvqa+"-list-row-text-main-composer"}})],1)]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},kO=[],BO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",{staticClass:"pb-3"},[a("v-col",{staticClass:"pb-5",attrs:{cols:"2"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search",iconTooltipText:t.$t("lang_CONTRACTS_PUBLISHING_TOOLTIP_PANEL_WORKS_SEARCH_FIELD")},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.filter.apply(null,arguments)}}})],1),a("span",{staticClass:"pt-7"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:t.filter}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.showDeleteResultListButton,label:"lang_GENERIC_BUTTON_CAPTION_REMOVE",alvqa:t.alvqa+"-button-delete-result",block:""},on:{click:t.deleteResultlist}})],1),a("v-col",{staticClass:"v-label theme--light mt-2",attrs:{cols:"3","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"WorksForSubCatalogues",typeStats:"LIST",alvqa:t.alvqa,specificSelected:t.$store.getters.getTotalListed}})],1),a("v-spacer"),"SLG"===t.setTypeOfWorksFor?a("v-col",{staticClass:"pt-6",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_SPW_BUTTON",disabled:t.disableSetWorksTypeButton,alvqa:t.alvqa+"-button-change-to-spw",block:""},on:{click:function(e){return t.openSetWorksTypeConfirmationDialog("spw")}}})],1):t._e(),"EKT"===t.setTypeOfWorksFor?a("v-col",{staticClass:"pt-6",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_OPW_BUTTON",disabled:t.disableSetWorksTypeButton,alvqa:t.alvqa+"-button-change-to-opw",block:""},on:{click:function(e){return t.openSetWorksTypeConfirmationDialog("opw")}}})],1):t._e(),a("v-col",{staticClass:"pt-6",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_TITLE",alvqa:t.alvqa+"-button-add-row",block:""},on:{click:t.addWorks}})],1)],1)},$O=[],GO={name:"PublishingContractsWorksEditPanelTopSlot",components:{BaseButton:wt,BaseIcon:N,SearchFilter:Nn,BaseHeaderStats:ti},props:{subcatalogue:Object},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-works",context:"PublishingContractsWorks"}},computed:{showDeleteResultListButton:function(){return this.$store.getters.getShowWorksDeleteResultListButton},setTypeOfWorksFor:function(){return this.$store.getters.getPublishingContractsDetailsContractType},disableSetWorksTypeButton:function(){return"ALV000000000CP"===this.$store.getters.getPublishingContractsDetailsAlvId||0===this.$store.getters.getPublishingContractsWorks.length}},methods:{openSetWorksTypeConfirmationDialog:function(t){this.$store.commit("setShowSetWorksTypeDialog",!0)},addWorks:function(){this.$store.commit("setShowSearchDialog",!0)},filter:function(){this.$store.commit("setCurrentPage",1),this.$store.dispatch("fetchPublishingContractsWorks")},deleteResultlist:function(){this.$store.commit("setDeletionDialogContext","AllWorksFromPublishingContract"),this.$store.commit("setShowDeletionDialog",!0)}}},FO=GO,UO=Object(C["a"])(FO,BO,$O,!1,null,null,null),MO=UO.exports,WO={name:"PublishingContractsWorkEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T,PublishingContractsWorksEditPanelTopSlot:MO},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-works"}},computed:{headers:function(){return[{text:"",align:"left",value:"type",class:"text-no-wrap",width:"80px",sortable:!1,alvqa:this.alvqa+"-header-type"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),align:"left",value:"title",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),align:"left",value:"workId",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-work-id"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),align:"left",value:"mainComposer",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-main-composer"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getPublishingContractsWorks},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},numberOfPages:function(){return this.$store.getters.getNumberOfPages},totalRecords:function(){return this.$store.getters.getTotalRecords},currentPage:{get:function(){return this.$store.getters.getCurrentPage},set:function(t){this.$store.commit("setCurrentPage",t)}}},methods:{nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchPublishingContractsWorks");case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),deleteRow:function(t){this.$store.commit("setSelectedContractPublishingWork",t.alvId),this.$store.commit("setDeletionDialogContext","SelectedContractPublishingWork"),this.$store.commit("setShowDeletionDialog",!0)},onOpenPanel:function(){this.$store.dispatch("fetchPublishingContractsWorks")},getWorksType:function(t){switch(t.type){case"opw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_OPW");case"spw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_SPW");case"upw":return this.$t("lang_PUBLISHING_WORKS_DROPDOWN_TYPE_UPW")+" ("+this.$t("lang_GENERAL_GHOST")+")";default:return this.$t("lang_GENERAL_WORK")}}}},jO=WO,zO=(a("b921"),Object(C["a"])(jO,qO,kO,!1,null,null,null)),HO=zO.exports,VO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showSetWorksTypeDialog,maxDialogWidth:"800",maxCardHeight:"700",scrollable:!0,headline:t.getHeadline,close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t(t.getConfirmationText))+"\n\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"ma pt-0 pr-0 pb-0 ",attrs:{cols:"4"}},[a("v-text-field",{attrs:{messages:t.$t(t.errorMessage),depressed:"",label:t.$t(t.getLabel),alvqa:t.alvqa+"-textfield-delete"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkUserInput()}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}),a("v-spacer")],1)],1),a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_YES",alvqa:t.alvqa+"-button-add"},on:{click:function(e){return t.checkUserInput()}}})],1)],1)],1)]},proxy:!0}])})},YO=[],KO={name:"PublishingContractsWorksEditPanelSetTypeDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{userInput:"",errorMessage:"",alvqa:"to-spw-dialog"}},computed:{getHeadline:function(){return"SLG"==this.getTypeOfContract()?"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_SPW_DIALOG_TITLE":"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_OPW_DIALOG_TITLE"},showSetWorksTypeDialog:{get:function(){return this.$store.getters.getShowSetWorksTypeDialog},set:function(t){this.$store.commit("setShowSetWorksTypeDialog",t)}},getLabel:function(){return"SLG"==this.getTypeOfContract()?"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_SPW":"lang_PUBLISHING_WORKS_DROPDOWN_TYPE_OPW"},getConfirmationText:function(){return"SLG"==this.getTypeOfContract()?"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_SPW_CONFIRMATION":"lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_OPW_CONFIRMATION"}},methods:{getTypeOfContract:function(){return this.$store.getters.getPublishingContractsDetailsContractType},closeDialog:function(){this.$store.commit("setShowSetWorksTypeDialog",!1),this.userInput="",this.errorMessage=""},checkUserInput:function(){var t=this.$t(this.getLabel).toLowerCase(),e="s"==t.substring(t.length-3,1)?"spw":"opw";this.userInput.toLowerCase()==t?(this.$store.dispatch("setWorksTypeAction",e),this.closeDialog()):this.errorMessage="lang_PUBLISH_CONTRACTS_WORKS_CONVERT_TO_SVW_ERR_MESSAGE"}}},ZO=KO,XO=Object(C["a"])(ZO,VO,YO,!1,null,null,null),JO=XO.exports,QO=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.getPanelHeader(t.subcatalogue).toUpperCase(),alvqa:t.alvqa,onOpenPanel:t.onOpenPanel},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.works,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage,page:t.currentPage,"server-items-length":t.totalRecords,loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),id:"listPage"},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([{key:"top",fn:function(){return[a("PublishingContractsSubCataloguesEditPanelTopSlot",{attrs:{subcatalogue:t.subcatalogue}})]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-title"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}},{key:"item.workId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-work-id"}},[t._v("\n                    "+t._s(n.gemaNumber)+"\n                ")])]}},{key:"item.composers",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.composers.join(" / "),alvqa:t.alvqa+"-list-row-text-main-composer"}})],1)]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},tw=[],ew=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",{staticClass:"pb-3"},[a("v-col",{staticClass:"pb-5",attrs:{cols:"2"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.filter.apply(null,arguments)}}})],1),a("span",{staticClass:"pt-7"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:t.filter}})],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.showDeleteResultListButton,label:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-button-delete-result",block:""},on:{click:t.deleteResultlist}})],1),a("v-col",{staticClass:"v-label theme--light mt-2",attrs:{cols:"4","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"WorksForSubCatalogues",typeStats:"LIST",alvqa:t.alvqa,specificSelected:t.$store.getters.getTotalListed}})],1),a("v-spacer"),a("v-col",{staticClass:"pt-6",attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_TITLE",alvqa:t.alvqa+"-button-add-row",block:""},on:{click:t.addWorks}})],1)],1)},aw=[],nw={name:"PublishingContractsSubCataloguesEditPanelTopSlot",components:{BaseButton:wt,BaseIcon:N,SearchFilter:Nn,BaseHeaderStats:ti},props:{subcatalogue:Object},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-subcatalogues",context:"PublishingContractsSubCataloguesWorks"}},computed:{showDeleteResultListButton:function(){return this.$store.getters.getShowSubCataloguesWorksDeleteResultListButton}},methods:{addWorks:function(){this.$store.commit("setSelectedPublishingContractsSubCatalogues",this.subcatalogue.alvId),this.$store.commit("setShowSearchSubCataloguesWorksDialog",!0)},filter:function(){this.$store.commit("setCurrentPage",1),this.$store.commit("setPublishingContractsSubCataloguesWorks",[]),this.$store.dispatch("fetchPublishingContractsSubCataloguesWorks",this.subcatalogue.alvId)},deleteResultlist:function(){this.$store.commit("setSelectedPublishingContractsSubCatalogues",this.subcatalogue.alvId),this.$store.commit("setDeletionDialogContext","AllWorksFromSubCatalogues"),this.$store.commit("setShowDeletionDialog",!0)}}},iw=nw,sw=Object(C["a"])(iw,ew,aw,!1,null,null,null),rw=sw.exports,lw={name:"PublishingContractsSubCataloguesEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseTooltip:T,BaseButton:wt,PublishingContractsSubCataloguesEditPanelTopSlot:rw},props:{subcatalogue:Object},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-subcatalogues"}},computed:{headers:function(){return[{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_TITLE"),align:"left",value:"title",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-title"},{text:this.$t("lang_PUBLISHING_WORKS_CAPTION_WORK_ID"),align:"left",value:"workId",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-work-id"},{text:this.$t("lang_PUBLISHING_CAPTION_COMPOSERS"),align:"left",value:"composers",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-main-composer"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},works:function(){return this.$store.getters.getPublishingContractsSubCataloguesWorks},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},numberOfPages:function(){return this.$store.getters.getNumberOfPages},totalRecords:function(){return this.$store.getters.getTotalRecords},currentPage:{get:function(){return this.$store.getters.getCurrentPage},set:function(t){this.$store.commit("setCurrentPage",t)}}},methods:{getPanelHeader:function(t){return null!==t.licensor.group&&""!==t.licensor.group?t.licensor.group:t.licensor.gemaName},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchPublishingContractsSubCataloguesWorks",this.subcatalogue.alvId);case 2:this.$vuetify.goTo("#listPage");case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),onOpenPanel:function(){this.$store.commit("setPublishingContractsSubCataloguesWorksSearch",""),this.$store.commit("setPublishingContractsSubCataloguesWorks",[]),this.$store.dispatch("fetchPublishingContractsSubCataloguesWorks",this.subcatalogue.alvId)},deleteRow:function(t){this.$store.commit("setSelectedPublishingContractsSubCatalogues",this.subcatalogue.alvId),this.$store.commit("setSelectedWorksForSubCatalogues",t.alvId),this.$store.commit("setDeletionDialogContext","SelectedWorksForSubCatalogues"),this.$store.commit("setShowDeletionDialog",!0)}}},ow=lw,cw=Object(C["a"])(ow,QO,tw,!1,null,null,null),uw=cw.exports,dw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_CONTRACTS_CAPTION_CONDITIONS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{staticClass:"pl-0",attrs:{fluid:""}},[a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.sheetsHeaders,items:t.item,expanded:t.expandedItems,"show-expand":"","header-props":{sortIcon:""},"items-per-page":t.itemsPerPage,"hide-default-footer":"","sort-by":"sheetNumber","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},on:{"update:expanded":function(e){t.expandedItems=e},"click:row":function(e){return t.expandItemByClick(e)}},scopedSlots:t._u([t._l(t.sheetsHeaders,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n+"_header",attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))]),"actions"==e.value?a("div",{key:n},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-add-condition",icon:"add",tooltipText:"lang_GENERAL_BUTTON_ADD_ROW"},on:{click:function(e){return e.stopPropagation(),t.openDialogCondition()}}})],1):t._e()]},proxy:!0}})),{key:"item.data-table-expand",fn:function(e){var n=e.isExpanded;return[a("v-icon",{staticClass:"ma-0 pa-0",attrs:{small:"",color:"buttonStandard"}},n?[t._v("fa-arrow-alt-circle-down")]:[t._v("fa-arrow-alt-circle-right")])]}},{key:"item.sourceId",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-sourceId"}},[t._v("\n                    "+t._s(t.getSourceName(n.sourceId))+"\n                  ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.getSourceName(n.sourceId)))]},proxy:!0}],null,!0)})]}},{key:"item.recipientId",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-recipientId"}},[t._v("\n                    "+t._s(n.recipientId?n.recipientId.name:t.$t("lang_GENERIC_CAPTION_ANY"))+"\n                    "),n.recipientId?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-recipient-id-copy-to-clipboard",small:!0,icon:"content_copy",color:"buttonStandard"},on:{click:function(e){return e.stopPropagation(),t.copyToClipboard(n.recipientId.alvId)}}}):t._e()],1)]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                  "+t._s(n.recipientId?n.recipientId.alvId+" "+n.recipientId.name:t.$t("lang_GENERIC_CAPTION_ANY"))+"\n                ")]},proxy:!0}],null,!0)})]}},{key:"item.collPrGreater",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-collPrGreater"}},[t._v("\n                    "+t._s(n.collPrGreater)+"\n                  ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.collPrGreater))]},proxy:!0}],null,!0)})]}},{key:"item.collMrGreater",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-sheets-"+n.id+"-text-collMrGreater"}},[t._v("\n                    "+t._s(n.collMrGreater)+"\n                  ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.collMrGreater))]},proxy:!0}],null,!0)})]}},{key:"item.actions",fn:function(e){var n=e.item;return[a("div",{staticClass:"d-flex"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.openDialogCondition(n)}}}),a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"condition-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteConditionRow(n)}}})],1)]}},{key:"expanded-item",fn:function(e){var n=e.item;return[a("td",{staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:"1"}}),a("td",{staticClass:"pl-0",staticStyle:{"background-color":"var(--v-expandPanelBackground-base)"},attrs:{colspan:t.sheetsHeaders.length-1}},[a("v-container",{staticClass:"pl-0 pr-0",attrs:{fluid:""}},[a("v-row",[a("v-col",{staticClass:"pr-0"},[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.splitsHeaders,"hide-default-footer":"",items:n.splits,"item-key":"index","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([t._l(t.splitsHeaders,(function(e,i){return{key:"header."+e.value,fn:function(){return[a("span",{key:i,attrs:{alvqa:e.alvqa+"-"+n.sheetNumber}},[t._v(t._s(e.text))]),"actions"==e.value?a("div",{key:i+"_split_header"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-add-split",icon:"add",tooltipText:"lang_GENERAL_BUTTON_ADD_ROW"},on:{click:function(e){return e.stopPropagation(),t.openDialogSplits(n.id)}}})],1):t._e()]},proxy:!0}})),{key:"item.rightsType",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-rights-type"}},[t._v("\n                                "+t._s(t.getRightTypeName(n.rightsType))+"\n                              ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.getRightTypeName(n.rightsType)))]},proxy:!0}],null,!0)})]}},{key:"item.category",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-category"}},[t._v("\n                                "+t._s(t.getCategoryName(n.category))+"\n                              ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.getCategoryName(n.category)))]},proxy:!0}],null,!0)})]}},{key:"item.subCategory",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-sub-category"}},[t._v("\n                                "+t._s(n.subCategory)+"\n                              ")])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(n.subCategory))]},proxy:!0}],null,!0)})]}},{key:"item.base",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-abase"}},[t._v("\n                            "+t._s(n.base)+"\n                          ")])]}},{key:"item.split",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-split"}},[t._v("\n                            "+t._s(n.split)+"\n                          ")])]}},{key:"item.weighting",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-weighting"}},[t._v("\n                            "+t._s(t.geWeightingName(n.weighting))+"\n                          ")])]}},{key:"item.applyTo",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-conditions-list-row-"+n.id+"-text-apply-to"}},[t._v("\n                          "+t._s(t.getApplyToName(n.applyTo))+"\n                          ")])]},proxy:!0},"incomingMoney"!=n.applyTo?{key:"text",fn:function(){return[t._v("\n                              "+t._s(n.recipientId.name)+" ("+t._s(n.recipientId.alvId)+")\n                          ")]},proxy:!0}:{key:"text",fn:function(){return[t._v("\n                              "+t._s(t.getApplyToName(n.applyTo))+"\n                          ")]},proxy:!0}],null,!0)})]}},{key:"item.region",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-region"}},[t._v("\n                            "+t._s(t.$alvPlugin.createRegionsToString(n.region))+"\n                          ")])]}},{key:"item.actions",fn:function(e){var n=e.item;return[a("div",{staticClass:"d-flex"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.openDialogSplits(null,n)}}}),a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"split-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteSplitRow(n)}}})],1)]}}],null,!0)})],1)],1)],1)],1)]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},gw=[],pw={name:"PublishingProjectsReadOnly",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N},props:{itemId:{type:Number}},data:function(){return{expandedItems:[],alvqa:"publishing-contracts-conditions-list-row-"+this.itemId+"-read-only",context:"PublishingContract"}},computed:{item:function(){return this.$store.commit("setIsLoading",!0),this.$store.dispatch("fetchPublishingContractConditions"),this.$store.getters.getPublishingContractConditions},sheetsHeaders:function(){return[{text:"",value:"data-table-expand",align:"center",width:"48px"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"sourceId",align:"left",sortable:!1,class:"text-no-wrap",width:"30%",alvqa:this.alvqa+"-sheets-header-source-id"},{text:this.$t("lang_GENERIC_CAPTION_RECIPIENT"),value:"recipientId",align:"left",sortable:!1,width:"30%",alvqa:this.alvqa+"-sheets-header-recipient-id"},{text:this.$t("lang_CONTRACTS_PUBLISHING_COLL_PR_GREATER"),value:"collPrGreater",align:"left",sortable:!1,width:"20%",alvqa:this.alvqa+"-sheets-header-coll-pr-greaeter"},{text:this.$t("lang_CONTRACTS_PUBLISHING_COLL_MR_GREATER"),value:"collMrGreater",align:"left",sortable:!1,width:"20%",alvqa:this.alvqa+"-sheets-header-coll-mr-greaeter"},{text:"",value:"actions",align:"right",sortable:!1,width:"100px",alvqa:this.alvqa+"-actions"}]},splitsHeaders:function(){return[{text:this.$t("lang_GENERIC_CAPTION_RIGHTS_TYPE"),value:"rightsType",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-conditions-splits-header-rights-type"},{text:this.$t("lang_GENERIC_CAPTION_CATEGORY"),value:"category",align:"left",sortable:!1,alvqa:this.alvqa+"-conditions-splits-header-category"},{text:this.$t("lang_PUBLISHING_INCOME_CAPTION_SUB_CATEGORY"),value:"subCategory",align:"left",sortable:!1,alvqa:this.alvqa+"-conditions-splits-header-sub-category"},{text:this.$t("lang_GENERIC_CAPTION_REGION"),value:"region",align:"left",sortable:!1,alvqa:this.alvqa+"-conditions-splits-header-region"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_BASE"),value:"base",sortable:!1,width:"70px",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-conditions-splits-header-base"},{text:"".concat(this.$t("lang_GENERIC_CAPTION_SPLIT"),"%"),value:"split",align:"left",width:"70px",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-conditions-splits-header-split"},{text:this.$t("lang_PUBLISHING_CAPTION_WEIGHTING"),value:"weighting",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-conditions-splits-header-weighting"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_APPLY_TO"),value:"applyTo",sortable:!1,align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-conditions-splits-header-apply-to"},{text:"",value:"actions",align:"right",sortable:!1,width:"100px",alvqa:this.alvqa+"-actions"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},applyToDropdownItems:function(){var t,e=this.alvqa+"-dropdown-apply-to",a=Ta;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e+t.value}))),t}},methods:{copyToClipboard:function(t){navigator.clipboard.writeText(t)},getApplyToName:function(t){var e=this.applyToDropdownItems.find((function(e){return e.value==t}));return e?this.$t(e.text):""},geWeightingName:function(t){var e=ga.find((function(e){return e.value==t}));return e?this.$t(e.text):""},getCategoryName:function(t){return t},getSourceName:function(t){if(!t)return this.$t("lang_GENERIC_CAPTION_ANY");var e=this.$store.getters.getAzForMappingsImport.find((function(e){return e.value==t}));return e?this.$t(e.text):""},getRightTypeName:function(t){var e=_a.find((function(e){return e.value==t}));return e?this.$t(e.text):""},deleteSplitRow:function(t){this.$store.commit("setSelectedPublishingContractConditionsSplits",t),this.$store.commit("setDeletionDialogContext","SelectedPublishingContractConditionsSplits"),this.$store.commit("setShowDeletionDialog",!0)},deleteConditionRow:function(t){this.$store.commit("setSelectedPublishingContractConditions",[t.id]),this.$store.commit("setDeletionDialogContext","SelectedPublishingContractConditions"),this.$store.commit("setShowDeletionDialog",!0)},openDialogCondition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(t){this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setSelectedPublishingContractConditions",t.id);var e=JSON.parse(JSON.stringify(t));e.recipientId&&this.$store.commit("setPublishingContractConditionsRecipientIdOptions",[e.recipientId]),this.$store.commit("setPublishingContractConditionsEditingDialogDetails",e)}else{this.$store.commit("setEditingDialogHeadline",this.$t("lang_ADD_ROW"));var a=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPublishingContractConditions));this.$store.commit("setPublishingContractConditionsEditingDialogDetails",a)}this.$store.commit("setShowPublishingContractConditionsEditingDialog",!0)},openDialogSplits:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t||(t=this.$store.getters.getPublishingContractConditions.find((function(t){return t.splits.some((function(t){return t.id==e.id}))})).id),this.$store.commit("setActiveConditionId",t),e){this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY"));var a=JSON.parse(JSON.stringify(e));this.$store.commit("setSelectedPublishingContractConditionsSplits",e.id),this.$store.commit("setPublishingContractConditionsSplitsEditingDialogDetails",a),this.$store.commit("setPublishingContractConditionsSplitsDetailsRightsType",a.rightsType),this.$store.commit("setPublishingContractConditionsSplitsDetailsCategory",a.category),this.$store.commit("setPublishingContractConditionsSplitsDetailsSubCategory",a.subCategory),this.$store.commit("setPublishingContractConditionsSplitsDetailsSplit",this.$alvPlugin.getNumberLocalization(a.split,"number")),this.$store.commit("setPublishingContractConditionsSplitsDetailsWeighting",a.weighting),this.$store.commit("setPublishingContractConditionsSplitsDetailsWeightingSource",a.weightingSource),this.$store.commit("setPublishingContractConditionsSplitsDetailsSharesToConsider",a.sharesToConsider),this.$store.commit("setPublishingContractConditionsSplitsDetailsApplyTo",a.applyTo),this.$store.commit("setPublishingContractConditionsSplitsDetailsBase",this.$alvPlugin.getNumberLocalization(a.base,"number")),this.$store.commit("setPublishingContractConditionsSplitsRecipientIdOptions",[a.recipientId]),this.$store.commit("setPublishingContractConditionsSplitsDetailsRecipientId",a.recipientId),this.$store.commit("setPublishingContractConditionsSplitsDetailsInclude",a.region.include),this.$store.commit("setPublishingContractConditionsSplitsDetailsExclude",a.region.exclude)}else{this.$store.commit("setEditingDialogHeadline",this.$t("lang_ADD_ROW"));var n=JSON.parse(JSON.stringify(this.$store.getters.getDefaultPublishingContractConditionsSplits));this.$store.commit("setPublishingContractConditionsSplitsEditingDialogDetails",n),this.$store.commit("setSelectedPublishingContractConditionsSplits",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsRightsType",n.rightsType),this.$store.commit("setPublishingContractConditionsSplitsDetailsCategory",n.category),this.$store.commit("setPublishingContractConditionsSplitsDetailsInclude",[]),this.$store.commit("setPublishingContractConditionsSplitsDetailsExclude",[])}this.$store.commit("setShowPublishingContractConditionsSplitsEditingDialog",!0)},expandItemByClick:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.expandedItems.includes(e)?(a=this.expandedItems.indexOf(e),this.expandedItems.splice(a,1)):this.expandedItems.push(e);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},vw=pw,_w=(a("7077"),Object(C["a"])(vw,dw,gw,!1,null,null,null)),hw=_w.exports,mw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{useDifferentShowDialogProp:!0,useDifferentSaveFunction:!0,differentSaveFunction:t.saveConditionsSplits,additionalCloseFunction:t.clearConditionsSplitDialogForm,maxDialogWidth:"1280",context:t.context+"ConditionsSplits",showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ConditionsSplits",field:"RightsType",items:t.rightsDropdownItems,label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_RIGHTS"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-rights-type"}})],1),a("v-col",{attrs:{cols:"6"}}),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ConditionsSplits",field:"Category",label:t.$t("lang_GENERIC_CAPTION_CATEGORY"),withMargin:!1,alvqa:t.alvqa+"-textfield-category"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ConditionsSplits",field:"SubCategory",withMargin:!1,label:t.$t("lang_PUBLISHING_INCOME_CAPTION_SUB_CATEGORY"),alvqa:t.alvqa+"-textfield-subcategory"}})],1),a("v-col",{attrs:{cols:"12"}},[a("BaseRegions",{attrs:{context:t.context+"ConditionsSplits",includeLabel:"lang_PUBLISHING_WORKS_EXPORT_INCLUDE_TERRITORY",excludeLabel:"lang_PUBLISHING_WORKS_EXPORT_EXCLUDE_TERRITORY",includeItems:t.includeItems,excludeItems:t.excludeItems,cols:"6",withMargin:!1,clearable:!1,alvqa:t.alvqa}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ConditionsSplits",field:"Split",label:t.$t("lang_GENERAL_CAPTION_SPLIT"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-split",suffix:"%"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"ConditionsSplits",field:"Base",label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_BASE"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-base",suffix:"%"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ConditionsSplits",field:"Weighting",items:t.weightingItems,label:t.$t("lang_PUBLISHING_CONTRACTS_WEIGHTING_BY"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,additionalFunction:t.updateOnWeightingChange,alvqa:t.alvqa+"-dropdown-weighting"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ConditionsSplits",field:"WeightingSource",items:t.weightingSourceItems,label:t.$t("lang_PUBLISHING_CAPTION_SHARE_TYPE"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,disabled:t.areWeightingSharesDisabled,rules:t.areWeightingSharesDisabled?"":"required",alvqa:t.alvqa+"-dropdown-weighting-source"}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ConditionsSplits",field:"SharesToConsider",items:t.sharesToConsiderItems,label:t.$t("lang_CONTRACTS_PUBLISHING_CAPTION_SHARES_TO_CONSIDER"),selection:!0,withMargin:!1,hideDetails:"",clearable:!1,disabled:t.areWeightingSharesDisabled,rules:t.areWeightingSharesDisabled?"":"required",alvqa:t.alvqa+"-dropdown-shares-to-consider"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"ConditionsSplits",field:"ApplyTo",items:t.applyToDropdownItems,label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_APPLY_TO"),selection:!0,withMargin:!1,hideDetails:"",rules:"required",clearable:!1,alvqa:t.alvqa+"-dropdown-apply-to"}})],1),t.showApplyToRecipientField?a("v-col",{staticClass:"text-right",attrs:{cols:"6","align-self":"end"}},[[a("BaseEditPageAutocomplete",{attrs:{context:t.context+"ConditionsSplits",field:"RecipientId",label:t.conditionRecipient,rules:"required",withMargin:!1,withFreeText:!1,alvqa:t.alvqa+"-erp-conditions-recipient-textfield-autocomplete"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-conditions-splits-recipient-selection"}},[t._v("\n                  "+t._s(n.gemaName)+"\n                  "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                  ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-splits-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-splits-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                    "+t._s(n.gemaName)+"\n                    "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-splits-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                    "+t._s(t.$t("lang_IPI"))+":\n                    "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                    | "+t._s(n.alvId)+"\n                  ")])],1)]}}],null,!1,2406974030)})]],2):t._e()],1)],1)]},proxy:!0}])})},fw=[],Sw={name:"PublishingContractsSplitsEditDialog",components:{BaseEditPageTextField:Ut,BaseEditPageDropdown:me,EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseRegions:Er},data:function(){return{items:[],context:"PublishingContract",alvqa:"contracts-publishing-edit-form-splits-dialog"}},computed:{showApplyToRecipientField:function(){var t=this.$store.getters.getPublishingContractConditionsSplitsDetailsApplyTo;return t&&"byAlvId"==t},conditionRecipient:function(){return this.$t("lang_GENERIC_CAPTION_RECIPIENT")},rightsDropdownItems:function(){return _a},categoryItems:function(){return da},weightingItems:function(){return ga},getSocieties:function(){var t=this;this.$store.commit("setSocieties");var e=this.$store.getters.getAzSocietiesWhereDirectMember,a=[],n=JSON.parse(localStorage.getItem("userData"))["user"]["homeSocietyCode"],i=this.$alvPlugin.getSocietyPanelHeadline(parseInt(n));return a.push({value:n,text:i,alvqa:this.alvqa+"-weighting-source-society-".concat(i)}),e.forEach((function(e){parseInt(e.societyCode)!=parseInt(n)&&a.push({value:e.societyCode,text:t.$alvPlugin.getSocietyPanelHeadline(e.societyCode),alvqa:t.alvqa+"-weighting-source-society-".concat(e.societyAcronym)})})),a},weightingSourceItems:function(){var t=pa,e=this.getSocieties;return t.concat(e)},sharesToConsiderItems:function(){return va},applyToDropdownItems:function(){var t,e=this.alvqa+"-dropdown-apply-to",a=Ta;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e+t.value}))),t},includeItems:function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t},excludeItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},areWeightingSharesDisabled:function(){var t=this.$store.getters.getPublishingContractConditionsSplitsDetailsWeighting;return null===t}},methods:{saveConditionsSplits:function(){var t=this,e=this.$store.getters.getActiveConditionId,a=this.$store.getters.getSelectedPublishingContractConditionsSplits,n=this.$store.getters.getPublishingContractsDetails.conditions.map((function(n){if(n.id==e){var i={include:t.$store.getters.getPublishingContractConditionsSplitsDetailsInclude,exclude:t.$store.getters.getPublishingContractConditionsSplitsDetailsExclude};a?n.splits=n.splits.map((function(e){if(e.id==a){var n=t.$store.getters.getPublishingContractConditionsSplitsDetailsApplyTo;e.rightsType=t.$store.getters.getPublishingContractConditionsSplitsDetailsRightsType,e.category=t.$store.getters.getPublishingContractConditionsSplitsDetailsCategory,e.subCategory=t.$store.getters.getPublishingContractConditionsSplitsDetailsSubCategory,e.split=t.$alvPlugin.getNumberLocalization(t.$store.getters.getPublishingContractConditionsSplitsDetailsSplit,"number"),e.weighting=t.$store.getters.getPublishingContractConditionsSplitsDetailsWeighting,e.weightingSource=t.$store.getters.getPublishingContractConditionsSplitsDetailsWeightingSource,e.sharesToConsider=t.$store.getters.getPublishingContractConditionsSplitsDetailsSharesToConsider,e.applyTo=t.$store.getters.getPublishingContractConditionsSplitsDetailsApplyTo,e.base=t.$alvPlugin.getNumberLocalization(t.$store.getters.getPublishingContractConditionsSplitsDetailsBase,"number"),e.recipientId="incomingMoney"!=n?t.$store.getters.getPublishingContractConditionsSplitsDetailsRecipientId:null,e.region=i}return e})):n.splits.push({id:-Math.floor(1e4*Math.random()),rightsType:t.$store.getters.getPublishingContractConditionsSplitsDetailsRightsType,category:t.$store.getters.getPublishingContractConditionsSplitsDetailsCategory,subCategory:t.$store.getters.getPublishingContractConditionsSplitsDetailsSubCategory,split:t.$alvPlugin.getNumberLocalization(t.$store.getters.getPublishingContractConditionsSplitsDetailsSplit,"number"),weighting:t.$store.getters.getPublishingContractConditionsSplitsDetailsWeighting,weightingSource:t.$store.getters.getPublishingContractConditionsSplitsDetailsWeightingSource,sharesToConsider:t.$store.getters.getPublishingContractConditionsSplitsDetailsSharesToConsider,applyTo:t.$store.getters.getPublishingContractConditionsSplitsDetailsApplyTo,base:t.$alvPlugin.getNumberLocalization(t.$store.getters.getPublishingContractConditionsSplitsDetailsBase,"number"),recipientId:t.$store.getters.getPublishingContractConditionsSplitsDetailsRecipientId,region:i})}return n})),i=this.$store.getters.getPublishingContractsDetails;i.conditions=n,this.$store.commit("setPublishingContractsDetails",i),this.clearConditionsSplitDialogForm()},clearConditionsSplitDialogForm:function(){this.$store.commit("setPublishingContractConditionsSplitsDetailsRightsType",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsCategory",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsSubCategory",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsSplit",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsWeighting",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsWeightingSource",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsSharesToConsider",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsApplyTo",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsBase",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsRecipientId",null)},updateOnWeightingChange:function(){var t=this.$store.getters.getPublishingContractConditionsSplitsDetailsWeighting;null===t&&(this.$store.commit("setPublishingContractConditionsSplitsDetailsWeightingSource",null),this.$store.commit("setPublishingContractConditionsSplitsDetailsSharesToConsider",null))}},created:function(){this.$store.dispatch("fetchAzSocietiesWhereDirectMember")}},Ew=Sw,Iw=Object(C["a"])(Ew,mw,fw,!1,null,null,null),Cw=Iw.exports,Aw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showSearchDialog,maxDialogWidth:"1500",maxCardHeight:"700",scrollable:!0,headline:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_TITLE",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"11"}},[a("SearchFilter",{attrs:{context:t.searchcontext,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showBiggerResults?a("v-row",{staticClass:"pb-3"},[a("v-col",[a("BaseHeaderStats",{attrs:{typeStats:"LIST",alvqa:t.alvqa,context:t.searchcontext,specificSelected:t.searchResult.filteredRecords}})],1)],1):t._e(),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",{staticClass:"pl-7"},[a("v-checkbox",{attrs:{alvqa:t.alvqa+"-checkbox-all-select","hide-details":"",color:"generalCheckbox",disabled:t.disabledAllSelect},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("BaseHeaderStats",{attrs:{context:t.searchcontext,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"SearchDialog"}})]},proxy:!0}],null,!1,2097564419),model:{value:t.allSelected,callback:function(e){t.allSelected=e},expression:"allSelected"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:""},on:{change:function(e){return t.checkSelectAll()}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e,n){return a("v-list-item",{key:e.alvId,attrs:{value:n,disabled:!t.showBiggerResults&&e.alvInternalDisable,alvqa:t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e.alvId,n)}},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.active;return[t.showBiggerResults?t._e():a("v-list-item-action",{staticClass:"mr-2"},[a("v-checkbox",{attrs:{"input-value":i,color:"generalCheckbox","hide-details":"",disabled:e.alvInternalDisable,alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-checkbox"}})],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-title"}},[t._v("\n                                    "+t._s(e.title)+" "+t._s(e.gemaNumber?"("+e.gemaNumber+")":"")+"\n                                ")]),a("v-list-item-subtitle",{staticStyle:{"white-space":"normal"},attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(e.interestedParties.map((function(t){return t.name+" ("+t.role+")"})).join(", "))+"\n                                ")])],1)]}}],null,!0)})})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[t.showBiggerResults?t._e():a("BaseButton",{attrs:{disabled:!t.selected.length,label:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_BUTTON_ADD_WORKS",alvqa:t.alvqa+"-button-add"},on:{click:function(e){return t.add()}}}),t.showBiggerResults?a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_ASSIGN_ALL",alvqa:t.alvqa+"-button-assign-all"},on:{click:function(e){return t.add()}}}):t._e()],1)],1)],1)]},proxy:!0}])})},Tw=[],bw={name:"PublishingContractsWorksEditPanelDialog",components:{BaseDialog:Pt,SearchFilter:Nn,BaseIcon:N,BaseButton:wt,BaseHeaderStats:ti},data:function(){return{showSearchResult:!1,items:[],selected:[],allSelected:!1,disabledAllSelect:!1,showBiggerResults:!1,searchResult:null,searchId:null,context:"PublishingContract",alvqa:"contracts-publishing-edit-form-add-works-dialog",searchcontext:"WorksForContract"}},computed:{showSearchDialog:{get:function(){return this.$store.getters.getShowSearchDialog},set:function(t){this.$store.commit("setShowSearchDialog",t)}},selectedItemIds:{get:function(){return this.$store.getters["getSelected"+this.searchcontext]},set:function(t){this.$store.commit("setSelected"+this.searchcontext,t)}}},methods:{searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),!this.$store.getters.getWorksForContractSearch){t.next=10;break}return this.selectedItemIds=[],this.selected=[],this.allSelected=!1,t.next=7,this.$store.dispatch("searchWorksForContract");case 7:this.searchResult=t.sent,this.searchResult.filteredRecords<=100?(this.showBiggerResults=!1,this.showSearchResult=!0):(this.showBiggerResults=!0,this.searchId=this.searchResult.searchId,this.$alvPlugin.storePagingInformations(this.searchResult.filteredRecords,this.searchResult.currentPage,this.searchResult.totalRecords)),this.items=this.searchResult.list;case 10:this.$store.getters.getWorksForContractSearch||(this.items=[]),this.searchResult.filteredRecords<=100&&(e=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0),this.disabledAllSelect=0==e,this.$store.commit("setTotalListedSearchDialog",e),this.$store.commit("setTotalRecordsSearchDialog",this.items.length)),this.$store.commit("setIsLoading",!1);case 13:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(e=[],a=0;a<this.selected.length;a++)e.push(this.items[this.selected[a]]);return t.next=4,this.$store.dispatch("addWorksToContract",{searchId:this.searchId});case 4:this.searchForListItems();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectAll:function(){if(1==this.allSelected){this.selected=[],this.selectedItemIds=[];for(var t=0;t<this.items.length;t++)1!=this.items[t].alvInternalDisable&&(this.selected.push(t),this.selectedItemIds.push(this.items[t].alvId))}else this.selected=[],this.selectedItemIds=[],this.allSelected=!1},checkSelectAll:function(){var t=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0);this.selected.length===this.items.length||t>0&&t===this.selected.length?this.allSelected=!0:this.allSelected=!1},selectItem:function(t,e){var a=this.selected.indexOf(e);a>=0?this.selectedItemIds.splice(this.items[e].alvId,1):this.selectedItemIds.push(this.items[e].alvId)},closeDialog:function(){this.showSearchDialog=!1,this.selectedItemIds=[],this.selected=[],this.items=[],this.allSelected=!1,this.showSearchResult=!1,this.showBiggerResults=!1,this.searchId=null,this.$store.commit("set"+this.searchcontext+"Search",""),this.disabledAllSelect=!1,this.$store.commit("setTotalListedSearchDialog",0),this.$store.commit("setTotalRecordsSearchDialog",0)}}},Pw=bw,Dw=Object(C["a"])(Pw,Aw,Tw,!1,null,null,null),Nw=Dw.exports,Rw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context+"Splits",showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"Splits",field:"Rights",items:t.rightsDropdownItems,label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_RIGHTS"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-rights"}})],1),a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageDropdown",{attrs:{context:t.context+"Splits",field:"ApplyTo",items:t.applyToDropdownItems,label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_APPLY_TO"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-apply-to"}})],1)],1),a("v-row",[a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"Splits",field:"Base",label:t.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_BASE"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-base"}})],1),a("v-col",{attrs:{cols:"5"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"Splits",field:"Split",label:t.$t("lang_GENERAL_CAPTION_SPLIT"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-split"}})],1)],1),a("BaseRegions",{attrs:{context:t.context+"SplitsEditingDialog",includeLabel:"lang_PUBLISHING_WORKS_EXPORT_INCLUDE_TERRITORY",excludeLabel:"lang_PUBLISHING_WORKS_EXPORT_EXCLUDE_TERRITORY",includeItems:t.includeItems,excludeItems:t.excludeItems,includeCols:"5",excludeCols:"5",clearable:!1,alvqa:t.alvqa}})]},proxy:!0}])})},xw=[],Ow={name:"PublishingContractsSplitsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageTextField:Ut,BaseRegions:Er},data:function(){return{context:"PublishingContract",alvqa:"contracts-publishing-edit-form-splits-panel-editing-dialog"}},computed:{rightsDropdownItems:function(){var t,e=this.alvqa+"-dropdown-rights-",a=this.$store.getters.getPublishingContractTypeOfRights;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e+t.value.toLowerCase()}))),t},applyToDropdownItems:function(){var t,e=this.alvqa+"-dropdown-apply-to-",a=Aa;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e+t.value}))),t},includeItems:function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t},excludeItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()}}},ww=Ow,Lw=Object(C["a"])(ww,Rw,xw,!1,null,null,null),yw=Lw.exports,qw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showSearchDialog,maxDialogWidth:"1500",maxCardHeight:"700",scrollable:!0,headline:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_TITLE",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"11"}},[a("SearchFilter",{attrs:{context:t.searchcontext,alvqa:t.alvqa+"-textfield-search"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchForListItems.apply(null,arguments)}}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"end"}},[a("BaseIcon",{attrs:{icon:"fa-search",tooltipText:"lang_GENERIC_CAPTION_SEARCH",alvqa:t.alvqa+"-button-search"},on:{click:t.searchForListItems}})],1)],1),t.showBiggerResults?a("v-row",{staticClass:"pb-3"},[a("v-col",[a("BaseHeaderStats",{attrs:{typeStats:"LIST",alvqa:t.alvqa,context:t.searchcontext,specificSelected:t.searchResult.filteredRecords}})],1)],1):t._e(),t.showSearchResult?a("v-row",{staticClass:"pb-3"},[0!==t.items.length?a("v-col",{staticClass:"pl-7"},[a("v-checkbox",{attrs:{alvqa:t.alvqa+"-checkbox-all-select","hide-details":"",color:"generalCheckbox",disabled:t.disabledAllSelect},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("BaseHeaderStats",{attrs:{context:t.searchcontext,typeStats:"DIALOG",alvqa:t.alvqa,useContextForTotal:"SearchDialog"}})]},proxy:!0}],null,!1,2097564419),model:{value:t.allSelected,callback:function(e){t.allSelected=e},expression:"allSelected"}})],1):a("v-col",{attrs:{alvqa:t.alvqa+"-text-none-found"}},[t._v("\n                0 "+t._s(t.$t("lang_GENERAL_CAPTION_FOUND"))+"\n                ")])],1):t._e(),t.items.length>0?a("v-divider"):t._e(),a("v-list",{attrs:{"two-line":""}},[a("v-list-item-group",{attrs:{multiple:""},on:{change:function(e){return t.checkSelectAll()}},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.items,(function(e,n){return a("v-list-item",{key:e.alvId,attrs:{value:n,disabled:!t.showBiggerResults&&e.alvInternalDisable,alvqa:t.alvqa+"-result-list-row-"+e.alvId},on:{click:function(a){return t.selectItem(e.alvId,n)}},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.active;return[t.showBiggerResults?t._e():a("v-list-item-action",{staticClass:"mr-2"},[a("v-checkbox",{attrs:{"input-value":i,color:"generalCheckbox","hide-details":"",disabled:e.alvInternalDisable,alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-checkbox"}})],1),a("v-list-item-content",[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-title"}},[t._v("\n                                    "+t._s(e.title)+" "+t._s(e.gemaNumber?"("+e.gemaNumber+")":"")+"\n                                ")]),a("v-list-item-subtitle",{staticStyle:{"white-space":"normal"},attrs:{alvqa:t.alvqa+"-result-list-row-"+e.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(e.interestedParties.map((function(t){return t.name+" ("+t.role+")"})).join(", "))+"\n                                ")])],1)]}}],null,!0)})})),1)],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[t.showBiggerResults?t._e():a("BaseButton",{attrs:{disabled:!t.selected.length,label:"lang_CONTRACTS_PUBLISHING_ADD_WORKS_DIALOG_BUTTON_ADD_WORKS",alvqa:t.alvqa+"-button-add"},on:{click:function(e){return t.add()}}}),t.showBiggerResults?a("BaseButton",{attrs:{label:"lang_GENERIC_CAPTION_ASSIGN_ALL",alvqa:t.alvqa+"-button-assign-all"},on:{click:function(e){return t.add()}}}):t._e()],1)],1)],1)]},proxy:!0}])})},kw=[],Bw={name:"PublishingContractsSubCataloguesWorksEditPanelDialog",components:{BaseDialog:Pt,SearchFilter:Nn,BaseIcon:N,BaseButton:wt,BaseHeaderStats:ti},data:function(){return{showSearchResult:!1,items:[],selected:[],allSelected:!1,disabledAllSelect:!1,showBiggerResults:!1,searchResult:null,searchId:null,context:"PublishingContractsSubcatalogues",alvqa:"contracts-publishing-edit-form-add-sub-catalogues-works-dialog",searchcontext:"WorksForSubCatalogues"}},computed:{showSearchDialog:{get:function(){return this.$store.getters.getShowSearchSubCataloguesWorksDialog},set:function(t){this.$store.commit("setShowSearchSubCataloguesWorksDialog",t)}},selectedItemIds:{get:function(){return this.$store.getters["getSelected"+this.searchcontext]},set:function(t){this.$store.commit("setSelected"+this.searchcontext,t)}}},methods:{searchForListItems:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.$store.commit("setIsLoading",!0),!this.$store.getters["get"+this.searchcontext+"Search"]){t.next=10;break}return this.selectedItemIds=[],this.selected=[],this.allSelected=!1,t.next=7,this.$store.dispatch("search"+this.searchcontext);case 7:this.searchResult=t.sent,this.searchResult.filteredRecords<=100?(this.showBiggerResults=!1,this.showSearchResult=!0):(this.showBiggerResults=!0,this.searchId=this.searchResult.searchId,this.$alvPlugin.storePagingInformations(this.searchResult.filteredRecords,this.searchResult.currentPage,this.searchResult.totalRecords)),this.items=this.searchResult.list;case 10:this.$store.getters["get"+this.searchcontext+"Search"]||(this.items=[]),this.searchResult.filteredRecords<=100&&(e=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0),this.disabledAllSelect=0==e,this.$store.commit("setTotalListedSearchDialog",e),this.$store.commit("setTotalRecordsSearchDialog",this.items.length)),this.$store.commit("setIsLoading",!1);case 13:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),add:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(e=[],a=0;a<this.selected.length;a++)e.push(this.items[this.selected[a]]);return t.next=4,this.$store.dispatch("addWorksToSubCatalogue",{searchId:this.searchId});case 4:this.searchForListItems();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),selectAll:function(){if(1==this.allSelected){this.selected=[],this.selectedItemIds=[];for(var t=0;t<this.items.length;t++)1!=this.items[t].alvInternalDisable&&(this.selected.push(t),this.selectedItemIds.push(this.items[t].alvId))}else this.selected=[],this.selectedItemIds=[],this.allSelected=!1},checkSelectAll:function(){var t=this.items.reduce((function(t,e){return t+Number(!e.alvInternalDisable)}),0);this.selected.length===this.items.length||t>0&&t===this.selected.length?this.allSelected=!0:this.allSelected=!1},selectItem:function(t,e){var a=this.selected.indexOf(e);a>=0?this.selectedItemIds.splice(this.items[e].alvId,1):this.selectedItemIds.push(this.items[e].alvId)},closeDialog:function(){this.showSearchDialog=!1,this.selectedItemIds=[],this.selected=[],this.items=[],this.allSelected=!1,this.showSearchResult=!1,this.showBiggerResults=!1,this.searchId=null,this.$store.commit("set"+this.searchcontext+"Search",""),this.disabledAllSelect=!1,this.$store.commit("setTotalListedSearchDialog",0),this.$store.commit("setTotalRecordsSearchDialog",0),this.$store.commit("setSelectedPublishingContractsSubCatalogues",[])}}},$w=Bw,Gw=Object(C["a"])($w,qw,kw,!1,null,null,null),Fw=Gw.exports,Uw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{useDifferentShowDialogProp:!0,context:t.context+"Conditions",showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{field:"SourceId",label:t.$t("lang_GENERIC_CAPTION_SOURCE"),items:t.mappingsSourceOptions,context:t.context+"Conditions",withMargin:!1,alvqa:t.alvqa+"-dropdown-source-id",resetValNull:!0}})],1),a("v-col",{staticClass:"text-right",attrs:{cols:"6"}},[[a("BaseEditPageAutocomplete",{attrs:{context:t.context+"Conditions",field:"RecipientId",label:t.conditionRecipient,withFreeText:!1,withMargin:!1,alvqa:t.alvqa+"-erp-conditions-recipient-textfield-autocomplete"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-conditions-recipient-selection"}},[t._v("\n                  "+t._s(n.gemaName)+"\n                  "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                    ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                  ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                    "+t._s(n.gemaName)+"\n                    "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-conditions-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                    "+t._s(t.$t("lang_IPI"))+":\n                    "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                    | "+t._s(n.alvId)+"\n                  ")])],1)]}}])})]],2),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"Conditions",field:"CollPrGreater",label:t.$t("lang_CONTRACTS_PUBLISHING_COLL_PR_GREATER"),withMargin:!1,rules:"percentDecimal",alvqa:t.alvqa+"-textfield-coll-pr-greater",suffix:"%"}})],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageTextField",{attrs:{context:t.context+"Conditions",field:"CollMrGreater",label:t.$t("lang_CONTRACTS_PUBLISHING_COLL_MR_GREATER"),withMargin:!1,rules:"percentDecimal",alvqa:t.alvqa+"-textfield-coll-mr-greater",suffix:"%"}})],1)],1)],1)]},proxy:!0}])})},Mw=[],Ww={name:"PublishingContractsWorksEditPanelDialog",components:{BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me,BaseRegions:Er,EditingDialog:ho,BaseEditPageTextField:Ut},data:function(){return{items:[],searchId:null,context:"PublishingContract",alvqa:"contracts-publishing-edit-form-add-conditions-dialog"}},computed:{conditionRecipient:function(){return this.$t("lang_GENERIC_CAPTION_RECIPIENT")},mappingsSourceOptions:function(){return this.$store.getters.getAzForMappingsImport},getSelectedRecipient:function(){return this.$store.getters.getPublishingContractConditionsDetailsRecipientId}},created:function(){this.$store.dispatch("fetchAzForMappings")}},jw=Ww,zw=Object(C["a"])(jw,Uw,Mw,!1,null,null,null),Hw=zw.exports,Vw=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS_CAPTION_MEDIA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:function(e){return t.openMediaUploader()}}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.mediaPreviewCoverImage",fn:function(e){return[["jpeg","jpg","png"].includes(e.item.type)&&e.item.link?a("div",[a("v-img",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-play",src:e.item.link,width:"40px"}})],1):t._e(),["wav","mp3"].includes(e.item.type)?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-audio",icon:e.item.isPlaying?"fa-stop-circle":"fa-play-circle",tooltipText:e.item.isPlaying?"lang_GENERAL_CAPTION_STOP":"lang_GENERAL_CAPTION_PLAY"},on:{click:function(a){return a.stopPropagation(),t.play(e.item)}}}):t._e(),["pdf","zip"].includes(e.item.type)?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-audio",icon:"pdf"===e.item.type?"fa-file-pdf":"fas fa-file-archive"}}):t._e()]}},{key:"item.media",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n          "+t._s(e.item.name)+"\n        ")])]}},{key:"item.type",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n          "+t._s(e.item.type.toUpperCase())+"\n        ")])]}},{key:"item.delete",fn:function(e){return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-donwload",icon:"delete",tooltipText:"lang_GENERIC_CAPTION_DELETE"},on:{click:function(a){return t.deleteFile(e)}}})]}},{key:"item.downloadLink",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:"alvqa + '-list-row-icon-donwload'",icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.link)}}})]}}],null,!0)})]},proxy:!0}])})},Yw=[],Kw={name:"PublishingContractsMediaEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt,BaseCheckbox:Qt},data:function(){return{alvqa:"contracts-publishing-edit-form-panel-media",context:"PublishingContractsMedia"}},computed:{headers:function(){return[{text:"",value:"mediaPreviewCoverImage",align:"center",width:"65px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_FILE_NAME"),align:"left",value:"media",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"Type",align:"left",value:"type",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"",align:"right",value:"downloadLink",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",value:"delete",sortable:!1,width:"70px",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getPublishingContractsMedia},globalAudio:{get:function(){return this.$store.getters["getAudio"]},set:function(t){this.$store.commit("setAudio",t)}}},methods:{downloadFile:function(t){k$.getFileFromALV(t)},play:function(t){if(null!=this.globalAudio&&!t.isPlaying){this.globalAudio.pause(),this.globalAudio=null;var e=this.listItems.findIndex((function(t){return!0===t.isPlaying}));this.listItems[e].isPlaying=!1}null==this.globalAudio?(this.globalAudio=new Audio(t.link),this.globalAudio.addEventListener("ended",this.endedAudioEvent.bind(event,t)),t.isPlaying=!0,this.globalAudio.play()):(this.globalAudio.pause(),t.isPlaying=!1,this.globalAudio=null)},endedAudioEvent:function(t){t.isPlaying=!1,this.globalAudio=null},openMediaUploader:function(){this.$store.commit("setShowMediaFileUploadDialog",!0)},deleteFile:function(t){this.$store.commit("setSelectedPublishingContractsMediaFiles",[t.item]),this.$store.commit("setDeletionDialogContext","SelectedPublishingContractsMediaFiles"),this.$store.commit("setShowDeletionDialog",!0)}}},Zw=Kw,Xw=Object(C["a"])(Zw,Vw,Yw,!1,null,null,null),Jw=Xw.exports,Qw={name:"PublishingContractsEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseEditPageAutocomplete:Zs,BasePeriod:Zd,BaseIcon:N,DeletionDialog:Cs,PublishingContractsWorksEditPanelDialog:Nw,PublishingContractsSplitsEditPanelDialog:yw,PublishingContractsSubCataloguesWorksEditPanelDialog:Fw,PublishingContractsWorksEditPanelSetTypeDialog:JO,PublishingContractsConditionsEditDialog:Hw,PublishingContractsSplitsEditPanel:yO,PublishingContractsWorkEditPanel:HO,PublishingContractsSubCataloguesEditPanel:uw,PublishingContractsConditionsEditPanel:hw,PublishingContractsSplitEditDialog:Cw,PublishingContractsMediaEditPanel:Jw,MediaFileUploadDialog:W_},data:function(){return{context:"PublishingContracts",alvqa:"contracts-publishing-edit-form"}},computed:{gemaContractTypes:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_GENERAL_CONTRACT"),value:"general",alvqa:this.alvqa+"-dropdown-contract-type-general"},{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_INDIVIDUAL_CONTRACT"),value:"individual",alvqa:this.alvqa+"-dropdown-contract-type-individual"}]},refundingOptions:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_BY_PWR"),value:"pwr",alvqa:this.alvqa+"-dropdown-refunding-pwr"},{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_BY_CONTRACTS"),value:"contract",alvqa:this.alvqa+"-dropdown-refunding-contract"}]},shareFrom:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_OF_TOTAL_SHARES"),value:"totalShare",alvqa:this.alvqa+"-dropdown-share-from-total-share"},{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_OF_PUBLISHERS_SHARE"),value:"publisherShare",alvqa:this.alvqa+"-dropdown-share-from-publisher-share"}]},sourceAdaption:function(){return[{text:this.$t("lang_CONTRACTS_PUBLISHING_OPTION_ADAPTIVE_BASE"),value:"adaptiveBase",alvqa:this.alvqa+"-dropdown-source_adaption-adaptive-base"}]},contractType:function(){var t,e=this.alvqa+"-dropdown-contract-type-",a=this.$store.getters.getPublishingContractsTypes;return void 0!==a&&(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e+t.value.toLowerCase()}))),t},subcatalogues:function(){return this.$store.getters.getPublishingContractsSubCatalogues},yesNoItems:function(){return be},initialBalanceLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE")},isSLG:function(){return"SLG"==this.$store.getters.getPublishingContractsDetailsContractType}},methods:{uploadCover:function(){console.log("Upload Cover")},switchToSLG:function(){"SLG"==this.$store.getters.getPublishingContractsDetailsContractType?(this.$store.commit("setPublishingContractsDetailsArColl",50),this.$store.commit("setPublishingContractsDetailsMrColl",100)):(this.$store.commit("setPublishingContractsDetailsArColl",null),this.$store.commit("setPublishingContractsDetailsMrColl",null),this.$store.commit("setPublishingContractsDetailsShareFrom",null))}},created:function(){this.$store.commit("setCountries"),this.$store.commit("setPublishingContractsTypes")},watch:{"$i18n.locale":{handler:function(t,e){var a=this.$store.state.publishingContracts.publishingContractsDetails.initialBalance;if(a){var n="de"===t?a.replaceAll(".",",").replace(",","."):a.replaceAll(",",".").replace(".",",");this.$store.commit("setPublishingContractsDetailsInitialBalance",n)}},immediate:!0}}},tL=Qw,eL=Object(C["a"])(tL,DO,NO,!1,null,null,null),aL=eL.exports,nL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"Selected"+t.context}}),a("FileImportDialog",{attrs:{alvqaContext:t.alvqa+"-list"}}),a("MoveIntoCompanyDialog",{attrs:{context:t.context,message:t.$t("lang_CONTRACTS_LABEL_CAPTION_MOVE_CONTRACTS_TEXT")}}),a("BaseListPage",{attrs:{headline:"lang_CONTRACTS_LABEL_CONTRACTS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa,hasServerSideSorting:!0},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("LabelContractsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-alvid"}},[t._v(t._s(n.item.alvId))]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.contractName,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-name"}})],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contracting-party"}},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(null!==n.item.licensor?t.$alvPlugin.showNameOfAzEntry(n.item.licensor)+" ("+n.item.licensor.alvId+")":""))]},proxy:!0},{key:"content",fn:function(){return[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(n.item.licensor))+"\n                                ")]},proxy:!0}],null,!0)})],1),a("td",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-type"}},[t._v(t._s(n.item.contractType))]),a("td",{staticClass:"no_ellipsis text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-connected-to"}},[t._v(t._s(n.item.connectedTo)+" "+t._s(t.$t(t.getTrackLangConst(n.item.connectedTo))))]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-contract-date"}},[t._v("\n                            "+t._s(null!==n.item.contractDate?t.$d(new Date(n.item.contractDate),"alvDateFormat"):"")+"\n                        ")]),a("td",{attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-reminder-date"}},[t._v("\n                            "+t._s(null!==n.item.reminderDate?t.$d(new Date(n.item.reminderDate),"alvDateFormat"):"")+"\n                        ")])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("LabelContractsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},iL=[],sL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"LabelContracts",alvqa:t.alvqa}}),null!==t.totalRecords?a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center",col:"4"}},[a("BaseHeaderStats",{attrs:{context:"LabelContracts",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1):t._e(),a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERIC_CONTRACTS_CAPTION_NEW_CONTRACT",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},rL=[],lL={name:"LabelContractsTopSlot",components:{BaseButton:wt,ActionDropdown:Mn,BaseHeaderStats:ti},data:function(){return{editForm:"LabelContractsEdit",alvqa:"contracts-label"}},computed:{totalRecords:function(){return this.$store.getters.getTotalRecords},actions:function(){return[{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_COPY_WITH_TRACKS"),value:"copyWithTracks",alvqa:this.alvqa+"-list-action-dropdown-copy-with-tracks"},{text:this.$t("lang_LABEL_RELEASES_ACTION_OPTION_COPY_WITHOUT_TRACKS"),value:"copyWithoutTracks",alvqa:this.alvqa+"-list-action-dropdown-copy-without-tracks"},{text:this.$t("lang_PUBLISHING_CONTRACTS_ACTION_GROUP"),value:"groupContracts",alvqa:this.alvqa+"-list-action-dropdown-group-contracts"},{text:this.$t("lang_PUBLISHING_CONTRACTS_ACTION_UNGROUP"),value:"ungroupContracts",alvqa:this.alvqa+"-list-action-dropdown-ungroup-contracts"},{text:this.$t("lang_PUBLISHING_INCOME_ACTION_OPTION_MOVE"),value:"move",alvqa:this.alvqa+"-list-action-dropdown-move"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}]}}},oL=lL,cL=Object(C["a"])(oL,sL,rL,!1,null,null,null),uL=cL.exports,dL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",{attrs:{alvqa:t.alvqa+"-title"}},[a("v-row",{staticClass:"pl-4 pb-4 headline"},[t._v("\n            "+t._s(t.item.contractName)+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.contractType&&""!==t.item.contractType&&void 0!==t.item.contractType?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-type"}},[t._v(t._s(t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-type"}},[t._v(t._s(this.getContractType(t.item)))])]):t._e(),null!==t.item.licensor&&void 0!==t.item.licensor?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-licensor"}},[t._v(t._s(t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-licensor"}},[t._v(t._s(t.$alvPlugin.showNameOfAzEntry(t.item.licensor)))])]):t._e(),null!==t.item.alvId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_CONTRACT_ID"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-alvid"}},[t._v(t._s(t.item.alvId))])]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.initialBalance?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-initial-balance"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-initial-balance"}},[t._v(t._s(t.item.initialBalance))])]):t._e(),null!==t.item.initialBalancePeriod.period?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-initial-balance-period"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE_PERIOD"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-initial-balance-period"}},[t._v(t._s(t.$alvPlugin.displayPeriod(t.item.initialBalancePeriod,!1)))])]):t._e(),null!==t.item.contractDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-contract-date"}},[t._v(t._s(t.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-contract-date"}},[t._v(t._s(t.$d(new Date(t.item.contractDate),"alvDateFormat")))])]):t._e()])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.reserve?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-reserve"}},[t._v(t._s(t.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-reserve"}},[t._v(t._s(t.$n(t.item.reserve,"number")))])]):t._e(),null!==t.item.resolutionPeriod?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-resolution-period"}},[t._v(t._s(t.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE_SETTLE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-resolution-period"}},[t._v(t._s(t.getResolutionPeriod(t.item)))])]):t._e(),""!==t.item.billingCycle?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-billing-cycle"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_STATEMENT_SCHEDULE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-billing-cycle"}},[t._v(t._s(t.getBilingsCycle(t.item.billingCycle)))])]):t._e()])],1)],1)],1),""!==t.item.notes?a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_NOTES"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-notes"}},[t._v(t._s(t.item.notes))])])])],1)],1),a("v-col",[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.validFrom?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-valid-from"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_VALID_FROM"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-valid-from"}},[t._v(t._s(t.$d(new Date(t.item.validFrom),"alvDateFormat")))])]):t._e(),null!==t.item.validUntil?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-valid-until"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_VALID_UNTIL"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-valid-until"}},[t._v(t._s(t.$d(new Date(t.item.validUntil),"alvDateFormat")))])]):t._e(),null!==t.item.reminderDate?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-reminder-date"}},[t._v(t._s(t.$t("lang_CONTRACTS_LABEL_CAPTION_REMINDER_DATE"))+":")]),a("div",{attrs:{alvqa:t.alvqa+"-reminder-date"}},[t._v(t._s(t.$d(new Date(t.item.reminderDate),"alvDateFormat")))])]):t._e()])],1)],1)],1):t._e(),a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("TracksReleasesReadOnlyPanel")],1),a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("LabelContractsSplitsReadOnlyPanel")],1),a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("LabelContractsGroupedContractsReadOnlyPanel")],1)],1)],1)],1)},gL=[],pL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_CONTRACTS_LABEL_EDIT_PANEL_CAPTION_TRACKS_RELEASES",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":300,page:t.currentPage,"server-items-length":t.totalRecords,options:t.options,loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"no-results-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:page":function(e){t.currentPage=e},"update:options":[function(e){t.options=e},t.updatePagingSortingOptions]},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.trackTitle",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.title,alvqa:t.alvqa+"-list-row-text-track-title"}})],1)]}},{key:"item.selectedReleases",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.getSelectedReleasesTooltip(n)))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-text-release-title"}},[t._v("\n                                "+t._s(t.getSelectedReleasesText(n))+"\n                            ")])]},proxy:!0}],null,!0)})],1)]}},{key:"item.displayArtist",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.displayArtist,alvqa:t.alvqa+"-list-row-text-display-artist"}})],1)]}},{key:"item.isrc",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-isrc"}},[t._v("\n                    "+t._s(n.isrc)+"\n                ")])]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},vL=[],_L={name:"TracksReleasesReadOnlyPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T},data:function(){return{alvqa:"contracts-label-read-only-panel-tracks-releases"}},computed:{headers:function(){return[{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_TRACKS_TITLE"),align:"left",value:"trackTitle",class:"text-no-wrap",sortable:!0,alvqa:this.alvqa+"-header-track-title"},{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_RELEASE_TITLE"),align:"left",value:"selectedReleases",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-release-title"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DISPLAY_ARTIST"),align:"left",value:"displayArtist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-display-artist"},{text:this.$t("lang_GENERAL_CAPTION_ISRC"),align:"left",value:"isrc",class:"text-no-wrap",width:"150px",sortable:!1,alvqa:this.alvqa+"-header-isrc"}]},listItems:function(){return this.$store.getters.getLabelContractsTracksReleases},currentPage:{get:function(){return this.$store.getters.getLabelContractsTracksReleasesCurrentPage},set:function(t){this.$store.commit("setLabelContractsTracksReleasesCurrentPage",t)}},numberOfPages:function(){return this.$store.getters.getLabelContractsTracksReleasesNumberOfPages},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},totalRecords:function(){return this.$store.getters.getLabelContractsTracksReleasesTotalRecords},isLoading:function(){return this.$store.getters.getIsLoading},options:{get:function(){return this.$store.getters.getLabelContractsSortingPagingOptions},set:function(t){this.$store.commit("setLabelContractsSortingPagingOptions",t)}}},methods:{getSelectedReleasesText:function(t){if(0==t.selectedReleases.length)return"";if(t.selectedReleases.length>1)return this.$t("lang_GENERAL_CAPTION_MULTIPLE");var e=t.releases.find((function(e){return e.alvId===t.selectedReleases[0]}));if(void 0!==e){var a=e.title;return a+=" (EAN: "+(null!==e.ean?e.ean:"-"),a+=", "+this.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER")+": "+(null!==e.catalogueNumber?e.catalogueNumber:"-")+")",a}return""},getSelectedReleasesTooltip:function(t){var e=this;if(0==t.selectedReleases.length)return"";var a=[];return t.selectedReleases.forEach((function(n){var i=t.releases.find((function(t){return t.alvId===n}));if(void 0!==i){var s=i.title;s+=" (EAN: "+(null!==i.ean?i.ean:"-"),s+=", "+e.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER")+": "+(null!==i.catalogueNumber?i.catalogueNumber:"-")+")",a.push(s)}})),a.join(", ")},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchLabelContractsTracksReleases");case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),updatePagingSortingOptions:function(){this.$store.dispatch("fetchLabelContractsTracksReleases")}}},hL=_L,mL=(a("c215"),Object(C["a"])(hL,pL,vL,!1,null,null,null)),fL=mL.exports,SL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERAL_PANEL_CAPTION_SPLITS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"header-props":{sortIcon:""},"hide-default-footer":"","loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":300,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.license",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-license"}},[t._v("\n                        "+t._s(t.getLicence(n.license))+"\n                    ")])]}},{key:"item.salesType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sales-type"}},[t._v("\n                        "+t._s(t.getSalesType(n.salesType))+"\n                    ")])]}},{key:"item.salesUnit",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sales-unit"}},[t._v("\n                        "+t._s(t.getSalesUnit(n.salesUnit))+"\n                    ")])]}},{key:"item.base",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-base"}},[t._v("\n                        "+t._s(t.$alvPlugin.getNumberLocalization(n.base,"number"))+"\n                    ")])]}},{key:"item.share",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-split"}},[t._v("\n                        "+t._s(t.$alvPlugin.getNumberLocalization(n.share,"number"))+"\n                    ")])]}},{key:"item.region",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-region"}},[t._v("\n                        "+t._s(t.$alvPlugin.createRegionsToString(n.region))+"\n                    ")])]}},{key:"item.category",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-category"}},[t._v("\n                        "+t._s(t.$t(t.getCategory(n.category)))+"\n                    ")])]}}],null,!0)})]},proxy:!0}])})},EL=[],IL={name:"LabelContractsSplitsReadOnlyPanel",components:{BasePanel:vi},data:function(){return{alvqa:"contracts-label-read-only-panel-splits"}},computed:{items:function(){return this.$store.getters.getLabelContractsSplits},headers:function(){return[{text:this.$t("lang_GENERAL_CAPTION_LICENSE"),value:"license",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-license"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),value:"salesType",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-sales-type"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_UNIT"),value:"salesUnit",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-sales-unit"},{text:this.$t("lang_CONTRACTS_LABEL_EDIT_SPLITS_PANEL_CAPTION_BASE")+" %",value:"base",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-base"},{text:this.$t("lang_GENERAL_CAPTION_SPLIT")+" %",value:"share",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-shares"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_REGION"),value:"region",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-region"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_CATEGORY"),value:"category",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-category"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getLicence:function(t){var e=Ra.find((function(e){return e.value===t}));return void 0!==e?this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text:""},getSalesType:function(t){var e=ba.find((function(e){return e.value===t}));return void 0!==e?this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text:""},getSalesUnit:function(t){var e=xa.find((function(e){return e.value===t}));return void 0!==e?e.text:""},getCategory:function(t){var e=wa.find((function(e){return e.value===t}));return void 0!==e?e.text:""}}},CL=IL,AL=Object(C["a"])(CL,SL,EL,!1,null,null,null),TL=AL.exports,bL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_PUBLISHING_CONTRACTS_GROUPED_CONTRACTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"items-per-page":300,"header-props":{sortIcon:""},"hide-default-footer":"","loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.alvId",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-alvId"}},[t._v("\n                    "+t._s(n.alvId)+"\n                ")])]}},{key:"item.title",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-contract-name"}},[t._v("\n                    "+t._s(n.title)+"\n                ")])]}}],null,!0)})]},proxy:!0}])})},PL=[],DL={name:"LabelContractsGroupedContractsReadOnlyPanel",components:{BasePanel:vi},data:function(){return{alvqa:"contracts-label-read-only-panel-splits"}},computed:{items:function(){return this.$store.getters.getLabelContractsGroupedContracts},headers:function(){return[{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-alvId"},{text:this.$t("lang_GENERIC_CONTRACTS_CONTRACT_TITLE"),value:"title",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-contract-name"}]}}},NL=DL,RL=Object(C["a"])(NL,bL,PL,!1,null,null,null),xL=RL.exports,OL={name:"LabelContractsReadOnly",components:{TracksReleasesReadOnlyPanel:fL,LabelContractsSplitsReadOnlyPanel:TL,LabelContractsGroupedContractsReadOnlyPanel:xL},props:{itemId:{type:Number}},data:function(){return{alvqa:"label-contracts-list-row-"+this.itemId+"-read-only"}},methods:{getContractType:function(t){var e=Pa;return void 0===t.contractType||null===t.contractType?void 0:this.$t(e.find((function(e){return e.value===t.contractType})).text)},getBilingsCycle:function(t){var e=Da;return void 0===t||null===t?void 0:this.$t(e.find((function(e){return e.value===t})).text)},getResolutionPeriod:function(t){var e=Na.find((function(e){return e.value===t.resolutionPeriod}));return void 0===e?null:this.$t(e.text)}},computed:{item:function(){if(0!==this.$store.getters.getExpandedLabelContracts.length)return this.$store.getters.getExpandedLabelContracts[0]},resolutionPeriods:function(){return Na},billingCycles:function(){return Da}}},wL=OL,LL=Object(C["a"])(wL,dL,gL,!1,null,null,null),yL=LL.exports,qL={name:"LabelContractsList",components:{BaseListPage:yn,BaseDataTableList:En,BaseTooltip:T,ExpandIcon:is,LabelContractsTopSlot:uL,FileImportDialog:Ns,DeletionDialog:Cs,SelectionRequiredDialog:hs,LabelContractsReadOnly:yL,MoveIntoCompanyDialog:fg},data:function(){return{context:"LabelContracts",alvqa:"contracts-label"}},computed:{headers:function(){return[{text:"",value:"data-table-select",sortable:!1,width:"60px"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,width:"165px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CONTRACT_TITLE"),value:"contractName",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY"),value:"licensor",align:"left",sortable:!0,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE"),value:"contractType",align:"left",sortable:!0,width:"130px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_CONNECTED_TO"),value:"connectedTo",align:"right",sortable:!1,width:"115px",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE"),value:"contractDate",align:"left",sortable:!0,width:"145px",class:"text-no-wrap"},{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_REMINDER_DATE"),value:"reminderDate",align:"left",sortable:!0,width:"145px",class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px"}]}},methods:{getTrackLangConst:function(t){return 0===t||t>1?"lang_GENERIC_TRACKS_PLURAL":"lang_GENERIC_TRACKS_SINGULAR"}}},kL=qL,BL=Object(C["a"])(kL,nL,iL,!1,null,null,null),$L=BL.exports,GL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/contracts/label"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(n.contractName?n.contractName:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n            ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ContractName",label:t.contractNameLabel,rules:"required",alvqa:t.alvqa+"-textfield-contract-name"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Type",items:t.contractTypes,label:t.contractTypeLabel,rules:"required",alvqa:t.alvqa+"-dropdown-contract-type"}})],1),a("v-row",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Licensor",label:t.licensorAZLabel,rules:"required",withFreeText:!1,alvqa:t.alvqa+"-autocomplete-licensor-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-licensor-selection"}},[t._v("\n                                "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                            ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-title"}},[t._v("\n                                    "+t._s(t.$alvPlugin.showNameOfAzEntry(n))+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-licensor-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                    "+t._s(t.$t("lang_IPI"))+": "+t._s(null!==n.ipi&&""!==n.ipi&&void 0!==n.ipi?n.ipi:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" | "+t._s(n.alvId)+"                                      \n                                ")])],1)]}}])})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Notes",rows:"3",label:t.notesLabel,alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvId",label:t.contractIdLabel,clearable:!1,readonly:!0,alvqa:t.alvqa+"-textfield-alvid"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,rules:"positiveOrNegativeWithMaxTwoDigits",field:"InitialBalance",label:t.initialBalanceLabel,alvqa:t.alvqa+"-textfield-initial-balance"}})],1),a("BasePeriod",{attrs:{context:t.context,widthYearField:"4",widthTimeUnitField:"5",widthNumberField:"3",periodLabel:"lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE_PERIOD"}})],1),a("v-col",[a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ContractDate",label:t.contractDateLabel,rules:"required",alvqa:t.alvqa+"-datepicker-contract-date"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ValidFrom",label:t.validFromLabel,alvqa:t.alvqa+"-datepicker-valid-from"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ValidUntil",label:t.validUntilLabel,alvqa:t.alvqa+"-datepicker-valid-until"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"ReminderDate",label:t.reminderDateLabel,alvqa:t.alvqa+"-datepicker-reminder-date"}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Reserve",label:t.reserveLabel,suffix:"%",alvqa:t.alvqa+"-textfield-reserve"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ResolutionPeriod",items:t.resolutionPeriods,label:t.resolutionPeriodLabel,alvqa:t.alvqa+"-dropdown-resolution-period"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"BillingCycle",items:t.billingCycles,label:t.billingCycleLabel,alvqa:t.alvqa+"-dropdown-billing-cycle"}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("LabelContractsSplitsEditPanel"),a("LabelContractsSplitsEditPanelDialog"),a("TracksReleasesEditPanel"),a("TracksReleasesEditPanelDialog"),a("SearchDialog",{attrs:{context:t.context,subcontext:"Releases",searchcontext:"ReleasesForContract",addcontext:"ReleasesToContract",addButtonLabel:"lang_CONTRACTS_LABEL_ADD_RELEASES_DIALOG_BUTTON_ADD_RELEASES",dialogTitle:"lang_CONTRACTS_LABEL_ADD_RELEASES_DIALOG_TITLE"},scopedSlots:t._u([{key:"itemTitle",fn:function(e){var a=e.item;return[t._v("\n                        "+t._s(a.name)+"\n                    ")]}},{key:"itemSubtitle",fn:function(e){var a=e.item;return[t._v("\n                        EAN: "+t._s(null!==a.ean?a.ean:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" | \n                        "+t._s(t.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER"))+": "+t._s(null!==a.catalogueNumber?a.catalogueNumber:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+" |\n                        "+t._s(t.$t("lang_LABEL_RELEASE_CAPTION_FIRST_MAIN_ARTIST"))+": "+t._s(null!==a.performer?t.$alvPlugin.getArtistOrPerformerName(a.performer):t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+"\n                    ")]}}])}),a("LabelContractsAdvanceEditPanel"),a("LabelContractsAdvanceEditPanelDialog"),a("LabelContractsReservesEditPanel"),a("LabelContractsReservesEditPanelDialog"),a("LabelContractsCostsEditPanel"),a("LabelContractsCostsEditPanelDialog"),a("LabelContractsMediaEditPanel"),a("MediaFileUploadDialog",{attrs:{acceptedFiles:".png,.jpg,.jpeg,.pdf,.txt,.wav,.mp3,.flac,.zip",placeholder:"lang_GENERIC_CAPTION_SELECT_FILES_FOR_UPLOAD",headline:"lang_GENERAL_FILE_IMPORT_DIALOG_TITLE_UPLOAD_FILE",context:t.context+"Media",detailsCall:"getLabelContractsDetails",directory:"contracts/label/"}})]},proxy:!0}])})},FL=[],UL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_CONTRACTS_LABEL_EDIT_PANEL_CAPTION_TRACKS_RELEASES",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("AllTracksReleasesDialog",{attrs:{showDialog:t.showDialog},on:{"set-all-tracks-releases":t.setAllTracksReleases,closeDialog:t.closeDialog}}),a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":300,page:t.currentPage,"server-items-length":t.totalRecords,options:t.options,loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"no-results-text":t.$t("lang_GENERAL_LOADING_DATATABLE")},on:{"update:page":function(e){t.currentPage=e},"update:options":[function(e){t.options=e},t.updatePagingSortingOptions]},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-5"},[a("v-col",{attrs:{cols:"6"}},[a("TracksReleasesEditPanelTopSlot")],1),a("v-col",{attrs:{cols:"6"}},[a("v-row",{staticClass:"pb-3 d-flex align-center pt-4"},[a("v-col",{attrs:{cols:"6"}},[a("BaseButton",{attrs:{label:"lang_LABEL_CONTRACTS_TRACKS_SET_ALL_TRACKS_RELEASES",block:"",alvqa:t.alvqa+"-button-open-dialog"},on:{click:function(e){return t.getCsvAndOpenDialog()}}})],1),a("v-col",{attrs:{cols:"4"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_LABEL_CONTRACTS_TRACKS_ADD_NEW_RELEASE",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addRelease}})],1),a("v-col",{staticClass:"pl-2",attrs:{cols:"2"}},[a("BaseButton",{attrs:{icon:"add",label:"",disabled:"new"===t.$route.params.alvId,block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.trackTitle",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.title,alvqa:t.alvqa+"-list-row-text-track-title"}})],1)]}},{key:"item.selectedReleases",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.getSelectedReleasesTooltip(n)))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-text-release-title"}},[t._v("\n                                "+t._s(t.getSelectedReleasesText(n))+"\n                            ")])]},proxy:!0}],null,!0)})],1)]}},{key:"item.displayArtist",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.displayArtist,alvqa:t.alvqa+"-list-row-text-display-artist"}})],1)]}},{key:"item.isrc",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-isrc"}},[t._v("\n                    "+t._s(n.isrc)+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},ML=[],WL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-row",{staticClass:"pb-3"},[a("v-col",{staticClass:"pb-5 pr-0 d-flex align-center",attrs:{cols:"4"}},[a("SearchFilter",{attrs:{context:t.context,alvqa:t.alvqa+"-textfield-search",iconTooltipText:t.$t("lang_CONTRACTS_LABEL_TOOLTIP_PANEL_TRACKS_SEARCH_FIELD")},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.filter.apply(null,arguments)}}}),a("span",{staticClass:"pt-4"},[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-icon-search",icon:"fa-search",tooltipText:"lang_GENERAL_CAPTION_START_SEARCH"},on:{click:t.filter}})],1)],1),a("v-col",{staticClass:"pt-6",attrs:{cols:"3","align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.showDeleteResultListButton,label:"lang_GENERIC_BUTTON_CAPTION_REMOVE",alvqa:t.alvqa+"-button-delete-result",block:""},on:{click:t.deleteResultlist}})],1),a("v-col",{staticClass:"v-label theme--light mt-2 pl-0",attrs:{cols:"5","align-self":"center"}},[a("BaseHeaderStats",{attrs:{context:"TrackReleasesForSubCataloguesSearch",typeStats:"LIST",alvqa:t.alvqa,specificSelected:t.$store.getters.getTotalListed}})],1)],1)},jL=[],zL={name:"LabelContractsTrackReleasesEditPanelTopSlot",components:{BaseButton:wt,BaseIcon:N,SearchFilter:Nn,BaseHeaderStats:ti},props:{subcatalogue:Object},data:function(){return{alvqa:"track-releases-edit-form-panel-works",context:"LabelContractsTracksReleases"}},computed:{showDeleteResultListButton:function(){return this.$store.getters.getShowTracksReleasesDeleteResultListButton},setTypeOfWorksFor:function(){return this.$store.getters.getLabelContractsDetailsType},disableSetWorksTypeButton:function(){return 0===this.$store.getters.getLabelContractsTracksReleases.length}},methods:{filter:function(){this.$store.commit("setLabelContractsTracksReleasesCurrentPage",1),this.$store.dispatch("fetchLabelContractsTracksReleases")},deleteResultlist:function(){this.$store.commit("setDeletionDialogContext","AllTracksReleasesFromLabelContract"),this.$store.commit("setShowDeletionDialog",!0)}}},HL=zL,VL=Object(C["a"])(HL,WL,jL,!1,null,null,null),YL=VL.exports,KL=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,maxDialogWidth:"500",headline:"lang_LABEL_CONTRACTS_TRACKS_SET_ALL_TRACKS_RELEASES",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v(t._s(t.$t("lang_LABEL_CONTRACTS_TRACKS_SET_ALL_TRACKS_RELEASES_DIALOG")))])],1),a("v-row",[t.csvLink?a("v-col",{attrs:{cols:"12"}},[a("a",{attrs:{href:t.csvLink,target:"_blank"},on:{click:function(e){t.downloaded=!0}}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CLICK_HERE_TO_DOWNLOAD")))])]):t._e(),a("v-col",{attrs:{cols:"5"}},[a("BaseButton",{attrs:{disabled:!t.downloaded,label:"lang_LABEL_CONTRACTS_TRACKS_SET_ALL_TRACKS_RELEASES",block:"",alvqa:t.alvqa+"-button-set-all-tracks-releases"},on:{click:function(e){return t.setAllTracksReleases()}}})],1)],1)],1)]},proxy:!0}])})},ZL=[],XL={name:"AllTracksReleasesDialog",props:{showDialog:{default:!1,type:Boolean}},data:function(){return{downloaded:!1,alvqa:"error-dialog"}},components:{BaseButton:wt,BaseDialog:Pt},computed:{csvLink:{get:function(){return this.$store.getters.getDialogSvgLink},set:function(t){this.$store.commit("setDialogSvgLink",t)}}},methods:{setAllTracksReleases:function(){this.downloaded&&(this.$emit("set-all-tracks-releases"),this.downloaded=!1)},closeDialog:function(){this.$emit("closeDialog"),this.downloaded=!1}}},JL=XL,QL=Object(C["a"])(JL,KL,ZL,!1,null,null,null),ty=QL.exports,ey={name:"TracksReleasesEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N,BaseTooltip:T,TracksReleasesEditPanelTopSlot:YL,AllTracksReleasesDialog:ty},data:function(){return{showDialog:!1,alvqa:"contracts-label-edit-form-panel-tracks-releases"}},computed:{headers:function(){return[{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_TRACKS_TITLE"),align:"left",value:"trackTitle",class:"text-no-wrap",sortable:!0,alvqa:this.alvqa+"-header-track-title"},{text:this.$t("lang_CONTRACTS_LABEL_CAPTION_RELEASE_TITLE"),align:"left",value:"selectedReleases",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-release-title"},{text:this.$t("lang_LABEL_TRACKS_CAPTION_DISPLAY_ARTIST"),align:"left",value:"displayArtist",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-display-artist"},{text:this.$t("lang_GENERAL_CAPTION_ISRC"),align:"left",value:"isrc",class:"text-no-wrap",width:"150px",sortable:!0,alvqa:this.alvqa+"-header-isrc"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){var t=this.$store.getters.getLabelContractsTracksReleases;return t.filter((function(t){return void 0!==t}))},currentPage:{get:function(){return this.$store.getters.getLabelContractsTracksReleasesCurrentPage},set:function(t){this.$store.commit("setLabelContractsTracksReleasesCurrentPage",t)}},numberOfPages:function(){return this.$store.getters.getLabelContractsTracksReleasesNumberOfPages},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},totalRecords:function(){return this.$store.getters.getLabelContractsTracksReleasesTotalRecords},isLoading:function(){return this.$store.getters.getIsLoading},options:{get:function(){return this.$store.getters.getLabelContractsSortingPagingOptions},set:function(t){this.$store.commit("setLabelContractsSortingPagingOptions",t)}}},methods:{getCsvAndOpenDialog:function(){this.$store.dispatch("fetchDialogCsvLink"),this.showDialog=!0},closeDialog:function(){this.showDialog=!1,this.$store.commit("setDialogSvgLink",null)},setAllTracksReleases:function(){var t=this;this.$store.dispatch("setAllTracksReleases").then((function(){t.$store.dispatch("fetchLabelContractsTracksReleases"),t.closeDialog()}))},deleteRow:function(t){this.$store.commit("setSelectedLabelContractsTracksReleases",t.alvId),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsTracksReleases"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setLabelContractsIsTrackTitelReadOnly",!0),this.$store.commit("setSelectedLabelContractsTracksReleases",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setLabelContractsTracksReleasesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowLabelContractsTracksReleasesEditingDialog",!0)},addNewRow:function(){this.$store.commit("setLabelContractsIsTrackTitelReadOnly",!1),this.$store.commit("setShowLabelContractsTracksReleasesEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsTracksReleases));this.$store.commit("setLabelContractsTracksReleasesEditingDialogDetails",t)},addRelease:function(){var t=this.$store.getters.getLabelContractDetailsAlvId;if("ALV000000000CL"!==t)this.$store.commit("setShowSearchDialog",!0);else{var e=this.$store.getters.getLabelContractDetailsContractName,a=this.$store.getters.getLabelContractDetailsLicensor,n=this.$store.getters.getLabelContractDetailsContractDate,i=null!==e&&null!==a&&null!==n;i?(this.$store.dispatch("saveLabelContractForm"),this.$store.commit("setShowSearchDialog",!0)):this.$store.commit("setSnackbar",{type:"error",msg:"Bitte erst die Pflichtfelder des Hauptformulars ausfüllen!"})}},getSelectedReleasesText:function(t){if(0==t.selectedReleases.length)return"";if(t.selectedReleases.length>1)return this.$t("lang_GENERAL_CAPTION_MULTIPLE");var e=t.releases.find((function(e){return e.alvId===t.selectedReleases[0]}));if(void 0!==e){var a=e.title;return a+=" (EAN: "+(null!==e.ean?e.ean:this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),a+=", "+this.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER")+": "+(null!==e.catalogueNumber?e.catalogueNumber:this.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+")",a}return""},getSelectedReleasesTooltip:function(t){var e=this;if(0==t.selectedReleases.length)return"";var a=[];return t.selectedReleases.forEach((function(n){var i=t.releases.find((function(t){return t.alvId===n}));if(void 0!==i){var s=i.title;s+=" (EAN: "+(null!==i.ean?i.ean:"-"),s+=", "+e.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER")+": "+(null!==i.catalogueNumber?i.catalogueNumber:"-")+")",a.push(s)}})),a.join(", ")},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchLabelContractsTracksReleases");case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),updatePagingSortingOptions:function(){this.$store.dispatch("fetchLabelContractsTracksReleases")}}},ay=ey,ny=(a("b1ed"),Object(C["a"])(ay,UL,ML,!1,null,null,null)),iy=ny.exports,sy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_GENERAL_PANEL_CAPTION_SPLITS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"header-props":{sortIcon:""},"hide-default-footer":"","loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"items-per-page":300,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"2"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.license",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-license"}},[t._v("\n                    "+t._s(t.getLicence(n.license))+"\n                ")])]}},{key:"item.salesType",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sales-type"}},[t._v("\n                    "+t._s(t.getSalesType(n.salesType))+"\n                ")])]}},{key:"item.salesUnit",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-sales-unit"}},[t._v("\n                    "+t._s(t.getSalesUnit(n.salesUnit))+"\n                ")])]}},{key:"item.base",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-base"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.base,"number"))+"\n                ")])]}},{key:"item.share",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-split"}},[t._v("\n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.share,"number"))+"\n                ")])]}},{key:"item.region",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-region"}},[t._v("\n                    "+t._s(t.$alvPlugin.createRegionsToString(n.region))+"\n                ")])]}},{key:"item.category",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-category"}},[t._v("\n                    "+t._s(t.$t(t.getCategory(n.category)))+"\n                ")])]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-"+n.id+"-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:t.getEditIconText(n)},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},ry=[],ly={name:"LabelContractsSplitsEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"contracts-label-edit-form-panel-splits"}},computed:{items:function(){return this.$store.getters.getLabelContractsSplits},headers:function(){return[{text:this.$t("lang_GENERAL_CAPTION_LICENSE"),value:"license",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-license"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),value:"salesType",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-sales-type"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_UNIT"),value:"salesUnit",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-sales-unit"},{text:this.$t("lang_CONTRACTS_LABEL_EDIT_SPLITS_PANEL_CAPTION_BASE")+" %",value:"base",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-base"},{text:this.$t("lang_GENERAL_CAPTION_SPLIT")+" %",value:"share",align:"right",width:"105px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-shares"},{text:this.$t("lang_CONTRACTS_PUBLISHING_EDIT_SHARES_PANEL_CAPTION_REGION"),value:"region",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-region"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_CATEGORY"),value:"category",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-category"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{addNewRow:function(){var t=this.$store.getters.getLabelContractsDetailsAlvId;if("ALV000000000CL"===t){var e=this.$store.getters.getLabelContractsDetailsContractName,a=this.$store.getters.getLabelContractsDetailsLicensor,n=this.$store.getters.getLabelContractsDetailsContractDate,i=null!==e&&null!==a&&null!==n;i?(this.$store.dispatch("saveLabelContractsForm"),this.setNewRow()):this.$store.commit("setSnackbar",{type:"error",msg:"Bitte erst die Pflichtfelder des Hauptformulars ausfüllen!"})}else this.setNewRow()},setNewRow:function(){this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsSplits));this.$store.commit("setLabelContractsSplitsEditingDialogDetails",t),this.$store.commit("setShowEditingDialog",!0)},getLicence:function(t){var e=Ra.find((function(e){return e.value===t}));return void 0!==e?this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text:""},getSalesType:function(t){var e=ba.find((function(e){return e.value===t}));return void 0!==e?this.$alvPlugin.isLangConst(e.text)?this.$t(e.text):e.text:""},getSalesUnit:function(t){var e=xa.find((function(e){return e.value===t}));return void 0!==e?e.text:""},getCategory:function(t){var e=wa.find((function(e){return e.value===t}));return void 0!==e?e.text:""},deleteRow:function(t){this.$store.commit("setSelectedLabelContractsSplits",[t.id]),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsSplits"),this.$store.commit("setShowDeletionDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedLabelContractsSplits",t.id);var e=JSON.parse(JSON.stringify(t));e["base"]=this.$alvPlugin.getNumberLocalization(e["base"],"number"),e["share"]=this.$alvPlugin.getNumberLocalization(e["share"],"number"),this.$store.commit("setLabelContractsSplitsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)},getEditIconText:function(t){var e=this.$t("lang_GENERAL_CAPTION_ICON_EDIT");return null!==t.licensor&&(e+=": "+t.licensor.name+" ("+t.licensor.alvId+")"),e}}},oy=ly,cy=Object(C["a"])(oy,sy,ry,!1,null,null,null),uy=cy.exports,dy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_CONTRACTS_LABEL_PANEL_CAPTION_ADVANCE",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","items-per-page":300,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.clearanceOfAdvances",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-clearance-of-advances"}},[t._v("\n                    "+t._s(n.clearanceOfAdvances)+"\n                ")])]}},{key:"item.enteredBy",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-entered-by"}},[t._v("\n                    "+t._s(n.enteredBy)+" \n                    "+t._s(t.$t("lang_GENERIC_CAPTION_ON"))+" \n                    "+t._s(null!==n.enteredOn?t.$d(new Date(n.enteredOn),"alvDateTime"):"")+"\n                ")])]}},{key:"item.entered",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-entered"}},[t._v("\n                    "+t._s(t.getEnteredTranslation(n.entered))+"\n                ")])]}},{key:"item.credit",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-credit"}},[t._v("\n                    "+t._s(t.$n(n.credit,"number"))+"\n                ")])]}},{key:"item.balance",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-balance"}},[t._v("\n                    "+t._s(t.$n(n.balance,"number"))+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)})]},proxy:!0}])})},gy=[],py={name:"LabelContractsAdvanceEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"contracts-label-edit-form-panel-advance"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_CONTRACTS_ADVANCE_CLEARANCE"),align:"left",value:"clearanceOfAdvances",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-clearance-of-advances"},{text:this.$t("lang_LABEL_CONTRACTS_ADVANCE_ENETERED_BY"),align:"left",value:"enteredBy",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-entered-by"},{text:this.$t("lang_LABEL_CONTRACTS_ADVANCE_ENETERED"),align:"left",value:"entered",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-entered"},{text:this.$t("lang_LABEL_CONTRACTS_ADVANCE_CREDIT")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"credit",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-credit"},{text:this.$t("lang_LABEL_CONTRACTS_ADVANCE_BALANCE")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"balance",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-balance"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelContractsAdvance}},methods:{getEnteredTranslation:function(t){return"manual"===t?this.$t("lang_GENERIC_CAPTION_MANUAL"):"automatic"===t?this.$t("lang_GENERIC_CAPTION_AUTOMATIC"):void 0},addNewRow:function(){this.$store.commit("setShowLabelContractsAdvanceEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsAdvance));this.$store.commit("setLabelContractsAdvanceEditingDialogDetails",t)},editInlineFunction:function(t){this.$store.commit("setSelectedLabelContractsAdvance",t.id);var e=JSON.parse(JSON.stringify(t));e["credit"]=this.$n(e["credit"],"number"),this.$store.commit("setLabelContractsAdvanceEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowLabelContractsAdvanceEditingDialog",!0)},deleteRow:function(t){this.$store.commit("setSelectedLabelContractsAdvance",t),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsAdvance"),this.$store.commit("setShowDeletionDialog",!0)}}},vy=py,_y=Object(C["a"])(vy,dy,gy,!1,null,null,null),hy=_y.exports,my=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_CONTRACTS_CAPTION_RESERVES",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","items-per-page":300,"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.sourceOfReserve",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-source-of-reserve"}},[t._v("\n                    "+t._s(n.sourceOfReserve)+"\n                ")])]}},{key:"item.setUpAccrualsIn",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-setup-accruals-in"}},[t._v("\n                    "+t._s(t.$alvPlugin.displayPeriod(n.setUpAccrualsIn))+"\n                ")])]}},{key:"item.reverseAccrualsIn",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-reverse-accruals-in"}},[t._v("\n                    "+t._s(t.$alvPlugin.displayPeriod(n.reverseAccrualsIn))+"\n                ")])]}},{key:"item.enteredOn",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-entered-on"}},[t._v("\n                    "+t._s(null!==n.enteredOn&&"0000-00-00"!==n.enteredOn?t.$d(new Date(n.enteredOn),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.entered",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-entered"}},[t._v("\n                    "+t._s(t.getEnteredTranslation(n.entered))+"\n                ")])]}},{key:"item.amount",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-amount"}},[t._v("\n                    "+t._s(t.$n(n.amount,"number"))+"\n                ")])]}},{key:"item.reserve",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-reserve"}},[t._v("\n                    "+t._s(t.$n(n.reserve,"number"))+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)})]},proxy:!0}])})},fy=[],Sy={name:"LabelContractsReservesEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt},data:function(){return{alvqa:"contracts-label-edit-form-panel-reserves"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_CONTRACTS_RESERVES_SOURCE"),align:"left",value:"sourceOfReserve",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-source-of-reserve"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_SETUP_ACCRUALS_IN"),align:"right",value:"setUpAccrualsIn",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-setup-accruals-in"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_REVERSE_ACCRUALS_IN"),align:"right",value:"reverseAccrualsIn",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-reverse-accruals-in"},{text:this.$t("lang_LABEL_CONTRACTS_RESERVES_ENTERED"),align:"right",value:"enteredOn",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-entered"},{text:this.$t("lang_LABEL_CONTRACTS_RESERVES_ENTRY"),align:"left",value:"entered",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-entry"},{text:this.$t("lang_GENERIC_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"amount",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-amount"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"reserve",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-reserve"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelContractsReserves}},methods:{getEnteredTranslation:function(t){return"manual"===t?this.$t("lang_GENERIC_CAPTION_MANUAL"):"automatic"===t?this.$t("lang_GENERIC_CAPTION_AUTOMATIC"):void 0},deleteRow:function(t){this.$store.commit("setSelectedLabelContractsReserves",t),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsReserves"),this.$store.commit("setShowDeletionDialog",!0)},addNewRow:function(){this.$store.commit("setShowLabelContractsReservesEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsReserves));this.$store.commit("setLabelContractsReservesEditingDialogDetails",t)},editInlineFunction:function(t){this.$store.commit("setSelectedLabelContractsReserves",t.id);var e=JSON.parse(JSON.stringify(t));e["amount"]=this.$n(e["amount"],"number"),e["reserve"]=this.$n(e["reserve"],"number"),this.$store.commit("setLabelContractsReservesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowLabelContractsReservesEditingDialog",!0)}}},Ey=Sy,Iy=Object(C["a"])(Ey,my,fy,!1,null,null,null),Cy=Iy.exports,Ay=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_CONTRACTS_PANEL_CAPTION_COSTS",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},loading:t.isLoading,"items-per-page":300,page:t.currentPage,"server-items-length":t.totalRecords,"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},on:{"update:page":function(e){t.currentPage=e}},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3 pl-4"},[a("v-spacer"),a("v-col",{attrs:{cols:"3","align-self":"end"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.costGroup",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getCostGroup(n.costGroup),alvqa:t.alvqa+"-list-row-text-cost-group"}})],1)]}},{key:"item.date",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-date"}},[t._v("\n                    "+t._s(null!==n.date&&"0000-00-00"!==n.date?t.$d(new Date(n.date),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.recipient",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:null!==n.recipient?n.recipient.gemaName:"",alvqa:t.alvqa+"-list-row-text-recipient"}})],1)]}},{key:"item.description",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.description,alvqa:t.alvqa+"-list-row-text-description"}})],1)]}},{key:"item.amount",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-amount"}},[t._v("                        \n                    "+t._s(t.$n(n.amount,"number"))+"\n                ")])]}},{key:"item.documentNumber",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.documentNumber,alvqa:t.alvqa+"-list-row-text-document-number"}})],1)]}},{key:"item.country",fn:function(e){var n=e.item;return[a("div",[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-country"}},[t._v(t._s(n.country))])]},proxy:!0},{key:"text",fn:function(){return[t._v(t._s(t.$alvPlugin.getTranslatedCountryName(n.country)))]},proxy:!0}],null,!0)})],1)]}},{key:"item.paidOn",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-paid-on"}},[t._v("\n                    "+t._s(null!==n.paidOn?t.$d(new Date(n.paidOn),"alvDateFormat"):"")+"\n                ")])]}},{key:"item.accountingPeriod",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-accounting-period"}},[t._v("\n                    "+t._s(t.$alvPlugin.displayPeriod(n.accountingPeriod))+"\n                ")])]}},{key:"item.split",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-list-row-text-split"}},[t._v("                        \n                    "+t._s(t.$alvPlugin.getNumberLocalization(n.split,"number"))+" \n                ")])]}},{key:"item.assignToRelease",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getAssignToRelease(n.assignToRelease),alvqa:t.alvqa+"-list-row-text-assign-to-release"}})],1)]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.delete",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"list-row-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}}],null,!0)}),t.numberOfPages>1?a("v-pagination",{attrs:{"total-visible":"10",length:t.numberOfPages,color:"pagination"},on:{input:function(e){return t.nextPage()}},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):t._e()]},proxy:!0}])})},Ty=[],by={name:"LabelContractsCostsEditPanel",components:{BasePanel:vi,BaseTooltip:T,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"contracts-label-edit-form-panel-costs"}},computed:{headers:function(){return[{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_COST_GROUP"),align:"left",value:"costGroup",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-cost-group"},{text:this.$t("lang_GENERIC_CAPTION_DATE"),align:"right",value:"date",width:"110px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-date"},{text:this.$t("lang_GENERIC_CAPTION_RECIPIENT"),align:"left",value:"recipient",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-recipient"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_DESCRIPTION"),align:"left",value:"description",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-description"},{text:this.$t("lang_GENERIC_CAPTION_AMOUNT")+" "+this.$store.getters.getSelectedCurrency,align:"right",value:"amount",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-amount"},{text:this.$t("lang_LABEL_RELEASES_CAPTION_DOCUMENT_NUMBER"),align:"left",value:"documentNumber",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-document-number"},{text:this.$t("lang_GENERAL_CAPTION_COUNTRY"),value:"country",align:"left",class:"text-no-wrap",width:"90px",sortable:!1,alvqa:this.alvqa+"-header-country"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_PAID_ON"),align:"right",value:"paidOn",width:"110px",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-paid-on"},{text:this.$t("lang_LABEL_CONTRACTS_CAPTION_ACCOUNTING_PERIOD"),align:"right",value:"accountingPeriod",class:"text-no-wrap",width:"180px",sortable:!1,alvqa:this.alvqa+"-header-accounting-period"},{text:this.$t("lang_GENERAL_CAPTION_SPLIT")+" %",align:"right",value:"split",class:"text-no-wrap",width:"100px",sortable:!1,alvqa:this.alvqa+"-header-split"},{text:this.$t("lang_CONTRACT_LABEL_CAPTION_COST_RELEASE_RELATION"),align:"left",value:"assignToRelease",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-assign-to-release"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelContractsCosts},currentPage:{get:function(){return this.$store.getters.getLabelContractsCostsCurrentPage},set:function(t){this.$store.commit("setLabelContractsCostsCurrentPage",t)}},numberOfPages:function(){return this.$store.getters.getLabelContractsCostsNumberOfPages},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},totalRecords:function(){return this.$store.getters.getLabelContractsCostsTotalRecords},isLoading:function(){return this.$store.getters.getIsLoading}},methods:{getCostGroup:function(t){var e=qa;if(void 0===e)return"";var a=e.find((function(e){return e.value===t}));return void 0===a?"":"income"===a.group?this.$t("lang_GENERIC_CAPTION_INCOME")+": "+this.$t(a.text):"costs"===a.group?this.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+this.$t(a.text):void 0},getAssignToRelease:function(t){return null!==t?t.title+" ("+this.$t("lang_LABEL_SALES_DATA_CAPTION_CAT_NO")+": "+t.catalogueNumber+")":""},deleteRow:function(t){this.$store.commit("setSelectedLabelContractsCosts",t),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsCosts"),this.$store.commit("setShowDeletionDialog",!0)},addNewRow:function(){this.$store.commit("setShowLabelContractsCostsEditingDialog",!0),this.$store.dispatch("fetchAssignToReleaseDropdown"),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsCosts));this.$store.commit("setLabelContractsCostsEditingDialogDetails",t)},editInlineFunction:function(t){this.$store.commit("setSelectedLabelContractsCosts",t.id);var e=JSON.parse(JSON.stringify(t));e["amount"]=this.$n(e["amount"],"numberWithoutGrouping"),e["split"]=this.$n(e["split"],"number"),null!==e.recipient?this.$store.commit("setLabelContractsCostsRecipientOptions",[e.recipient]):this.$store.commit("setLabelContractsCostsRecipientOptions",[]),this.$store.commit("setLabelContractsCostsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.dispatch("fetchAssignToReleaseDropdown"),this.$store.commit("setShowLabelContractsCostsEditingDialog",!0)},nextPage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("fetchLabelContractsCosts");case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){this.$store.commit("setCountries")}},Py=by,Dy=Object(C["a"])(Py,Ay,Ty,!1,null,null,null),Ny=Dy.exports,Ry=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_LABEL_TRACKS_CAPTION_MEDIA",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{disabled:"new"===t.$route.params.alvId,label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row"},on:{click:function(e){return t.openMediaUploader()}}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.mediaPreviewCoverImage",fn:function(e){return[["jpeg","jpg","png"].includes(e.item.type)&&e.item.link?a("div",[a("v-img",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-play",src:e.item.link,width:"40px"}})],1):t._e(),["wav","mp3"].includes(e.item.type)?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-audio",icon:e.item.isPlaying?"fa-stop-circle":"fa-play-circle",tooltipText:e.item.isPlaying?"lang_GENERAL_CAPTION_STOP":"lang_GENERAL_CAPTION_PLAY"},on:{click:function(a){return a.stopPropagation(),t.play(e.item)}}}):t._e(),["pdf","zip"].includes(e.item.type)?a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+e.item.alvId+"-icon-audio",icon:"pdf"===e.item.type?"fa-file-pdf":"fas fa-file-archive"}}):t._e()]}},{key:"item.media",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n          "+t._s(e.item.name)+"\n        ")])]}},{key:"item.type",fn:function(e){return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-text-media"}},[t._v("\n          "+t._s(e.item.type.toUpperCase())+"\n        ")])]}},{key:"item.delete",fn:function(e){return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-icon-donwload",icon:"delete",tooltipText:"lang_GENERIC_CAPTION_DELETE"},on:{click:function(a){return t.deleteFile(e)}}})]}},{key:"item.downloadLink",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:"alvqa + '-list-row-icon-donwload'",icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.link)}}})]}}],null,!0)})]},proxy:!0}])})},xy=[],Oy={name:"LabelContractsMediaEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseButton:wt,BaseCheckbox:Qt},data:function(){return{alvqa:"contracts-label-edit-form-panel-media",context:"LabelContractsMedia"}},computed:{headers:function(){return[{text:"",value:"mediaPreviewCoverImage",align:"center",width:"65px",class:"text-no-wrap"},{text:this.$t("lang_LABEL_SALES_DATA_CAPTION_FILE_NAME"),align:"left",value:"media",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"Type",align:"left",value:"type",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-artist"},{text:"",align:"right",value:"downloadLink",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",value:"delete",sortable:!1,width:"70px",class:"text-no-wrap"}]},listItems:function(){return this.$store.getters.getLabelContractsMedia},globalAudio:{get:function(){return this.$store.getters["getAudio"]},set:function(t){this.$store.commit("setAudio",t)}}},methods:{downloadFile:function(t){k$.getFileFromALV(t)},play:function(t){if(null!=this.globalAudio&&!t.isPlaying){this.globalAudio.pause(),this.globalAudio=null;var e=this.listItems.findIndex((function(t){return!0===t.isPlaying}));this.listItems[e].isPlaying=!1}null==this.globalAudio?(this.globalAudio=new Audio(t.link),this.globalAudio.addEventListener("ended",this.endedAudioEvent.bind(event,t)),t.isPlaying=!0,this.globalAudio.play()):(this.globalAudio.pause(),t.isPlaying=!1,this.globalAudio=null)},endedAudioEvent:function(t){t.isPlaying=!1,this.globalAudio=null},openMediaUploader:function(){this.$store.commit("setShowMediaFileUploadDialog",!0)},deleteFile:function(t){this.$store.commit("setSelectedLabelContractsMediaFiles",[t.item]),this.$store.commit("setDeletionDialogContext","SelectedLabelContractsMediaFiles"),this.$store.commit("setShowDeletionDialog",!0)}}},wy=Oy,Ly=Object(C["a"])(wy,Ry,xy,!1,null,null,null),yy=Ly.exports,qy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.additionalSaveFunction,useAdditionalSaveFunction:!0,additionalAfterSaveFunction:t.saveApiCall,maxDialogWidth:"1200"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",{attrs:{cols:"5"}},[t.isTrackTitleReadOnly?t._e():a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"TrackTitle",label:t.$t("lang_CONTRACTS_LABEL_CAPTION_TRACKS_TITLE"),withMargin:!1,rules:"required",additionalFunction:t.fillInReleasesDropdown,alvqa:t.alvqa+"-autocomplete-track-title-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-track-title-selection"}},[t._v("\n                            "+t._s(t.getTitleForAutocomplete(n))+"\n                        ")])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-track-title-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-track-title-dropdown-"+n.alvId+"-track-title"}},[t._v("\n                                "+t._s(n.title)+"\n                            ")])],1)]}}],null,!1,1868753708)}),t.isTrackTitleReadOnly?a("BaseReadOnlyTextField",{attrs:{innerValue:t.getTrackTitel,label:t.$t("lang_CONTRACTS_LABEL_CAPTION_TRACKS_TITLE"),alvqa:t.alvqa+"-readonly-track-title-textfield"}}):t._e()],1),a("v-col",{attrs:{cols:"6"}},[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SelectedReleases",items:t.releaseTitleDropdownItems,label:t.$t("lang_CONTRACTS_LABEL_CAPTION_RELEASE_TITLE"),selection:!0,withMargin:!1,clearable:!1,multiple:!0,allSelect:!0,rules:0!==t.releaseTitleDropdownItems.length?"required":"",alvqa:t.alvqa+"-dropdown-release-title"}})],1)],1)]},proxy:!0}])})},ky=[],By={name:"TracksReleasesEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageAutocomplete:Zs,BaseReadOnlyTextField:iu},data:function(){return{context:"LabelContractsTracksReleases",alvqa:"contracts-label-edit-form-tracks-releases-panel-editing-dialog"}},computed:{releaseTitleDropdownItems:function(){var t=this,e=this.$store.getters.getLabelContractsTracksReleasesEditingDialogDetails,a=[];return null!==e&&void 0!==e&&e.releases.forEach((function(e){var n=e.title;n+=" (EAN: "+(null!==e.ean?e.ean:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM")),n+=", "+t.$t("lang_GENERIC_CAPTION_CATALOGUE_NUMBER")+": "+(null!==e.catalogueNumber?e.catalogueNumber:t.$t("lang_GENERIC_CAPTION_NOMEN_NOMINANDUM"))+")",a.push({value:e.alvId,text:n})})),a},isTrackTitleReadOnly:{get:function(){return this.$store.getters.getLabelContractsIsTrackTitelReadOnly},set:function(t){this.$store.commit("setLabelContractsIsTrackTitelReadOnly",t)}},getTrackTitel:function(){return this.$store.getters.getLabelContractsTracksReleasesEditingDialogDetails.title}},methods:{fillInReleasesDropdown:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e){t.next=6;break}return t.next=3,this.$store.dispatch("fetchTracksDetails",e.alvId);case 3:this.$store.commit("setLabelContractsTracksReleasesEditingDialogDetails",this.$store.getters.getTracksDetails),t.next=9;break;case 6:this.$store.commit("setLabelContractsTracksReleasesDetailsSelectedReleases",[]),a=JSON.parse(JSON.stringify(this.$store.getters.getDefaultLabelContractsTracksReleases)),this.$store.commit("setLabelContractsTracksReleasesEditingDialogDetails",a);case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getTitleForAutocomplete:function(t){return"object"!==Object(Rl["a"])(t)||Array.isArray(t)||null===t?t:t.title},additionalSaveFunction:function(t){var e=t.selectedReleases,a=e.map((function(t){return"object"!==Object(Rl["a"])(t)||Array.isArray(t)||null===t?t:t["value"]}));this.$store.commit("setLabelContractsTracksReleasesDetailsSelectedReleases",a)},saveApiCall:function(){this.$store.dispatch("addTrackToLabelContract")}}},$y=By,Gy=Object(C["a"])($y,qy,ky,!1,null,null,null),Fy=Gy.exports,Uy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"License",items:t.licenseItems,label:t.$t("lang_CONTRACTS_LABEL_CAPTION_LICENSE_BASE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-license"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SalesType",items:t.salesTypeItems,label:t.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_TYPE"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-sales-type"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"SalesUnit",items:t.salesUnitItems,label:t.$t("lang_LABEL_SALES_DATA_CAPTION_SALES_UNIT"),selection:!0,withMargin:!1,alvqa:t.alvqa+"-dropdown-sales-unit"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Base",label:t.$t("lang_CONTRACTS_LABEL_EDIT_SPLITS_PANEL_CAPTION_BASE"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-base",suffix:"%"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Shares",label:t.$t("lang_GENERAL_CAPTION_SPLIT"),withMargin:!1,rules:"percentDecimal|required",alvqa:t.alvqa+"-textfield-split",suffix:"%"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Category",items:t.categoryItems,label:t.$t("lang_LABEL_SALES_DATA_CAPTION_CATEGORY"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-category"}})],1)],1),a("BaseRegions",{attrs:{context:t.context+"EditingDialog",includeLabel:"lang_PUBLISHING_WORKS_EXPORT_INCLUDE_TERRITORY",excludeLabel:"lang_PUBLISHING_WORKS_EXPORT_EXCLUDE_TERRITORY",includeItems:t.includeItems,excludeItems:t.excludeItems,includeCols:"5",excludeCols:"5",clearable:!1,alvqa:t.alvqa}})]},proxy:!0}])})},My=[],Wy={name:"LabelContractsSplitsEditPanelDialog",components:{EditingDialog:ho,BaseRegions:Er,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},data:function(){return{context:"LabelContractsSplits",alvqa:"contracts-label-edit-form-splits-panel-editing-dialog"}},computed:{licenseItems:function(){return Ra},salesTypeItems:function(){return ba},salesUnitItems:function(){return xa},categoryItems:function(){return wa},includeItems:function(){var t=this.$alvPlugin.getListOfTranslatedCountries();return t.unshift({text:this.$t("lang_CAPTION_REGION_WORLD"),value:"WORLD"}),t},excludeItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},created:function(){this.$store.commit("setCountries")}},jy=Wy,zy=Object(C["a"])(jy,Uy,My,!1,null,null,null),Hy=zy.exports,Vy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.formatDataBeforeSave,useAdditionalSaveFunction:!0,additionalAfterSaveFunction:t.afterSaving},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ClearanceOfAdvances",label:t.$t("lang_LABEL_CONTRACTS_ADVANCE_CLEARANCE"),withMargin:!1,rules:"required",iconTooltipText:t.$t("lang_CONTRACTS_LABEL_TOOLTIP_ADVANCE_CLEARANCE"),alvqa:t.alvqa+"-textfield-clearance-of-advances"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Credit",label:t.$t("lang_LABEL_CONTRACTS_ADVANCE_CREDIT"),withMargin:!1,rules:"required|balanceNotGreaterThanZero",iconTooltipText:t.$t("lang_CONTRACTS_LABEL_TOOLTIP_CREDIT"),alvqa:t.alvqa+"-textfield-credit",suffix:t.$store.getters.getSelectedCurrency}})],1)],1)]},proxy:!0}])})},Yy=[],Ky={name:"LabelContractsAdvanceEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseIcon:N},data:function(){return{context:"LabelContractsAdvance",alvqa:"contracts-label-edit-form-panel-advance-editing-dialog"}},methods:{formatDataBeforeSave:function(t){return t.credit=this.$alvPlugin.stringToFloat(t.credit),t.enteredBy=this.$store.getters.getUserUsername,t.enteredOn=new Date,t},afterSaving:function(){this.$store.dispatch("calculateLabelContractsAdvanceBalance")}}},Zy=Ky,Xy=Object(C["a"])(Zy,Vy,Yy,!1,null,null,null),Jy=Xy.exports,Qy=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.formatAmountReserveBeforeSave,useAdditionalSaveFunction:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SourceOfReserve",label:t.$t("lang_LABEL_CONTRACTS_RESERVES_SOURCE"),withMargin:!1,rules:"required",alvqa:t.alvqa+"-textfield-source-of-reserve"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"EnteredOn",label:t.$t("lang_LABEL_CONTRACTS_RESERVES_ENTERED"),withMargin:!1,alvqa:t.alvqa+"-datepicker-entered-on"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),withMargin:!1,rules:"required|amountMaxTwoDigits",alvqa:t.alvqa+"-textfield-amount",suffix:t.$store.getters.getSelectedCurrency}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Reserve",label:t.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE"),withMargin:!1,rules:"required|amountMaxTwoDigits",alvqa:t.alvqa+"-textfield-reserve",suffix:t.$store.getters.getSelectedCurrency}})],1)],1),a("v-row",{attrs:{align:"center"}},[a("BasePeriod",{attrs:{context:t.context+"SetUp",periodLabel:"lang_LABEL_CONTRACTS_CAPTION_SETUP_ACCRUALS_IN",undefinedTimeUnit:!0,widthNumberField:2,clearable:!1}}),a("BasePeriod",{attrs:{context:t.context,periodLabel:"lang_LABEL_CONTRACTS_CAPTION_REVERSE_ACCRUALS_IN",undefinedTimeUnit:!0,widthNumberField:2,clearable:!1}})],1)]},proxy:!0}])})},tq=[],eq={name:"LabelContractsReservesEditPanelDialog",components:{EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDatePicker:$r,BasePeriod:Zd},data:function(){return{context:"LabelContractsReserves",alvqa:"contracts-label-edit-form-panel-reserves-editing-dialog"}},methods:{formatAmountReserveBeforeSave:function(t){return t.amount=this.$alvPlugin.stringToFloat(t.amount),t.reserve=this.$alvPlugin.stringToFloat(t.reserve),t}}},aq=eq,nq=Object(C["a"])(aq,Qy,tq,!1,null,null,null),iq=nq.exports,sq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0,additionalSaveFunction:t.formatValuesBeforeSave,additionalAfterSaveFunction:t.saveCosts},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CostGroup",items:t.costGroupItems,label:t.$t("lang_LABEL_CONTRACTS_CAPTION_COST_GROUP"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-cost-group"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Amount",label:t.$t("lang_GENERIC_CAPTION_AMOUNT"),withMargin:!1,rules:"required|amountMaxTwoDigits",suffix:t.$store.getters.getSelectedCurrency,alvqa:t.alvqa+"-textfield-amount"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"Date",label:t.$t("lang_GENERIC_CAPTION_DATE"),withMargin:!1,rules:t.isFieldMandatory,alvqa:t.alvqa+"-datepicker-date"}})],1),a("v-col",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"PaidOn",label:t.$t("lang_LABEL_CONTRACTS_CAPTION_PAID_ON"),withMargin:!1,alvqa:t.alvqa+"-datepicker-paid-on"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageAutocomplete",{attrs:{context:t.context,field:"Recipient",label:t.$t("lang_GENERIC_CAPTION_RECIPIENT"),withFreeText:!1,withMargin:!1,rules:t.isFieldMandatory,alvqa:t.alvqa+"-autocomplete-recipient-textfield"},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"ellipsis",attrs:{alvqa:t.alvqa+"-autocomplete-recipient-selection"}},[t._v("\n                            "+t._s(n.gemaName)+"\n                            "),t.$alvPlugin.printName(n)?a("span",[t._v("\n                                ("+t._s(n.firstName)+" "+t._s(n.lastName)+")\n                            ")]):t._e()])]}},{key:"items",fn:function(e){var n=e.items;return[a("v-list-item-content",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId}},[a("v-list-item-title",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-title"}},[t._v("\n                                "+t._s(n.gemaName)+"\n                                "+t._s(t.$alvPlugin.printName(n)?"("+n.firstName+" "+n.lastName+")":"")+"\n                                    "),a("v-avatar",{staticClass:"caption",attrs:{color:"grey",size:"20"}},[t._v(t._s(n.typeOfAz))])],1),a("v-list-item-subtitle",{attrs:{alvqa:t.alvqa+"-autocomplete-recipient-dropdown-"+n.alvId+"-subtitle"}},[t._v("\n                                "+t._s(t.$t("lang_IPI"))+": "+t._s(""!==n.ipi?n.ipi:t.$t("lang_CAPTION_NONE"))+" | "+t._s(n.alvId)+"\n                            ")])],1)]}}])})],1)],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"AssignToRelease",items:t.assignedReleasesDropdownValues,label:t.$t("lang_CONTRACT_LABEL_CAPTION_COST_RELEASE_RELATION"),alvqa:t.alvqa+"-autocomplete-assign-to-release",returnObject:!0,itemText:"title"}})],1),a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Description",label:t.$t("lang_LABEL_CONTRACTS_CAPTION_DESCRIPTION"),withMargin:!1,alvqa:t.alvqa+"-textfield-description"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"DocumentNumber",label:t.$t("lang_LABEL_RELEASES_CAPTION_DOCUMENT_NUMBER"),withMargin:!1,alvqa:t.alvqa+"-textfield-documentNumber"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{label:t.$t("lang_GENERAL_CAPTION_COUNTRY"),items:t.countryItems,context:t.context,field:"Country",rules:t.isFieldMandatory,alvqa:t.alvqa+"-dropdown-country",withMargin:!1}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Split",label:t.$t("lang_GENERAL_CAPTION_SPLIT"),withMargin:!1,rules:"percentDecimal",alvqa:t.alvqa+"-textfield-split",suffix:"%"}})],1)],1),a("v-row",{staticClass:"pl-4"},[a("BasePeriod",{attrs:{context:t.context+"AccountingPeriod",periodLabel:"lang_LABEL_CONTRACTS_CAPTION_ACCOUNTING_PERIOD",undefinedTimeUnit:!0,widthNumberField:2,clearable:!1}})],1)]},proxy:!0}])})},rq=[],lq={name:"LabelContractsCostsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseEditPageTextField:Ut,BaseEditPageAutocomplete:Zs,BasePeriod:Zd},data:function(){return{context:"LabelContractsCosts",alvqa:"contracts-label-edit-form-panel-costs-editing-dialog"}},computed:{isFieldMandatory:function(){var t=this.$store.getters.getLabelContractsCostsDetailsAssignToRelease;return null!==t?"required":""},assignedReleasesDropdownValues:function(){return this.$store.getters.getLabelContractsCostsAssignToReleaseOptions},costGroupItems:function(){var t=this,e=JSON.parse(JSON.stringify(qa));return e.forEach((function(e){"income"===e.group&&(e.text=t.$t("lang_GENERIC_CAPTION_INCOME")+": "+t.$t(e.text)),"costs"===e.group&&(e.text=t.$t("lang_LABEL_RELEASES_PANEL_CAPTION_COSTS")+": "+t.$t(e.text))})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},countryItems:function(){return this.$alvPlugin.getListOfTranslatedCountries()},assignToReleaseItems:function(){return this.$store.getters.getAssignToReleaseOptions}},methods:{formatValuesBeforeSave:function(t){return t.amount=this.$alvPlugin.stringToFloat(t.amount),null!==t.split&&(t.split=this.$alvPlugin.stringToFloat(t.split)),t},saveCosts:function(){this.$store.dispatch("addLabelContractsCosts")},getReleaseTitle:function(t){return t.title+" ("+this.$alvPlugin.getProductItemIdLabelReleases(t)+")"}},mounted:function(){this.$store.commit("setCountries")}},oq=lq,cq=Object(C["a"])(oq,sq,rq,!1,null,null,null),uq=cq.exports,dq={name:"LabelContractsEdit",components:{BaseEditPage:ql,BaseIcon:N,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BasePeriod:Zd,BaseEditPageAutocomplete:Zs,TracksReleasesEditPanel:iy,LabelContractsSplitsEditPanel:uy,LabelContractsAdvanceEditPanel:hy,LabelContractsReservesEditPanel:Cy,LabelContractsCostsEditPanel:Ny,DeletionDialog:Cs,EditingDialog:ho,TracksReleasesEditPanelDialog:Fy,LabelContractsSplitsEditPanelDialog:Hy,LabelContractsAdvanceEditPanelDialog:Jy,LabelContractsReservesEditPanelDialog:iq,LabelContractsCostsEditPanelDialog:uq,SearchDialog:ys,MediaFileUploadDialog:W_,LabelContractsMediaEditPanel:yy},data:function(){return{context:"LabelContracts",alvqa:"contracts-label-edit-form"}},computed:{contractNameLabel:function(){return this.$t("lang_GENERIC_CONTRACTS_CONTRACT_TITLE")},contractIdLabel:function(){return this.$t("lang_CAPTION_ALVID")},contractTypeLabel:function(){return this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_TYPE")},contractDateLabel:function(){return this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACT_DATE")},reminderDateLabel:function(){return this.$t("lang_CONTRACTS_LABEL_ALERT_ON")},notesLabel:function(){return this.$t("lang_GENERAL_CAPTION_NOTES")},validFromLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_VALID_FROM")},validUntilLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_VALID_UNTIL")},reserveLabel:function(){return this.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE")},resolutionPeriodLabel:function(){return this.$t("lang_LABEL_CONTRACTS_CAPTION_RESERVE_SETTLE")},billingCycleLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_STATEMENT_SCHEDULE")},initialBalanceLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE")},licensorAZLabel:function(){return this.$t("lang_GENERIC_CONTRACTS_CAPTION_CONTRACTING_PARTY")},initialBalancePeriodLabel:function(){return this.$t("lang_CONTRACTS_LABEL_CAPTION_INITIAL_BALANCE_PERIOD")},resolutionPeriods:function(){return Na},billingCycles:function(){return Da},contractTypes:function(){return Pa}},watch:{"$i18n.locale":{handler:function(t){var e=this.$store.state.labelContracts.labelContractsDetails.initialBalance;if(e){var a="de"===t?e.replaceAll(".",",").replace(",","."):e.replaceAll(",",".").replace(".",",");this.$store.commit("setLabelContractsDetailsInitialBalance",a)}},immediate:!0}}},gq=dq,pq=Object(C["a"])(gq,GL,FL,!1,null,null,null),vq=pq.exports,_q=function(){var t=this,e=t.$createElement,a=t._self._c||e;return"admin"===t.getUserRole?a("div",[a("DeletionDialog",{attrs:{context:"AccountCredentials",additionalDialogText:t.additionalDeletionDialogText}}),a("CredentialsEditingDialog"),a("BaseListPage",{attrs:{alvqa:t.alvqa,context:t.context,headline:"lang_ACCOUNT_CREDENTIALS",showFiltersRow:!1,showSearchIcon:!1},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,showExpand:!1,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("v-row",[a("v-spacer"),a("v-col",{attrs:{cols:"2"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",alvqa:t.alvqa+"-button-add-row",block:""},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("td",{staticClass:"text-left",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-type"}},[t._v("\n            "+t._s(t.$t(t.getType(n.item.credentialsType)))+"\n          ")]),a("td",{staticClass:"text-left",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-text-credentials"}},[null!==n.item.apikey?a("span",[t._v("\n              "+t._s(n.item.apikey?t.maskApiKey(n.item.apikey):"")+" \n            ")]):a("span",[t._v("\n               "+t._s(n.item.username?n.item.username:"")+"\n            ")])]),a("td",{staticClass:"text-left"},[null!==n.item.protocol&&void 0!==n.item.protocol&&n.item.protocol.includes("REST")?a("span",[t._v(t._s(n.item.protocol)+"-API")]):n.item.role?a("span",[t._v(t._s(t.$t(t.getRole(n.item.role))))]):a("span",[t._v(t._s(n.item.protocol))])]),a("td",{staticClass:"text-left"}),n.item.credentialsType.includes("mailchimp")?a("td",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-icon-sync"}},[t.showMailchimpSyncIcon?a("BaseIcon",{attrs:{tooltipText:"lang_ACCOUNT_CREDENTIALS_CAPTION_TOOLTIP_SYNC",icon:"sync"},on:{click:function(e){return t.synchronizeContacts(n.item)}}}):t._e(),t.showMailchimpSyncProgressBar?a("span",{staticClass:"pl-2"},[a("v-progress-circular",{attrs:{size:"16",width:"2",color:"dialogProgressbar",indeterminate:"",alvqa:t.alvqa+"-progress-bar-csv-report-bulk-edit-copy-shares"}})],1):t._e(),null!==t.csvReportMailchimpSyncFilepath?a("span",[a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-csv-report-bulk-edit-copy-shares"},on:{click:function(e){return e.stopPropagation(),t.downloadReportMailchimpSync(t.csvReportMailchimpSyncFilepath)}}})],1):t._e()],1):a("td"),"gema-soundfile"===n.item.credentialsType||n.item.credentialsType.includes("cwr")||"mailchimp"==n.item.credentialsType||"helpjuice"==n.item.credentialsType||"av-meldung-api"==n.item.credentialsType?a("td",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-icon-connection"}},[a("BaseIcon",{attrs:{tooltipText:"lang_ACCOUNT_CREDENTIALS_TOOLTIP_CHECK_CONNECTION",icon:"link"},on:{click:function(e){return t.checkConnection(n.item)}}})],1):a("td"),a("td",{staticClass:"text-center"},[a("BaseIcon",{attrs:{icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT",alvqa:t.alvqa+"-list-row-"+n.item.id+"-icon-edit"},on:{click:function(e){return t.edit(n.item)}}})],1),a("td",{staticClass:"text-center",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.id+"-icon-delete"}},[a("BaseIcon",{attrs:{tooltipText:"lang_GENERIC_CAPTION_DELETE",icon:"delete"},on:{click:function(e){return t.deleteRow(n.item)}}})],1)]}}],null,!1,3877902381)})]},proxy:!0}],null,!1,3240472407)})],1):a("div",[a("BaseListPage",{attrs:{headline:"lang_ACCOUNT_CREDENTIALS",showSearchIcon:!1,showFiltersRow:!1},scopedSlots:t._u([{key:"dataTable",fn:function(){return[a("v-row",[a("v-col",{staticClass:"text-left",attrs:{alvqa:t.alvqa+"-list-title"},domProps:{innerHTML:t._s(t.$t("lang_GENERIC_NO_PERMISSION_TO_ACCESS"))}})],1)]},proxy:!0}])})],1)},hq=[],mq=(a("14b9"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{showDialog:t.showAddRowDialog,context:t.context,maxDialogWidth:"1000",maxCardHeight:"880",additionalAfterSaveFunction:t.saveApiCall,additionalCloseFunction:t.closeDialog},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CredentialsType",items:t.typeDropdownOptions,disabled:!t.isNewRow,rules:"required",label:t.$t("lang_ACCOUNT_CREDENTIALS_TYPE"),selection:!0,withMargin:!1,clearable:!1,additionalFunction:t.toggleSave,alvqa:t.alvqa+"-dropdown-type"}})],1),a("v-col"),a("v-col")],1),null!==t.typeSelected?a("span",["mailchimp"==t.typeSelected||"helpjuice"==t.typeSelected?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ApiKey",rules:"required",clearable:!1,label:t.$t("lang_SETTINGS_ACCOUNT_API_KEY"),withMargin:!1,alvqa:t.alvqa+"-textfield-apikey"}})],1)],1):a("span",[t.showNameFieldsInEditForm?a("v-row",[a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"FirstName",rules:"required",clearable:!1,label:t.$t("lang_AZ_PERSONS_CAPTION_FIRST_NAME"),withMargin:!1,alvqa:t.alvqa+"-textfield-first-name"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"LastName",rules:"required",clearable:!1,label:t.$t("lang_AZ_PERSONS_CAPTION_LAST_NAME"),withMargin:!1,alvqa:t.alvqa+"-textfield-last-name"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Interests",items:t.interests,label:t.$t("lang_GENERIC_CAPTION_INTERESTS"),multiple:!0,rules:"required",selection:!0,withMargin:!1,clearable:!0,alvqa:t.alvqa+"-dropdown-interests"}})],1)],1):t._e(),a("v-row",[t.showNameFieldsInEditForm?a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Username",rules:"required|email",clearable:!1,label:t.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_USERNAME_AS_EMAIL"),withMargin:!1,alvqa:t.alvqa+"-textfield-username"}})],1):a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Username",rules:"required",clearable:!1,label:t.$t("lang_LOGIN_CAPTION_USERNAME"),withMargin:!1,alvqa:t.alvqa+"-textfield-username"}})],1),a("v-col",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Password",rules:"required|passwordLength",clearable:!1,label:t.$t("lang_CAPTION_PASSWORD"),type:"password",withMargin:!1,alvqa:t.alvqa+"-textfield-password"}})],1),t.showRoleDropdown?a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Role",items:t.roleDropdownOptions,rules:"required",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_ROLE"),selection:!0,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-role"}})],1):t._e()],1),t.showNameFieldsInEditForm?a("v-row",{staticClass:"mb-3"},[a("v-col",{staticClass:"pt-0 pb-0",attrs:{alvqa:t.alvqa+"-payment-text"},domProps:{innerHTML:t._s(t.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_COST"))}})],1):t._e(),t.showOnlyOneMessage?a("v-row",{staticClass:"mb-3"},[a("v-col",{staticClass:"pt-0 pb-0",attrs:{alvqa:t.alvqa+"-can-only-be-one-message"},domProps:{innerHTML:t._s(t.getOnlyBeOneMessage)}})],1):t._e()],1)],1):t._e()],1)]},proxy:!0}])})}),fq=[],Sq={name:"CredentialsEditingDialog",data:function(){return{context:"Credentials",alvqa:"account-credentials-add-new-row-dialog",gemaAccountExists:"",shouldBeUniqueButIsNot:!1,disableSaveButton:!1,showOnlyOneMessage:!1,showItCostsSomethingMessage:!1}},components:{BaseDialog:Pt,BaseButton:wt,EditingDialog:ho,BaseEditPageTextField:Ut,BaseEditPageDropdown:me},computed:{interests:function(){var t,e=this,a=this.$store.getters["getInterests"];return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase(),t["text"]=e.$t(t.text)}))):t=[],t},getOnlyBeOneMessage:function(){return this.$t("lang_GENERIC_MESSAGE_WARNING_CAN_ONLY_BE_ONE")},toggleSave:function(){var t=this;this.disableSaveButton=!1,this.showOnlyOneMessage=!1,this.showItCostsSomethingMessage=!1;var e=this.$store.getters.getCredentialsEditingDialogDetails.credentialsType,a=this.$store.getters.getCredentials;0!==a.length&&a.forEach((function(a){var n=a.credentialsType;n===e&&"alv-login"!=e?(t.shouldBeUniqueButIsNot=!0,t.disableSaveButton=!0,t.showOnlyOneMessage=!0):"alv-login"==e&&(t.showItCostsSomethingMessage=!0)}))},showAddRowDialog:{get:function(){return this.$store.getters.getAddNewCredentialsRowDialog},set:function(t){this.$store.commit("setAddNewCredentialsRowDialog",t)}},typeSelected:{get:function(){return this.$store.getters.getCredentialsEditingDialogDetails.credentialsType},set:function(t){this.$store.commit("setCredentialsEditingDialogDetails",t)}},showNameFieldsInEditForm:function(){return"alv-login"==this.$store.getters.getCredentialsEditingDialogDetails.credentialsType},typeDropdownOptions:function(){var t,e=this,a=this.$store.getters["getAccountCredentialsType"];return void 0!==a?(t=JSON.parse(JSON.stringify(a)),t.forEach((function(t){t["alvqa"]=e.alvqa+"-dropdown-type-"+t.value.toLowerCase(),t["text"]=e.$t(t.text)}))):t=[],t.sort((function(t,e){var a=t.text.toUpperCase(),n=e.text.toUpperCase();return a<n?-1:a>n?1:0})),t},roleDropdownOptions:function(){return Wa},isNewRow:function(){var t=this.$store.getters.getCredentialsNewRow;return t},getUserAccountId:function(){return this.$store.getters["getUserInformation"].id},showRoleDropdown:function(){switch(this.$store.getters.getCredentialsEditingDialogDetails.credentialsType){case"gema-soundfile":case"suisa-cwr":return this.toggleSave,this.$store.commit("setCredentialsDetailsRole",null),this.$store.commit("setCredentialsDetailsFirstName",null),this.$store.commit("setCredentialsDetailsLastName",null),this.$store.commit("setCredentialsShowRoleDropdown",!1),this.$store.getters.getCredentialsShowRoleDropdown;case"alv-login":return this.toggleSave,this.$store.commit("setCredentialsShowRoleDropdown",!0),this.$store.getters.getCredentialsShowRoleDropdown}}},methods:{saveApiCall:function(){var t=this.$store.getters.getCredentialsEditingDialogDetails;t.id===this.getUserAccountId?(this.$store.commit("setAdminInformationChanged",!0),this.$store.dispatch("saveCredentialsRow")):this.$store.dispatch("saveCredentialsRow")},closeDialog:function(){this.disableSaveButton=!1}},mounted:function(){this.$store.commit("setInterests"),this.$store.commit("setAccountCredentialsType")}},Eq=Sq,Iq=Object(C["a"])(Eq,mq,fq,!1,null,null,null),Cq=Iq.exports,Aq={name:"CredentialsList",components:{BaseDataTableList:En,DeletionDialog:Cs,BaseIcon:N,BaseListPage:yn,BaseButton:wt,CredentialsEditingDialog:Cq},data:function(){return{alvqa:"account-credentials",context:"Credentials",showMailchimpSyncIcon:!0,showMailchimpSyncProgressBar:!1,csvReportMailchimpSyncFilepath:null}},computed:{headers:function(){return[{text:this.$t("lang_ACCOUNT_CREDENTIALS_TYPE"),align:"left",sortable:!1,value:"credentialsType",class:"subtitle-1"},{text:this.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_USERNAME_TOKEN"),align:"left",sortable:!0,value:"usernameToken",class:"subtitle-1",width:"400px"},{text:this.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_ROLE_CATEGORY"),align:"left",sortable:!0,value:"type",class:"subtitle-1"},{text:"",align:"left",sortable:!1,value:"test",class:"subtitle-1"},{text:"",sortable:!1,value:"sync",width:"60px"},{text:"",sortable:!1,value:"test",width:"60px"},{text:"",sortable:!1,value:"edit",width:"60px"},{text:"",sortable:!1,value:"delete",width:"60px"}]},getUserRole:function(){return this.$store.getters["getUserInformation"].role},getUserAccountId:function(){return this.$store.getters["getUserInformation"].id},additionalDeletionDialogText:function(){var t="",e=this.$store.getters.getSelectedCredentialsUser;return null!==e&&(t+=this.$t("lang_DELETION_DIALOG_ADDITIONAL_INFORMATION_TEXT")+" "+e),t}},methods:{addNewRow:function(){this.$store.commit("setShowEditingDialog",!0),this.$store.commit("setCredentialsNewRow",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultCredentials));this.$store.commit("setCredentialsEditingDialogDetails",t)},deleteRow:function(t){this.showIcons,t.id!==this.getUserAccountId?(this.$store.commit("setSelectedCredentialsUser",t.username),this.$store.commit("setSelectedCredentials",t.idUnique),this.$store.commit("setShowDeletionDialog",!0)):this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_ACCOUNT_CREDENTIALS_CAPTION_CANNOT_DELETE_OWN_ACCOUNT")})},maskPassword:function(t){return t.length>0?"•".repeat(t.length):""},maskApiKey:function(t){if(t.length>6){var e=t.substring(0,6);return e+"•".repeat(t.length-6)}return"•".repeat(t.length)},checkConnection:function(t){this.$store.dispatch("checkCredentialsConnectionStatus",t)},getType:function(t){if(t)return Ma.find((function(e){return e.value===t})).text},getRole:function(t){return t?Wa.find((function(e){return e.value===t})).text:""},edit:function(t){this.$store.commit("setSelectedCredentials",t.id),this.$store.commit("setCredentialsNewRow",!1);var e=JSON.parse(JSON.stringify(t));this.maskPassword(e.password),this.$store.commit("setCredentialsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowEditingDialog",!0)},synchronizeContacts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.showMailchimpSyncIcon=!1,this.showMailchimpSyncProgressBar=!0,t.next=4,this.$store.dispatch("checkSynchronizeContactsStatus",e);case 4:a=t.sent,a&&(this.showMailchimpSyncProgressBar=!1,this.csvReportMailchimpSyncFilepath=a);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),downloadReportMailchimpSync:function(t){k$.getFileFromALV(t),this.csvReportMailchimpSyncFilepath=null,this.showMailchimpSyncIcon=!0}}},Tq=Aq,bq=Object(C["a"])(Tq,_q,hq,!1,null,null,null),Pq=bq.exports,Dq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,cancelIconRoute:"/dashboard"},scopedSlots:t._u([{key:"headline",fn:function(){return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(t.$t("lang_ACCOUNT_COMPANIES_CAPTION_YOUR_CUSTOMER_DATA"))+"\n        ")])]},proxy:!0},{key:"editForm",fn:function(){return[a("v-container",[a("v-row",[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CompanyName",label:t.$t("lang_GENERAL_CAPTION_COMPANY"),disabled:!0,alvqa:t.alvqa+"-dropdown-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Salutation1",label:t.$t("lang_AZ_PERSONS_CAPTION_SALUTATION_ADDRESS"),alvqa:t.alvqa+"-dropdown-salutation-1"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Firstname",label:t.$t("lang_AZ_PERSONS_CAPTION_FIRST_NAME"),alvqa:t.alvqa+"-dropdown-first-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Lastname",label:t.$t("lang_AZ_PERSONS_CAPTION_LAST_NAME"),alvqa:t.alvqa+"-dropdown-last-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow1",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),alvqa:t.alvqa+"-dropdown-address-row-1"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow2",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-dropdown-address-row-2"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),alvqa:t.alvqa+"-dropdown-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),alvqa:t.alvqa+"-dropdown-city"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-dropdown-city"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",items:t.dropdownCountries,rules:"required",label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),alvqa:t.alvqa+"-dropdown-country"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CustomerNumber",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_CUSTOMER_NUMBER"),disabled:!0,alvqa:t.alvqa+"-dropdown-customer-number"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Salutation2",label:t.$t("lang_AZ_PERSONS_CAPTION_SALUTATION_TEXT"),alvqa:t.alvqa+"-dropdown-salutation-2"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"FormalSalutation",items:t.dropdownFormalSalutation,label:t.$t("lang_GENERIC_CAPTION_FORMAL_SALUTATION"),selection:!0,clearable:!1,alvqa:t.alvqa+"-dropdown-formal-salutation"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AccountHolder",label:t.$t("lang_GENERIC_CAPTION_ACCOUNT_HOLDER"),alvqa:t.alvqa+"-dropdown-account-holder"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Iban",label:t.$t("lang_GENERAL_CAPTION_IBAN_ACCOUNT_NO"),alvqa:t.alvqa+"-dropdown-iban"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Bic",label:t.$t("lang_GENERAL_CAPTION_BIC_SWIFT_ABA"),alvqa:t.alvqa+"-dropdown-bic"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_AZ_PERSONS_CAPTION_EMAIL"),alvqa:t.alvqa+"-dropdown-email"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Cellphone",label:t.$t("lang_AZ_PERSONS_CAPTION_CELLPHONE"),alvqa:t.alvqa+"-dropdown-cellphone"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Phone",label:t.$t("lang_AZ_PERSONS_CAPTION_PHONE"),alvqa:t.alvqa+"-dropdown-phone"}})],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvCode",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_ALV_CODE"),disabled:!0,alvqa:t.alvqa+"-dropdown-alv-code"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AlvPackage",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_ALV_PACKAGE"),disabled:!0,alvqa:t.alvqa+"-dropdown-alv-package"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatPercent",label:t.$t("lang_GENERIC_CAPTION_VAT"),disabled:!0,alvqa:t.alvqa+"-dropdown-vat-percent"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SepaMandate",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_SEPA_MANDATE"),disabled:!0,alvqa:t.alvqa+"-dropdown-sepa-mandate"}})],1),a("v-row",[a("BaseEditPageDatePicker",{attrs:{context:t.context,field:"SepaMandateDate",label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_SEPA_MANDATE_DATE"),alvqa:t.alvqa+"-datepicker-sepa-mandate-date",disabled:!0}})],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Language",items:t.dropdownLanguages,label:t.$t("lang_GENERIC_CAPTION_LANGUAGE"),disabled:!0,alvqa:t.alvqa+"-dropdown-language"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"NumberFormat",items:t.dropdownNumberFormats,label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_NUMBER_FORMAT"),disabled:!0,clearable:!1,alvqa:t.alvqa+"-dropdown-number-format"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Currency",items:t.dropdownCurrencies,label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_HOME_CURRENCY"),disabled:!0,alvqa:t.alvqa+"-dropdown-currency"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"HomeSocietyCode",items:t.dropdownSocieties,label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_HOME_SOCIETY"),alvqa:t.alvqa+"-dropdown-home-society-code"}})],1),a("v-row",[a("v-text-field",{staticClass:"ml-4 mr-4",attrs:{label:t.$t("lang_ACCOUNT_COMPANIES_CAPTION_ALV_VAULT"),disabled:!0,alvqa:t.alvqa+"-dropdown-alv-vault"},model:{value:t.storageInfo,callback:function(e){t.storageInfo=e},expression:"storageInfo"}})],1)],1)],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("ImageUploadDialog",{attrs:{headline:"lang_GENERAL_LOGO_UPLOAD_DIALOG_TITLE"}}),a("PayableConfirmationDialog"),a("PublishingCompaniesPanel"),a("PublishingCompaniesEditPanelDialog"),a("LabelCompaniesPanel"),a("LabelCompaniesEditPanelDialog"),a("InvoicesPanel")]},proxy:!0}])})},Nq=[],Rq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ACCOUNT_COMPANIES_CAPTION_PUBLISHINGCOMPANY_PANEL",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"items-per-page":t.itemsPerPage,"header-props":{sortIcon:""},"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",disabled:!1,alvqa:t.alvqa+"-button-add-row"},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.companyName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-company-name"}},[t._v("\n                    "+t._s(n.companyName)+"\n                ")])]}},{key:"item.companyAsAzEntry",fn:function(e){var n=e.item;return[null!=n.companyAsAzEntry?a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-company-as-az-entry"}},[t._v("\n                    "+t._s(n.companyAsAzEntry.gemaName)+"\n                ")]):t._e()]}},{key:"item.ipi",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-ipi"}},[t._v("\n                    "+t._s(n.ipi)+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.uploadPicture",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-upload-picture",icon:"photo",tooltipText:n.logo?"lang_GENERAL_CAPTION_ICON_EDIT_LOGO":"lang_GENERAL_CAPTION_ICON_UPLOAD_LOGO",color:n.logo?"buttonStandard":"standardBrownIcon"},on:{click:function(e){return e.stopPropagation(),t.showImageUploadDialog(n)}}})]}}],null,!0)})]},proxy:!0}])})},xq=[],Oq={name:"PublishingCompaniesEditPanel",components:{BasePanel:vi,BaseButton:wt,BaseIcon:N},data:function(){return{alvqa:"account-companies-edit-form-panel-publishing-companies"}},computed:{items:function(){return this.$store.getters.getAccountPublishingCompanies},headers:function(){return[{text:this.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_COMPANY_NAME"),alvqa:this.alvqa+"header-company-name",align:"left",value:"companyName",class:"text-no-wrap"},{text:this.$t("lang_ACCOUNT_COMPANIES_PUBLISHING_COMPANIES_CAPTION_AZ_CONNECTION"),alvqa:this.alvqa+"header-company-as-az-entry",align:"left",value:"companyAsAzEntry",class:"text-no-wrap"},{text:this.$t("lang_GENERIC_AZ_CAPTION_IPI"),alvqa:this.alvqa+"header-ipi",align:"left",value:"ipi",tooltip:"",class:"text-no-wrap"},{text:"",value:"uploadPicture",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{addNewRow:function(){this.$store.commit("setShowPayableConfirmationDialog",!0),this.$store.commit("setAddNewPublishingCompany",!0)},showImageUploadDialog:function(t){this.$store.commit("setImageUploaderContext","AccountPublishingCompanies"),null!==t.logo&&this.$store.commit("setImageUploaderImageExists",!0),this.$store.commit("setSelectedAccountPublishingCompanies",t),this.$store.commit("setShowImageUploadDialog",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedAccountPublishingCompanies",t.id),null!==t.companyAsAzEntry&&(t.companyAsAzEntry["value"]=t.companyAsAzEntry.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setAccountPublishingCompaniesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowAccountPublishingCompaniesEditingDialog",!0)}},created:function(){this.$store.dispatch("fetchAccountInvoices")}},wq=Oq,Lq=Object(C["a"])(wq,Rq,xq,!1,null,null,null),yq=Lq.exports,qq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,maxDialogWidth:"1500",maxCardHeight:"880",snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CompanyName",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_COMPANY_NAME"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"CompanyAsAzEntry",items:t.dropdownAzEntries,clearable:!1,selection:!0,returnObject:!0,label:t.$t("lang_ACCOUNT_COMPANIES_PUBLISHING_COMPANIES_CAPTION_AZ_CONNECTION"),alvqa:t.alvqa+"-textfield-company-as-az-entry"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow1",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow2",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-textfield-company-state"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",rules:"required",items:t.dropdownCountries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY")}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Email",label:t.$t("lang_GENERIC_CAPTION_EMAIL"),alvqa:t.alvqa+"-textfield-email"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SenderRow",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_SENDER_ROW"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ykto",label:t.$t("lang_GENERIC_AZ_CAPTION_YKTO"),alvqa:t.alvqa+"-textfield-gema-ykto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Hkto",label:t.$t("lang_GENERIC_AZ_CAPTION_HKTO"),alvqa:t.alvqa+"-textfield-gema-hkto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ukto",label:t.$t("lang_GENERIC_AZ_CAPTION_UKTO"),alvqa:t.alvqa+"-textfield-gema-ukto"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-textfield-vat-id"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterLeft",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_LEFT"),alvqa:t.alvqa+"-textarea-footer-left"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"InvoicesNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_INVOICES_NO_RANGE"),alvqa:t.alvqa+"-textfield-invoices-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ShippingNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_SHIPPING_NO_RANGE"),alvqa:t.alvqa+"-textfield-shipping-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CreditNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_CREDIT_NO_RANGE"),alvqa:t.alvqa+"-textfield-credit-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"StatementNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_STATEMENT_NO_RANGE"),alvqa:t.alvqa+"-textfield-statement-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Ipi",label:t.$t("lang_GENERIC_AZ_CAPTION_IPI"),alvqa:t.alvqa+"-textfield-ipi",iconTooltipText:t.$t("lang_PUBLISHING_GENERIC_TOOLTIP_IPI_FORMATTING")}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterMiddle",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_MIDDLE"),alvqa:t.alvqa+"-textarea-footer-middle"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"InvoicesNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-invoices-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ShippingNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-shipping-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CreditNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-credit-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"StatementNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-statement-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CwrSubmitterCode",label:t.$t("lang_ACCOUNT_COMPANIES_PUBLISHING_COMPANIES_CAPTION_CWR_SUBMITTER_CODE"),alvqa:t.alvqa+"-textfield-cwr-submitter-code"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterRight",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_RIGHT"),alvqa:t.alvqa+"-textarea-footer-right"}})],1)],1)],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"StatementText",rows:"1",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_STATEMENT_TEXT"),alvqa:t.alvqa+"-textarea-statement-text"}})],1)]},proxy:!0}])})},kq=[],Bq={name:"AccountPublishingCompaniesEditPanelDialog",components:{EditingDialog:ho,BaseRegions:Er,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl},data:function(){return{context:"AccountPublishingCompanies",alvqa:"account-publishing-companies-panel-editing-dialog"}},computed:{dropdownCountries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},dropdownAzEntries:function(){var t=this,e=this.$store.getters.getAccountPublishingCompaniesDetailsCompanyAsAzList;if(void 0!==e){var a=JSON.parse(JSON.stringify(e));return a.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-company-as-az-list-"+e.id,e["text"]=e.name+" ("+e.alvId+")",e["value"]=e.id})),a}}},created:function(){this.$store.commit("setCountries")}},$q=Bq,Gq=Object(C["a"])($q,qq,kq,!1,null,null,null),Fq=Gq.exports,Uq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ACCOUNT_COMPANIES_CAPTION_LABELCOMPANIES_PANEL",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"items-per-page":t.itemsPerPage,"header-props":{sortIcon:""},"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",disabled:!1,alvqa:t.alvqa+"-button-add-row"},on:{click:function(e){return t.addNewRow()}}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.companyName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-rights"}},[t._v("\n                    "+t._s(n.companyName)+"\n                ")])]}},{key:"item.inlineEdit",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}},{key:"item.uploadPicture",fn:function(e){var n=e.item;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-icon-upload-picture",icon:"photo",tooltipText:n.logo?"lang_GENERAL_CAPTION_ICON_EDIT_LOGO":"lang_GENERAL_CAPTION_ICON_UPLOAD_LOGO",color:n.logo?"buttonStandard":"standardBrownIcon"},on:{click:function(e){return e.stopPropagation(),t.showImageUploadDialog(n)}}})]}}],null,!0)})]},proxy:!0}])})},Mq=[],Wq={name:"LabelCompaniesEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseInlineEditingDataTable:Tp,BaseButton:wt},data:function(){return{alvqa:"account-companies-edit-form-panel-label-companies"}},computed:{items:function(){return this.$store.getters.getAccountLabelCompanies},headers:function(){return[{text:this.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_COMPANY_NAME"),alvqa:this.alvqa+"header-company-name",align:"left",sortable:!0,value:"companyName",class:"text-no-wrap"},{text:"",value:"uploadPicture",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{addNewRow:function(){this.$store.commit("setShowPayableConfirmationDialog",!0),this.$store.commit("setAddNewLabelCompany",!0)},editInlineFunction:function(t){this.$store.commit("setSelectedAccountLabelCompanies",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setAccountLabelCompaniesEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowAccountLabelCompaniesEditingDialog",!0)},showImageUploadDialog:function(t){this.$store.commit("setImageUploaderContext","AccountLabelCompanies"),null!==t.logo&&this.$store.commit("setImageUploaderImageExists",!0),this.$store.commit("setSelectedAccountLabelCompanies",t),this.$store.commit("setShowImageUploadDialog",!0)}}},jq=Wq,zq=Object(C["a"])(jq,Uq,Mq,!1,null,null,null),Hq=zq.exports,Vq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,maxDialogWidth:"1500",maxCardHeight:"800",snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CompanyName",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_COMPANY_NAME"),rules:"required",alvqa:t.alvqa+"-textfield-company-name"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow1",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_1"),rules:"required",alvqa:t.alvqa+"-textfield-address-row-1"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"AddressRow2",label:t.$t("lang_AZ_PERSONS_CAPTION_ADDRESS_ROW_2"),alvqa:t.alvqa+"-textfield-address-row-2"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"Zip",label:t.$t("lang_AZ_PERSONS_CAPTION_ZIP"),rules:"required",alvqa:t.alvqa+"-textfield-zip"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"City",label:t.$t("lang_AZ_PERSONS_CAPTION_CITY"),rules:"required",alvqa:t.alvqa+"-textfield-city"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"State",label:t.$t("lang_AZ_PERSONS_CAPTION_STATE"),alvqa:t.alvqa+"-textfield-state"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"Country",rules:"required",items:t.dropdownCountries,label:t.$t("lang_AZ_PERSONS_CAPTION_COUNTRY"),alvqa:t.alvqa+"-textfield-country"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"StatementText",rows:"3",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_STATEMENT_TEXT"),alvqa:t.alvqa+"-textarea-statement-text"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"SenderRow",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_SENDER_ROW"),rules:"required",alvqa:t.alvqa+"-textfield-sender-row"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaLicenseeNumber",label:t.$t("lang_ACCOUNT_COMPANIES_LABEL_COMPANIES_GEMA_LICENSEE_NO"),rules:"numeric",alvqa:t.alvqa+"-textfield-gema-licensee-number"}})],1),a("v-row",[a("v-col",{staticClass:"pt-0 pl-0 pb-0"},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaTasAudio",label:t.$t("lang_ACCOUNT_COMPANIES_LABEL_COMPANIES_GEMA_TAS_AUDIO"),alvqa:t.alvqa+"-textfield-gema-tas-audio"}})],1),a("v-col",{staticClass:"pt-0 pl-0 pb-0"},[a("BaseEditPageTextField",{attrs:{context:t.context,field:"GemaTasVideo",label:t.$t("lang_ACCOUNT_COMPANIES_LABEL_COMPANIES_GEMA_TAS_VIDEO"),alvqa:t.alvqa+"-textfield-gema-tas-video"}})],1)],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"VatId",label:t.$t("lang_GENERIC_CAPTION_VAT_ID"),alvqa:t.alvqa+"-textfield-vat-id"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CustomsId",label:t.$t("lang_GENERIC_CAPTION_CUSTOMS_ID"),alvqa:t.alvqa+"-textfield-customs-id"}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterLeft",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_LEFT"),alvqa:t.alvqa+"-textarea-footer-left"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"InvoicesNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_INVOICES_NO_RANGE"),alvqa:t.alvqa+"-textfield-invoices-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ShippingNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_SHIPPING_NO_RANGE"),alvqa:t.alvqa+"-textfield-shipping-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CreditNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_CREDIT_NO_RANGE"),alvqa:t.alvqa+"-textfield-credit-number-range"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"StatementNumberRange",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_STATEMENT_NO_RANGE"),alvqa:t.alvqa+"-textfield-statement-number-range"}})],1),a("v-row",{staticClass:"textfield_placeholder"}),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterMiddle",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_MIDDLE"),alvqa:t.alvqa+"-textarea-footer-middle"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"InvoicesNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-invoices-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"ShippingNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-shipping-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"CreditNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-credit-next-value"}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{context:t.context,field:"StatementNextValue",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_NEXT_VALUE"),alvqa:t.alvqa+"-textfield-statement-next-value"}})],1),a("v-row",{staticClass:"textfield_placeholder"}),a("v-row",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"FooterRight",rows:"5",label:t.$t("lang_GENERIC_ACCOUNT_COMPANIES_CAPTION_FOOTER_RIGHT"),alvqa:t.alvqa+"-textarea-footer-right"}})],1)],1)],1)]},proxy:!0}])})},Yq=[],Kq={name:"AccountLabelCompaniesEditPanelDialog",components:{EditingDialog:ho,BaseRegions:Er,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl},data:function(){return{context:"AccountLabelCompanies",alvqa:"account-label-companies-panel-editing-dialog"}},computed:{dropdownCountries:function(){return this.$alvPlugin.getListOfTranslatedCountries()}},created:function(){this.$store.commit("setCountries")}},Zq=Kq,Xq=(a("5ebf"),Object(C["a"])(Zq,Vq,Yq,!1,null,"666a70ba",null)),Jq=Xq.exports,Qq=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showPayableConfirmationDialog,maxDialogWidth:"500",headline:"lang_GENERIC_DIALOG_HEADLINE_PAYABLE_CONFIRMATION",close:t.closeDialog,alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                    "+t._s(t.$t("lang_GENERIC_DIALOG_TEXT_PAYABLE_CONFIRMATION"))),a("br"),t._v("\n                    "+t._s(t.$t("lang_GENERIC_DIALOG_ENTER_CONFIRMATION_STRING"))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",[a("v-row",[a("v-col",[a("v-text-field",{staticClass:"ml-0 mr-0",attrs:{messages:t.$t(t.errorMessage),depressed:"",label:t.$t("lang_GENERIC_DIALOG_TEXT_PAYABLE"),alvqa:t.alvqa+"-textfield-payable-confirmation"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkUserInput()}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:function(e){return t.checkUserInput()}}})],1)],1)],1)]},proxy:!0}])})},tk=[],ek={name:"PayableConfirmationDialog",components:{BaseDialog:Pt,BaseButton:wt},props:{context:{default:"",type:String},useContextSetinVuex:{default:!1,type:Boolean}},data:function(){return{userInput:"",errorMessage:"",alvqa:"payable-confirmation-dialog",defaultContext:this.$store.getters.getPayableConfirmationDialogContext}},computed:{showPayableConfirmationDialog:{get:function(){return this.$store.getters.getShowPayableConfirmationDialog},set:function(t){this.$store.commit("setShowPayableConfirmationDialog",t)}},contextSetInVuex:{get:function(){return this.$store.getters.getPayableConfirmationDialogContext},set:function(t){this.$store.commit("setPayableConfirmationDialogContext",t)}},addNewPublishingCompany:{get:function(){return this.$store.getters.getAddNewPublishingCompany},set:function(t){this.$store.commit("setAddNewPublishingCompany",t)}},addNewLabelCompany:{get:function(){return this.$store.getters.getAddNewLabelCompany},set:function(t){this.$store.commit("setAddNewLabelCompany",t)}}},methods:{closeDialog:function(){this.showPayableConfirmationDialog=!1,this.userInput="",this.errorMessage="",this.contextSetInVuex=""},checkUserInput:function(){if(this.userInput.toLowerCase().trim()===this.$t("lang_GENERIC_DIALOG_TEXT_PAYABLE")){if(this.closeDialog(),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY")),this.addNewPublishingCompany){this.$store.commit("setShowAccountPublishingCompaniesEditingDialog",!0);var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultAccountPublishingCompanies));this.$store.commit("setAccountPublishingCompaniesEditingDialogDetails",t),this.addNewPublishingCompany=!1}else if(this.addNewLabelCompany){var e=this.$store.getters.getSelectedOverAllCompany.context,a=2==e?"label/releases":"publishing/releases";this.$store.commit("setShippingShippingRowsTitleSearch",a),this.$store.commit("setShippingShippingRowsIsNewSearch",!0),this.$store.commit("setShippingShippingRowsTitleOptions",[]),this.$store.commit("setShowAccountLabelCompaniesEditingDialog",!0),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY"));var n=JSON.parse(JSON.stringify(this.$store.getters.getDefaultShippingShippingRows));this.$store.commit("setShippingShippingRowsEditingDialogDetails",n),this.addNewLabelCompany=!1}}else this.errorMessage="lang_GENERIC_DIALOG_PAYABLE_CONFIRMATION_WRITE_STRING"}}},ak=ek,nk=Object(C["a"])(ak,Qq,tk,!1,null,null,null),ik=nk.exports,sk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ACCOUNT_COMPANIES_CAPTION_INVOICES_PANEL",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.items,"items-per-page":t.itemsPerPage,"header-props":{sortIcon:""},"hide-default-footer":"","no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.type",fn:function(e){var n=e.item;return[a("BaseTooltip",{scopedSlots:t._u([{key:"text",fn:function(){return[t._v(t._s(t.$t(t.getLangOfType(n.type))))]},proxy:!0},{key:"content",fn:function(){return[a("span",{attrs:{alvqa:t.alvqa+"-list-row-"+n.type+"-text-type"}},[t._v("\n                            "+t._s(t.$t(t.getLangOfType(n.type,"abbr")))+"\n                        ")])]},proxy:!0}],null,!0)})]}},{key:"item.date",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-date"}},[t._v("\n                    "+t._s(t.$d(new Date(n.date),"alvDateFormat",t.$i18n.locale))+"\n                ")])]}},{key:"item.period",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-period-of-service"}},[t._v("\n                    "+t._s(t.$d(new Date(t.getPeriodOfService(n)),"alvMonthYearFormat"))+"\n                ")])]}},{key:"item.forYear",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-for-year"}},[t._v("\n                    "+t._s(n.forYear)+"\n                ")])]}},{key:"item.invoiceNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-invoice-number"}},[t._v("\n                    "+t._s(n.invoiceNumber)+"\n                ")])]}},{key:"item.amountGross",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-amount-gross"}},[t._v("\n                    "+t._s(t.$n(n.amountGross,"number"))+"\n                ")])]}},{key:"item.downloadLink",fn:function(e){var n=e.item;return[null!==n.downloadLink?a("BaseIcon",{attrs:{icon:"cloud_download",tooltipText:"lang_GENERAL_CAPTION_ICON_DOWNLOAD",alvqa:t.alvqa+"-invoices-"+n.id+"-icon-download"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(n.downloadLink)}}}):t._e()]}}],null,!0)})]},proxy:!0}])})},rk=[],lk={name:"InvoicesEditPanel",components:{BasePanel:vi,BaseIcon:N,BaseInlineEditingDataTable:Tp,BaseButton:wt,BaseTooltip:T,DropdownErpInvoicesType:ua},data:function(){return{alvqa:"account-companies-edit-form-panel-invoices"}},computed:{items:function(){return this.$store.getters.getAccountInvoices},headers:function(){return[{text:this.$t("lang_ACCOUNT_COMPANIES_INVOICES_CAPTION_TYPE"),alvqa:this.alvqa+"header-type",value:"type",align:"left",sortable:!1,width:"50px"},{text:this.$t("lang_ACCOUNT_COMPANIES_INVOICES_CAPTION_DATE"),alvqa:this.alvqa+"header-date",value:"date",align:"left",sortable:!1,width:"90px"},{text:this.$t("lang_ERP_INVOICES_CAPTION_PERIOD_OF_SERVICE"),alvqa:this.alvqa+"header-period-of-service",align:"right",width:"180px",sortable:!1,value:"period"},{text:this.$t("lang_ACCOUNT_COMPANIES_INVOICES_CAPTION_INVOICE_NUMBER"),alvqa:this.alvqa+"header-invoiceNumber",align:"left",width:"160px",sortable:!1,value:"invoiceNumber"},{text:this.$t("lang_ACCOUNT_COMPANIES_INVOICES_CAPTION_AMOUNT_GROSS"),alvqa:this.alvqa+"header-amountGross",align:"right",width:"140px",sortable:!1,value:"amountGross"},{text:this.$t("lang_ACCOUNT_COMPANIES_INVOICES_CAPTION_DOWNLOAD_LINK"),alvqa:this.alvqa+"header-downloadLink",align:"left",width:"150px",sortable:!1,value:"downloadLink"},{text:"",value:"ghost",sortable:!1,width:"50%",class:"text-no-wrap"}]},itemsPerPage:function(){return this.$store.getters.getItemsPerPage}},methods:{getLangOfType:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return ua.find((function(e){return e.value==t}))[e]},getPeriodOfService:function(t){return t.forYear+"-"+t.forMonth},downloadFile:function(t){k$.getFileFromALV(t)}},created:function(){this.$store.dispatch("fetchAccountInvoices")}},ok=lk,ck=(a("eb57"),Object(C["a"])(ok,sk,rk,!1,null,null,null)),uk=ck.exports,dk={name:"CompaniesEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,PayableConfirmationDialog:ik,PublishingCompaniesPanel:yq,PublishingCompaniesEditPanelDialog:Fq,LabelCompaniesPanel:Hq,LabelCompaniesEditPanelDialog:Jq,ImageUploadDialog:EP,InvoicesPanel:uk},data:function(){return{context:"Account",alvqa:"account-companies-edit-form"}},computed:{dropdownFormalSalutation:function(){return Ga},dropdownRoles:function(){return Fa},dropdownLanguages:function(){return ha},dropdownCurrencies:function(){return ia},dropdownNumberFormats:function(){return Ua},dropdownCountries:function(){return this.$alvPlugin.getListOfTranslatedCountries()},dropdownSocieties:function(){var t=this,e=this.$store.getters.getSocieties;return e.forEach((function(e){e["alvqa"]=t.alvqa+"-dropdown-society-"+e.value})),e.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),e},storageInfo:function(){var t=this.$n(this.$store.getters.getAccountDetailsStorageUsed,"number"),e=this.$store.getters.getAccountDetailsStorageAvailable;return t+" MB "+this.$t("lang_GENERIC_CAPTION_OF")+" "+e}},methods:{openPayableConfirmationDialog:function(t){"publishing-company"===t.companyType&&this.$store.commit("setPayableConfirmationDialogText","lang_ACCOUNT_COMPANIES_DIALOG_ADD_PUBLISHING_COMPANY"),elseif("label-company"===t.companyType),this.$store.commit("setPayableConfirmationDialogText","lang_ACCOUNT_COMPANIES_DIALOG_ADD_LABEL_COMPANY"),this.$store.commit("setSelectedPayableConfirmation",t),this.$store.commit("setShowPayableConfirmationDialog",!0)}},created:function(){this.$store.commit("setSocieties"),this.$store.commit("setCountries")}},gk=dk,pk=Object(C["a"])(gk,Dq,Nq,!1,null,null,null),vk=pk.exports,_k=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("A6BackgroundImageUploadDialog",{attrs:{item:t.currentItem}}),a("ValidationObserver",{ref:"settings",scopedSlots:t._u([{key:"default",fn:function(e){var n=e.passes;return[a("v-row",[a("v-col",{staticClass:"headline d-flex justify-start",attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n                "+t._s(t.$t("lang_ACCOUNT_SETTINGS"))+"\n            ")]),a("v-spacer"),a("v-col",{staticClass:"d-flex justify-end"},[a("BaseButton",{staticClass:"mb-4",attrs:{label:"lang_GENERAL_BUTTON_SAVE",alvqa:"account-settings-button-save"},on:{click:function(e){return n(t.save)}}})],1)],1),a("v-expansion-panels",{attrs:{multiple:""}},t._l(t.getPanels,(function(e,n){return a("BasePanel",{key:n,attrs:{headline:e,alvqa:t.alvqa+"-"+n},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},t._l(t.companySettings(e),(function(e,n){return a("div",{key:n},t._l(e,(function(e,n){return a("v-row",{key:n,attrs:{id:"settings-"+e.id}},[a("v-col",{attrs:{cols:"3"}},["0"===e.topic?a("div",{attrs:{id:"name-"+e.id,alvqa:t.alvqa+"-"+e.id+"-topic"}},[t._v("\n                                        "+t._s(t.$t(e.name))+"\n                                    ")]):a("div",{attrs:{id:"name-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-topic"}},[t._v("\n                                        "+t._s(t.$t(e[0].name))+"\n                                    ")])]),a("v-col",[a("v-row",{staticClass:"pr-3 pt-3"},["0"===e.topic?a("div",{attrs:{id:"description-"+e.id,alvqa:t.alvqa+"-"+e.id+"-description"}},[t._v("\n                                            "+t._s(t.$t(e.description))+"\n                                        ")]):a("div",{attrs:{id:"description-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-description"}},[t._v("\n                                            "+t._s(t.$t(e[0].description))+"\n                                        ")])]),"0"===e.topic?a("v-row",[a("v-col",{staticClass:"pb-4",attrs:{cols:"7"}},["0"===e.type?a("div",[a("v-row",{staticClass:"pt-0 mt-0"},[a("v-col",{staticClass:"pt-0 mt-0 pb-0",attrs:{cols:"10"}},["lang_UNIT_PT"===e.option1?a("SettingsDropdown",{attrs:{item:e,options:t.getFontSizes,clearable:!0,id:"dropdown-"+e.id,alvqa:t.alvqa+"-"+e.id+"-dropdown"}}):a("SettingsTextfield",{attrs:{item:e,alvqa:t.alvqa+"-"+e.id+"-textfield"}})],1),""!==e.option1?a("v-col",{staticClass:"mt-2 mr-5",attrs:{cols:"1",alvqa:t.alvqa+"-"+e.id+"-metric-unit"}},[t._v(t._s(t.$t(e.option1)))]):t._e()],1)],1):t._e(),"1"===e.type?a("div",[a("SettingsDropdown",{attrs:{item:e,options:t.getOptions(e),id:"dropdown-"+e.id,alvqa:t.alvqa+"-"+e.id+"-dropdown"}})],1):t._e(),"2"===e.type?a("div",[a("SettingsCheckbox",{attrs:{item:e,label:t.$t(e.option1),id:"checkbox-"+e.id,alvqa:t.alvqa+"-"+e.id+"-checkbox"}})],1):t._e(),"3"===e.type?a("div",[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_UPLOAD_FILE",id:"upload-"+e.id,alvqa:t.alvqa+"-"+e.id+"-button-upload"},on:{click:function(a){return t.openA6BackgroundImageUploadDialog(e)}}}),null!==e.value?a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERAL_CAPTION_DELETE_FILE",id:"delete-"+e.id,alvqa:t.alvqa+"-"+e.id+"-icon-delete"},on:{click:function(a){return t.deleteA6BackgroundImage(e)}}}):t._e()],1):t._e(),"4"===e.type?a("div",[a("v-row",{staticClass:"pt-0 mt-0"},[a("v-col",{staticClass:"pt-0 mt-0"},[a("font-picker",{attrs:{"api-key":"AIzaSyCcaOvfhD8FjLAYHnfs8mwALP3lY-go8E4","active-font":null!==e.value?e.value:e.default,options:{limit:200,name:e.id,variants:["regular","700"]},alvqa:t.alvqa+"-"+e.id+"-dropdown-font-picker"},on:{change:function(a){return t.changeFont(a,e)}}})],1),a("v-col",{class:"apply-font-"+e.id,attrs:{cols:"2",alvqa:t.alvqa+"-"+e.id+"-dropdown-font-picker-preview"}},[t._v("\n                                                        "+t._s(t.$t(e.option1))+"\n                                                    ")])],1)],1):t._e()])],1):"1"===e[0].topic?a("v-row",[a("v-col",[a("v-row",[a("v-col",{attrs:{cols:"5",id:"header-name-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-header-name"}},[t._v("\n                                                    "+t._s(t.$t("lang_ACCOUNT_SETTINGS_CAPTION_NAME"))+"\n                                                ")]),a("v-col",{attrs:{cols:"1",id:"header-excel-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-header-excel"}},[t._v("\n                                                    "+t._s(t.$t("lang_GENERAL_CAPTION_EXCEL"))+"\n                                                ")]),a("v-col",{attrs:{id:"header-pdf"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-header-pdf"}},[t._v("\n                                                    "+t._s(t.$t("lang_GENERAL_CAPTION_PDF"))+"\n                                                ")])],1),t._l(t.topicOneValues(e),(function(n,i,s){return a("v-row",{key:s},[a("v-col",{attrs:{cols:"5",id:"row-name-"+n.excelOption.id+"-"+n.pdfOption.id,alvqa:t.alvqa+"-"+e[0].id+"-option-"+s}},[t._v("\n                                                    "+t._s(t.$t(i))+"\n                                                ")]),a("v-col",{attrs:{cols:"1",alvqa:t.alvqa+"-"+e[0].id+"-excel-checkbox-"+s}},[a("SettingsCheckbox",{attrs:{item:n.excelOption,id:"checkbox-excel-"+n.excelOption.id,alvqa:t.alvqa+"-"+e[0].id+"-excel-checkbox-"+s}})],1),a("v-col",{attrs:{alvqa:t.alvqa+"-"+e[0].id+"-pdf-checkbox-"+s}},[a("SettingsCheckbox",{attrs:{item:n.pdfOption,id:"checkbox-pdf-"+n.pdfOption.id,alvqa:t.alvqa+"-"+e[0].id+"-checkbox-"+s}})],1)],1)}))],2)],1):"2"===e[0].topic?a("v-row",[a("v-col",[a("v-row",[a("v-col",{attrs:{cols:"5",id:"header-column-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-header-column"}},[t._v("\n                                                    "+t._s(t.$t("lang_ACCOUNT_SETTINGS_CAPTION_COLUMN"))+"\n                                                ")]),a("v-col",{attrs:{id:"header-show-"+e[0].id,alvqa:t.alvqa+"-"+e[0].id+"-header-show"}},[t._v("\n                                                    "+t._s(t.$t("lang_ACCOUNT_SETTINGS_CAPTION_SHOW"))+"\n                                                ")])],1),t._l(e,(function(e,n){return a("v-row",{key:n},[a("v-col",{attrs:{cols:"5",id:"row-name-"+e.id,alvqa:t.alvqa+"-"+e.id+"-option-"+n}},[t._v("\n                                                    "+t._s(t.$t(e.option1).replace(/{CURRENCY}/gi,(function(e){return{"{CURRENCY}":t.$store.getters.getSelectedCurrency}[e]})))+"\n                                                ")]),a("v-col",{attrs:{alvqa:t.alvqa+"-"+e.id+"-checkbox-"+n}},[a("SettingsCheckbox",{attrs:{item:e,id:"checkbox-show-"+e.id,alvqa:t.alvqa+"-"+e.id+"-checkbox-"+n}})],1)],1)}))],2)],1):t._e()],1)],1)})),1)})),0)]},proxy:!0}],null,!0)})})),1)]}}])})],1)},hk=[],mk=a("e71f"),fk=a.n(mk),Sk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-checkbox",{staticClass:"pa-0 ma-0",attrs:{"input-value":t.getValue,label:t.label,"hide-details":"",id:t.id,disabled:"1"===t.item.readonly,alvqa:t.alvqa},on:{change:function(e){return t.changeValue(e,t.item)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("div",{staticStyle:{"margin-top":"2px"},attrs:{alvqa:t.alvqa+"-label"}},[t._v("\n                "+t._s(t.label)+"\n        ")])]},proxy:!0}])})},Ek=[],Ik={name:"SettingsCheckbox",props:{item:Object,label:String,id:String,alvqa:String},computed:{getValue:function(){return"1"===this.item.readonly?(this.changeValue(this.item.default,this.item),"1"===this.item.default):null===this.item.value?"1"===this.item.default:"1"===this.item.value}},methods:{changeValue:function(t,e){e.value=!0===t?"1":"0"}}},Ck=Ik,Ak=Object(C["a"])(Ck,Sk,Ek,!1,null,null,null),Tk=Ak.exports,bk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-select",{attrs:{value:null!==t.item.value?t.item.value:t.item.default,items:t.options,label:t.$t(t.item.name),"hide-details":"",clearable:t.clearable,id:t.id,alvqa:t.alvqa,disabled:"1"===t.item.readonly,"menu-props":"offset-y, offset-overflow"},on:{change:function(e){return t.changeValue(e,t.item)}},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-option-"+n.value}},[t._v("\n            "+t._s("object"===typeof n?n.text:n)+"\n        ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-no-wrap text-truncate",attrs:{alvqa:t.alvqa+"-selection"}},[t._v("\n            "+t._s("object"===typeof n?n.text:n)+"\n        ")])]}}])})},Pk=[],Dk={name:"SettingsDropdown",props:{item:Object,options:Array,clearable:Boolean,id:String,alvqa:String},methods:{changeValue:function(t,e){e.value=t}}},Nk=Dk,Rk=Object(C["a"])(Nk,bk,Pk,!1,null,null,null),xk=Rk.exports,Ok=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ValidationProvider",{attrs:{name:"textfield",rules:t.checkForValidation(t.item),slim:""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[a("v-text-field",{attrs:{value:null!==t.item.value?t.item.value:t.item.default,label:t.$t(t.item.name),id:"textfield-"+t.item.id,"error-messages":n,alvqa:t.alvqa},on:{change:function(e){return t.changeValue(e,t.item)}}})]}}])})},wk=[],Lk={name:"SettingsTextfield",props:{item:Object,alvqa:String},methods:{changeValue:function(t,e){e.value=t},checkForValidation:function(t){if(""===t.validation)return t.validation;var e=t.validation.split(" "),a=e.join("|");return a}}},yk=Lk,qk=Object(C["a"])(yk,Ok,wk,!1,null,null,null),kk=qk.exports,Bk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showUploadDialog,headline:"lang_GENERAL_CAPTION_UPLOAD_FILE",close:t.closeUploadDialog,maxDialogWidth:"600",maxCardHeight:"500",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-text"},domProps:{innerHTML:t._s(t.dialogText)}})],1)]},proxy:!0},{key:"actionsWithValidation",fn:function(){return[t.showUploadActions?a("v-card-actions",{staticClass:"pt-0 pb-0 pr-6 pl-6"},[a("v-container",{attrs:{fluid:""}},[a("v-form",{model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[a("v-row",[a("v-col",{staticClass:"pl-0",attrs:{cols:"7"}},[a("v-file-input",{attrs:{label:t.$t("lang_GENERAL_BUTTON_UPLOAD_FILE"),rules:t.rules,"show-size":"",alvqa:t.alvqa+"-file-input"},on:{change:function(e){t.fileExt=t.$alvPlugin.extractFileExt(t.file)},"click:clear":function(e){return t.resetVal()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),a("v-spacer"),a("v-col",{staticClass:"text-right",attrs:{"align-self":"center"}},[a("BaseButton",{attrs:{disabled:!t.valid||!t.file,label:"lang_GENERAL_BUTTON_UPLOAD_FILE",alvqa:t.alvqa+"-button-upload"},on:{click:t.submitFile}})],1)],1)],1)],1)],1):t._e()]},proxy:!0}])})},$k=[],Gk={name:"A6BackgroundImageUploadDialog",components:{BaseDialog:Pt,BaseButton:wt},props:{item:Object},data:function(){var t=this;return{showCloseButton:!1,showUploadActions:!0,file:null,dialogText:"",valid:!1,rules:[function(e){return!e||t.isA6BackgroundFileExtAccepted()||t.$t("lang_GENERAL_DIALOG_TEXT_INVALID_FORMAT")}],formData:new FormData,fileExt:"",alvqa:"account-settings-dialog-a6-background-image"}},computed:{showUploadDialog:{get:function(){return this.$store.getters.getShowUploadDialog},set:function(t){this.$store.commit("setShowUploadDialog",t)}}},methods:{closeUploadDialog:function(){this.showUploadDialog=!1,this.showCloseButton=!1,this.showUploadActions=!0,this.dialogText=this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" "+this.$t("lang_ACCOUNT_SETTINGS_DIALOG_BACKGROUND_FILE_A6")+". <br />"+this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE").replace("<join>","JPG/PNG"),this.file=null},submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.$store.getters.getSelectedOverAllCompany.context,this.formData.append("file",this.file),this.showUploadActions=!1,this.dialogText=this.$t("lang_GENERAL_FILE_UPLOAD_DIALOG_TEXT_FILE_IS_BEING_UPLOADED"),t.next=6,this.$store.dispatch("uploadA6BackgroundImage",{file:this.formData,item:this.item});case 6:a=t.sent,-1===a.error?(this.dialogText=this.$t(a.txt),this.showCloseButton=!0,1===e?this.$store.dispatch("fetchPublishingSettings"):this.$store.dispatch("fetchLabelSettings")):(this.file=null,this.dialogText=a.errorMsg),this.dialogText+="<br />"+this.$t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG");case 9:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),isA6BackgroundFileExtAccepted:function(){return"pdf"===this.fileExt||"jpg"===this.fileExt||"png"===this.fileExt},resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},created:function(){this.dialogText=this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" "+this.$t("lang_ACCOUNT_SETTINGS_DIALOG_BACKGROUND_FILE_A6")+". <br />"+this.$t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE").replace("<join>","JPG/PNG")}},Fk=Gk,Uk=Object(C["a"])(Fk,Bk,$k,!1,null,null,null),Mk=Uk.exports,Wk={name:"Settings",components:{BaseIcon:N,BasePanel:vi,BaseButton:wt,FontPicker:fk.a,SettingsCheckbox:Tk,SettingsDropdown:xk,SettingsTextfield:kk,A6BackgroundImageUploadDialog:Mk},data:function(){return{currentItem:{},alvqa:"account-settings"}},computed:{publishingSettings:{get:function(){return this.$store.getters.getPublishingSettings},set:function(t){this.$store.commit("setPublishingSettings",t)}},labelSettings:{get:function(){return this.$store.getters.getLabelSettings},set:function(t){this.$store.commit("setLabelSettings",t)}},selectedCompany:{get:function(){return this.$store.getters.getSelectedOverAllCompany},set:function(t){this.$store.commit("setSelectedOverAllCompany",t)}},showUploadDialog:{get:function(){return this.$store.getters.getShowUploadDialog},set:function(t){this.$store.commit("setShowUploadDialog",t)}},publishingPanels:function(){return Object.keys(this.publishingSettings)},labelPanels:function(){return Object.keys(this.labelSettings)},getFontSizes:function(){return["7","8","9","10","11","12","13","14","15","16","18","20","24","30","36","48","64"]},getPanels:function(){return 1===this.selectedCompany.context?this.publishingPanels:this.labelPanels}},methods:{companySettings:function(t){return 1===this.selectedCompany.context?this.publishingSettings[t]:this.labelSettings[t]},getOptions:function(t){var e=[];return""!==t.option1&&e.push({text:this.$t(t.option1),value:"0"}),""!==t.option2&&e.push({text:this.$t(t.option2),value:"1"}),""!==t.option3&&e.push({text:this.$t(t.option3),value:"2"}),e},topicOneValues:function(t){var e={},a="";return t.forEach((function(t){a="0"===t.topic_parameter?"excelOption":"pdfOption",void 0===e[t.option1]&&(e[t.option1]={}),e[t.option1][a]=t})),e},changeFont:function(t,e){e.value=t.family},deleteA6BackgroundImage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("deleteA6BackgroundImage",{companyId:e.company,companyContext:this.selectedCompany.context,settingId:e.id});case 2:a=t.sent,-1===a.error?(this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_ACCOUNT_SETTINGS_SNACKBAR_IMAGE_DELETED")}),1===this.selectedCompany.context?this.$store.dispatch("fetchPublishingSettings"):this.$store.dispatch("fetchLabelSettings")):this.$store.commit("setSnackbar",{type:"error",msg:this.$t("lang_ACCOUNT_SETTINGS_SNACKBAR_IMAGE_NOT_DELETED")});case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),openA6BackgroundImageUploadDialog:function(t){this.currentItem=t,this.showUploadDialog=!0},save:function(){1===this.selectedCompany.context?this.$store.dispatch("saveSettings",this.publishingSettings):this.$store.dispatch("saveSettings",this.labelSettings)}},created:function(){1===this.selectedCompany.context?this.$store.dispatch("fetchPublishingSettings"):this.$store.dispatch("fetchLabelSettings")}},jk=Wk,zk=Object(C["a"])(jk,_k,hk,!1,null,null,null),Hk=zk.exports,Vk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("ChangeModulStatusDialog"),a("v-row",[a("v-col",{staticClass:"headline",attrs:{cols:"11",alvqa:t.alvqa+"-title"}},[t._v("\n            "+t._s(t.$t("lang_ACCOUNT_MODULES"))+"\n        ")])],1),a("v-expansion-panels",{attrs:{multiple:""}},[a("SvWorkRegistrationModulePanel",{attrs:{headers:t.headers,openChangeStatusDialogFunction:t.openChangeStatusDialog}}),a("CwrExportModulePanel",{attrs:{headers:t.headers,openChangeStatusDialogFunction:t.openChangeStatusDialog}}),a("NdaSupportModulePanel",{attrs:{headers:t.headers,openChangeStatusDialogFunction:t.openChangeStatusDialog}}),a("AlvVaultModulePanel",{attrs:{headers:t.headers,openChangeStatusDialogFunction:t.openChangeStatusDialog}}),a("DigitalDistributionModulePanel",{attrs:{headers:t.headers,openChangeStatusDialogFunction:t.openChangeStatusDialog}})],1)],1)},Yk=[],Kk=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseDialog",{attrs:{showDialog:t.showDialog,headline:"lang_ACCOUNT_MODULES_DIALOG_CAPTION_CHANGE_BOOKING",close:t.close,persistent:"",alvqa:t.alvqa},scopedSlots:t._u([{key:"dialogText",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-dialog-text"}},[t._v("\n                    "+t._s(t.$t(t.dialogText))+"\n                ")])],1)],1)]},proxy:!0},{key:"dialogActions",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-spacer"),a("v-col",{staticClass:"text-right"},[a("BaseButton",{attrs:{label:"lang_GENERAL_CONFIRM",alvqa:t.alvqa+"-button-confirm"},on:{click:t.confirm}})],1)],1)],1)]},proxy:!0}])})},Zk=[],Xk={name:"ChangeModulStatusDialog",components:{BaseDialog:Pt,BaseButton:wt},data:function(){return{alvqa:"account-module-dialog-change-status"}},computed:{showDialog:{get:function(){return this.$store.getters.getShowChangeModulStatusDialog},set:function(t){this.$store.commit("setShowChangeModulStatusDialog",t)}},dialogText:function(){return this.$store.getters.getChangeModulStatusDialogText}},methods:{close:function(){var t=this.$store.getters.getSelectedModul;t.status=!t.status,this.$store.commit("setSelectedModul",{}),this.showDialog=!1},confirm:function(){this.$store.dispatch("saveModule"),this.showDialog=!1}}},Jk=Xk,Qk=Object(C["a"])(Jk,Kk,Zk,!1,null,null,null),tB=Qk.exports,eB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.panelDetails[0]["title"],alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-description"}},[t._v("\n                    "+t._s(t.$t(t.panelDetails[0]["description"]))+"\n                ")])],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.panelDetails,"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-status"}},[a("v-checkbox",{staticClass:"mt-0",attrs:{"hide-details":"",disabled:t.getDisabledStatus(n.disabled)},on:{change:function(e){return t.openChangeStatusDialogFunction(n)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",staticStyle:{"font-size":"0.875rem !important"},attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                                            "+t._s(0===n.status||!1===n.status?t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_ACTIVATE_NOW"):t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_BOOKED"))+"\n                                        ")])]},proxy:!0}],null,!0),model:{value:n.status,callback:function(e){t.$set(n,"status",e)},expression:"item.status"}})],1)]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-price"}},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(n.price,"number"))+"\n                            ")])]}},{key:"item.patronage",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-patronage"}},[t._v("\n                                "+t._s(t.$t(n.patronage))+"\n                            ")])]}},{key:"item.paymentCycle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}},[t._v("\n                                "+t._s(t.$t(n.paymentCycle))+"\n                            ")])]}},{key:"item.bookedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-booked-on"}},[t._v("\n                                "+t._s(null===n.bookedOn?n.bookedOn:t.$d(new Date(n.bookedOn),"alvDateFormat"))+" \n                            ")])]}},{key:"item.minimumPeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-minimum-period"}},[t._v("\n                                    "+t._s(t.getMinimumPeriod(n.minimumPeriod))+"\n                                    "+t._s(null===n.expiresOn?"":"("+t.$d(new Date(n.expiresOn),"alvDateFormat")+")")+"\n                                ")])]}},{key:"item.link",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-information"}},[a("a",{attrs:{href:n.link,target:"_blank"}},[t._v(t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_CLICK_HERE")))])])]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},aB=[],nB={name:"SvWorkRegistrationPanel",components:{BasePanel:vi},props:{headers:Array,openChangeStatusDialogFunction:{type:Function,default:function(){}}},data:function(){return{alvqa:"account-modules-sv-work-registration-panel"}},computed:{panelDetails:function(){return[this.$store.getters.getSvWorkRegistrationModulePanelDetails]}},methods:{getDisabledStatus:function(t){return null!==t},getMinimumPeriod:function(t){var e=t.split(" "),a=e[0]+" "+this.$t(e[1]);return a}}},iB=nB,sB=(a("7fa1"),Object(C["a"])(iB,eB,aB,!1,null,null,null)),rB=sB.exports,lB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.panelDetails[0]["title"],alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-description"}},[t._v("\n                    "+t._s(t.$t(t.panelDetails[0]["description"]))+"\n                ")])],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.panelDetails,"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-status"}},[a("v-checkbox",{staticClass:"mt-0",attrs:{"hide-details":"",disabled:t.getDisabledStatus(n.disabled)},on:{change:function(e){return t.openChangeStatusDialogFunction(n)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",staticStyle:{"font-size":"0.875rem !important"},attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                                            "+t._s(0===n.status||!1===n.status?t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_ACTIVATE_NOW"):t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_BOOKED"))+"\n                                        ")])]},proxy:!0}],null,!0),model:{value:n.status,callback:function(e){t.$set(n,"status",e)},expression:"item.status"}})],1)]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-price"}},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(n.price,"number"))+"\n                            ")])]}},{key:"item.patronage",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-patronage"}},[t._v("\n                                "+t._s(t.$t(n.patronage))+"\n                            ")])]}},{key:"item.paymentCycle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}},[t._v("\n                                "+t._s(t.$t(n.paymentCycle))+"\n                            ")])]}},{key:"item.bookedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-booked-on"}},[t._v("\n                                "+t._s(null===n.bookedOn?n.bookedOn:t.$d(new Date(n.bookedOn),"alvDateFormat"))+" \n                            ")])]}},{key:"item.minimumPeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-minimum-period"}},[t._v("\n                                    "+t._s(t.getMinimumPeriod(n.minimumPeriod))+"\n                                    "+t._s(null===n.expiresOn?"":"("+t.$d(new Date(n.expiresOn),"alvDateFormat")+")")+"\n                                ")])]}},{key:"item.link",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-information"}},[a("a",{attrs:{href:n.link,target:"_blank"}},[t._v(t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_CLICK_HERE")))])])]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},oB=[],cB={name:"CwrExportPanel",components:{BasePanel:vi},props:{headers:Array,openChangeStatusDialogFunction:{type:Function,default:function(){}}},data:function(){return{alvqa:"account-modules-cwr-export-panel"}},computed:{panelDetails:function(){return[this.$store.getters.getCwrExportModulePanelDetails]}},methods:{getDisabledStatus:function(t){return null!==t},getMinimumPeriod:function(t){var e=t.split(" "),a=e[0]+" "+this.$t(e[1]);return a}}},uB=cB,dB=(a("36b4"),Object(C["a"])(uB,lB,oB,!1,null,null,null)),gB=dB.exports,pB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.panelDetails[0]["title"],alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-description"}},[t._v("\n                    "+t._s(t.$t(t.panelDetails[0]["description"]))+"\n                ")])],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.panelDetails,"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-status"}},[a("v-checkbox",{staticClass:"mt-0",attrs:{"hide-details":"",disabled:t.getDisabledStatus(n.disabled)},on:{change:function(e){return t.openChangeStatusDialogFunction(n)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",staticStyle:{"font-size":"0.875rem !important"},attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                                            "+t._s(0===n.status||!1===n.status?t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_APPLY_NOW"):t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_ACTIVATED"))+"\n                                        ")])]},proxy:!0}],null,!0),model:{value:n.status,callback:function(e){t.$set(n,"status",e)},expression:"item.status"}})],1)]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-price"}},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(n.price,"number"))+"\n                            ")])]}},{key:"item.patronage",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-patronage"}},[t._v("\n                                "+t._s(t.$t(n.patronage))+"\n                            ")])]}},{key:"item.paymentCycle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}},[t._v("\n                                "+t._s(t.$t(n.paymentCycle))+"\n                            ")])]}},{key:"item.bookedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-booked-on"}},[t._v("\n                                "+t._s(null===n.bookedOn?n.bookedOn:t.$d(new Date(n.bookedOn),"alvDateFormat"))+" \n                            ")])]}},{key:"item.minimumPeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-minimum-period"}},[t._v("\n                                    "+t._s(t.getMinimumPeriod(n.minimumPeriod))+"\n                                    "+t._s(null===n.expiresOn?"":"("+t.$d(new Date(n.expiresOn),"alvDateFormat")+")")+"\n                                ")])]}},{key:"item.link",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-information"}},[a("a",{attrs:{href:n.link,target:"_blank"}},[t._v(t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_CLICK_HERE")))])])]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},vB=[],_B={name:"NdaSupportPanel",components:{BasePanel:vi},props:{headers:Array,openChangeStatusDialogFunction:{type:Function,default:function(){}}},data:function(){return{alvqa:"account-modules-nda-support-panel"}},computed:{panelDetails:function(){return[this.$store.getters.getNdaSupportModulePanelDetails]}},methods:{getDisabledStatus:function(t){return null!==t},getMinimumPeriod:function(t){var e=t.split(" "),a=e[0]+" "+this.$t(e[1]);return a}}},hB=_B,mB=(a("1a1a"),Object(C["a"])(hB,pB,vB,!1,null,null,null)),fB=mB.exports,SB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.panelDetails[0]["title"],alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-description"}},[t._v("\n                    "+t._s(t.$t(t.panelDetails[0]["description"]))+"\n                ")])],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.panelDetails,"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-status"}},[a("v-checkbox",{staticClass:"mt-0",attrs:{"hide-details":"",disabled:t.getDisabledStatus(n.disabled)},on:{change:function(e){return t.openChangeStatusDialogFunction(n)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",staticStyle:{"font-size":"0.875rem !important"},attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                                            "+t._s(0===n.status||!1===n.status?t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_ACTIVATE_NOW"):t.$t("lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_BOOKED"))+"\n                                        ")])]},proxy:!0}],null,!0),model:{value:n.status,callback:function(e){t.$set(n,"status",e)},expression:"item.status"}})],1)]}},{key:"item.price",fn:function(e){var n=e.item;return[a("v-select",{staticClass:"text-right",attrs:{items:t.getStorageOptions(n.storageOptionDb),"menu-props":"offset-y"},scopedSlots:t._u([{key:"item",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:t.alvqa+"-price-dropdown-"+n.value}},[t._v("\n                                        "+t._s(n.text)+"\n                                    ")])]}},{key:"selection",fn:function(e){var n=e.item;return[a("span",{attrs:{alvqa:t.alvqa+"-price-dropdown-"+n.value}},[t._v("\n                                        "+t._s(n.text)+"\n                                    ")])]}}],null,!0),model:{value:n.selectedStorageOption,callback:function(e){t.$set(n,"selectedStorageOption",e)},expression:"item.selectedStorageOption"}})]}},{key:"item.patronage",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-patronage"}},[t._v("\n                                "+t._s(t.$t(n.patronage))+"\n                            ")])]}},{key:"item.paymentCycle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}},[t._v("\n                                "+t._s(t.$t(n.paymentCycle))+"\n                            ")])]}},{key:"item.bookedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-booked-on"}},[t._v("\n                                "+t._s(null===n.bookedOn?n.bookedOn:t.$d(new Date(n.bookedOn),"alvDateFormat"))+" \n                            ")])]}},{key:"item.minimumPeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-minimum-period"}},[t._v("\n                                "+t._s(t.getMinimumPeriod(n.minimumPeriod))+"\n                                "+t._s(null===n.expiresOn?"":"("+t.$d(new Date(n.expiresOn),"alvDateFormat")+")")+"\n                            ")])]}},{key:"item.link",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-information"}},[a("a",{attrs:{href:n.link,target:"_blank"}},[t._v(t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_CLICK_HERE")))])])]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},EB=[],IB={name:"AlvVaultModulePanel",components:{BasePanel:vi},props:{headers:Array,openChangeStatusDialogFunction:{type:Function,default:function(){}}},data:function(){return{alvqa:"account-modules-alv-vault-panel"}},computed:{panelDetails:function(){return[this.$store.getters.getAlvVaultModulePanelDetails]}},methods:{getDisabledStatus:function(t){return null!==t},getMinimumPeriod:function(t){var e=t.split(" "),a=e[0]+" "+this.$t(e[1]);return a},getStorageOptions:function(t){for(var e=this,a=[],n=function(){var t=Object(rt["a"])(s[i],2),n=(t[0],t[1]),r=e.$t("lang_MODULES_STORAGE_OPTION").replace(/<storage_limit>|<price>/gi,(function(t){return{"<storage_limit>":n.storage_limit,"<price>":e.$n(n.price,"number")}[t]})),l={value:n.id,text:r};a.push(l)},i=0,s=Object.entries(t);i<s.length;i++)n();return a}}},CB=IB,AB=(a("db1c"),Object(C["a"])(CB,SB,EB,!1,null,null,null)),TB=AB.exports,bB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.panelDetails[0]["title"],alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-container",{attrs:{fluid:""}},[a("v-row",[a("v-col",{attrs:{alvqa:t.alvqa+"-description"}},[t._v("\n                    "+t._s(t.$t(t.panelDetails[0]["description"]))+"\n                ")])],1),a("v-row",[a("v-col",[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.digitalDistributionHeaders,items:t.panelDetails,"hide-default-footer":"","header-props":{sortIcon:""}},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"header.price",fn:function(e){var n=e.header;return[a("span",{attrs:{alvqa:n.alvqa}},[t._v("\n                            "+t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_SPLIT")+" %")+"\n                            ")])]}},{key:"header.bookedOn",fn:function(e){var n=e.header;return[a("span",{attrs:{alvqa:n.alvqa}},[t._v("\n                            "+t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_START_OF_CONTRACT"))+"\n                            ")])]}},{key:"item.status",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-status"}},[a("v-checkbox",{staticClass:"mt-0",attrs:{"hide-details":"",disabled:t.getDisabledStatus(n.disabled)},on:{change:function(e){return t.openChangeStatusDialogFunction(n)}},scopedSlots:t._u([{key:"label",fn:function(){return[a("span",{staticClass:"black--text",staticStyle:{"font-size":"0.875rem !important"},attrs:{alvqa:t.alvqa+"-text"}},[t._v("\n                                            "+t._s(t.$t(t.getStatusLabel(n.status)))+"\n                                        ")])]},proxy:!0}],null,!0),model:{value:n.status,callback:function(e){t.$set(n,"status",e)},expression:"item.status"}})],1)]}},{key:"item.price",fn:function(e){var n=e.item;return[a("div",{staticClass:"text-right",attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-price"}},[t._v("\n                                "+t._s(t.$alvPlugin.getNumberLocalization(n.price,"number"))+"\n                            ")])]}},{key:"item.emptySlot",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}})]}},{key:"item.paymentCycle",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-cycle"}},[t._v("\n                                "+t._s(t.$t(n.paymentCycle))+"\n                            ")])]}},{key:"item.bookedOn",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-payment-booked-on"}},[t._v("\n                                "+t._s(null===n.bookedOn?n.bookedOn:t.$d(new Date(n.bookedOn),"alvDateFormat"))+" \n                            ")])]}},{key:"item.minimumPeriod",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-minimum-period"}},[t._v("\n                                "+t._s(t.getMinimumPeriod(n.minimumPeriod))+"\n                                "+t._s(null===n.expiresOn?"":"("+t.$d(new Date(n.expiresOn),"alvDateFormat")+")")+"\n                            ")])]}},{key:"item.link",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-"+n.moduleName.replace(/_/g,"-")+"-panel-text-information"}},[a("a",{attrs:{href:n.link,target:"_blank"}},[t._v(t._s(t.$t("lang_ACCOUNT_MODULES_CAPTION_CLICK_HERE")))])])]}}],null,!0)})],1)],1)],1)]},proxy:!0}])})},PB=[],DB={name:"DigitalDistributionModulePanel",components:{BasePanel:vi},props:{headers:Array,openChangeStatusDialogFunction:{type:Function,default:function(){}}},data:function(){return{alvqa:"account-modules-digital-distribution-panel"}},computed:{panelDetails:function(){return[this.$store.getters.getDigitalDistributionModulePanelDetails]},digitalDistributionHeaders:function(){var t={text:"",value:"emptySlot",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-empty-slot"},e=JSON.parse(JSON.stringify(this.headers));return e[1]["alvqa"]="account-modules-header-split",e.splice(e.findIndex((function(t){return"patronage"===t.value})),1),e.splice(e.findIndex((function(t){return"paymentCycle"===t.value})),0,t),e}},methods:{getDisabledStatus:function(t){return null!==t},getMinimumPeriod:function(t){var e=t.split(" "),a=e[0]+" "+this.$t(e[1]);return a},getStorageOptions:function(t){for(var e=this,a=[],n=function(){var t=Object(rt["a"])(s[i],2),n=(t[0],t[1]),r=e.$t("lang_MODULES_STORAGE_OPTION").replace(/<storage_limit>|<price>/gi,(function(t){return{"<storage_limit>":n.storage_limit,"<price>":e.$n(n.price,"number")}[t]})),l={value:n.id,text:r};a.push(l)},i=0,s=Object.entries(t);i<s.length;i++)n();return a},getStatusLabel:function(t){return 0===t||!1===t?"lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_APPLY_NOW":1===t?"lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_ACTIVATED":2===t||!0===t?"lang_ACCOUNT_MODULES_CHECKBOX_CAPTION_IN_PROGRESS":void 0}}},NB=DB,RB=(a("93a63"),Object(C["a"])(NB,bB,PB,!1,null,null,null)),xB=RB.exports,OB={name:"Modules",components:{BasePanel:vi,ChangeModulStatusDialog:tB,SvWorkRegistrationModulePanel:rB,CwrExportModulePanel:gB,NdaSupportModulePanel:fB,AlvVaultModulePanel:TB,DigitalDistributionModulePanel:xB},data:function(){return{alvqa:"account-modules"}},computed:{headers:function(){return[{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_STATUS"),value:"status",align:"left",class:"text-no-wrap",width:"180px",alvqa:this.alvqa+"-header-status"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_PRICE")+" "+this.$store.getters.getSelectedCurrency,value:"price",align:"right",class:"text-no-wrap",width:"250px",alvqa:this.alvqa+"-header-price"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_PATRONAGE"),value:"patronage",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-patronage"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_PAYMENT_CYCLE"),value:"paymentCycle",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-payment-cycle"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_BOOKED_ON"),value:"bookedOn",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-booked-on"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_MINIMUM_PERIOD"),value:"minimumPeriod",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-minimum-period"},{text:this.$t("lang_ACCOUNT_MODULES_CAPTION_INFORMATION"),value:"link",align:"left",class:"text-no-wrap",alvqa:this.alvqa+"-header-information"}]}},methods:{openChangeStatusDialog:function(t){!0===t.status?"digital-distribution"===t.moduleName?this.$store.commit("setChangeModulStatusDialogText","lang_SETTINGS_MODULES_APPLY_NOW_DIALOG_TEXT"):this.$store.commit("setChangeModulStatusDialogText","lang_SETTINGS_MODULES_CONFIRM_ACTIVATION"):this.$store.commit("setChangeModulStatusDialogText","lang_SETTINGS_MODULES_CONFIRM_DEACTIVATION"),this.$store.commit("setSelectedModul",t),this.$store.commit("setShowChangeModulStatusDialog",!0)}},created:function(){this.$store.dispatch("fetchModulesPanels")}},wB=OB,LB=Object(C["a"])(wB,Vk,Yk,!1,null,null,null),yB=LB.exports,qB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("SelectionRequiredDialog"),a("DeletionDialog",{attrs:{context:"SelectedMappings"}}),a("BaseListPage",{attrs:{headline:"lang_ACCOUNT_MAPPINGS",context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"filter",fn:function(){return[a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"DirectionsFilter",label:"lang_ACCOUNT_MAPPINGS_CAPTION_DIRECTIONS",items:t.mappingsDirectionsOptions,alvqa:t.alvqa+"-list-dropdown-mappings-directions-filter"}})],1),a("v-col",{attrs:{cols:"2"}},[a("DropdownFilter",{attrs:{context:t.context+"DomainsFilter",label:"lang_ACCOUNT_MAPPINGS_CAPTION_DOMAINS",itemText:"text",items:t.mappingsDomainsOptions,alvqa:t.alvqa+"-list-dropdown-mappings-domains-filter"}})],1),a("v-col",{attrs:{cols:"4"}},[a("DropdownFilter",{attrs:{context:t.context+"MaintainersFilter",label:"lang_ACCOUNT_MAPPINGS_CAPTION_MAINTAINERS",itemText:"text",items:t.mappingsMaintainersOptions,alvqa:t.alvqa+"-list-dropdown-mappings-maintainers-filter"}})],1)]},proxy:!0},{key:"dataTable",fn:function(){return[a("BaseDataTableList",{attrs:{headers:t.headers,context:t.context,alvqa:t.alvqa},scopedSlots:t._u([{key:"topSlot",fn:function(){return[a("MappingsTopSlot")]},proxy:!0},{key:"body",fn:function(e){var n=e.item;return[a("ExpandIcon",{attrs:{isExpanded:n.isExpanded,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-icon-expand"}}),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-alvid"}},[t._v("\n                            "+t._s(n.item.alvId)+"\n                        ")]),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:t.getSourceName(n.item),alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-source"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.title,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-title"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.abbreviation,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-abbreviation"}})],1),a("td",{staticClass:"ellipsis"},[a("BaseTooltip",{attrs:{simpleText:n.item.maintainer,alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-maintainer"}})],1),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-direction"}},[t._v("\n                            "+t._s(t.getDirection(n.item.direction))+"\n                        ")]),a("td",{staticClass:"no_ellipsis",attrs:{alvqa:t.alvqa+"-list-row-"+n.item.alvId+"-text-mappings-domain"}},[t._v("\n                            "+t._s(t.getDomain(n.item.domain))+"\n                        ")])]}},{key:"expandSlot",fn:function(t){var e=t.id;return[a("MappingsReadOnly",{attrs:{itemId:e}})]}}])})]},proxy:!0}])})],1)},kB=[],BB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-row",[a("ActionDropdown",{attrs:{items:t.actions,context:"Mappings",alvqa:t.alvqa,cols:"2"}}),a("v-col",{staticClass:"v-label theme--light mt-3",attrs:{"align-self":"center",cols:"4"}},[a("BaseHeaderStats",{attrs:{context:"Mappings",typeStats:"LIST",alvqa:t.alvqa+"-list"}})],1),a("v-spacer"),a("v-col",{attrs:{cols:"2","align-self":"center"}},[a("BaseButton",{attrs:{label:"lang_ACCOUNT_MAPPINGS_CAPTION_NEW_MAPPING",to:{name:t.editForm,params:{alvId:"new"}},block:"",color:"buttonNewEntity",alvqa:t.alvqa+"-list-button-new"}})],1)],1)],1)},$B=[],GB={name:"MappingsTopSlot",data:function(){return{editForm:"MappingsEdit",alvqa:"mappings"}},components:{BaseButton:wt,ActionDropdown:Mn,BaseHeaderStats:ti},computed:{actions:function(){var t=this.$store.getters.getMappingsFiltersOnRequest,e="maintainer"in t?t.maintainer:null,a=[{text:this.$t("lang_GENERIC_CAPTION_COPY"),value:"copy",alvqa:this.alvqa+"-list-action-dropdown-copy"},{text:this.$t("lang_GENERIC_CAPTION_DELETE"),value:"delete",alvqa:this.alvqa+"-list-action-dropdown-delete"}];return"self"===e||Array.isArray(e)||null===e||(a=[{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_ADOPT"),value:"adopt",alvqa:this.alvqa+"-list-action-dropdown-make-my-own"}]),a}},methods:{}},FB=GB,UB=Object(C["a"])(FB,BB,$B,!1,null,null,null),MB=UB.exports,WB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-col",[a("v-row",{staticClass:"pl-4 headline"},[t._v("\n            "+t._s(t.item.title)+"\n        ")])],1),a("v-row",{staticClass:"pl-4 pr-4 pt-3"},[a("v-col",{attrs:{cols:"3"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.source?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-source"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SOURCE"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-source"}},[t._v("\n                            "+t._s(t.getSourceName(t.item.source))+"\n                        ")])]):t._e(),null!==t.item.domain?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-domain"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DOMAINS"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-domain"}},[t._v("\n                            "+t._s(t.getDomainName(t.item.domain))+"\n                        ")])]):t._e(),null!==t.item.direction?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-direction"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DIRECTIONS"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-direction"}},[t._v("\n                            "+t._s(t.getDirectionName(t.item.direction))+"\n                        ")])]):t._e(),null!==t.item.shareable?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-shareable"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_SHAREABILITY"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-shareable"}},[t._v("\n                            "+t._s(t.getShareableName(t.item.shareable))+"\n                        ")])]):t._e()])],1)],1),a("v-col",{attrs:{cols:"4"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.alvId?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-alvid"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ALVID"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-alvid"}},[t._v("\n                            "+t._s(t.item.alvId)+"\n                        ")])]):t._e(),null!==t.item.maintainer?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-maintainer"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_MAINTAINERS"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-maintainer"}},[t._v("\n                            "+t._s(t.item.maintainer)+"\n                        ")])]):t._e()])],1)],1),a("v-col",{attrs:{cols:"2"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.abbreviation?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-abbreviation"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_ABBREVIATION"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-abbreviation"}},[t._v("\n                            "+t._s(t.item.abbreviation)+"\n                        ")])]):t._e(),null!==t.item.fileFormat?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-file-format"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_FILE_FORMAT"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-file-format"}},[t._v("\n                            "+t._s(t.getFileFormat(t.item.fileFormat))+"\n                        ")])]):t._e(),null!==t.item.decimalSeparator?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-decimal-separator"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_DECIMAL_SEPARATOR"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-decimal-separator"}},[t._v("\n                            "+t._s(t.getDecimalSeparator(t.item.decimalSeparator))+"\n                        ")])]):t._e(),null!==t.item.currency?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-currency"}},[t._v(t._s(t.$t("lang_GENERIC_CAPTION_CURRENCY"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-currency"}},[t._v("\n                            "+t._s(t.item.currency)+"\n                        ")])]):t._e()])],1)],1),a("v-col",{attrs:{cols:"3"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[null!==t.item.fileName?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-abbreviation"}},[t._v(t._s(t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_PANEL"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-abbreviation"}},[t._v("\n                            "+t._s(t.item.fileName)+"\n                        ")])]):t._e(),null!==t.item.sheet?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-sheet"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_SHEET"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-sheet"}},[t._v("\n                            "+t._s(t.item.sheet)+"\n                        ")])]):t._e(),null!==t.item.headerRow?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-header-row"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_HEADER_ROW"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-header_row"}},[t._v("\n                            "+t._s(t.item.headerRow)+"\n                        ")])]):t._e(),null!==t.item.dataRow?a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-data-row"}},[t._v(t._s(t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DATA_ROW"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-data-row"}},[t._v("\n                            "+t._s(t.item.dataRow)+"\n                        ")])]):t._e()])],1)],1)],1),null!==t.item.notes?a("v-row",{staticClass:"pl-4 pr-4"},[a("v-col",{attrs:{cols:"12"}},[a("v-card",{attrs:{elevation:"0"}},[a("v-card-text",[a("span",[a("div",{staticClass:"read-only-caption",attrs:{alvqa:t.alvqa+"-caption-notes"}},[t._v(t._s(t.$t("lang_GENERAL_CAPTION_NOTES"))+":")]),a("div",{staticClass:"pb-2",attrs:{alvqa:t.alvqa+"-notes"}},[t._v("\n                            "+t._s(t.item.notes)+"\n                        ")])])])],1)],1)],1):t._e(),a("v-row",[a("v-col",{staticClass:"ml-4 mr-4"},[a("v-expansion-panels",{attrs:{multiple:"",focusable:"",tile:"",flat:""}},[a("ColumnMappingsReadOnlyPanel",{attrs:{mappingsAlvId:t.item.alvId}}),a("TemplateReadOnlyPanel",{attrs:{mappingsAlvId:t.item.alvId}})],1)],1)],1)],1)},jB=[],zB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_COLUMN_MAPPINGS_PANEL"),alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.columnNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-column-number"}},[t._v("\n                    "+t._s(n.templateColumn)+"\n                ")])]}},{key:"item.entityName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-item-name"}},[t._v("\n                    "+t._s(t.$t(t.getItemName(n.entityName)))+"\n                ")])]}},{key:"item.alvField",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-alv-field"}},[t._v("\n                    "+t._s(t.$t(t.getAlvFieldName(n)))+"        \n                ")])]}},{key:"item.formula",fn:function(e){var n=e.item;return[a("BaseTooltip",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-formula"},scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis"},[t._v("\n                            "+t._s(n.formula)+"\n                        ")])]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                        "+t._s(n.formula)+"\n                    ")]},proxy:!0}],null,!0)})]}}],null,!0)})]},proxy:!0}])})},HB=[],VB={name:"MappingsColumnMappingsReadOnlyPanel",components:{BaseTooltip:T,BasePanel:vi},props:{mappingsAlvId:{type:String}},data:function(){return{alvqa:"mappings-list-row-"+this.mappingsAlvId+"-read-only-panel-column-mappings"}},computed:{headers:function(){return[{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_COLUMN"),value:"templateColumn",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-template-column"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_ITEM"),value:"entityName",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-item-name"},{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_ALV_FIELD"),value:"alvField",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-alv-field"},{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_FORMULA"),value:"formula",align:"left",sortable:!1,class:"text-no-wrap",alvqa:this.alvqa+"-header-formula"}]},listItems:function(){return this.$store.getters.getColumnMappings},listItemsLength:function(){return this.$store.getters.getMappingsColumnMappings.length}},methods:{getAlvFieldName:function(t){var e=Qa,a=t.entityName?t.entityName:this.$store.getters.getMappingsDetailsDomain,n=this.$store.getters.getMappingsDetailsDirection,i=e[n+"_"+a];if(void 0!==i)return i.find((function(e){return e.value===t.alvField})).text},getItemName:function(t){var e=this.$store.getters.getMappingsDetailsDomain;if("publishing_works"==e){var a=[{value:"publishing_works",text:"lang_PUBLISHING_CAPTION_WORKS"},{value:"publishing_works_interested_parties",text:"lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTIES"}],n=a.find((function(e){return e.value===t}));return n?n.text:""}var i=Ka;return i.find((function(t){return"import"===t.direction&&e===t.value})).text}}},YB=VB,KB=Object(C["a"])(YB,zB,HB,!1,null,null,null),ZB=KB.exports,XB=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_PANEL"),alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"","header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":100},scopedSlots:t._u([t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}}))],null,!0)})]},proxy:!0}])})},JB=[],QB={name:"MappingsTemplateReadOnlyPanel",components:{BasePanel:vi},props:{mappingsAlvId:{type:String}},data:function(){return{alvqa:"mappings-list-row-"+this.mappingsAlvId+"-read-only-panel-template"}},computed:{headers:function(){for(var t=this.$store.getters.getMappingsDetails.fileInfo.numberOfColumns,e=this.$store.getters.getDropdownOfHeaders,a=[],n=0;n<t;n++){var i=e[n]?e[n].toString():"";a[n]={value:n.toString(),text:e[n],alvqa:this.alvqa+"-"+i.toLowerCase(),width:200}}return a},listItems:function(){var t=[],e=this.$store.getters.getMappingsDetails.fileInfo.numberOfRows;e>10&&(e=10);for(var a=this.$store.getters.getMappingsDetails.fileInfo.data,n=0;n<e-1;n++)t.push(Object.assign({},a[n+1]));return t},listItemsLength:function(){return this.$store.getters.getMappingsColumnMappings.length}},created:function(){var t=this.$store.getters.getMappingsDetailsHeaderRow;t&&this.$store.commit("setDropdownOfHeaders",this.$store.getters.getMappingsDetails.fileInfo.headerRow)}},t$=QB,e$=Object(C["a"])(t$,XB,JB,!1,null,null,null),a$=e$.exports,n$={name:"MappingsReadOnly",components:{ColumnMappingsReadOnlyPanel:ZB,TemplateReadOnlyPanel:a$,BaseTooltip:T},props:{itemId:{type:Number}},data:function(){return{alvqa:"account-mappings-list-row-"+this.itemId+"-read-only"}},computed:{item:function(){var t=this,e=this.$store.getters.getExpandedMappings.find((function(e){return e.id===t.itemId}));return e}},methods:{getSourceName:function(t){var e=this.$store.getters.getMappingsDetailsDirection,a="import"==e?this.$store.getters.getAzForMappingsImport:this.$store.getters.getAzForMappingsExport,n=a.find((function(e){return e.value===t}));return void 0!==n?n.text:""},getDomainName:function(t){var e=Ka.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getDirectionName:function(t){var e=ja.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getShareableName:function(t){var e=be.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getDecimalSeparator:function(t){var e=Ha.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getRightsType:function(t){var e=za.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getFileFormat:function(t){return t.toUpperCase()}}},i$=n$,s$=Object(C["a"])(i$,WB,jB,!1,null,null,null),r$=s$.exports;function l$(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function o$(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?l$(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):l$(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var c$={name:"MappingsList",components:{BaseDataTableList:En,BaseListPage:yn,BaseTooltip:T,MappingsTopSlot:MB,MappingsReadOnly:r$,ExpandIcon:is,DropdownFilter:us,SelectionRequiredDialog:hs,DeletionDialog:Cs},data:function(){return{context:"Mappings",alvqa:"account-mappings"}},computed:o$({},Object(u["c"])(["getAccountMappingsSearch"]),{mappingsDirectionsOptions:function(){return ja},mappingsDomainsOptions:function(){return Ka},mappingsMaintainersOptions:function(){var t=[{text:"lang_ACCOUNT_MAPPINGS_MAINTAINERS_OPTION_SELF",value:"self",alvqa:"account-mappings-maintainer-self"}],e=this.$store.getters.getUsersWithShareable;return e.forEach((function(t,a){e[a]={text:"".concat(t.first_name," ").concat(t.last_name," (").concat(t.company_name,")"),value:t.id,alvqa:"account-mappings-maintainer-id-"+t.id}})),t.push.apply(t,Object(ft["a"])(e)),t},headers:function(){return[{text:"",value:"data-table-select",width:"60px",sortable:!1,class:"text-no-wrap"},{text:"",value:"data-table-expand",align:"center",width:"48px",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ALVID"),value:"alvId",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_SOURCE"),value:"source",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_TITLE"),value:"title",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_GENERIC_CAPTION_ABBREVIATION"),value:"abbreviation",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_MAINTAINERS"),value:"maintainer",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DIRECTIONS"),value:"direction",align:"left",sortable:!1,class:"text-no-wrap"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DOMAINS"),value:"domain",align:"left",sortable:!1,class:"text-no-wrap"},{text:"",value:"editForm",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"}]}}),methods:{getSourceName:function(t){var e="import"==t.direction?this.$store.getters.getAzForMappingsImport:this.$store.getters.getAzForMappingsExport,a=e.find((function(e){return e.value===t.source}));return void 0!==a?a.text:t.sourceName},getDirection:function(t){var e=ja.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""},getDomain:function(t){var e=Ka.find((function(e){return e.value===t}));return void 0!==e?this.$t(e.text):""}},created:function(){this.$store.dispatch("fetchAzForMappings"),this.$store.dispatch("fetchUsersWithShareable"),this.$store.commit("setMappings",[]),this.$store.commit("setSelectedMappingsMaintainersFilter","self"),this.$store.commit("setSelectedMappingsDirectionsFilter",null),this.$store.commit("setSelectedMappingsDomainsFilter",null)}},u$=c$,d$=Object(C["a"])(u$,qB,kB,!1,null,null,null),g$=d$.exports,p$=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BaseEditPage",{attrs:{context:t.context,alvqa:t.alvqa,abbreviation:t.getMappingsDetails.abbreviation,cancelIconRoute:"/account/mappings"},scopedSlots:t._u([{key:"headline",fn:function(e){var n=e.data;return[a("div",{attrs:{alvqa:t.alvqa+"-title"}},[t._v("\n        "+t._s(n.title?n.title:t.$t("lang_GENERAL_CAPTION_EDIT_PAGE_UNTITLED"))+"\n        ")])]}},{key:"editForm",fn:function(){return[a("v-col",{attrs:{cols:"3"}},[a("v-row",[a("BaseEditPageTextField",{attrs:{field:"Title",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_TITLE"),context:t.context,rules:"required",alvqa:t.alvqa+"-textfield-title"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Direction",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DIRECTIONS"),items:t.mappingsDirectionsOptions,context:t.context,rules:"required",disabled:!t.fileUploadAllowed,clearable:!1,alvqa:t.alvqa+"-dropdown-directions"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Domain",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DOMAINS"),context:t.context,items:t.mappingsDomainsOptions,rules:"required",disabled:!t.fileUploadAllowed||!t.isSelectedDirection,clearable:!1,alvqa:t.alvqa+"-dropdown-domains"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Source",label:t.$t("lang_GENERIC_CAPTION_SOURCE"),items:t.mappingsSourceOptions,context:t.context,disabled:!t.fileUploadAllowed||!t.isSelectedDomain||t.isDirectionExport||t.isSourceDisabled,rules:t.isDirectionExport||t.isSourceDisabled?"":"required",alvqa:t.alvqa+"-dropdown-source"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Shareable",label:t.$t("lang_GENERIC_CAPTION_SHAREABILITY"),items:t.mappingsShareabilityYesNo,context:t.context,rules:"required",clearable:!1,alvqa:t.alvqa+"-dropdown-shareability"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{field:"AlvId",label:t.$t("lang_GENERIC_CAPTION_ALVID"),context:t.context,alvqa:t.alvqa+"-textfield-alvid",clearable:!1,readonly:!0,disabled:!0}})],1),a("v-row",[a("BaseEditPageTextField",{attrs:{field:"Maintainer",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_MAINTAINERS"),context:t.context,alvqa:t.alvqa+"-textfield-maintainer",clearable:!1,readonly:!0,disabled:!0}})],1),a("v-row",[a("BaseEditPageTextarea",{attrs:{field:"Notes",label:t.$t("lang_GENERAL_CAPTION_NOTES"),context:t.context,rows:"3",alvqa:t.alvqa+"-textarea-notes"}})],1)],1),a("v-col",[a("v-row",[a("BaseEditPageTextField",{attrs:{field:"Abbreviation",label:t.$t("lang_GENERIC_CAPTION_ABBREVIATION"),context:t.context,rules:"required",alvqa:t.alvqa+"-textfield-abbreviation"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"FileFormat",label:t.$t("lang_GENERIC_CAPTION_FILE_FORMAT"),items:t.mappingsFileFormatOptions,context:t.context,rules:"required",clearable:!1,alvqa:t.alvqa+"-dropdown-file-format"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Delimiter",label:t.$t("lang_GENERIC_CAPTION_DELIMITER"),items:t.mappingsDelimiterOptions,context:t.context,clearable:!0,disabled:t.isDirectionExport,alvqa:t.alvqa+"-dropdown-delimiters"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"DecimalSeparator",label:t.$t("lang_GENERIC_CAPTION_DECIMAL_SEPARATOR"),items:t.mappingsDecimalSeparatorOptions,context:t.context,rules:"required",clearable:!1,alvqa:t.alvqa+"-dropdown-decimal-separator"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"Currency",label:t.$t("lang_GENERIC_CAPTION_CURRENCY"),items:t.mappingsCurrencyOptions,context:t.context,rules:"required",clearable:!1,disabled:t.isDirectionExport,alvqa:t.alvqa+"-dropdown-currency"}})],1)],1),a("v-col",[a("v-row",{staticClass:"pl-4 pr-4"},[a("div",{staticClass:"d-flex fullWidth"},[t.isFilename?a("div",{staticClass:"flex"},[[a("v-file-input",{attrs:{disabled:t.fileUploadAllowed,label:t.$t("lang_GENERAL_CAPTION_SELECT_FILE"),accept:t.selectedFileFormat,"show-size":null!==t.fileObj&&0!==t.fileObj.size,"prepend-icon":"",alvqa:t.alvqa+"-file-upload-template-file",clearable:!1},on:{change:function(e){return t.submitFile()},"click:clear":function(e){return t.resetVal()}},model:{value:t.fileObj,callback:function(e){t.fileObj=e},expression:"fileObj"}})]],2):a("div",{staticClass:"flex"},[a("BaseTooltip",{scopedSlots:t._u([{key:"content",fn:function(){return[a("BaseEditPageTextField",{attrs:{field:"FileName",label:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_PANEL"),context:t.context,clearable:!1,withMargin:!1,disabled:!0,alvqa:t.alvqa+"-textfield-template-file"}})]},proxy:!0},{key:"text",fn:function(){return[a("span",[t._v(t._s(t.getFilename))])]},proxy:!0}])})],1),t.hasDownloadPath?a("div",{staticClass:"pl-4 pt-4"},[a("BaseIcon",{staticStyle:{"vertical-align":"middle"},attrs:{icon:"cloud_download",tooltipText:t.$t("lang_GENERAL_CAPTION_ICON_DOWNLOAD"),alvqa:t.alvqa+"-icon-download-file-mapping"},on:{click:function(e){return e.stopPropagation(),t.downloadFile()}}})],1):t._e()])]),a("v-row",[a("BaseEditPageTextField",{attrs:{field:"Sheet",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_SHEET"),context:t.context,disabled:t.notAnExcel||t.isDirectionExport,alvqa:t.alvqa+"-textfield-sheet"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"HeaderRow",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_HEADER_ROW"),items:t.mappingsHeaderRowOptions,context:t.context,rules:t.isDirectionExport?"":"required",disabled:!t.fileUploadAllowed||t.isDirectionExport,clearable:!1,alvqa:t.alvqa+"-dropdown-header-row"}})],1),a("v-row",[a("BaseEditPageDropdown",{attrs:{field:"DataRow",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_DATA_ROW"),items:t.mappingsDataRowOptions,context:t.context,rules:t.isDirectionExport?"":"required",disabled:!t.fileUploadAllowed||t.isDirectionExport,clearable:!1,alvqa:t.alvqa+"-dropdown-data-row"}})],1)],1)]},proxy:!0},{key:"panels",fn:function(){return[a("DeletionDialog",{attrs:{useContextSetinVuex:!0}}),a("ColumnMappingsEditPanel"),a("ColumnMappingsEditPanelDialog")]},proxy:!0}])})},v$=[],_$=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("BasePanel",{attrs:{headline:"lang_ACCOUNTS_MAPPINGS_CAPTION_COLUMN_MAPPINGS_PANEL",alvqa:t.alvqa},scopedSlots:t._u([{key:"panelContent",fn:function(){return[a("v-data-table",{staticClass:"noMinWidth",attrs:{headers:t.headers,items:t.listItems,"hide-default-footer":"",loading:t.isLoading,"loading-text":t.$t("lang_GENERAL_LOADING_DATATABLE"),"header-props":{sortIcon:""},"no-data-text":t.$t("lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),"items-per-page":t.itemsPerPage},scopedSlots:t._u([{key:"top",fn:function(){return[a("v-row",{staticClass:"pb-3"},[a("v-spacer"),a("v-col",{attrs:{cols:"3"}},[a("BaseButton",{attrs:{label:"lang_GENERAL_BUTTON_ADD_ROW",block:"",alvqa:t.alvqa+"-button-add-row",disabled:t.isDisabled},on:{click:t.addNewRow}})],1)],1)]},proxy:!0},t._l(t.headers,(function(e,n){return{key:"header."+e.value,fn:function(){return[a("span",{key:n,attrs:{alvqa:e.alvqa}},[t._v(t._s(e.text))])]},proxy:!0}})),{key:"item.columnNumber",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-column-number"}},[t._v("\n                "+t._s(n.templateColumn)+"\n            ")])]}},{key:"item.entityName",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-item-name"}},[t._v("\n                "+t._s(t.$t(t.getItemName(n.entityName)))+"\n            ")])]}},{key:"item.alvField",fn:function(e){var n=e.item;return[a("div",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-alv-field"}},[t._v("\n                "+t._s(t.$t(t.getAlvFieldName(n)))+"         \n            ")])]}},{key:"item.formula",fn:function(e){var n=e.item;return[a("BaseTooltip",{attrs:{alvqa:t.alvqa+"-list-row-"+n.id+"-text-formula"},scopedSlots:t._u([{key:"content",fn:function(){return[a("div",{staticClass:"ellipsis"},[t._v("\n                        "+t._s(n.formula)+"\n                    ")])]},proxy:!0},{key:"text",fn:function(){return[t._v("\n                    "+t._s(n.formula)+"\n                ")]},proxy:!0}],null,!0)})]}},{key:"item.delete",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{icon:"delete",color:"iconDelete",tooltipText:"lang_GENERIC_CAPTION_DELETE",alvqa:t.alvqa+"-list-row-"+i+"-icon-delete"},on:{click:function(e){return t.deleteRow(n)}}})]}},{key:"item.inlineEdit",fn:function(e){var n=e.item,i=e.index;return[a("BaseIcon",{attrs:{alvqa:t.alvqa+"-list-row-"+i+"-icon-inline-edit",icon:"edit",tooltipText:"lang_GENERAL_CAPTION_ICON_EDIT"},on:{click:function(e){return e.stopPropagation(),t.editInlineFunction(n)}}})]}}],null,!0)})]},proxy:!0}])})},h$=[],m$={name:"ColumnMappingsEditPanel",components:{BasePanel:vi,BaseTooltip:T,BaseIcon:N,BaseButton:wt},data:function(){return{expandedItems:[],alvqa:"account-mappings-edit-form-panel-column-mappings"}},computed:{listItems:function(){return this.$store.commit("setIsLoading",!0),this.$store.dispatch("fetchColumnMappings"),this.$store.commit("setIsLoading",!1),this.$store.getters.getColumnMappings},isLoading:function(){return this.$store.getters.getIsLoading},itemsPerPage:function(){return this.$store.getters.getItemsPerPage},headers:function(){return[{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_COLUMN"),value:"columnNumber",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-template-column"},{text:this.$t("lang_ACCOUNT_MAPPINGS_CAPTION_ITEM"),value:"entityName",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-item-name"},{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_ALV_FIELD"),value:"alvField",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-alv-fields"},{text:this.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_FORMULA"),value:"formula",align:"left",class:"text-no-wrap",sortable:!1,alvqa:this.alvqa+"-header-formula"},{text:"",value:"inlineEdit",align:"right",sortable:!1,width:"70px",class:"text-no-wrap"},{text:"",align:"right",width:"70px",value:"delete",sortable:!1,class:"text-no-wrap"}]},isDisabled:function(){var t=this.$store.getters.getMappingsDetailsFileName,e=this.$store.getters.getMappingsDetailsDirection;return null==t||""==t||"export"==e}},methods:{editInlineFunction:function(t){this.$store.commit("setSelectedColumnMappings",t.id);var e=JSON.parse(JSON.stringify(t));this.$store.commit("setColumnMappingsEditingDialogDetails",e),this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_EDITING_ENTRY")),this.$store.commit("setShowColumnMappingsEditingDialog",!0)},getAlvFieldName:function(t){var e=Qa,a=t.entityName?t.entityName:this.$store.getters.getMappingsDetailsDomain,n=this.$store.getters.getMappingsDetailsDirection,i=e[n+"_"+a];if(void 0!==i)return i.find((function(e){return e.value===t.alvField})).text},getItemName:function(t){var e=this.$store.getters.getMappingsDetailsDomain;if("publishing_works"==e){var a=[{value:"publishing_works",text:"lang_PUBLISHING_CAPTION_WORKS"},{value:"publishing_works_interested_parties",text:"lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTIES"}],n=a.find((function(e){return e.value===t}));return n?n.text:""}var i=Ka;return i.find((function(t){return"import"===t.direction&&e===t.value})).text},addNewRow:function(){this.$store.commit("setEditingDialogHeadline",this.$t("lang_GENERAL_CAPTION_NEW_ENTRY")),this.$store.commit("setShowColumnMappingsEditingDialog",!0);var t=JSON.parse(JSON.stringify(this.$store.getters.getDefaultColumnMappings));this.$store.commit("setColumnMappingsEditingDialogDetails",t)},deleteRow:function(t){this.$store.commit("setSelectedColumnMappings",t),this.$store.commit("setDeletionDialogContext","SelectedColumnMappings"),this.$store.commit("setShowDeletionDialog",!0)}}},f$=m$,S$=(a("3548"),Object(C["a"])(f$,_$,h$,!1,null,null,null)),E$=S$.exports,I$=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("EditingDialog",{attrs:{context:t.context,showSnackbar:!0,snackbarTextLangConst:"lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON",useDifferentShowDialogProp:!0},scopedSlots:t._u([{key:"editForm",fn:function(){return[a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"ColumnNumber",items:t.templateColumnItems,label:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_TEMPLATE_COLUMN"),rules:"required",additionalFunction:t.setTemplateColumnString,withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-template-column"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"EntityName",items:t.entityItems,label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_ITEM"),rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-entity-name"}})],1),a("v-col",[a("BaseEditPageDropdown",{attrs:{context:t.context,field:"AlvField",items:t.sortedAlvFieldItems,label:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_ALV_FIELD"),selection:!0,rules:"required",withMargin:!1,clearable:!1,alvqa:t.alvqa+"-dropdown-alv-field"}})],1)],1),a("v-row",[a("v-col",[a("BaseCheckbox",{attrs:{context:t.context+"DetailsSkipDuplicates",label:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_SKIP_DUPLICATES"),iconTooltipText:t.$t("lang_ACCOUNT_MAPPINGS_CAPTION_SKIP_DUPLICATES_DESCRIPTION"),alvqa:t.alvqa+"-skip-duplicates-checkbox"}})],1)],1),a("v-row",[a("v-col",[a("BaseEditPageTextarea",{attrs:{context:t.context,field:"Formula",rows:"3",label:t.$t("lang_ACCOUNTS_MAPPINGS_CAPTION_FORMULA"),withMargin:!1,rules:("required"===t.isFormulaRequired?"required|":"")+"validateMappingsFormula",alvqa:t.alvqa+"-textarea-formula"}})],1)],1)]},proxy:!0}])})},C$=[],A$={name:"ColumnMappingsEditPanelDialog",components:{EditingDialog:ho,BaseEditPageAutocomplete:Zs,BaseEditPageDropdown:me,BaseEditPageTextarea:Wl,BaseCheckbox:Qt,BaseTooltip:T,DropdownAccountMappingsAlvFields:Qa},data:function(){return{context:"ColumnMappings",alvqa:"account-mappings-edit-form-panel-column-mappings-edit-panel-dialog",selectedLanguage:this.$i18n.locale,sortedAlvFieldItems:[]}},computed:{templateColumnItems:function(){var t=this.$store.getters.getDropdownOfHeaders,e=[],a=0;for(a in t)e.push({text:t[a],value:a});return e},alvFieldItems:function(){var t=Qa,e=this.selectedColumnEntity,a=this.$store.getters.getMappingsDetailsDirection;return e&&a?t[a+"_"+e]:[]},isFormulaRequired:function(){var t=this.$store.getters.getColumnMappingsDetailsTemplateColumn;return"NOCOL"==t?"required":{}},selectedColumnEntity:function(){return this.$store.getters.getColumnMappingsDetailsEntityName},isParentEntityDisabled:function(){var t=this.$store.getters.getColumnMappingsDetailsEntityName,e=this.$store.getters.getMappingsDetailsDomain;return void 0==t||null==t||e==t},entityItems:function(){var t=this.$store.getters.getMappingsDetailsDomain;if("publishing_works"==t)return[{value:"publishing_works",text:"lang_PUBLISHING_CAPTION_WORKS"},{value:"publishing_works_interested_parties",text:"lang_PUBLISHING_WORKS_CAPTION_INTERESTED_PARTIES"}];var e=Ka;return[e.find((function(e){return"import"===e.direction&&t===e.value}))]}},methods:{setTemplateColumnString:function(t){var e=this.$store.getters.getDropdownOfHeaders[t];this.$store.commit("setColumnMappingsDetailsTemplateColumn",e)},sortAlvFieldItems:function(){var t=this,e=JSON.parse(JSON.stringify(this.alvFieldItems));this.sortedAlvFieldItems=[],e.length&&e.sort((function(e,a){var n=t.$t(e.text),i=t.$t(a.text);return n<i?-1:n>i?1:0}));for(var a=0;a<e.length;a++)e[a].text=this.$t(e[a].text)+" (".concat(e[a].value,")");this.sortedAlvFieldItems=e}},watch:{"$i18n.locale":{handler:function(t){this.sortAlvFieldItems()},immediate:!0},alvFieldItems:function(t){this.sortAlvFieldItems()}}},T$=A$,b$=Object(C["a"])(T$,I$,C$,!1,null,null,null),P$=b$.exports,D$={name:"AccountMappingsEdit",components:{BaseEditPage:ql,BaseEditPageTextField:Ut,BaseEditPageTextarea:Wl,BaseEditPageDropdown:me,BaseEditPageDatePicker:$r,BaseTooltip:T,BaseIcon:N,ColumnMappingsEditPanel:E$,ColumnMappingsEditPanelDialog:P$,DeletionDialog:Cs},data:function(){return{context:"Mappings",alvqa:"account-mappings-edit-form",fileObj:null,formData:new FormData,progressBarUploadFile:!1}},computed:{getSelectedDirection:function(){return this.$store.getters.getMappingsDetailsDirection},getSelectedDomain:function(){return this.$store.getters.getMappingsDetailsDomain},isSelectedDirection:function(){var t=this.getSelectedDirection;return void 0!==t&&null!==t},isSelectedDomain:function(){var t=this.getSelectedDomain;return void 0!==t&&null!==t},isFilename:function(){var t=this.$store.getters.getMappingsDetailsFileName,e=this.$store.getters.getMappingsDetailsDirection;return null===this.fileObj&&null!==t&&void 0!==t&&(this.fileObj=new File([""],t,{type:"text/plain"})),null==t||"export"==e},notAnExcel:function(){return"xlsx"!=this.$store.getters.getMappingsDetailsFileFormat},selectedFileFormat:function(){return"."+this.$store.getters.getMappingsDetailsFileFormat},mappingsDomainsOptions:function(){var t=this;if(!this.isSelectedDirection)return[];var e=Ka;return e.filter((function(e){return e.direction===t.getSelectedDirection}))},mappingsDirectionsOptions:function(){return ja},mappingsHeaderRowOptions:function(){for(var t=[{text:"lang_GENERIC_CAPTION_NONE",value:null,alvqa:"account-mappings-header-row-none"}],e=0;e<30;e++)t.push({text:(e+1).toString(),value:e+1,alvqa:"account-mappings-header-row-"+(e+1).toString()});return t},mappingsCurrencyOptions:function(){return this.isDirectionExport?[]:ia},mappingsDecimalSeparatorOptions:function(){return Ha},mappingsDataRowOptions:function(){for(var t=this.$store.getters.getMappingsDetailsHeaderRow+1,e=[],a=t;a<41;a++)e.push({text:a.toString(),value:a,alvqa:"account-mappings-data-row-"+a.toString()});return e},mappingsSourceOptions:function(){if(!this.isSelectedDomain)return[];var t=this.getSelectedDirection;if("import"==t)return this.$store.getters.getAzForMappingsImport;if("export"==t){var e=Za;return e.concat(this.$store.getters.getAzForMappingsExport)}return[]},mappingsRightsTypes:function(){var t=this.getSelectedDomain;return"publishing_income"==t?za:[]},mappingsFileFormatOptions:function(){var t=this;return Va.filter((function(e){return!t.isDirectionExport||"csv"==e.value}))},mappingsDelimiterOptions:function(){return Ya},mappingsShareabilityYesNo:function(){return be},isRequiredRightsType:function(){var t=this.getSelectedDirection;return"import"==t?"required":""},fileUploadAllowed:function(){var t=this.$store.getters.getMappingsDetailsAlvId;return"ALV000000000AM"==t},getFilename:function(){var t=this.$store.getters.getMappingsDetailsFileName;return t||""},isDirectionExport:function(){return"export"===this.getSelectedDirection},getMappingsDetails:function(){return this.$store.getters.getMappingsDetails},hasDownloadPath:function(){var t=this.$store.getters.getMappingsDetailsDownloadPath;return null!==t&&void 0!==t},isSourceDisabled:function(){var t=this.getSelectedDomain;return"publishing_works"==t}},methods:{resetVal:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.file=null;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),submitFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e,a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.fileObj){t.next=11;break}return this.$store.commit("setIsLoading",!0),this.formData.append("file",this.fileObj),e=this.$store.getters.getMappingsDetailsAlvId,a=this.$alvPlugin.extractFileExt(this.fileObj).toLowerCase(),t.next=7,k$.putFile("account/mappings/"+e,this.formData,"?templateUpload&type="+a);case 7:n=t.sent,i=this.$store.getters.getMappingsDetailsFileFormat,this.$store.commit("setIsLoading",!1),"csv"!=i&&"xlsx"!=i||(s=this.$store.getters.getMappingsDetailsHeaderRow,s&&(r=n.response.headerRow,r.push("NOCOL"),this.$store.commit("setDropdownOfHeaders",r)));case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downloadFile:function(){k$.getFileFromALV(this.$store.getters.getMappingsDetailsDownloadPath),this.$store.commit("setSnackbar",{type:"success",msg:this.$t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})}},watch:{getMappingsDetails:function(t,e){var a=t.fileInfo;a&&this.$store.commit("setDropdownOfHeaders",this.$store.getters.getMappingsDetails.fileInfo.headerRow)}}},N$=D$,R$=Object(C["a"])(N$,p$,v$,!1,null,null,null),x$=R$.exports;n["default"].use(ct["a"]);var O$=new ct["a"]({mode:"history",base:"/",routes:[{path:"/",name:"Login",component:_t,meta:{requiresAuth:!1}},{path:"*",name:"404",redirect:_t,meta:{requiresAuth:!1}},{path:"/dashboard",name:"Dashboard",component:un,meta:{requiresAuth:!0,parentName:"lang_DASHBOARD",childName:""}},{path:"/publishing/works",name:"Works",component:Pl,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_CAPTION_WORKS"},beforeEnter:function(t,e,a){oW.commit("setExpandedWorks",[]),a()}},{path:"/publishing/works/:alvId",name:"WorksEdit",component:Yo,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_CAPTION_WORKS"}},{path:"/publishing/sheets",name:"Sheets",component:jc,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_SHEETS"},beforeEnter:function(t,e,a){oW.commit("setExpandedSheets",[]),a()}},{path:"/publishing/sheets/:alvId",name:"SheetsEdit",component:ju,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_SHEETS",disabledBreadcrumbs:!0}},{path:"/publishing/projects",name:"PublishingProjects",component:ud,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_PROJECTS"},beforeEnter:function(t,e,a){oW.commit("setExpandedPublishingProjects",[]),a()}},{path:"/publishing/projects/:alvId",name:"PublishingProjectsEdit",component:Cd,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_PROJECTS",disabledBreadcrumbs:!0}},{path:"/publishing/income",name:"Income",component:Tg,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_INCOME"}},{path:"/publishing/statements",name:"PublishingStatements",component:vp,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_STATEMENTS"}},{path:"/publishing/tracking",name:"Tracking",component:cv,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_TRACKING"}},{path:"/publishing/statistics",name:"PublishingStatisticsList",component:Iv,meta:{requiresAuth:!0,parentName:"lang_PUBLISHING",childName:"lang_PUBLISHING_STATISTICS"}},{path:"/label/tracks",name:"Tracks",component:A_,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_TRACKS"},beforeEnter:function(t,e,a){oW.commit("setExpandedTracks",[]),a()}},{path:"/label/tracks/:alvId",name:"TracksEdit",component:dh,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_TRACKS",disabledBreadcrumbs:!0}},{path:"/label/releases",name:"LabelReleases",component:af,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_RELEASES"},beforeEnter:function(t,e,a){oW.commit("setExpandedLabelReleases",[]),a()}},{path:"/label/releases/:alvId",name:"LabelReleasesEdit",component:qS,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_RELEASES",disabledBreadcrumbs:!0}},{path:"/label/projects",name:"LabelProjectsList",component:AE,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_PROJECTS"},beforeEnter:function(t,e,a){oW.commit("setExpandedLabelProjects",[]),a()}},{path:"/label/projects/:alvId",name:"LabelProjectsEdit",component:qE,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_PROJECTS",disabledBreadcrumbs:!0}},{path:"/label/salesdata",name:"SalesData",component:eI,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_SALES_DATA"}},{path:"/label/statements",name:"LabelStatements",component:yI,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_STATEMENTS"}},{path:"/label/statistics",name:"LabelStatistics",component:gC,meta:{requiresAuth:!0,parentName:"lang_LABEL",childName:"lang_LABEL_STATISTICS"}},{path:"/erp/pricelists",name:"Pricelists",component:$C,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_PRICELISTS"},beforeEnter:function(t,e,a){oW.commit("setExpandedPricelists",[]),a()}},{path:"/erp/pricelists/:alvId",name:"PricelistsEdit",component:oA,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_PRICELISTS",disabledBreadcrumbs:!0}},{path:"/erp/inventories",name:"Inventories",component:yA,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_INVENTORIES"},beforeEnter:function(t,e,a){oW.commit("setExpandedInventories",[]),a()}},{path:"/erp/shipping",name:"Shipping",component:ST,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_SHIPPING"},beforeEnter:function(t,e,a){oW.commit("setExpandedShipping",[]),a()}},{path:"/erp/shipping/:alvId",name:"ShippingEdit",component:BT,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_SHIPPING",disabledBreadcrumbs:!0},beforeEnter:function(t,e,a){oW.commit("setShowShippingInventoriesPreview",!1),oW.commit("setInvokeSaveCallForShippingInventories",!1),a()}},{path:"/erp/invoices",name:"Invoices",component:hb,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_INVOICES"},beforeEnter:function(t,e,a){oW.commit("setExpandedInvoices",[]),a()}},{path:"/erp/invoices/:alvId",name:"InvoicesEdit",component:yb,meta:{requiresAuth:!0,parentName:"lang_ERP",childName:"lang_ERP_INVOICES",disabledBreadcrumbs:!0}},{path:"/az/azpersons",name:"AzPersons",component:vN,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_PERSONS"},beforeEnter:function(t,e,a){oW.commit("setExpandedAzPersons",[]),a()}},{path:"/az/azpersons/:alvId",name:"AzPersonsEdit",component:aR,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_PERSONS",disabledBreadcrumbs:!0}},{path:"/az/azdistributors",name:"AzDistributorsList",component:wR,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_DISTRIBUTORS"},beforeEnter:function(t,e,a){oW.commit("setExpandedInvoices",[]),a()}},{path:"/az/azdistributors/:alvId",name:"AzDistributorsEdit",component:ZR,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_DISTRIBUTORS",disabledBreadcrumbs:!0}},{path:"/az/azgroups",name:"AzGroupsList",component:TP,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_GROUPS"},beforeEnter:function(t,e,a){oW.commit("setExpandedAzGroups",[]),a()}},{path:"/az/azgroups/:alvId",name:"AzGroupsEdit",component:rD,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_GROUPS",disabledBreadcrumbs:!0}},{path:"/az/azsocieties",name:"AzSocietiesList",component:vx,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_SOCIETIES"},beforeEnter:function(t,e,a){oW.commit("setExpandedAzSocieties",[]),a()}},{path:"/az/azsocieties/:alvId",name:"AzSocietiesEdit",component:Ex,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_SOCIETIES",disabledBreadcrumbs:!0}},{path:"/az/azlive",name:"AzLiveList",component:jx,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_LIVE"},beforeEnter:function(t,e,a){oW.commit("setExpandedAzLive",[]),a()}},{path:"/az/azlive/:alvId",name:"AzLiveEdit",component:Zx,meta:{requiresAuth:!0,parentName:"lang_GENERIC_CAPTION_AZ",childName:"lang_AZ_LIVE",disabledBreadcrumbs:!0}},{path:"/contracts/publishing",name:"PublishingContracts",component:PO,meta:{requiresAuth:!0,parentName:"lang_CONTRACTS",childName:"lang_CONTRACTS_PUBLISHING_CONTRACTS"},beforeEnter:function(t,e,a){oW.commit("setExpandedPublishingContracts",[]),a()}},{path:"/contracts/publishing/:alvId",name:"PublishingContractsEdit",component:aL,meta:{requiresAuth:!0,parentName:"lang_CONTRACTS",childName:"lang_CONTRACTS_PUBLISHING_CONTRACTS",disabledBreadcrumbs:!0}},{path:"/contracts/label",name:"LabelContracts",component:$L,meta:{requiresAuth:!0,parentName:"lang_CONTRACTS",childName:"lang_CONTRACTS_LABEL_CONTRACTS"},beforeEnter:function(t,e,a){oW.commit("setExpandedLabelContracts",[]),a()}},{path:"/contracts/label/:alvId",name:"LabelContractsEdit",component:vq,meta:{requiresAuth:!0,parentName:"lang_CONTRACTS",childName:"lang_CONTRACTS_LABEL_CONTRACTS",disabledBreadcrumbs:!0}},{path:"/account/mappings",name:"Mappings",component:g$,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_MAPPINGS"},beforeEnter:function(t,e,a){oW.commit("setExpandedMappings",[]),a()}},{path:"/account/mappings/:alvId",name:"MappingsEdit",component:x$,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_MAPPINGS",disabledBreadcrumbs:!0}},{path:"/account/credentials",name:"Credentials",component:Pq,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_CREDENTIALS"}},{path:"/account/companies",name:"CompaniesEdit",component:vk,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_COMPANIES",disabledBreadcrumbs:!0}},{path:"/account/settings",name:"Settings",component:Hk,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_SETTINGS"}},{path:"/account/modules",name:"Modules",component:yB,meta:{requiresAuth:!0,parentName:"lang_ACCOUNT",childName:"lang_ACCOUNT_MODULES"}}]});O$.beforeEach(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a,n){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return oW.commit("setCurrentPage",1),oW.commit("setTotalRecords",0),oW.commit("setTotalListed",0),oW.commit("setNumberOfPages",0),t.next=6,oW.dispatch("fetchI18nMessages",it.locale);case 6:oW.dispatch("changeIsLoggedIn"),oW.getters.getIsLoggedIn&&0===Object.keys(oW.getters.getUser).length&&oW.commit("setUser",JSON.parse(localStorage.getItem("userData")).user),oW.getters.getIsLoggedIn&&(i=oW.getters.getUser.id,mixpanel.identify(i),mixpanel.people.set({$last_login:new Date})),e.meta.requiresAuth&&!oW.getters.getIsLoggedIn?n("/login"):n(),oW.commit("setDrawer",oW.getters.getOpenDriver);case 11:case"end":return t.stop()}}),t)})));return function(e,a,n){return t.apply(this,arguments)}}());var w$,L$,y$="https://api.alvdigital.net/",q$="label/tracks/files",k$={getResponse:function(t){return ot.a.get(t,this.getConfig()).then((function(t){return t.data})).catch((function(t){if("lang_ERROR_API_METHOD_LOGIN_FAILED"!=t.response.data.response.errorMsg)return console.log("CATCHING API ERRORS"),console.log(t.response.data),t.response.data;localStorage.clear(),O$.go(),O$.push("/login")}))},getConfig:function(){return{headers:{Authorization:"Bearer "+cW.getters.getUserToken()}}},getLanguageConstants:function(t){var e=y$+"languages/"+t;return ot.a.get(e).then((function(t){return t.data}))},getReminders:function(t,e){var a=y$+t+"/"+e;return this.getResponse(a)},getListData2:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[!1],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",r=y$+t;return r+="?page="+e,r+="&sort="+(n[0]?"-"+a[0]:"+"+a[0]),r+=""!==i?"&"+i:"",r+=""!==s?"&"+s:"",this.getResponse(r)},getListData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=y$+t;return i+="?page="+e,i+=""!==a?"&"+a:"",i+=""!==n?"&"+n:"",this.getResponse(i)},getDetailsById:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=y$+t+"/"+e+(""!==a?a:"");return this.getResponse(n)},getFilteredResults:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=y$+t+"?"+e+"&page="+a;return this.getResponse(n)},getReleasesLabelFilterOptions:function(t,e){var a=y$+t+"?fields=name&labelCompanyId="+e;return this.getResponse(a)},getContractsByType:function(t,e){var a=y$+"contracts/"+t+"?search=&type="+e;return this.getResponse(a)},getContractsByWorkIds:function(t,e){var a=y$+"contracts/publishing?search="+t+"&workIds="+e.join(",");return this.getResponse(a)},getWorksByContractId:function(t,e,a){var n=y$+t+"?addWorks&contractId="+e+"&search="+a;return this.getResponse(n)},getAutocompleteSearch:function(t,e,a){var n=y$+t+"?search="+e+(a?"&"+a:"");return this.getResponse(n)},getAzByType:function(t){var e=y$+"az?type="+t+"&visibility=yes";return this.getResponse(e)},getAzForMapping:function(t){var e=y$+"az?mappingsDirection="+t+"&visibility=yes";return this.getResponse(e)},getImporters:function(t){var e=y$+t+"/importers";return this.getResponse(e)},getIncomeImporters:function(t){var e=y$+"publishing/income?importer=true";return this.getResponse(e)},getAccountInvoices:function(t){var e=y$+"account/companies/"+t+"/invoices";return this.getResponse(e)},getAccountMappingsSources:function(){var t=y$+"account/mappings/sources";return this.getResponse(t)},getProgressOfProcess:function(t,e){var a=y$+"progress/"+t;return ot.a.get(a,this.getConfig()).then((function(t){return"finished"===t.data.status&&clearInterval(e),t.data}))},getStatusOfStatementsRun:function(t){var e=y$+"checkStatus/"+t;return ot.a.get(e,this.getConfig()).then((function(t){return t.data}))},getRegion:function(t,e){"ja"!==e&&"jp"!==e&&"ko"!==e||(e="en");var a=y$+"region/"+e+"?search="+t;return ot.a.get(a,this.getConfig()).then((function(t){return t.data}))},getCredentialsConnectionStatus:function(t,e){var a=y$+t+"/"+e+"?testConnection";return ot.a.get(a,this.getConfig()).then((function(t){return t.data})).catch((function(t){return t.response.data}))},synchronizeContacts:function(t,e){var a=y$+t+"/"+e+"?synchronizeContacts";return ot.a.get(a,this.getConfig()).then((function(t){return t.data})).catch((function(t){return t.response.data}))},getCredentialsStatus:function(t,e){var a=y$+t+"?type="+e;return ot.a.get(a,this.getConfig()).then((function(t){return t.data})).catch((function(t){return t.response.data}))},getSpecificDropdownValues:function(t,e,a){var n=y$+t+"/"+e+"/"+a;return ot.a.get(n,this.getConfig()).then((function(t){return t.data})).catch((function(t){return t.response.data}))},getDropdownValues:function(t,e){var a=y$+t+"/"+e;return ot.a.get(a,this.getConfig()).then((function(t){return t.data})).catch((function(t){return t.response.data}))},getSpecificFormData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=y$+t+(""!==e?"?"+e:"");return this.getResponse(a)},getFileBulkUploadUrl:function(){return y$+q$},getRootUrl:function(){return y$},getFileFromALV:function(t){var e=t,a="";t.includes("alvtoken")&&(e=t.substring(0,t.indexOf("&alvtoken"))),t.includes("file=")?a=e.substring(e.indexOf("file=")+5):t.includes("?t=")?(a=e.replace(/^.*[\\\/]/,""),a=a.substring(0,a.indexOf("?t="))):a=e.replace(/^.*[\\\/]/,""),a.includes("&type=")&&(a=a.replace(/\&type=.*/,"")),ot()({url:t,method:"GET",responseType:"blob"}).then((function(t){var e=window.URL.createObjectURL(new Blob([t.data])),n=document.createElement("a");n.href=e,n.setAttribute("download",a),document.body.appendChild(n),n.click()}))},getProfitAndLossResult:function(t,e){var a=y$+t+"?"+e;return this.getResponse(a)},getPriceForReleaseAndCustomer:function(t,e){var a="".concat(y$,"label/releases/").concat(t,"/prices/").concat(e),n=this.getResponse(a);return n},deleteEntries:function(t,e,a){var n=y$+t+(a?"?uniqueId="+a:""),i=this.getConfig();return i["data"]=e,ot.a.delete(n,i).then((function(t){return t.data}))},deleteFile:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=y$+t+(e||""),i=this.getConfig();return i["data"]=a,ot.a.delete(n,i).then((function(t){return t.data}))},putFile:function(t,e,a){var n=y$+t+(a||""),i=this.getConfig();i["headers"]["Content-Type"]="multipart/form-data";var s=Object.assign(i,{onUploadProgress:function(t){cW.commit("setUploadProgressbarValue",parseInt(Math.round(100*t.loaded/t.total)))}.bind(cW)});return ot.a.put(n,e,s).then((function(t){return t.data})).catch((function(t){return t.response.data}))},postLogin:function(t,e){return ot()({method:"POST",url:y$,data:{username:t,userpass:e}}).then((function(t){return t.data}))},addRowToDataTable:function(t,e,a){var n=y$+t+"?"+a,i=this.getConfig();return ot()({method:"POST",headers:i["headers"],url:n,data:e}).then((function(t){return t.data})).catch((function(t){return t.response.data}))},addMultipleRowsToDataTable:function(t,e,a){var n=y$+t+"?"+a,i=this.getConfig();return ot()({method:"POST",headers:i["headers"],url:n,data:e}).then((function(t){return t.data})).catch((function(t){return t.response.data}))},addContracts:function(t,e){var a=y$+t+"?addContracts",n=this.getConfig();return ot()({method:"POST",headers:n["headers"],url:a,data:e}).then((function(t){return t.data})).catch((function(t){return t.response.data}))},addContractsToWorks:function(t,e,a){var n=y$+t+"?addContracts",i=this.getConfig();return ot()({method:"POST",headers:i["headers"],url:n,data:{workIds:e,contractIds:a}}).then((function(t){return t.data})).catch((function(){console.log("ERROR!")}))},addWorksToSheet:function(t,e,a){var n=y$+t+"/"+a+"?addWorks",i=this.getConfig();return ot()({method:"POST",headers:i["headers"],url:n,data:e}).then((function(t){return t.data})).catch((function(){console.log("ERROR!")}))},changeSelectedCompany:function(t,e){var a=this.getConfig();return ot()({method:"POST",headers:a["headers"],url:y$+t+"?select&"+t+"CompanyId="+e}).then((function(t){return t.data}))},changeSelectedOverAllCompany:function(t){var e=this.getConfig();return ot()({method:"POST",headers:e["headers"],url:y$+"companies?setCompany",data:{alvId:t}}).then((function(t){return t.data})).catch((function(t){return t.response.data}))},saveEditForm:function(t,e,a,n,i){var s=y$+t+(n?"":"/"+e);""!==i&&void 0!==i&&(s+="?uniqueId="+i);var r=this.getConfig();return ot()({method:"POST",headers:r["headers"],url:s,data:a}).then((function(t){return t.data})).catch((function(t){if("lang_ERROR_API_METHOD_LOGIN_FAILED"!=t.response.data.response.errorMsg)return console.log("CATCHING API ERRORS"),console.log(t.response.data),t.response.data;localStorage.clear(),O$.go(),O$.push("/login")}))},saveDataTables:function(t,e){var a=y$+t,n=this.getConfig();return ot()({method:"POST",headers:n["headers"],url:a,data:e}).then((function(t){return t.data})).catch((function(){console.log("Error!")}))},saveDataTableRow:function(t,e,a,n){var i=y$+t+"?"+e;""!==n&&void 0!==n&&(i+="?alvId="+n);var s=this.getConfig();return ot()({method:"POST",headers:s["headers"],url:i,data:a}).then((function(t){return t.data})).catch((function(){console.log("ERROR!")}))},saveSettings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=y$+"account/settings/"+e,i=this.getConfig(),t.next=4,ot()({method:"POST",headers:i["headers"],url:n,data:a}).then((function(t){return t.data})).catch((function(){console.log("Error!")}));case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),triggerAction:function(t,e,a){var n=y$+t,i="",s=[];if(Object.keys(a).length>0)for(var r=0,l=Object.entries(a);r<l.length;r++){var o=Object(rt["a"])(l[r],2),c=o[0],u=o[1],d=c+(""!=u?"="+u:"");s.push(d)}s.length&&(i="?"+s.join("&"),n+=i);var g=this.getConfig();return ot()({method:"POST",headers:g["headers"],url:n,data:e}).then((function(t){return t.data})).catch((function(t){if("lang_ERROR_API_METHOD_LOGIN_FAILED"!=t.response.data.response.errorMsg)return console.log("CATCHING API ERRORS"),console.log(t.response.data),t.response.data;localStorage.clear(),O$.go(),O$.push("/login")}))},getCompanyObject:function(t,e){var a="ALV"+String(e).padStart(9,"0")+"PC",n=y$+t+a;return this.getResponse(n)}},B$={changeIsLoggedIn:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,JSON.parse(localStorage.getItem("userData"))?a("setIsLoggedIn",!0):a("setIsLoggedIn",!1);case 2:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchI18nMessages:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getLanguageConstants(a);case 3:return i=t.sent,it.locale=a,n("setI18nMessages",i),t.abrupt("return",i);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),doFileBulkImport:function(t){var e=t.commit;t.dispatch;switch(this.getters.getSelectedFileBulkImport){case"audioFilesImport":if(this.getters.getLabelCompanies.length>0){var a=[],n=this.getters.getSelectedLabelCompanyId,i=this.getters.getLabelCompanies.find((function(t){return t.id==n}));a=i.labels,e("setFileBulkUploaderLabelsDropdown",a),e("setShowFileBulkImportDialog",!0)}else e("setSnackbar",{type:"error",msg:it.t("lang_LABEL_TRACKS_LABEL_CHECK_ERROR")});break}},doFileImport:function(t){var e=this,a=t.commit;t.dispatch;if("Income"!==O$.currentRoute.name){var n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" fileType"+it.t("lang_GENERIC_CAPTION_FILE")+". <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i="",s=null,r="";if("SalesData"===O$.currentRoute.name){var l=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),o=l.text,c=l.fileExtensions;n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" fileType. "+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+o+"</strong>","<join>":"<strong>"+c.toUpperCase()+"</strong>"}[t]}))}else switch(this.getters.getSelectedFileImport){case"gemaXml":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:"GEMA XML","<join>":it.t("lang_GENERAL_CAPTION_XML")}[t]}));break;case"iwaXml":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:"GEMA IWA-XML","<join>":it.t("lang_GENERAL_CAPTION_XML")}[t]}));break;case"alvExcelTemplateWorks":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_WORKS_BUTTON_OPTION_ALV_TEMPLATE"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"suisaWorks":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_WORKS_IMPORT_SUISA"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"cwr":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:"CWR","<join>":it.t("lang_PUBLISHING_WORKS_CAPTION_IMPORT_CWR_V21_V22")}[t]}));break;case"svd":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_SUBPUBLISHING_LICENSING"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"gdf":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_GEMA_INCOME_FILE"),"<join>":it.t("lang_GENERIC_CAPTION_GDF")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"a_tempo":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_A_TEMPO"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"akm":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_AKM"),"<join>":"TXT / "+it.t("lang_GENERAL_CAPTION_CSV")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"aume":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_AUME"),"<join>":"TXT / "+it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"editionbjorlund":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_EDITION_BJORLUND"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"bmgusa":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_BMG_USA"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"ctmpublishing":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_CTM"),"<join>":"TXT / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"iqmusic":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_IQ_MUSIC"),"<join>":"TXT / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"musicreports":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_MUSIC_REPORTS_USA"),"<join>":it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"maestroAt":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_RUDI_SCHEDLER_MUSIC"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"roba":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_ROBA_MUSIC"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"suisaIncome":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_SUISA"),"<join>":it.t("lang_GENERAL_CAPTION_ZIP")+" / F / E3 / M2"}[t]}));break;case"maestroEurope":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_SCHUBERT_MUSIC"),"<join>":"TXT / "+it.t("lang_GENERAL_CAPTION_CSV")+" / "+it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"alvExcelTemplatePublishingProjects":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_RELEASES_BUTTON_OPTION_ALV_TEMPLATE"),"<join>":it.t("lang_GENERAL_CAPTION_EXCEL")}[t]}));break;case"harvestMedia":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_RELEASES_BUTTON_OPTION_IMPORT_ALBUMS"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"alvExcelTemplateLabelReleases":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_RELEASES_BUTTON_OPTION_IMPORT_ALBUMS"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"alvZipLabelReleases":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_RELEASES_BUTTON_OPTION_IMPORT_ALBUMS"),"<join>":it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"alvExcelTemplateLabelSalesData":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:"<strong>"+r+"</strong> "+it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_TEXT"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"allegro":case"damusic":case"finetunes":case"galileo":case"hart":case"naxosusa":case"outside":case"pias":case"planet":case"qedovaloffice":case"roughtrade":case"sony":case"soulfood":case"telamomusik":case"warnermusic":case"wordandsound":case"universalmusicentertainment":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]}));break;case"indigo":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")+"/"+it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"fuga":case"theorchard":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_ZIP")}[t]}));break;case"awalrecordings":case"bandcamp":case"brokensilence":case"feiyr":case"kontor":case"recordjet":case"zebralution":case"edel":case"igroove":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"believedigital":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_CSV_ZIP")}[t]}));break;case"naxos":case"spectre":case"adaworldwide":case"ygplus":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_XLSX")}[t]}));break;case"soulfoodbelieve":s=this.getters.getSalesDataImportOptions.find((function(t){return t.value==e.getters.getSelectedFileImport})),r=s.text,n=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+"<br /> fileType <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_LABEL_SALES_DATA_DIALOG_IMPORT_SALES_DATA_FILE_COPANY_TEXT")+": <strong>"+r+"</strong>","<join>":it.t("lang_GENERAL_CAPTION_CSV_XLS")}[t]}));break;case"bmgus":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_BMG_US"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"bmgde":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_PUBLISHING_INCOME_BUTTON_OPTION_BMG_DE"),"<join>":it.t("lang_GENERAL_CAPTION_CSV")}[t]}));break;case"shippingRows":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_ERP_SHIPPING_CAPTION_SHIPPING_ROWS_FILE"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX")}[t]}));break;case"invoiceRows":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_GENERAL_CAPTION_INVOICE_ROW_FILE"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX")}[t]}));break;case"alvExcelTemplateAzPersons":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_GENERAL_CAPTION_EXCEL_TEMPLATE"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX")}[t]}));break;case"alvExcelTemplateLabelContracts":i=n.replace(/fileType|<join>/gi,(function(t){return{fileType:it.t("lang_GENERAL_CAPTION_EXCEL_TEMPLATE"),"<join>":it.t("lang_GENERAL_CAPTION_XLSX")}[t]}));break}a("setImportDialogText",i),a("setShowFileImportDialog",!0)}},setSelectedFileImportOption:function(t,e){var a=t.commit;a("setSelectedFileImportOption",e)},changeCompany:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.dispatch,i=e.getters,s=g.length>1&&void 0!==g[1]?g[1]:{context:"overAll"},r=s.context.charAt(0).toUpperCase()+s.context.slice(1),l={},"overAll"!==s.context){t.next=10;break}return t.next=7,k$.changeSelectedOverAllCompany(i.getSelectedOverAllCompany.alvId);case 7:l=t.sent,t.next=13;break;case 10:return t.next=12,k$.changeSelectedCompany(s.context,s.newId);case 12:l=t.sent;case 13:void 0===l||0===l.length||1===l.error?("overAll"===s.context&&a("setSelectedOverAllCompany"),"publishing"!==s.context&&"label"!==s.context||a("setSelected"+r+"Company"),a("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_SNACKBAR_SELECTED_COMPANY_NOT_CHANGED")})):(o=JSON.parse(localStorage.getItem("userData")),"overAll"===s.context&&(o.selectedOverAllCompany=l,1===l.context&&(o.selectedPublishingCompanyId=l.id,a("setSelectedPublishingCompanyId",l.id)),2===l.context&&(o.selectedLabelCompanyId=l.id,a("setSelectedLabelCompanyId",l.id))),"publishing"===s.context&&(o["selected"+r+"CompanyId"]=s.newId,c=i["getPublishingCompanies"].find((function(t){return t.id===s.newId})).name,a("setSelectedPublishingCompany",c)),"publishing"!==s.context&&"label"!==s.context||(o["selected"+r+"CompanyId"]=s.newId,u=i["get"+r+"Companies"].find((function(t){return t.id===s.newId})).alvId,d={alvId:u,context:"publishing"===s.context?1:2,id:s.newId},o.selectedOverAllCompany=d,a("setSelectedOverAllCompany",d)),localStorage.setItem("userData",JSON.stringify(o)),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_CHANGED_SELECTED_COMPANY")}),"Settings"===O$.currentRoute.name?(1===l.context&&n("fetchPublishingSettings"),2===l.context&&n("fetchLabelSettings")):"Invoices"===O$.currentRoute.name?n("fetchInvoices"):"Edit"!==O$.currentRoute.name.slice(-4)&&n("fetch"+O$.currentRoute.name));case 14:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doFileReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,e.getters,i={},s={},l="",t.t0=this.getters.getSelectedFileReport,t.next="balanceReportLabelStatements"===t.t0?7:"paymentListLabelStatements"===t.t0?14:"accountReviewErpInvoices"===t.t0?21:"gemaAuditReportErpInvoices"===t.t0?23:"gemaTAS"===t.t0?25:27;break;case 7:return l="label/statements",s={action:"accountBalance"},t.next=11,k$.triggerAction(l,i,s);case 11:return r=t.sent,-1===r.error?(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")}),t.abrupt("break",27);case 14:return l="label/statements",s={action:"paymentList"},t.next=18,k$.triggerAction(l,i,s);case 18:return r=t.sent,-1===r.error?(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")}),t.abrupt("break",27);case 21:return n("invoicesAccountOverview"),t.abrupt("break",27);case 23:return n("doGemaAuditReport"),t.abrupt("break",27);case 25:return a("setShowGemaTasDialog",!0),t.abrupt("break",27);case 27:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),runErrorLists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.getters,n=e.commit,i=e.dispatch,s=null,r=a.context,l={action:"runErrorLists"},t.next=6,k$.triggerAction(a.dir,a.metaData,l);case 6:if(o=t.sent,-1!==o.error){t.next=16;break}return n("setShowRunErrorListDialog",!0),n("setRunErrorListDialogText",it.t("lang_GENERAL_CAPTION_RUN_ERROR_LISTS_DIALOG_UPDATE_ERROR_LISTS")),t.next=12,i("processRunErrorLists",{processId:o.response.processId,context:r,polling:s});case 12:c=t.sent,"running"===c.status&&(s=setInterval((function(){i("processRunErrorLists",{processId:o.response.processId,context:r,polling:s})}),3e3)),t.next=17;break;case 16:n("setSnackbar",{type:"error",msg:it.t(o.response.errorMsg)});case 17:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),processRunErrorLists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i=e.dispatch,e.getters,t.next=3,k$.getProgressOfProcess(a.processId,a.polling).then((function(t){return t}));case 3:return s=t.sent,n("setRunErrorListDialogProgressValue",s.percent),"finished"===s.status&&(clearInterval(a.polling),n("setRunErrorListDialogText",it.t("lang_GENERAL_CAPTION_RUN_ERROR_LISTS_DIALOG_ERROR_LISTS_SUCCESSFULL")),i("fetch"+a.context),1===s.error&&n("setRunErrorListDialogText",s.errorMsg)),t.abrupt("return",s);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),downloadErrorLists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i={action:"downloadErrorList"},t.next=4,k$.triggerAction(a.dir,a.metaData,i);case 4:s=t.sent,-1===s.error?null!==s.response.path&&(k$.getFileFromALV(s.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(r=s.response.errorMsg,void 0!==r&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r)?it.t(r):r}));case 6:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),compareGemaBew:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i={action:"compareGemaBew"},t.next=4,k$.triggerAction(a.dir,a.metaData,i);case 4:s=t.sent,-1===s.error?null!==s.response.path?(k$.getFileFromALV(s.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOFILE")}):(r=s.response.errorMsg,void 0!==r&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r)?it.t(r):r}));case 6:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),launchStatementRun:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i=e.getters,s=a.context,r=a.statementDate,l=a.createPdf,o={},c="",c="year"===i["getSelectedPeriodTimeUnit"+s]?i["getSelectedPeriodTimeUnit"+s]+","+i["getSelectedPeriodYear"+s]:i["getSelectedPeriodNumber"+s]+","+i["getSelectedPeriodTimeUnit"+s]+","+i["getSelectedPeriodYear"+s],void 0!==r&&void 0!==l?(o={action:"launchStatementRun",period:c,statementDate:r},o.generatePdf=!0===l?"no":"yes"):o={action:"launchStatementRun",period:c},u={alvIds:i["getSelected"+s]},t.next=11,k$.triggerAction(a.dir,u,o);case 11:d=t.sent,n("setIs"+s+"Running",!0),-1===d.error?n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_STATEMENTS_RUNNING")}):n("setSnackbar",{type:"error",msg:it.t(d.errorMsg)});case 14:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),checkStatusOfStatementsRun:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.getters,n=e.commit,i=e.dispatch,t.next=3,k$.getStatusOfStatementsRun(a.dir);case 3:s=t.sent,r=a.context,-1===s.error?("running"===s.status&&n("setSnackbar",{type:"success",msg:it.t(s.txt)+" "+s.percent+"%"}),"finished"===s.status&&(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_STATEMENTS_DONE")}),n("setIs"+r+"Running",!1),i("fetch"+r),n("setIsAllSelected"+r,!1),n("setSelected"+r,[]),n("setSelected"+r+"Action",[]),n("setSelectedPeriodValues",{number:null,timeUnit:null,year:null}))):n("setSnackbar",{type:"error",msg:s.errorMsg});case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteRegionDialogInclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setRegionDialogIncludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteRegionDialogExclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setRegionDialogExcludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),manageTags:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,u,d,g;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.commit,s=e.getters,r=s["getSelected"+a.context],l=s.getAddTag,o=s.getRemoveTag,n={},Object(c["a"])(n,a.ids,r),Object(c["a"])(n,"tags",{add:l,remove:o}),u=n,d={action:"replaceTags"},t.next=8,k$.triggerAction(a.dir,u,d);case 8:g=t.sent,-1===g.error?i("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_MANAGE_TAGS_SUCCESSFULLY")}):i("setSnackbar",{type:"error",msg:it.t(g.response.errorMsg)});case 10:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),syncData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.commit,s=e.getters,r=s["getSelected"+a.context],n={},Object(c["a"])(n,a.ids,r),Object(c["a"])(n,"api",a.api),l=n,o={action:"syncData"},t.next=6,k$.triggerAction(a.dir,l,o);case 6:if(u=t.sent,-1!==u.error){t.next=12;break}return i("setSnackbar",{type:"success",msg:it.t(u.txt)}),t.abrupt("return",u.path);case 12:i("setSnackbar",{type:"error",msg:it.t(u.response.errorMsg)});case 13:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchImporters:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,e.getters,t.next=3,k$.getImporters(a);case 3:i=t.sent,n("setListpageImporters",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedPersonsPanelEntry:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedPersonsPanelEntry,r=a.getPersonsPanelEntry,l=r.findIndex((function(t){return t.id===s})),o=r.length,n["default"].delete(r,l),c=r.length,i("setSnackbar",o>c?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedPersonsPanelEntry",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompletePersonsPanelEntryPerson:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setPersonsPanelEntryPersonOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),openConfirmationDialog:function(t){var e=t.commit;return new Promise((function(t){e("setConfirmationDialog",{show:!0,result:!1,resolveCallback:t})}))},resolveConfirmationDialog:function(t){var e=t.commit;e("setShowConfirmationDialog",!1),e("setResolveCallbackConfirmationDialog",!0)},runConfirmationDialog:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.dispatch,t.next=3,a("openConfirmationDialog");case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},$$={gemaWorksCheckDialogDetailsUsername:"",gemaWorksCheckDialogDetailsPassword:"",gemaWorksCheckArray:[],selectedTagExportDomain:[],dashboardCwrStatusCheckZip:null},G$={getGemaWorksCheckDialogDetailsUsername:function(t){return t.gemaWorksCheckDialogDetailsUsername},getGemaWorksCheckDialogDetailsPassword:function(t){return t.gemaWorksCheckDialogDetailsPassword},getGemaWorksCheckArray:function(t){return t.gemaWorksCheckArray},getDashboardDetailsSelectedTagExportDomain:function(t){return t.selectedTagExportDomain},getDashboardCwrStatusCheckZip:function(t){return t.dashboardCwrStatusCheckZip}},F$={setGemaWorksCheckDialogDetailsUsername:function(t,e){t.gemaWorksCheckDialogDetailsUsername=e},setGemaWorksCheckDialogDetailsPassword:function(t,e){t.gemaWorksCheckDialogDetailsPassword=e},setGemaWorksCheckArray:function(t,e){t.gemaWorksCheckArray=e},setDashboardDetailsSelectedTagExportDomain:function(t,e){t.selectedTagExportDomain=e},setDashboardCwrStatusCheckZip:function(t,e){t.dashboardCwrStatusCheckZip=e}},U$={getGemaIwaWorkToCheckStatus:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.commit,a="filter=GemaIwaStatusCheck",n="publishing/works",t.next=5,k$.getFilteredResults(n,a,"all");case 5:return i=t.sent,t.abrupt("return",i);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),cwrStatusCheck:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.commit,n={metadata:a.metadata,fileName:a.filename},i={action:"CwrStatusCheck"},s="publishing/works",t.next=6,k$.triggerAction(s,n,i);case 6:return r=t.sent,t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),cwrStatusCheckListOfFiles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.commit,a={},n={action:"CwrStatusCheckListOfFiles"},i="publishing/works",t.next=6,k$.triggerAction(i,a,n);case 6:return s=t.sent,t.abrupt("return",s);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),getGemaWorkStatus:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.state,i={workIds:[a],username:n.gemaWorksCheckDialogDetailsUsername,password:n.gemaWorksCheckDialogDetailsPassword},s={action:"GemaIwaStatusCheck"},r="publishing/works",t.next=6,k$.triggerAction(r,i,s);case 6:return l=t.sent,t.abrupt("return",l);case 8:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),gemaIwaLogin:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.state,n={username:a.gemaWorksCheckDialogDetailsUsername,password:a.gemaWorksCheckDialogDetailsPassword},i={action:"GemaIwaLogin"},s="publishing/works",t.next=6,k$.triggerAction(s,n,i);case 6:return r=t.sent,t.abrupt("return",r);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),tagsExport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i={domain:n.getDashboardDetailsSelectedTagExportDomain,language:it.locale},s={action:"tagsExportByDomain"},r="dashboard",t.next=6,k$.triggerAction(r,i,s);case 6:l=t.sent,-1===l.error&&(k$.getFileFromALV(l.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_SUCCESSFULL")})),1===l.error&&a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")});case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},M$={state:$$,getters:G$,actions:U$,mutations:F$},W$=(a("1c4c"),{formatNumberToFourDecimals:function(t){return t.toLocaleString(it.locale,{minimumFractionDigits:4,maximumFractionDigits:4})},normalizeDecimalFormat:function(t){return t?"de"===it.locale?t.replaceAll(".","").replace(",","."):t.replaceAll(",",""):t},extractFileExt:function(t){if(null!==t&&void 0!==t)return t.name.toLowerCase().substr(t.name.lastIndexOf(".")+1)},buildPeriodStringForApiCall:function(t,e,a){var n="";return n+="notDefined"===t?"period="+t:"year"===t?"period="+t+","+e:"period="+a+","+t+","+e,n},isLangConst:function(t){return null===t|void 0===t?"":"lang"===t.substring(0,4)},storePagingInformations:function(t,e,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;oW.commit("setTotalListed",t),oW.commit("setCurrentPage",e),oW.commit("setTotalRecords",a),oW.commit("setNumberOfPages",n)},displayPeriod:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null===t)return"";if(null===t.period)return"";var a="",n="";return null===t.num?a+="":a+=t.num+". ",n=e?Ae.find((function(e){return e.value===t.period})).text:Ie.find((function(e){return e.value===t.period})).text,a+=it.t(n),null!==t.year&&(a+=" "+t.year),a},transformSecondsToDuration:function(t){if(null===t)return"";var e=Math.floor(t/3600);t%=3600;var a=Math.floor(t/60);t%=60;var n="";return e&&(n+=String(e).padStart(2,"0")+":"),n+=String(a).padStart(2,"0")+":"+String(t).padStart(2,"0"),"00:00"===n?"":n},getIconOfType:function(t){switch(t){case"label/tracks":return"graphic_eq";case"label/releases":return"album";case"label/freetext":return"text_fields";case"publishing/works":return"music_note";case"publishing/sheets":return"list";case"publishing/releases":return"category";case"publishing/freetext":return"text_fields";default:return""}},getNameInternational:function(t){var e=t.name;return null!=t.lastName&&null!=t.firstName&&(e="japanese"==t.formatNameAddress||"korean"==t.formatNameAddress?t.lastName+" "+t.firstName:t.firstName+" "+t.lastName),e},getAddressInternational:function(t){var e="";switch(t.formatNameAddress){case"european":e=!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject&&void 0!==t.inheritFromGroupObject?(t.group?t.group+"<br/>":"")+(t.department?t.department+"<br/>":"")+(t.salutation1?t.salutation1+"<br/>":(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName+"<br/>":""))+(t.inheritFromGroupObject.inv_address?t.inheritFromGroupObject.inv_address+"<br/>":"")+(t.inheritFromGroupObject.inv_address2?t.inheritFromGroupObject.inv_address2+"<br/>":"")+(t.inheritFromGroupObject.inv_zip?t.inheritFromGroupObject.inv_zip:"")+" "+(t.inheritFromGroupObject.inv_city?t.inheritFromGroupObject.inv_city:"")+"<br/>"+(t.inheritFromGroupObject.inv_land?this.getTranslatedCountryName(t.inheritFromGroupObject.inv_land):""):(t.group?t.group+"<br/>":"")+(t.department?t.department+"<br/>":"")+(t.salutation1?t.salutation1+"<br/>":(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName+"<br/>":""))+(t.addressRow1?t.addressRow1+"<br/>":"")+(t.addressRow2?t.addressRow2+"<br/>":"")+(t.zip?t.zip:"")+" "+(t.city?t.city:"")+"<br/>"+(t.country?this.getTranslatedCountryName(t.country):"");break;case"japanese":e=!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject&&void 0!==t.inheritFromGroupObject?(t.inheritFromGroupObject.inv_zip?t.inheritFromGroupObject.inv_zip:"")+"<br/>"+(t.state?t.state:"")+(t.inheritFromGroupObject.inv_city?t.inheritFromGroupObject.inv_city:"")+" "+(t.inheritFromGroupObject.inv_address?t.inheritFromGroupObject.inv_address:"")+"<br/>"+(t.inheritFromGroupObject.inv_address2?t.inheritFromGroupObject.inv_address2+"<br/>":"")+(t.group?t.group:"")+" "+(t.department?t.department:"")+"<br/>"+(t.salutation1?t.salutation1:(t.lastName?t.lastName:"")+(t.lastName?" ":"")+(t.firstName?t.firstName:"")):(t.zip?t.zip:"")+"<br/>"+(t.state?t.state:"")+(t.city?t.city:"")+(t.addressRow1?t.addressRow1:"")+"<br/>"+(t.addressRow2?t.addressRow2+"<br/>":"")+(t.group?t.group:"")+" "+(t.department?t.department:"")+"<br/>"+(t.salutation1?t.salutation1:(t.lastName?t.lastName:"")+(t.lastName?" ":"")+(t.firstName?t.firstName:""));break;case"korean":e=!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject&&void 0!==t.inheritFromGroupObject?(t.state?t.state:"")+(t.inheritFromGroupObject.inv_city?t.inheritFromGroupObject.inv_city:"")+" "+(t.inheritFromGroupObject.inv_address?t.inheritFromGroupObject.inv_address:"")+"<br/>"+(t.inheritFromGroupObject.inv_address2?t.inheritFromGroupObject.inv_address2+"<br/>":"")+(t.salutation1?t.salutation1:(t.lastName?t.lastName:"")+(t.lastName?" ":"")+(t.firstName?t.firstName:""))+"<br/>"+(t.inheritFromGroupObject.inv_zip?t.inheritFromGroupObject.inv_zip:""):(t.state?t.state:"")+(t.city?t.city:"")+(t.addressRow1?t.addressRow1:"")+"<br/>"+(t.addressRow2?t.addressRow2+"<br/>":"")+(t.salutation1?t.salutation1:(t.lastName?t.lastName:"")+(t.lastName?" ":"")+(t.firstName?t.firstName:""))+"<br/>"+(t.zip?t.zip:"");break;case"american":e=!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject&&void 0!==t.inheritFromGroupObject?(t.salutation1?t.salutation1:(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName:""))+"<br/>"+(t.group?t.group+"<br/>":"")+(t.department?t.department+"<br/>":"")+(t.inheritFromGroupObject.inv_address?t.inheritFromGroupObject.inv_address:"")+"<br/>"+(t.inheritFromGroupObject.inv_address2?t.inheritFromGroupObject.inv_address2+"<br/>":"")+(t.inheritFromGroupObject.inv_city?t.inheritFromGroupObject.inv_city:"")+", "+(t.state?t.state:"")+" "+(t.inheritFromGroupObject.inv_zip?t.inheritFromGroupObject.inv_zip:"")+"<br/>"+(t.inheritFromGroupObject.inv_land?this.getTranslatedCountryName(t.inheritFromGroupObject.inv_land):""):(t.salutation1?t.salutation1:(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName:""))+"<br/>"+(t.group?t.group+"<br/>":"")+(t.department?t.department+"<br/>":"")+(t.addressRow1?t.addressRow1:"")+"<br/>"+(t.addressRow2?t.addressRow2+"<br/>":"")+(t.city?t.city:"")+", "+(t.state?t.state:"")+" "+(t.zip?t.zip:"")+"<br/>"+(t.country?this.getTranslatedCountryName(t.country):"");break;default:!0===t.inheritFromGroup&&null!==t.inheritFromGroupObject&&void 0!==t.inheritFromGroupObject?e=(t.group?t.group+"<br/>":"")+(t.department?t.department+"<br/>":"")+(t.salutation1?t.salutation1+"<br/>":(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName+"<br/>":""))+(t.inheritFromGroupObject.inv_address?t.inheritFromGroupObject.inv_address+"<br/>":"")+(t.inheritFromGroupObject.inv_address2?t.inheritFromGroupObject.inv_address2+"<br/>":"")+(t.inheritFromGroupObject.inv_zip?t.inheritFromGroupObject.inv_zip:"")+" "+(t.inheritFromGroupObject.inv_city?t.inheritFromGroupObject.inv_city:"")+"<br/>"+(t.inheritFromGroupObject.inv_land?this.getTranslatedCountryName(t.inheritFromGroupObject.inv_land):""):(e="venue"===t.azType?t.name?t.name+"<br/>":"":t.group?t.group+"<br/>":"",e+=(t.department?t.department+"<br/>":"")+(t.salutation1?t.salutation1+"<br/>":(t.firstName?t.firstName:"")+(t.firstName?" ":"")+(t.lastName?t.lastName+"<br/>":""))+(t.addressRow1?t.addressRow1+"<br/>":"")+(t.addressRow2?t.addressRow2+"<br/>":"")+(t.zip?t.zip:"")+" "+(t.city?t.city:"")+"<br/>",t.country!==oW.getters.getCompanyCountry&&(e+=t.country?this.getTranslatedCountryName(t.country):""));break}return e},getProductItemId:function(t){if("label/freetext"!=t.type&&"publishing/freetext"!=t.type)if(null!=t.connectionObject)switch(t.type){case"label/tracks":return this.getProductItemIdLabelTracks(t);case"label/releases":return this.getProductItemIdLabelReleases(t);case"publishing/works":return t.connectionObject.gemaNumber;case"publishing/sheets":return t.connectionId;case"publishing/releases":return t.connectionId;default:break}else{if(null!=t.isrc)return t.isrc;if(null!=t.catalogueNumber)return t.catalogueNumber;if(null!=t.ean)return t.ean;if(null!=t.productId)return t.productId}return""},getProductItemIdLabelReleases:function(t){if(t.connectionObject){var e=t.connectionObject.ean,a=t.connectionObject.catalogueNumber;return a||(e||t.connectionId)}if("LR"==t.alvId.substring(t.alvId.length-2)){var n=t.ean,i=t.catalogueNumber;return i||(n||t.alvId)}},getProductItemIdLabelTracks:function(t){if(t.connectionObject){var e=t.connectionObject.isrc;return e||t.connectionObject.alvId}return t.isrc?t.isrc:t.alvId},getTitle:function(t){return null!=t.connectionObject?t.connectionObject.title:null!=t.title?t.title:""},getRolePosition:function(t,e){var a="";return null!==t&&(a+=t),null!==e&&(a+=e),a},getIpiAlvIdForInterestedParty:function(t){var e="";return""!==t.ipi&&null!==t.ipi&&(e+=t.ipi,""!==t.azEntity.alvId&&null!==t.azEntity.alvId)?(e+=" | "+t.azEntity.alvId,e):""!==t.azEntity.alvId&&null!==t.azEntity.alvId?(e+=t.azEntity.alvId,e):void 0},createUrlForAlvId:function(t){return"string"!==typeof t?null:t.includes("AP")?"/az/azpersons/".concat(t):t.includes("AG")?"/az/azgroups/".concat(t):void 0},getIconTooltipText:function(t){if(!t.connectionObject)return it.t("lang_GENERIC_CAPTION_FREETEXT");var e=t.connectionId?t.connectionId:"";switch(t.type){case"label/releases":return it.t("lang_LABEL_CAPTION_RELEASE")+" "+e;case"label/tracks":return it.t("lang_LABEL_CAPTION_TRACK")+" "+e;case"publishing/works":return it.t("lang_PUBLISHING_CAPTION_WORK")+" "+e;case"publishing/sheets":return it.t("lang_PUBLISHING_CAPTION_SHEET")+" "+e;case"publishing/releases":return it.t("lang_PUBLISHING_CAPTION_PROJECT")+" "+e;default:return it.t("lang_GENERIC_CAPTION_FREETEXT")}},getSocietyName:function(t){var e=oW.getters.getSocieties;return null===t||0===t?"":e.find((function(e){return e.value===t})).text},getTranslatedCountryName:function(t){if(null===t||void 0===t)return"";var e=oW.getters["getCountries"+it.locale.toUpperCase()];void 0===e&&(e=oW.getters.getCountriesEN);var a=e.find((function(e){return e.value===t}));return void 0===a||a.value==oW.getters.getUser.companyCountry?"":a.text},getTranslatedCountryCode:function(t){if(null===t||void 0===t)return"";var e=oW.getters["getCountries"+it.locale.toUpperCase()];void 0===e&&(e=oW.getters.getCountriesEN);var a=e.find((function(e){return e.value===t}));return void 0===a?"":a.text},getTranslatedLanguageName:function(t){if(t=t.toUpperCase(),null===t||void 0===t)return"";var e=oW.getters["getLanguages"+it.locale.toUpperCase()];void 0===e&&(e=oW.getters.getLanguagesEN);var a=e.find((function(e){return e.value==t}));if(void 0===a)return"";"EN"==it.locale.toUpperCase()&&(a.text="DE"==t?"GERMAN":"ENGLISH");var n=a.text.charAt(0).toUpperCase()+a.text.substring(1).toLowerCase();return n},getListOfGenericMusicLanguages:function(t){return Se.sort((function(t,e){return it.t(t.text)>it.t(e.text)?1:it.t(e.text)>it.t(t.text)?-1:0}))},getListOfTranslatedCountries:function(){var t=[],e=oW.getters["getCountries"+it.locale.toUpperCase()];return void 0===e&&(e=oW.getters.getCountriesEN,null===e||void 0===e)||(t=JSON.parse(JSON.stringify(e)),t.forEach((function(t){t["alvqa"]="dropdown-country-"+t.value.toLowerCase()}))),t},getListOfTranslatedLanguages:function(){var t=[],e=oW.getters["getLanguages"+it.locale.toUpperCase()];return void 0===e&&(e=oW.getters.getLanguagesEN,null===e||void 0===e)||(t=JSON.parse(JSON.stringify(e)),t.forEach((function(t){t["alvqa"]="dropdown-language-"+t.value.toLowerCase()}))),t},getAzTypes:function(t){var e=t.map((function(t){return t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()}));return e.join(", ")},createApiUrlFilterString:function(t){for(var e=[],a=0,n=Object.entries(t);a<n.length;a++){var i=Object(rt["a"])(n[a],2),s=i[0],r=i[1];""!==r&&null!==r&&0!==r.length&&void 0!==r&&e.push(s+"="+encodeURIComponent(r))}return e.join("&")},createApiPostFilterString:function(t){for(var e={},a=0,n=Object.entries(t);a<n.length;a++){var i=Object(rt["a"])(n[a],2),s=i[0],r=i[1];""!==r&&null!==r&&0!==r.length&&void 0!==r&&(e[s]=r)}return e},createRegionsToString:function(t){var e="";if(t.include=t.include||[],t.exclude=t.exclude||[],0!==t.include.length){var a=t.include.join("+");e+=a}if(0!==t.exclude.length){e+="-";var n=t.exclude.join("-");e+=n}return e},stringToNumber:function(t){return"string"==typeof t?parseFloat(t.replace(/,/g,".")):t},stringToFloat:function(t){if(null===t||void 0===t||""===t)return"";if("string"==typeof t)switch(it.locale){case"en":case"ko":case"jp":case"ja":t=parseFloat(t.replace(",",""));break;case"de":var e=t.replace(",","COMMA");e=e.replace(".",""),e=e.replace("COMMA","."),t=parseFloat(e);break}return t},floatToString:function(t){if(null===t||void 0===t||""===t)return"";if("number"==typeof t)switch(it.locale){case"en":case"ko":case"jp":case"ja":t=new Intl.NumberFormat("en-US",{minimumFractionDigits:2}).format(t);break;case"de":t=new Intl.NumberFormat("de-DE",{minimumFractionDigits:2}).format(t);break}return t},getNumberLocalization:function(t,e){return null===t||void 0===t||""===t?null:it.n(this.stringToNumber(t),e)},getStatus:function(t){return ye.find((function(e){return e.value===t})).text},printName:function(t){return void 0!==t.firstName&&void 0!==t.lastName&&""!==t.firstName&&""!==t.lastName&&null!==t.firstName&&null!==t.lastName},dateToISOFormat:function(t){return t.getFullYear()+"-"+("0"+(t.getMonth()+1)).slice(-2)+"-"+("0"+t.getDate()).slice(-2)},cwrSocieties:function(t,e){var a=oW.getters.getSocieties,n=[];return a.forEach((function(t){35!==t.value&&80!==t.value&&5!==t.value&&10!==t.value&&283!==t.value&&34!==t.value&&63!==t.value&&707!==t.value&&58!==t.value&&79!==t.value&&93!==t.value&&52!=t.value&&38!=t.value&&708!==t.value||(t.alvqa=e+"-"+t.text,n.push(t))})),n.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),t&&n.unshift({text:it.t("lang_PUBLISHING_WORKS_EXPORT_NOT_A_SOCIETY"),value:0,alvqa:e+"-no-society-000"}),n},buildDialogMessage:function(t,e){var a=this.buildParameterizedMessage(t,e);return a+="<br /><br />"+it.t("lang_GENERAL_DIALOG_TEXT_CLOSE_DIALOG"),a},buildParameterizedMessage:function(t,e){var a=it.t(t);if(e)for(var n in e)a=a.replace("<".concat(n,">"),"<b>".concat(e[n],"</b>"));return a},updateListOfDistributorsInLocalStorageAccordingToEntity:function(t){var e=t,a=t.type,n=JSON.parse(localStorage.getItem("userData")),i=n.labelStatisticsInRows.distributors;if(null!==a){var s=a.includes("vertrieb"),r=a.includes("kommissionsvertrieb");if(s||r||r&&s)if(2===e.visibility){var l=i.find((function(t){return t.alvid===e.alvId}));if(void 0!==l&&null!==l)return;var o={value:e.id,text:e.group,alvid:e.alvId};n.labelStatisticsInRows.distributors.push(o),localStorage.setItem("userData",JSON.stringify(n))}else{var c=i.find((function(t){return t.alvid===e.alvId}));if(void 0!==c&&null!==c){var u=n.labelStatisticsInRows.distributors.findIndex((function(t){return t.alvid===c.alvid}));n.labelStatisticsInRows.distributors.splice(u,1),localStorage.setItem("userData",JSON.stringify(n))}else console.log("Hidden: Was not found")}else{var d=i.find((function(t){return t.alvid===e.alvId}));if(!s&&!r&&d){var g=n.labelStatisticsInRows.distributors.findIndex((function(t){return t.alvid===d.alvid}));n.labelStatisticsInRows.distributors.splice(g,1),localStorage.setItem("userData",JSON.stringify(n))}}}},showNameOfAzEntry:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return"";var a=t.typeOfAz,n="";switch(a){case"G":n=null!==t.group?t.group:t.gemaName;break;case"P":null!==t.group?(n=t.group,null===t.firstName&&null===t.lastName||e||(n+=" ("+(null!==t.firstName?t.firstName:"")+(null!==t.lastName?" "+t.lastName:"")+")")):n=null!==t.firstName||null!==t.lastName?(null!==t.firstName?t.firstName:"")+(null!==t.lastName?" "+t.lastName:""):t.gemaName;break;default:n=t.gemaName}return n},getArtistOrPerformerName:function(t){return null!==t&&void 0!==t?"object"!==Object(Rl["a"])(t)||Array.isArray(t)?t:this.showNameOfAzEntry(t):null},setCountryInAzGroupsAndPersons:function(){var t="",e=JSON.parse(localStorage.getItem("userData"))["user"]["companyCountry"];return void 0!==e&&null!==e&&""!==e&&(t=e),t},sortingOriginalInterestedPartiesByRole:function(t){var e={};return Object.entries(t).forEach((function(t){var a=Object(rt["a"])(t,2),n=a[0],i=a[1],s=[],r=[],l=[],o=[],c=[],u=[],d=[],g=[],p=[],v=[],_=[],h=[];if(0!==i.length)for(var m=0,f=Array.from(i);m<f.length;m++){var S=f[m];"C"===S.role?r.push(S):"CA"===S.role?l.push(S):"A"===S.role?o.push(S):"AR"===S.role?c.push(S):"E"===S.role?u.push(S):"SE"===S.role?d.push(S):"SA"===S.role?g.push(S):"TNA"===S.role?p.push(S):"TNE"===S.role?v.push(S):"TS"===S.role?_.push(S):"ST"===S.role&&h.push(S)}s=s.concat(r,l,c,o,_,g,p,v,h,d,u),e[n]=s})),e},getSocietyPanelHeadline:function(t){return this.getSocietyName(parseInt(t))+"-"+it.t("lang_GENERAL_CAPTION_SHARES")},getTodaysDateYYYYMMDD:function(){var t=new Date,e=t.getFullYear(),a=(t.getMonth()+1).toString().padStart(2,"0"),n=t.getDate().toString().padStart(2,"0");return e+"-"+a+"-"+n}}),j$="publishing/works",z$={id:0,alvId:"ALV000000000PW",title:null,gemaNumber:null,registrationDate:null,status:null,composers:[],publishers:[],iwk:null,lastUpdated:null,iceStatus:null,scorePrinting:null,iswc:null,seconds:null,language:null,catalogueNumber:null,isrc:null,foreignWorkIds:null,duration:null,type:null,notificationDate:null,workPoints:null,notes:null,pwrDate:null,pwrDuration:null,leadingPublisher:null,style:null,backCollection:"yes",oldMrSplit:"currentDistribution",freeRoleSplitMusic:null,freeRoleSplitText:null,tags:null,favourites:null,alternativeTitles:[],otherInterestedParties:[],originalInterestedParties:[],instrumentation:[]},H$={id:0,title:null,type:null},V$={id:0,name:null,type:null},Y$={id:0,title:null,instruments:null,musicians:null,voices:null},K$={id:0,prPercent:null,mrPercent:null,mrSociety:null,prSociety:null,azEntity:null,role:null,pwr:[],pmr:null,position:null,ipi:null,shareType:null},Z$={works:[],selectedWorks:[],isAllSelectedWorks:!1,expandedWorks:[],selectedCwrSubmitterCode:null,selectedSpotifySetting:null,worksSideSortingOptions:{sortBy:["title"],sortDesc:[!1],mustSort:!0},workShareType:null,worksSearch:"",selectedWorksQualityFilter:[],selectedWorksStatusFilter:[],noSharesCheckbox:["role"],noSharesHomeSocietyCheckbox:[],showNoSharesDialog:!1,showDistributionSearchDialog:!1,distributionSearchDetails:{},distributionSearchDetailsTarget:[],distributionSearchDetailsFunction:[],distributionSearchDetailsStatus:[],distributionSearchDetailsFrom:null,distributionSearchDetailsTo:null,showYearOfExpirationDialog:!1,selectedYearOfExpiration:0,selectedPublishingCompany:"",selectedWorksAction:[],contractsForWorksSearch:"",selectedContractsForWorks:[],totalContractsForWorksListed:"",totalContractsForWorksRecords:"",showGemaSoundfileDialog:!1,gemaSoundfileDialogApprovals:["advertisement","tvRadio","online","clubDisco"],showWorksRegistrationDialog:!1,worksRegistrationSelectedTarget:"",worksRegistrationContractDate:null,worksRegistrationDetailsGemaUsername:null,worksRegistrationDetailsGemaPassword:null,worksRegistrationDetailsCwrSubmitter:null,worksRegistrationDetailsCwrRecipient:null,worksRegistrationDetailsInterestedParties:"no",worksRegistrationDetailsShareType:"own",worksRegistrationDetailsPmr:"no",worksRegistrationDetailsSelectedPublisherEntry:null,worksRegistrationGemaIwaCheckbox:[],worksRegistrationGemaLoginToken:null,worksRegistrationDialogStepText:"",worksRegistrationDialogSuccessText:null,worksRegistrationDialogErrorText:null,worksRegistrationDialogShowLoginButton:!0,worksRegistrationDialogDisableLoginButton:!1,worksRegistrationDialogShowPreflightButton:!1,worksRegistrationDialogDisablePreflightButton:!1,worksRegistrationDialogShowSendButton:!1,worksRegistrationDialogDisableSendButton:!1,worksRegistrationDeaktivateForm:!1,worksRegistrationDeaktivateLogin:!1,worksRegistrationXmlFilePath:null,worksRegistrationPreflightPathCsv:null,worksRegistrationRegistrationErrorCsv:null,worksRegistrationRegistrationCsv:null,worksRegistrationRegistrationPdf:null,bulkEditCopySharesReportCsv:null,bulkEditFillIntlReportCsv:null,bulkEditRemoveSEReportCsv:null,showWorksBulkEditingDialog:!1,worksBulkEditingDetailsSourceShare:"fromGEMA",worksBulkEditingDetailsTargetShare:"toOwn",worksBulkEditingDetailsFillIntl:"toIntl",worksBulkEditingDetailsRemoveSEArray:[],worksBulkEditingDetailsRemoveSEField:null,worksBulkEditingDetailsRemoveSEShareType:"own",worksBulkEditingDetailsSocietyOwnShares:"none",worksBulkEditingDetailsTargetShareCombineE:"intl",bulkEditingAllWorks:!1,bulkEditingStatusOfConvertRoleShares:"",bulkEditingShowConvertRoleSharesProgressBar:!1,showWorksBulkEditingConfirmDialog:!1,worksBulkEditingActionToConfirm:null,testCalculationGemaDialog:!1,testCalculationGemaForm:{},testCalculationGemaResult:[],testCalculationGemaResultErrorMessage:null,testCalculationGemaFormTypeOfRightsValues:[],testCalculationGemaFormBgValues:[],testCalculationGemaYktoOptions:[],testCalculationGemaFormCountry:null,testCalculationSvdForm:{},testCalculationSvdDialog:!1,testCalculationSvdResult:[],testCalculationSvdResultErrorMessage:null,testCalculationSvdCheckbox:[],testCalculationC3Form:{},testCalculationC3Dialog:!1,testCalculationC3Result:[],testCalculationC3ResultErrorMessage:null,testCalculationC3FormTypeOfRightsValues:[],testCalculationC3SourceIdOptions:[],testCalculationC3RecipientIdOptions:null,testCalculationC3DetailsAmount:null,testCalculationC3DetailsCollPercent:null,testCalculationC3DetailsCountry:null,testCalculationC3DetailsSourceId:null,testCalculationC3DetailsRecipientId:null,testCalculationC3DetailsRightsTypes:null,testCalculationC3DetailsCategory:null,testCalculationC3DetailsSubCategory:null,showWorksImportDialog:!1,worksImportUploadValue:0,workImportTags:null,worksImportCwrType:"ack",worksImportCwrSourceShareType:"collection",worksImportCwrTargetShareType:"intl",worksImportSelectedMapping:null,worksCwrPublisherSourceAzOptions:[],worksDetailsCwrPublisherSourceAz:null,showExportWorksDialog:!1,exportAllWorks:!1,exportWorksDetailsType:"Excel",exportWorksExcelCheckbox:["isIntl"],exportWorksCWRCheckbox:[],exportWorksTypesExcel:"exportOpwTypes",exportWorksTypesCWR:"exportOpwTypes",exportWorksIncludeOptions:[],exportWorksExcludeOptions:[],exportWorksDetailsInterestedPartiesExcel:"no",exportWorksDetailsInterestedPartiesCWR:"no",exportWorksDetailsCwrSubmitter:"",exportWorksDetailsCwrFileVersion:"V21",exportWorksDetailsCwrRecipient:0,exportWorksDetailsPseudoSlg:null,exportWorksDetailsInclude:[],exportWorksDetailsExclude:[],exportWorksErrorArray:[],exportWorksResultLink:null,exportWorksResultGi:null,exportWorksShowResult:!1,exportWorksDetailsMappingId:null,exportWorksDetailsMappingSource:null,exportWorksSlgContracts:[],exportWorksDetailsSelectedPublisherEntry:null,exportWorksDetailsShareType:"own",exportPublisherEntries:[],defaultNewWork:z$,workDetails:{},workUniqueId:"",leadingPublishers:[],createNewWorkStatus:"ghost",workDistributions:[],workShares:[],worksAlternativeTitles:[],selectedWorksAlternativeTitles:[],defaultWorksAlternativeTitles:H$,worksAlternativeTitlesEditingDialogDetails:H$,showWorksAlternativeTitlesEditingDialog:!1,worksOtherPersons:[],selectedWorksOtherPersons:[],defaultWorksOtherPersons:V$,worksOtherPersonsEditingDialogDetails:V$,showWorksOtherPersonsEditingDialog:!1,worksInstrumentation:[],selectedWorkInstrumentation:[],defaultWorksInstrumentation:Y$,worksInstrumentationEditingDialogDetails:Y$,showWorksInstrumentationEditingDialog:!1,worksOriginalShares:{},selectedWorksOriginalShares:[],showWorksOriginalSharesEditingDialog:!1,defaultWorksOriginalShares:K$,worksOriginalSharesEditingDialogDetails:K$,worksOriginalSharesInterestedPartyOptions:[],worksSheetsAndProjects:[],worksSheetsAndProjectsTotalListed:0,worksSheetsAndProjectsCurrentPage:1,worksSheetsAndProjectsTotalRecords:0,worksSheetsAndProjectsNumberOfPages:0},X$={getWorks:function(t){return t.works},getSelectedWorks:function(t){return t.selectedWorks},getIsAllSelectedWorks:function(t){return t.isAllSelectedWorks},getExpandedWorks:function(t){return t.expandedWorks},getSelectedCwrSubmitterCode:function(t){return t.selectedCwrSubmitterCode},getSelectedSpotifySetting:function(t){return t.selectedSpotifySetting},getWorksServerSideSortingOptions:function(t){return t.worksSideSortingOptions},getWorkShareType:function(t){return t.workShareType},getWorksSearch:function(t){return t.worksSearch},getSelectedWorksQualityFilter:function(t){return t.selectedWorksQualityFilter},getSelectedWorksStatusFilter:function(t){return t.selectedWorksStatusFilter},getNoSharesCheckbox:function(t){return t.noSharesCheckbox},getNoSharesHomeSocietyCheckbox:function(t){return t.noSharesHomeSocietyCheckbox},getDistributionSearchDetails:function(t){return t.distributionSearchDetails},getDistributionSearchDetailsTarget:function(t){return t.distributionSearchDetailsTarget},getDistributionSearchDetailsFunction:function(t){return t.distributionSearchDetailsFunction},getDistributionSearchDetailsStatus:function(t){return t.distributionSearchDetailsStatus},getDistributionSearchDetailsFrom:function(t){return t.distributionSearchDetailsFrom},getDistributionSearchDetailsTo:function(t){return t.distributionSearchDetailsTo},getSelectedYearOfExpiration:function(t){return t.selectedYearOfExpiration},getSelectedPublishingCompany:function(t){return t.selectedPublishingCompany},getSelectedWorksAction:function(t){return t.selectedWorksAction},getContractsForWorksSearch:function(t){return t.contractsForWorksSearch},getSelectedContractsForWorks:function(t){return t.selectedContractsForWorks},getTotalContractsForWorksListed:function(t){return t.totalContractsForWorksListed},getTotalContractsForWorksRecords:function(t){return t.totalContractsForWorksRecords},getShowGemaSoundfileDialog:function(t){return t.showGemaSoundfileDialog},getGemaSoundfileDialogApprovalsCheckbox:function(t){return t.gemaSoundfileDialogApprovals},getShowWorksRegistrationDialog:function(t){return t.showWorksRegistrationDialog},getWorksRegistrationDetailsTarget:function(t){return t.worksRegistrationSelectedTarget},getWorksRegistrationDetailsContractDate:function(t){return t.worksRegistrationContractDate},getWorksRegistrationDetailsGemaUsername:function(t){return t.worksRegistrationDetailsGemaUsername},getWorksRegistrationDetailsGemaPassword:function(t){return t.worksRegistrationDetailsGemaPassword},getWorksRegistrationDetailsCwrSubmitter:function(t){return t.worksRegistrationDetailsCwrSubmitter},getWorksRegistrationDetailsCwrRecipient:function(t){return t.worksRegistrationDetailsCwrRecipient},getWorksRegistrationDetailsInterestedParties:function(t){return t.worksRegistrationDetailsInterestedParties},getWorksRegistrationDetailsPmr:function(t){return t.worksRegistrationDetailsPmr},getWorksRegistrationDetailsSelectedPublisherEntry:function(t){return t.worksRegistrationDetailsSelectedPublisherEntry},getWorksRegistrationDetailsShareType:function(t){return t.worksRegistrationDetailsShareType},getWorksRegistrationGemaIwaCheckbox:function(t){return t.worksRegistrationGemaIwaCheckbox},getWorksRegistrationGemaLoginToken:function(t){return t.worksRegistrationGemaLoginToken},getWorksRegistrationDialogStepText:function(t){return t.worksRegistrationDialogStepText},getWorksRegistrationDialogSuccessText:function(t){return t.worksRegistrationDialogSuccessText},getWorksRegistrationDialogErrorText:function(t){return t.worksRegistrationDialogErrorText},getWorksRegistrationDialogShowLoginButton:function(t){return t.worksRegistrationDialogShowLoginButton},getWorksRegistrationDialogDisableLoginButton:function(t){return t.worksRegistrationDialogDisableLoginButton},getWorksRegistrationDialogShowPreflightButton:function(t){return t.worksRegistrationDialogShowPreflightButton},getWorksRegistrationDialogDisablePreflightButton:function(t){return t.worksRegistrationDialogDisablePreflightButton},getworksRegistrationDialogShowSendButton:function(t){return t.worksRegistrationDialogShowSendButton},getWorksRegistrationDialogDisableSendButton:function(t){return t.worksRegistrationDialogDisableSendButton},getWorksRegistrationDeaktivateForm:function(t){return t.worksRegistrationDeaktivateForm},getWorksRegistrationDeaktivateLogin:function(t){return t.worksRegistrationDeaktivateLogin},getWorksRegistrationXmlFilePath:function(t){return t.worksRegistrationXmlFilePath},getWorksRegistrationPreflightPathCsv:function(t){return t.worksRegistrationPreflightPathCsv},getWorksRegistrationRegistrationErrorCsv:function(t){return t.worksRegistrationRegistrationErrorCsv},getWorksRegistrationRegistrationCsv:function(t){return t.worksRegistrationRegistrationCsv},getWorksRegistrationRegistrationPdf:function(t){return t.worksRegistrationRegistrationPdf},getBulkEditCopySharesReportCsv:function(t){return t.bulkEditCopySharesReportCsv},getBulkEditFillIntlReportCsv:function(t){return t.bulkEditFillIntlReportCsv},getBulkEditRemoveSEReportCsv:function(t){return t.bulkEditRemoveSEReportCsv},getShowWorksBulkEditingDialog:function(t){return t.showWorksBulkEditingDialog},getWorksBulkEditingDetailsSourceShare:function(t){return t.worksBulkEditingDetailsSourceShare},getWorksBulkEditingDetailsTargetShare:function(t){return t.worksBulkEditingDetailsTargetShare},getWorksBulkEditingDetailsFillIntl:function(t){return t.worksBulkEditingDetailsFillIntl},getWorksBulkEditingDetailsRemoveSEArray:function(t){return t.worksBulkEditingDetailsRemoveSEArray},getWorksBulkEditingDetailsRemoveSEField:function(t){return t.worksBulkEditingDetailsRemoveSEField},getWorksBulkEditingDetailsRemoveSEShareType:function(t){return t.worksBulkEditingDetailsRemoveSEShareType},getWorksBulkEditingDetailsSocietyOwnShares:function(t){return t.worksBulkEditingDetailsSocietyOwnShares},getWorksBulkEditingDetailsTargetShareCombineE:function(t){return t.worksBulkEditingDetailsTargetShareCombineE},getBulkEditingAllWorks:function(t){return t.bulkEditingAllWorks},getBulkEditingStatusOfConvertRoleShares:function(t){return t.bulkEditingStatusOfConvertRoleShares},getBulkEditingShowConvertRoleSharesProgressBar:function(t){return t.bulkEditingShowConvertRoleSharesProgressBar},getShowWorksBulkEditingConfirmDialog:function(t){return t.showWorksBulkEditingConfirmDialog},getWorksBulkEditingActionToConfirm:function(t){return t.worksBulkEditingActionToConfirm},getTestCalculationGemaDialog:function(t){return t.testCalculationGemaDialog},getTestCalculationGemaForm:function(t){return t.testCalculationGemaForm},getTestCalculationGemaResult:function(t){return t.testCalculationGemaResult},getTestCalculationGemaResultErrorMessage:function(t){return t.testCalculationGemaResultErrorMessage},getTestCalculationGemaFormTypeOfRightsValues:function(t){return t.testCalculationGemaFormTypeOfRightsValues},getTestCalculationGemaYktoOptions:function(t){return t.testCalculationGemaYktoOptions},getTestCalculationGemaFormBgValues:function(t){return t.testCalculationGemaFormBgValues},getTestCalculationGemaDetailsAmount:function(t){return t.testCalculationGemaForm.amount},getTestCalculationGemaDetailsRights:function(t){return t.testCalculationGemaForm.rights},getTestCalculationGemaDetailsCountry:function(t){return t.testCalculationGemaForm.country},getTestCalculationGemaDetailsYkto:function(t){return t.testCalculationGemaForm.ykto},getTestCalculationGemaDetailsBg:function(t){return t.testCalculationGemaForm.bg},getTestCalculationGemaDetailsHkto:function(t){return t.testCalculationGemaForm.hkto},getTestCalculationGemaDetailsGdfPercent:function(t){return t.testCalculationGemaForm.percent},getTestCalculationGemaDetailsUkto:function(t){return t.testCalculationGemaForm.ukto},getTestCalculationSvdForm:function(t){return t.testCalculationSvdForm},getTestCalculationSvdDialog:function(t){return t.testCalculationSvdDialog},getTestCalculationSvdResult:function(t){return t.testCalculationSvdResult},getTestCalculationSvdResultErrorMessage:function(t){return t.testCalculationSvdResultErrorMessage},getTestCalculationSvdFormTypeOfRightsValues:function(t){return t.testCalculationGemaFormTypeOfRightsValues},getTestCalculationSvdDetailsAtSource:function(t){return t.testCalculationSvdForm.amountAtSource},getTestCalculationSvdDetailsRights:function(t){return t.testCalculationSvdForm.rights},getTestCalculationSvdDetailsAmount:function(t){return t.testCalculationSvdForm.amount},getTestCalculationSvdDetailsSharePercent:function(t){return t.testCalculationSvdForm.percent},getTestCalculationSvdDetailsCountry:function(t){return t.testCalculationSvdForm.country},getTestCalculationSvdCheckbox:function(t){return t.testCalculationSvdCheckbox},getTestCalculationC3Form:function(t){return t.testCalculationC3Form},getTestCalculationC3Dialog:function(t){return t.testCalculationC3Dialog},getTestCalculationC3Result:function(t){return t.testCalculationC3Result},getTestCalculationC3ResultErrorMessage:function(t){return t.testCalculationC3ResultErrorMessage},getTestCalculationC3FormTypeOfRightsValues:function(t){return t.testCalculationC3FormTypeOfRightsValues},getTestCalculationC3SourceIdOptions:function(t){return t.testCalculationC3SourceIdOptions},getTestCalculationC3RecipientIdOptions:function(t){return t.testCalculationC3RecipientIdOptions},getTestCalculationC3DetailsAmount:function(t){return t.testCalculationC3DetailsAmount},getTestCalculationC3DetailsCollPercent:function(t){return t.testCalculationC3DetailsCollPercent},getTestCalculationC3DetailsCountry:function(t){return t.testCalculationC3DetailsCountry},getTestCalculationC3DetailsSourceId:function(t){return t.testCalculationC3DetailsSourceId},getTestCalculationC3DetailsRecipientId:function(t){return t.testCalculationC3DetailsRecipientId},getTestCalculationC3DetailsRightsTypes:function(t){return t.testCalculationC3DetailsRightsTypes},getTestCalculationC3DetailsCategory:function(t){return t.testCalculationC3DetailsCategory},getTestCalculationC3DetailsSubCategory:function(t){return t.testCalculationC3DetailsSubCategory},getShowWorksImportDialog:function(t){return t.showWorksImportDialog},getWorksImportUploadValue:function(t){return t.worksImportUploadValue},getWorkImportTags:function(t){return t.workImportTags},getWorksDetailsImportCwrType:function(t){return t.worksImportCwrType},getWorksDetailsImportCwrSourceShareType:function(t){return t.worksImportCwrSourceShareType},getWorksDetailsImportCwrTargetShareType:function(t){return t.worksImportCwrTargetShareType},getWorksDetailsImportSelectedMapping:function(t){return t.worksImportSelectedMapping},getWorksCwrPublisherSourceAzOptions:function(t){return t.worksCwrPublisherSourceAzOptions},getWorksDetailsCwrPublisherSourceAz:function(t){return t.worksDetailsCwrPublisherSourceAz},getShowExportWorksDialog:function(t){return t.showExportWorksDialog},getExportAllWorks:function(t){return t.exportAllWorks},getExportWorksDetailsType:function(t){return t.exportWorksDetailsType},getExportWorksExcelCheckbox:function(t){return t.exportWorksExcelCheckbox},getExportWorksCWRCheckbox:function(t){return t.exportWorksCWRCheckbox},getExportWorksIncludeOptions:function(t){return t.exportWorksIncludeOptions},getExportWorksExcludeOptions:function(t){return t.exportWorksExcludeOptions},getExportWorksDetailsInterestedPartiesExcel:function(t){return t.exportWorksDetailsInterestedPartiesExcel},getExportWorksDetailsInterestedPartiesCWR:function(t){return t.exportWorksDetailsInterestedPartiesCWR},getExportWorksDetailsExportWorksTypesExcel:function(t){return t.exportWorksTypesExcel},getExportWorksDetailsExportWorksTypesCWR:function(t){return t.exportWorksTypesCWR},getExportWorksDetailsCwrSubmitter:function(t){return t.exportWorksDetailsCwrSubmitter},getExportWorksDetailsCwrFileVersion:function(t){return t.exportWorksDetailsCwrFileVersion},getExportWorksDetailsCwrRecipient:function(t){return t.exportWorksDetailsCwrRecipient},getExportWorksDetailsInclude:function(t){return t.exportWorksDetailsInclude},getExportWorksDetailsExclude:function(t){return t.exportWorksDetailsExclude},getExportWorksErrorArray:function(t){return t.exportWorksErrorArray},getExportWorksResultLink:function(t){return t.exportWorksResultLink},getExportWorksResultGi:function(t){return t.exportWorksResultGi},getExportWorksShowResult:function(t){return t.exportWorksShowResult},getExportWorksDetailsMappingId:function(t){return t.exportWorksDetailsMappingId},getExportWorksDetailsMappingSource:function(t){return t.exportWorksDetailsMappingSource},getExportWorksSlgContracts:function(t){return t.exportWorksSlgContracts},getExportWorksDetailsPseudoSlg:function(t){return t.exportWorksDetailsPseudoSlg},getExportWorksDetailsSelectedPublisherEntry:function(t){return t.exportWorksDetailsSelectedPublisherEntry},getExportPublisherEntries:function(t){return t.exportPublisherEntries},getExportWorksDetailsShareType:function(t){return t.exportWorksDetailsShareType},getDefaultNewWork:function(t){return t.defaultNewWork},getWorksUniqueId:function(t){return t.workUniqueId},getWorksDetails:function(t){return t.workDetails},getLeadingPublishers:function(t){return t.leadingPublishers},getWorkDetailsPwrDuration:function(t){return t.workDetails.pwrDuration},getWorkDetailsPwrDate:function(t){return t.workDetails.pwrDate},getCreateNewWorkStatus:function(t){return t.createNewWorkStatus},getWorkDetailsAlvId:function(t){return t.workDetails.alvId},getWorkDetailsTitle:function(t){return t.workDetails.title},getWorkDetailsSocietyWorkId:function(t){return t.workDetails.gemaNumber},getWorkDetailsRegistrationDate:function(t){return t.workDetails.registrationDate},getWorkDetailsStatus:function(t){return t.workDetails.status},getWorkDetailsRegistrationId:function(t){return t.workDetails.registrationId},getWorkDetailsIceWorkKey:function(t){return t.workDetails.iwk},getWorkDetailsLastUpdated:function(t){return t.workDetails.lastUpdated},getWorkDetailsIceStatus:function(t){return t.workDetails.iceStatus},getWorkDetailsScorePrinting:function(t){return t.workDetails.scorePrinting},getWorkDetailsIswc:function(t){return t.workDetails.iswc},getWorkDetailsLanguage:function(t){return t.workDetails.language},getWorkDetailsCatalogueNumber:function(t){return t.workDetails.catalogueNumber},getWorkDetailsType:function(t){return t.workDetails.type},getWorkDetailsIsrc:function(t){return void 0===t.workDetails.isrc||null===t.workDetails.isrc?null:t.workDetails.isrc.manual},getWorkDetailsNotes:function(t){return t.workDetails.notes},getWorkDetailsWorkPoints:function(t){return t.workDetails.workPoints},getWorkDetailsNotificationDate:function(t){return t.workDetails.notificationDate},getWorkDetailsForeignWorkIds:function(t){return t.workDetails.foreignWorkIds},getWorkDetailsDuration:function(t){return t.workDetails.duration},getWorkDetailsStyle:function(t){return t.workDetails.style},getWorkDetailsBackCollection:function(t){return t.workDetails.backCollection},getWorkDetailsOldMrSplit:function(t){return t.workDetails.oldMrSplit},getWorkDetailsTags:function(t){return t.workDetails.tags},getWorkDetailsFavourites:function(t){return t.workDetails.favourites},getWorkDetailsFreeRoleSplitMusic:function(t){return t.workDetails.freeRoleSplitMusic},getWorkDetailsFreeRoleSplitText:function(t){return t.workDetails.freeRoleSplitText},getWorkDetailsLeadingPublisher:function(t){return t.workDetails.leadingPublisher},getWorkDistributions:function(t){return t.workDetails.distributions},getWorkShares:function(t){return t.workShares},getWorksAlternativeTitles:function(t){return t.worksAlternativeTitles},getSelectedWorksAlternativeTitles:function(t){return t.selectedWorksAlternativeTitles},getDefaultWorksAlternativeTitles:function(t){return t.defaultWorksAlternativeTitles},getShowWorksAlternativeTitlesEditingDialog:function(t){return t.showWorksAlternativeTitlesEditingDialog},getWorksAlternativeTitlesEditingDialogDetails:function(t){return t.worksAlternativeTitlesEditingDialogDetails},getWorksAlternativeTitlesDetailsTitle:function(t){return t.worksAlternativeTitlesEditingDialogDetails.title},getWorksAlternativeTitlesDetailsType:function(t){return t.worksAlternativeTitlesEditingDialogDetails.type},getWorksOtherPersons:function(t){return t.worksOtherPersons},getSelectedWorksOtherPersons:function(t){return t.selectedWorksOtherPersons},getDefaultWorksOtherPersons:function(t){return t.defaultWorksOtherPersons},getShowWorksOtherPersonsEditingDialog:function(t){return t.showWorksOtherPersonsEditingDialog},getWorksOtherPersonsEditingDialogDetails:function(t){return t.worksOtherPersonsEditingDialogDetails},getWorksOtherPersonsDetailsName:function(t){return t.worksOtherPersonsEditingDialogDetails.name},getWorksOtherPersonsDetailsType:function(t){return t.worksOtherPersonsEditingDialogDetails.type},getWorksInstrumentation:function(t){return t.worksInstrumentation},getSelectedWorksInstrumentation:function(t){return t.selectedWorkInstrumentation},getDefaultWorksInstrumentation:function(t){return t.defaultWorksInstrumentation},getWorksInstrumentationEditingDialogDetails:function(t){return t.worksInstrumentationEditingDialogDetails},getShowWorksInstrumentationEditingDialog:function(t){return t.showWorksInstrumentationEditingDialog},getWorksInstrumentationDetailsTitle:function(t){return t.worksInstrumentationEditingDialogDetails.title},getWorksInstrumentationDetailsInstruments:function(t){return t.worksInstrumentationEditingDialogDetails.instruments},getWorksInstrumentationDetailsMusicians:function(t){return t.worksInstrumentationEditingDialogDetails.musicians},getWorksInstrumentationDetailsVoices:function(t){return t.worksInstrumentationEditingDialogDetails.voices},getWorksOriginalShares:function(t){return t.worksOriginalShares},getSelectedWorksOriginalShares:function(t){return t.selectedWorksOriginalShares},getShowNoSharesDialog:function(t){return t.showNoSharesDialog},getShowDistributionSearchDialog:function(t){return t.showDistributionSearchDialog},getShowWorksOriginalSharesEditingDialog:function(t){return t.showWorksOriginalSharesEditingDialog},getDefaultWorksOriginalShares:function(t){return t.defaultWorksOriginalShares},getWorksOriginalSharesEditingDialogDetails:function(t){return t.worksOriginalSharesEditingDialogDetails},getWorksOriginalSharesDetailsPrPercent:function(t){return t.worksOriginalSharesEditingDialogDetails.prPercent},getWorksOriginalSharesDetailsMrPercent:function(t){return t.worksOriginalSharesEditingDialogDetails.mrPercent},getWorksOriginalSharesDetailsRole:function(t){return t.worksOriginalSharesEditingDialogDetails.role},getWorksOriginalSharesDetailsPwr:function(t){return t.worksOriginalSharesEditingDialogDetails.pwr},getWorksOriginalSharesDetailsPmr:function(t){return t.worksOriginalSharesEditingDialogDetails.pmr},getWorksOriginalSharesDetailsPrSociety:function(t){return t.worksOriginalSharesEditingDialogDetails.prSociety},getWorksOriginalSharesDetailsMrSociety:function(t){return t.worksOriginalSharesEditingDialogDetails.mrSociety},getWorksOriginalSharesDetailsInterestedParty:function(t){return t.worksOriginalSharesEditingDialogDetails.azEntity},getWorksOriginalSharesDetailsShareType:function(t){return t.worksOriginalSharesEditingDialogDetails.shareType},getWorksOriginalSharesInterestedPartyOptions:function(t){return t.worksOriginalSharesInterestedPartyOptions},getShowYearOfExpirationDialog:function(t){return t.showYearOfExpirationDialog},getWorksSheetsAndProjects:function(t){return t.worksSheetsAndProjects},getWorksSheetsAndProjectsTotalListed:function(t){return t.worksSheetsAndProjectsTotalListed},getWorksSheetsAndProjectsCurrentPage:function(t){return t.worksSheetsAndProjectsCurrentPage},getWorksSheetsAndProjectsTotalRecords:function(t){return t.worksSheetsAndProjectsTotalRecords},getWorksSheetsAndProjectsNumberOfPages:function(t){return t.worksSheetsAndProjectsNumberOfPages}},J$={setWorks:function(t,e){t.works=e},setSelectedWorks:function(t,e){t.selectedWorks=e},setIsAllSelectedWorks:function(t,e){t.isAllSelectedWorks=e},setExpandedWorks:function(t,e){t.expandedWorks=[e]},setSelectedCwrSubmitterCode:function(t,e){t.selectedCwrSubmitterCode=e},setSelectedSpotifySetting:function(t,e){t.selectedSpotifySetting=e},setWorksServerSideSortingOptions:function(t,e){t.worksSideSortingOptions=e},setWorkShareType:function(t,e){t.workShareType=e},setWorksSearch:function(t,e){t.worksSearch=e},setSelectedWorksQualityFilter:function(t,e){t.selectedWorksQualityFilter=e},setSelectedWorksStatusFilter:function(t,e){t.selectedWorksStatusFilter=e},setNoSharesCheckbox:function(t,e){t.noSharesCheckbox=e},setNoSharesHomeSocietyCheckbox:function(t,e){t.noSharesHomeSocietyCheckbox=e},setDistributionSearchDetailsTarget:function(t,e){t.distributionSearchDetailsTarget=e},setDistributionSearchDetailsFunction:function(t,e){t.distributionSearchDetailsFunction=e},setDistributionSearchDetailsStatus:function(t,e){t.distributionSearchDetailsStatus=e},setDistributionSearchDetailsFrom:function(t,e){t.distributionSearchDetailsFrom=e},setDistributionSearchDetailsTo:function(t,e){t.distributionSearchDetailsTo=e},setSelectedYearOfExpiration:function(t,e){t.selectedYearOfExpiration=e},setSelectedPublishingCompany:function(t,e){t.selectedPublishingCompany=e},setSelectedWorksAction:function(t,e){t.selectedWorksAction=e},setContractsForWorksSearch:function(t,e){t.contractsForWorksSearch=e},setSelectedContractsForWorks:function(t,e){t.selectedContractsForWorks=e},setTotalContractsForWorksListed:function(t,e){t.totalContractsForWorksListed=e},setTotalContractsForWorksRecords:function(t,e){t.totalContractsForWorksRecords=e},setShowGemaSoundfileDialog:function(t,e){t.showGemaSoundfileDialog=e},setGemaSoundfileDialogApprovalsCheckbox:function(t,e){t.gemaSoundfileDialogApprovals=e},setTestCalculationGemaForm:function(t,e){t.testCalculationGemaForm=e},setTestCalculationGemaDialog:function(t,e){t.testCalculationGemaDialog=e},setTestCalculationGemaResult:function(t,e){t.testCalculationGemaResult=e},setTestCalculationGemaResultErrorMessage:function(t,e){t.testCalculationGemaResultErrorMessage=e},setTestCalculationGemaFormTypeOfRightsValues:function(t,e){t.testCalculationGemaFormTypeOfRightsValues=e},setTestCalculationGemaFormBgValues:function(t,e){t.testCalculationGemaFormBgValues=e},setTestCalculationGemaYktoOptions:function(t,e){t.testCalculationGemaYktoOptions=e},setTestCalculationGemaDetailsAmount:function(t,e){t.testCalculationGemaForm.amount=e},setTestCalculationGemaDetailsRights:function(t,e){t.testCalculationGemaForm.rights=e},setTestCalculationGemaDetailsCountry:function(t,e){t.testCalculationGemaForm.country=e},setTestCalculationGemaDetailsYkto:function(t,e){t.testCalculationGemaForm.ykto=e},setTestCalculationGemaDetailsBg:function(t,e){t.testCalculationGemaForm.bg=e},setTestCalculationGemaDetailsHkto:function(t,e){t.testCalculationGemaForm.hkto=e},setTestCalculationGemaDetailsGdfPercent:function(t,e){t.testCalculationGemaForm.percent=e},setTestCalculationGemaDetailsUkto:function(t,e){t.testCalculationGemaForm.ukto=e},setTestCalculationSvdForm:function(t,e){t.testCalculationSvdForm=e},setTestCalculationSvdDialog:function(t,e){t.testCalculationSvdDialog=e},setTestCalculationSvdResult:function(t,e){t.testCalculationSvdResult=e},setTestCalculationSvdResultErrorMessage:function(t,e){t.testCalculationSvdResultErrorMessage=e},setTestCalculationSvdFormTypeOfRightsValues:function(t,e){t.testCalculationGemaFormTypeOfRightsValues=e},setTestCalculationSvdDetailsAtSource:function(t,e){t.testCalculationSvdForm.amountAtSource=e},setTestCalculationSvdDetailsRights:function(t,e){t.testCalculationSvdForm.rights=e},setTestCalculationSvdDetailsAmount:function(t,e){t.testCalculationSvdForm.amount=e},setTestCalculationSvdDetailsSharePercent:function(t,e){t.testCalculationSvdForm.percent=e},setTestCalculationSvdDetailsCountry:function(t,e){t.testCalculationSvdForm.country=e},setTestCalculationSvdCheckbox:function(t,e){t.testCalculationSvdCheckbox=e},setTestCalculationC3Form:function(t,e){t.testCalculationC3Form=e},setTestCalculationC3Dialog:function(t,e){t.testCalculationC3Dialog=e},setTestCalculationC3Result:function(t,e){t.testCalculationC3Result=e},setTestCalculationC3ResultErrorMessage:function(t,e){t.testCalculationC3ResultErrorMessage=e},setTestCalculationC3FormTypeOfRightsValues:function(t,e){t.testCalculationC3FormTypeOfRightsValues=e},setTestCalculationC3SourceIdOptions:function(t,e){t.testCalculationC3SourceIdOptions=e},setTestCalculationC3RecipientIdOptions:function(t,e){t.testCalculationC3RecipientIdOptions=e},setTestCalculationC3DetailsAmount:function(t,e){t.testCalculationC3DetailsAmount=e},setTestCalculationC3DetailsCollPercent:function(t,e){t.testCalculationC3DetailsCollPercent=e},setTestCalculationC3DetailsCountry:function(t,e){t.testCalculationC3DetailsCountry=e},setTestCalculationC3DetailsSourceId:function(t,e){t.testCalculationC3DetailsSourceId=e},setTestCalculationC3DetailsRecipientId:function(t,e){t.testCalculationC3DetailsRecipientId=e},setTestCalculationC3DetailsRightsTypes:function(t,e){t.testCalculationC3DetailsRightsTypes=e},setTestCalculationC3DetailsCategory:function(t,e){t.testCalculationC3DetailsCategory=e},setTestCalculationC3DetailsSubCategory:function(t,e){t.testCalculationC3DetailsSubCategory=e},setShowWorksRegistrationDialog:function(t,e){t.showWorksRegistrationDialog=e},setWorksRegistrationDetailsTarget:function(t,e){t.worksRegistrationSelectedTarget=e},setWorksRegistrationDetailsContractDate:function(t,e){t.worksRegistrationContractDate=e},setWorksRegistrationDetailsGemaUsername:function(t,e){t.worksRegistrationDetailsGemaUsername=e},setWorksRegistrationDetailsGemaPassword:function(t,e){t.worksRegistrationDetailsGemaPassword=e},setWorksRegistrationDetailsCwrSubmitter:function(t,e){t.worksRegistrationDetailsCwrSubmitter=e},setWorksRegistrationDetailsCwrRecipient:function(t,e){t.worksRegistrationDetailsCwrRecipient=e},setWorksRegistrationDetailsInterestedParties:function(t,e){t.worksRegistrationDetailsInterestedParties=e},setWorksRegistrationDetailsPmr:function(t,e){t.worksRegistrationDetailsPmr=e},setWorksRegistrationDetailsSelectedPublisherEntry:function(t,e){t.worksRegistrationDetailsSelectedPublisherEntry=e},setWorksRegistrationDetailsShareType:function(t,e){t.worksRegistrationDetailsShareType=e},setWorksRegistrationGemaIwaCheckbox:function(t,e){t.worksRegistrationGemaIwaCheckbox=e},setWorksRegistrationGemaLoginToken:function(t,e){t.worksRegistrationGemaLoginToken=e},setWorksRegistrationDialogStepText:function(t,e){t.worksRegistrationDialogStepText=e},setWorksRegistrationDialogSuccessText:function(t,e){t.worksRegistrationDialogSuccessText=e},setWorksRegistrationDialogErrorText:function(t,e){t.worksRegistrationDialogErrorText=e},setWorksRegistrationDialogShowLoginButton:function(t,e){t.worksRegistrationDialogShowLoginButton=e},setWorksRegistrationDialogDisableLoginButton:function(t,e){t.worksRegistrationDialogDisableLoginButton=e},setWorksRegistrationDialogShowPreflightButton:function(t,e){t.worksRegistrationDialogShowPreflightButton=e},setWorksRegistrationDialogDisablePreflightButton:function(t,e){t.worksRegistrationDialogDisablePreflightButton=e},setWorksRegistrationDialogShowSendButton:function(t,e){t.worksRegistrationDialogShowSendButton=e},setWorksRegistrationDialogDisableSendButton:function(t,e){t.worksRegistrationDialogDisableSendButton=e},setWorksRegistrationDeaktivateForm:function(t,e){t.worksRegistrationDeaktivateForm=e},setWorksRegistrationDeaktivateLogin:function(t,e){t.worksRegistrationDeaktivateLogin=e},setWorksRegistrationXmlFilePath:function(t,e){t.worksRegistrationXmlFilePath=e},setWorksRegistrationPreflightPathCsv:function(t,e){t.worksRegistrationPreflightPathCsv=e},setWorksRegistrationRegistrationErrorCsv:function(t,e){t.worksRegistrationRegistrationErrorCsv=e},setWorksRegistrationRegistrationCsv:function(t,e){t.worksRegistrationRegistrationCsv=e},setWorksRegistrationRegistrationPdf:function(t,e){t.worksRegistrationRegistrationPdf=e},setBulkEditCopySharesReportCsv:function(t,e){t.bulkEditCopySharesReportCsv=e},setBulkEditFillIntlReportCsv:function(t,e){t.bulkEditFillIntlReportCsv=e},setBulkEditRemoveSEReportCsv:function(t,e){t.bulkEditRemoveSEReportCsv=e},setShowWorksBulkEditingDialog:function(t,e){t.showWorksBulkEditingDialog=e},setBulkEditingAllWorks:function(t,e){t.bulkEditingAllWorks=e},setBulkEditingStatusOfConvertRoleShares:function(t,e){t.bulkEditingStatusOfConvertRoleShares=e},setBulkEditingShowConvertRoleSharesProgressBar:function(t,e){t.bulkEditingShowConvertRoleSharesProgressBar=e},setShowWorksBulkEditingConfirmDialog:function(t,e){t.showWorksBulkEditingConfirmDialog=e},setWorksBulkEditingActionToConfirm:function(t,e){t.worksBulkEditingActionToConfirm=e},setWorksBulkEditingDetailsSourceShare:function(t,e){t.worksBulkEditingDetailsSourceShare=e},setWorksBulkEditingDetailsTargetShare:function(t,e){t.worksBulkEditingDetailsTargetShare=e},setWorksBulkEditingDetailsRemoveSEArray:function(t,e){t.worksBulkEditingDetailsRemoveSEArray=e},setWorksBulkEditingDetailsRemoveSEField:function(t,e){t.worksBulkEditingDetailsRemoveSEField=e},setWorksBulkEditingDetailsRemoveSEShareType:function(t,e){t.worksBulkEditingDetailsRemoveSEShareType=e},setWorksBulkEditingDetailsSocietyOwnShares:function(t,e){t.worksBulkEditingDetailsSocietyOwnShares=e},setWorksBulkEditingDetailsTargetShareCombineE:function(t,e){t.worksBulkEditingDetailsTargetShareCombineE=e},setShowWorksImportDialog:function(t,e){t.showWorksImportDialog=e},setWorksImportUploadValue:function(t,e){t.worksImportUploadValue=e},setWorkImportTags:function(t,e){t.workImportTags=e},setWorksDetailsImportCwrType:function(t,e){t.worksImportCwrType=e},setWorksDetailsImportCwrSourceShareType:function(t,e){t.worksImportCwrSourceShareType=e},setWorksDetailsImportCwrTargetShareType:function(t,e){t.worksImportCwrTargetShareType=e},setWorksDetailsImportSelectedMapping:function(t,e){t.worksImportSelectedMapping=e},setWorksCwrPublisherSourceAzOptions:function(t,e){t.worksCwrPublisherSourceAzOptions=e},setWorksDetailsCwrPublisherSourceAz:function(t,e){t.worksDetailsCwrPublisherSourceAz=e},setShowExportWorksDialog:function(t,e){t.showExportWorksDialog=e},setExportAllWorks:function(t,e){t.exportAllWorks=e},setExportWorksDetailsType:function(t,e){t.exportWorksDetailsType=e},setExportWorksExcelCheckbox:function(t,e){t.exportWorksExcelCheckbox=e},setExportWorksCWRCheckbox:function(t,e){t.exportWorksCWRCheckbox=e},setExportWorksDetailsExportWorksTypesExcel:function(t,e){t.exportWorksTypesExcel=e},setExportWorksDetailsExportWorksTypesCWR:function(t,e){t.exportWorksTypesCWR=e},setExportWorksIncludeOptions:function(t,e){t.exportWorksIncludeOptions=e},setExportWorksExcludeOptions:function(t,e){t.exportWorksExcludeOptions=e},setExportWorksDetailsInterestedPartiesExcel:function(t,e){t.exportWorksDetailsInterestedPartiesExcel=e},setExportWorksDetailsInterestedPartiesCWR:function(t,e){t.exportWorksDetailsInterestedPartiesCWR=e},setExportWorksDetailsCwrSubmitter:function(t,e){t.exportWorksDetailsCwrSubmitter=e},setExportWorksDetailsCwrFileVersion:function(t,e){t.exportWorksDetailsCwrFileVersion=e},setExportWorksDetailsCwrRecipient:function(t,e){t.exportWorksDetailsCwrRecipient=e},setExportWorksDetailsInclude:function(t,e){t.exportWorksDetailsInclude=e},setExportWorksDetailsExclude:function(t,e){t.exportWorksDetailsExclude=e},setExportWorksErrorArray:function(t,e){t.exportWorksErrorArray=e},setExportWorksResultLink:function(t,e){t.exportWorksResultLink=e},setExportWorksResultGi:function(t,e){t.exportWorksResultGi=e},setExportWorksShowResult:function(t,e){t.exportWorksShowResult=e},setExportWorksSlgContracts:function(t,e){t.exportWorksSlgContracts=e},setExportWorksDetailsPseudoSlg:function(t,e){t.exportWorksDetailsPseudoSlg=e},setExportWorksDetailsMappingId:function(t,e){t.exportWorksDetailsMappingId=e},setExportWorksDetailsMappingSource:function(t,e){t.exportWorksDetailsMappingSource=e},setExportWorksDetailsSelectedPublisherEntry:function(t,e){t.exportWorksDetailsSelectedPublisherEntry=e},setExportPublisherEntries:function(t,e){t.exportPublisherEntries=e},setExportWorksDetailsShareType:function(t,e){t.exportWorksDetailsShareType=e},setDefaultNewWork:function(t){t.defaultNewWork=z$},setWorksUniqueId:function(t,e){t.workUniqueId=e},setWorksDetails:function(t,e){t.workDetails=e},setLeadingPublishers:function(t,e){t.leadingPublishers=e},setCreateNewWorkStatus:function(t,e){t.createNewWorkStatus=e},setWorkDetailsPwrDate:function(t,e){t.workDetails.pwrDate=e},setWorkDetailsPwrDuration:function(t,e){t.workDetails.pwrDuration=e},setWorkDetailsAlvId:function(t,e){t.workDetails=e},setWorkDetailsTitle:function(t,e){t.workDetails.title=e},setWorkDetailsSocietyWorkId:function(t,e){t.workDetails.gemaNumber=e},setWorkDetailsRegistrationDate:function(t,e){t.workDetails.registrationDate=e},setWorkDetailsStatus:function(t,e){t.workDetails.status=e},setWorkDetailsIceWorkKey:function(t,e){t.workDetails.iwk=e},setWorkDetailsLastUpdated:function(t,e){t.workDetails.lastUpdated=e},setWorkDetailsIceStatus:function(t,e){t.workDetails.iceStatus=e},setWorkDetailsScorePrinting:function(t,e){t.workDetails.scorePrinting=e},setWorkDetailsIswc:function(t,e){t.workDetails.iswc=e},setWorkDetailsLanguage:function(t,e){t.workDetails.language=e},setWorkDetailsCatalogueNumber:function(t,e){t.workDetails.catalogueNumber=e},setWorkDetailsType:function(t,e){t.workDetails.type=e},setWorkDetailsIsrc:function(t,e){t.workDetails.isrc={manual:e}},setWorkDetailsNotes:function(t,e){t.workDetails.notes=e},setWorkDetailsWorkPoints:function(t,e){t.workDetails.workPoints=e},setWorkDetailsForeignWorkIds:function(t,e){t.workDetails.foreignWorkIds=e},setWorkDetailsDuration:function(t,e){t.workDetails.duration=e},setWorkDetailsNotificationDate:function(t,e){t.workDetails.notificationDate=e},setWorkDetailsStyle:function(t,e){t.workDetails.style=e},setWorkDetailsBackCollection:function(t,e){t.workDetails.backCollection=e},setWorkDetailsOldMrSplit:function(t,e){t.workDetails.oldMrSplit=e},setWorkDetailsTags:function(t,e){t.workDetails.tags=e},setWorkDetailsFavourites:function(t,e){t.workDetails.favourites=e},setWorkDetailsFreeRoleSplitMusic:function(t,e){t.workDetails.freeRoleSplitMusic=e},setWorkDetailsFreeRoleSplitText:function(t,e){t.workDetails.freeRoleSplitText=e},setWorkDetailsLeadingPublisher:function(t,e){t.workDetails.leadingPublisher=e},setWorkDistributions:function(t,e){0===Object.keys(e).length?t.workDistributions=[]:t.workDistributions.push(e)},setWorkShares:function(t,e){t.workShares=e},setWorksAlternativeTitles:function(t,e){t.worksAlternativeTitles=e},setSelectedWorksAlternativeTitles:function(t,e){t.selectedWorksAlternativeTitles=e},setDefaultWorksAlternativeTitles:function(t){t.defaultWorksAlternativeTitles=H$},setShowNoSharesDialog:function(t,e){t.showNoSharesDialog=e},setShowDistributionSearchDialog:function(t,e){t.showDistributionSearchDialog=e},setShowWorksAlternativeTitlesEditingDialog:function(t,e){t.showWorksAlternativeTitlesEditingDialog=e},setWorksAlternativeTitlesEditingDialogDetails:function(t,e){t.worksAlternativeTitlesEditingDialogDetails=e},setWorksAlternativeTitlesDetailsTitle:function(t,e){t.worksAlternativeTitlesEditingDialogDetails.title=e},setWorksAlternativeTitlesDetailsType:function(t,e){t.worksAlternativeTitlesEditingDialogDetails.type=e},setShowYearOfExpirationDialog:function(t,e){t.showYearOfExpirationDialog=e},setWorksOtherPersons:function(t,e){t.worksOtherPersons=e},setSelectedWorksOtherPersons:function(t,e){t.selectedWorksOtherPersons=e},setDefaultWorksOtherPersons:function(t){t.defaultWorksOtherPersons=V$},setShowWorksOtherPersonsEditingDialog:function(t,e){t.showWorksOtherPersonsEditingDialog=e},setWorksOtherPersonsEditingDialogDetails:function(t,e){t.worksOtherPersonsEditingDialogDetails=e},setWorksOtherPersonsDetailsName:function(t,e){t.worksOtherPersonsEditingDialogDetails.name=e},setWorksOtherPersonsDetailsType:function(t,e){t.worksOtherPersonsEditingDialogDetails.type=e},setWorksInstrumentation:function(t,e){t.worksInstrumentation=e},setSelectedWorksInstrumentation:function(t,e){t.selectedWorkInstrumentation=e},setDefaultWorksInstrumentation:function(t){t.defaultWorksInstrumentation=Y$},setWorksInstrumentationEditingDialogDetails:function(t,e){t.worksInstrumentationEditingDialogDetails=e},setShowWorksInstrumentationEditingDialog:function(t,e){t.showWorksInstrumentationEditingDialog=e},setWorksInstrumentationDetailsTitle:function(t,e){t.worksInstrumentationEditingDialogDetails.title=e},setWorksInstrumentationDetailsInstruments:function(t,e){t.worksInstrumentationEditingDialogDetails.instruments=e},setWorksInstrumentationDetailsMusicians:function(t,e){t.worksInstrumentationEditingDialogDetails.musicians=e},setWorksInstrumentationDetailsVoices:function(t,e){t.worksInstrumentationEditingDialogDetails.voices=e},setWorksOriginalShares:function(t,e){t.worksOriginalShares=e},setSelectedWorksOriginalShares:function(t,e){t.selectedWorksOriginalShares=e},setShowWorksOriginalSharesEditingDialog:function(t,e){t.showWorksOriginalSharesEditingDialog=e},setDefaultWorksOriginalShares:function(t){t.defaultWorksOriginalShares=K$},setWorksOriginalSharesEditingDialogDetails:function(t,e){t.worksOriginalSharesEditingDialogDetails=e},setWorksOriginalSharesDetailsPrPercent:function(t,e){t.worksOriginalSharesEditingDialogDetails.prPercent=e},setWorksOriginalSharesDetailsMrPercent:function(t,e){t.worksOriginalSharesEditingDialogDetails.mrPercent=e},setWorksOriginalSharesDetailsRole:function(t,e){t.worksOriginalSharesEditingDialogDetails.role=e},setWorksOriginalSharesDetailsPwr:function(t,e){t.worksOriginalSharesEditingDialogDetails.pwr=e},setWorksOriginalSharesDetailsPmr:function(t,e){t.worksOriginalSharesEditingDialogDetails.pmr=e},setWorksOriginalSharesDetailsPrSociety:function(t,e){t.worksOriginalSharesEditingDialogDetails.prSociety=e},setWorksOriginalSharesDetailsMrSociety:function(t,e){t.worksOriginalSharesEditingDialogDetails.mrSociety=e},setWorksOriginalSharesDetailsInterestedParty:function(t,e){t.worksOriginalSharesEditingDialogDetails.azEntity=e},setWorksOriginalSharesDetailsShareType:function(t,e){t.worksOriginalSharesEditingDialogDetails.shareType=e},setWorksOriginalSharesInterestedPartyOptions:function(t,e){t.worksOriginalSharesInterestedPartyOptions=e},setWorksSheetsAndProjects:function(t,e){t.worksSheetsAndProjects=e},setWorksSheetsAndProjectsTotalListed:function(t,e){t.worksSheetsAndProjectsTotalListed=e},setWorksSheetsAndProjectsCurrentPage:function(t,e){t.worksSheetsAndProjectsCurrentPage=e},setWorksSheetsAndProjectsTotalRecords:function(t,e){t.worksSheetsAndProjectsTotalRecords=e},setWorksSheetsAndProjectsNumberOfPages:function(t,e){t.worksSheetsAndProjectsNumberOfPages=e}},Q$={fetchWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g,p,v,_,h,m,f,S,E,I,C,A,T,b,P;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=e.dispatch,a("setIsLoading",!0),s="",r="","noShare"===n.getSelectedWorksQualityFilter){for(s="noShare",l={},0!==n.getNoSharesHomeSocietyCheckbox.length&&(l["society"]=n.getNoSharesHomeSocietyCheckbox),0!==n.getNoSharesCheckbox.length&&(l["original"]=n.getNoSharesCheckbox.join(",")),o=[],c=0,u=Object.entries(l);c<u.length;c++)d=Object(rt["a"])(u[c],2),g=d[0],p=d[1],""!==p&&null!==p&&0!==p.length&&void 0!==p&&o.push(g+"="+p);o=o.join("%26"),s+="["+o+"]"}else if(["lessThan100Share","100Share","noUVZ","withContractChains","0Share","noUvzOfContractingParty"].includes(n.getSelectedWorksQualityFilter)){for(s=n.getSelectedWorksQualityFilter,v={},0!==n.getNoSharesHomeSocietyCheckbox.length&&(v["society"]=n.getNoSharesHomeSocietyCheckbox),0!==n.getNoSharesCheckbox.length&&(v["original"]=n.getNoSharesCheckbox.join(",")),_=[],h=0,m=Object.entries(v);h<m.length;h++)f=Object(rt["a"])(m[h],2),S=f[0],E=f[1],""!==E&&null!==E&&0!==E.length&&void 0!==E&&_.push(S+"="+E);_=_.join("%26"),s+="["+_+"]"}else"distributionSearch"===n.getSelectedWorksQualityFilter?(I="",I+=0!=n.getDistributionSearchDetailsTarget.length?"target="+String(n.getDistributionSearchDetailsTarget).padStart(3,"0"):"",I+=0!=n.getDistributionSearchDetailsFunction.length?",function="+n.getDistributionSearchDetailsFunction:"",I+=0!=n.getDistributionSearchDetailsStatus.length?",status="+n.getDistributionSearchDetailsStatus:"",I+=n.getDistributionSearchDetailsFrom?",from="+n.getDistributionSearchDetailsFrom:"",I+=n.getDistributionSearchDetailsTo?",to="+n.getDistributionSearchDetailsTo:"",","==I.charAt(0)&&(I=I.slice(1)),r+="["+I+"]"):"yearOfExpiration"===n.getSelectedWorksQualityFilter?(s=n.getSelectedWorksQualityFilter,C=n.getSelectedYearOfExpiration,"number"===typeof C&&0!=C&&(s+="["+C+"]")):s=n.getSelectedWorksQualityFilter;return A={search:n.getWorksSearch,quality:s,status:n.getSelectedWorksStatusFilter,distribution:r},T=this._vm.$alvPlugin.createApiUrlFilterString(A),b=n.getWorksServerSideSortingOptions,t.next=10,k$.getListData2(j$,n.getCurrentPage,b.sortBy,b.sortDesc,T);case 10:P=t.sent,void 0===P||0===P.list.length||1===P.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setWorks",[])):a("setWorks",P.list),i("setDefaultPublishingCompany"),this._vm.$alvPlugin.storePagingInformations(P.filteredRecords,P.currentPage,P.totalRecords),a("setIsLoading",!1);case 15:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorksDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=8;break}l=JSON.parse(JSON.stringify(i.getDefaultNewWork)),r=l,n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),r["status"]=i.getCreateNewWorkStatus,t.next=12;break;case 8:return t.next=10,k$.getDetailsById(j$,a);case 10:o=t.sent,void 0===o||0===o.length||1===o.error?(o={},n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"})):(r=o,"spw"===o.type?n("setWorkShareType",{text:"OWN%",value:"own"}):n("setWorkShareType",{text:"ROLE%",value:"role"}));case 12:r.duration=this._vm.$alvPlugin.transformSecondsToDuration(r.duration),c=r["freeRoleSplitMusic"],r["freeRoleSplitText"]=null!=c?(100-c).toFixed(2):null,u=r["freeRoleSplitText"],"de"==it.locale&&(r.freeRoleSplitMusic=c?c.toString().replace(".",","):c,r.freeRoleSplitText=u?u.toString().replace(".",","):u),n("setWorksDetails",r),s("fetchWorkDropdowns"),s("fetchWorksOtherPersons"),s("fetchWorksAlternativeTitles"),s("fetchWorksInstrumentation"),"new"!==a?s("fetchWorksOriginalShares"):n("setWorksOriginalShares",{});case 23:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchWorksAlternativeTitles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getWorksDetails.alternativeTitles,void 0===i||null===i?a("setWorksAlternativeTitles",[]):(0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setWorksAlternativeTitles",i));case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedWorksAlternativeTitles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedWorksAlternativeTitles,r=a.getWorksAlternativeTitles.findIndex((function(t){return t.id===s})),l=a.getWorksAlternativeTitles.length,n["default"].delete(a.getWorksAlternativeTitles,r),o=a.getWorksAlternativeTitles.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_PUBLISHING_WORKS_SNACKBAR_DELETE_OTHER_TITLE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_PUBLISHING_WORKS_SNACKBAR_DELETE_OTHER_TITLE_NOT_SUCCESSFUL")}),i("setSelectedWorksAlternativeTitles",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorksOtherPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getWorksDetails.otherInterestedParties,void 0===i||null===i?a("setWorksOtherPersons",[]):(0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setWorksOtherPersons",i));case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedWorksOtherPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedWorksOtherPersons,r=a.getWorksOtherPersons.findIndex((function(t){return JSON.stringify(t)===JSON.stringify(s)})),l=a.getWorksOtherPersons.length,n["default"].delete(a.getWorksOtherPersons,r),o=a.getWorksOtherPersons.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_PUBLISHING_WORKS_SNACKBAR_DELETE_OTHER_PERSONS_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_PUBLISHING_WORKS_SNACKBAR_DELETE_OTHER_PERSONS_NOT_SUCCESSFUL")}),i("setSelectedWorksOtherPersons",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorksInstrumentation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getWorksDetails.instrumentation,void 0===i||null===i?n("setWorksInstrumentation",[]):(0===i.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setWorksInstrumentation",i));case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedWorksInstrumentation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,e.dispatch,s=a.getSelectedWorksInstrumentation,r=a.getWorksInstrumentation.findIndex((function(t){return t.id===s.id})),l=a.getWorksInstrumentation.length,n["default"].delete(a.getWorksInstrumentation,r),o=a.getWorksInstrumentation.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedWorksInstrumentation",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorksOriginalShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!0),i=a.getWorkDetailsAlvId,t.next=5,k$.getListData(j$+"/"+i+"/originalShares");case 5:s=t.sent,void 0===s||0===s.length||1===s.error?(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setWorksOriginalShares",{})):(r=this._vm.$alvPlugin.sortingOriginalInterestedPartiesByRole(s),n("setWorksOriginalShares",r)),n("setIsLoading",!1);case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),addWorksOriginalShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getWorkDetailsAlvId,r=a.getWorksOriginalSharesEditingDialogDetails,r["prPercent"]=""===r["prPercent"]?null:r["prPercent"],r["mrPercent"]=""===r["mrPercent"]?null:r["mrPercent"],t.next=7,k$.addRowToDataTable(j$+"/"+s,r,"addInterestedParty");case 7:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),i("fetchWorksOriginalShares")):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedWorksOriginalShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getWorkDetailsAlvId,r=a.getSelectedWorksOriginalShares,t.next=5,k$.deleteEntries(j$+"/"+s+"?deleteOriginalShare",[r]);case 5:l=t.sent,-1===l.error?(i("fetchWorksOriginalShares"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_NOT_DELETED")}),n("setSelectedWorksOriginalShares",[]),0===a.getWorksOriginalShares.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteWorksOriginalSharesInterestedParty:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setWorksOriginalSharesInterestedPartyOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteWorksCwrPublisherSourceAz:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/groups",a);case 3:i=t.sent,n("setWorksCwrPublisherSourceAzOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchWorksProjectsSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getWorkDetailsAlvId,t.next=5,k$.getListData(j$+"/"+i+"/sheets",n.getWorksSheetsAndProjectsCurrentPage);case 5:s=t.sent,void 0===s||0===s.list.length||1===s.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setWorksSheetsAndProjects",[])):(a("setWorksSheetsAndProjects",s.list),a("setWorksSheetsAndProjectsTotalListed",s.filteredRecords),a("setWorksSheetsAndProjectsCurrentPage",s.currentPage),a("setWorksSheetsAndProjectsTotalRecords",s.totalRecords),a("setWorksSheetsAndProjectsNumberOfPages",s.numberOfPages)),a("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorkDropdowns:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=n.getWorkDetailsAlvId,a("setSocieties"),t.next=5,k$.getSpecificDropdownValues(j$,i,"leadingPublishers");case 5:s=t.sent,a("setLeadingPublishers",s.response.leadingPublishers);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchWorkSubpublishers:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=null,!n.getBulkEditingAllWorks){t.next=10;break}if(s=void 0===n.getWorks?[]:n.getWorks,0!==s.length){t.next=7;break}return a("setWorksBulkEditingDetailsRemoveSEArray",[]),t.abrupt("return");case 7:i=s[0].alvId,t.next=11;break;case 10:i=n.getSelectedWorks[0];case 11:return t.next=13,k$.getListData(j$+"/"+i+"/originalShares");case 13:r=t.sent,void 0==r&&0==r.list.length||function(){for(var t=[],e=function(){var e=Object(rt["a"])(i[n],2),a=e[0],s=e[1];s.forEach((function(e,n){"SE"==e.role&&t.push({text:e.name,value:e.azEntity.id,shareType:a})}))},n=0,i=Object.entries(r);n<i.length;n++)e();a("setWorksBulkEditingDetailsRemoveSEArray",t)}();case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSlgContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,t.next=3,k$.getContractsByType("publishing","SLG");case 3:n=t.sent,a("setExportWorksSlgContracts",n);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchExportPublisherEntries:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=[],s=n.getSelectedWorks[0],t.next=5,k$.getListData("publishing/works/".concat(s,"/originalShares"));case 5:r=t.sent,r&&(l=n.getExportWorksDetailsShareType,i="intl"==l?r.intl.filter((function(t){return"E"===t.role})).map((function(t){return{text:t.name,value:t.azEntity.id}})):"own"==l?r.own.filter((function(t){return"E"===t.role})).map((function(t){return{text:t.name,value:t.azEntity.id}})):[]),a("setExportPublisherEntries",i),a("setExportWorksDetailsSelectedPublisherEntry",null),a("setWorksRegistrationDetailsSelectedPublisherEntry",null);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveWorksForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=!(u.length>1&&void 0!==u[1])||u[1],r=n.getWorkDetailsAlvId,n.getWorksDetails.instrumentation=n.getWorksInstrumentation,n.getWorksDetails.alternativeTitles=n.getWorksAlternativeTitles,n.getWorksDetails.otherInterestedParties=n.getWorksOtherPersons,n.getWorksDetails.originalInterestedParties=n.getWorksOriginalShares,l=_.cloneDeep(n.getWorksDetails),"de"==it.locale&&(l.freeRoleSplitMusic&&(l.freeRoleSplitMusic=l.freeRoleSplitMusic.replace(",",".")),l.freeRoleSplitText&&(l.freeRoleSplitText=l.freeRoleSplitText.replace(",","."))),o=!1,o=s?"new"===O$.currentRoute.params.alvId:0===n.getWorksDetails["id"],delete l.originalInterestedParties,t.next=14,k$.saveEditForm(j$,r,l,o);case 14:if(c=t.sent,void 0!==c&&0!==c.length&&1!==c.error){t.next=19;break}a("setSnackbar",{type:"error",msg:it.t(c.response.errorMsg)}),t.next=23;break;case 19:return a("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_WORKS_SNACKBAR_WORK_SAVED")}),o&&s&&O$.push({name:"WorksEdit",params:{alvId:c.response.alvId}}),t.next=23,i("fetchWorksDetails",c.response.alvId);case 23:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doWorksAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,e.getters,n=e.dispatch,t.t0=Z$.selectedWorksAction,t.next="delete"===t.t0?4:"addContract"===t.t0?6:"gemaSoundfile"===t.t0?8:"replaceTags"===t.t0?18:"worksRegistration"===t.t0?20:"worksBulkEditing"===t.t0?22:"testCalculationGema"===t.t0?32:"testCalculationSvd"===t.t0?34:"testCalculationC3"===t.t0?36:"exportWorks"===t.t0?38:"copy"===t.t0?49:51;break;case 4:return Z$.selectedWorks.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 6:return Z$.selectedWorks.length>0?a("setShowSearchDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 8:if(!(Z$.selectedWorks.length>0)){t.next=15;break}return t.next=11,n("checkGemaSoundfileCredentials");case 11:i=t.sent,-1==i.error?a("setShowGemaSoundfileDialog",!0):a("setSnackbar",{type:"error",msg:it.t(i.response.errorMsg)}),t.next=17;break;case 15:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 17:return t.abrupt("break",51);case 18:return 0==Z$.selectedWorks.length?(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)):(a("setExpandedWorks",[]),a("setShowManageTagsDialog",!0)),t.abrupt("break",51);case 20:return Z$.selectedWorks.length>0?(n("fetchExportPublisherEntries"),a("setWorksRegistrationDialogStepText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_STEP_1_OF_3")),a("setShowWorksRegistrationDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 22:if(0!=Z$.selectedWorks.length){t.next=28;break}return t.next=25,n("runConfirmationDialog");case 25:return s=t.sent,s&&(a("setBulkEditingAllWorks",!0),a("setShowWorksBulkEditingDialog",!0),n("fetchWorkSubpublishers")),t.abrupt("break",51);case 28:return n("fetchWorkSubpublishers"),a("setShowWorksBulkEditingDialog",!0),a("setBulkEditingAllWorks",!1),t.abrupt("break",51);case 32:return 1===Z$.selectedWorks.length?n("fetchTestCalculationGema"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 34:return 1===Z$.selectedWorks.length?n("fetchTestCalculationSvd"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 36:return 1===Z$.selectedWorks.length?a("setTestCalculationC3Dialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 38:if(0!=Z$.selectedWorks.length){t.next=45;break}return t.next=41,n("runConfirmationDialog");case 41:r=t.sent,r&&(a("setExportAllWorks",!0),a("setShowExportWorksDialog",!0)),t.next=48;break;case 45:n("fetchExportPublisherEntries"),a("setExportAllWorks",!1),a("setShowExportWorksDialog",!0);case 48:return t.abrupt("break",51);case 49:return 1===Z$.selectedWorks.length?n("copyWork"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",51);case 51:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addContractsToWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,e.dispatch,n=e.commit,t.next=3,k$.addContractsToWorks(j$,a.getSelectedWorks,a.getSelectedContractsForWorks);case 3:i=t.sent,-1===i.error&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_ADDED_SUCCESSFULLY")}),n("setSelectedWorksAction",[]),n("setExpandedWorks",[]);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchContractsForWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,t.next=3,k$.getContractsByWorkIds(a.getContractsForWorksSearch,a.getSelectedWorks);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(j$,i.getSelectedWorks);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getWorks.findIndex((function(e){return e.alvId==i.getSelectedWorks[t]}));n["default"].delete(i.getWorks,e)},o=0;o<i.getSelectedWorks.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedWorks",[]),a("setIsAllSelectedWorks",!1),a("setSelectedWorksAction",[]),s("fetchWorks")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),checkGemaSoundfileCredentials:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k$.getCredentialsStatus("account/credentials","gema-soundfile");case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}(),sendWorksGemaSoundfile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.commit,e.dispatch,a=e.getters,n={workIds:Z$.selectedWorks,approvals:a.getGemaSoundfileDialogApprovalsCheckbox},i={action:"gemaSoundfile"},t.next=5,k$.triggerAction(j$,n,i);case 5:return s=t.sent,t.abrupt("return",s);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTestCalculationGema:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,t.next=3,k$.getSpecificFormData(j$+"/testCalculation","type=gema");case 3:n=t.sent,-1===n.error?(n.response.percent=it.n(n.response.percent,"number"),n.response.amount=it.n(n.response.amount,"number"),a("setTestCalculationGemaForm",n.response),a("setTestCalculationGemaDialog",!0),a("setTestCalculationGemaFormTypeOfRightsValues",n.response.contractRightsValues),a("setTestCalculationGemaFormBgValues",n.response.bgValues)):a("setSnackbar",{type:"error",msg:"Es ist ein Fehler aufgetreten"});case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteTestCalculationGemaYkto:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a,"ktoExists=true");case 3:i=t.sent,n("setTestCalculationGemaYktoOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),calculateGemaTestCalculation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"testCalculation",type:"gema"},s=_.cloneDeep(a.getTestCalculationGemaForm),s.amount=this._vm.$alvPlugin.normalizeDecimalFormat(s.amount),s["workIds"]=a.getSelectedWorks,delete s.bgValues,delete s.contractRightsValues,t.next=9,k$.triggerAction(j$,s,i);case 9:r=t.sent,-1===r.error?n("setTestCalculationGemaResult",r.response):n("setTestCalculationGemaResultErrorMessage",r.errorMsg);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTestCalculationSvd:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getSpecificFormData(j$+"/testCalculation","type=svd");case 3:n=t.sent,-1===n.error?(n.response.percent=it.n(n.response.percent,"number"),n.response.amount=it.n(n.response.amount,"number"),a("setTestCalculationSvdForm",n.response),a("setTestCalculationSvdDialog",!0),a("setTestCalculationSvdFormTypeOfRightsValues",n.response.contractRightsValues)):a("setSnackbar",{type:"error",msg:"Es ist ein Fehler aufgetreten"});case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),calculateSvdTestCalculation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"testCalculation",type:"svd"},s=a.getTestCalculationSvdForm,s["workIds"]=a.getSelectedWorks,s["newSpw"]=a.getTestCalculationSvdCheckbox.length>0?1:0,delete s.contractRightsValues,t.next=8,k$.triggerAction(j$,s,i);case 8:r=t.sent,-1===r.error?n("setTestCalculationSvdResult",r.response):n("setTestCalculationSvdResultErrorMessage",r.errorMsg);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTestCalculationC3AzOfSource:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getAzForMapping("import");case 3:n=t.sent,a("setTestCalculationC3SourceIdOptions",n.list);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteTestCalculationC3RecipientId:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setTestCalculationC3RecipientIdOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),calculateC3TestCalculation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"testCalculation",type:"c3"},s={workId:a.getSelectedWorks[0],amount:a.getTestCalculationC3DetailsAmount,collPercent:a.getTestCalculationC3DetailsCollPercent,country:a.getTestCalculationC3DetailsCountry,sourceId:a.getTestCalculationC3DetailsSourceId,rightsType:a.getTestCalculationC3DetailsRightsTypes,category:a.getTestCalculationC3DetailsCategory,subCategory:a.getTestCalculationC3DetailsSubCategory},a.getTestCalculationC3DetailsRecipientId?s["recipientId"]=a.getTestCalculationC3DetailsRecipientId.alvId:s["recipientId"]=null,t.next=6,k$.triggerAction(j$,s,i);case 6:r=t.sent,-1===r.error?n("setTestCalculationC3Result",r.response):n("setTestCalculationC3ResultErrorMessage",r.errorMsg);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),workRegistrationLogin:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},"Cwr"!=a.getWorksRegistrationDetailsTarget.slice(-3)&&(i={username:a.getWorksRegistrationDetailsGemaUsername,password:a.getWorksRegistrationDetailsGemaPassword}),s={action:a.getWorksRegistrationDetailsTarget+"Login"},t.next=6,k$.triggerAction(j$,i,s);case 6:r=t.sent,1===r.error?(n("setWorksRegistrationDialogSuccessText",null),n("setWorksRegistrationDialogErrorText",it.t(r.errorMsg)),n("setWorksRegistrationDialogDisableLoginButton",!1)):(n("setWorksRegistrationGemaLoginToken",r.token),n("setWorksRegistrationDialogErrorText",null),n("setWorksRegistrationDialogStepText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_STEP_2_OF_3")),n("setWorksRegistrationDialogSuccessText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_LOGIN_SUCCESSFUL")),n("setWorksRegistrationDialogShowLoginButton",!1),n("setWorksRegistrationDialogShowPreflightButton",!0));case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),workRegistrationPreflight:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getWorksRegistrationDetailsTarget,s={action:i+"Preflight"},r={},"GemaIwa"==i?r={ids:a.getSelectedWorks,type:a.getSelectedWorksStatusFilter,contractDate:a.getWorksRegistrationDetailsContractDate,"035":{auftragskomposition:!!a.getWorksRegistrationGemaIwaCheckbox.includes("commissioned"),versicherung_verlagsrecht:!!a.getWorksRegistrationGemaIwaCheckbox.includes("signedPublishingContract"),versicherung_vorbestehende_werke:!!a.getWorksRegistrationGemaIwaCheckbox.includes("registrationTruthfulComplete"),versicherung_vollstaendig:!!a.getWorksRegistrationGemaIwaCheckbox.includes("registrationTruthfulComplete"),musik_text_zusammen:!!a.getWorksRegistrationGemaIwaCheckbox.includes("textPermission")},token:a.getWorksRegistrationGemaLoginToken}:"Cwr"==i.slice(-3)&&(r={ids:a.getSelectedWorks,regionsInclude:[],regionsExclude:[],maestro:!1,includeWorksFromSubCWR:!1,noGhost:!1,noStatus2:!1,cwrMr100:"yes"==a.getWorksRegistrationDetailsPmr,shareType:a.getWorksRegistrationDetailsShareType,toBeRegisteredOnly:!1,exportWorksTypesCWR:"exportAllTypes",cwrRecipient:a.getWorksRegistrationDetailsCwrRecipient,cwrFileVersion:"V22",collpercentCWR:a.getWorksRegistrationDetailsInterestedParties,submitter:a.getWorksRegistrationDetailsCwrSubmitter,token:a.getWorksRegistrationGemaLoginToken,selectedPublisher:a.getWorksRegistrationDetailsSelectedPublisherEntry}),t.next=7,k$.triggerAction(j$,r,s);case 7:l=t.sent,1===l.error?(n("setWorksRegistrationXmlFilePath",null),n("setWorksRegistrationDialogSuccessText",null),o=l.response.path,n("setWorksRegistrationPreflightPathCsv",o),n("setWorksRegistrationDialogErrorText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_VALIDATION_ERROR")),n("setWorksRegistrationDialogDisablePreflightButton",!1)):(n("setWorksRegistrationPreflightPathCsv",null),n("setWorksRegistrationDialogErrorText",null),c=l.response.path,n("setWorksRegistrationXmlFilePath",c),n("setWorksRegistrationDialogStepText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_STEP_3_OF_3")),n("setWorksRegistrationDialogSuccessText",this._vm.$alvPlugin.buildParameterizedMessage("lang_PUBLISHING_WORKS_WORK_REGISTRATION_VALIDATION_SUCCESS",{exportedWorksCnt:l.response.totalExported,totalWorksCnt:l.response.totalSelected})),n("setWorksRegistrationDialogShowPreflightButton",!1),n("setWorksRegistrationDialogDisableSendButton",!1),n("setWorksRegistrationDialogShowSendButton",!0),n("setWorksRegistrationDeaktivateForm",!0));case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),startWorksRegistration:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:a.getWorksRegistrationDetailsTarget+"Send"},s={token:a.getWorksRegistrationGemaLoginToken},t.next=5,k$.triggerAction(j$,s,i);case 5:r=t.sent,1===r.error?(n("setWorksRegistrationDialogSuccessText",null),n("setWorksRegistrationXmlFilePath",null),l=r.response.path,n("setWorksRegistrationRegistrationErrorCsv",l),n("setWorksRegistrationDialogErrorText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_SENDING_FAILED")),n("setWorksRegistrationDialogDisableSendButton",!1)):(n("setWorksRegistrationDialogErrorText",null),n("setWorksRegistrationXmlFilePath",null),n("setWorksRegistrationRegistrationErrorCsv",null),o=r.response.path,n("setWorksRegistrationRegistrationCsv",o),n("setWorksRegistrationDialogStepText",it.t("lang_PUBLISHING_WORKS_WORK_REGISTRATION_STEP_FINISHED")),n("setWorksRegistrationDialogSuccessText",it.t("lang_GENERAL_CAPTION_ICON_DOWNLOAD")),n("setWorksRegistrationDialogShowSendButton",!1));case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),convertRoleToIntlShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},s={action:"convertRole"},n("setBulkEditingShowConvertRoleSharesProgressBar",!0),a.getBulkEditingAllWorks||(i["alvIds"]=a.getSelectedWorks),i["type"]="intl",i["target"]="intl",i["societyOwn"]=a.getWorksBulkEditingDetailsSocietyOwnShares,i["bulkEditResultList"]=a.getBulkEditingAllWorks,t.next=11,k$.triggerAction(j$,i,s);case 11:r=t.sent,-1===r.error&&(n("setBulkEditingStatusOfConvertRoleShares",it.t("lang_GENERIC_CAPTIONS_DONE")),n("setBulkEditingShowConvertRoleSharesProgressBar",!1));case 13:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},s={action:"copyShares"},a.getBulkEditingAllWorks||(i["alvIds"]=a.getSelectedWorks),i["sourceShare"]=a.getWorksBulkEditingDetailsSourceShare,i["targetShare"]=a.getWorksBulkEditingDetailsTargetShare,i["bulkEditResultList"]=a.getBulkEditingAllWorks,t.next=9,k$.triggerAction(j$,i,s);case 9:r=t.sent,n("setBulkEditCopySharesReportCsv",r.response.path),n("setExpandedWorks",[]);case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),combineEShares:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},s={action:"combineEShares"},a.getBulkEditingAllWorks||(i["alvIds"]=a.getSelectedWorks),i["targetShare"]=a.getWorksBulkEditingDetailsTargetShareCombineE,i["bulkEditResultList"]=a.getBulkEditingAllWorks,t.next=8,k$.triggerAction(j$,i,s);case 8:t.sent,n("setExpandedWorks",[]),n("setWorksBulkEditingDetailsTargetShareCombineE",!1);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fillIntl:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},s={action:"fillIntl"},a.getBulkEditingAllWorks||(i["alvIds"]=a.getSelectedWorks),i["sourceShare"]=a.getWorksBulkEditingDetailsSourceShare,i["targetShare"]="toIntl",i["bulkEditResultList"]=a.getBulkEditingAllWorks,t.next=9,k$.triggerAction(j$,i,s);case 9:r=t.sent,n("setBulkEditFillIntlReportCsv",r.response.path);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),removeSE:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={},s={action:"removeSE"},a.getBulkEditingAllWorks||(i["alvIds"]=a.getSelectedWorks),i["partySE"]=a.getWorksBulkEditingDetailsRemoveSEField,i["shareType"]=a.getWorksBulkEditingDetailsRemoveSEShareType,i["bulkEditResultList"]=a.getBulkEditingAllWorks,t.next=9,k$.triggerAction(j$,i,s);case 9:r=t.sent,n("setBulkEditRemoveSEReportCsv",r.response.path);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),exportWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g,p,v,_;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n=e.commit,i=a.getExportWorksDetailsType,s=a.getExportWorksExcelCheckbox.concat(a.getExportWorksCWRCheckbox),r={},l={action:"export",type:i.toLowerCase()},r["collpercent"+i]=a["getExportWorksDetailsInterestedParties"+i],r["includeWorksFromSub"+i]=!!s.includes("includeWorksFromSub"+i),r["smartIntl"+i]=!!s.includes("smartIntl"+i),r["exportWorksTypes"+i]=a["getExportWorksDetailsExportWorksTypes"+i],r["pseudoSlg"]=a.getExportWorksDetailsPseudoSlg,r["shareType"]=a.getExportWorksDetailsShareType,"Excel"===i)r["singleRow"]=!!s.includes("singleRow"),r["germanCaptions"]=!!s.includes("germanCaptions");else if("CWR"===i){for(r["maestro"]=!!s.includes("maestro"),r["noGhost"]=!!s.includes("noGhost"),r["noStatus2"]=!!s.includes("noStatus2"),r["cwrMr100"]=!!s.includes("cwrMr100"),r["toBeRegisteredOnly"]=!!s.includes("toBeRegisteredOnly"),r["cwrRecipient"]=a.getExportWorksDetailsCwrRecipient,r["submitter"]=a.getExportWorksDetailsCwrSubmitter,r["cwrFileVersion"]=a.getExportWorksDetailsCwrFileVersion,r["selectedPublisher"]=a.getExportWorksDetailsSelectedPublisherEntry,o=[],c=a.getExportWorksDetailsInclude,u=0;u<c.length;u++)o.push(c[u]);for(r["regionsInclude"]=o,d=[],g=a.getExportWorksDetailsExclude,p=0;p<g.length;p++)d.push(g[p]);r["regionsExclude"]=d}else"mappings"==i&&(r["mappingId"]=a.getExportWorksDetailsMappingId,r["mappingSource"]=a.getExportWorksDetailsMappingSource);return a.getExportAllWorks||(r["workIds"]=a.getSelectedWorks),n("setIsLoading",!0),t.next=16,k$.triggerAction(j$,r,l);case 16:v=t.sent,null!==v.response.path&&n("setExportWorksResultLink",v.response.path),null!==v.response.gi&&n("setExportWorksResultGi",v.response.gi),1===v.error?(_=v.response.errorMsg,void 0!==_?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(_)?it.t(_):_}):(n("setExportWorksErrorArray",v.response.error),n("setExportWorksShowResult",!0))):n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_FILE_NOW")}),n("setIsLoading",!1);case 21:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteExportWorksInclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setExportWorksIncludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteExportWorksExclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setExportWorksExcludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),copyWork:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"copy"},r={alvIds:a.getSelectedWorks},t.next=5,k$.triggerAction(j$,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchWorks")):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchCwrSubmitterCode:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n=e.commit,e.dispatch,i=a.getSelectedPublishingCompanyId,!(i>0)){t.next=8;break}return t.next=5,k$.getCompanyObject("account/companies/publishing/",i);case 5:s=t.sent,n("setSelectedCwrSubmitterCode",s.cwrSubmitterCode),n("setSelectedSpotifySetting",s.spotify);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),setDefaultPublishingCompany:function(t){var e=t.getters,a=t.commit;t.dispatch;if(0!==e.getPublishingCompanies.length){var n=JSON.parse(localStorage.getItem("userData"));if(""===e.getSelectedPublishingCompany){var i=n.selectedPublishingCompanyId,s=e.getPublishingCompanies.find((function(t){return t.id===i})).name;a("setSelectedPublishingCompany",s)}}}},tG={state:Z$,getters:X$,actions:Q$,mutations:J$},eG="publishing/sheets",aG={id:0,alvId:"ALV000000000PS",title:null,sheetNumber:null,firstBroadcastDate:null,productionYear:null,note:null,tag:null,type:"film/tv",avType:null,avFirstExploitation:null,avMessageType:null,completenessCuesheetYesNo:null,commissionedWorkYesNo:null,commissioningChannel:null,works:[],versionTypes:[],regions:[],releaseType:null,platform:null,provider:null,url:null,status:null,setDate:null,setStartTime:null,setEndTime:null,setType:null,eventName:null,eventType:null,eventVenue:null,eventVenueId:null,eventVenueSpace:null,eventVenueType:null,eventOrganizer:null,eventOrganizerId:null,eventOrganizerYesNo:null,eventBandleader:null,eventPerformer:null,eventHighestTicketPrice:null,eventNumberOfConcertgoers:null,eventNumberOfMusicians:null},nG={fileId:null,path:null},iG={id:0,workAvType:null,workCharacteristicType:null,workSheetSeconds:null,workSetlistType:null,workSetlistSeconds:null,bigRight:null},sG={sheets:[],selectedSheets:[],isAllSelectedSheets:!1,expandedSheets:[],sheetsSearch:"",selectedSheetsTypeFilter:null,selectedSheetsYearsFilter:null,selectedSheetsAction:[],showAvReportDialog:!1,avReportDialogText:"",exportSheetsDetailsType:[],showGemaAvRegistrationDialog:!1,gemaAvRegistrationDialogText:"lang_PUBLISHING_SHEETS_AV_REGISTRATION_DIALOG_TEXT_DEFAULT",gemaAvRegistrationDialogReportLink:null,gemaAvRegistrationDialogAllowSend:!1,showExportSheetsDialog:!1,defaultNewSheet:aG,sheetDetails:{},sheetUniqueId:"",sheetVersionTypeOptions:[],sheetRegionsOptions:[],sheetCarrierTypeOptions:[],sheetEventVenueOptions:[],sheetEventOrganizerOptions:[],sheetEventBandleaderOptions:[],sheetEventPerformerOptions:[],selectedVenueForSheets:[],venueForSheetsSearch:"",showConnectVenueToSheetDialog:!1,totalListedConnectVenueToSheetDialog:0,totalRecordsConnectVenueToSheetDialog:0,defaultSheetsWorks:iG,sheetsWorks:[],sheetWorkSearch:"",selectedSheetWork:[],totalSheetWorkListed:null,totalSheetWorkRecords:null,sheetWorksAvTypesOptions:[],sheetWorksCharacteristicOptions:[],showConnectWorksToSheetDialog:!1,sheetWorkInterpretOptions:[],sheetWorkDialogDetails:{title:null,interpret:null,duration:null,tags:null},sheetsWorksEditingDialogDetails:{},selectedSheetsWorks:[],sheetsPdf:nG,showUploadPDFDialog:!1,uploadPDFDialogText:"",uploadedPDFFileId:null},rG=(w$={getSheets:function(t){return t.sheets},getSelectedSheets:function(t){return t.selectedSheets},getIsAllSelectedSheets:function(t){return t.isAllSelectedSheets},getExpandedSheets:function(t){return t.expandedSheets},getSheetsSearch:function(t){return t.sheetsSearch},getSelectedSheetsTypeFilter:function(t){return t.selectedSheetsTypeFilter},getSelectedSheetsYearsFilter:function(t){return t.selectedSheetsYearsFilter},getSelectedSheetsAction:function(t){return t.selectedSheetsAction},getShowAvReportDialog:function(t){return t.showAvReportDialog},getAvReportDialogText:function(t){return t.avReportDialogText},getShowGemaAvRegistrationDialog:function(t){return t.showGemaAvRegistrationDialog},getGemaAvRegistrationDialogText:function(t){return t.gemaAvRegistrationDialogText},getGemaAvRegistrationDialogReportLink:function(t){return t.gemaAvRegistrationDialogReportLink},getGemaAvRegistrationDialogAllowSend:function(t){return t.gemaAvRegistrationDialogAllowSend},getDefaultNewSheet:function(t){return t.defaultNewSheet},getSheetsDetails:function(t){return t.sheetDetails},getSheetsUniqueId:function(t){return t.sheetUniqueId},getExportSheetsDetailsType:function(t){return t.exportSheetsDetailsType},getShowExportSheetsDialog:function(t){return t.showExportSheetsDialog}},Object(c["a"])(w$,"getDefaultNewSheet",(function(t){return t.defaultNewSheet})),Object(c["a"])(w$,"getSheetsDetails",(function(t){return t.sheetDetails})),Object(c["a"])(w$,"getSheetsUniqueId",(function(t){return t.sheetUniqueId})),Object(c["a"])(w$,"getSheetVersionTypeOptions",(function(t){return t.sheetVersionTypeOptions})),Object(c["a"])(w$,"getSheetRegionsOptions",(function(t){return t.sheetRegionsOptions})),Object(c["a"])(w$,"getSheetCarrierTypeOptions",(function(t){return t.sheetCarrierTypeOptions})),Object(c["a"])(w$,"getSheetDetailsAlvId",(function(t){return t.sheetDetails.alvId})),Object(c["a"])(w$,"getSheetDetailsTitle",(function(t){return t.sheetDetails.title})),Object(c["a"])(w$,"getSheetDetailsType",(function(t){return t.sheetDetails.type})),Object(c["a"])(w$,"getSheetDetailsTag",(function(t){return t.sheetDetails.tag})),Object(c["a"])(w$,"getSheetDetailsNote",(function(t){return t.sheetDetails.note})),Object(c["a"])(w$,"getSheetDetailsSheetNumber",(function(t){return t.sheetDetails.sheetNumber})),Object(c["a"])(w$,"getSheetDetailsFirstBroadcastDate",(function(t){return t.sheetDetails.firstBroadcastDate})),Object(c["a"])(w$,"getSheetDetailsProductionYear",(function(t){return t.sheetDetails.productionYear})),Object(c["a"])(w$,"getSheetDetailsFileId",(function(t){return t.sheetDetails.fileId})),Object(c["a"])(w$,"getSheetDetailsVersionType",(function(t){return t.sheetDetails.versionTypes})),Object(c["a"])(w$,"getSheetDetailsRegions",(function(t){return t.sheetDetails.regions})),Object(c["a"])(w$,"getSheetDetailsCarrierType",(function(t){return t.sheetDetails.releaseType})),Object(c["a"])(w$,"getSheetDetailsPlatform",(function(t){return t.sheetDetails.platform})),Object(c["a"])(w$,"getSheetDetailsProvider",(function(t){return t.sheetDetails.provider})),Object(c["a"])(w$,"getSheetDetailsUrl",(function(t){return t.sheetDetails.url})),Object(c["a"])(w$,"getSheetDetailsInternet",(function(t){return t.sheetDetails.internetValue})),Object(c["a"])(w$,"getSheetDetailsAvType",(function(t){return t.sheetDetails.avType})),Object(c["a"])(w$,"getSheetDetailsAvFirstExploitation",(function(t){return t.sheetDetails.avFirstExploitation})),Object(c["a"])(w$,"getSheetDetailsAvMessageType",(function(t){return t.sheetDetails.avMessageType})),Object(c["a"])(w$,"getSheetDetailsCompletenessCuesheetYesNo",(function(t){return t.sheetDetails.completenessCuesheetYesNo})),Object(c["a"])(w$,"getSheetDetailsCommissionedWorkYesNo",(function(t){return t.sheetDetails.commissionedWorkYesNo})),Object(c["a"])(w$,"getSheetDetailsCommissioningChannel",(function(t){return t.sheetDetails.commissioningChannel})),Object(c["a"])(w$,"getSheetDetailsSetDate",(function(t){return t.sheetDetails.setDate})),Object(c["a"])(w$,"getSheetDetailsSetStartTime",(function(t){return t.sheetDetails.setStartTime})),Object(c["a"])(w$,"getSheetDetailsSetEndTime",(function(t){return t.sheetDetails.setEndTime})),Object(c["a"])(w$,"getSheetDetailsSetType",(function(t){return t.sheetDetails.setType})),Object(c["a"])(w$,"getSheetDetailsEventName",(function(t){return t.sheetDetails.eventName})),Object(c["a"])(w$,"getSheetDetailsEventType",(function(t){return t.sheetDetails.eventType})),Object(c["a"])(w$,"getSheetDetailsEventVenue",(function(t){return t.sheetDetails.eventVenue})),Object(c["a"])(w$,"getSheetDetailsEventVenueId",(function(t){return t.sheetDetails.eventVenueId})),Object(c["a"])(w$,"getSheetDetailsEventVenueSpace",(function(t){return t.sheetDetails.eventVenueSpace})),Object(c["a"])(w$,"getSheetDetailsEventVenueType",(function(t){return t.sheetDetails.eventVenueType})),Object(c["a"])(w$,"getSheetDetailsEventOrganizer",(function(t){return t.sheetDetails.eventOrganizer})),Object(c["a"])(w$,"getSheetDetailsEventOrganizerId",(function(t){return t.sheetDetails.eventOrganizerId})),Object(c["a"])(w$,"getSheetDetailsEventOrganizerYesNo",(function(t){return t.sheetDetails.eventOrganizerYesNo})),Object(c["a"])(w$,"getSheetDetailsStatus",(function(t){return t.sheetDetails.status})),Object(c["a"])(w$,"getSheetDetailsEventBandleader",(function(t){return t.sheetDetails.eventBandleader})),Object(c["a"])(w$,"getSheetDetailsEventPerformer",(function(t){return t.sheetDetails.eventPerformer})),Object(c["a"])(w$,"getSheetDetailsEventHighestTicketPrice",(function(t){return t.sheetDetails.eventHighestTicketPrice})),Object(c["a"])(w$,"getSheetDetailsEventNumberOfConcertgoers",(function(t){return t.sheetDetails.eventNumberOfConcertgoers})),Object(c["a"])(w$,"getSheetDetailsEventNumberOfMusicians",(function(t){return t.sheetDetails.eventNumberOfMusicians})),Object(c["a"])(w$,"getSheetEventVenueOptions",(function(t){return t.sheetEventVenueOptions})),Object(c["a"])(w$,"getSheetEventOrganizerOptions",(function(t){return t.sheetEventOrganizerOptions})),Object(c["a"])(w$,"getSheetEventBandleaderOptions",(function(t){return t.sheetEventBandleaderOptions})),Object(c["a"])(w$,"getSheetEventPerformerOptions",(function(t){return t.sheetEventPerformerOptions})),Object(c["a"])(w$,"getSelectedVenueForSheets",(function(t){return t.selectedVenueForSheets})),Object(c["a"])(w$,"getVenueForSheetsSearch",(function(t){return t.venueForSheetsSearch})),Object(c["a"])(w$,"getShowConnectVenueToSheetDialog",(function(t){return t.showConnectVenueToSheetDialog})),Object(c["a"])(w$,"getTotalListedConnectVenueToSheetDialog",(function(t){return t.totalListedConnectVenueToSheetDialog})),Object(c["a"])(w$,"getTotalRecordsConnectVenueToSheetDialog",(function(t){return t.totalRecordsConnectVenueToSheetDialog})),Object(c["a"])(w$,"getDefaultSheetsWorks",(function(t){return t.defaultSheetsWorks})),Object(c["a"])(w$,"getSheetsWorks",(function(t){return t.sheetsWorks})),Object(c["a"])(w$,"getSheetWorkSearch",(function(t){return t.sheetWorkSearch})),Object(c["a"])(w$,"getSelectedSheetWork",(function(t){return t.selectedSheetWork})),Object(c["a"])(w$,"getTotalSheetWorkListed",(function(t){return t.totalSheetWorkListed})),Object(c["a"])(w$,"getTotalSheetWorkRecords",(function(t){return t.totalSheetWorkRecords})),Object(c["a"])(w$,"getSheetWorksAvTypesOptions",(function(t){return t.sheetWorksAvTypesOptions})),Object(c["a"])(w$,"getSheetWorksCharacteristicOptions",(function(t){return t.sheetWorksCharacteristicOptions})),Object(c["a"])(w$,"getShowConnectWorksToSheetDialog",(function(t){return t.showConnectWorksToSheetDialog})),Object(c["a"])(w$,"getSheetWorkInterpretOptions",(function(t){return t.sheetWorkInterpretOptions})),Object(c["a"])(w$,"getSheetWorkDialogDetails",(function(t){return t.sheetWorkDialogDetails})),Object(c["a"])(w$,"getSheetWorkDetailsInterpret",(function(t){return t.sheetWorkDialogDetails.interpret})),Object(c["a"])(w$,"getSheetWorkDetailsWorkTitle",(function(t){return t.sheetWorkDialogDetails.title})),Object(c["a"])(w$,"getSheetWorkDetailsDuration",(function(t){return t.sheetWorkDialogDetails.duration})),Object(c["a"])(w$,"getSheetWorkDetailsTags",(function(t){return t.sheetWorkDialogDetails.tags})),Object(c["a"])(w$,"getSheetsWorksEditingDialogDetails",(function(t){return t.sheetsWorksEditingDialogDetails})),Object(c["a"])(w$,"getSelectedSheetsWorks",(function(t){return t.selectedSheetsWorks})),Object(c["a"])(w$,"getSheetsWorksDetailsWorkAvType",(function(t){return t.sheetsWorksEditingDialogDetails.workAvType})),Object(c["a"])(w$,"getSheetsWorksDetailsWorkCharacteristicType",(function(t){return t.sheetsWorksEditingDialogDetails.workCharacteristicType})),Object(c["a"])(w$,"getSheetsWorksDetailsWorkSheetSeconds",(function(t){return t.sheetsWorksEditingDialogDetails.workSheetSeconds})),Object(c["a"])(w$,"getSheetsWorksDetailsWorkSetlistSeconds",(function(t){return t.sheetsWorksEditingDialogDetails.workSetlistSeconds})),Object(c["a"])(w$,"getSheetsWorksDetailsWorkSetlistType",(function(t){return t.sheetsWorksEditingDialogDetails.workSetlistType})),Object(c["a"])(w$,"getSheetsWorksDetailsBigRight",(function(t){return t.sheetsWorksEditingDialogDetails.bigRight})),Object(c["a"])(w$,"getDefaultSheetsPdf",(function(){return nG})),Object(c["a"])(w$,"getSheetsPdf",(function(t){return t.sheetsPdf})),Object(c["a"])(w$,"getSheetsPdfFileId",(function(t){return t.sheetsPdf.fileId})),Object(c["a"])(w$,"getSheetsPdfPath",(function(t){return t.sheetsPdf.path})),Object(c["a"])(w$,"getShowUploadPDFDialog",(function(t){return t.showUploadPDFDialog})),Object(c["a"])(w$,"getUploadPDFDialogText",(function(t){return t.uploadPDFDialogText})),Object(c["a"])(w$,"getUploadedPDFFileId",(function(t){return t.uploadedPDFFileId})),w$),lG={setSheets:function(t,e){t.sheets=e},setSelectedSheets:function(t,e){t.selectedSheets=e},setIsAllSelectedSheets:function(t,e){t.isAllSelectedSheets=e},setExpandedSheets:function(t,e){0===Object.keys(e).length?t.expandedSheets=[]:t.expandedSheets.push(e)},setSheetsSearch:function(t,e){t.sheetsSearch=e},setSelectedSheetsTypeFilter:function(t,e){t.selectedSheetsTypeFilter=e},setSelectedSheetsYearsFilter:function(t,e){t.selectedSheetsYearsFilter=e},setSelectedSheetsAction:function(t,e){t.selectedSheetsAction=e},setShowAvReportDialog:function(t,e){t.showAvReportDialog=e},setAvReportDialogText:function(t,e){t.avReportDialogText=e},setExportSheetsDetailsType:function(t,e){t.exportSheetsDetailsType=e},setShowGemaAvRegistrationDialog:function(t,e){t.showGemaAvRegistrationDialog=e},setGemaAvRegistrationDialogText:function(t,e){t.gemaAvRegistrationDialogText=e},setGemaAvRegistrationDialogReportLink:function(t,e){t.gemaAvRegistrationDialogReportLink=e},setGemaAvRegistrationDialogAllowSend:function(t,e){t.gemaAvRegistrationDialogAllowSend=e},setShowExportSheetsDialog:function(t,e){t.showExportSheetsDialog=e},setDefaultNewSheet:function(t){t.defaultNewSheet=aG},setSheetsDetails:function(t,e){t.sheetDetails=e},setSheetsUniqueId:function(t,e){t.sheetUniqueId=e},setSheetVersionTypeOptions:function(t,e){t.sheetVersionTypeOptions=e},setSheetRegionsOptions:function(t,e){t.sheetRegionsOptions=e},setSheetCarrierTypeOptions:function(t,e){t.sheetCarrierTypeOptions=e},setSheetDetailsAlvId:function(t,e){t.sheetDetails.alvId=e},setSheetDetailsTitle:function(t,e){t.sheetDetails.title=e},setSheetDetailsSheetNumber:function(t,e){t.sheetDetails.sheetNumber=e},setSheetDetailsFirstBroadcastDate:function(t,e){t.sheetDetails.firstBroadcastDate=e},setSheetDetailsProductionYear:function(t,e){t.sheetDetails.productionYear=e},setSheetDetailsNote:function(t,e){t.sheetDetails.note=e},setSheetDetailsTag:function(t,e){t.sheetDetails.tag=e},setSheetDetailsType:function(t,e){t.sheetDetails.type=e},setSheetDetailsAvType:function(t,e){t.sheetDetails.avType=e},setSheetDetailsAvFirstExploitation:function(t,e){t.sheetDetails.avFirstExploitation=e},setSheetDetailsAvMessageType:function(t,e){t.sheetDetails.avMessageType=e},setSheetDetailsCompletenessCuesheetYesNo:function(t,e){t.sheetDetails.completenessCuesheetYesNo=e},setSheetDetailsCommissionedWorkYesNo:function(t,e){t.sheetDetails.commissionedWorkYesNo=e},setSheetDetailsCommissioningChannel:function(t,e){t.sheetDetails.commissioningChannel=e},setSheetDetailsFileId:function(t,e){t.sheetDetails.fileId=e},setSheetDetailsVersionType:function(t,e){t.sheetDetails.versionTypes=e},setSheetDetailsRegions:function(t,e){t.sheetDetails.regions=e},setSheetDetailsCarrierType:function(t,e){t.sheetDetails.releaseType=e},setSheetDetailsPlatform:function(t,e){t.sheetDetails.platform=e},setSheetDetailsProvider:function(t,e){t.sheetDetails.provider=e},setSheetDetailsUrl:function(t,e){t.sheetDetails.url=e},setSheetDetailsInternet:function(t,e){sG.sheetDetails.internetValue=e},setSheetDetailsSetDate:function(t,e){t.sheetDetails.setDate=e},setSheetDetailsSetStartTime:function(t,e){t.sheetDetails.setStartTime=e},setSheetDetailsSetEndTime:function(t,e){t.sheetDetails.setEndTime=e},setSheetDetailsSetType:function(t,e){t.sheetDetails.setType=e},setSheetDetailsEventName:function(t,e){t.sheetDetails.eventName=e},setSheetDetailsEventType:function(t,e){t.sheetDetails.eventType=e},setSheetDetailsEventVenue:function(t,e){t.sheetDetails.eventVenue=e},setSheetDetailsEventVenueId:function(t,e){t.sheetDetails.eventVenueId=e},setSheetDetailsEventVenueSpace:function(t,e){t.sheetDetails.eventVenueSpace=e},setSheetDetailsEventVenueType:function(t,e){t.sheetDetails.eventVenueType=e},setSheetDetailsEventOrganizer:function(t,e){t.sheetDetails.eventOrganizer=e},setSheetDetailsEventOrganizerId:function(t,e){t.sheetDetails.eventOrganizerId=e},setSheetDetailsEventOrganizerYesNo:function(t,e){t.sheetDetails.eventOrganizerYesNo=e},setSheetDetailsStatus:function(t,e){t.sheetDetails.status=e},setSheetDetailsEventBandleader:function(t,e){t.sheetDetails.eventBandleader=e},setSheetDetailsEventPerformer:function(t,e){t.sheetDetails.eventPerformer=e},setSheetDetailsEventHighestTicketPrice:function(t,e){t.sheetDetails.eventHighestTicketPrice=e},setSheetDetailsEventNumberOfConcertgoers:function(t,e){t.sheetDetails.eventNumberOfConcertgoers=e},setSheetDetailsEventNumberOfMusicians:function(t,e){t.sheetDetails.eventNumberOfMusicians=e},setSheetEventVenueOptions:function(t,e){t.sheetEventVenueOptions=e},setSheetEventOrganizerOptions:function(t,e){t.sheetEventOrganizerOptions=e},setSheetEventBandleaderOptions:function(t,e){t.sheetEventBandleaderOptions=e},setSheetEventPerformerOptions:function(t,e){t.sheetEventPerformerOptions=e},setSelectedVenueForSheets:function(t,e){t.selectedVenueForSheets=e},setVenueForSheetsSearch:function(t,e){t.venueForSheetsSearch=e},setShowConnectVenueToSheetDialog:function(t,e){t.showConnectVenueToSheetDialog=e},setTotalListedConnectVenueToSheetDialog:function(t,e){t.totalListedConnectVenueToSheetDialog=e},setTotalRecordsConnectVenueToSheetDialog:function(t,e){t.totalRecordsConnectVenueToSheetDialog=e},setDefaultSheetsWorks:function(t){t.defaultSheetsWorks=iG},setSheetsWorks:function(t,e){t.sheetsWorks=e},setSheetWorkSearch:function(t,e){t.sheetWorkSearch=e},setSelectedSheetWork:function(t,e){t.selectedSheetWork=e},setTotalSheetWorkListed:function(t,e){t.totalSheetWorkListed=e},setTotalSheetWorkRecords:function(t,e){t.totalSheetWorkRecords=e},setSheetWorksAvTypesOptions:function(t,e){t.sheetWorksAvTypesOptions=e},setSheetWorksCharacteristicOptions:function(t,e){t.sheetWorksCharacteristicOptions=e},setSheetsWorksEditingDialogDetails:function(t,e){t.sheetsWorksEditingDialogDetails=e},setSelectedSheetsWorks:function(t,e){t.selectedSheetsWorks=e},setSheetsWorksDetailsWorkAvType:function(t,e){t.sheetsWorksEditingDialogDetails.workAvType=e},setSheetsWorksDetailsWorkCharacteristicType:function(t,e){t.sheetsWorksEditingDialogDetails.workCharacteristicType=e},setSheetsWorksDetailsWorkSheetSeconds:function(t,e){t.sheetsWorksEditingDialogDetails.workSheetSeconds=e},setSheetsWorksDetailsWorkSetlistSeconds:function(t,e){t.sheetsWorksEditingDialogDetails.workSetlistSeconds=e},setSheetsWorksDetailsWorkSetlistType:function(t,e){t.sheetsWorksEditingDialogDetails.workSetlistType=e},setSheetsWorksDetailsBigRight:function(t,e){t.sheetsWorksEditingDialogDetails.bigRight=e},setShowConnectWorksToSheetDialog:function(t,e){t.showConnectWorksToSheetDialog=e},setSheetWorkInterpretOptions:function(t,e){t.sheetWorkInterpretOptions=e},setSheetWorkDialogDetails:function(t,e){t.sheetWorkDialogDetails=e},setSheetWorkDetailsInterpret:function(t,e){t.sheetWorkDialogDetails.interpret=e},setSheetWorkDetailsWorkTitle:function(t,e){t.sheetWorkDialogDetails.title=e},setSheetWorkDetailsDuration:function(t,e){t.sheetWorkDialogDetails.duration=e},setSheetWorkDetailsTags:function(t,e){t.sheetWorkDialogDetails.tags=e},setSheetsPdf:function(t,e){t.sheetsPdf=e},setSheetsPdfFileId:function(t,e){t.sheetsPdf.fileId=e},setSheetsPdfPath:function(t,e){t.sheetsPdf.path=e},setShowUploadPDFDialog:function(t,e){t.showUploadPDFDialog=e},setUploadPDFDialogText:function(t,e){t.uploadPDFDialogText=e},setUploadedPDFFileId:function(t,e){t.uploadedPDFFileId=e}},oG={fetchSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getSheetsSearch,sheetType:n.getSelectedSheetsTypeFilter,year:n.getSelectedSheetsYearsFilter},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(eG,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setSheets",[])):a("setSheets",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSheetsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.dispatch,s=e.getters,l=O$.currentRoute.name,"new"!==a){t.next=7;break}o=JSON.parse(JSON.stringify(s.getDefaultNewSheet)),r=o,t.next=11;break;case 7:return t.next=9,k$.getDetailsById(eG,a);case 9:c=t.sent,void 0===c||0===c.length||1===c.error?n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"}):r=c;case 11:null!==r.eventVenue&&n("setSheetEventVenueOptions",[r.eventVenue]),null!==r.eventOrganizer&&n("setSheetEventOrganizerOptions",[r.eventOrganizer]),null!==r.eventBandleader&&n("setSheetEventBandleaderOptions",[r.eventBandleader]),null!==r.eventPerformer&&n("setSheetEventPerformerOptions",[r.eventPerformer]),n("setSheetsDetails",r),"new"!==a&&i("fetchSheetsPdf"),"new"!==a?i("fetchSheetsWorks"):n("setSheetsWorks",[]),"Edit"===l.substr(l.length-4)&&i("fetchSheetDropdownValues"),n("setIsLoading",!1);case 20:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteSheetEventVenue:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setSheetEventVenueOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteSheetEventOrganizer:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az",a,"azType=persons,groups");case 3:i=t.sent,n("setSheetEventOrganizerOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteSheetEventBandleader:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setSheetEventBandleaderOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteSheetEventPerformer:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setSheetEventPerformerOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),searchVenueForSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i="search="+a.getVenueForSheetsSearch,t.next=4,k$.getListData("az/live","1",i);case 4:return s=t.sent,n("setTotalListedConnectVenueToSheetDialog",s.filteredRecords),n("setTotalRecordsConnectVenueToSheetDialog",s.totalRecords),t.abrupt("return",s.list);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSheetDropdownValues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=n.getSheetDetailsAlvId,t.next=4,k$.getSpecificDropdownValues(eG,i,"versionTypes");case 4:return s=t.sent,a("setSheetVersionTypeOptions",s),t.next=8,k$.getSpecificDropdownValues(eG,i,"regions");case 8:return r=t.sent,a("setSheetRegionsOptions",r),t.next=12,k$.getSpecificDropdownValues(eG,i,"releaseTypes");case 12:l=t.sent,a("setSheetCarrierTypeOptions",l);case 14:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSheetsWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=n.getSheetsDetails.works,void 0!==i&&null!==i){t.next=6;break}return t.abrupt("return",[]);case 6:0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setSheetsWorks",i);case 8:a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteSheetWorkInterpret:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setSheetWorkInterpretOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),searchSheetWork:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getSheetWorkSearch,t.next=4,k$.getFilteredResults("publishing/works",n);case 4:return i=t.sent,s=i.list,s.forEach((function(t){t["alvInternalDisable"]=!1})),t.abrupt("return",s);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addWorksToSheet:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(n=e.getters,i=e.commit,e.dispatch,s=n.getSheetsWorks,r=s.length,l=0;l<a.length;l++)s.push(a[l]);o=s.length,o>r&&i("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_ADDED_SUCCESSFULLY")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")});case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedSheetWork:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedSheetWork,r=a.getSheetsWorks,l=a.getSheetsWorks.length,n["default"].delete(r,s),o=a.getSheetsWorks.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_DELETE_WORKS_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_DELETE_WORKS_NOT_SUCCESSFUL")}),i("setSelectedSheetWork",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSheetsPdf:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getSheetDetailsAlvId,t.next=5,k$.getDetailsById(eG,i,"/pdf");case 5:s=t.sent,a("setSheetsPdf",void 0!==s?s.response:nG),a("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSheetPdf:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getSheetDetailsAlvId,t.next=4,k$.deleteFile(eG+"/"+s,"?deletePdf");case 4:r=t.sent,-1===r.error?(i("fetchSheetsPdf"),n("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_PDF_DELETED")})):n("setSnackbar",{type:"error",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_PDF_NOT_DELETED")});case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveSheetsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getSheetDetailsAlvId,r=n.getSheetsDetails,null!==n.getUploadedPDFFileId&&(r["fileId"]=n.getUploadedPDFFileId),null!==r["eventVenue"]&&(r["eventVenue"]=n.getSheetDetailsEventVenue),null!==r["eventVenue"]&&(r["eventVenueId"]=n.getSheetDetailsEventVenue.id),null!==r["eventOrganizer"]&&(r["eventOrganizer"]=n.getSheetDetailsEventOrganizer),null!==r["eventOrganizer"]&&(r["eventOrganizerId"]=n.getSheetDetailsEventOrganizer.id),l="new"==O$.currentRoute.params.alvId,t.next=11,k$.saveEditForm(eG,s,r,l);case 11:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=17;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_SHEET_NOT_SAVED")}),t.next=25;break;case 17:return t.next=19,i("fetchSheetsDetails",o.response.alvId);case 19:if(a("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_SHEETS_SNACKBAR_SHEET_SAVED")}),!l){t.next=24;break}return t.next=23,i("fetchSheetsDetails",o.response.alvId);case 23:O$.push({name:"SheetsEdit",params:{alvId:o.response.alvId}});case 24:a("setUploadedPDFFileId",null);case 25:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doSheetsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.dispatch,!(sG.selectedSheets.length>0)){t.next=19;break}t.t0=sG.selectedSheetsAction,t.next="exportSheets"===t.t0?5:"avReport"===t.t0?7:"avGemaJson"===t.t0?9:"copy"===t.t0?11:"replaceTags"===t.t0?13:"delete"===t.t0?15:17;break;case 5:return 1===sG.selectedSheets.length?a("setShowExportSheetsDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",17);case 7:return sG.selectedSheets.length>0?n("createAvReport"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",17);case 9:return 1===sG.selectedSheets.length?(n("createAvGemaJson","generateReport"),a("setShowGemaAvRegistrationDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",17);case 11:return 1===sG.selectedSheets.length?n("copySheet"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",17);case 13:return sG.selectedSheets.length>0?a("setShowManageTagsDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",17);case 15:return a("setShowDeletionDialog",!0),t.abrupt("break",17);case 17:t.next=21;break;case 19:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 21:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),createAvReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getSelectedSheets,s={action:"createAvReport"},t.next=5,k$.triggerAction(eG,i,s);case 5:r=t.sent,1===r||void 0==r||1===r.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r.response.errorMsg)?it.t(r.response.errorMsg):r.response.errorMsg}):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),createAvGemaJson:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,i("setGemaAvRegistrationDialogAllowSend",!1),i("setIsLoading",!0),s={sheetId:n.getSelectedSheets[0],action:a},r={action:"createAvGemaJson"},t.next=7,k$.triggerAction(eG,s,r);case 7:l=t.sent,"generateReport"===a&&(1===l||void 0==l||1===l.error?(i("setGemaAvRegistrationDialogText",l.response.errorMsg),i("setGemaAvRegistrationDialogReportLink",l.response.url)):(i("setGemaAvRegistrationDialogText",l.response.errorMsg),i("setGemaAvRegistrationDialogAllowSend",!0),i("setGemaAvRegistrationDialogReportLink",l.response.url),l.response.processInstanceId&&(i("setGemaAvRegistrationDialogText",it.t("lang_PUBLISHING_SHEETS_AV_REGISTRATION_DIALOG_GEMA_SUCCESSFUL_REPORT")+l.response.processInstanceId),i("setGemaAvRegistrationDialogAllowSend",!1)))),"sendJson"===a&&(1===l||void 0==l||1===l.error?(i("setGemaAvRegistrationDialogText",l.response.errorMsg),null==l.response.url&&void 0==l.response.url||i("setGemaAvRegistrationDialogReportLink",l.response.url)):(i("setGemaAvRegistrationDialogText",it.t("lang_PUBLISHING_SHEETS_AV_REGISTRATION_DIALOG_GEMA_SUCCESSFUL_REPORT")+l.response.processInstanceId),i("setGemaAvRegistrationDialogAllowSend",!1),i("setGemaAvRegistrationDialogReportLink",l.response.url),i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}))),i("setIsLoading",!1);case 11:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),exportSelectedSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={alvIds:a.getSelectedSheets},s={action:"export",type:a.getExportSheetsDetailsType},t.next=5,k$.triggerAction(eG,i,s);case 5:r=t.sent,1===r||void 0==r||1===r.error?(n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r.response.errorMsg)?it.t(r.response.errorMsg):r.response.errorMsg}),n("setShowExportSheetsDialog",!1),n("setExportSheetsDetailsType",[])):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}),n("setShowExportSheetsDialog",!1),n("setExportSheetsDetailsType",[]));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),copySheet:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,e.dispatch,i={action:"copy"},s={alvIds:a.getSelectedSheets},t.next=5,k$.triggerAction(eG,s,i);case 5:r=t.sent,-1===r.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),O$.push({name:"SheetsEdit",params:{alvId:r.response.alvId}})):(l=r.response.errorMsg,void 0!==l&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,r=i.getSelectedSheets,l=i.getSheets,t.next=5,k$.deleteEntries(eG,r);case 5:if(o=t.sent,-1===o.error){for(c=function(t){var e=l.findIndex((function(e){return e.alvId==r[t]}));n["default"].delete(l,e)},u=0;u<r.length;u++)c(u);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedSheets",[]),a("setSelectedSheetsAction",[]),s("fetchSheets")}case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},cG={state:sG,getters:rG,actions:oG,mutations:lG},uG="publishing/releases",dG={id:0,alvId:"ALV000000000PR",title:null,tag:null,note:null,sheets:[],productionTypeId:null,producer:null,tvStation:null,favourites:"no"},gG={publishingProjects:[],selectedPublishingProjects:[],isAllSelectedPublishingProjects:!1,expandedPublishingProjects:[],publishingProjectsSearch:"",selectedPublishingProjectsAction:[],defaultNewPublishingProjects:dG,publishingProjectsDetails:{},publishingProjectsUniqueId:"",publishingProjectsProducerOptions:[],publishingProjectsProductionTypeOptions:[],projectsSheets:[],projectsSheetSearch:"",selectedProjectsSheet:[],totalProjectsSheetListed:null},pG={getPublishingProjects:function(t){return t.publishingProjects},getSelectedPublishingProjects:function(t){return t.selectedPublishingProjects},getIsAllSelectedPublishingProjects:function(t){return t.isAllSelectedPublishingProjects},getExpandedPublishingProjects:function(t){return t.expandedPublishingProjects},getPublishingProjectsSearch:function(t){return t.publishingProjectsSearch},getSelectedPublishingProjectsAction:function(t){return t.selectedPublishingProjectsAction},getDefaultNewPublishingProjects:function(t){return t.defaultNewPublishingProjects},getPublishingProjectsUniqueId:function(t){return t.publishingProjectsUniqueId},getPublishingProjectsDetails:function(t){return t.publishingProjectsDetails},getPublishingProjectsDetailsTitle:function(t){return t.publishingProjectsDetails.title},getPublishingProjectsDetailsAlvId:function(t){return t.publishingProjectsDetails.alvId},getPublishingProjectsDetailsTag:function(t){return t.publishingProjectsDetails.tag},getPublishingProjectsDetailsNote:function(t){return t.publishingProjectsDetails.note},getPublishingProjectsDetailsProducer:function(t){return t.publishingProjectsDetails.producer},getPublishingProjectsProducerOptions:function(t){return t.publishingProjectsProducerOptions},getPublishingProjectsDetailsProductionTypeId:function(t){return t.publishingProjectsDetails.productionTypeId},getPublishingProjectsProductionTypeOptions:function(t){return t.publishingProjectsProductionTypeOptions},getPublishingProjectsDetailsTvStation:function(t){return t.publishingProjectsDetails.tvStation},getPublishingProjectsDetailsFavourite:function(t){return t.publishingProjectsDetails.favourites},getProjectsSheets:function(t){return t.projectsSheets},getProjectsSheetSearch:function(t){return t.projectsSheetSearch},getSelectedProjectsSheet:function(t){return t.selectedProjectsSheet},getTotalProjectsSheetListed:function(t){return t.totalProjectsSheetListed}},vG={setPublishingProjects:function(t,e){t.publishingProjects=e},setSelectedPublishingProjects:function(t,e){t.selectedPublishingProjects=e},setIsAllSelectedPublishingProjects:function(t,e){t.isAllSelectedPublishingProjects=e},setExpandedPublishingProjects:function(t,e){0===Object.keys(e).length?t.expandedPublishingProjects=[]:t.expandedPublishingProjects.push(e)},setPublishingProjectsSearch:function(t,e){t.publishingProjectsSearch=e},setSelectedPublishingProjectsAction:function(t,e){t.selectedPublishingProjectsAction=e},setDefaultNewPublishingRelease:function(t){t.defaultNewPublishingRelease=dG},setPublishingProjectsUniqueId:function(t,e){t.publishingProjectsUniqueId=e},setPublishingProjectsDetails:function(t,e){t.publishingProjectsDetails=e},setPublishingProjectsDetailsTitle:function(t,e){t.publishingProjectsDetails.title=e},setPublishingProjectsDetailsAlvId:function(t,e){t.publishingProjectsDetails.alvId=e},setPublishingProjectsDetailsTag:function(t,e){t.publishingProjectsDetails.tag=e},setPublishingProjectsDetailsNote:function(t,e){t.publishingProjectsDetails.note=e},setPublishingProjectsDetailsProducer:function(t,e){t.publishingProjectsDetails.producer=e},setPublishingProjectsProducerOptions:function(t,e){t.publishingProjectsProducerOptions=e},setPublishingProjectsDetailsProductionTypeId:function(t,e){t.publishingProjectsDetails.productionTypeId=e},setPublishingProjectsProductionTypeOptions:function(t,e){t.publishingProjectsProductionTypeOptions=e},setPublishingProjectsDetailsTvStation:function(t,e){t.publishingProjectsDetails.tvStation=e},setPublishingProjectsDetailsFavourite:function(t,e){t.publishingProjectsDetails.favourites=e},setProjectsSheets:function(t,e){t.projectsSheets=e},setProjectsSheetSearch:function(t,e){t.projectsSheetSearch=e},setSelectedProjectsSheet:function(t,e){t.selectedProjectsSheet=e},setTotalProjectsSheetListed:function(t,e){t.totalProjectsSheetListed=e}},_G={fetchPublishingProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getPublishingProjectsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(uG,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingProjects",[])):a("setPublishingProjects",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingProjectsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.dispatch,s=e.getters,"new"!==a){t.next=6;break}l=JSON.parse(JSON.stringify(s.getDefaultNewPublishingProjects)),r=l,t.next=10;break;case 6:return t.next=8,k$.getDetailsById(uG,a);case 8:o=t.sent,void 0===o||0===o.length||1===o.error?n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"}):r=o;case 10:n("setPublishingProjectsDetails",r),"new"!==a?i("fetchProjectsSheets"):n("setProjectsSheets",[]),n("setIsLoading",!1);case 13:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingProjectsProducer:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a,"type=producer");case 3:i=t.sent,n("setPublishingProjectsProducerOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchPublishingReleaseDropdownValues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getDropdownValues(uG,"productionTypes");case 3:n=t.sent,n.forEach((function(t){var e=t.header;t.header=it.t(e)})),a("setPublishingReleaseProductionTypeOptions",n);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),savePublishingProjectsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getPublishingProjectsDetailsAlvId,r=n.getPublishingProjectsDetails,l="new"==O$.currentRoute.params.alvId,t.next=6,k$.saveEditForm(uG,s,r,l);case 6:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=12;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_MESSAGE_ERROR_SAVING_FAILED")}),t.next=16;break;case 12:return a("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_PROJECTS_SNACKBAR_PROJECT_SAVED")}),l&&O$.push({name:"PublishingProjectsEdit",params:{alvId:o.response.alvId}}),t.next=16,i("fetchPublishingProjectsDetails",o.response.alvId);case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doPublishingProjectsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,e.dispatch,!(gG.selectedPublishingProjects.length>0)){t.next=9;break}t.t0=gG.selectedPublishingProjectsAction,t.next="delete"===t.t0?5:7;break;case 5:return a("setShowDeletionDialog",!0),t.abrupt("break",7);case 7:t.next=11;break;case 9:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,r=i.getSelectedPublishingProjects,l=i.getPublishingProjects,t.next=5,k$.deleteEntries(uG,r);case 5:if(o=t.sent,-1===o.error){for(c=function(t){var e=l.findIndex((function(e){return e.alvId==r[t]}));n["default"].delete(l,e)},u=0;u<r.length;u++)c(u);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedPublishingProjects",[]),a("setSelectedPublishingProjectsAction",[]),s("fetchPublishingProjects")}case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchProjectsSheet:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=a.getProjectsSheets.map((function(t){return t.alvId})),i="search="+a.getProjectsSheetSearch,n&&(i+="&excludeAlvIds="+n.join(",")),t.next=6,k$.getFilteredResults("publishing/sheets",i);case 6:return s=t.sent,t.abrupt("return",s.list);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addSheetToProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(n=e.getters,i=e.commit,s=n.getProjectsSheets,r=s.length,l=0;l<a.length;l++)s.push(a[l]);o=s.length,o>r&&i("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_ADDED_SUCCESSFULLY")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")});case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchProjectsSheets:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=n.getPublishingProjectsDetails.sheets,void 0!==i&&null!==i){t.next=6;break}return t.abrupt("return",[]);case 6:0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setProjectsSheets",i);case 8:a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedProjectsSheet:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,i=e.getters,s=i.getSelectedProjectsSheet[0],r=s.alvId,l=i.getProjectsSheets,o=l.findIndex((function(t){return t.alvId===r})),c=i.getProjectsSheets.length,n["default"].delete(l,o),u=i.getProjectsSheets.length,a("setSnackbar",c>u?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),a("setSelectedProjectsSheet",[]),0===u&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},hG={state:gG,getters:pG,actions:_G,mutations:vG},mG="publishing/income",fG={abbreviation:null,showListNumber:!1,commissionPercent:null,conversionFactor:null,listNumber:null,period:{num:null,period:"notDefined",year:null}},SG={income:[],selectedIncome:[],isAllSelectedIncome:!1,expandedIncome:[],incomeImporters:[],incomeInlineEditingDialogDetails:{},incomeInlineEditingDialogDefault:fG,incomeServerSideSortingOptions:{sortBy:["importDate"],sortDesc:[!0],mustSort:!0},incomeSearch:"",selectedIncomeFromQuarter:null,selectedIncomeToQuarter:null,selectedIncomeFromYear:null,selectedIncomeToYear:null,selectedIncomeAction:[],incomeDetailsSelectedCompany:[],publishingIncomeDetails:null,publishingIncomeDetailsImportCurrencyConversionFactor:null,publishingIncomeDetailsImportCommissionPercent:null,incomeDetails:{},showFixItDialog:!1,fixItYktoOptions:[],fixItYktoSelected:null,fixItErrorObject:null},EG={getIncome:function(t){return t.income},getSelectedIncome:function(t){return t.selectedIncome},getIsAllSelectedIncome:function(t){return t.isAllSelectedIncome},getExpandedIncome:function(t){return t.expandedIncome},getIncomeServerSideSortingOptions:function(t){return t.incomeServerSideSortingOptions},getIncomeImporters:function(t){return t.incomeImporters},getIncomeInlineEditingDialogDefault:function(t){return t.incomeInlineEditingDialogDefault},getIncomeInlineEditingDialogDetails:function(t){return t.incomeInlineEditingDialogDetails},getIncomeInlineEditingDialogDetailsListNo:function(t){return t.incomeInlineEditingDialogDetails.listNumber},getIncomeInlineEditingDialogDetailsConversionFactor:function(t){return t.incomeInlineEditingDialogDetails.conversionFactor},getIncomeInlineEditingDialogDetailsCommissionPercent:function(t){return t.incomeInlineEditingDialogDetails.commissionPercent},getSelectedPeriodValuesIncomeInlineEditingDialog:function(t){return t.incomeInlineEditingDialogDetails.period},getSelectedPeriodNumberIncomeInlineEditingDialog:function(t){return t.incomeInlineEditingDialogDetails.period.num},getSelectedPeriodTimeUnitIncomeInlineEditingDialog:function(t){return t.incomeInlineEditingDialogDetails.period.period},getSelectedPeriodYearIncomeInlineEditingDialog:function(t){return t.incomeInlineEditingDialogDetails.period.year},getIncomeSearch:function(t){return t.incomeSearch},getSelectedIncomeFromQuarter:function(t){return t.selectedIncomeFromQuarter},getSelectedIncomeToQuarter:function(t){return t.selectedIncomeToQuarter},getSelectedIncomeFromYear:function(t){return t.selectedIncomeFromYear},getSelectedIncomeToYear:function(t){return t.selectedIncomeToYear},getSelectedIncomeAction:function(t){return t.selectedIncomeAction},getPublishingIncomeDetailsImportCurrencyConversionFactor:function(t){return t.publishingIncomeDetailsImportCurrencyConversionFactor},getPublishingIncomeDetailsImportCommissionPercent:function(t){return t.publishingIncomeDetailsImportCommissionPercent},getIncomeDetailsSelectedCompany:function(t){return t.incomeDetailsSelectedCompany},getIncomeDetails:function(t){return t.incomeDetails},getShowFixItDialog:function(t){return t.showFixItDialog},getFixItYktoOptions:function(t){return t.fixItYktoOptions},getFixItDetailsYkto:function(t){return t.fixItYktoSelected},getFixItErrorObject:function(t){return t.fixItErrorObject},getPublishingIncomeDetailsAbbreviation:function(t){return t.incomeInlineEditingDialogDetails.abbreviation}},IG={setIncome:function(t,e){t.income=e},setSelectedIncome:function(t,e){t.selectedIncome=e},setIsAllSelectedIncome:function(t,e){t.isAllSelectedIncome=e},setExpandedIncome:function(t,e){0===Object.keys(e).length?t.expandedIncome=[]:t.expandedIncome.push(e)},setIncomeServerSideSortingOptions:function(t,e){t.incomeServerSideSortingOptions=e},setIncomeInlineEditingDialogDefault:function(t){t.incomeInlineEditingDialogDefault=fG},setIncomeInlineEditingDialogDetails:function(t,e){t.incomeInlineEditingDialogDetails=e},setIncomeInlineEditingDialogDetailsListNo:function(t,e){t.incomeInlineEditingDialogDetails.listNumber=e},setIncomeInlineEditingDialogDetailsConversionFactor:function(t,e){t.incomeInlineEditingDialogDetails.conversionFactor=e},setIncomeInlineEditingDialogDetailsCommissionPercent:function(t,e){t.incomeInlineEditingDialogDetails.commissionPercent=e},setIncomeImporters:function(t,e){t.incomeImporters=e},setSelectedPeriodValuesIncomeInlineEditingDialog:function(t,e){t.incomeInlineEditingDialogDetails.period=e},setSelectedPeriodNumberIncomeInlineEditingDialog:function(t,e){t.incomeInlineEditingDialogDetails.period.num=e},setSelectedPeriodTimeUnitIncomeInlineEditingDialog:function(t,e){t.incomeInlineEditingDialogDetails.period.period=e},setSelectedPeriodYearIncomeInlineEditingDialog:function(t,e){t.incomeInlineEditingDialogDetails.period.year=e},setIncomeSearch:function(t,e){t.incomeSearch=e},setSelectedIncomeFromQuarter:function(t,e){t.selectedIncomeFromQuarter=e},setSelectedIncomeToQuarter:function(t,e){t.selectedIncomeToQuarter=e},setSelectedIncomeFromYear:function(t,e){t.selectedIncomeFromYear=e},setSelectedIncomeToYear:function(t,e){t.selectedIncomeToYear=e},setSelectedIncomeAction:function(t,e){t.selectedIncomeAction=e},setPublishingIncomeDetailsImportCurrencyConversionFactor:function(t,e){t.publishingIncomeDetailsImportCurrencyConversionFactor=e},setPublishingIncomeDetailsImportCommissionPercent:function(t,e){t.publishingIncomeDetailsImportCommissionPercent=e},setPublishingIncomeDetailsAbbreviation:function(t,e){t.incomeInlineEditingDialogDetails.abbreviation=e},setIncomeDetailsSelectedCompany:function(t,e){t.incomeDetailsSelectedCompany=e},setIncomeDetails:function(t,e){t.incomeDetails=e},setShowFixItDialog:function(t,e){t.showFixItDialog=e},setFixItYktoOptions:function(t,e){t.fixItYktoOptions=e},setFixItDetailsYkto:function(t,e){t.fixItYktoSelected=e},setFixItErrorObject:function(t,e){t.fixItErrorObject=e}},CG={fetchIncome:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getIncomeSearch,fromQuarter:n.getSelectedIncomeFromQuarter,fromYear:n.getSelectedIncomeFromYear,toQuarter:n.getSelectedIncomeToQuarter,toYear:n.getSelectedIncomeToYear},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getIncomeServerSideSortingOptions,t.next=7,k$.getListData2(mG,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setIncome",[])):a("setIncome",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchIncomeDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getDetailsById(mG,a,"/errorList");case 3:i=t.sent,0===i.list.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setIncomeDetails",i),n("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchIncomeImporters:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getIncomeImporters();case 3:n=t.sent,a("setIncomeImporters",n.response);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveIncomeEditDialog:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.dispatch,i=e.commit,s=a.getSelectedIncome,r={period:a.getSelectedPeriodValuesIncomeInlineEditingDialog,conversionFactor:""==a.getIncomeInlineEditingDialogDetailsConversionFactor?null:a.getIncomeInlineEditingDialogDetailsConversionFactor,commissionPercent:""==a.getIncomeInlineEditingDialogDetailsCommissionPercent?null:a.getIncomeInlineEditingDialogDetailsCommissionPercent,listNumber:a.getIncomeInlineEditingDialogDetailsListNo},console.log(r),t.next=6,k$.saveEditForm(mG,s,r);case 6:l=t.sent,-1===l.error?(i("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_INCOME_SUCCESS_SAVED")}),n("fetchIncome")):i("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(errorMsg)?it.t(errorMsg):errorMsg});case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doFileImport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,e.dispatch,n=e.getters,"Income"===O$.currentRoute.name){t.next=3;break}return t.abrupt("return");case 3:i=n.getSelectedFileImport,s=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" fileType"+it.t("lang_GENERIC_CAPTION_FILE")+". <br />"+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),r="",null,"",l=i.text,o=(i.fileExtensions||i.mappings[0].fileFormat).replaceAll(";"," / "),s=it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_WANT_TO_UPLOAD")+" fileType. "+it.t("lang_GENERAL_IMPORT_DIALOG_TEXT_SELECT_FILE_TYPE"),r=s.replace(/fileType|<join>/gi,(function(t){return{fileType:l+it.t("lang_GENERIC_CAPTION_FILE"),"<join>":o}[t]})),a("setImportDialogText",r),a("setShowFileImportDialog",!0);case 14:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doIncomeAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,i=e.getters,s={alvIds:i.getSelectedIncome},t.t0=SG.selectedIncomeAction,t.next="runErrorLists"===t.t0?5:"downloadErrorList"===t.t0?7:"compareGemaBew"===t.t0?9:"move"===t.t0?11:"delete"===t.t0?13:15;break;case 5:return SG.selectedIncome.length>0?n("runErrorLists",{dir:mG,metaData:s,context:"Income"}):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 7:return SG.selectedIncome.length>0?n("downloadErrorLists",{dir:mG,metaData:s}):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 9:return 1===SG.selectedIncome.length?n("compareGemaBew",{dir:mG,metaData:s}):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 11:return SG.selectedIncome.length>0?a("setShowMoveContractsDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 13:return SG.selectedIncome.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedIncome:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(mG,i.getSelectedIncome);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getIncome.findIndex((function(e){return e.alvId==i.getSelectedIncome[t]}));n["default"].delete(i.getIncome,e)},o=0;o<i.getSelectedIncome.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedIncome",[]),a("setSelectedIncomeAction",[]),s("fetchIncome")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),moveSelectedIncome:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={alvIds:a.getSelectedIncome,company:a.getIncomeDetailsSelectedCompany},r={action:"move"},t.next=5,k$.triggerAction(mG,s,r);case 5:l=t.sent,-1===l.error&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_MOVED")}),n("setSelectedIncome",[]),n("setIsAllSelectedIncome",!1),n("setSelectedIncomeAction",[]),i("fetchIncome");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fixIt:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.dispatch,i=e.getters,s={error:i.getFixItErrorObject,newKto:i.getFixItDetailsYkto},r={action:"fixIt"},t.next=5,k$.triggerAction(mG,s,r);case 5:l=t.sent,-1===l.error&&a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_FIX_IT_APPLIED")}),a("setSelectedIncome",[]),a("setIsAllSelectedIncome",!1),a("setSelectedIncomeAction",[]),n("fetchIncome");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteFixItYkto:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a,"ktoExists=true");case 3:i=t.sent,n("setFixItYktoOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()},AG={state:SG,getters:EG,actions:CG,mutations:IG},TG="publishing/statements",bG={publishingStatements:[],selectedPublishingStatements:[],expandedPublishingStatements:[],isAllSelectedPublishingStatements:!1,publishingStatementsSearch:"",publishingStatementsServerSideSortingOptions:{sortBy:["licensor"],sortDesc:[!1],mustSort:!0},selectedPublishingStatementsReportOption:[],selectedPublishingStatementsAction:[],selectedPeriodValues:{number:null,timeUnit:null,year:null},runningPublishingStatementsPercentValues:[],isPublishingStatementsRunning:!1,publishingStatementsStatementPreviewDialogDetailsStatementPreviewDate:W$.dateToISOFormat(new Date),publishingStatementsStatementPreviewDialogCreatePdfCheckbox:!0,showPublishingStatemtensArchivingDialog:!1,publishingStatementsArchivingInProgress:!1,publishingStatementsDetails:{},selectedPublishingStatementsArchive:[],selectedPublishingStatementsForDeleteArchive:"",showPublishingStatementsRoyaltyControllingDialog:!1,publishingStatementsRoyaltyControllingDialogText:"",publishingStatementsRoyaltyControllingShowProgressbar:!1,publishingStatementsRoyaltyControllingProgressbarValue:null,publishingStatementsRoyaltyControllingPath:null,publishingStatementsRoyaltyControllingDialogPolling:null,publishingStatementsRoyaltyControllingInProcess:!1,showPublishingStatementsRoyaltyControllingDialogConfirmationButton:!1},PG={getPublishingStatements:function(t){return t.publishingStatements},getSelectedPublishingStatements:function(t){return t.selectedPublishingStatements},getIsAllSelectedPublishingStatements:function(t){return t.isAllSelectedPublishingStatements},getPublishingStatementsSearch:function(t){return t.publishingStatementsSearch},getPublishingStatementsServerSideSortingOptions:function(t){return t.publishingStatementsServerSideSortingOptions},getExpandedPublishingStatements:function(t){return t.expandedPublishingStatements},getSelectedPublishingStatementsReportOption:function(t){return t.selectedPublishingStatementsReportOption},getSelectedPublishingStatementsAction:function(t){return t.selectedPublishingStatementsAction},getPublishingStatementsStatementPreviewDialogDetailsStatementPreviewDate:function(t){return t.publishingStatementsStatementPreviewDialogDetailsStatementPreviewDate},getPublishingStatementsStatementPreviewDialogCreatePdfCheckbox:function(t){return t.publishingStatementsStatementPreviewDialogCreatePdfCheckbox},getShowPublishingStatemtensArchivingDialog:function(t){return t.showPublishingStatemtensArchivingDialog},getPublishingStatementsArchivingInProgress:function(t){return t.publishingStatementsArchivingInProgress},getPublishingStatementsDetails:function(t){return t.publishingStatementsDetails},getSelectedPublishingStatementsArchive:function(t){return t.selectedPublishingStatementsArchive},getSelectedPublishingStatementsForDeleteArchive:function(t){return t.selectedPublishingStatementsForDeleteArchive},getSelectedPeriodValuesPublishingStatements:function(t){return t.selectedPeriodValues},getSelectedPeriodNumberPublishingStatements:function(t){return t.selectedPeriodValues.number},getSelectedPeriodTimeUnitPublishingStatements:function(t){return t.selectedPeriodValues.timeUnit},getSelectedPeriodYearPublishingStatements:function(t){return t.selectedPeriodValues.year},getRunningPublishingStatementsPercentValues:function(t){return t.runningPublishingStatementsPercentValues},getIsPublishingStatementsRunning:function(t){return t.isPublishingStatementsRunning},getShowPublishingStatementsRoyaltyControllingDialog:function(t){return t.showPublishingStatementsRoyaltyControllingDialog},getPublishingStatementsRoyaltyControllingDialogText:function(t){return t.publishingStatementsRoyaltyControllingDialogText},getPublishingStatementsRoyaltyControllingShowProgressbar:function(t){return t.publishingStatementsRoyaltyControllingShowProgressbar},getPublishingStatementsRoyaltyControllingProgressbarValue:function(t){return t.publishingStatementsRoyaltyControllingProgressbarValue},getPublishingStatementsRoyaltyControllingPath:function(t){return t.publishingStatementsRoyaltyControllingPath},getPublishingStatementsRoyaltyControllingDialogPolling:function(t){return t.publishingStatementsRoyaltyControllingDialogPolling},getPublishingStatementsRoyaltyControllingInProcess:function(t){return t.publishingStatementsRoyaltyControllingInProcess},getShowPublishingStatementsRoyaltyControllingDialogConfirmationButton:function(t){return t.showPublishingStatementsRoyaltyControllingDialogConfirmationButton}},DG={setPublishingStatements:function(t,e){t.publishingStatements=e},setSelectedPublishingStatements:function(t,e){t.selectedPublishingStatements=e},setIsAllSelectedPublishingStatements:function(t,e){t.isAllSelectedPublishingStatements=e},setPublishingStatementsSearch:function(t,e){t.publishingStatementsSearch=e},setPublishingStatementsServerSideSortingOptions:function(t,e){t.publishingStatementsServerSideSortingOptions=e},setExpandedPublishingStatements:function(t,e){0===Object.keys(e).length?t.expandedPublishingStatements=[]:t.expandedPublishingStatements.push(e)},setSelectedPublishingStatementsReportOption:function(t,e){t.selectedPublishingStatementsReportOption=e},setSelectedPublishingStatementsAction:function(t,e){t.selectedPublishingStatementsAction=e},setPublishingStatementsStatementPreviewDialogDetailsStatementPreviewDate:function(t,e){t.publishingStatementsStatementPreviewDialogDetailsStatementPreviewDate=e},setPublishingStatementsStatementPreviewDialogCreatePdfCheckbox:function(t,e){t.publishingStatementsStatementPreviewDialogCreatePdfCheckbox=e},setShowPublishingStatemtensArchivingDialog:function(t,e){t.showPublishingStatemtensArchivingDialog=e},setPublishingStatementsArchivingInProgress:function(t,e){t.publishingStatementsArchivingInProgress=e},setPublishingStatementsDetails:function(t,e){t.publishingStatementsDetails=e},setSelectedPublishingStatementsArchive:function(t,e){t.selectedPublishingStatementsArchive=e},setSelectedPublishingStatementsForDeleteArchive:function(t,e){t.selectedPublishingStatementsForDeleteArchive=e},setSelectedPeriodValues:function(t,e){t.selectedPeriodValues=e},setSelectedPeriodNumberPublishingStatements:function(t,e){t.selectedPeriodValues.number=e},setSelectedPeriodTimeUnitPublishingStatements:function(t,e){t.selectedPeriodValues.timeUnit=e},setSelectedPeriodYearPublishingStatements:function(t,e){t.selectedPeriodValues.year=e},setRunningPublishingStatementsPercentValues:function(t,e){t.runningPublishingStatementsPercentValues=e},setIsPublishingStatementsRunning:function(t,e){t.isPublishingStatementsRunning=e},setShowPublishingStatementsRoyaltyControllingDialog:function(t,e){t.showPublishingStatementsRoyaltyControllingDialog=e},setPublishingStatementsRoyaltyControllingDialogText:function(t,e){t.publishingStatementsRoyaltyControllingDialogText=e},setPublishingStatementsRoyaltyControllingShowProgressbar:function(t,e){t.publishingStatementsRoyaltyControllingShowProgressbar=e},setPublishingStatementsRoyaltyControllingProgressbarValue:function(t,e){t.publishingStatementsRoyaltyControllingProgressbarValue=e},setPublishingStatementsRoyaltyControllingPath:function(t,e){t.publishingStatementsRoyaltyControllingPath=e},setPublishingStatementsRoyaltyControllingDialogPolling:function(t,e){t.publishingStatementsRoyaltyControllingDialogPolling=e},setPublishingStatementsRoyaltyControllingInProcess:function(t,e){t.publishingStatementsRoyaltyControllingInProcess=e},setShowPublishingStatementsRoyaltyControllingDialogConfirmationButton:function(t,e){t.showPublishingStatementsRoyaltyControllingDialogConfirmationButton=e}},NG={fetchPublishingStatements:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getPublishingStatementsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getPublishingStatementsServerSideSortingOptions,t.next=7,k$.getListData2(TG,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingStatements",[])):a("setPublishingStatements",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingStatementsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getDetailsById(TG,a);case 3:s=t.sent,void 0===s||0===s.length||1===s.error?(s={},n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"})):i=s,n("setPublishingStatementsDetails",i),n("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),doPublishingStatementsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=n.getSelectedPublishingStatements,0!==i.length){t.next=7;break}a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0),t.next=28;break;case 7:s=n.getSelectedPeriodTimeUnitPublishingStatements,r=n.getSelectedPeriodNumberPublishingStatements,l=n.getSelectedPeriodYearPublishingStatements,o="year"===s&&""!==l&&void 0!==l&&null!==l?s+","+l:"month"!==s&&"quarter"!==s&&"halfyear"!==s||""===r||void 0===r||null===r||""===l||void 0===l||null===l?null:r+","+s+","+l,t.t0=n.getSelectedPublishingStatementsAction,t.next="launchStatementRun"===t.t0?14:"archiveWithForwarded"===t.t0||"archiveWithoutForwarded"===t.t0?16:"bulkDownload"===t.t0?18:28;break;case 14:return null!==o?(a("setIsPublishingStatementsRunning",!1),bG.runningPublishingStatementsPercentValues=[],a("setShowStatementPreviewDialog",!0)):a("setShowPeriodRequiredDialog",!0),t.abrupt("break",28);case 16:return a("setShowPublishingStatemtensArchivingDialog",!0),t.abrupt("break",28);case 18:if(null===o){t.next=26;break}return t.next=21,k$.triggerAction(TG,i,{action:"bulkDownload",period:o});case 21:c=t.sent,k$.getFileFromALV(c.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}),t.next=27;break;case 26:a("setShowPeriodRequiredDialog",!0);case 27:return t.abrupt("break",28);case 28:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),archivePublishingStatements:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.dispatch,i=e.commit,s=a.getSelectedPublishingStatements,r={alvIds:s,tags:{add:a.getAddTag,remove:null}},l={action:a.getSelectedPublishingStatementsAction},i("setPublishingStatementsArchivingInProgress",!0),t.next=7,k$.triggerAction(TG,r,l);case 7:o=t.sent,-1===o.error?i("setSnackbar",{type:"success",msg:it.t("lang_LABEL_STATEMTENS_SNACKBAR_ARCHIVING_SUCCESSFULL")}):i("setSnackbar",{type:"error",msg:it.t("lang_LABEL_STATEMTENS_SNACKBAR_ARCHIVING_NOT_SUCCESSFULL")}),i("setExpandedPublishingStatements",[]),i("setSelectedPublishingStatements",[]),i("setSelectedPublishingStatementsAction",[]),i("setIsAllSelectedPublishingStatements",!1),i("setPublishingStatementsArchivingInProgress",!1),i("setShowPublishingStatemtensArchivingDialog",!1),n("fetchPublishingStatements");case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingStatementsArchive:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,t.next=3,k$.deleteEntries(TG,[a.getSelectedPublishingStatementsArchive.alvId]);case 3:if(s=t.sent,-1!==s.error){t.next=8;break}return t.next=7,i("fetchPublishingStatementsDetails",a.getSelectedPublishingStatementsForDeleteArchive);case 7:i("fetchPublishingStatements");case 8:r=a.getExpandedPublishingStatements.findIndex((function(t){return t.alvId===a.getSelectedPublishingStatementsForDeleteArchive})),a.getExpandedPublishingStatements.splice(r,1),n("setExpandedPublishingStatements",a.getPublishingStatementsDetails),n("setSelectedPublishingStatementsArchive",[]);case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),publishingStatemtensRoyaltyControlling:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getPublishingStatementsRoyaltyControllingDialogPolling,r=n.getSelectedPeriodTimeUnitPublishingStatements,l=n.getSelectedPeriodNumberPublishingStatements,o=n.getSelectedPeriodYearPublishingStatements,c="",c+="year"===r?r+","+o:l+","+r+","+o,u={action:"royaltyControlling",period:c},t.next=10,k$.triggerAction(TG,[],u);case 10:if(d=t.sent,a("setShowPublishingStatementsRoyaltyControllingDialog",!1),1!==d.error){t.next=19;break}g=d.response.errorMsg,a("setShowPublishingStatementsRoyaltyControllingDialog",!0),a("setPublishingStatementsRoyaltyControllingDialogText",this._vm.$alvPlugin.isLangConst(g)?it.t(g):g),a("setPublishingStatementsRoyaltyControllingInProcess",!1),t.next=23;break;case 19:return t.next=21,i("processPublishingStatementsRoyaltyControlling",{processId:d.processId,polling:s});case 21:p=t.sent,"running"===p.status&&(s=setInterval((function(){i("processPublishingStatementsRoyaltyControlling",{processId:d.processId,polling:s})}),3e3));case 23:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),processPublishingStatementsRoyaltyControlling:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getProgressOfProcess(a.processId,a.polling).then((function(t){return t}));case 3:return i=t.sent,n("setPublishingStatementsRoyaltyControllingProgressbarValue",i.percent),"finished"===i.status&&(n("setPublishingStatementsRoyaltyControllingPath",i.path),n("setShowPublishingStatementsRoyaltyControllingDialog",!1),n("setPublishingStatementsRoyaltyControllingInProcess",!1),n("setPublishingStatementsRoyaltyControllingProgressbarValue",null),clearInterval(a.polling),1===i.error&&(n("setShowPublishingStatementsRoyaltyControllingDialog",!0),n("setPublishingStatementsRoyaltyControllingDialogText",i.errorMsg),n("setPublishingStatementsRoyaltyControllingInProcess",!1),n("setPublishingStatementsRoyaltyControllingProgressbarValue",null))),t.abrupt("return",i);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()},RG={state:bG,getters:PG,actions:NG,mutations:DG},xG="publishing/tracking",OG={setlists:[],selectedSetlists:[],selectedSetlistsAction:"",prolists:[],selectedProlists:[],selectedProlistsAction:"",selectedUploadYear:(new Date).getFullYear(),myMapping:[],selectedMyMapping:[],myMappingEmptyRow:{prolistsPhrase:"",myPhrase:"",art:"",editable:!0,new:!0}},wG={getSetlists:function(t){return t.setlists},getSelectedSetlists:function(t){return t.selectedSetlists},getSelectedSetlistsAction:function(t){return t.selectedSetlistsAction},getProlists:function(t){return t.prolists},getSelectedProlists:function(t){return t.selectedProlists},getSelectedProlistsAction:function(t){return t.selectedProlistsAction},getSelectedUploadYear:function(t){return t.selectedUploadYear},getMyMapping:function(t){return t.myMapping},getSelectedMyMapping:function(t){return t.selectedMyMapping},getMyMappingEmptyRow:function(t){return t.myMappingEmptyRow}},LG={setSetlists:function(t,e){t.setlists=e},setSelectedSetlists:function(t,e){t.selectedSetlists=e},setSelectedSetlistsAction:function(t,e){t.selectedSetlistsAction=e},setProlists:function(t,e){t.prolists=e},setSelectedProlists:function(t,e){t.selectedProlists=e},setSelectedProlistsAction:function(t,e){t.selectedProlistsAction=e},setSelectedUploadYear:function(t,e){t.selectedUploadYear=e},setProlistsTempRow:function(t,e){var a=t.prolists.findIndex((function(t){return t.id==e.id})),n=JSON.parse(JSON.stringify(e));t.prolists[a]["oldValues"]=n},deleteProlistsTempRow:function(t,e){var a=t.prolists.findIndex((function(t){return t.id==e.id}));delete t.prolists[a]["oldValues"]},replaceNewProlistsValuesWithOld:function(t,e){var a=t.prolists.findIndex((function(t){return t.id==e.id})),i=JSON.parse(JSON.stringify(t.prolists[a]["oldValues"]));n["default"].set(t.prolists,a,i)},setMyMapping:function(t,e){t.myMapping=e},setSelectedMyMapping:function(t,e){t.selectedMyMapping=e},setMyMappingTempRow:function(t,e){var a=t.myMapping.findIndex((function(t){return t.id==e.id})),n=JSON.parse(JSON.stringify(e));t.myMapping[a]["oldValues"]=n},deleteMyMappingTempRow:function(t,e){var a=t.myMapping.findIndex((function(t){return t.id==e.id}));delete t.myMapping[a]["oldValues"]},replaceNewMyMappingValuesWithOld:function(t,e){var a=t.myMapping.findIndex((function(t){return t.id==e.id})),i=JSON.parse(JSON.stringify(t.myMapping[a]["oldValues"]));i.editable=!1,n["default"].set(t.myMapping,a,i)}},yG={fetchSetlists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getListData(xG+"/setlists");case 3:n=t.sent,a("setIsLoading",!1),void 0!==n&&0!==n.length&&1!==n.error||(n=[],a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")),a("setSetlists",n);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchProlists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getListData(xG+"/prolists");case 3:n=t.sent,a("setIsLoading",!1),void 0!==n&&0!==n.length&&1!==n.error||(n=[],a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")),n.forEach((function(t){t["editable"]=!1,t["yearError"]=!1})),a("setProlists",n);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteProlists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,i=e.getters,s=i.getProlists.findIndex((function(t){return t.id===i.getSelectedProlists[0]})),n["default"].delete(i.getProlists,s),0==i.getProlists.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_TRACKING_PROLISTS_SNACKBAR_DELETION")}),a("setSelectedProlists",[]);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveProlists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.dispatch,i=e.commit,t.next=3,k$.saveDataTables(xG+"/prolists",a.getProlists);case 3:s=t.sent,void 0===s||0===s.length||1===s.error?i("setSnackbar",{type:"error",msg:it.t("lang_PUBLISHING_TRACKING_PROLISTS_SNACKBAR_SAVE_FAILED")}):(i("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_TRACKING_PROLISTS_SNACKBAR_SAVE_SUCCESSFULLY")}),n("fetchProlists"));case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchMyMapping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getListData(xG+"/mapping");case 3:n=t.sent,a("setIsLoading",!1),void 0!==n&&0!==n.length&&1!==n.error||(n=[],a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")),n.forEach((function(t){t["editable"]=!1})),a("setMyMapping",n);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveMyMappingRow:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.dispatch,!a.new){t.next=7;break}return t.next=4,k$.saveDataTableRow("publishing/tracking/mapping","addMapping",a);case 4:s=t.sent,t.next=10;break;case 7:return t.next=9,k$.saveDataTableRow("publishing/tracking/mapping","updateMapping",a,a.id);case 9:s=t.sent;case 10:void 0===s||0===s.length||1===s.error?(s=[],n("setSnackbar",{type:"error",msg:"Could not save mapping."})):(n("setSnackbar",{type:"success",msg:"Mapping saved."}),a.editable=!1,i("fetchMyMapping"));case 11:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),addNewRowMyMapping:function(t){var e=t.commit,a=t.getters,n=a.getMyMapping,i=JSON.parse(JSON.stringify(a.getMyMappingEmptyRow));i.id=-(1e3+Math.floor(123*Math.random())),n.push(i),e("setMyMapping",n)},deleteMyMapping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=e.getters,s=e.commit,-1===response.error&&(r=i.getSelectedMyMapping[0],l=i.getMyMapping.findIndex((function(t){return t.id==r})),n["default"].delete(OG.myMapping,l)),s("setSelectedMyMapping",[]);case 3:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()},qG={state:OG,getters:wG,actions:yG,mutations:LG},kG="publishing/statistics",BG={publishingStatistics:[],publishingStatisticsSearch:"",selectedPublishingStatisticsRows:"works",selectedPublishingStatisticsColumnTitles:"period",selectedPublishingStatisticsOutputType:"amount",selectedPublishingStatisticsFromQuarter:1,selectedPublishingStatisticsToQuarter:4,selectedPublishingStatisticsFromYear:(new Date).getFullYear()-1,selectedPublishingStatisticsToYear:(new Date).getFullYear()-1,selectedPublishingStatisticsTypeOfRights:[10,11,12,13,14,15,16,17,18,19,20,25,26,27,28,29,30,40,"D2","DK","E1","E2","E7","E8","K1","K2","R1","R2","R5","R6","T1","T2","T3","T4","T7","U1","U2","U8","Synch Inland","Synch Ausland","Abdruckgenehmigung","Notenverkauf","Bearbeitung","Grosses Recht","AR","MR"]},$G={getPublishingStatistics:function(t){return t.publishingStatistics},getPublishingStatisticsSearch:function(t){return t.publishingStatisticsSearch},getSelectedPublishingStatisticsRows:function(t){return t.selectedPublishingStatisticsRows},getSelectedPublishingStatisticsColumnTitles:function(t){return t.selectedPublishingStatisticsColumnTitles},getSelectedPublishingStatisticsOutputType:function(t){return t.selectedPublishingStatisticsOutputType},getSelectedPublishingStatisticsFromQuarter:function(t){return t.selectedPublishingStatisticsFromQuarter},getSelectedPublishingStatisticsToQuarter:function(t){return t.selectedPublishingStatisticsToQuarter},getSelectedPublishingStatisticsFromYear:function(t){return t.selectedPublishingStatisticsFromYear},getSelectedPublishingStatisticsToYear:function(t){return t.selectedPublishingStatisticsToYear},getSelectedPublishingStatisticsTypeOfRights:function(t){return t.selectedPublishingStatisticsTypeOfRights}},GG={setPublishingStatistics:function(t,e){t.publishingStatistics=e},setPublishingStatisticsSearch:function(t,e){t.publishingStatisticsSearch=e},setSelectedPublishingStatisticsRows:function(t,e){t.selectedPublishingStatisticsRows=e},setSelectedPublishingStatisticsColumnTitles:function(t,e){t.selectedPublishingStatisticsColumnTitles=e},setSelectedPublishingStatisticsOutputType:function(t,e){t.selectedPublishingStatisticsOutputType=e},setSelectedPublishingStatisticsFromQuarter:function(t,e){t.selectedPublishingStatisticsFromQuarter=e},setSelectedPublishingStatisticsToQuarter:function(t,e){t.selectedPublishingStatisticsToQuarter=e},setSelectedPublishingStatisticsFromYear:function(t,e){t.selectedPublishingStatisticsFromYear=e},setSelectedPublishingStatisticsToYear:function(t,e){t.selectedPublishingStatisticsToYear=e},setSelectedPublishingStatisticsTypeOfRights:function(t,e){t.selectedPublishingStatisticsTypeOfRights=e}},FG={fetchPublishingStatistics:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={fromQuarter:n.getSelectedPublishingStatisticsFromQuarter,toQuarter:n.getSelectedPublishingStatisticsToQuarter,fromYear:n.getSelectedPublishingStatisticsFromYear,toYear:n.getSelectedPublishingStatisticsToYear,typeOfRights:n.getSelectedPublishingStatisticsTypeOfRights},""!==n.getPublishingStatisticsSearch&&(i["search"]=n.getPublishingStatisticsSearch),s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=7,k$.getListData(kG,n.getCurrentPage,s);case 7:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingStatistics",[])):a("setPublishingStatistics",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),publishingStatisticsExportExcel:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"export",type:"excel"},s={fromQuarter:a.getSelectedPublishingStatisticsFromQuarter,toQuarter:a.getSelectedPublishingStatisticsToQuarter,fromYear:a.getSelectedPublishingStatisticsFromYear,toYear:a.getSelectedPublishingStatisticsToYear,typeOfRights:a.getSelectedPublishingStatisticsTypeOfRights,rows:a.getSelectedPublishingStatisticsRows,columnTitles:a.getSelectedPublishingStatisticsColumnTitles,outputType:a.getSelectedPublishingStatisticsOutputType,search:a.getPublishingStatisticsSearch},t.next=5,k$.triggerAction(kG,s,i);case 5:r=t.sent,-1===r.error?(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):n("setSnackbar",{type:"error",msg:it.t(r.response.errorMsg)});case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},UG={state:BG,getters:$G,actions:FG,mutations:GG},MG="label/tracks",WG={id:0,alvId:"ALV000000000LT",title:null,trackName2:null,trackName3:null,trackName4:null,trackName5:null,artist:null,isrc:null,isrc2:null,isrc3:null,isrc4:null,country:null,year:null,otherCode:null,tags:null,notes:null,duration:null,initialDate:null,copyright:null,classicalWork:null,language:null,labelId:null,explicit:"no",live:"no",instrumental:"no",work:null},jG={id:0,artist:null,role:null,primary:"no"},zG={tracks:[],selectedTracks:[],isAllSelectedTracks:!1,tracksSearch:"",selectedTracksAction:[],selectedTracksLabelsFilter:[],selectedTracksQualityFilter:[],contractsForTracksSearch:"",selectedContractsForTracks:[],defaultNewTrack:WG,trackUniqueId:"",expandedTracks:[],trackDetails:{},trackDetailsConnectedWork:null,trackDetailsConnectedArtist:null,releasesDropdown:[],labelsDropdown:[],worksForTracksSearch:"",selectedWorksForTracks:[],artistForTracksSearch:"",totalListedConnectArtistToTrackDialog:0,totalRecordsConnectArtistToTrackDialog:0,selectedArtistForTracks:[],labelTracksDetailsSelectedAzTypeForArtist:null,trackContracts:[],tracksArtists:[],tracksArtistsArtistOptions:[],showTracksArtistsEditingDialog:!1,defaultTracksArtists:jG,tracksArtistsEditingDialogDetails:jG,selectedTracksArtists:[],tracksMedia:[],tracksMediaCheckbox:[],selectedReleaseId:null},HG={getTracks:function(t){return t.tracks},getSelectedTracks:function(t){return t.selectedTracks},getIsAllSelectedTracks:function(t){return t.isAllSelectedTracks},getTracksSearch:function(t){return t.tracksSearch},getSelectedTracksAction:function(t){return t.selectedTracksAction},getSelectedTracksLabelsFilter:function(t){return t.selectedTracksLabelsFilter},getSelectedTracksQualityFilter:function(t){return t.selectedTracksQualityFilter},getContractsForTracksSearch:function(t){return t.contractsForTracksSearch},getSelectedContractsForTracks:function(t){return t.selectedContractsForTracks},getDefaultNewTrack:function(t){return t.defaultNewTrack},getTracksUniqueId:function(t){return t.trackUniqueId},getExpandedTracks:function(t){return t.expandedTracks},getTracksDetails:function(t){return t.trackDetails},getTrackDetailsAlvId:function(t){return t.trackDetails.alvId},getReleasesDropdown:function(t){return t.releasesDropdown},getLabelsDropdown:function(t){return t.labelsDropdown},getWorksForTracksSearch:function(t){return t.worksForTracksSearch},getSelectedWorksForTracks:function(t){return t.selectedWorksForTracks},getArtistForTracksSearch:function(t){return t.artistForTracksSearch},getSelectedArtistForTracks:function(t){return t.selectedArtistForTracks},getLabelTracksDetailsSelectedAzTypeForArtist:function(t){return t.labelTracksDetailsSelectedAzTypeForArtist},getTotalListedConnectArtistToTrackDialog:function(t){return t.totalListedConnectArtistToTrackDialog},getTotalRecordsConnectArtistToTrackDialog:function(t){return t.totalRecordsConnectArtistToTrackDialog},getTrackDetailsTrackTitle:function(t){return t.trackDetails.title},getTrackDetailsSelectedLanguageId:function(t){return t.trackDetails.language},getTrackDetailsVersion:function(t){return t.trackDetails.version},getTrackDetailsTrackName2:function(t){return t.trackDetails.trackName2},getTrackDetailsTrackName3:function(t){return t.trackDetails.trackName3},getTrackDetailsTrackName4:function(t){return t.trackDetails.trackName4},getTrackDetailsArtist:function(t){return t.trackDetails.artist},getTrackDetailsISRC:function(t){return t.trackDetails.isrc},getTrackDetailsISRC2:function(t){return t.trackDetails.isrc2},getTrackDetailsISRC3:function(t){return t.trackDetails.isrc3},getTrackDetailsISRC4:function(t){return t.trackDetails.isrc4},getTrackDetailsCountry:function(t){return t.trackDetails.country},getSelectedTrackYear:function(t){return t.trackDetails.year},getTrackDetailsOtherCode:function(t){return t.trackDetails.otherCode},getTrackDetailsTags:function(t){return t.trackDetails.tags},getTrackDetailsNotes:function(t){return t.trackDetails.notes},getTrackDetailsWork:function(t){return t.trackDetails.work},getTrackDetailsDuration:function(t){return t.trackDetails.duration},getTrackDetailsInitialDate:function(t){return t.trackDetails.initialDate},getTrackDetailsCopyright:function(t){return t.trackDetails.copyright},getTrackDetailsClassicalWork:function(t){return t.trackDetails.classicalWork},getTrackDetailsReleases:function(t){return t.trackDetails.releases},getTrackDetailsSelectedReleaseId:function(t){return t.selectedReleaseId},getTrackDetailsSelectedLabelId:function(t){return t.trackDetails.labelId},getTrackDetailsExplicit:function(t){return t.trackDetails.explicit},getTrackDetailsLive:function(t){return t.trackDetails.live},getTrackDetailsInstrumental:function(t){return t.trackDetails.instrumental},getTrackDetailsConnectedWork:function(t){return t.trackDetailsConnectedWork},getTrackDetailsConnectedArtist:function(t){return t.trackDetailsConnectedArtist},getTrackContracts:function(t){return t.trackContracts},getTracksArtists:function(t){return t.tracksArtists},getTracksArtistsArtistOptions:function(t){return t.tracksArtistsArtistOptions},getShowTracksArtistsEditingDialog:function(t){return t.showTracksArtistsEditingDialog},getDefaultTracksArtists:function(t){return t.defaultTracksArtists},getTracksArtistsEditingDialogDetails:function(t){return t.tracksArtistsEditingDialogDetails},getTracksArtistsDetailsArtist:function(t){return t.tracksArtistsEditingDialogDetails.artist},getTracksArtistsDetailsRole:function(t){return t.tracksArtistsEditingDialogDetails.role},getTracksArtistsDetailsPrimary:function(t){return t.tracksArtistsEditingDialogDetails.primary},getSelectedTracksArtists:function(t){return t.selectedTracksArtists},getTracksMedia:function(t){return t.tracksMedia},getTracksMediaCheckbox:function(t){return t.tracksMediaCheckbox}},VG=(L$={setTracks:function(t,e){t.tracks=e},setSelectedTracks:function(t,e){t.selectedTracks=e},setIsAllSelectedTracks:function(t,e){t.isAllSelectedTracks=e},setTracksSearch:function(t,e){t.tracksSearch=e},setSelectedTracksAction:function(t,e){t.selectedTracksAction=e},setSelectedTracksLabelsFilter:function(t,e){t.selectedTracksLabelsFilter=e},setSelectedTracksQualityFilter:function(t,e){t.selectedTracksQualityFilter=e},setContractsForTracksSearch:function(t,e){t.contractsForTracksSearch=e},setSelectedContractsForTracks:function(t,e){t.selectedContractsForTracks=e},setDefaultNewTrack:function(t){t.defaultNewTrack=WG},setTracksUniqueId:function(t,e){t.trackUniqueId=e},setExpandedTracks:function(t,e){0===Object.keys(e).length?t.expandedTracks=[]:t.expandedTracks.push(e)},setTracksDetails:function(t,e){t.trackDetails=e},setReleasesDropdown:function(t,e){t.releasesDropdown=e},setLabelsDropdown:function(t,e){t.labelsDropdown=e},setWorksForTracksSearch:function(t,e){t.worksForTracksSearch=e},setSelectedWorksForTracks:function(t,e){t.selectedWorksForTracks=e},setArtistForTracksSearch:function(t,e){t.artistForTracksSearch=e},setSelectedArtistForTracks:function(t,e){t.selectedArtistForTracks=e},setLabelTracksDetailsSelectedAzTypeForArtist:function(t,e){t.labelTracksDetailsSelectedAzTypeForArtist=e},setTotalListedConnectArtistToTrackDialog:function(t,e){t.totalListedConnectArtistToTrackDialog=e},setTotalRecordsConnectArtistToTrackDialog:function(t,e){t.totalRecordsConnectArtistToTrackDialog=e},setTrackDetailsAlvId:function(t,e){t.trackDetails.alvId=e},setTrackDetailsTrackTitle:function(t,e){t.trackDetails.title=e},setTrackDetailsSelectedLanguageId:function(t,e){t.trackDetails.language=e},setTrackDetailsVersion:function(t,e){t.trackDetails.version=e},setTrackDetailsTrackName2:function(t,e){t.trackDetails.trackName2=e},setTrackDetailsTrackName3:function(t,e){t.trackDetails.trackName3=e},setTrackDetailsTrackName4:function(t,e){t.trackDetails.trackName4=e},setTrackDetailsArtist:function(t,e){t.trackDetails.artist=e},setTrackDetailsISRC:function(t,e){t.trackDetails.isrc=null==e?e:e.trim()},setTrackDetailsISRC2:function(t,e){t.trackDetails.isrc2=null==e?e:e.trim()},setTrackDetailsISRC3:function(t,e){t.trackDetails.isrc3=null==e?e:e.trim()},setTrackDetailsISRC4:function(t,e){t.trackDetails.isrc4=e},setSelectedTrackYear:function(t,e){t.trackDetails.year=e},setTrackDetailsCountry:function(t,e){t.trackDetails.country=e||null},setTrackDetailsOtherCode:function(t,e){t.trackDetails.otherCode=e},setTrackDetailsTags:function(t,e){t.trackDetails.tags=e},setTrackDetailsNotes:function(t,e){t.trackDetails.notes=e},setTrackDetailsWork:function(t,e){t.trackDetails.work=e},setTrackDetailsDuration:function(t,e){t.trackDetails.duration=e},setTrackDetailsInitialDate:function(t,e){t.trackDetails.initialDate=e},setTrackDetailsCopyright:function(t,e){t.trackDetails.copyright=e},setTrackDetailsClassicalWork:function(t,e){t.trackDetails.classicalWork=e},setTrackDetailsReleases:function(t,e){t.trackDetails.releases=e},setTrackDetailsSelectedReleaseId:function(t,e){t.selectedReleaseId=e},setTrackDetailsSelectedLabelId:function(t,e){t.trackDetails.labelId=e},setTrackDetailsExplicit:function(t,e){t.trackDetails.explicit=e},setTrackDetailsLive:function(t,e){t.trackDetails.live=e},setTrackDetailsInstrumental:function(t,e){t.trackDetails.instrumental=e}},Object(c["a"])(L$,"setTrackDetailsSelectedLabelId",(function(t,e){t.trackDetails.labelId=e})),Object(c["a"])(L$,"setTrackDetailsConnectedWork",(function(t,e){t.trackDetailsConnectedWork=e})),Object(c["a"])(L$,"setTrackDetailsConnectedArtist",(function(t,e){t.trackDetailsConnectedArtist=e})),Object(c["a"])(L$,"setTrackContracts",(function(t,e){t.trackContracts=e})),Object(c["a"])(L$,"setTracksArtists",(function(t,e){t.tracksArtists=e})),Object(c["a"])(L$,"setTracksArtistsArtistOptions",(function(t,e){t.tracksArtistsArtistOptions=e})),Object(c["a"])(L$,"setShowTracksArtistsEditingDialog",(function(t,e){t.showTracksArtistsEditingDialog=e})),Object(c["a"])(L$,"setDefaultTracksArtists",(function(t){t.defaultTracksArtists=jG})),Object(c["a"])(L$,"setTracksArtistsEditingDialogDetails",(function(t,e){t.tracksArtistsEditingDialogDetails=e})),Object(c["a"])(L$,"setTracksArtistsDetailsArtist",(function(t,e){t.tracksArtistsEditingDialogDetails.artist=e})),Object(c["a"])(L$,"setTracksArtistsDetailsRole",(function(t,e){t.tracksArtistsEditingDialogDetails.role=e})),Object(c["a"])(L$,"setTracksArtistsDetailsPrimary",(function(t,e){t.tracksArtistsEditingDialogDetails.primary=e})),Object(c["a"])(L$,"setSelectedTracksArtists",(function(t,e){t.selectedTracksArtists=e})),Object(c["a"])(L$,"setTracksMedia",(function(t,e){t.tracksMedia=e})),Object(c["a"])(L$,"setTracksMediaCheckbox",(function(t,e){t.tracksMediaCheckbox=e})),L$),YG={fetchTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getTracksSearch,labelId:n.getSelectedTracksLabelsFilter,quality:n.getSelectedTracksQualityFilter},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(MG,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setTracks",[])):(r.list.forEach((function(t){t["isPlaying"]=!1})),a("setTracks",r.list)),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTracksDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=7;break}r=JSON.parse(JSON.stringify(i.getDefaultNewTrack)),n("setDefaultTracksArtists"),n("setTracksMedia",[]),t.next=11;break;case 7:return t.next=9,k$.getDetailsById(MG,a);case 9:l=t.sent,void 0===l||0===l.length||1===l.error?r={}:(r=l,r["duration"]=this._vm.$alvPlugin.transformSecondsToDuration(r["duration"]));case 11:n("setTracksDetails",r),s("fetchTrackLabels"),s("fetchTracksReleases"),s("fetchTracksArtists"),n("setTrackDetailsConnectedWork",null),n("setTrackDetailsConnectedArtist",null),"new"!==a&&(null!==r.language&&(r.language=r.language.toLowerCase()),null!==r.work&&n("setTrackDetailsConnectedWork",r.work.title),o=this._vm.$alvPlugin.getArtistOrPerformerName(r.artist),n("setTrackDetailsConnectedArtist",o),s("fetchTracksMedia")),n("setIsLoading",!1);case 19:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchTrackLabels:function(t){var e=t.getters,a=t.commit;a("setLabelCompanies");var n=[],i=[];e.getLabelCompanies.forEach((function(t){null!=t.labels&&(n=n.concat(t.labels))})),n.forEach((function(t){i.push({value:parseInt(t.id),text:t.name_alv,alvId:t.alvId})})),void 0!==i&&0!==i.length&&1!==i.error||(i=[]),a("setLabelsDropdown",i)},fetchTracksReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=n.getTrackDetailsAlvId,"ALV000000000LT"!==i){t.next=6;break}s=[],t.next=10;break;case 6:return t.next=8,k$.getSpecificDropdownValues(MG,i,"releases");case 8:s=t.sent,void 0===s||0===s.length||1===s.error?s=[]:a("setTrackDetailsSelectedReleaseId",s[0]["value"]);case 10:a("setReleasesDropdown",s);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTrackContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getTracksDetails.contracts,a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setTrackContracts",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTracksArtists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getTracksDetails.artists,void 0===i||null===i?i=[]:0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setTracksArtists",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteTracksArtistsArtist:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setTracksArtistsArtistOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedTracksArtists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedTracksArtists,r=a.getTracksArtists.findIndex((function(t){return t.id===s.id})),l=a.getTracksArtists.length,n["default"].delete(a.getTracksArtists,r),o=a.getTracksArtists.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_ARTIST_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_ARTIST_NOT_SUCCESSFUL")}),i("setSelectedTracksArtists",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTracksMedia:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getTrackDetailsAlvId,t.next=5,k$.getListData(MG+"/"+i+"/media");case 5:s=t.sent,void 0===s||null===s?s=[]:0===s.length?a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"):s.forEach((function(t){t["isPlaying"]=!1})),a("setTracksMedia",s),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteWorkTrackConnection:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,a("setTrackDetailsConnectedWork",null),a("setTrackDetailsWork",null);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchWorksForTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getWorksForTracksSearch,t.next=4,k$.getListData("publishing/works","1",n);case 4:return i=t.sent,t.abrupt("return",i.list);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addWorksToTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getSelectedWorksForTracks,delete i[0]["rowId"],s=a.getTracksDetails,s.work=i[0],n("setTrackDetailsConnectedWork",s.work.title);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteArtistTrackConnection:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,a("setTrackDetailsConnectedArtist",null),a("setTrackDetailsArtist",null);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchArtistForTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i="search="+a.getArtistForTracksSearch+"&type=artist&azType=persons,groups",t.next=4,k$.getListData("az","1",i);case 4:return s=t.sent,n("setTotalListedConnectArtistToTrackDialog",s.filteredRecords),n("setTotalRecordsConnectArtistToTrackDialog",s.totalRecords),t.abrupt("return",s.list);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addArtistToTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getSelectedArtistForTracks[0],s=a.getTracksDetails,s.artist=i,r=this._vm.$alvPlugin.showNameOfAzEntry(s.artist),n("setTrackDetailsConnectedArtist",r),n("setTrackDetailsArtist",s.artist);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),saveTracksForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getTrackDetailsAlvId,r=n.getTracksDetails,r["artists"]=n.getTracksArtists,r["media"]=n.getTracksMedia,l="new"==O$.currentRoute.params.alvId,t.next=8,k$.saveEditForm(MG,s,r,l);case 8:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=14;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),t.next=18;break;case 14:return a("setSnackbar",{type:"success",msg:it.t("lang_LABEL_TRACK_SNACKBAR_TRACK_SAVED")}),l&&O$.push({name:"TracksEdit",params:{alvId:o.response.alvId}}),t.next=18,i("fetchTracksDetails",o.response.alvId);case 18:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doTracksAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,t.t0=zG.selectedTracksAction,t.next="delete"===t.t0?4:"labelcopy"===t.t0?6:"replaceTags"===t.t0?8:"addContract"===t.t0?10:"copy"===t.t0?12:15;break;case 4:return zG.selectedTracks.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 6:return zG.selectedTracks.length>0?n("trackLabelCopy"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 8:return zG.selectedTracks.length>0?(a("setExpandedTracks",[]),a("setShowManageTagsDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 10:return zG.selectedTracks.length>0?(a("setSelectedTracksAction",[]),a("setExpandedTracks",[]),a("setShowSearchDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 12:return(zG.selectedTracks.length>1||0===zG.selectedTracks.length)&&(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),1===zG.selectedTracks.length&&n("copyTrack"),t.abrupt("break",15);case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(MG,i.getSelectedTracks);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getTracks.findIndex((function(e){return e.alvId==i.getSelectedTracks[t]}));n["default"].delete(i.getTracks,e)},o=0;o<i.getSelectedTracks.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedTracks",[]),a("setIsAllSelectedTracks",!1),a("setSelectedTracksAction",[]),s("fetchTracks")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),trackLabelCopy:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i={action:"trackLabelCopy"},s={trackIds:n.getSelectedTracks},t.next=5,k$.triggerAction(MG,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),addContractsToTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={trackIds:a.getSelectedTracks,contractIds:a.getSelectedContractsForTracks},t.next=4,k$.addContracts(MG,i);case 4:s=t.sent,-1===s.error?n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_ADDED_SUCCESSFULLY")}):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchContractsForTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getContractsForTracksSearch+"&trackIds="+a.getSelectedTracks.join(","),t.next=4,k$.getListData("contracts/label","1",n);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyTrack:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"copy"},r={alvIds:a.getSelectedTracks},t.next=5,k$.triggerAction(MG,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchTracks")):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteLabelTracksMediaFile:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,s=e.dispatch,r=n.getTrackDetailsAlvId,t.next=4,k$.deleteFile(MG+"/"+r,"?deleteMedia",{media:a});case 4:l=t.sent,-1===l.error?(s("fetchTracksMedia"),i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):(o=l.response.errorMsg,void 0!==o&&i("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 6:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}()},KG={state:zG,getters:HG,actions:YG,mutations:VG},ZG="label/releases",XG={id:0,alvId:"ALV000000000LR",name:null,cover:!1,performer:null,gemaReleaseType:null,mediaType:null,genre1:null,genre2:null,genre3:null,notes:null,ean:null,catalogueNumber:null,otherId:null,gemaCatalogueNumber:null,gemaRegistrationNumbers:null,gemaLtnNumber:null,cNotice:null,pNotice:null,labelId:null,minimumStock:null,numberOfDiscs:1,volume:null,weight:null,hscode:null,dateRetail:null,dateDigital:null,datePreRelease:null,conductor:null,musicians:null,priceCategory:null,selectedPricelist:null,language:null,tracks:null,tracksNumber:0,compilationTracks:null,compilationLicenseeId:null,noGema:"yes",tags:null,favourites:"no",tracksOnRelease:[],artists:[],budget:[],costs:[]},JG={id:0,artist:null,role:null,primary:"no",addToTracks:null},QG={id:0,description:null,type:null,language:null},tF={amount:null,billable:"no",costGroup:null,country:null,date:null,description:null,documentNumber:null,id:0,paidOn:null,recipient:null},eF={amount:null,budgetGroup:null,country:null,description:null,id:0,quantity:null,scheduledMonth:null},aF={digitalRelease:null,id:0,selected:"no",status:null},nF={date:null,recipient:null,documentNumber:null,amount:null,costGroup:"manufacturing",country:null,id:0,release:null,description:null,share:null,proRataAmount:null},iF={labelReleases:[],selectedLabelReleases:[],isAllSelectedLabelReleases:!1,expandedLabelReleases:[],labelReleasesServerSideSortingOptions:{sortBy:["title"],sortDesc:[!1],mustSort:!0},labelReleasesSearch:"",selectedLabelReleasesLabelsFilter:[],selectedLabelReleasesQualityFilter:[],selectedLabelReleasesDigitalDistributionStatus:[],selectedLabelReleasesYearFilter:[],selectedLabelReleasesAction:[],showLabelReleasesExportDialog:!1,labelReleasesExportAll:!1,labelReleasesExportWithTracks:!1,showReleaseDeliveryDialog:!1,releaseDeliveryDialogDetails:{},mainPercentageProgressbarReleaseDelivery:0,xmlFilePath:null,xmlValidationErrorPath:null,releaseValidationInProgress:!0,showMainProgressbar:!1,defaultNewRelease:XG,releaseUniqueId:"",releaseDetails:XG,labelReleasesPricelistsOptions:[],labelReleaseLabelsDropdown:[],labelReleasesDetailsConnectedArtist:null,artistForReleasesSearch:"",selectedArtistForReleases:[],totalListedConnectArtistToReleasesDialog:0,totalRecordsConnectArtistToReleasesDialog:0,labelReleasesDetailsSelectedAzTypeForArtist:null,labelReleasesArtistForReleasesConnectToAllTracksCheckbox:[],labelReleaseTracks:[],labelReleaseTrackSearch:"",selectedTracksForRelease:[],totalTracksForReleaseListed:0,totalTracksForReleaseRecords:0,labelReleasesTracksSelectedDisc:1,releaseDigitalDistribution:[],selectedReleaseDigitalDistributionStatus:[],selectedReleaseDigitalDistribution:[],defaultReleaseDigitalDistribution:aF,releaseDigitalDistributionEditingDetails:{digitalRelease:null},releaseDigitalDistributionSetForAllCheckbox:!1,showReleaseDigitalDistributionEditingDialog:!1,releasesArtists:[],selectedReleasesArtists:[],showReleasesArtistsEditingDialog:!1,defaultReleasesArtists:JG,releasesArtistsEditingDialogDetails:JG,releasesArtistsArtistOptions:[],releasesPromotionalTexts:[],selectedReleasesPromotionalTexts:[],showReleasesPromotionalTextsEditingDialog:!1,defaultReleasesPromotionalTexts:QG,releasesPromotionalTextsEditingDialogDetails:QG,releasesCosts:[],selectedReleasesFilterCostGroup:null,selectedReleasesCosts:[],defaultReleasesCosts:tF,showReleasesCostsEditingDialog:!1,releasesCostsEditingDialogDetails:tF,releasesCostsRecipientOptions:[],showReleaseCostsplittingDialog:!1,defaultReleaseCostsplittingDialogDetails:nF,releaseCostsplittingRows:[],releaseCostsplittingDialogDetails:nF,labelReleasesCostsplittingReleaseOptions:[],labelReleasesCostsplittingRecipientOptions:[],releasesBudget:[],selectedReleasesFilterBudgetGroup:null,selectedReleasesBudget:[],defaultReleasesBudget:eF,showReleasesBudgetEditingDialog:!1,releasesBudgetEditingDialogDetails:eF,releasesProfitAndLoss:{},releasesProfitAndLossResult:0,selectedProfitAndLossFilterCostGroup:null,selectedProfitAndLossFilterIncomeGroup:null,profitAndLossFilterDetailsFromMonth:null,profitAndLossFilterDetailsToMonth:null,profitAndLossIsLoading:!1,labelTestReleasesDialog:!1,testCalculationReleaseForm:{},labelReleaseTestCalculationResult:[],labelReleaseTestCalculationErrorMessage:null,testCalculationReleaseDetailsLicenses:null,testCalculationReleaseDetailsSalesType:null,testCalculationReleaseDetailsCountry:null,testCalculationReleaseDetailsNet:null,testCalculationReleaseDetailsQuantity:null,testCalculationReleaseDetailsPpd:null,testCalculationReleaseDetailsMsp:null,testCalculationReleaseDetailsIsrc:null},sF={getLabelReleases:function(t){return t.labelReleases},getSelectedLabelReleases:function(t){return t.selectedLabelReleases},getIsAllSelectedLabelReleases:function(t){return t.isAllSelectedLabelReleases},getExpandedLabelReleases:function(t){return t.expandedLabelReleases},getLabelReleasesServerSideSortingOptions:function(t){return t.labelReleasesServerSideSortingOptions},getLabelReleasesSearch:function(t){return t.labelReleasesSearch},getSelectedLabelReleasesLabelsFilter:function(t){return t.selectedLabelReleasesLabelsFilter},getSelectedLabelReleasesQualityFilter:function(t){return t.selectedLabelReleasesQualityFilter},getSelectedLabelReleasesDigitalDistributionStatus:function(t){return t.selectedLabelReleasesDigitalDistributionStatus},getSelectedLabelReleasesYearFilter:function(t){return t.selectedLabelReleasesYearFilter},getSelectedLabelReleasesAction:function(t){return t.selectedLabelReleasesAction},getShowLabelReleasesExportDialog:function(t){return t.showLabelReleasesExportDialog},getLabelReleasesExportAll:function(t){return t.labelReleasesExportAll},getLabelReleasesExportWithTracks:function(t){return t.labelReleasesExportWithTracks},getShowReleaseDeliveryDialog:function(t){return t.showReleaseDeliveryDialog},getReleaseDeliveryDialogDetails:function(t){return t.releaseDeliveryDialogDetails},getMainPercentageProgressbarReleaseDelivery:function(t){return t.mainPercentageProgressbarReleaseDelivery},getXmlFilePath:function(t){return t.xmlFilePath},getXmlValidationErrorPath:function(t){return t.xmlValidationErrorPath},getReleaseValidationInProgress:function(t){return t.releaseValidationInProgress},getShowMainProgressbar:function(t){return t.showMainProgressbar},getDefaultNewLabelRelease:function(t){return t.defaultNewRelease},getLabelReleasesUniqueId:function(t){return t.releaseUniqueId},getLabelReleasesDetails:function(t){return t.releaseDetails},getLabelReleasesPricelistsOptions:function(t){return t.labelReleasesPricelistsOptions},getLabelReleaseLabelsDropdown:function(t){return t.labelReleaseLabelsDropdown},getLabelReleasesDetailsConnectedArtist:function(t){return t.labelReleasesDetailsConnectedArtist},getArtistForReleasesSearch:function(t){return t.artistForReleasesSearch},getSelectedArtistForReleases:function(t){return t.selectedArtistForReleases},getTotalListedConnectArtistToReleasesDialog:function(t){return t.totalListedConnectArtistToReleasesDialog},getTotalRecordsConnectArtistToReleasesDialog:function(t){return t.totalRecordsConnectArtistToReleasesDialog},getLabelReleasesDetailsSelectedAzTypeForArtist:function(t){return t.labelReleasesDetailsSelectedAzTypeForArtist},getLabelReleasesArtistForReleasesConnectToAllTracksCheckbox:function(t){return t.labelReleasesArtistForReleasesConnectToAllTracksCheckbox},getLabelReleasesDetailsAlvId:function(t){return t.releaseDetails.alvId},getLabelReleasesDetailsReleaseTitle:function(t){return t.releaseDetails.name},getLabelReleasesDetailsArtist:function(t){return t.releaseDetails.performer},getLabelReleasesDetailsSelectedGemaTypeId:function(t){return t.releaseDetails.gemaReleaseType},getLabelReleasesDetailsSelectedMediaTypeId:function(t){return t.releaseDetails.mediaType},getLabelReleasesDetailsSelectedGenre1Id:function(t){return t.releaseDetails.genre1},getLabelReleasesDetailsSelectedGenre2Id:function(t){return t.releaseDetails.genre2},getLabelReleasesDetailsSelectedGenre3Id:function(t){return t.releaseDetails.genre3},getLabelReleasesDetailsNotes:function(t){return t.releaseDetails.notes},getLabelReleasesDetailsEanUpc:function(t){return t.releaseDetails.ean},getLabelReleasesDetailsCatalogueNumber:function(t){return t.releaseDetails.catalogueNumber},getLabelReleasesDetailsOtherId:function(t){return t.releaseDetails.otherId},getLabelReleasesDetailsGRidNumber:function(t){return t.releaseDetails.gridNumber},getLabelReleasesDetailsGemaCatalogueNumber:function(t){return t.releaseDetails.gemaCatalogueNumber},getLabelReleasesDetailsGemaRegistrationNumber:function(t){return t.releaseDetails.gemaRegistrationNumbers},getLabelReleasesDetailsGemaLtnNumber:function(t){return t.releaseDetails.gemaLtnNumber},getLabelReleasesDetailsCNotice:function(t){return t.releaseDetails.cNotice},getLabelReleasesDetailsPNotice:function(t){return t.releaseDetails.pNotice},getLabelReleasesDetailsSelectedLabelId:function(t){return t.releaseDetails.labelId},getLabelReleasesDetailsMinimumStock:function(t){return t.releaseDetails.minimumStock},getLabelReleasesDetailsSelectedNumberOfDiscs:function(t){return t.releaseDetails.numberOfDiscs},getLabelReleasesDetailsVolume:function(t){return t.releaseDetails.volume},getLabelReleasesDetailsWeight:function(t){return t.releaseDetails.weight},getLabelReleasesDetailsHsCode:function(t){return t.releaseDetails.hscode},getLabelReleasesDetailsDatePhysical:function(t){return t.releaseDetails.dateRetail},getLabelReleasesDetailsDateDigital:function(t){return t.releaseDetails.dateDigital},getLabelReleasesDetailsDatePrerelease:function(t){return t.releaseDetails.datePreRelease},getLabelReleasesDetailsConductor:function(t){return t.releaseDetails.conductor},getLabelReleasesDetailsMusicians:function(t){return t.releaseDetails.musicians},getLabelReleasesDetailsSelectedCategoryId:function(t){return t.releaseDetails.priceCategory},getLabelReleasesDetailsSelectedLanguageId:function(t){return t.releaseDetails.language},getLabelReleasesDetailsTracksNumber:function(t){return t.releaseDetails.tracks},getLabelReleasesDetailsCompilationTracks:function(t){return t.releaseDetails.compilationTracks},getLabelReleasesDetailsSelectedLicensorId:function(t){return t.releaseDetails.compilationLicenseeId},getLabelReleasesDetailsSelectedGemaTasId:function(t){return t.releaseDetails.noGema},getLabelReleasesDetailsTags:function(t){return t.releaseDetails.tags},getLabelReleasesDetailsFavourite:function(t){return t.releaseDetails.favourites},getLabelReleasesDetailsSelectedReleasePricelists:function(t){return t.releaseDetails.selectedPricelist},getReleasesProfitAndLoss:function(t){return t.releasesProfitAndLoss},getReleasesProfitAndLossResult:function(t){return t.releasesProfitAndLossResult},getSelectedProfitAndLossFilterCostGroup:function(t){return t.selectedProfitAndLossFilterCostGroup},getSelectedProfitAndLossFilterIncomeGroup:function(t){return t.selectedProfitAndLossFilterIncomeGroup},getProfitAndLossFilterDetailsFromMonth:function(t){return t.profitAndLossFilterDetailsFromMonth},getProfitAndLossFilterDetailsToMonth:function(t){return t.profitAndLossFilterDetailsToMonth},getProfitAndLossIsLoading:function(t){return t.profitAndLossIsLoading},getLabelReleaseTracks:function(t){return t.labelReleaseTracks},getLabelReleaseTrackSearch:function(t){return t.labelReleaseTrackSearch},getSelectedLabelReleaseTrack:function(t){return t.selectedTracksForRelease},getTotalLabelReleaseTrackListed:function(t){return t.totalTracksForReleaseListed},getTotalLabelReleaseTrackRecords:function(t){return t.totalTracksForReleaseRecords},getLabelReleasesTracksSelectedDisc:function(t){return t.labelReleasesTracksSelectedDisc},getReleaseDigitalDistribution:function(t){return t.releaseDigitalDistribution},getSelectedReleaseDigitalDistributionStatus:function(t){return t.selectedReleaseDigitalDistributionStatus},getSelectedReleaseDigitalDistribution:function(t){return t.selectedReleaseDigitalDistribution},getDefaultReleaseDigitalDistribution:function(t){return t.defaultReleaseDigitalDistribution},getReleaseDigitalDistributionEditingDialogDetails:function(t){return t.releaseDigitalDistributionEditingDetails},getReleaseDigitalDistributionDetailsDigitalRelease:function(t){return t.releaseDigitalDistributionEditingDetails.digitalRelease},getReleaseDigitalDistributionDetailsSelected:function(t){return t.releaseDigitalDistributionEditingDetails.selected},getReleaseDigitalDistributionDetailsStatus:function(t){return t.releaseDigitalDistributionEditingDetails.status},getReleaseDigitalDistributionSetForAllCheckbox:function(t){return t.releaseDigitalDistributionSetForAllCheckbox},getShowReleaseDigitalDistributionEditingDialog:function(t){return t.showReleaseDigitalDistributionEditingDialog},getReleasesArtists:function(t){return t.releasesArtists},getSelectedReleasesArtists:function(t){return t.selectedReleasesArtists},getShowReleasesArtistsEditingDialog:function(t){return t.showReleasesArtistsEditingDialog},getDefaultReleasesArtists:function(t){return t.defaultReleasesArtists},getReleasesArtistsEditingDialogDetails:function(t){return t.releasesArtistsEditingDialogDetails},getReleasesArtistsDetailsArtist:function(t){return t.releasesArtistsEditingDialogDetails.artist},getReleasesArtistsDetailsRole:function(t){return t.releasesArtistsEditingDialogDetails.role},getReleasesArtistsDetailsPrimary:function(t){return t.releasesArtistsEditingDialogDetails.primary},getReleasesArtistsArtistOptions:function(t){return t.releasesArtistsArtistOptions},getLabelReleasesArtistsPanelConnectToAllTracksCheckbox:function(t){return t.releasesArtistsEditingDialogDetails.addToTracks},getReleasesPromotionalTexts:function(t){return t.releasesPromotionalTexts},getSelectedReleasesPromotionalTexts:function(t){return t.selectedReleasesPromotionalTexts},getShowReleasesPromotionalTextsEditingDialog:function(t){return t.showReleasesPromotionalTextsEditingDialog},getDefaultReleasesPromotionalTexts:function(t){return t.defaultReleasesPromotionalTexts},getReleasesPromotionalTextsEditingDialogDetails:function(t){return t.releasesPromotionalTextsEditingDialogDetails},getReleasesPromotionalTextsDetailsDescription:function(t){return t.releasesPromotionalTextsEditingDialogDetails.description},getReleasesPromotionalTextsDetailsType:function(t){return t.releasesPromotionalTextsEditingDialogDetails.type},getReleasesPromotionalTextsDetailsLanguage:function(t){return t.releasesPromotionalTextsEditingDialogDetails.language},getReleasesCosts:function(t){return t.releasesCosts},getSelectedReleasesFilterCostGroup:function(t){return t.selectedReleasesFilterCostGroup},getSelectedReleasesCosts:function(t){return t.selectedReleasesCosts},getDefaultReleasesCosts:function(t){return t.defaultReleasesCosts},getShowReleasesCostsEditingDialog:function(t){return t.showReleasesCostsEditingDialog},getReleasesCostsEditingDialogDetails:function(t){return t.releasesCostsEditingDialogDetails},getReleasesCostsDetailsAmount:function(t){return t.releasesCostsEditingDialogDetails.amount},getReleasesCostsDetailsCostGroup:function(t){return t.releasesCostsEditingDialogDetails.costGroup},getReleasesCostsDetailsCountry:function(t){return t.releasesCostsEditingDialogDetails.country},getReleasesCostsDetailsDate:function(t){return t.releasesCostsEditingDialogDetails.date},getReleasesCostsDetailsDescription:function(t){return t.releasesCostsEditingDialogDetails.description},getReleasesCostsDetailsDocumentNumber:function(t){return t.releasesCostsEditingDialogDetails.documentNumber},getReleasesCostsDetailsPaidOn:function(t){return t.releasesCostsEditingDialogDetails.paidOn},getReleasesCostsDetailsRecipient:function(t){return t.releasesCostsEditingDialogDetails.recipient},getReleasesCostsRecipientOptions:function(t){return t.releasesCostsRecipientOptions},getShowReleaseCostsplittingDialog:function(t){return t.showReleaseCostsplittingDialog},getDefaultReleaseCostsplittingDialogDetails:function(t){return t.defaultReleaseCostsplittingDialogDetails},getReleaseCostsplittingDialogDetails:function(t){return t.releaseCostsplittingDialogDetails},getLabelReleasesCostsplittingDetailsDate:function(t){return t.releaseCostsplittingDialogDetails.date},getLabelReleasesCostsplittingDetailsRecipient:function(t){return t.releaseCostsplittingDialogDetails.recipient},getLabelReleasesCostsplittingRecipientOptions:function(t){return t.labelReleasesCostsplittingRecipientOptions},getLabelReleasesCostsplittingDetailsDocumentNumber:function(t){return t.releaseCostsplittingDialogDetails.documentNumber},getLabelReleasesCostsplittingDetailsAmount:function(t){return t.releaseCostsplittingDialogDetails.amount},getLabelReleasesCostsplittingDetailsCostGroup:function(t){return t.releaseCostsplittingDialogDetails.costGroup},getLabelReleasesCostsplittingDetailsCountry:function(t){return t.releaseCostsplittingDialogDetails.country},getReleaseCostsplittingRows:function(t){return t.releaseCostsplittingRows},getLabelReleasesCostsplittingDetailsDescription:function(t){return t.releaseCostsplittingDialogDetails.description},getLabelReleasesCostsplittingDetailsRelease:function(t){return t.releaseCostsplittingDialogDetails.release},getLabelReleasesCostsplittingDetailsShare:function(t){return t.releaseCostsplittingDialogDetails.share},getLabelReleasesCostsplittingReleaseOptions:function(t){return t.labelReleasesCostsplittingReleaseOptions},getReleasesBudget:function(t){return t.releasesBudget},getSelectedReleasesFilterBudgetGroup:function(t){return t.selectedReleasesFilterBudgetGroup},getSelectedReleasesBudget:function(t){return t.selectedReleasesBudget},getDefaultReleasesBudget:function(t){return t.defaultReleasesBudget},getShowReleasesBudgetEditingDialog:function(t){return t.showReleasesBudgetEditingDialog},getReleasesBudgetEditingDialogDetails:function(t){return t.releasesBudgetEditingDialogDetails},getReleasesBudgetDetailsBudgetGroup:function(t){return t.releasesBudgetEditingDialogDetails.budgetGroup},getReleasesBudgetDetailsScheduledMonth:function(t){return t.releasesBudgetEditingDialogDetails.scheduledMonth},getReleasesBudgetDetailsDescription:function(t){return t.releasesBudgetEditingDialogDetails.description},getReleasesBudgetDetailsAmount:function(t){return t.releasesBudgetEditingDialogDetails.amount},getReleasesBudgetDetailsCountry:function(t){return t.releasesBudgetEditingDialogDetails.country},getReleasesBudgetDetailsQuantity:function(t){return t.releasesBudgetEditingDialogDetails.quantity},getLabelReleaseTestCalculationResult:function(t){return t.labelReleaseTestCalculationResult},getLabelReleaseTestCalculationErrorMessage:function(t){return t.labelReleaseTestCalculationErrorMessage},getTestCalculationReleaseForm:function(t){return t.testCalculationReleaseForm},getLabelTestReleasesDialog:function(t){return t.labelTestReleasesDialog},getTestCalculationReleaseDetailsLicenses:function(t){return t.testCalculationReleaseDetailsLicenses},getTestCalculationReleaseDetailsSalesType:function(t){return t.testCalculationReleaseDetailsSalesType},getTestCalculationReleaseDetailsCountry:function(t){return t.testCalculationReleaseDetailsCountry},getTestCalculationReleaseDetailsNet:function(t){return t.testCalculationReleaseDetailsNet},getTestCalculationReleaseDetailsQuantity:function(t){return t.testCalculationReleaseDetailsQuantity},getTestCalculationReleaseDetailsPpd:function(t){return t.testCalculationReleaseDetailsPpd},getTestCalculationReleaseDetailsIsrc:function(t){return t.testCalculationReleaseDetailsIsrc},getTestCalculationReleaseDetailsMsp:function(t){return t.testCalculationReleaseDetailsMsp},getLabelReleasesImageUrl:function(t){return t.selectedLabelReleases.cover}},rF={setLabelReleases:function(t,e){t.labelReleases=e},setSelectedLabelReleases:function(t,e){t.selectedLabelReleases=e},setIsAllSelectedLabelReleases:function(t,e){t.isAllSelectedLabelReleases=e},setExpandedLabelReleases:function(t,e){t.expandedLabelReleases=[e]},setLabelReleasesServerSideSortingOptions:function(t,e){t.labelReleasesServerSideSortingOptions=e},setLabelReleasesSearch:function(t,e){t.labelReleasesSearch=e},setSelectedLabelReleasesLabelsFilter:function(t,e){t.selectedLabelReleasesLabelsFilter=e},setSelectedLabelReleasesQualityFilter:function(t,e){t.selectedLabelReleasesQualityFilter=e},setSelectedLabelReleasesDigitalDistributionStatus:function(t,e){t.selectedLabelReleasesDigitalDistributionStatus=e},setSelectedLabelReleasesYearsFilter:function(t,e){t.selectedLabelReleasesYearFilter=e},setSelectedLabelReleasesAction:function(t,e){t.selectedLabelReleasesAction=e},setLabelTestReleasesDialog:function(t,e){t.labelTestReleasesDialog=e},setLabelReleaseTestCalculationErrorMessage:function(t,e){t.labelReleaseTestCalculationErrorMessage=e},setLabelReleaseTestCalculationResult:function(t,e){t.labelReleaseTestCalculationResult=e},setTestCalculationReleaseForm:function(t,e){t.testCalculationReleaseForm=e},setTestCalculationReleaseDetailsLicenses:function(t,e){t.testCalculationReleaseDetailsLicenses=e},setTestCalculationReleaseDetailsSalesType:function(t,e){t.testCalculationReleaseDetailsSalesType=e},setTestCalculationReleaseDetailsCountry:function(t,e){t.testCalculationReleaseDetailsCountry=e},setTestCalculationReleaseDetailsNet:function(t,e){t.testCalculationReleaseDetailsNet=e},setTestCalculationReleaseDetailsQuantity:function(t,e){t.testCalculationReleaseDetailsQuantity=e},setTestCalculationReleaseDetailsPpd:function(t,e){t.testCalculationReleaseDetailsPpd=e},setTestCalculationReleaseDetailsIsrc:function(t,e){t.testCalculationReleaseDetailsIsrc=e},setTestCalculationReleaseDetailsMsp:function(t,e){t.testCalculationReleaseDetailsMsp=e},setShowLabelReleasesExportDialog:function(t,e){t.showLabelReleasesExportDialog=e},setLabelReleasesExportAll:function(t,e){t.labelReleasesExportAll=e},setLabelReleasesExportWithTracks:function(t,e){t.labelReleasesExportWithTracks=e},setShowReleaseDeliveryDialog:function(t,e){t.showReleaseDeliveryDialog=e},setReleaseDeliveryDialogDetails:function(t,e){t.releaseDeliveryDialogDetails=e},setMainPercentageProgressbarReleaseDelivery:function(t,e){t.mainPercentageProgressbarReleaseDelivery=e},setXmlFilePath:function(t,e){t.xmlFilePath=e},setXmlValidationErrorPath:function(t,e){t.xmlValidationErrorPath=e},setReleaseValidationInProgress:function(t,e){t.releaseValidationInProgress=e},setShowMainProgressbar:function(t,e){t.showMainProgressbar=e},setDefaultNewLabelRelease:function(t){t.defaultNewRelease=XG},setLabelReleasesUniqueId:function(t,e){t.releaseUniqueId=e},setLabelReleasesDetails:function(t,e){t.releaseDetails=e},setLabelReleasesPricelistsOptions:function(t,e){t.labelReleasesPricelistsOptions=e},setLabelReleaseLabelsDropdown:function(t,e){t.labelReleaseLabelsDropdown=e},setLabelReleasesDetailsConnectedArtist:function(t,e){t.labelReleasesDetailsConnectedArtist=e},setArtistForReleasesSearch:function(t,e){t.artistForReleasesSearch=e},setSelectedArtistForReleases:function(t,e){t.selectedArtistForReleases=e},setTotalListedConnectArtistToReleasesDialog:function(t,e){t.totalListedConnectArtistToReleasesDialog=e},setTotalRecordsConnectArtistToReleasesDialog:function(t,e){t.totalRecordsConnectArtistToReleasesDialog=e},setLabelReleasesDetailsSelectedAzTypeForArtist:function(t,e){t.labelReleasesDetailsSelectedAzTypeForArtist=e},setLabelReleasesArtistForReleasesConnectToAllTracksCheckbox:function(t,e){t.labelReleasesArtistForReleasesConnectToAllTracksCheckbox=e},setLabelReleasesDetailsAlvId:function(t,e){t.releaseDetails.alvId=e},setLabelReleasesDetailsReleaseTitle:function(t,e){t.releaseDetails.name=e},setLabelReleasesDetailsArtist:function(t,e){t.releaseDetails.performer=e},setLabelReleasesDetailsSelectedGemaTypeId:function(t,e){t.releaseDetails.gemaReleaseType=e},setLabelReleasesDetailsSelectedMediaTypeId:function(t,e){t.releaseDetails.mediaType=e},setLabelReleasesDetailsSelectedGenre1Id:function(t,e){t.releaseDetails.genre1=e},setLabelReleasesDetailsSelectedGenre2Id:function(t,e){t.releaseDetails.genre2=e},setLabelReleasesDetailsSelectedGenre3Id:function(t,e){t.releaseDetails.genre3=e},setLabelReleasesDetailsNotes:function(t,e){t.releaseDetails.notes=e},setLabelReleasesDetailsEanUpc:function(t,e){t.releaseDetails.ean=e},setLabelReleasesDetailsCatalogueNumber:function(t,e){t.releaseDetails.catalogueNumber=e},setLabelReleasesDetailsOtherId:function(t,e){t.releaseDetails.otherId=e},setLabelReleasesDetailsGRidNumber:function(t,e){t.releaseDetails.gridNumber=e},setLabelReleasesDetailsGemaCatalogueNumber:function(t,e){t.releaseDetails.gemaCatalogueNumber=e},setLabelReleasesDetailsGemaRegistrationNumber:function(t,e){t.releaseDetails.gemaRegistrationNumbers=e},setLabelReleasesDetailsGemaLtnNumber:function(t,e){t.releaseDetails.gemaLtnNumber=e},setLabelReleasesDetailsCNotice:function(t,e){t.releaseDetails.cNotice=e},setLabelReleasesDetailsPNotice:function(t,e){t.releaseDetails.pNotice=e},setLabelReleasesDetailsSelectedLabelId:function(t,e){t.releaseDetails.labelId=e},setLabelReleasesDetailsMinimumStock:function(t,e){t.releaseDetails.minimumStock=e},setLabelReleasesDetailsSelectedNumberOfDiscs:function(t,e){t.releaseDetails.numberOfDiscs=e},setLabelReleasesDetailsVolume:function(t,e){t.releaseDetails.volume=e},setLabelReleasesDetailsWeight:function(t,e){t.releaseDetails.weight=e},setLabelReleasesDetailsHsCode:function(t,e){t.releaseDetails.hscode=e},setLabelReleasesDetailsDatePhysical:function(t,e){t.releaseDetails.dateRetail=e},setLabelReleasesDetailsDateDigital:function(t,e){t.releaseDetails.dateDigital=e},setLabelReleasesDetailsDatePrerelease:function(t,e){t.releaseDetails.datePreRelease=e},setLabelReleasesDetailsConductor:function(t,e){t.releaseDetails.conductor=e},setLabelReleasesDetailsMusicians:function(t,e){t.releaseDetails.musicians=e},setLabelReleasesDetailsSelectedCategoryId:function(t,e){t.releaseDetails.priceCategory=e},setLabelReleasesDetailsSelectedLanguageId:function(t,e){t.releaseDetails.language=e},setLabelReleasesDetailsTracksNumber:function(t,e){t.releaseDetails.tracks=e},setLabelReleasesDetailsCompilationTracks:function(t,e){t.releaseDetails.compilationTracks=e},setLabelReleasesDetailsSelectedLicensorId:function(t,e){t.releaseDetails.compilationLicenseeId=e},setLabelReleasesDetailsSelectedGemaTasId:function(t,e){t.releaseDetails.noGema=e},setLabelReleasesDetailsTags:function(t,e){t.releaseDetails.tags=e},setLabelReleasesDetailsFavourite:function(t,e){t.releaseDetails.favourites=e},setLabelReleasesDetailsSelectedReleasePricelists:function(t,e){t.releaseDetails.selectedPricelist=e},setLabelReleaseTracks:function(t,e){t.labelReleaseTracks=e},setSpecificLabelReleaseTracks:function(t,e){n["default"].set(t.labelReleaseTracks,t.labelReleasesTracksSelectedDisc,e)},setLabelReleaseTrackSearch:function(t,e){t.labelReleaseTrackSearch=e},setSelectedLabelReleaseTrack:function(t,e){t.selectedTracksForRelease=e},setTotalLabelReleaseTrackListed:function(t,e){t.totalTracksForReleaseListed=e},setTotalLabelReleaseTrackRecords:function(t,e){t.totalTracksForReleaseRecords=e},setLabelReleasesTracksSelectedDisc:function(t,e){t.labelReleasesTracksSelectedDisc=e},setReleaseDigitalDistribution:function(t,e){t.releaseDigitalDistribution=e},setSelectedReleaseDigitalDistributionStatus:function(t,e){t.selectedReleaseDigitalDistributionStatus=e},setSelectedReleaseDigitalDistribution:function(t,e){t.selectedReleaseDigitalDistribution=e},setDefaultReleaseDigitalDistribution:function(t){t.defaultReleaseDigitalDistribution=aF},setReleaseDigitalDistributionEditingDialogDetails:function(t,e){t.releaseDigitalDistributionEditingDetails=e},setReleaseDigitalDistributionDetailsDigitalRelease:function(t,e){t.releaseDigitalDistributionEditingDetails.digitalRelease=e},setReleaseDigitalDistributionDetailsSelected:function(t,e){t.releaseDigitalDistributionEditingDetails.selected=e},setReleaseDigitalDistributionDetailsStatus:function(t,e){t.releaseDigitalDistributionEditingDetails.status=e},setReleaseDigitalDistributionSetForAllCheckbox:function(t,e){t.releaseDigitalDistributionSetForAllCheckbox=e},setShowReleaseDigitalDistributionEditingDialog:function(t,e){t.showReleaseDigitalDistributionEditingDialog=e},setReleasesArtists:function(t,e){t.releasesArtists=e},setSelectedReleasesArtists:function(t,e){t.selectedReleasesArtists=e},setShowReleasesArtistsEditingDialog:function(t,e){t.showReleasesArtistsEditingDialog=e},setDefaultReleasesArtists:function(t){t.defaultReleasesArtists=JG},setReleasesArtistsEditingDialogDetails:function(t,e){t.releasesArtistsEditingDialogDetails=e},setReleasesArtistsDetailsArtist:function(t,e){t.releasesArtistsEditingDialogDetails.artist=e},setReleasesArtistsDetailsRole:function(t,e){t.releasesArtistsEditingDialogDetails.role=e},setReleasesArtistsDetailsPrimary:function(t,e){t.releasesArtistsEditingDialogDetails.primary=e},setReleasesArtistsArtistOptions:function(t,e){t.releasesArtistsArtistOptions=e},setLabelReleasesArtistsPanelConnectToAllTracksCheckbox:function(t,e){t.releasesArtistsEditingDialogDetails.addToTracks=e},setReleasesPromotionalTexts:function(t,e){t.releasesPromotionalTexts=e},setSelectedReleasesPromotionalTexts:function(t,e){t.selectedReleasesPromotionalTexts=e},setShowReleasesPromotionalTextsEditingDialog:function(t,e){t.showReleasesPromotionalTextsEditingDialog=e},setDefaultReleasesPromotionalTexts:function(t){t.defaultReleasesPromotionalTexts=QG},setReleasesPromotionalTextsEditingDialogDetails:function(t,e){t.releasesPromotionalTextsEditingDialogDetails=e},setReleasesPromotionalTextsDetailsDescription:function(t,e){t.releasesPromotionalTextsEditingDialogDetails.description=e},setReleasesPromotionalTextsDetailsType:function(t,e){t.releasesPromotionalTextsEditingDialogDetails.type=e},setReleasesPromotionalTextsDetailsLanguage:function(t,e){t.releasesPromotionalTextsEditingDialogDetails.language=e},setReleasesCosts:function(t,e){t.releasesCosts=e},setSelectedReleasesFilterCostGroup:function(t,e){t.selectedReleasesFilterCostGroup=e},setSelectedReleasesCosts:function(t,e){t.selectedReleasesCosts=e},setDefaultReleasesCosts:function(t){t.defaultReleasesCosts=tF},setShowReleasesCostsEditingDialog:function(t,e){t.showReleasesCostsEditingDialog=e},setReleasesCostsEditingDialogDetails:function(t,e){t.releasesCostsEditingDialogDetails=e},setReleasesCostsDetailsAmount:function(t,e){t.releasesCostsEditingDialogDetails.amount=e},setReleasesCostsDetailsCostGroup:function(t,e){t.releasesCostsEditingDialogDetails.costGroup=e},setReleasesCostsDetailsCountry:function(t,e){t.releasesCostsEditingDialogDetails.country=e},setReleasesCostsDetailsDate:function(t,e){t.releasesCostsEditingDialogDetails.date=e},setReleasesCostsDetailsDescription:function(t,e){t.releasesCostsEditingDialogDetails.description=e},setReleasesCostsDetailsDocumentNumber:function(t,e){t.releasesCostsEditingDialogDetails.documentNumber=e},setReleasesCostsDetailsPaidOn:function(t,e){t.releasesCostsEditingDialogDetails.paidOn=e},setReleasesCostsDetailsRecipient:function(t,e){t.releasesCostsEditingDialogDetails.recipient=e},setReleasesCostsRecipientOptions:function(t,e){t.releasesCostsRecipientOptions=e},setShowReleaseCostsplittingDialog:function(t,e){t.showReleaseCostsplittingDialog=e},setDefaultReleaseCostsplittingDialogDetails:function(t){t.defaultReleaseCostsplittingDialogDetails=nF},setReleaseCostsplittingDialogDetails:function(t,e){t.releaseCostsplittingDialogDetails=e},setLabelReleasesCostsplittingDetailsDate:function(t,e){t.releaseCostsplittingDialogDetails.date=e},setLabelReleasesCostsplittingDetailsRecipient:function(t,e){t.releaseCostsplittingDialogDetails.recipient=e},setLabelReleasesCostsplittingRecipientOptions:function(t,e){t.labelReleasesCostsplittingRecipientOptions=e},setLabelReleasesCostsplittingDetailsDocumentNumber:function(t,e){t.releaseCostsplittingDialogDetails.documentNumber=e},setLabelReleasesCostsplittingDetailsAmount:function(t,e){t.releaseCostsplittingDialogDetails.amount=e},setLabelReleasesCostsplittingDetailsCostGroup:function(t,e){t.releaseCostsplittingDialogDetails.costGroup=e},setLabelReleasesCostsplittingDetailsCountry:function(t,e){t.releaseCostsplittingDialogDetails.country=e},setReleaseCostsplittingRows:function(t,e){t.releaseCostsplittingRows=e},setLabelReleasesCostsplittingDetailsDescription:function(t,e){t.releaseCostsplittingDialogDetails.description=e},setLabelReleasesCostsplittingDetailsRelease:function(t,e){t.releaseCostsplittingDialogDetails.release=e},setLabelReleasesCostsplittingDetailsShare:function(t,e){t.releaseCostsplittingDialogDetails.share=e},setLabelReleasesCostsplittingReleaseOptions:function(t,e){t.labelReleasesCostsplittingReleaseOptions=e},setReleasesBudget:function(t,e){t.releasesBudget=e},setSelectedReleasesFilterBudgetGroup:function(t,e){t.selectedReleasesFilterBudgetGroup=e},setSelectedReleasesBudget:function(t,e){t.selectedReleasesBudget=e},setDefaultReleasesBudget:function(t){t.defaultReleasesBudget=eF},setShowReleasesBudgetEditingDialog:function(t,e){t.showReleasesBudgetEditingDialog=e},setReleasesBudgetEditingDialogDetails:function(t,e){t.releasesBudgetEditingDialogDetails=e},setReleasesBudgetDetailsBudgetGroup:function(t,e){t.releasesBudgetEditingDialogDetails.budgetGroup=e},setReleasesBudgetDetailsScheduledMonth:function(t,e){t.releasesBudgetEditingDialogDetails.scheduledMonth=e},setReleasesBudgetDetailsDescription:function(t,e){t.releasesBudgetEditingDialogDetails.description=e},setReleasesBudgetDetailsAmount:function(t,e){t.releasesBudgetEditingDialogDetails.amount=e},setReleasesBudgetDetailsCountry:function(t,e){t.releasesBudgetEditingDialogDetails.country=e},setReleasesBudgetDetailsQuantity:function(t,e){t.releasesBudgetEditingDialogDetails.quantity=e},setReleasesProfitAndLoss:function(t,e){t.releasesProfitAndLoss=e},setReleasesProfitAndLossResult:function(t,e){t.releasesProfitAndLossResult=e},setSelectedProfitAndLossFilterCostGroup:function(t,e){t.selectedProfitAndLossFilterCostGroup=e},setSelectedProfitAndLossFilterIncomeGroup:function(t,e){t.selectedProfitAndLossFilterIncomeGroup=e},setProfitAndLossFilterDetailsFromMonth:function(t,e){t.profitAndLossFilterDetailsFromMonth=e},setProfitAndLossFilterDetailsToMonth:function(t,e){t.profitAndLossFilterDetailsToMonth=e},setProfitAndLossIsLoading:function(t,e){t.profitAndLossIsLoading=e},setLabelReleasesImageUrl:function(t,e){t.selectedLabelReleases.cover=e}},lF={fetchLabelReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getLabelReleasesSearch,labelId:n.getSelectedLabelReleasesLabelsFilter,quality:n.getSelectedLabelReleasesQualityFilter,status:n.getSelectedLabelReleasesDigitalDistributionStatus,year:n.getSelectedLabelReleasesYearFilter},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getLabelReleasesServerSideSortingOptions,t.next=7,k$.getListData2(ZG,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||1===l.error||0===l.list.length?(a("setLabelReleases",[]),a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")):a("setLabelReleases",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReleasesDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=6;break}r=JSON.parse(JSON.stringify(i.getDefaultNewLabelRelease)),n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),t.next=10;break;case 6:return t.next=8,k$.getDetailsById(ZG,a);case 8:l=t.sent,void 0===l||0===l.length||1===l.error?r={}:(r=l,null!==r.language&&(r.language=r.language.toLowerCase()));case 10:o=JSON.parse(JSON.stringify(i.getDigitalPlatforms)),c=r.digitalDistributionStatus,void 0!==o&&void 0!==c&&c.forEach((function(t){var e=o.findIndex((function(e){return t.alvId===e.alvId}));o[e]=t,"yes"===o[e].selected&&iF.selectedReleaseDigitalDistributionStatus.push(o[e])})),n("setReleaseDigitalDistribution",o),n("setLabelReleasesDetails",r),s("fetchLabelReleaseTracks"),s("fetchLabelArtists"),s("fetchLabelPromotionalTexts"),s("fetchLabelReleasesCosts"),s("fetchLabelReleasesBudget"),n("setLabelReleasesDetailsConnectedArtist",null),"new"!==a&&(u=this._vm.$alvPlugin.getArtistOrPerformerName(r.performer),n("setLabelReleasesDetailsConnectedArtist",u)),s("fetchLabelReleaseLabels"),n("setIsLoading",!1);case 24:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchLabelReleaseLabels:function(t){var e=t.getters,a=t.commit;a("setLabelCompanies");var n=[],i=[];e.getLabelCompanies.forEach((function(t){null!=t.labels&&(n=n.concat(t.labels))})),n.forEach((function(t){i.push({value:parseInt(t.id),text:t.name_alv,alvId:t.alvId})})),void 0!==i&&0!==i.length&&1!==i.error||(i=[]),a("setLabelReleaseLabelsDropdown",i)},prepareLabelReleasesEditFormData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.dispatch,a=e.commit,a("setGenres"),a("setLicensors"),a("setReleaseGemaMediaTypes"),a("setDigitalPlatforms");case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReleasesPricelistsDropdownValues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getDropdownValues(ZG,"releasePricelists");case 3:n=t.sent,a("setLabelReleasesPricelistsOptions",n);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteArtistLabelReleasConnection:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,a("setLabelReleasesDetailsConnectedArtist",null),a("setLabelReleasesDetailsArtist",null);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchArtistForReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i="search="+a.getArtistForReleasesSearch+"&type=artist&azType=persons,groups",t.next=4,k$.getListData("az","1",i);case 4:return s=t.sent,n("setTotalListedConnectArtistToReleasesDialog",s.filteredRecords),n("setTotalRecordsConnectArtistToReleasesDialog",s.totalRecords),t.abrupt("return",s.list);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addArtistToReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getSelectedArtistForReleases[0],s=a.getLabelReleasesDetails,s.performer=i,r=this._vm.$alvPlugin.showNameOfAzEntry(s.performer),n("setLabelReleasesDetailsConnectedArtist",r),n("setLabelReleasesDetailsArtist",s.performer),0!==a.getLabelReleasesArtistForReleasesConnectToAllTracksCheckbox.length&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")});case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelArtists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getLabelReleasesDetails.artists,void 0===i||null===i?i=[]:0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setReleasesArtists",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteReleasesArtistsArtist:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setReleasesArtistsArtistOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedReleasesArtists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedReleasesArtists,r=a.getReleasesArtists.findIndex((function(t){return t.id===s.id})),l=a.getReleasesArtists.length,n["default"].delete(a.getReleasesArtists,r),o=a.getReleasesArtists.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_ARTIST_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_ARTIST_NOT_SUCCESSFUL")}),i("setSelectedReleasesArtists",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelPromotionalTexts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getLabelReleasesDetails.promotionalTexts,void 0===i||null===i?i=[]:0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setReleasesPromotionalTexts",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedReleasesPromotionalTexts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedReleasesPromotionalTexts,r=a.getReleasesPromotionalTexts.findIndex((function(t){return t.id===s.id})),l=a.getReleasesPromotionalTexts.length,n["default"].delete(a.getReleasesPromotionalTexts,r),o=a.getReleasesPromotionalTexts.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_PROMOTIONAL_TEXT_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_PROMOTIONAL_TEXT_NOT_SUCCESSFUL")}),i("setSelectedReleasesPromotionalTexts",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReleaseTracks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getLabelReleasesDetails.tracksOnRelease;case 3:i=t.sent,void 0===i&&(i=null),a("setLabelReleaseTracks",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelReleaseTrack:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=e.getters,i=e.commit,s=a.getSelectedLabelReleaseTrack,r=a.getLabelReleasesTracksSelectedDisc,l=a.getLabelReleaseTracks[r],o=l.findIndex((function(t){return t.alvId===s})),c=o+1;c<l.length;c++)l[c].trackPosition=l[c].trackPosition-1;u=l.length,n["default"].delete(l,o),d=l.length,i("setSnackbar",u>d?{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_TRACK_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_TRACK_NOT_SUCCESSFUL")});case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchLabelReleaseTrack:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n="label/tracks",i=a.getLabelReleasesTracksSelectedDisc,s=a.getLabelReleaseTracks,s[i],r="search="+a.getLabelReleaseTrackSearch,l={},0!==Object.keys(s).length)for(o=Object.keys(s).length,c=1;c<=o+1;c++)void 0!==s[c]&&s[c].forEach((function(t){l[t.alvId]=!0}));return t.next=10,k$.getFilteredResults(n,r);case 10:if(u=t.sent,u.list&&u.list.length>0)for(d=0;d<u.list.length;d++)g=u.list[d]["alvId"],g&&!0===l[g]&&(u.list[d]["alvInternalDisable"]=!0);return t.abrupt("return",u.list);case 13:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addTracksToRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,s=n.getLabelReleasesTracksSelectedDisc,r=n.getLabelReleaseTracks[s],void 0===r&&(r=[]),o=r.length,l=o?r[r.length-1].trackPosition:0,a.forEach((function(t,e){var a=t;a.soundCarrierNumber=s,a.trackPosition=l+e+1,r.push(t)})),i("setSpecificLabelReleaseTracks",r),t.abrupt("return",{error:o<length?-1:1});case 9:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchReleaseDigitalDistribution:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getLabelReleasesDetails.digitalDistributionStatus,n("setIsLoading",!1),void 0!==i&&0!==i.length||n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setReleaseDigitalDistribution",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReleasesCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getLabelReleasesDetails.costs,n("setIsLoading",!1),void 0===i&&(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),i=[]),n("setReleasesCosts",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),exportAllReleasesCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i={action:"export"},s=ZG+"/"+n.getLabelReleasesDetailsAlvId+"/costs",t.next=5,k$.triggerAction(s,{},i);case 5:r=t.sent,-1===r.error&&(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_SUCCESSFULL")})),1===r.error&&a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")});case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedReleasesCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedReleasesCosts,r=a.getReleasesCosts.findIndex((function(t){return t.id===s.id})),l=a.getReleasesCosts.length,n["default"].delete(a.getReleasesCosts,r),o=a.getReleasesCosts.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedReleasesCosts",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteReleasesCostsRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setReleasesCostsRecipientOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelReleasesCostsplittingRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setLabelReleasesCostsplittingRecipientOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelReleasesCostsplittingRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch(ZG,a);case 3:i=t.sent,n("setLabelReleasesCostsplittingReleaseOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),addNewLineCostsplittingRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,e.commit,n=a.getReleaseCostsplittingRows,i=-(1e3+Math.floor(123*Math.random())),s=a.getLabelReleasesCostsplittingDetailsRelease,r=a.getLabelReleasesCostsplittingDetailsDescription,l=a.getLabelReleasesCostsplittingDetailsAmount,o=a.getLabelReleasesCostsplittingDetailsShare,null!==o&&""!==o?o=JSON.parse(JSON.stringify(this._vm.$alvPlugin.stringToFloat(o))):it.n(0,"number"),null!==l&&""!==l?l=JSON.parse(JSON.stringify(this._vm.$alvPlugin.stringToFloat(l))):it.n(0,"number"),c=0,u=l*o,0!==u&&(c=u/100),n.push({id:i,release:s,description:r,share:o,proRataAmount:c});case 13:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteLineCostsplittingRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=e.getters,s=i.getReleaseCostsplittingRows.findIndex((function(t){return t.id===a.id})),n["default"].delete(i.getReleaseCostsplittingRows,s);case 3:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),labelReleasesSplittingCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelReleasesDetailsAlvId,r={action:"costsplitting"},l={date:a.getLabelReleasesCostsplittingDetailsDate,recipient:a.getLabelReleasesCostsplittingDetailsRecipient,documentNumber:a.getLabelReleasesCostsplittingDetailsDocumentNumber,amount:a.getLabelReleasesCostsplittingDetailsAmount,costGroup:a.getLabelReleasesCostsplittingDetailsCostGroup,country:a.getLabelReleasesCostsplittingDetailsCountry,rows:a.getReleaseCostsplittingRows},t.next=6,k$.triggerAction(ZG+"/"+s+"/costs",l,r);case 6:o=t.sent,n("setShowReleaseCostsplittingDialog",!1),-1===o.error?(i("fetchLabelReleasesDetails",o.response.alvId),n("setSnackbar",{type:"success",msg:it.t("lang_LABEL_RELEASES_COSTSPLITTING_SUCCESS")})):n("setSnackbar",{type:"error",msg:it.t("lang_LABEL_RELEASES_COSTSPLITTING_NOT_SUCCESSFUL")});case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReleasesBudget:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getLabelReleasesDetails.budget,n("setIsLoading",!1),void 0===i&&(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),i=[]),n("setReleasesBudget",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),exportAllReleasesBudget:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"export"},s=ZG+"/"+a.getLabelReleasesDetailsAlvId+"/budget",t.next=5,k$.triggerAction(s,{},i);case 5:r=t.sent,-1===r.error&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_SUCCESSFULL")})),1===r.error&&n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")});case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedReleasesBudget:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedReleasesBudget,r=a.getReleasesBudget.findIndex((function(t){return t.id===s.id})),l=a.getReleasesBudget.length,n["default"].delete(a.getReleasesBudget,r),o=a.getReleasesBudget.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedReleasesBudget",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchReleaseProfitAndLoss:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setProfitAndLossIsLoading",!0),i=a.getProfitAndLossFilterDetailsFromMonth,s=a.getProfitAndLossFilterDetailsToMonth,r=a.getLabelReleasesDetailsAlvId,l="fromMonth="+i+"&toMonth="+s,t.next=8,k$.getProfitAndLossResult(ZG+"/"+r+"/profitAndLoss",l);case 8:o=t.sent,null===o||1===o.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o.response.errorMsg)?$t(o.response.errorMsg):o.response.errorMsg}):(n("setReleasesProfitAndLoss",o.profitAndLoss),n("setReleasesProfitAndLossResult",o.profitAndLoss.result)),n("setProfitAndLossIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getFilteredProfitAndLoss:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getProfitAndLossFilterDetailsFromMonth,s=a.getProfitAndLossFilterDetailsToMonth,r=a.getLabelReleasesDetailsAlvId,l="fromMonth="+i+"&toMonth="+s,t.next=7,k$.getProfitAndLossResult(ZG+"/"+r+"/profitAndLoss",l);case 7:o=t.sent,null===o||1===o.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o.response.errorMsg)?$t(o.response.errorMsg):o.response.errorMsg}):result=o.result,n("setProfitAndLossResult",result);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),exportProfitAndLossData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i={fromMonth:n.getProfitAndLossFilterDetailsFromMonth,toMonth:n.getProfitAndLossFilterDetailsToMonth},s=n.getExpandedLabelReleases[0].alvId,r={action:"export"},t.next=6,k$.triggerAction(ZG+"/"+s+"/profitAndLoss",i,r);case 6:l=t.sent,1===l||void 0==l||1===l.error?a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l.response.errorMsg)?it.t(l.response.errorMsg):l.response.errorMsg}):(k$.getFileFromALV(l.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),saveLabelReleasesForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getLabelReleasesDetailsAlvId,r=n.getLabelReleasesDetails,l="new"==O$.currentRoute.params.alvId,r["digitalDistributionStatus"]=n.getReleaseDigitalDistribution,r["artists"]=n.getReleasesArtists,r["promotionalTexts"]=n.getReleasesPromotionalTexts,r["costs"]=n.getReleasesCosts,"connectToAllTracks"===n.getLabelReleasesArtistForReleasesConnectToAllTracksCheckbox[0]&&(r["connectPerformerToAllTracks"]=!0),t.next=11,k$.saveEditForm(ZG,s,r,l);case 11:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=16;break}a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o.response.errorMsg)?it.t(o.response.errorMsg):o.response.errorMsg}),t.next=23;break;case 16:return a("setSnackbar",{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_RELEASE_SAVED")}),l&&O$.push({name:"LabelReleasesEdit",params:{alvId:o.response.alvId}}),t.next=20,i("fetchLabelReleasesDetails",o.response.alvId);case 20:a("setLabelReleasesArtistForReleasesConnectToAllTracksCheckbox",[]),a("setLabelReleasesArtistsPanelConnectToAllTracksCheckbox",null),i("fetchLabelReleaseTracks");case 23:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doLabelReleasesAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.dispatch,i=e.getters,!(iF.selectedLabelReleases.length>0)){t.next=29;break}t.t0=iF.selectedLabelReleasesAction,t.next="ddexExport"===t.t0?5:"delete"===t.t0?7:"replaceTags"===t.t0?9:"labelCopyExcel"===t.t0?11:"labelCopyPdf"===t.t0?13:"gvlExcel"===t.t0?15:"gemaTonis"===t.t0?17:"copyWithTracks"===t.t0||"copyWithoutTracks"===t.t0?19:"export"===t.t0?21:"testRelease"===t.t0?23:"prepareReleaseForDelivery"===t.t0?25:27;break;case 5:return n("ddexReleaseExport"),t.abrupt("break",27);case 7:return a("setShowDeletionDialog",!0),t.abrupt("break",27);case 9:return a("setShowManageTagsDialog",!0),t.abrupt("break",27);case 11:return n("releaseLabelCopy",{context:"labelCopyExcel"}),t.abrupt("break",27);case 13:return n("releaseLabelCopy",{context:"labelCopyPdf"}),t.abrupt("break",27);case 15:return n("gvlTrisysExcel"),t.abrupt("break",27);case 17:return 1===iF.selectedLabelReleases.length?n("gemaTonisExcel"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",27);case 19:return 1===iF.selectedLabelReleases.length?n("copyLabelRelease"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",27);case 21:return iF.selectedLabelReleases.length>0?(a("setLabelReleasesExportAll",!1),a("setShowLabelReleasesExportDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",27);case 23:return 1==iF.selectedLabelReleases.length?n("fetchTestReleaseCalculation"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",27);case 25:return 1===iF.selectedLabelReleases.length?"yes"===i.getDigitalDistributionIsBooked?n("prepareLabelReleaseDelivery"):(a("setSelectionRequiredText","lang_LABEL_RELEASES_DIGITAL_DISTRIBUTION_TOOLTIP_SWITCHNOW"),a("setShowSelectionRequiredDialog",!0)):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",27);case 27:t.next=31;break;case 29:a("setSelectionRequiredText","testRelease"==iF.selectedLabelReleasesAction?"lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE":"lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 31:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchTestReleaseCalculation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,t.next=3,k$.getSpecificFormData(ZG+"/testCalculation");case 3:n=t.sent,-1===n.error?(i=n.response,i.net=null!=i.net?it.n(i.net,"number"):i.net,i.quantity=null!=i.quantity?it.n(i.quantity,"number"):i.quantity,i.ppd=null!=i.ppd?it.n(i.ppd,"number"):i.ppd,i.msp=null!=i.msp?it.n(i.msp,"number"):i.msp,a("setTestCalculationReleaseDetailsLicenses",i.licenses),a("setTestCalculationReleaseDetailsSalesType",i.salesType),a("setTestCalculationReleaseDetailsCountry",i.country),a("setTestCalculationReleaseDetailsNet",i.net),a("setTestCalculationReleaseDetailsQuantity",i.quantity),a("setTestCalculationReleaseDetailsPpd",i.ppd),a("setTestCalculationReleaseDetailsMsp",i.msp),a("setTestCalculationReleaseDetailsIsrc",i.isrc),a("setLabelTestReleasesDialog",!0),a("setTestCalculationReleaseForm",n.response)):a("setSnackbar",{type:"error",msg:"Es ist ein Fehler aufgetreten"});case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),calculateLabelReleaseTestCalculation:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"testCalculation"},s={},s.licenses=a.getTestCalculationReleaseDetailsLicenses,s.salesType=a.getTestCalculationReleaseDetailsSalesType,s.country=a.getTestCalculationReleaseDetailsCountry,s.net=a.getTestCalculationReleaseDetailsNet,s.quantity=a.getTestCalculationReleaseDetailsQuantity,s.ppd=a.getTestCalculationReleaseDetailsPpd,s.msp=a.getTestCalculationReleaseDetailsMsp,s.isrc=a.getTestCalculationReleaseDetailsIsrc,s["releaseIds"]=a.getSelectedLabelReleases,t.next=14,k$.triggerAction(ZG,s,i);case 14:r=t.sent,-1===r.error?n("setLabelReleaseTestCalculationResult",r.response):n("setLabelReleaseTestCalculationErrorMessage",r.response.errorMsg);case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(ZG,i.getSelectedLabelReleases);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getLabelReleases.findIndex((function(e){return e.alvId==i.getSelectedLabelReleases[t]}));n["default"].delete(i.getLabelReleases,e)},o=0;o<i.getSelectedLabelReleases.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedLabelReleases",[]),a("setSelectedLabelReleasesAction",[]),s("fetchLabelReleases")}else console.log(r),c=r.response.errorMsg,void 0!==c&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(c)?it.t(c):c});case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),releaseLabelCopy:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,s={action:a.context},r={releaseIds:n.getSelectedLabelReleases},t.next=5,k$.triggerAction(ZG,r,s);case 5:l=t.sent,-1===l.error?null!==l.response.path&&(k$.getFileFromALV(l.response.path),i("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(o=l.response.errorMsg,void 0!==o&&i("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),ddexReleaseExport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"ddexExport"},s={releaseIds:a.getSelectedLabelReleases},t.next=5,k$.triggerAction(ZG,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg[0].message,void 0!==l&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),copyLabelRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:a.getSelectedLabelReleasesAction},r={releaseIds:a.getSelectedLabelReleases},t.next=5,k$.triggerAction(ZG,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchLabelReleases")):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),exportAllLabelReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={action:"export",type:"excel",tracks:n.getLabelReleasesExportWithTracks?"yes":"no"},s={releaseIds:[]},t.next=6,k$.triggerAction(ZG,s,i);case 6:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l})),a("setLabelReleasesExportWithTracks",!1),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),exportSelectedLabelReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={action:"export",type:"excel",tracks:n.getLabelReleasesExportWithTracks?"yes":"no"},s={alvIds:n.getSelectedLabelReleases},t.next=6,k$.triggerAction(ZG,s,i);case 6:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l})),a("setLabelReleasesExportWithTracks",!1),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),prepareLabelReleaseDelivery:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,e.dispatch,i=a.getSelectedLabelReleases,t.next=4,k$.getDetailsById(ZG,i);case 4:return s=t.sent,n("setReleaseDeliveryDialogDetails",s),r={action:"prepareReleaseForDelivery"},l={releaseIds:a.getSelectedLabelReleases},n("setShowReleaseDeliveryDialog",!0),t.next=11,k$.triggerAction(ZG,l,r);case 11:o=t.sent,-1===o.error?n("setXmlFilePath",o.response.path):n("setXmlValidationErrorPath",o.response.validationFile),n("setReleaseValidationInProgress",!1);case 14:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),gvlTrisysExcel:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:a.getSelectedLabelReleasesAction},s={releaseIds:a.getSelectedLabelReleases},t.next=5,k$.triggerAction(ZG,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(n("setShowErrorDialog",!0),n("setErrorDialogCsvLink",r.response.path),n("setErrorMessageCode","1LR"));case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),gemaTonisExcel:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:a.getSelectedLabelReleasesAction},s={releaseIds:a.getSelectedLabelReleases},t.next=5,k$.triggerAction(ZG,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(n("setShowErrorDialog",!0),n("setErrorDialogCsvLink",r.response.path),n("setErrorMessageCode","2LR"));case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),validateReleasesDetailsForDelivery:function(t,e){t.commit,e.releaseDetails.performer,e.releaseDetails.cover,e.releaseDetails.dateDigital,e.releaseDetails.ean,e.releaseDetails.catalogueNumber,e.releaseDetails.pNotice,e.releaseDetails.cNotice,e.releaseDetails.priceCategory,e.releaseDetails.language,e.releaseDetails.genre1,e.releaseDetails.digitalDistributionStatus.some((function(t){return"yes"===t.selected}));var a=e.releaseDetails.tracksOnRelease,n=0!==a.length,i=[];if(n)for(var s=0;s<a.length;s++){var r=null!==a[s].isrc,l=null!==a[s].performer,o=null!==a[s].audioTrack,c=null!==a[s].duration;i.push({title:a[s].title,hasIsrc:r,hasArtist:l,hasAudio:o,hasDuration:c})}return!1}},oF={state:iF,getters:sF,actions:lF,mutations:rF},cF=(a("8615"),"label/projects"),uF={title:null,id:0,alvId:"ALV000000000LP",tag:null,note:null,image:null,projectNumber:null,projectStartDate:null,url:null},dF={labelProjects:[],selectedLabelProjects:[],isAllSelectedLabelProjects:!1,expandedLabelProjects:[],labelProjectsServerSideSortingOptions:{sortBy:["title"],sortDesc:[!1],mustSort:!0},labelProjectsSearch:"",selectedLabelProjectsAction:[],defaultLabelProject:uF,labelProjectsDetails:uF,labelProjectsReleases:[],projectsReleasesSearch:"",selectedProjectsReleases:[],projectsProfitAndLossResult:0,projectsProfitAndLossCosts:[],projectsProfitAndLossIncome:[],projectsProfitAndLossIsLoading:!1,selectedProjectsProfitAndLossFilterCostGroup:null,selectedProjectsProfitAndLossFilterIncomeGroup:null,projectProfitAndLossFilterDetailsFromMonth:null,projectProfitAndLossFilterDetailsToMonth:null},gF={getLabelProjects:function(t){return t.labelProjects},getSelectedLabelProjects:function(t){return t.selectedLabelProjects},getIsAllSelectedLabelProjects:function(t){return t.isAllSelectedLabelProjects},getExpandedLabelProjects:function(t){return t.expandedLabelProjects},getLabelProjectsServerSideSortingOptions:function(t){return t.labelProjectsServerSideSortingOptions},getLabelProjectsSearch:function(t){return t.labelProjectsSearch},getSelectedLabelProjectsAction:function(t){return t.selectedLabelProjectsAction},getDefaultLabelProject:function(t){return t.defaultLabelProject},getLabelProjectsDetails:function(t){return t.labelProjectsDetails},getLabelProjectsDetailsAlvId:function(t){return t.labelProjectsDetails.alvId},getLabelProjectsDetailsTitle:function(t){return t.labelProjectsDetails.title},getLabelProjectsDetailsProjectnumber:function(t){return t.labelProjectsDetails.projectNumber},getLabelProjectsDetailsNotes:function(t){return t.labelProjectsDetails.note},getLabelProjectsDetailsProjectDate:function(t){return t.labelProjectsDetails.projectStartDate},getLabelProjectsDetailsUrl:function(t){return t.labelProjectsDetails.url},getLabelProjectsDetailsTags:function(t){return t.labelProjectsDetails.tag},getLabelProjectsReleases:function(t){return t.labelProjectsReleases},getProjectsReleasesSearch:function(t){return t.projectsReleasesSearch},getSelectedProjectsReleases:function(t){return t.selectedProjectsReleases},getProjectsProfitAndLossResult:function(t){return t.projectsProfitAndLossResult},getProjectsProfitAndLossCosts:function(t){return t.projectsProfitAndLossCosts},getProjectsProfitAndLossIncome:function(t){return t.projectsProfitAndLossIncome},getProjectsProfitAndLossIsLoading:function(t){return t.projectsProfitAndLossIsLoading},getSelectedProjectsProfitAndLossFilterCostGroup:function(t){return t.selectedProjectsProfitAndLossFilterCostGroup},getSelectedProjectsProfitAndLossFilterIncomeGroup:function(t){return t.selectedProjectsProfitAndLossFilterIncomeGroup},getProjectProfitAndLossFilterDetailsFromMonth:function(t){return t.projectProfitAndLossFilterDetailsFromMonth},getProjectProfitAndLossFilterDetailsToMonth:function(t){return t.projectProfitAndLossFilterDetailsToMonth}},pF={setLabelProjects:function(t,e){t.labelProjects=e},setSelectedLabelProjects:function(t,e){t.selectedLabelProjects=e},setIsAllSelectedLabelProjects:function(t,e){t.isAllSelectedLabelProjects=e},setExpandedLabelProjects:function(t,e){t.expandedLabelProjects=[e]},setLabelProjectsServerSideSortingOptions:function(t,e){t.labelProjectsServerSideSortingOptions=e},setLabelProjectsSearch:function(t,e){t.labelProjectsSearch=e},setSelectedLabelProjectsAction:function(t,e){t.selectedLabelProjectsAction=e},setDefaultLabelProject:function(t){t.defaultLabelProject=uF},setLabelProjectsDetails:function(t,e){t.labelProjectsDetails=e},setLabelProjectsDetailsAlvId:function(t,e){t.labelProjectsDetails.alvId=e},setLabelProjectsDetailsTitle:function(t,e){t.labelProjectsDetails.title=e},setLabelProjectsDetailsProjectnumber:function(t,e){t.labelProjectsDetails.projectNumber=e},setLabelProjectsDetailsNotes:function(t,e){t.labelProjectsDetails.note=e},setLabelProjectsDetailsProjectDate:function(t,e){t.labelProjectsDetails.projectStartDate=e},setLabelProjectsDetailsUrl:function(t,e){t.labelProjectsDetails.url=e},setLabelProjectsDetailsTags:function(t,e){t.labelProjectsDetails.tag=e},setLabelProjectsReleases:function(t,e){t.labelProjectsReleases=e},setProjectsReleasesSearch:function(t,e){t.projectsReleasesSearch=e},setSelectedProjectsReleases:function(t,e){t.selectedProjectsReleases=e},setProjectsProfitAndLossResult:function(t,e){t.projectsProfitAndLossResult=e},setProjectsProfitAndLossCosts:function(t,e){t.projectsProfitAndLossCosts=e},setProjectsProfitAndLossIncome:function(t,e){t.projectsProfitAndLossIncome=e},setProjectsProfitAndLossIsLoading:function(t,e){t.projectsProfitAndLossIsLoading=e},setSelectedProjectsProfitAndLossFilterCostGroup:function(t,e){t.selectedProjectsProfitAndLossFilterCostGroup=e},setSelectedProjectsProfitAndLossFilterIncomeGroup:function(t,e){t.selectedProjectsProfitAndLossFilterIncomeGroup=e},setProjectProfitAndLossFilterDetailsFromMonth:function(t,e){t.projectProfitAndLossFilterDetailsFromMonth=e},setProjectProfitAndLossFilterDetailsToMonth:function(t,e){t.projectProfitAndLossFilterDetailsToMonth=e}},vF={fetchLabelProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getLabelProjectsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),l=n.getLabelProjectsServerSideSortingOptions,t.next=7,k$.getListData2(cF,n.getCurrentPage,l.sortBy,l.sortDesc,s);case 7:o=t.sent,void 0===o||o.hasOwnProperty("list")&&0===o.list.length||1===o.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),r=[]):r=o.list,this._vm.$alvPlugin.storePagingInformations(o.filteredRecords,o.currentPage,o.totalRecords),a("setLabelProjects",r),a("setIsLoading",!1);case 12:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelProjectsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=6;break}l=JSON.parse(JSON.stringify(i.getDefaultLabelProject)),r=l,t.next=10;break;case 6:return t.next=8,k$.getDetailsById(cF,a);case 8:o=t.sent,r=void 0===o||0===o.length||1===o.error?{}:o;case 10:n("setLabelProjectsDetails",r),s("fetchLabelProjectReleases"),n("setIsLoading",!1);case 13:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveLabelProjectsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getLabelProjectsDetailsAlvId,r=n.getLabelProjectsDetails,r["releases"]=n.getLabelProjectsReleases,l="new"==O$.currentRoute.params.alvId,t.next=7,k$.saveEditForm(cF,s,r,l);case 7:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=13;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_MESSAGE_ERROR_SAVING_FAILED")}),t.next=17;break;case 13:return a("setSnackbar",{type:"success",msg:it.t("lang_PUBLISHING_PROJECTS_SNACKBAR_PROJECT_SAVED")}),l&&O$.push({name:"LabelProjectsEdit",params:{alvId:o.response.alvId}}),t.next=17,i("fetchLabelProjectsDetails",o.response.alvId);case 17:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doLabelProjectsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,e.dispatch,!(dF.selectedLabelProjects.length>0)){t.next=9;break}t.t0=dF.selectedLabelProjectsAction,t.next="delete"===t.t0?5:7;break;case 5:return a("setShowDeletionDialog",!0),t.abrupt("break",7);case 7:t.next=11;break;case 9:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,r=i.getSelectedLabelProjects,l=i.getLabelProjects,t.next=5,k$.deleteEntries(cF,r);case 5:if(o=t.sent,-1===o.error){for(c=function(t){var e=l.findIndex((function(e){return e.alvId==r[t]}));n["default"].delete(l,e)},u=0;u<r.length;u++)c(u);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedLabelProjects",[]),a("setSelectedLabelProjectsAction",[]),s("fetchLabelProjects")}case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelProjectReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getLabelProjectsDetails.releases,void 0!==i&&null!==i||(i=[]),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setLabelProjectsReleases",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchProjectsReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getProjectsReleasesSearch,t.next=4,k$.getFilteredResults("label/releases",n);case 4:return i=t.sent,t.abrupt("return",i.list);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addReleaseToProjects:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(n=e.getters,i=e.commit,s=n.getLabelProjectsReleases,r=s.length,l=0;l<a.length;l++)s.push(a[l]);o=s.length,o>r&&i("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_ADDED_SUCCESSFULLY")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")});case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedProjectsReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,i=e.getters,s=i.getSelectedProjectsReleases,r=s.alvId,l=i.getLabelProjectsReleases,o=l.findIndex((function(t){return t.alvId===r})),c=i.getLabelProjectsReleases.length,n["default"].delete(l,o),u=i.getLabelProjectsReleases.length,a("setSnackbar",c>u?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),a("setSelectedProjectsReleases",[]),0===u&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchProjectsProfitAndLoss:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setProjectsProfitAndLossIsLoading",!0),i=a.getProjectProfitAndLossFilterDetailsFromMonth,s=a.getProjectProfitAndLossFilterDetailsToMonth,r="fromMonth="+i+"&toMonth="+s,l=a.getLabelProjectsDetailsAlvId,t.next=8,k$.getProfitAndLossResult(cF+"/"+l+"/profitAndLoss",r);case 8:o=t.sent,c=[],u=[],Object.values(o.costs).forEach((function(t){return c.push(t)})),Object.values(o.income).forEach((function(t,e){return t["id"]=e,u.push(t)})),n("setProjectsProfitAndLossResult",o.totalSum),n("setProjectsProfitAndLossCosts",c),n("setProjectsProfitAndLossIncome",u),n("setProjectsProfitAndLossIsLoading",!1);case 17:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},_F={state:dF,getters:gF,actions:vF,mutations:pF},hF="label/salesdata",mF={showConversionFactor:!0,conversionFactor:null,commissionPercent:null,period:{num:null,period:"notDefined",year:null}},fF={salesData:[],selectedSalesData:[],isAllSelectedSalesData:!1,expandedSalesData:[],salesDataInlineEditingDialogDetails:{},salesDataInlineEditingDialogDefault:mF,salesDataServerSideSortingOptions:{sortBy:["importDate"],sortDesc:[!0],mustSort:!0},salesDataSearch:"",selectedSalesDataAction:"",labelSalesDataImportOptions:[],labelSalesDataDetailsSelectedCompany:[],selectedImportSalesDataCheckbox:["runErrorLists"],labelSalesDataDetailsImportCurrencyConversionFactor:null,labelSalesDataDetailsImportAbbreviation:[],labelSalesDataDetailsAlvIdOfSource:null,labelSalesDataDetailsFileExtensions:null,selectedPeriodValues:{number:null,timeUnit:"notDefined",year:null},labelSalesDataDetailsImportCommissionPercent:null,salesDataDetails:{}},SF={getSalesData:function(t){return t.salesData},getSelectedSalesData:function(t){return t.selectedSalesData},getIsAllSelectedSalesData:function(t){return t.isAllSelectedSalesData},getExpandedSalesData:function(t){return t.expandedSalesData},getSalesDataServerSideSortingOptions:function(t){return t.salesDataServerSideSortingOptions},getSalesDataInlineEditingDialogDefault:function(t){return t.salesDataInlineEditingDialogDefault},getSalesDataInlineEditingDialogDetails:function(t){return t.salesDataInlineEditingDialogDetails},getSalesDataInlineEditingDialogDetailsConversionFactor:function(t){return t.salesDataInlineEditingDialogDetails.conversionFactor},getSalesDataInlineEditingDialogDetailsCommissionPercent:function(t){return t.salesDataInlineEditingDialogDetails.commissionPercent},getSelectedPeriodValuesSalesDataInlineEditingDialog:function(t){return t.salesDataInlineEditingDialogDetails.period},getSelectedPeriodNumberSalesDataInlineEditingDialog:function(t){return t.salesDataInlineEditingDialogDetails.period.num},getSelectedPeriodTimeUnitSalesDataInlineEditingDialog:function(t){return t.salesDataInlineEditingDialogDetails.period.period},getSelectedPeriodYearSalesDataInlineEditingDialog:function(t){return t.salesDataInlineEditingDialogDetails.period.year},getSalesDataSearch:function(t){return t.salesDataSearch},getSelectedSalesDataAction:function(t){return t.selectedSalesDataAction},getSalesDataImportOptions:function(t){return t.labelSalesDataImportOptions},getLabelSalesDataDetailsSelectedCompany:function(t){return t.labelSalesDataDetailsSelectedCompany},getSelectedImportSalesDataCheckbox:function(t){return t.selectedImportSalesDataCheckbox},getSalesDataDetailsImportCurrencyConversionFactor:function(t){return t.labelSalesDataDetailsImportCurrencyConversionFactor},getSalesDataDetailsAbbreviation:function(t){return t.labelSalesDataDetailsImportAbbreviation},getSalesDataDetailsAlvIdOfSource:function(t){return t.labelSalesDataDetailsAlvIdOfSource},getSalesDataDetailsFileExtensions:function(t){return t.labelSalesDataDetailsFileExtensions},getSalesDataDetailsImportCommissionPercent:function(t){return t.labelSalesDataDetailsImportCommissionPercent},getSelectedPeriodValuesSalesdata:function(t){return t.selectedPeriodValues},getSelectedPeriodNumberSalesdata:function(t){return t.selectedPeriodValues.num},getSelectedPeriodTimeUnitSalesdata:function(t){return t.selectedPeriodValues.period},getSelectedPeriodYearSalesdata:function(t){return t.selectedPeriodValues.year},getSalesDataDetails:function(t){return t.salesDataDetails}},EF={setSalesData:function(t,e){t.salesData=e},setSelectedSalesData:function(t,e){t.selectedSalesData=e},setIsAllSelectedSalesData:function(t,e){t.isAllSelectedSalesData=e},setExpandedSalesData:function(t,e){0===Object.keys(e).length?t.expandedSalesData=[]:t.expandedSalesData.push(e)},setSalesDataServerSideSortingOptions:function(t,e){t.salesDataServerSideSortingOptions=e},setSalesDataInlineEditingDialogDefault:function(t){t.salesDataInlineEditingDialogDefault=mF},setSalesDataInlineEditingDialogDetails:function(t,e){t.salesDataInlineEditingDialogDetails=e},setSalesDataInlineEditingDialogDetailsConversionFactor:function(t,e){t.salesDataInlineEditingDialogDetails.conversionFactor=e},setSalesDataInlineEditingDialogDetailsCommissionPercent:function(t,e){t.salesDataInlineEditingDialogDetails.commissionPercent=e},setSelectedPeriodValuesSalesDataInlineEditingDialog:function(t,e){t.salesDataInlineEditingDialogDetails.period=e},setSelectedPeriodNumberSalesDataInlineEditingDialog:function(t,e){t.salesDataInlineEditingDialogDetails.period.num=e},setSelectedPeriodTimeUnitSalesDataInlineEditingDialog:function(t,e){t.salesDataInlineEditingDialogDetails.period.period=e},setSelectedPeriodYearSalesDataInlineEditingDialog:function(t,e){t.salesDataInlineEditingDialogDetails.period.year=e},setSalesDataSearch:function(t,e){t.salesDataSearch=e},setSelectedSalesDataAction:function(t,e){t.selectedSalesDataAction=e},setSalesDataImportOptions:function(t,e){t.labelSalesDataImportOptions=e},setLabelSalesDataDetailsSelectedCompany:function(t,e){t.labelSalesDataDetailsSelectedCompany=e},setSelectedImportSalesDataCheckbox:function(t,e){t.selectedImportSalesDataCheckbox=e},setSalesDataDetailsImportCurrencyConversionFactor:function(t,e){t.labelSalesDataDetailsImportCurrencyConversionFactor=e},setSalesDataDetailsAbbreviation:function(t,e){t.labelSalesDataDetailsImportAbbreviation=e},setSalesDataDetailsAlvIdOfSource:function(t,e){t.labelSalesDataDetailsAlvIdOfSource=e},setSalesDataDetailsFileExtensions:function(t,e){t.labelSalesDataDetailsFileExtensions=e},setSalesDataDetailsImportCommissionPercent:function(t,e){t.labelSalesDataDetailsImportCommissionPercent=e},setSelectedPeriodValues:function(t,e){t.selectedPeriodValues=e},setSelectedPeriodNumberSalesdata:function(t,e){t.selectedPeriodValues.num=e},setSelectedPeriodTimeUnitSalesdata:function(t,e){t.selectedPeriodValues.period=e},setSelectedPeriodYearSalesdata:function(t,e){t.selectedPeriodValues.year=e},setSalesDataDetails:function(t,e){t.salesDataDetails=e}},IF={fetchSalesData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getSalesDataSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getSalesDataServerSideSortingOptions,t.next=7,k$.getListData2(hF,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setSalesData",[])):a("setSalesData",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSalesDataDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getDetailsById(hF,a,"/errorList");case 3:i=t.sent,0===i.list.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setSalesDataDetails",i),n("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchSalesDataImporters:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getImporters("label/salesdata");case 3:i=t.sent,n("setSalesDataImportOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveSalesDataEditDialog:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,n("setIsLoading",!0),s=a.getSelectedSalesData,r={period:a.getSelectedPeriodValuesSalesDataInlineEditingDialog,conversionFactor:a.getSalesDataInlineEditingDialogDetailsConversionFactor,commissionPercent:a.getSalesDataInlineEditingDialogDetailsCommissionPercent},t.next=6,k$.saveEditForm(hF,s,r);case 6:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_LABEL_SALES_DATA_SUCCESS_SAVED")}),i("fetchSalesData")):(o=l.response.errorMsg,n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doSalesDataAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,i=e.getters,s={salesFileIds:i.getSelectedSalesData},t.t0=fF.selectedSalesDataAction,t.next="runErrorLists"===t.t0?5:"downloadErrorList"===t.t0?7:"createFromSalesData"===t.t0?9:"delete"===t.t0?11:"move"===t.t0?13:15;break;case 5:return fF.selectedSalesData.length>0?n("runErrorLists",{dir:hF,metaData:s,context:"SalesData"}):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 7:return fF.selectedSalesData.length>0?n("downloadErrorLists",{dir:hF,metaData:s}):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 9:return 1===fF.selectedSalesData.length?n("createFromSalesData"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 11:return fF.selectedSalesData.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 13:return fF.selectedSalesData.length>0?a("setShowMoveContractsDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",15);case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),createFromSalesData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n=e.commit,i=e.dispatch,s=a.getSelectedSalesData,r=a.getSalesData,l=r.find((function(t){return t.alvId===s[0]})),!(l.records>900)){t.next=8;break}n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ABOVE_900_RECORDS")}),t.next=17;break;case 8:return n("setIsLoading",!0),o={},o["alvIds"]=s,c={action:"createInvoiceFromSalesData"},t.next=14,k$.triggerAction(hF,o,c);case 14:u=t.sent,-1===u.error?(d=a.getLabelCompanies.find((function(t){return t.id===a.getSelectedLabelCompanyId})),n("setSelectedOverAllCompany",d),i("changeCompany"),O$.push({name:"InvoicesEdit",params:{alvId:u.response.alvId}}),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t(u.response.errorMsg)}),n("setIsLoading",!1);case 17:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedSalesData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(hF,i.getSelectedSalesData);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getSalesData.findIndex((function(e){return e.alvId==i.getSelectedSalesData[t]}));n["default"].delete(i.getSalesData,e)},o=0;o<i.getSelectedSalesData.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedSalesData",[]),a("setSelectedSalesDataAction",[]),s("fetchSalesData")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),moveSelectedLabelSalesData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={alvIds:a.getSelectedSalesData,company:a.getLabelSalesDataDetailsSelectedCompany},r={action:"move"},t.next=5,k$.triggerAction(hF,s,r);case 5:l=t.sent,-1===l.error&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_MOVED")}),n("setSelectedSalesData",[]),n("setIsAllSelectedSalesData",!1),n("setSelectedSalesDataAction",[]),i("fetchSalesData");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},CF={state:fF,getters:SF,actions:IF,mutations:EF},AF="label/statements",TF={labelStatements:[],isAllSelectedLabelStatements:!1,selectedLabelStatements:[],expandedLabelStatements:[],labelStatementsServerSideSortingOptions:{sortBy:["createdOn"],sortDesc:[!0],mustSort:!0},labelStatementsSearch:"",selectedLabelStatementsAction:[],selectedPeriodValues:{number:null,timeUnit:null,year:null},isLabelStatementsRunning:!1,runningLabelStatementsPercentValues:[],labelStatementsStatementPreviewDialogDetailsStatementPreviewDate:W$.dateToISOFormat(new Date),labelStatementsStatementPreviewDialogCreatePdfCheckbox:!0,showLabelStatemtensArchivingDialog:!1,labelStatemtensArchivingDialogText:"",archivingInProgress:!1,labelStatementsDetails:{},selectedLabelStatementsArchive:[],selectedLabelStatementsForDeleteArchive:""},bF={getLabelStatements:function(t){return t.labelStatements},getIsAllSelectedLabelStatements:function(t){return t.isAllSelectedLabelStatements},getSelectedLabelStatements:function(t){return t.selectedLabelStatements},getExpandedLabelStatements:function(t){return t.expandedLabelStatements},getLabelStatementsServerSideSortingOptions:function(t){return t.labelStatementsServerSideSortingOptions},getLabelStatementsSearch:function(t){return t.labelStatementsSearch},getSelectedLabelStatementsAction:function(t){return t.selectedLabelStatementsAction},getSelectedPeriodValuesLabelStatements:function(t){return t.selectedPeriodValues},getSelectedPeriodNumberLabelStatements:function(t){return t.selectedPeriodValues.number},getSelectedPeriodTimeUnitLabelStatements:function(t){return t.selectedPeriodValues.timeUnit},getSelectedPeriodYearLabelStatements:function(t){return t.selectedPeriodValues.year},getIsLabelStatementsRunning:function(t){return t.isLabelStatementsRunning},getRunningLabelStatementsPercentValues:function(t){return t.runningLabelStatementsPercentValues},getLabelStatementsStatementPreviewDialogDetailsStatementPreviewDate:function(t){return t.labelStatementsStatementPreviewDialogDetailsStatementPreviewDate},getLabelStatementsStatementPreviewDialogCreatePdfCheckbox:function(t){return t.labelStatementsStatementPreviewDialogCreatePdfCheckbox},getShowLabelStatemtensArchivingDialog:function(t){return t.showLabelStatemtensArchivingDialog},getArchivingInProgress:function(t){return t.archivingInProgress},getLabelStatementsDetails:function(t){return t.labelStatementsDetails},getSelectedLabelStatementsArchive:function(t){return t.selectedLabelStatementsArchive},getSelectedLabelStatementsForDeleteArchive:function(t){return t.selectedLabelStatementsForDeleteArchive}},PF={setLabelStatements:function(t,e){t.labelStatements=e},setIsAllSelectedLabelStatements:function(t,e){t.isAllSelectedLabelStatements=e},setSelectedLabelStatements:function(t,e){t.selectedLabelStatements=e},setExpandedLabelStatements:function(t,e){0===Object.keys(e).length?t.expandedLabelStatements=[]:t.expandedLabelStatements.push(e)},setLabelStatementsServerSideSortingOptions:function(t,e){t.labelStatementsServerSideSortingOptions=e},setLabelStatementsSearch:function(t,e){t.labelStatementsSearch=e},setSelectedLabelStatementsAction:function(t,e){t.selectedLabelStatementsAction=e},setSelectedPeriodValues:function(t,e){t.selectedPeriodValues=e},setSelectedPeriodNumberLabelStatements:function(t,e){t.selectedPeriodValues.number=e},setSelectedPeriodTimeUnitLabelStatements:function(t,e){t.selectedPeriodValues.timeUnit=e},setSelectedPeriodYearLabelStatements:function(t,e){t.selectedPeriodValues.year=e},setIsLabelStatementsRunning:function(t,e){t.isLabelStatementsRunning=e},setRunningLabelStatementsPercentValues:function(t,e){t.runningLabelStatementsPercentValues=e},setLabelStatementsStatementPreviewDialogDetailsStatementPreviewDate:function(t,e){t.labelStatementsStatementPreviewDialogDetailsStatementPreviewDate=e},setLabelStatementsStatementPreviewDialogCreatePdfCheckbox:function(t,e){t.labelStatementsStatementPreviewDialogCreatePdfCheckbox=e},setShowLabelStatemtensArchivingDialog:function(t,e){t.showLabelStatemtensArchivingDialog=e},setArchivingInProgress:function(t,e){t.archivingInProgress=e},setLabelStatementsDetails:function(t,e){t.labelStatementsDetails=e},setSelectedLabelStatementsArchive:function(t,e){t.selectedLabelStatementsArchive=e},setSelectedLabelStatementsForDeleteArchive:function(t,e){t.selectedLabelStatementsForDeleteArchive=e}},DF={fetchLabelStatements:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getLabelStatementsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getLabelStatementsServerSideSortingOptions,t.next=7,k$.getListData2(AF,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setLabelStatements",[])):a("setLabelStatements",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelStatementsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getDetailsById(AF,a);case 3:s=t.sent,void 0===s||0===s.length||1===s.error?(s={},n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"})):i=s,n("setLabelStatementsDetails",i),n("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedLabelStatementsArchive:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,t.next=3,k$.deleteEntries(AF,[a.getSelectedLabelStatementsArchive.alvId]);case 3:if(s=t.sent,-1!==s.error){t.next=7;break}return t.next=7,i("fetchLabelStatementsDetails",a.getSelectedLabelStatementsForDeleteArchive);case 7:r=a.getExpandedLabelStatements.findIndex((function(t){return t.alvId===a.getSelectedLabelStatementsForDeleteArchive})),a.getExpandedLabelStatements.splice(r,1),n("setExpandedLabelStatements",a.getLabelStatementsDetails),n("setSelectedLabelStatementsArchive",[]);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doLabelStatementsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,e.dispatch,n=e.getters,i=n.getSelectedLabelStatements,0!==i.length){t.next=7;break}a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0),t.next=28;break;case 7:s=n.getSelectedPeriodTimeUnitLabelStatements,r=n.getSelectedPeriodNumberLabelStatements,l=n.getSelectedPeriodYearLabelStatements,o="year"===s&&""!==l&&void 0!==l&&null!==l?s+","+l:"month"!==s&&"quarter"!==s&&"halfyear"!==s||""===r||void 0===r||null===r||""===l||void 0===l||null===l?null:r+","+s+","+l,t.t0=n.getSelectedLabelStatementsAction,t.next="launchStatementRun"===t.t0?14:"archiveWithForwarded"===t.t0||"archiveWithoutForwarded"===t.t0?16:"bulkDownload"===t.t0?18:28;break;case 14:return null!==o?(a("setIsLabelStatementsRunning",!1),TF.runningLabelStatementsPercentValues=[],a("setShowStatementPreviewDialog",!0)):a("setShowPeriodRequiredDialog",!0),t.abrupt("break",28);case 16:return a("setShowLabelStatemtensArchivingDialog",!0),t.abrupt("break",28);case 18:if(null===o){t.next=26;break}return t.next=21,k$.triggerAction(AF,i,{action:"bulkDownload",period:o});case 21:c=t.sent,k$.getFileFromALV(c.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}),t.next=27;break;case 26:a("setShowPeriodRequiredDialog",!0);case 27:return t.abrupt("break",28);case 28:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),archiveLabelStatements:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.dispatch,i=e.commit,s=a.getSelectedLabelStatements,r={alvIds:s,tags:{add:a.getAddTag,remove:null}},l={action:a.getSelectedLabelStatementsAction},i("setArchivingInProgress",!0),t.next=7,k$.triggerAction(AF,r,l);case 7:o=t.sent,-1===o.error?i("setSnackbar",{type:"success",msg:it.t("lang_LABEL_STATEMTENS_SNACKBAR_ARCHIVING_SUCCESSFULL")}):i("setSnackbar",{type:"error",msg:it.t("lang_LABEL_STATEMTENS_SNACKBAR_ARCHIVING_NOT_SUCCESSFULL")}),i("setExpandedLabelStatements",[]),i("setSelectedLabelStatements",[]),i("setSelectedLabelStatementsAction",[]),i("setIsAllSelectedLabelStatements",!1),i("setArchivingInProgress",!1),i("setShowLabelStatemtensArchivingDialog",!1),n("fetchLabelStatements");case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},NF={state:TF,getters:bF,actions:DF,mutations:PF},RF="label/statistics",xF={labelStatistics:[],selectedLabelStatisticsReport:"",labelStatisticsSearch:"",selectedLabelStatisticsRows:null,selectedLabelStatisticsColumnTitles:null,selectedLabelStatisticsOutputValues:null,selectedLabelStatisticsFrom:null,selectedLabelStatisticsTo:null,selectedLabelStatisticsRegions:{include:[],exclude:[]},selectedLabelStatisticsRegionsString:"",selectedLabelStatisticsSalesType:["TS"],selectedLabelStatisticsPlatforms:[],selectedLabelStatisticsLeftChart:"byPlatforms",selectedLabelStatisticsRightChart:"byCountries",selectedLabelStatisticsDataTable:"top100Tracks",labelStatisticSearchType:0,labelStatisticsSearchMode:0,labelStatisticsTrackOptions:[],labelStatisticsDetailsTrack:null,labelStatisticsReleaseOptions:[],labelStatisticsDetailsRelease:null,labelStatisticsDetailsProduct:null,selectedLabelStatisticsProduct:null,labelStatisticsArtistOptions:[],labelStatisticsDetailsArtist:null,labelStatisticsDistributorsDropdownValues:[],selectedLabelStatisticsDistributors:[],labelStatisticsFavoriteDropdownValues:[],selectedLabelStatisticsFavorite:null,showLabelStatisticsCreateNewFavoriteDialog:!1,labelStatisticsCreateNewFavoriteDialogDetailsFavoriteName:null,tempSaveSelectedLabelStatisticsFavorite:[],showLabelStatisticsChartsSection:!1,labelStatisticsFirstPieChartTitle:"",labelStatisticsFirstPieChartSeriesTitle:"",labelStatisticsFirstPieChartSeriesData:[],labelStatisticsSecondPieChartTitle:"",labelStatisticsSecondPieChartSeriesTitle:"",labelStatisticsSecondPieChartSeriesData:[],labelStatisticCards:[],labelStatisticsDatatableData:[]},OF={getLabelStatistics:function(t){return t.labelStatistics},getSelectedLabelStatisticsReport:function(t){return t.selectedLabelStatisticsReport},getLabelStatisticsSearch:function(t){return t.labelStatisticsSearch},getSelectedLabelStatisticsRows:function(t){return t.selectedLabelStatisticsRows},getSelectedLabelStatisticsColumnTitles:function(t){return t.selectedLabelStatisticsColumnTitles},getSelectedLabelStatisticsOutputValues:function(t){return t.selectedLabelStatisticsOutputValues},getSelectedLabelStatisticsFrom:function(t){return t.selectedLabelStatisticsFrom},getSelectedLabelStatisticsTo:function(t){return t.selectedLabelStatisticsTo},getSelectedLabelStatisticsRegions:function(t){return t.selectedLabelStatisticsRegions},getSelectedLabelStatisticsRegionsInclude:function(t){return t.selectedLabelStatisticsRegions.include},getSelectedLabelStatisticsRegionsExclude:function(t){return t.selectedLabelStatisticsRegions.exclude},getSelectedLabelStatisticsRegionsString:function(t){return t.selectedLabelStatisticsRegionsString},getSelectedLabelStatisticsSalesType:function(t){return t.selectedLabelStatisticsSalesType},getSelectedLabelStatisticsPlatforms:function(t){return t.selectedLabelStatisticsPlatforms},getSelectedLabelStatisticsDistributors:function(t){return t.selectedLabelStatisticsDistributors},getSelectedLabelStatisticsProduct:function(t){return t.labelStatisticsDetailsProduct?t.selectedLabelStatisticsProduct:null},getSelectedLabelStatisticsLeftChart:function(t){return t.selectedLabelStatisticsLeftChart},getSelectedLabelStatisticsRightChart:function(t){return t.selectedLabelStatisticsRightChart},getSelectedLabelStatisticsDataTable:function(t){return t.selectedLabelStatisticsDataTable},getSelectedLabelStatisticsSearchType:function(t){return t.labelStatisticSearchType},getSelectedLabelStatisticsSearchMode:function(t){return t.labelStatisticsSearchMode},getLabelStatisticsTrackOptions:function(t){return t.labelStatisticsTrackOptions},getLabelStatisticsDetailsTrack:function(t){return t.labelStatisticsDetailsTrack},getLabelStatisticsReleaseOptions:function(t){return t.labelStatisticsReleaseOptions},getLabelStatisticsDetailsRelease:function(t){return t.labelStatisticsDetailsRelease},getLabelStatisticsDetailsProduct:function(t){return t.labelStatisticsDetailsProduct},getLabelStatisticsArtistOptions:function(t){return t.labelStatisticsArtistOptions},getLabelStatisticsDetailsArtist:function(t){return t.labelStatisticsDetailsArtist},getLabelStatisticsDistributorsDropdownValues:function(t){return t.labelStatisticsDistributorsDropdownValues},getLabelStatisticsFavoriteDropdownValues:function(t){return t.labelStatisticsFavoriteDropdownValues},getSelectedLabelStatisticsFavorite:function(t){return t.selectedLabelStatisticsFavorite},getShowLabelStatisticsCreateNewFavoriteDialog:function(t){return t.showLabelStatisticsCreateNewFavoriteDialog},getLabelStatisticsCreateNewFavoriteDialogDetailsFavoriteName:function(t){return t.labelStatisticsCreateNewFavoriteDialogDetailsFavoriteName},getTempSaveSelectedLabelStatisticsFavorite:function(t){return t.tempSaveSelectedLabelStatisticsFavorite},getLabelStatisticsFirstPieChartTitle:function(t){return t.labelStatisticsFirstPieChartTitle},getLabelStatisticsFirstPieChartSeriesTitle:function(t){return t.labelStatisticsFirstPieChartSeriesTitle},getLabelStatisticsFirstPieChartSeriesData:function(t){return t.labelStatisticsFirstPieChartSeriesData},getLabelStatisticsSecondPieChartTitle:function(t){return t.labelStatisticsSecondPieChartTitle},getLabelStatisticsSecondPieChartSeriesTitle:function(t){return t.labelStatisticsSecondPieChartSeriesTitle},getLabelStatisticsSecondPieChartSeriesData:function(t){return t.labelStatisticsSecondPieChartSeriesData},getShowLabelStatisticsChartsSection:function(t){return t.showLabelStatisticsChartsSection},getLabelStatisticsCards:function(t){return t.labelStatisticCards},getLabelStatisticsDatatableData:function(t){return t.labelStatisticsDatatableData}},wF={setLabelStatistics:function(t,e){t.labelStatistics=e},setSelectedLabelStatisticsReport:function(t,e){t.selectedLabelStatisticsReport=e},setLabelStatisticsSearch:function(t,e){t.labelStatisticsSearch=e},setSelectedLabelStatisticsRows:function(t,e){t.selectedLabelStatisticsRows=e},setSelectedLabelStatisticsColumnTitles:function(t,e){t.selectedLabelStatisticsColumnTitles=e},setSelectedLabelStatisticsOutputValues:function(t,e){t.selectedLabelStatisticsOutputValues=e},setSelectedLabelStatisticsFrom:function(t,e){t.selectedLabelStatisticsFrom=e},setSelectedLabelStatisticsTo:function(t,e){t.selectedLabelStatisticsTo=e},setSelectedLabelStatisticsRegions:function(t,e){t.selectedLabelStatisticsRegions=e},setSelectedLabelStatisticsRegionsInclude:function(t,e){t.selectedLabelStatisticsRegions.include=e},setSelectedLabelStatisticsRegionsExclude:function(t,e){t.selectedLabelStatisticsRegions.exclude=e},setSelectedLabelStatisticsRegionsString:function(t,e){t.selectedLabelStatisticsRegionsString=e},setSelectedLabelStatisticsSalesType:function(t,e){t.selectedLabelStatisticsSalesType=e},setSelectedLabelStatisticsPlatforms:function(t,e){t.selectedLabelStatisticsPlatforms=e},setSelectedLabelStatisticsDistributors:function(t,e){t.selectedLabelStatisticsDistributors=e},setSelectedLabelStatisticsProduct:function(t,e){t.selectedLabelStatisticsProduct=e},setSelectedLabelStatisticsLeftChart:function(t,e){t.selectedLabelStatisticsLeftChart=e},setSelectedLabelStatisticsRightChart:function(t,e){t.selectedLabelStatisticsRightChart=e},setSelectedLabelStatisticsDataTable:function(t,e){t.selectedLabelStatisticsDataTable=e},setSelectedLabelStatisticsSearchType:function(t,e){t.labelStatisticSearchType=e},setSelectedLabelStatisticsSearchMode:function(t,e){t.labelStatisticsSearchMode=e},setLabelStatisticsTrackOptions:function(t,e){t.labelStatisticsTrackOptions=e},setLabelStatisticsDetailsTrack:function(t,e){t.labelStatisticsDetailsTrack=e,t.labelStatisticsDetailsProduct=e},setLabelStatisticsReleaseOptions:function(t,e){t.labelStatisticsReleaseOptions=e},setLabelStatisticsDetailsRelease:function(t,e){t.labelStatisticsDetailsRelease=e,t.labelStatisticsDetailsProduct=e},setLabelStatisticsDetailsProduct:function(t,e){t.labelStatisticsDetailsProduct=e},setLabelStatisticsArtistOptions:function(t,e){t.labelStatisticsArtistOptions=e},setLabelStatisticsDetailsArtist:function(t,e){t.labelStatisticsDetailsArtist=e},setLabelStatisticsFavoriteDropdownValues:function(t,e){t.labelStatisticsFavoriteDropdownValues=e},setSelectedLabelStatisticsFavorite:function(t,e){null!==e&&e.hasOwnProperty("value")&&"deleteFavorite"===e.value&&(t.tempSaveSelectedLabelStatisticsFavorite=t.selectedLabelStatisticsFavorite),t.selectedLabelStatisticsFavorite=e},setShowLabelStatisticsCreateNewFavoriteDialog:function(t,e){t.showLabelStatisticsCreateNewFavoriteDialog=e},setLabelStatisticsCreateNewFavoriteDialogDetailsFavoriteName:function(t,e){t.labelStatisticsCreateNewFavoriteDialogDetailsFavoriteName=e},setTempSaveSelectedLabelStatisticsFavorite:function(t,e){t.tempSaveSelectedLabelStatisticsFavorite=e},setLabelStatisticsFirstPieChartTitle:function(t,e){t.labelStatisticsFirstPieChartTitle=e},setLabelStatisticsFirstPieChartSeriesTitle:function(t,e){t.labelStatisticsFirstPieChartSeriesTitle=e},setLabelStatisticsFirstPieChartSeriesData:function(t,e){t.labelStatisticsFirstPieChartSeriesData=e},setLabelStatisticsSecondPieChartTitle:function(t,e){t.labelStatisticsSecondPieChartTitle=e},setLabelStatisticsSecondPieChartSeriesTitle:function(t,e){t.labelStatisticsSecondPieChartSeriesTitle=e},setLabelStatisticsSecondPieChartSeriesData:function(t,e){t.labelStatisticsSecondPieChartSeriesData=e},setShowLabelStatisticsChartsSection:function(t,e){t.showLabelStatisticsChartsSection=e},setLabelStatisticsCards:function(t,e){t.labelStatisticCards=e},setLabelStatisticsDatatableData:function(t,e){t.labelStatisticsDatatableData=e}},LF={fetchLabelStatistics:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,a("setIsLoading",!0),this._vm.$alvPlugin.storePagingInformations(0,1,0),a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setLabelStatistics",[]),a("setIsLoading",!1);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),labelStatisticsExportExcel:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"export",type:"excel"},s={fromMonth:a.getSelectedLabelStatisticsFrom,toMonth:a.getSelectedLabelStatisticsTo,rows:a.getSelectedLabelStatisticsRows,outputValues:a.getSelectedLabelStatisticsOutputValues,search:a.getLabelStatisticsSearch,typeOfReport:a.getSelectedLabelStatisticsColumnTitles,region:a.getSelectedLabelStatisticsRegions},t.next=5,k$.triggerAction(RF,s,i);case 5:r=t.sent,-1===r.error?(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):n("setSnackbar",{type:"error",msg:it.t(r.response.errorMsg)});case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),labelStatisticExportCsv:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!0),i={action:"export",type:"csv"},s={fromMonth:a.getSelectedLabelStatisticsFrom,toMonth:a.getSelectedLabelStatisticsTo,salesType:a.getSelectedLabelStatisticsSalesType,platforms:a.getSelectedLabelStatisticsPlatforms,distributors:a.getSelectedLabelStatisticsDistributors,artist:a.getLabelStatisticsDetailsArtist,region:a.getSelectedLabelStatisticsRegions,product:a.getSelectedLabelStatisticsProduct,leftChart:a.getSelectedLabelStatisticsLeftChart,rightChart:a.getSelectedLabelStatisticsRightChart,dataTable:a.getSelectedLabelStatisticsDataTable},t.next=6,k$.triggerAction(RF,s,i);case 6:r=t.sent,-1===r.error?(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):n("setSnackbar",{type:"error",msg:it.t(r.response.errorMsg)}),n("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),labelStatisticReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setShowLabelStatisticsChartsSection",!1),n("setLabelStatisticsDatatableData",[]),n("setIsLoading",!0),i={fromMonth:a.getSelectedLabelStatisticsFrom,toMonth:a.getSelectedLabelStatisticsTo,salesType:a.getSelectedLabelStatisticsSalesType,platforms:a.getSelectedLabelStatisticsPlatforms,distributors:a.getSelectedLabelStatisticsDistributors,artist:a.getLabelStatisticsDetailsArtist,region:a.getSelectedLabelStatisticsRegions,product:a.getSelectedLabelStatisticsProduct,leftChart:a.getSelectedLabelStatisticsLeftChart,rightChart:a.getSelectedLabelStatisticsRightChart,dataTable:a.getSelectedLabelStatisticsDataTable},t.next=7,k$.triggerAction(RF+"/report",i,{});case 7:s=t.sent,-1===s.error?(s.response.chart1&&(r=s.response.chart1.details,n("setLabelStatisticsFirstPieChartTitle",s.response.chart1.title),n("setLabelStatisticsFirstPieChartSeriesTitle","Revenue"),n("setLabelStatisticsFirstPieChartSeriesData",null==r?[]:r)),s.response.chart2&&(l=s.response.chart2.details,n("setLabelStatisticsSecondPieChartTitle",s.response.chart2.title),n("setLabelStatisticsSecondPieChartSeriesTitle","Revenue"),n("setLabelStatisticsSecondPieChartSeriesData",null==l?[]:l)),s.response.datatable.data&&n("setLabelStatisticsDatatableData",s.response.datatable),s.response.cards&&n("setLabelStatisticsCards",s.response.cards),n("setShowLabelStatisticsChartsSection",!0)):n("setSnackbar",{type:"error",msg:it.t(s.response.errorMsg)}),n("setIsLoading",!1);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelStatisticsArtist:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i="az",t.next=4,k$.getAutocompleteSearch(i,a,"type=artist");case 4:s=t.sent,s=s.list.map((function(t){return{artist:t,value:t.id}})),n("setLabelStatisticsArtistOptions",s);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelStatisticsRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i="label/releases",t.next=4,k$.getAutocompleteSearch(i,a,void 0);case 4:s=t.sent,s=s.list.map((function(t){return{value:t}})),n("setLabelStatisticsReleaseOptions",s);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelStatisticsTrack:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i="label/tracks",t.next=4,k$.getAutocompleteSearch(i,a,void 0);case 4:s=t.sent,s=s.list.map((function(t){return{value:t}})),n("setLabelStatisticsTrackOptions",s);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchLabelStatisticsFavoriteDropdownValues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,k$.getDropdownValues(RF,"favourites");case 3:i=t.sent,s=n.getSelectedLabelStatisticsFavorite,r=[],null===s&&r.push({text:"lang_LABEL_STATISTIC_ADD_NEW_FILTER",value:"newFavorite"}),null!==s&&s.hasOwnProperty("id")&&r.push({text:"lang_LABEL_STATISTIC_DELETE_FILTER",value:"deleteFavorite"}),0!==i.length&&(r.sort((function(t,e){return t.text>e.text?1:e.text>t.text?-1:0})),r.push({divider:!0}),i.forEach((function(t){t["alvqa"]="label-statistics-list-favorite-dropdown-"+t.id,r.push(t)}))),a("setLabelStatisticsFavoriteDropdownValues",r);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doLabelStatisticsFavorite:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=e.dispatch,i("fetchLabelStatisticsFavoriteDropdownValues"),s=a.getSelectedLabelStatisticsFavorite,null!==s&&(s.hasOwnProperty("value")?("newFavorite"===s.value&&n("setShowLabelStatisticsCreateNewFavoriteDialog",!0),"deleteFavorite"===s.value&&(n("setDeletionDialogContext","TempSaveSelectedLabelStatisticsFavorite"),n("setShowDeletionDialog",!0),n("setSelectedLabelStatisticsFavorite",null))):(n("setSelectedLabelStatisticsFrom",s.monthFrom),n("setSelectedLabelStatisticsTo",s.monthTo),n("setSelectedLabelStatisticsRows",s.rows),n("setSelectedLabelStatisticsColumnTitles",s.typeOfReport),n("setSelectedLabelStatisticsOutputValues",s.outputValues),n("setLabelStatisticsSearch",s.search),n("setSelectedLabelStatisticsPlatforms",s.platforms),n("setSelectedLabelStatisticsLeftChart",s.leftChart),n("setSelectedLabelStatisticsRightChart",s.rightChart),n("setSelectedLabelStatisticsSalesType",s.salesType),n("setSelectedLabelStatisticsDistributors",s.distributors),n("setSelectedLabelStatisticsDataTable",s.dataTable),n("setLabelStatisticsArtistOptions",[]),n("setLabelStatisticsDetailsArtist",null),s.artist&&(n("setLabelStatisticsArtistOptions",[s.artist]),n("setLabelStatisticsDetailsArtist",s.artist.value)),null!==s.region?(r=this._vm.$alvPlugin.createRegionsToString(s.region),n("setRegionDialogDetailsInclude",s.region.include),n("setRegionDialogDetailsExclude",s.region.exclude),n("setSelectedLabelStatisticsRegions",s.region),n("setSelectedLabelStatisticsRegionsString",r)):n("setSelectedLabelStatisticsRegionsString",""),s.product&&(s.product.value.alvId.includes("LT")&&(n("setLabelStatisticsDetailsTrack",s.product.value),n("setLabelStatisticsTrackOptions",[s.product]),n("setSelectedLabelStatisticsProduct",s.product.value.alvId)),s.product.value.alvId.includes("LR")&&(n("setSelectedLabelStatisticsSearchType",1),n("setLabelStatisticsDetailsRelease",s.product.value),n("setLabelStatisticsReleaseOptions",[s.product]),n("setSelectedLabelStatisticsProduct",s.product.value.alvId)))));case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),saveNewLabelStatisticsFavorite:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"addFavorite"},r={monthFrom:a.getSelectedLabelStatisticsFrom,monthTo:a.getSelectedLabelStatisticsTo,rows:a.getSelectedLabelStatisticsRows,outputValues:a.getSelectedLabelStatisticsOutputValues,search:a.getLabelStatisticsSearch,typeOfReport:a.getSelectedLabelStatisticsColumnTitles,region:a.getSelectedLabelStatisticsRegions,text:a.getLabelStatisticsCreateNewFavoriteDialogDetailsFavoriteName,platforms:a.getSelectedLabelStatisticsPlatforms,leftChart:a.getSelectedLabelStatisticsLeftChart,rightChart:a.getSelectedLabelStatisticsRightChart,salesType:a.getSelectedLabelStatisticsSalesType,distributors:a.getSelectedLabelStatisticsDistributors,dataTable:a.getSelectedLabelStatisticsDataTable,artist:a.getLabelStatisticsDetailsArtist,product:a.getSelectedLabelStatisticsProduct},t.next=5,k$.triggerAction(RF,r,s);case 5:l=t.sent,-1===l.error?(i("fetchLabelStatisticsFavoriteDropdownValues"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),n("setSelectedLabelStatisticsFavorite",l.response.newFilter)):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteTempSaveSelectedLabelStatisticsFavorite:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getTempSaveSelectedLabelStatisticsFavorite.id,t.next=4,k$.deleteEntries(RF+"/favourites",[s]);case 4:r=t.sent,-1===r.error?(n("setTempSaveSelectedLabelStatisticsFavorite",[]),i("fetchLabelStatisticsFavoriteDropdownValues"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")});case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},yF={state:xF,getters:OF,actions:LF,mutations:wF},qF="erp/pricelists",kF={id:0,alvId:"ALV000000000PL",description:null,rows:[],title:null},BF={id:0,alvId:"ALV000000000PR",currency:null,distributor:null,msp:null,ppd:null,priceCategory:"highprice",regions:null,sps:null,srp:null},$F={pricelists:[],selectedPricelists:[],isAllSelectedPricelists:!1,pricelistsSearch:"",selectedPricelistsAction:[],defaultNewPricelists:kF,pricelistsUniqueId:"",expandedPricelists:[],pricelistsDetails:kF,selectedPricelistsId:null,pricelistsPricelistsRows:[],selectedPricelistsPricelistsRows:[],defaultPricelistsPricelistsRows:BF,pricelistsPricelistsRowsEditingDialogDetails:BF,pricelistsPricelistsRowsDistributorOptions:[],pricelistsPricelistsRowsDistributorSearch:null,pricelistsPricelistsRowsIsNewSearch:null},GF={getPricelists:function(t){return t.pricelists},getSelectedPricelists:function(t){return t.selectedPricelists},getIsAllSelectedPricelists:function(t){return t.isAllSelectedPricelists},getPricelistsSearch:function(t){return t.pricelistsSearch},getSelectedPricelistsAction:function(t){return t.selectedPricelistsAction},getDefaultNewPricelists:function(t){return t.defaultNewPricelists},getExpandedPricelists:function(t){return t.expandedPricelists},getPricelistsDetails:function(t){return t.pricelistsDetails},getPricelistsDetailsAlvId:function(t){return t.pricelistsDetails.alvId},getPricelistsDetailsTitle:function(t){return t.pricelistsDetails.title},getPricelistsDetailsDescription:function(t){return t.pricelistsDetails.description},getPricelistsDetailsDistributor:function(t){return t.pricelistsDetails.distributor},getPricelistsPricelistsRows:function(t){return t.pricelistsPricelistsRows},getSelectedPricelistsPricelistsRows:function(t){return t.selectedPricelistsPricelistsRows},getDefaultPricelistsPricelistsRows:function(t){return t.defaultPricelistsPricelistsRows},getPricelistsPricelistsRowsEditingDialogDetails:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails},getPricelistsPricelistsRowsDistributorOptions:function(t){return t.pricelistsPricelistsRowsDistributorOptions},getPricelistsPricelistsRowsDetailsMsp:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.msp},getPricelistsPricelistsRowsDetailsPpd:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.ppd},getPricelistsPricelistsRowsDetailsSrp:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.srp},getPricelistsPricelistsRowsDetailsSps:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.sps},getPricelistsPricelistsRowsDetailsPriceCategory:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.priceCategory},getPricelistsPricelistsRowsDetailsCurrency:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.currency},getPricelistsPricelistsRowsDetailsRegions:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.regions},getPricelistsPricelistsRowsDetailsDistributor:function(t){return t.pricelistsPricelistsRowsEditingDialogDetails.distributor},getPricelistsPricelistsRowsIsNewSearch:function(t){return t.pricelistsPricelistsRowsIsNewSearch}},FF={setPricelists:function(t,e){t.pricelists=e},setSelectedPricelists:function(t,e){t.selectedPricelists=e},setIsAllSelectedPricelists:function(t,e){t.isAllSelectedPricelists=e},setPricelistsSearch:function(t,e){t.pricelistsSearch=e},setSelectedPricelistsAction:function(t,e){t.selectedPricelistsAction=e},setDefaultNewPricelists:function(t){t.defaultNewPricelists=kF},setPricelistsUniqueId:function(t,e){t.pricelistsUniqueId=e},setExpandedPricelists:function(t,e){0===Object.keys(e).length?t.expandedPricelists=[]:t.expandedPricelists.push(e)},setPricelistsDetails:function(t,e){t.pricelistsDetails=e},setPricelistsDetailsAlvId:function(t,e){t.pricelistsDetails.alvId=e},setPricelistsDetailsTitle:function(t,e){t.pricelistsDetails.title=e},setPricelistsDetailsDescription:function(t,e){t.pricelistsDetails.description=e},setPricelistsDetailsDistributor:function(t,e){t.pricelistsDetails.distributor=e},setPricelistsPricelistsRows:function(t,e){t.pricelistsPricelistsRows=e},setSelectedPricelistsPricelistsRows:function(t,e){t.selectedPricelistsPricelistsRows=e},setDefaultPricelistsPricelistsRows:function(t){t.defaultPricelistsPricelistsRows=BF},setPricelistsPricelistsRowsEditingDialogDetails:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails=e},setPricelistsPricelistsRowsDistributorOptions:function(t,e){t.pricelistsPricelistsRowsDistributorOptions=e},setPricelistsPricelistsRowsDetailsMsp:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.msp=e},setPricelistsPricelistsRowsDetailsPpd:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.ppd=e},setPricelistsPricelistsRowsDetailsSrp:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.srp=e},setPricelistsPricelistsRowsDetailsSps:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.sps=e},setPricelistsPricelistsRowsDetailsPriceCategory:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.priceCategory=e},setPricelistsPricelistsRowsDetailsCurrency:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.currency=e},setPricelistsPricelistsRowsDetailsRegions:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.regions=e},setPricelistsPricelistsRowsDetailsDistributor:function(t,e){t.pricelistsPricelistsRowsEditingDialogDetails.distributor=e},setPricelistsPricelistsRowsIsNewSearch:function(t,e){t.pricelistsPricelistsRowsIsNewSearch=e}},UF={fetchPricelists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getPricelistsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(qF,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPricelists",[])):a("setPricelists",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPricelistsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=5;break}r=JSON.parse(JSON.stringify(i.getDefaultNewPricelists)),t.next=9;break;case 5:return t.next=7,k$.getDetailsById(qF,a);case 7:l=t.sent,r=void 0===l||0===l.length||1===l.error?{}:l;case 9:n("setPricelistsDetails",r),s("fetchPricelistsRows"),n("setIsLoading",!1);case 12:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),savePricelistsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getPricelistsDetailsAlvId,r=n.getPricelistsDetails,l="new"===O$.currentRoute.params.alvId,t.next=6,k$.saveEditForm(qF,s,r,l);case 6:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=12;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL")}),t.next=16;break;case 12:return a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),l&&O$.push({name:"PricelistsEdit",params:{alvId:o.response.alvId}}),t.next=16,i("fetchPricelistsDetails",o.response.alvId);case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchDropdownPricelistsDistributor:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAzByType(a);case 3:i=t.sent,n("setPricelistsPricelistsRowsDistributorOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),doPricelistsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.dispatch,!($F.selectedPricelists.length>0)){t.next=11;break}t.t0=$F.selectedPricelistsAction,t.next="delete"===t.t0?5:"copy"===t.t0?7:9;break;case 5:return a("setShowDeletionDialog",!0),t.abrupt("break",9);case 7:return n("copyPricelists"),t.abrupt("break",9);case 9:t.next=13;break;case 11:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 13:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPricelists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(qF,i.getSelectedPricelists);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getPricelists.findIndex((function(e){return e.alvId==i.getSelectedPricelists[t]}));n["default"].delete(i.getPricelists,e)},o=0;o<i.getSelectedPricelists.length;o++)l(o);a("setSelectedPricelists",[]),a("setSelectedPricelistsAction",[]),s("fetchPricelists")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyPricelists:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s={action:"copy"},r={alvIds:n.getSelectedPricelists},t.next=5,k$.triggerAction(qF,r,s);case 5:l=t.sent,-1===l.error?(a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchPricelists")):(o=l.response.errorMsg,void 0!==o&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPricelistsRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getPricelistsDetails.rows;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPricelistsPricelistsRows",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPricelistsRows:function(t){var e=t.getters,a=t.commit,i=e.getSelectedPricelistsPricelistsRows[0],s=$F.pricelistsPricelistsRows.findIndex((function(t){return t.id==i})),r=e.getPricelistsPricelistsRows.length;n["default"].delete($F.pricelistsPricelistsRows,s);var l=e.getPricelistsPricelistsRows.length;a("setSelectedPricelistsPricelistsRows",[]),a("setSnackbar",r>l?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),a("setSelectedPricelistsPricelistsRows",[]),0===l&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")}},MF={state:$F,getters:GF,actions:UF,mutations:FF},WF="erp/inventories",jF={inventories:[],selectedInventories:[],expandedInventories:[],inventoriesSearch:"",inventoriesWarehousesOptions:[],inventoriesValueTypes:"allValues",inventoriesDetailsStockToDate:null,selectedInventoriesWarehouses:null,selectedInventoriesValueTypes:null,showInventoriesImportDialog:!1,selectedInventoriesImport:[],inventoriesDetails:{}},zF={getInventories:function(t){return t.inventories},getSelectedInventories:function(t){return t.selectedInventories},getExpandedInventories:function(t){return t.expandedInventories},getInventoriesSearch:function(t){return t.inventoriesSearch},getInventoriesWarehousesOptions:function(t){return t.inventoriesWarehousesOptions},getSelectedInventoriesWarehouses:function(t){return t.selectedInventoriesWarehouses},getInventoriesValueTypes:function(t){return t.inventoriesValueTypes},getSelectedInventoriesValueTypes:function(t){return t.selectedInventoriesValueTypes},getInventoriesDetailsStockToDate:function(t){return t.inventoriesDetailsStockToDate},getShowInventoriesImportDialog:function(t){return t.showInventoriesImportDialog},getSelectedInventoriesImport:function(t){return t.selectedInventoriesImport},getInventoriesDetails:function(t){return t.inventoriesDetails}},HF={setInventories:function(t,e){t.inventories=e},setSelectedInventories:function(t,e){t.selectedInventories=e},setExpandedInventories:function(t,e){0===Object.keys(e).length?t.expandedInventories=[]:t.expandedInventories.push(e)},setInventoriesSearch:function(t,e){t.inventoriesSearch=e},setInventoriesWarehousesOptions:function(t,e){t.inventoriesWarehousesOptions=e},setSelectedInventoriesWarehouses:function(t,e){t.selectedInventoriesWarehouses=e},setInventoriesValueTypes:function(t,e){t.inventoriesValueTypes=e},setSelectedInventoriesValueTypes:function(t,e){t.selectedInventoriesValueTypes=e},setInventoriesDetailsStockToDate:function(t,e){t.inventoriesDetailsStockToDate=e},setShowInventoriesImportDialog:function(t,e){t.showInventoriesImportDialog=e},setSelectedInventoriesImport:function(t,e){t.selectedInventoriesImport=e},setInventoriesDetails:function(t,e){t.inventoriesDetails=e}},VF={fetchInventories:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getInventoriesSearch,warehouseId:n.getSelectedInventoriesWarehouses,valueTypes:n.getSelectedInventoriesValueTypes,stockToDate:n.getInventoriesDetailsStockToDate},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(WF,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setInventories",[])):a("setInventories",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchInventoriesDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getDetailsById(WF,a);case 3:s=t.sent,void 0===s||0===s.length||1===s.error?(s={},n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"})):i=s,n("setInventoriesDetails",i),n("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchDropdownInventoriesWarehouses:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getAzByType(["lager"]);case 3:n=t.sent,a("setInventoriesWarehousesOptions",n.list);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),clearFilters:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,a("setInventoriesSearch",""),a("setSelectedInventoriesWarehouses",null),a("setSelectedInventoriesValueTypes",null),a("setInventoriesDetailsStockToDate",this._vm.$alvPlugin.getTodaysDateYYYYMMDD());case 5:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doInventoriesImport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=it.t("lang_ERP_INVENTORIES_IMPORT_DIALOG_TEXT_UPLOAD_FILE")+" "+it.t("lang_GENERAL_CAPTION_SELECT_FILE_OF_TYPE"),s=a.getInventoriesWarehousesOptions,r=a.getSelectedInventoriesImport,l="",o=s.find((function(t){return t.alvId===r})),l=i.replace(/<warehouseName>|<join>/gi,(function(t){return{"<warehouseName>":o.gemaName,"<join>":it.t("lang_GENERAL_CAPTION_XLSX_XLS")}[t]})),n("setImportDialogText",l),n("setShowInventoriesImportDialog",!0);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),exportAllInventories:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,a("setIsLoading",!0),n={action:"export",type:"excel"},i={releaseIds:[]},t.next=6,k$.triggerAction(WF,i,n);case 6:s=t.sent,-1===s.error?null!==s.response.path&&(k$.getFileFromALV(s.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(r=s.response.errorMsg,void 0!==r&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r)?it.t(r):r})),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),createMinStockReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n={action:"minimumStock"},i={},t.next=5,k$.triggerAction(WF,i,n);case 5:s=t.sent,void 0===s||0===s.length||1===s.error?a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")}):(k$.getFileFromALV(s.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},YF={state:jF,getters:zF,actions:VF,mutations:HF},KF="erp/shipping",ZF={id:0,alvId:"ALV000000000SD",date:(new Date).toISOString().slice(0,10),language:null,noteForRecipient:null,number:null,recipient:null,recipientFullAddress:null,recipientFullShippingAddress:null,recipientVatId:null,recipientTransactionNumber:null,rows:[],sender:null,senderName:null,senderFullAddress:null,status:"draft",title:null,type:"picking",vatId:null,linkedShipping:null},XF={id:0,alvId:"ALV000000000SR",batch:null,connectionId:null,connectionObject:null,price:null,productId:null,quantity:null,title:null,type:null},JF={shipping:[],selectedShipping:[],isAllSelectedShipping:!1,shippingTitle:null,shippingSearch:"",selectedShippingPeriodFromFilter:null,selectedShippingPeriodToFilter:null,selectedShippingTypeFilter:[],selectedShippingStatusFilter:[],shippingServerSideSortingOptions:{sortBy:["date"],sortDesc:[!0],mustSort:!0},selectedShippingAction:[],defaultNewShipping:ZF,shippingUniqueId:"",expandedShipping:[],shippingDetails:ZF,shippingSenderOptions:[],shippingRecipientOptions:[],selectedShippingId:null,shippingShippingRows:[],selectedShippingShippingRows:[],showShippingInventoriesPreview:!1,invokeSaveCallForShippingInventories:!1,disableShowInventoriesButton:!1,defaultShippingShippingRows:XF,shippingShippingRowsEditingDialogDetails:XF,shippingShippingRowsTitleOptions:[],shippingShippingRowsTitleSearch:null,shippingShippingRowsIsNewSearch:null,showProFormaDialog:!1,proFormaDialogDetailsAmountToSplit:"",proFormaDialogDetailsProFormaText:""},QF={getShipping:function(t){return t.shipping},getSelectedShipping:function(t){return t.selectedShipping},getIsAllSelectedShipping:function(t){return t.isAllSelectedShipping},getShippingTitle:function(t){return t.shippingTitle},getShippingSearch:function(t){return t.shippingSearch},getSelectedShippingPeriodFromFilter:function(t){return t.selectedShippingPeriodFromFilter},getSelectedShippingPeriodToFilter:function(t){return t.selectedShippingPeriodToFilter},getSelectedShippingAction:function(t){return t.selectedShippingAction},getSelectedShippingTypeFilter:function(t){return t.selectedShippingTypeFilter},getSelectedShippingStatusFilter:function(t){return t.selectedShippingStatusFilter},getShippingServerSideSortingOptions:function(t){return t.shippingServerSideSortingOptions},getDefaultNewShipping:function(t){return t.defaultNewShipping},getShippingUniqueId:function(t){return t.shippingUniqueId},getExpandedShipping:function(t){return t.expandedShipping},getShippingDetails:function(t){return t.shippingDetails},getShippingDetailsLinkedInvoice:function(t){return t.shippingDetails.linkedInvoice},getShippingDetailsAlvId:function(t){return t.shippingDetails.alvId},getShippingDetailsDate:function(t){return t.shippingDetails.date},getShippingDetailsLanguage:function(t){return t.shippingDetails.language},getShippingDetailsNoteForRecipient:function(t){return t.shippingDetails.noteForRecipient},getShippingDetailsNumber:function(t){return t.shippingDetails.number},getShippingDetailsRecipient:function(t){return t.shippingDetails.recipient},getShippingDetailsRecipientVatId:function(t){return t.shippingDetails.recipientVatId},getShippingDetailsRecipientTransactionNumber:function(t){return t.shippingDetails.recipientTransactionNumber},getShippingDetailsSender:function(t){return t.shippingDetails.sender},getShippingDetailsStatus:function(t){return t.shippingDetails.status},getShippingDetailsType:function(t){return t.shippingDetails.type},getShippingDetailsVatId:function(t){return t.shippingDetails.vatId},getShippingDetailsSenderName:function(t){return t.shippingDetails.senderName},getShippingDetailsSenderFullAddress:function(t){return t.shippingDetails.senderFullAddress},getShippingDetailsRecipientFullAddress:function(t){return t.shippingDetails.recipientFullAddress},getShippingDetailsRecipientFullShippingAddress:function(t){return t.shippingDetails.recipientFullShippingAddress},getShippingDetailsLinkedShipping:function(t){return t.shippingDetails.linkedShipping},getShippingSenderOptions:function(t){return t.shippingSenderOptions},getShippingRecipientOptions:function(t){return t.shippingRecipientOptions},getShippingShippingRows:function(t){return t.shippingShippingRows},getSelectedShippingShippingRows:function(t){return t.selectedShippingShippingRows},getShowShippingInventoriesPreview:function(t){return t.showShippingInventoriesPreview},getInvokeSaveCallForShippingInventories:function(t){return t.invokeSaveCallForShippingInventories},getDisableShowInventoriesButton:function(t){return t.disableShowInventoriesButton},getDefaultShippingShippingRows:function(t){return t.defaultShippingShippingRows},getShippingShippingRowsEditingDialogDetails:function(t){return t.shippingShippingRowsEditingDialogDetails},getShippingShippingRowsDetailsAlvId:function(t){return t.shippingShippingRowsEditingDialogDetails.alvId},getShippingShippingRowsDetailsBatch:function(t){return t.shippingShippingRowsEditingDialogDetails.batch},getShippingShippingRowsDetailsConnectionId:function(t){return t.shippingShippingRowsEditingDialogDetails.connectionId},getShippingShippingRowsDetailsPrice:function(t){return t.shippingShippingRowsEditingDialogDetails.price},getShippingShippingRowsDetailsProductId:function(t){return t.shippingShippingRowsEditingDialogDetails.productId},getShippingShippingRowsDetailsQuantity:function(t){return t.shippingShippingRowsEditingDialogDetails.quantity},getShippingShippingRowsDetailsTitle:function(t){return t.shippingShippingRowsEditingDialogDetails.title},getShippingShippingRowsDetailsType:function(t){return t.shippingShippingRowsEditingDialogDetails.type},getShippingShippingRowsTitleOptions:function(t){return t.shippingShippingRowsTitleOptions},getShippingShippingRowsTitleSearch:function(t){return t.shippingShippingRowsTitleSearch},getShippingShippingRowsIsNewSearch:function(t){return t.shippingShippingRowsIsNewSearch},getShowProFormaDialog:function(t){return t.showProFormaDialog},getProFormaDialogDetailsAmountToSplit:function(t){return t.proFormaDialogDetailsAmountToSplit},getProFormaDialogDetailsProFormaText:function(t){return t.proFormaDialogDetailsProFormaText}},tU={setShipping:function(t,e){t.shipping=e},setSelectedShipping:function(t,e){t.selectedShipping=e},setIsAllSelectedShipping:function(t,e){t.isAllSelectedShipping=e},setShippingTitle:function(t,e){t.shippingTitle=e},setShippingSearch:function(t,e){t.shippingSearch=e},setSelectedShippingPeriodFromFilter:function(t,e){t.selectedShippingPeriodFromFilter=e},setSelectedShippingPeriodToFilter:function(t,e){t.selectedShippingPeriodToFilter=e},setSelectedShippingAction:function(t,e){t.selectedShippingAction=e},setSelectedShippingTypeFilter:function(t,e){t.selectedShippingTypeFilter=e},setSelectedShippingStatusFilter:function(t,e){t.selectedShippingStatusFilter=e},setShippingServerSideSortingOptions:function(t,e){t.shippingServerSideSortingOptions=e},setDefaultNewShipping:function(t){t.defaultNewShipping=ZF},setShippingUniqueId:function(t,e){t.shippingUniqueId=e},setExpandedShipping:function(t,e){0===Object.keys(e).length?t.expandedShipping=[]:t.expandedShipping.push(e)},setShippingSenderOptions:function(t,e){t.shippingSenderOptions=e},setShippingRecipientOptions:function(t,e){t.shippingRecipientOptions=e},setShippingDetails:function(t,e){t.shippingDetails=e},setShippingDetailsAlvId:function(t,e){t.shippingDetails.alvId=e},setShippingDetailsDate:function(t,e){t.shippingDetails.date=e},setShippingDetailsLanguage:function(t,e){t.shippingDetails.language=e},setShippingDetailsNoteForRecipient:function(t,e){t.shippingDetails.noteForRecipient=e},setShippingDetailsNumber:function(t,e){t.shippingDetails.number=e},setShippingDetailsRecipient:function(t,e){t.shippingDetails.recipient=e},setShippingDetailsRecipientVatId:function(t,e){t.shippingDetails.recipientVatId=e},setShippingDetailsRecipientTransactionNumber:function(t,e){t.shippingDetails.recipientTransactionNumber=e},setShippingDetailsSender:function(t,e){t.shippingDetails.sender=e},setShippingDetailsStatus:function(t,e){t.shippingDetails.status=e},setShippingDetailsType:function(t,e){t.shippingDetails.type=e},setShippingDetailsVatId:function(t,e){t.shippingDetails.vatId=e},setShippingDetailsSenderName:function(t,e){t.shippingDetails.senderName=e},setShippingDetailsSenderFullAddress:function(t,e){t.shippingDetails.senderFullAddress=e},setShippingDetailsRecipientFullAddress:function(t,e){t.shippingDetails.recipientFullAddress=e},setShippingDetailsRecipientFullShippingAddress:function(t,e){t.shippingDetails.recipientFullShippingAddress=e},setShippingShippingRows:function(t,e){t.shippingShippingRows=e},setSelectedShippingShippingRows:function(t,e){t.selectedShippingShippingRows=e},setShowShippingInventoriesPreview:function(t,e){t.showShippingInventoriesPreview=e},setInvokeSaveCallForShippingInventories:function(t,e){t.invokeSaveCallForShippingInventories=e},setDisableShowInventoriesButton:function(t,e){t.disableShowInventoriesButton=e},setDefaultShippingShippingRows:function(t){t.defaultShippingShippingRows=XF},setShippingShippingRowsEditingDialogDetails:function(t,e){t.shippingShippingRowsEditingDialogDetails=e},setShippingShippingRowsDetailsAlvId:function(t,e){t.shippingShippingRowsEditingDialogDetails.alvId=e},setShippingShippingRowsDetailsBatch:function(t,e){t.shippingShippingRowsEditingDialogDetails.batch=e},setShippingShippingRowsDetailsConnectionId:function(t,e){t.shippingShippingRowsEditingDialogDetails.connectionId=e},setShippingShippingRowsDetailsPrice:function(t,e){t.shippingShippingRowsEditingDialogDetails.price=e},setShippingShippingRowsDetailsProductId:function(t,e){t.shippingShippingRowsEditingDialogDetails.productId=e},setShippingShippingRowsDetailsQuantity:function(t,e){t.shippingShippingRowsEditingDialogDetails.quantity=e},setShippingShippingRowsDetailsTitle:function(t,e){t.shippingShippingRowsEditingDialogDetails.title=e},setShippingShippingRowsDetailsType:function(t,e){t.shippingShippingRowsEditingDialogDetails.type=e},setShippingShippingRowsTitleOptions:function(t,e){t.shippingShippingRowsTitleOptions=e},setShippingShippingRowsTitleSearch:function(t,e){t.shippingShippingRowsTitleSearch=e},setShippingShippingRowsIsNewSearch:function(t,e){t.shippingShippingRowsIsNewSearch=e},setShowProFormaDialog:function(t,e){t.showProFormaDialog=e},setProFormaDialogDetailsAmountToSplit:function(t,e){t.proFormaDialogDetailsAmountToSplit=e},setProFormaDialogDetailsProFormaText:function(t,e){t.proFormaDialogDetailsProFormaText=e}},eU={fetchShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getShippingSearch,type:n.getSelectedShippingTypeFilter,status:n.getSelectedShippingStatusFilter,periodFrom:n.getSelectedShippingPeriodFromFilter,periodTo:n.getSelectedShippingPeriodToFilter},s=n.getShippingServerSideSortingOptions,r=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=7,k$.getListData2(KF,n.getCurrentPage,s.sortBy,s.sortDesc,r);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setShipping",[])):a("setShipping",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteShippingSender:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setShippingSenderOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteShippingRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setShippingRecipientOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchDropdownShippingSender:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAzByType(a);case 3:i=t.sent,n("setShippingSenderOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchDropdownShippingRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.commit,i=[],s=!0,r=!1,l=void 0,t.prev=5,o=a[Symbol.iterator]();case 7:if(s=(c=o.next()).done){t.next=16;break}return u=c.value,t.next=11,k$.getAzByType(u);case 11:d=t.sent,i=i.concat(d.list);case 13:s=!0,t.next=7;break;case 16:t.next=22;break;case 18:t.prev=18,t.t0=t["catch"](5),r=!0,l=t.t0;case 22:t.prev=22,t.prev=23,s||null==o.return||o.return();case 25:if(t.prev=25,!r){t.next=28;break}throw l;case 28:return t.finish(25);case 29:return t.finish(22);case 30:n("setShippingRecipientOptions",i);case 31:case"end":return t.stop()}}),t,null,[[5,18,22,30],[23,,25,29]])})));function e(e,a){return t.apply(this,arguments)}return e}(),fillDropdownFromAz:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.commit,i=e.dispatch,n("setShippingDetailsSender",null),n("setShippingDetailsSenderFullAddress",null),n("setShippingSenderOptions",[]),n("setShippingDetailsRecipient",null),n("setShippingDetailsRecipientFullAddress",null),n("setShippingDetailsRecipientFullShippingAddress",null),n("setShippingRecipientOptions",[]),t.t0=a,t.next="incoming"===t.t0?10:"shipping"===t.t0?12:"picking"===t.t0?14:"returning"===t.t0?16:18;break;case 10:return i("fetchDropdownShippingRecipient",["warehouseOwn","warehouse"]),t.abrupt("break",19);case 12:return i("fetchDropdownShippingSender","warehouseOwn"),t.abrupt("break",19);case 14:return i("fetchDropdownShippingSender","warehouse"),t.abrupt("break",19);case 16:return i("fetchDropdownShippingRecipient",["warehouseOwn","warehouse"]),t.abrupt("break",19);case 18:return t.abrupt("break",19);case 19:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchShippingDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,void 0===a&&(a=i.getShippingDetailsAlvId),r={},l=O$.currentRoute.name,"new"!==a){t.next=9;break}r=JSON.parse(JSON.stringify(i.getDefaultNewShipping)),s("fillDropdownFromAz",r.type),t.next=13;break;case 9:return t.next=11,k$.getDetailsById(KF,a,i.getInvokeSaveCallForShippingInventories?"?action=showInventories":"");case 11:o=t.sent,null===o||1===o.error?r=i.getDefaultNewShipping:void 0===o||0===o.length||1===o.error?r={}:(c="",null!=o.recipientFullAddress?c=o.recipientFullAddress:null!=o.recipient.fullAddress&&(c=o.recipient.fullAddress),u="",null!=o.recipientFullShippingAddress?u=o.recipientFullShippingAddress:null!=o.recipient.fullShippingAddress&&(u=o.recipient.fullShippingAddress),d="",null!=o.senderFullAddress?d=o.senderFullAddress:null!=o.sender.fullAddress&&(d=o.sender.fullAddress),"ShippingEdit"==l&&(d=d.replace(/<br\s*[\/]?>/gi,"\n"),c=c.replace(/<br\s*[\/]?>/gi,"\n"),u=u.replace(/<br\s*[\/]?>/gi,"\n"),s("fillDropdownFromAz",o.type)),"Shipping"===l&&null!==o.noteForRecipient&&(o.noteForRecipient=o.noteForRecipient.replaceAll("\n","<br />")),o.senderFullAddress=d,o.recipientFullAddress=c,o.recipientFullShippingAddress=u,r=o);case 13:n("setShippingDetails",r),s("fetchShippingShippingRows"),void 0!==i.getShippingDetailsRecipient&&null!==i.getShippingDetailsRecipient&&(n("setShippingSenderOptions",[i.getShippingDetailsSender]),n("setShippingDetailsSender",i.getShippingDetailsSender),n("setShippingDetailsSenderName",i.getShippingDetailsSenderName),n("setShippingRecipientOptions",[i.getShippingDetailsRecipient])),n("setIsLoading",!1);case 17:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveShippingForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getShippingDetailsAlvId,r=n.getShippingDetails,l="new"===O$.currentRoute.params.alvId,t.next=6,k$.saveEditForm(KF,s,r,l);case 6:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=12;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL")}),t.next=16;break;case 12:return a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),l&&O$.push({name:"ShippingEdit",params:{alvId:o.response.alvId}}),t.next=16,i("fetchShippingDetails",o.response.alvId);case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doShippingAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,i=e.getters,t.t0=JF.selectedShippingAction,t.next="print"===t.t0?4:"createFromShipping"===t.t0?6:"createProForma"===t.t0?8:"createCreditNotesFromShipping"===t.t0?16:"createReturnsFromShipping"===t.t0?18:"delete"===t.t0?20:"export"===t.t0?22:24;break;case 4:return JF.selectedShipping.length>0?n("printShipping"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 6:return 1===JF.selectedShipping.length?(s=i.getSelectedShipping,r=i.getShipping,l=r.find((function(t){return t.alvId===s[0]})),"draft"===l.status?a("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_PLEASE_CHANGE_STATUS_TO_RECORDED")}):n("createFromShipping")):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 8:if(1!==JF.selectedShipping.length){t.next=13;break}return a("setShowProFormaDialog",!0),t.abrupt("break",24);case 13:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0);case 15:return t.abrupt("break",24);case 16:return 1===JF.selectedShipping.length?(o=i.getSelectedShipping,c=i.getShipping,u=c.find((function(t){return t.alvId===o[0]})),"returning"===u.type?null!==u.linkedShipping?a("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_PLEASE_SELECT_RETURNS_NOTE_WITHOUT_CONNECTED_DOCUMENTS")}):(d=i.getSelectedShipping,g=i.getShipping,p=g.find((function(t){return t.alvId===d[0]})),"draft"===p.status?a("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_PLEASE_CHANGE_STATUS_TO_RECORDED")}):n("createFromShipping")):a("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_PLEASE_SELECT_RETURNS_NOTE")})):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 18:return 1===JF.selectedShipping.length?n("createReturnsFromShipping"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 20:return JF.selectedShipping.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 22:return 1===JF.selectedShipping.length?n("exportShipping"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",24);case 24:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(KF,i.getSelectedShipping);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getShipping.findIndex((function(e){return e.alvId==i.getSelectedShipping[t]}));n["default"].delete(i.getShipping,e)},o=0;o<i.getSelectedShipping.length;o++)l(o);a("setSelectedShipping",[]),a("setSelectedShippingAction",[]),s("fetchShipping")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchShippingShippingRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getShippingDetails.rows;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setShippingShippingRows",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteShippingShippingRowsTitle:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i=e.getters,s=i.getShippingShippingRowsTitleSearch,t.next=4,k$.getAutocompleteSearch(s,a);case 4:r=t.sent,n("setShippingShippingRowsTitleOptions",r.list);case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedShippingShippingRows:function(t){var e=t.getters,a=t.commit,i=e.getSelectedShippingShippingRows[0],s=JF.shippingShippingRows.findIndex((function(t){return t.id==i})),r=e.getShippingShippingRows.length;n["default"].delete(JF.shippingShippingRows,s);var l=e.getShippingShippingRows.length;a("setSelectedShippingShippingRows",[]),a("setSnackbar",r>l?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),a("setSelectedShippingShippingRows",[]),0===l&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},createFromShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n=e.commit,i=a.getSelectedShipping,s=a.getShipping,r=s.find((function(t){return t.alvId===i[0]})),null===r.linkedShipping){t.next=8;break}if("returning"!==r.linkedShipping.type){t.next=8;break}return n("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_RETURNING_CONNECTED_CANT_CREATE_INVOICE"),timeout:1e4}),t.abrupt("return");case 8:return l={},l["shippingIds"]=i,o={action:"createInvoiceFromShipping"},t.next=13,k$.triggerAction(KF,l,o);case 13:c=t.sent,-1===c.error?(O$.push({name:"InvoicesEdit",params:{alvId:c.response.alvId}}),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t(c.response.errorMsg)});case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),createProForma:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={alvIds:a.getSelectedShipping,amountToSplit:a.getProFormaDialogDetailsAmountToSplit,proFormaText:a.getProFormaDialogDetailsProFormaText,proFormaCurrency:a.getSelectedCurrency},s={action:"createProForma"},t.next=5,k$.triggerAction(KF,i,s);case 5:r=t.sent,1===r||void 0==r||1===r.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r.response.errorMsg)?it.t(r.response.errorMsg):r.response.errorMsg}):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),printShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={alvIds:a.getSelectedShipping},s={action:"printPdf"},t.next=5,k$.triggerAction(KF,i,s);case 5:r=t.sent,1===r||void 0==r||1===r.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r.response.errorMsg)?it.t(r.response.errorMsg):r.response.errorMsg}):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),exportShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"export"},s={alvIds:a.getSelectedShipping},t.next=5,k$.triggerAction(KF,s,i);case 5:r=t.sent,1===r.error||void 0===r?(l=r.response.errorMsg,n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l})):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),createReturnsFromShipping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.getters,n=e.commit,i=a.getShipping,s=a.getSelectedShipping,r=i.find((function(t){return t.alvId===s[0]})),"shipping"!==r.type&&"picking"!==r.type&&"incoming"!==r.type){t.next=13;break}return l={action:"createReturnsFromShipping"},o={alvIds:s},t.next=9,k$.triggerAction(KF,o,l);case 9:c=t.sent,1===c.error||void 0===c?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(errorMsg)?it.t(errorMsg):errorMsg}):(O$.push({name:"ShippingEdit",params:{alvId:c.response.alvId}}),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")})),t.next=14;break;case 13:n("setSnackbar",{type:"error",msg:it.t("lang_ERP_SHIPPING_SNACKBAR_PLEASE_SELECT_SHIPPING_NOTE")});case 14:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},aU={state:JF,getters:QF,actions:eU,mutations:tU},nU="erp/invoices",iU={id:0,alvId:"ALV000000000IN",arrivalConfirmation:null,conversionFactor:null,currency:null,date:null,dueDate:null,invoiceRows:[],language:"de",note:null,number:null,paidDate:null,partialPayment:null,paymentMethod:null,paymentMethodDetails:null,term:null,periodOfService:null,recipient:null,recipientFullAddress:null,salesType:null,statisticIn:null,status:null,type:null,vatId:null,transactionNumber:null,linkedDocument:null,settleIn:{num:null,period:null,year:null}},sU={id:0,alvId:"ALV000000000IR",connectionId:null,currency:null,title:{title:null},batch:null,price:null,productId:null,quantity:null,sum:null,type:null,vat:null},rU={invoices:[],selectedInvoices:[],isAllSelectedInvoices:!1,invoicesSearch:"",selectedInvoicesStatusFilter:[],selectedInvoicesTypeFilter:[],selectedInvoicesPeriodFromFilter:null,selectedInvoicesPeriodToFilter:null,selectedInvoicesPeriodDateFilter:"invoicesDate",invoicesServerSideSortingOptions:{sortBy:["date"],sortDesc:[!0],mustSort:!0},selectedInvoicesAction:[],defaultNewInvoice:iU,invoicesUniqueId:"",expandedInvoices:[],invoicesDetails:iU,invoicesRecipientOptions:[],selectedInvoiceId:null,statisticIn:null,settleIn:{num:null,period:null,year:null},invoicesInvoiceRows:[],selectedInvoicesInvoiceRows:[],defaultInvoicesInvoiceRows:sU,invoicesInvoiceRowsEditingDialogDetails:sU,invoicesInvoiceRowsTitleOptions:[],invoicesInvoiceRowsTitleSearch:null,invoicesInvoiceRowsIsNewSearch:null,showGemaTasDialog:!1,gemaTasDialogDetailsExcludedCountry:"",selectedPeriodValues:{number:null,timeUnit:null,year:null}},lU={getInvoices:function(t){return t.invoices},getSelectedInvoices:function(t){return t.selectedInvoices},getIsAllSelectedInvoices:function(t){return t.isAllSelectedInvoices},getInvoicesSearch:function(t){return t.invoicesSearch},getSelectedInvoicesStatusFilter:function(t){return t.selectedInvoicesStatusFilter},getSelectedInvoicesTypeFilter:function(t){return t.selectedInvoicesTypeFilter},getSelectedInvoicesPeriodFromFilter:function(t){return t.selectedInvoicesPeriodFromFilter},getSelectedInvoicesPeriodToFilter:function(t){return t.selectedInvoicesPeriodToFilter},getSelectedInvoicesPeriodDateFilter:function(t){return t.selectedInvoicesPeriodDateFilter},getSelectedInvoicesAction:function(t){return t.selectedInvoicesAction},getInvoicesServerSideSortingOptions:function(t){return t.invoicesServerSideSortingOptions},getDefaultNewInvoice:function(t){return t.defaultNewInvoice},getInvoiceUniqueId:function(t){return t.invoiceUniqueId},getExpandedInvoices:function(t){return t.expandedInvoices},getInvoicesDetails:function(t){return t.invoicesDetails},getInvoicesDetailsAlvId:function(t){return t.invoicesDetails.alvId},getInvoicesRecipientOptions:function(t){return t.invoicesRecipientOptions},getInvoicesDetailsArrivalConfirmation:function(t){return t.invoicesDetails.arrivalConfirmation},getInvoicesDetailsConversionFactor:function(t){return t.invoicesDetails.conversionFactor},getInvoicesDetailsCurrency:function(t){return t.invoicesDetails.currency},getInvoicesDetailsDate:function(t){return t.invoicesDetails.date},getInvoicesDetailsDueDate:function(t){return t.invoicesDetails.dueDate},getInvoicesDetailsNote:function(t){return t.invoicesDetails.note},getInvoicesDetailsNumber:function(t){return t.invoicesDetails.number},getInvoicesDetailsPaidDate:function(t){return t.invoicesDetails.paidDate},getInvoicesDetailsPartialPayment:function(t){return t.invoicesDetails.partialPayment},getInvoicesDetailsPaymentMethod:function(t){return t.invoicesDetails.paymentMethod},getInvoicesDetailsPaymentMethodDetails:function(t){return t.invoicesDetails.paymentMethodDetails},getInvoicesDetailsPeriodOfService:function(t){return t.invoicesDetails.periodOfService},getInvoicesDetailsRecipient:function(t){return t.invoicesDetails.recipient},getInvoicesDetailsRecipientFullAddress:function(t){return t.invoicesDetails.recipientFullAddress},getInvoicesDetailsLanguage:function(t){return t.invoicesDetails.language},getInvoicesDetailsSalesType:function(t){return t.invoicesDetails.salesType},getInvoicesDetailsStatisticIn:function(t){return t.invoicesDetails.statisticIn},getInvoicesDetailsSettleInPeriod:function(t){return t.invoicesDetails.settleIn},getInvoicesDetailsStatus:function(t){return t.invoicesDetails.status},getInvoicesDetailsTerm:function(t){return t.invoicesDetails.term},getInvoicesDetailsType:function(t){return t.invoicesDetails.type},getInvoicesDetailsVatId:function(t){return t.invoicesDetails.vatId},getInvoicesDetailsTransactionNumber:function(t){return t.invoicesDetails.transactionNumber},getInvoicesDetailsLinkedDocument:function(t){return t.invoicesDetails.linkedDocument},getSelectedPeriodNumberInvoices:function(t){return void 0!==t.invoicesDetails.settleIn?t.invoicesDetails.settleIn.num:null},getSelectedPeriodTimeUnitInvoices:function(t){return void 0!==t.invoicesDetails.settleIn?t.invoicesDetails.settleIn.period:null},getSelectedPeriodYearInvoices:function(t){return void 0!==t.invoicesDetails.settleIn?t.invoicesDetails.settleIn.year:null},getInvoicesInvoiceRows:function(t){return t.invoicesInvoiceRows},getSelectedInvoicesInvoiceRows:function(t){return t.selectedInvoicesInvoiceRows},getDefaultInvoicesInvoiceRows:function(t){return t.defaultInvoicesInvoiceRows},getInvoicesInvoiceRowsEditingDialogDetails:function(t){return t.invoicesInvoiceRowsEditingDialogDetails},getInvoicesInvoiceRowsDetailsAlvId:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.alvId},getInvoicesInvoiceRowsDetailsBatch:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.batch},getInvoicesInvoiceRowsDetailsConnectionId:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.connectionId},getInvoicesInvoiceRowsDetailsPrice:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.price},getInvoicesInvoiceRowsDetailsProductId:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.productId},getInvoicesInvoiceRowsDetailsQuantity:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.quantity},getInvoicesInvoiceRowsDetailsSum:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.sum},getInvoicesInvoiceRowsDetailsTitle:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.title},getInvoicesInvoiceRowsDetailsTitleReadOnly:function(t){return"string"===typeof t.invoicesInvoiceRowsEditingDialogDetails.title?t.invoicesInvoiceRowsEditingDialogDetails.title:t.invoicesInvoiceRowsEditingDialogDetails.title.title},getInvoicesInvoiceRowsDetailsType:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.type},getInvoicesInvoiceRowsDetailsVat:function(t){return t.invoicesInvoiceRowsEditingDialogDetails.vat},getInvoicesInvoiceRowsTitleOptions:function(t){return t.invoicesInvoiceRowsTitleOptions},getInvoicesInvoiceRowsTitleSearch:function(t){return t.invoicesInvoiceRowsTitleSearch},getInvoicesInvoiceRowsIsNewSearch:function(t){return t.invoicesInvoiceRowsIsNewSearch},getShowGemaTasDialog:function(t){return t.showGemaTasDialog},getGemaTasDialogDetailsExcludedCountry:function(t){return t.gemaTasDialogDetailsExcludedCountry},getSelectedPeriodValuesGemaTasDialog:function(t){return t.selectedPeriodValues},getSelectedPeriodNumberGemaTasDialog:function(t){return t.selectedPeriodValues.number},getSelectedPeriodTimeUnitGemaTasDialog:function(t){return t.selectedPeriodValues.timeUnit},getSelectedPeriodYearGemaTasDialog:function(t){return t.selectedPeriodValues.year}},oU={setInvoices:function(t,e){t.invoices=e},setSelectedInvoices:function(t,e){t.selectedInvoices=e},setIsAllSelectedInvoices:function(t,e){t.isAllSelectedInvoices=e},setInvoicesSearch:function(t,e){t.invoicesSearch=e},setSelectedInvoicesStatusFilter:function(t,e){t.selectedInvoicesStatusFilter=e},setSelectedInvoicesTypeFilter:function(t,e){t.selectedInvoicesTypeFilter=e},setSelectedInvoicesPeriodFromFilter:function(t,e){t.selectedInvoicesPeriodFromFilter=e},setSelectedInvoicesPeriodToFilter:function(t,e){t.selectedInvoicesPeriodToFilter=e},setSelectedInvoicesPeriodDateFilter:function(t,e){t.selectedInvoicesPeriodDateFilter=e},setSelectedInvoicesAction:function(t,e){t.selectedInvoicesAction=e},setInvoicesServerSideSortingOptions:function(t,e){t.invoicesServerSideSortingOptions=e},setDefaultNewInvoice:function(t){t.defaultNewInvoice=iU},setInvoicesUniqueId:function(t,e){t.invoiceUniqueId=e},setExpandedInvoices:function(t,e){0===Object.keys(e).length?t.expandedInvoices=[]:t.expandedInvoices.push(e)},setInvoicesRecipientOptions:function(t,e){t.invoicesRecipientOptions=e},setInvoicesDetails:function(t,e){t.invoicesDetails=e},setInvoicesDetailsAlvId:function(t,e){t.invoicesDetails.alvId=e},setInvoicesDetailsArrivalConfirmation:function(t,e){t.invoicesDetails.arrivalConfirmation=e},setInvoicesDetailsConversionFactor:function(t,e){t.invoicesDetails.conversionFactor=e},setInvoicesDetailsCurrency:function(t,e){t.invoicesDetails.currency=e},setInvoicesDetailsDate:function(t,e){t.invoicesDetails.date=e},setInvoicesDetailsDueDate:function(t,e){t.invoicesDetails.dueDate=e},setInvoicesDetailsNote:function(t,e){t.invoicesDetails.note=e},setInvoicesDetailsNumber:function(t,e){t.invoicesDetails.number=e},setInvoicesDetailsPaidDate:function(t,e){t.invoicesDetails.paidDate=e},setInvoicesDetailsPartialPayment:function(t,e){t.invoicesDetails.partialPayment=e},setInvoicesDetailsPaymentMethod:function(t,e){t.invoicesDetails.paymentMethod=e},setInvoicesDetailsPaymentMethodDetails:function(t,e){t.invoicesDetails.paymentMethodDetails=e},setInvoicesDetailsPeriodOfService:function(t,e){t.invoicesDetails.periodOfService=e},setInvoicesDetailsRecipient:function(t,e){t.invoicesDetails.recipient=e},setInvoicesDetailsRecipientFullAddress:function(t,e){t.invoicesDetails.recipientFullAddress=e},setInvoicesDetailsLanguage:function(t,e){t.invoicesDetails.language=e},setInvoicesDetailsSalesType:function(t,e){t.invoicesDetails.salesType=e},setInvoicesDetailsStatisticIn:function(t,e){t.invoicesDetails.statisticIn=e},setInvoicesDetailsSettleInPeriod:function(t,e){t.invoicesDetails.settleIn=e},setInvoicesDetailsStatus:function(t,e){t.invoicesDetails.status=e},setInvoicesDetailsTerm:function(t,e){t.invoicesDetails.term=e},setInvoicesDetailsType:function(t,e){t.invoicesDetails.type=e},setInvoicesDetailsVatId:function(t,e){t.invoicesDetails.vatId=e},setSelectedPeriodNumberInvoices:function(t,e){t.invoicesDetails.settleIn.num=e},setSelectedPeriodTimeUnitInvoices:function(t,e){t.invoicesDetails.settleIn.period=e},setSelectedPeriodYearInvoices:function(t,e){t.invoicesDetails.settleIn.year=e},setInvoicesInvoiceRows:function(t,e){t.invoicesInvoiceRows=e},setSelectedInvoicesInvoiceRows:function(t,e){t.selectedInvoicesInvoiceRows=e},setDefaultInvoicesInvoiceRows:function(t){t.defaultInvoicesInvoiceRows=sU},setInvoicesInvoiceRowsEditingDialogDetails:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails=e},setInvoicesInvoiceRowsDetailsAlvId:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.alvId=e},setInvoicesInvoiceRowsDetailsBatch:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.batch=e},setInvoicesInvoiceRowsDetailsConnectionId:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.connectionId=e},setInvoicesInvoiceRowsDetailsPrice:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.price=e},setInvoicesInvoiceRowsDetailsProductId:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.productId=e},setInvoicesInvoiceRowsDetailsQuantity:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.quantity=e},setInvoicesInvoiceRowsDetailsSum:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.sum=e},setInvoicesInvoiceRowsDetailsTitle:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.title=e},setInvoicesInvoiceRowsDetailsType:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.type=e},setInvoicesInvoiceRowsDetailsVat:function(t,e){t.invoicesInvoiceRowsEditingDialogDetails.vat=e},setInvoicesInvoiceRowsTitleOptions:function(t,e){t.invoicesInvoiceRowsTitleOptions=e},setInvoicesInvoiceRowsTitleSearch:function(t,e){t.invoicesInvoiceRowsTitleSearch=e},setInvoicesInvoiceRowsIsNewSearch:function(t,e){t.invoicesInvoiceRowsIsNewSearch=e},setShowGemaTasDialog:function(t,e){t.showGemaTasDialog=e},setGemaTasDialogDetailsExcludedCountry:function(t,e){t.gemaTasDialogDetailsExcludedCountry=e},setSelectedPeriodValuesGemaTasDialog:function(t,e){t.selectedPeriodValues=e},setSelectedPeriodNumberGemaTasDialog:function(t,e){t.selectedPeriodValues.number=e},setSelectedPeriodTimeUnitGemaTasDialog:function(t,e){t.selectedPeriodValues.timeUnit=e},setSelectedPeriodYearGemaTasDialog:function(t,e){t.selectedPeriodValues.year=e}},cU={fetchInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getSelectedInvoicesPeriodFromFilter,s=n.getSelectedInvoicesPeriodToFilter,r=n.getInvoicesServerSideSortingOptions,l={search:n.getInvoicesSearch,type:n.getSelectedInvoicesTypeFilter,status:n.getSelectedInvoicesStatusFilter,periodFrom:i,periodTo:s},l["periodDate"]=null===i&&null===s?[]:n.getSelectedInvoicesPeriodDateFilter,o=this._vm.$alvPlugin.createApiUrlFilterString(l),t.next=10,k$.getListData2(nU,n.getCurrentPage,r.sortBy,r.sortDesc,o);case 10:c=t.sent,void 0===c||0===c.list.length||1===c.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setInvoices",[])):a("setInvoices",c.list),this._vm.$alvPlugin.storePagingInformations(c.filteredRecords,c.currentPage,c.totalRecords),a("setIsLoading",!1);case 14:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteInvoicesRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setInvoicesRecipientOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchInvoicesDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,n("setIsLoading",!0),void 0===a&&(a=i.getInvoicesDetailsAlvId),"new"!==a){t.next=8;break}r=JSON.parse(JSON.stringify(i.getDefaultNewInvoice)),r["currency"]=i.getSelectedCurrency,t.next=12;break;case 8:return t.next=10,k$.getDetailsById(nU,a);case 10:l=t.sent,void 0===l||0===l.length||1===l.error?r={}:(o=l.statisticIn.month,c=l.statisticIn.year,l.statisticIn=null!=o&&null!=c?c+"-"+o:null,r=l);case 12:null!==r.conversionFactor&&(r.conversionFactor=it.n(r.conversionFactor,"decimal8")),n("setInvoicesDetails",r),s("fetchInvoicesInvoiceRows"),void 0!==i.getInvoicesDetailsRecipient&&null!==i.getInvoicesDetailsRecipient&&(n("setInvoicesRecipientOptions",[i.getInvoicesDetailsRecipient]),n("setInvoicesDetailsRecipientFullAddress",i.getInvoicesDetailsRecipientFullAddress)),n("setIsLoading",!1);case 17:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveInvoicesForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getInvoicesDetailsAlvId,r=n.getInvoicesDetails,l="new"===O$.currentRoute.params.alvId,t.next=6,k$.saveEditForm(nU,s,r,l);case 6:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=11;break}a("setSnackbar",{type:"error",msg:it.t(o.response.errorMsg)}),t.next=15;break;case 11:return a("setSnackbar",{type:"success",msg:it.t("lang_ERP_INVOICES_SNACKBAR_INVOICE_SAVED")}),l&&O$.push({name:"InvoicesEdit",params:{alvId:o.response.alvId}}),t.next=15,i("fetchInvoicesDetails",o.response.alvId);case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doInvoicesAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.dispatch,t.t0=rU.selectedInvoicesAction,t.next="print"===t.t0?4:"delete"===t.t0?6:"export"===t.t0?8:"copy"===t.t0?10:"createAccountStatement"===t.t0?12:13;break;case 4:return rU.selectedInvoices.length>0?n("printInvoices"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",13);case 6:return rU.selectedInvoices.length>0?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",13);case 8:return rU.selectedInvoices.length>0?n("exportInvoices"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",13);case 10:return n("copyInvoices"),t.abrupt("break",13);case 12:rU.selectedInvoices.length>0?n("createAccountStatement"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0));case 13:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(nU,i.getSelectedInvoices);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getInvoices.findIndex((function(e){return e.alvId==i.getSelectedInvoices[t]}));n["default"].delete(i.getInvoices,e)},o=0;o<i.getSelectedInvoices.length;o++)l(o);a("setSelectedInvoices",[]),a("setSelectedInvoicesAction",[]),s("fetchInvoices")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s={action:"copy"},r={alvIds:n.getSelectedInvoices},t.next=5,k$.triggerAction(nU,r,s);case 5:l=t.sent,-1===l.error?(a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchInvoices")):(o=l.response.errorMsg,void 0!==o&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchInvoicesInvoiceRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getInvoicesDetails.invoiceRows;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setInvoicesInvoiceRows",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteInvoicesInvoiceRowsTitle:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i=e.getters,s=i.getInvoicesDetailsRecipient,r="invoiceRecipientAlvId="+s.alvId,l=i.getInvoicesInvoiceRowsTitleSearch,t.next=6,k$.getAutocompleteSearch(l,a,r);case 6:o=t.sent,n("setInvoicesInvoiceRowsTitleOptions",o.list);case 8:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedInvoicesInvoiceRows:function(t){var e=t.getters,a=t.commit,i=e.getSelectedInvoicesInvoiceRows[0],s=rU.invoicesInvoiceRows.findIndex((function(t){return t.id==i})),r=e.getInvoicesInvoiceRows.length;n["default"].delete(rU.invoicesInvoiceRows,s);var l=e.getInvoicesInvoiceRows.length;a("setSelectedInvoicesInvoiceRows",[]),a("setSnackbar",r>l?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),a("setSelectedInvoicesInvoiceRows",[]),0===l&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},fetchPriceForInvoiceEditPanel:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.commit,e.getters,t.abrupt("return",k$.getPriceForReleaseAndCustomer(a.releaseId,a.invoiceId));case 2:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),printInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={alvIds:a.getSelectedInvoices},s={action:"printPdf"},t.next=5,k$.triggerAction(nU,i,s);case 5:r=t.sent,1===r||void 0==r||1===r.error?n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(r.response.errorMsg)?it.t(r.response.errorMsg):r.response.errorMsg}):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),exportInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"export"},s={alvIds:a.getSelectedInvoices},t.next=5,k$.triggerAction(nU,s,i);case 5:r=t.sent,1===r.error||void 0===r?(l=r.response.errorMsg,n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l})):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),createAccountStatement:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"createAccountStatement"},s={alvIds:a.getSelectedInvoices},t.next=5,k$.triggerAction(nU,s,i);case 5:r=t.sent,1===r.error||void 0===r?(l=r.response.errorMsg,n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l})):(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),invoicesAccountOverview:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n={alvIds:[]},i={action:"unpaidInvoices"},t.next=5,k$.triggerAction(nU,n,i);case 5:if(s=t.sent,void 0!==s&&1!==s.error){t.next=10;break}a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(s.response.errorMsg)?it.t(s.response.errorMsg):s.response.errorMsg}),t.next=13;break;case 10:return t.next=12,k$.getFileFromALV(s.response.path);case 12:a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")});case 13:a("setSelectedFileReport",[]);case 14:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doGemaTasReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=n.getSelectedPeriodNumberGemaTasDialog,s=n.getSelectedPeriodTimeUnitGemaTasDialog,r=n.getSelectedPeriodYearGemaTasDialog,l="",""===s||void 0===s||null===s){t.next=27;break}t.t0=s,t.next="month"===t.t0||"quarter"===t.t0||"halfyear"===t.t0?9:"year"===t.t0?11:13;break;case 9:return null!==i&&void 0!==i&&null!==r&&void 0!==r?l=i+","+s+","+r:a("setShowPeriodRequiredDialog",!0),t.abrupt("break",13);case 11:return null!==r&&void 0!==r?l=s+","+r:a("setShowPeriodRequiredDialog",!0),t.abrupt("break",13);case 13:return o={country:n.getGemaTasDialogDetailsExcludedCountry},c={action:"gemaTas",period:l},a("setIsLoading",!0),t.next=18,k$.triggerAction(nU,o,c);case 18:if(u=t.sent,-1!==u.error){t.next=25;break}return t.next=22,k$.getFileFromALV(u.response.path);case 22:a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}),t.next=26;break;case 25:a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")});case 26:a("setIsLoading",!1);case 27:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doGemaAuditReport:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!0),i=a.getSelectedInvoicesPeriodFromFilter,s=a.getSelectedInvoicesPeriodToFilter,r={action:"gemaAuditReport"},l={search:a.getInvoicesSearch,type:a.getSelectedInvoicesTypeFilter,status:a.getSelectedInvoicesStatusFilter,periodFrom:i,periodTo:s},l["periodDate"]=null===i&&null===s?[]:a.getSelectedInvoicesPeriodDateFilter,o=this._vm.$alvPlugin.createApiPostFilterString(l),t.next=10,k$.triggerAction(nU,o,r);case 10:c=t.sent,-1===c.error?(k$.getFileFromALV(c.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DOWNLOAD_NOT_SUCCESSFULL")}),n("setIsLoading",!1),n("setSelectedFileReport",[]);case 14:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},uU={state:rU,getters:lU,actions:cU,mutations:oU},dU="az/persons",gU={id:0,alvId:"ALV000000000AP",picture:null,pictureBig:null,firstName:null,lastName:null,zip:null,city:null,state:null,country:null,cellphone:null,email:null,formOfAddress:1,formatNameAddress:null,phone:null,phonePrivate:null,tags:null,notes:null,web:null,facebook:null,twitter:null,youtube:null,fax:null,type:null,name:null,gemaName:null,dealflow:null,visibility:2,api:null,labelcode:null,language:null,group:null,inheritFromGroup:!1,addressRow1:null,addressRow2:null,salutation1:null,salutation2:null,metadata:{bgNineSplit:"no",customerNumber:null,dateOfBirth:null,gemaMember:"no",freeAuthor:"no",gemaNextPrefix:null,gemaNextSuffix:null,hkto:null,ipi:null,labelCompanyAlvId:null,language:"de",publishingCompanyAlvId:null,subSplitTreshold:null,ukto:null,ykto:null},finance:{accountHolder:null,bankName:null,bic:null,iban:null,labelStatementsText:null,paymentOrder:null,paymentTarget:null,publishingStatementsText:null,registerCourt:null,registrationNumber:null,taxIdNumber:null,taxLiabilityPercentage:null,taxNumber:null,taxOffice:null,taxWaiver:null,taxWaiverFrom:null,taxWaiverTo:null,vatId:null,vatLicense:null,vatRetail:null},communications:[],apiRows:[]},pU={id:0,commDate:null,commType:null,commNotes:null,recontactDate:null,recontactHook:null,status:"no"},vU={id:0,value:null,name:null,personObject:null,type:"recipientId",source:null,alvId:null,sourceAlvId:null},_U={azPersons:[],azReminders:[],selectedAzPersons:[],isAllSelectedAzPersons:!1,expandedAzPersons:[],azPersonsSearch:"",selectedAzPersonsQualityFilter:[],azPersonsServerSideSortingOptions:{sortBy:["name"],sortDesc:[!1],mustSort:!0},selectedAzPersonsAction:[],showAzPersonsShowConnectionsDialog:!1,showConnectionsDialogText:"",showConnectionsCSVLink:null,showAzPersonsReassignConnectionsDialog:!1,reassignConnectionsDialogText:"",reassignConnectionsCSVLink:null,showAzPersonsCommunicationEditingDialog:!1,showAzPersonsOtherIdsEditingDialog:!1,printAzPersonsA4LabelsForm:{},printAzPersonsA4LabelsDialog:!1,reassignAzPersonsOptions:[],reassignAzPersonsDetailsdropdownAzPersons:null,azPersonsUniqueId:"",defaultNewAzPersons:gU,azPersonsDetails:gU,azPersonsMetadata:{},azPersonsFinance:{},azPersonsCommunication:[],selectedAzPersonsCommunication:[],azPersonsCommunicationEditingDialogDetails:pU,defaultAzPersonsCommunication:pU,azPersonsOtherIds:[],selectedAzPersonsOtherIds:[],azPersonsOtherIdsEditingDialogDetails:vU,defaultAzPersonsOtherIds:vU,azPersonsOtherIdsEditingDialogPersonObjectOptions:[],selectedSyncApi:[],azPersonsApiRows:[]},hU={getAzPersons:function(t){return t.azPersons},getAzReminders:function(t){return t.azReminders},getSelectedAzPersons:function(t){return t.selectedAzPersons},getIsAllSelectedAzPersons:function(t){return t.isAllSelectedAzPersons},getExpandedAzPersons:function(t){return t.expandedAzPersons},getAzPersonsSearch:function(t){return t.azPersonsSearch},getSelectedAzPersonsQualityFilter:function(t){return t.selectedAzPersonsQualityFilter},getAzPersonsServerSideSortingOptions:function(t){return t.azPersonsServerSideSortingOptions},getSelectedAzPersonsAction:function(t){return t.selectedAzPersonsAction},getShowAzPersonsShowConnectionsDialog:function(t){return t.showAzPersonsShowConnectionsDialog},getShowConnectionsDialogText:function(t){return t.showConnectionsDialogText},getShowConnectionsCSVLink:function(t){return t.showConnectionsCSVLink},getShowAzPersonsReassignConnectionsDialog:function(t){return t.showAzPersonsReassignConnectionsDialog},getReassignConnectionsDialogText:function(t){return t.reassignConnectionsDialogText},getReassignConnectionsCSVLink:function(t){return t.reassignConnectionsCSVLink},getPrintAzPersonsA4LabelsDialog:function(t){return t.printAzPersonsA4LabelsDialog},getPrintAzPersonsA4LabelsForm:function(t){return t.printAzPersonsA4LabelsForm},getPrintAzPersonsA4LabelsFormDetailsNumberOfColumns:function(t){return t.printAzPersonsA4LabelsForm.numberOfColumns},getPrintAzPersonsA4LabelsFormDetailsNumberOfRows:function(t){return t.printAzPersonsA4LabelsForm.numberOfRows},getPrintAzPersonsA4LabelsFormDetailsLabelWidth:function(t){return t.printAzPersonsA4LabelsForm.labelWidth},getPrintAzPersonsA4LabelsFormDetailsLabelHeight:function(t){return t.printAzPersonsA4LabelsForm.labelHeight},getPrintAzPersonsA4LabelsFormDetailsTopMargin:function(t){return t.printAzPersonsA4LabelsForm.marginTop},getPrintAzPersonsA4LabelsFormDetailsLeftMargin:function(t){return t.printAzPersonsA4LabelsForm.marginLeft},getPrintAzPersonsA4LabelsFormDetailsSizeSender:function(t){return t.printAzPersonsA4LabelsForm.fontSizeSender},getPrintAzPersonsA4LabelsFormDetailsSizeAddress:function(t){return t.printAzPersonsA4LabelsForm.fontSizeAddress},getPrintAzPersonsA4LabelsFormDetailsSenderLine:function(t){return t.printAzPersonsA4LabelsForm.senderLine},getPrintAzPersonsA4LabelsFormDetailsPrintTagMarking:function(t){return t.printAzPersonsA4LabelsForm.tagMarking},getReassignAzPersonsOptions:function(t){return t.reassignAzPersonsOptions},getReassignAzPersonsDetailsdropdownAzPersons:function(t){return t.reassignAzPersonsDetailsdropdownAzPersons},getShowAzPersonsCommunicationEditingDialog:function(t){return t.showAzPersonsCommunicationEditingDialog},getAzPersonsUniqueId:function(t){return t.azPersonsUniqueId},getDefaultNewAzPersons:function(t){return t.defaultNewAzPersons},getAzPersonsDetails:function(t){return t.azPersonsDetails},getAzPersonsDetailsAlvId:function(t){return t.azPersonsDetails.alvId},getAzPersonsDetailsGroup:function(t){return t.azPersonsDetails.group},getAzPersonsInheritsDataFromGroup:function(t){return t.azPersonsDetails.inheritFromGroup},getAzPersonsDetailsDepartment:function(t){return t.azPersonsDetails.department},getAzPersonsDetailsSalutationOne:function(t){return t.azPersonsDetails.salutation1},getAzPersonsDetailsSalutationTwo:function(t){return t.azPersonsDetails.salutation2},getAzPersonsDetailsFirstName:function(t){return t.azPersonsDetails.firstName},getAzPersonsDetailsLastName:function(t){return t.azPersonsDetails.lastName},getAzPersonsDetailsAddressRowOne:function(t){return t.azPersonsDetails.addressRow1},getAzPersonsDetailsAddressRowTwo:function(t){return t.azPersonsDetails.addressRow2},getAzPersonsDetailsZip:function(t){return t.azPersonsDetails.zip},getAzPersonsDetailsCity:function(t){return t.azPersonsDetails.city},getAzPersonsDetailsState:function(t){return t.azPersonsDetails.state},getAzPersonsDetailsCountry:function(t){return t.azPersonsDetails.country},getAzPersonsDetailsCellphone:function(t){return t.azPersonsDetails.cellphone},getAzPersonsDetailsEmail:function(t){return t.azPersonsDetails.email},getAzPersonsDetailsPhone:function(t){return t.azPersonsDetails.phone},getAzPersonsDetailsPhonePrivate:function(t){return t.azPersonsDetails.phonePrivate},getAzPersonsDetailsTags:function(t){return t.azPersonsDetails.tags},getAzPersonsDetailsNotes:function(t){return t.azPersonsDetails.notes},getAzPersonsDetailsWeb:function(t){return t.azPersonsDetails.web},getAzPersonsDetailsFacebook:function(t){return t.azPersonsDetails.facebook},getAzPersonsDetailsTwitter:function(t){return t.azPersonsDetails.twitter},getAzPersonsDetailsYoutube:function(t){return t.azPersonsDetails.youtube},getAzPersonsDetailsFax:function(t){return t.azPersonsDetails.fax},getAzPersonsDetailsGemaName:function(t){return t.azPersonsDetails.gemaName},getAzPersonsDetailsDealflow:function(t){return t.azPersonsDetails.dealflow},getAzPersonsDetailsType:function(t){return t.azPersonsDetails.type},getAzPersonsDetailsApi:function(t){return t.azPersonsDetails.api},getAzPersonsDetailsVisibility:function(t){return t.azPersonsDetails.visibility},getAzPersonsDetailsLabelcode:function(t){return t.azPersonsDetails.labelcode},getAzPersonsDetailsFormOfAddress:function(t){return t.azPersonsDetails.formOfAddress},getAzPersonsDetailsFormatNameAddress:function(t){return t.azPersonsDetails.formatNameAddress},getAzPersonsMetadata:function(t){return t.azPersonsMetadata},getAzPersonsMetadataDetailsLanguage:function(t){return t.azPersonsMetadata.language},getAzPersonsMetadataDetailsIpi:function(t){return t.azPersonsMetadata.ipi},getAzPersonsMetadataDetailsBirthday:function(t){return t.azPersonsMetadata.dateOfBirth},getAzPersonsMetadataDetailsCustomerNumber:function(t){return t.azPersonsMetadata.customerNumber},getAzPersonsMetadataDetailsGemaNextPrefix:function(t){return t.azPersonsMetadata.gemaNextPrefix},getAzPersonsMetadataDetailsGemaNextSuffix:function(t){return t.azPersonsMetadata.gemaNextSuffix},getAzPersonsMetadataDetailsSubSplitTreshold:function(t){return t.azPersonsMetadata.subSplitTreshold},getAzPersonsMetadataDetailsYkto:function(t){return t.azPersonsMetadata.ykto},getAzPersonsMetadataDetailsHkto:function(t){return t.azPersonsMetadata.hkto},getAzPersonsMetadataDetailsUkto:function(t){return t.azPersonsMetadata.ukto},getAzPersonsMetadataDetailsGemaMember:function(t){return t.azPersonsMetadata.gemaMember},getAzPersonsMetadataDetailsBgNineSplit:function(t){return t.azPersonsMetadata.bgNineSplit},getAzPersonsMetadataDetailsFreeAuthor:function(t){return t.azPersonsMetadata.freeAuthor},getAzPersonsMetadataDetailsLabelCompany:function(t){return t.azPersonsMetadata.labelCompanyAlvId},getAzPersonsMetadataDetailsPublishingCompany:function(t){return t.azPersonsMetadata.publishingCompanyAlvId},getAzPersonsMetadataDetailsYearOfDeath:function(t){return t.azPersonsMetadata.yearOfDeath},getAzPersonsFinance:function(t){return t.azPersonsFinance},getAzPersonsFinanceDetailsPaymentOrder:function(t){return t.azPersonsFinance.paymentOrder},getAzPersonsFinanceDetailsAccountHolder:function(t){return t.azPersonsFinance.accountHolder},getAzPersonsFinanceDetailsPaymentTarget:function(t){return t.azPersonsFinance.paymentTarget},getAzPersonsFinanceDetailsVatId:function(t){return t.azPersonsFinance.vatId},getAzPersonsFinanceDetailsAccountNumber:function(t){return t.azPersonsFinance.accountNumber},getAzPersonsFinanceDetailsIban:function(t){return t.azPersonsFinance.iban},getAzPersonsFinanceDetailsVatRetail:function(t){return t.azPersonsFinance.vatRetail},getAzPersonsFinanceDetailsVatLicense:function(t){return t.azPersonsFinance.vatLicense},getAzPersonsFinanceDetailsTaxOffice:function(t){return t.azPersonsFinance.taxOffice},getAzPersonsFinanceDetailsBic:function(t){return t.azPersonsFinance.bic},getAzPersonsFinanceDetailsRegistrationNumber:function(t){return t.azPersonsFinance.registrationNumber},getAzPersonsFinanceDetailsTaxIdNumber:function(t){return t.azPersonsFinance.taxIdNumber},getAzPersonsFinanceDetailsBankName:function(t){return t.azPersonsFinance.bankName},getAzPersonsFinanceDetailsRegisterCourt:function(t){return t.azPersonsFinance.registerCourt},getAzPersonsFinanceDetailsTaxNumber:function(t){return t.azPersonsFinance.taxNumber},getAzPersonsFinanceDetailsTaxWaiver:function(t){return t.azPersonsFinance.taxWaiver},getAzPersonsFinanceDetailsTaxWaiverFrom:function(t){return t.azPersonsFinance.taxWaiverFrom},getAzPersonsFinanceDetailsTaxWaiverTo:function(t){return t.azPersonsFinance.taxWaiverTo},getAzPersonsFinanceDetailsTaxLiabilityPercentage:function(t){return t.azPersonsFinance.taxLiabilityPercentage},getAzPersonsFinanceDetailsPublishingStatementsText:function(t){return t.azPersonsFinance.publishingStatementsText},getAzPersonsFinanceDetailsLabelStatementsText:function(t){return t.azPersonsFinance.labelStatementsText},getAzPersonsCommunication:function(t){return t.azPersonsCommunication},getDefaultAzPersonsCommunication:function(t){return t.defaultAzPersonsCommunication},getSelectedAzPersonsCommunication:function(t){return t.selectedAzPersonsCommunication},getAzPersonsCommunicationDetailsDate:function(t){return t.azPersonsCommunicationEditingDialogDetails.commDate},getAzPersonsCommunicationDetailsType:function(t){return t.azPersonsCommunicationEditingDialogDetails.commType},getAzPersonsCommunicationDetailsNotes:function(t){return t.azPersonsCommunicationEditingDialogDetails.commNotes},getAzPersonsCommunicationDetailsRecontactDate:function(t){return t.azPersonsCommunicationEditingDialogDetails.recontactDate},getAzPersonsCommunicationDetailsStatus:function(t){return t.azPersonsCommunicationEditingDialogDetails.status},getAzPersonsCommunicationDetailsRecontactHook:function(t){return t.azPersonsCommunicationEditingDialogDetails.recontactHook},getAzPersonsCommunicationEditingDialogDetails:function(t){return t.azPersonsCommunicationEditingDialogDetails},getAzPersonsOtherIds:function(t){return t.azPersonsOtherIds},getDefaultAzPersonsOtherIds:function(t){return t.defaultAzPersonsOtherIds},getAzPersonsOtherIdsEditingDialogDetails:function(t){return t.azPersonsOtherIdsEditingDialogDetails},getSelectedAzPersonsOtherIds:function(t){return t.selectedAzPersonsOtherIds},getShowAzPersonsOtherIdsEditingDialog:function(t){return t.showAzPersonsOtherIdsEditingDialog},getAzPersonsOtherIdsPersonObjectOptions:function(t){return t.azPersonsOtherIdsEditingDialogPersonObjectOptions},getAzPersonsOtherIdsDetailsPersonObject:function(t){return t.azPersonsOtherIdsEditingDialogDetails.personObject},getAzPersonsOtherIdsDetailsName:function(t){return t.azPersonsOtherIdsEditingDialogDetails.name},getAzPersonsOtherIdsDetailsAlvId:function(t){return t.azPersonsOtherIdsEditingDialogDetails.alvId},getAzPersonsOtherIdsDetailsType:function(t){return t.azPersonsOtherIdsEditingDialogDetails.type},getAzPersonsOtherIdsDetailsSource:function(t){return t.azPersonsOtherIdsEditingDialogDetails.source},getAzPersonsOtherIdsDetailsValue:function(t){return t.azPersonsOtherIdsEditingDialogDetails.value},getAzPersonsOtherIdsDetailsSourceAlvId:function(t){return t.azPersonsOtherIdsEditingDialogDetails.sourceAlvId},getSyncAzPersonsDetailsApi:function(t){return t.selectedSyncApi},getAzPersonsApiRows:function(t){return t.azPersonsApiRows},getAzPersonsImageUrl:function(t){return t.azPersonsDetails.picture}},mU={setAzPersons:function(t,e){t.azPersons=e},setAzReminders:function(t,e){t.azReminders=e},setSelectedAzPersons:function(t,e){t.selectedAzPersons=e},setIsAllSelectedAzPersons:function(t,e){t.isAllSelectedAzPersons=e},setExpandedAzPersons:function(t,e){t.expandedAzPersons=[e]},setAzPersonsSearch:function(t,e){t.azPersonsSearch=e},setSelectedAzPersonsQualityFilter:function(t,e){t.selectedAzPersonsQualityFilter=e},setAzPersonsServerSideSortingOptions:function(t,e){t.azPersonsServerSideSortingOptions=e},setSelectedAzPersonsAction:function(t,e){t.selectedAzPersonsAction=e},setShowAzPersonsShowConnectionsDialog:function(t,e){t.showAzPersonsShowConnectionsDialog=e},setShowConnectionsDialogText:function(t,e){t.showConnectionsDialogText=e},setShowConnectionsCSVLink:function(t,e){t.showConnectionsCSVLink=e},setShowAzPersonsReassignConnectionsDialog:function(t,e){t.showAzPersonsReassignConnectionsDialog=e},setReassignConnectionsDialogText:function(t,e){t.reassignConnectionsDialogText=e},setReassignConnectionsCSVLink:function(t,e){t.reassignConnectionsCSVLink=e},setPrintAzPersonsA4LabelsDialog:function(t,e){t.printAzPersonsA4LabelsDialog=e},setPrintAzPersonsA4LabelsForm:function(t,e){t.printAzPersonsA4LabelsForm=e},setPrintAzPersonsA4LabelsFormDetailsNumberOfColumns:function(t,e){t.printAzPersonsA4LabelsForm.numberOfColumns=e},setPrintAzPersonsA4LabelsFormDetailsNumberOfRows:function(t,e){t.printAzPersonsA4LabelsForm.numberOfRows=e},setPrintAzPersonsA4LabelsFormDetailsLabelWidth:function(t,e){t.printAzPersonsA4LabelsForm.labelWidth=e},setPrintAzPersonsA4LabelsFormDetailsLabelHeight:function(t,e){t.printAzPersonsA4LabelsForm.labelHeight=e},setPrintAzPersonsA4LabelsFormDetailsTopMargin:function(t,e){t.printAzPersonsA4LabelsForm.marginTop=e},setPrintAzPersonsA4LabelsFormDetailsLeftMargin:function(t,e){t.printAzPersonsA4LabelsForm.marginLeft=e},setPrintAzPersonsA4LabelsFormDetailsSizeSender:function(t,e){t.printAzPersonsA4LabelsForm.fontSizeSender=e},setPrintAzPersonsA4LabelsFormDetailsSizeAddress:function(t,e){t.printAzPersonsA4LabelsForm.fontSizeAddress=e},setPrintAzPersonsA4LabelsFormDetailsSenderLine:function(t,e){t.printAzPersonsA4LabelsForm.senderLine=e},setPrintAzPersonsA4LabelsFormDetailsPrintTagMarking:function(t,e){t.printAzPersonsA4LabelsForm.tagMarking=e},setReassignAzPersonsOptions:function(t,e){t.reassignAzPersonsOptions=e},setReassignAzPersonsDetailsdropdownAzPersons:function(t,e){t.reassignAzPersonsDetailsdropdownAzPersons=e},setShowAzPersonsCommunicationEditingDialog:function(t,e){t.showAzPersonsCommunicationEditingDialog=e},setAzPersonsUniqueId:function(t,e){t.azPersonsUniqueId=e},setDefaultNewAzPersons:function(t){t.defaultNewAzPersons=gU},setAzPersonsDetails:function(t,e){t.azPersonsDetails=e},setAzPersonsDetailsAlvId:function(t,e){t.azPersonsDetails.alvId=e},setAzPersonsDetailsGroup:function(t,e){t.azPersonsDetails.group=e},setAzPersonsInheritsDataFromGroup:function(t,e){t.azPersonsDetails.inheritFromGroup=e},setAzPersonsDetailsDepartment:function(t,e){t.azPersonsDetails.department=e},setAzPersonsDetailsSalutationOne:function(t,e){t.azPersonsDetails.salutation1=e},setAzPersonsDetailsSalutationTwo:function(t,e){t.azPersonsDetails.salutation2=e},setAzPersonsDetailsFirstName:function(t,e){t.azPersonsDetails.firstName=e},setAzPersonsDetailsLastName:function(t,e){t.azPersonsDetails.lastName=e},setAzPersonsDetailsAddressRowOne:function(t,e){t.azPersonsDetails.addressRow1=e},setAzPersonsDetailsAddressRowTwo:function(t,e){t.azPersonsDetails.addressRow2=e},setAzPersonsDetailsZip:function(t,e){t.azPersonsDetails.zip=e},setAzPersonsDetailsCity:function(t,e){t.azPersonsDetails.city=e},setAzPersonsDetailsState:function(t,e){t.azPersonsDetails.state=e},setAzPersonsDetailsCountry:function(t,e){t.azPersonsDetails.country=e},setAzPersonsDetailsCellphone:function(t,e){t.azPersonsDetails.cellphone=e},setAzPersonsDetailsEmail:function(t,e){t.azPersonsDetails.email=e},setAzPersonsDetailsPhone:function(t,e){t.azPersonsDetails.phone=e},setAzPersonsDetailsPhonePrivate:function(t,e){t.azPersonsDetails.phonePrivate=e},setAzPersonsDetailsTags:function(t,e){t.azPersonsDetails.tags=e},setAzPersonsDetailsNotes:function(t,e){t.azPersonsDetails.notes=e},setAzPersonsDetailsWeb:function(t,e){t.azPersonsDetails.web=e},setAzPersonsDetailsFacebook:function(t,e){t.azPersonsDetails.facebook=e},setAzPersonsDetailsTwitter:function(t,e){t.azPersonsDetails.twitter=e},setAzPersonsDetailsYoutube:function(t,e){t.azPersonsDetails.youtube=e},setAzPersonsDetailsFax:function(t,e){t.azPersonsDetails.fax=e},setAzPersonsDetailsGemaName:function(t,e){t.azPersonsDetails.gemaName=e},setAzPersonsDetailsDealflow:function(t,e){t.azPersonsDetails.dealflow=e},setAzPersonsDetailsType:function(t,e){t.azPersonsDetails.type=e},setAzPersonsDetailsApi:function(t,e){t.azPersonsDetails.api=e},setAzPersonsDetailsVisibility:function(t,e){t.azPersonsDetails.visibility=e},setAzPersonsDetailsLabelcode:function(t,e){t.azPersonsDetails.labelcode=e},setAzPersonsDetailsFormOfAddress:function(t,e){t.azPersonsDetails.formOfAddress=e},setAzPersonsDetailsFormatNameAddress:function(t,e){t.azPersonsDetails.formatNameAddress=e},setAzPersonsDetailsCommunications:function(t,e){t.azPersonsDetails.communications=e},setAzPersonsMetadata:function(t,e){t.azPersonsMetadata=e},setAzPersonsMetadataDetailsLanguage:function(t,e){t.azPersonsMetadata.language=e},setAzPersonsMetadataDetailsIpi:function(t,e){t.azPersonsMetadata.ipi=e},setAzPersonsMetadataDetailsBirthday:function(t,e){t.azPersonsMetadata.dateOfBirth=e},setAzPersonsMetadataDetailsCustomerNumber:function(t,e){t.azPersonsMetadata.customerNumber=e},setAzPersonsMetadataDetailsGemaNextPrefix:function(t,e){t.azPersonsMetadata.gemaNextPrefix=e},setAzPersonsMetadataDetailsGemaNextSuffix:function(t,e){t.azPersonsMetadata.gemaNextSuffix=e},setAzPersonsMetadataDetailsSubSplitTreshold:function(t,e){t.azPersonsMetadata.subSplitTreshold=e},setAzPersonsMetadataDetailsYkto:function(t,e){t.azPersonsMetadata.ykto=e},setAzPersonsMetadataDetailsHkto:function(t,e){t.azPersonsMetadata.hkto=e},setAzPersonsMetadataDetailsUkto:function(t,e){t.azPersonsMetadata.ukto=e},setAzPersonsMetadataDetailsGemaMember:function(t,e){t.azPersonsMetadata.gemaMember=e},setAzPersonsMetadataDetailsBgNineSplit:function(t,e){t.azPersonsMetadata.bgNineSplit=e},setAzPersonsMetadataDetailsFreeAuthor:function(t,e){t.azPersonsMetadata.freeAuthor=e},setAzPersonsMetadataDetailsLabelCompany:function(t,e){t.azPersonsMetadata.labelCompanyAlvId=e},setAzPersonsMetadataDetailsPublishingCompany:function(t,e){t.azPersonsMetadata.publishingCompanyAlvId=e},setAzPersonsMetadataDetailsYearOfDeath:function(t,e){t.azPersonsMetadata.yearOfDeath=e},setAzPersonsFinance:function(t,e){t.azPersonsFinance=e},setAzPersonsFinanceDetailsPaymentOrder:function(t,e){t.azPersonsFinance.paymentOrder=e},setAzPersonsFinanceDetailsAccountHolder:function(t,e){t.azPersonsFinance.accountHolder=e},setAzPersonsFinanceDetailsPaymentTarget:function(t,e){t.azPersonsFinance.paymentTarget=e},setAzPersonsFinanceDetailsVatId:function(t,e){t.azPersonsFinance.vatId=e},setAzPersonsFinanceDetailsIban:function(t,e){t.azPersonsFinance.iban=e},setAzPersonsFinanceDetailsVatRetail:function(t,e){t.azPersonsFinance.vatRetail=e},setAzPersonsFinanceDetailsVatLicense:function(t,e){t.azPersonsFinance.vatLicense=e},setAzPersonsFinanceDetailsTaxOffice:function(t,e){t.azPersonsFinance.taxOffice=e},setAzPersonsFinanceDetailsBic:function(t,e){t.azPersonsFinance.bic=e},setAzPersonsFinanceDetailsRegistrationNumber:function(t,e){t.azPersonsFinance.registrationNumber=e},setAzPersonsFinanceDetailsTaxIdNumber:function(t,e){t.azPersonsFinance.taxIdNumber=e},setAzPersonsFinanceDetailsBankName:function(t,e){t.azPersonsFinance.bankName=e},setAzPersonsFinanceDetailsRegisterCourt:function(t,e){t.azPersonsFinance.registerCourt=e},setAzPersonsFinanceDetailsTaxNumber:function(t,e){t.azPersonsFinance.taxNumber=e},setAzPersonsFinanceDetailsTaxWaiver:function(t,e){t.azPersonsFinance.taxWaiver=e},setAzPersonsFinanceDetailsTaxWaiverFrom:function(t,e){t.azPersonsFinance.taxWaiverFrom=e},setAzPersonsFinanceDetailsTaxWaiverTo:function(t,e){t.azPersonsFinance.taxWaiverTo=e},setAzPersonsFinanceDetailsTaxLiabilityPercentage:function(t,e){t.azPersonsFinance.taxLiabilityPercentage=e},setAzPersonsFinanceDetailsPublishingStatementsText:function(t,e){t.azPersonsFinance.publishingStatementsText=e},setAzPersonsFinanceDetailsLabelStatementsText:function(t,e){t.azPersonsFinance.labelStatementsText=e},setAzPersonsCommunication:function(t,e){t.azPersonsCommunication=e},setAzPersonsCommunicationEditingDialogDetails:function(t,e){t.azPersonsCommunicationEditingDialogDetails=e},setSelectedAzPersonsCommunication:function(t,e){t.selectedAzPersonsCommunication=e},setAzPersonsCommunicationDetailsDate:function(t,e){t.azPersonsCommunicationEditingDialogDetails.commDate=e},setAzPersonsCommunicationDetailsType:function(t,e){t.azPersonsCommunicationEditingDialogDetails.commType=e},setAzPersonsCommunicationDetailsNotes:function(t,e){t.azPersonsCommunicationEditingDialogDetails.commNotes=e},setAzPersonsCommunicationDetailsRecontactDate:function(t,e){t.azPersonsCommunicationEditingDialogDetails.recontactDate=e},setAzPersonsCommunicationDetailsStatus:function(t,e){t.azPersonsCommunicationEditingDialogDetails.status=e},setAzPersonsCommunicationDetailsRecontactHook:function(t,e){t.azPersonsCommunicationEditingDialogDetails.recontactHook=e},setAzPersonsOtherIds:function(t,e){t.azPersonsOtherIds=e},setAzPersonsOtherIdsEditingDialogDetails:function(t,e){t.azPersonsOtherIdsEditingDialogDetails=e},setSelectedAzPersonsOtherIds:function(t,e){t.selectedAzPersonsOtherIds=e},setShowAzPersonsOtherIdsEditingDialog:function(t,e){t.showAzPersonsOtherIdsEditingDialog=e},setAzPersonsOtherIdsPersonObjectOptions:function(t,e){t.azPersonsOtherIdsEditingDialogPersonObjectOptions=e},setAzPersonsOtherIdsDetailsPersonObject:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.personObject=e},setAzPersonsOtherIdsDetailsName:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.name=e},setAzPersonsOtherIdsDetailsAlvId:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.alvId=e},setAzPersonsOtherIdsDetailsType:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.type=e},setAzPersonsOtherIdsDetailsSource:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.source=e},setAzPersonsOtherIdsDetailsValue:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.value=e},setAzPersonsOtherIdsDetailsSourceAlvId:function(t,e){t.azPersonsOtherIdsEditingDialogDetails.sourceAlvId=e},setSyncAzPersonsDetailsApi:function(t,e){t.selectedSyncApi=e},setAzPersonsApiRows:function(t,e){t.azPersonsApiRows=e},setAzPersonsImageUrl:function(t,e){t.azPersonsDetails.picture=e}},fU={fetchAzPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getAzPersonsSearch,quality:n.getSelectedAzPersonsQualityFilter},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getAzPersonsServerSideSortingOptions,t.next=7,k$.getListData2(dU,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzPersons",[])):a("setAzPersons",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAZReminders:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getReminders(dU,"reminder");case 3:n=t.sent,a("setAzReminders",n);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzPersonsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=10;break}l=JSON.parse(JSON.stringify(i.getDefaultNewAzPersons)),o=this._vm.$alvPlugin.setCountryInAzGroupsAndPersons(),c=i.getUserLanguage,l.metadata.language="de"===c?c:"en",l.country=o,r=l,t.next=14;break;case 10:return t.next=12,k$.getDetailsById(dU,a);case 12:u=t.sent,void 0===u||0===u.length||1===u.error?n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"}):r=u;case 14:n("setAzPersonsDetails",r),s("fetchAzPersonsMetadata"),s("fetchAzPersonsFinance"),s("fetchAzPersonsCommunications"),s("fetchAzPersonsOtherIds"),s("fetchAzPersonsApiRows"),n("setIsLoading",!1);case 21:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAzPersonsMetadata:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzPersonsDetails.metadata,n("setAzPersonsMetadata",i);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzPersonsFinance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzPersonsDetails.finance,i&&(null!==i.vatLicense&&""!==i.vatLicense&&(i.vatLicense=it.n(i.vatLicense,"number")),null!==i.vatRetail&&""!==i.vatRetail&&(i.vatRetail=it.n(i.vatRetail,"number"))),n("setAzPersonsFinance",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzPersonsCommunications:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getAzPersonsDetails.communications,void 0!=i&&null!=i||(i=[]),a("setAzPersonsCommunication",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzPersonsOtherIds:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=e.commit,n=e.getters,i=n.getAzPersonsDetails.otherIds,void 0!=i&&null!=i||(i=[]),s=0;s<i.length;s++)i[s];a("setAzPersonsOtherIds",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteAzPersonsOtherIdsPersonObject:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setAzPersonsOtherIdsPersonObjectOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAzPersonsApiRows:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.commit,n=e.getters,i=n.getAzPersonsDetails.apiRows,void 0!=i&&null!=i||(i=[]),a("setAzPersonsApiRows",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveAzPersonsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=!(g.length>1&&void 0!==g[1])||g[1],r=n.getAzPersonsDetailsAlvId,l=n.getAzPersonsDetails,o=!1,o=s?"new"==O$.currentRoute.params.alvId:0===n.getAzPersonsDetails["id"],t.next=8,k$.saveEditForm(dU,r,l,o);case 8:if(c=t.sent,void 0!==c&&0!==c.length&&1!==c.error){t.next=16;break}u=c.response.errorMsg,d=it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL"),u.forEach((function(t){d+="<br />"+it.t(t)})),a("setSnackbar",{type:"error",msg:d}),t.next=21;break;case 16:return a("setSnackbar",{type:"success",msg:it.t("lang_AZ_PERSONS_SNACKBAR_PERSON_SAVED")}),o&&s&&O$.push({name:"AzPersonsEdit",params:{alvId:c.response.alvId}}),t.next=20,i("fetchAzPersonsDetails",c.response.alvId);case 20:this._vm.$alvPlugin.updateListOfDistributorsInLocalStorageAccordingToEntity(n.getAzPersonsDetails);case 21:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doAzPersonsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.dispatch,n=e.commit,"showConnections"!==_U.selectedAzPersonsAction&&"convertToGroup"!==_U.selectedAzPersonsAction){t.next=16;break}if(!(0===_U.selectedAzPersons.length||_U.selectedAzPersons.length>1)){t.next=7;break}n("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),n("setShowSelectionRequiredDialog",!0),t.next=14;break;case 7:t.t0=_U.selectedAzPersonsAction,t.next="showConnections"===t.t0?10:"convertToGroup"===t.t0?12:14;break;case 10:return a("showConnections"),t.abrupt("break",14);case 12:return a("convertToGroup"),t.abrupt("break",14);case 14:t.next=41;break;case 16:if(!(_U.selectedAzPersons.length>0)){t.next=39;break}if(!("reassignConnections"===_U.selectedAzPersonsAction&&_U.selectedAzPersons.length<2)){t.next=22;break}n("setSelectionRequiredText","lang_GENERIC_CAPTION_SELECTION_REQUIRED_AT_LEAST_TWO"),n("setShowSelectionRequiredDialog",!0),t.next=37;break;case 22:t.t1=_U.selectedAzPersonsAction,t.next="printAzPersonsA4Labels"===t.t1?25:"printAzPersonsA6Labels"===t.t1?27:"reassignConnections"===t.t1?29:"delete"===t.t1?31:"replaceTags"===t.t1?33:"syncData"===t.t1?35:37;break;case 25:return a("fetchPrintA4LabelsDialogData"),t.abrupt("break",37);case 27:return a("createA6PDF"),t.abrupt("break",37);case 29:return a("reassignConnections"),t.abrupt("break",37);case 31:return n("setShowDeletionDialog",!0),t.abrupt("break",37);case 33:return n("setShowManageTagsDialog",!0),t.abrupt("break",37);case 35:return n("setShowSyncDataDialog",!0),t.abrupt("break",37);case 37:t.next=41;break;case 39:n("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),n("setShowSelectionRequiredDialog",!0);case 41:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPrintA4LabelsDialogData:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getSpecificFormData(dU+"/a4PrintValues");case 3:n=t.sent,-1===n.error?(a("setPrintAzPersonsA4LabelsForm",n.response),a("setPrintAzPersonsA4LabelsDialog",!0)):a("setSnackbar",{type:"error",msg:"Es ist ein Fehler aufgetreten"});case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),createAddressLabelsPDF:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"printA4"},s={azIds:a.getSelectedAzPersons,numberOfColumns:a.getPrintAzPersonsA4LabelsFormDetailsNumberOfColumns,numberOfRows:a.getPrintAzPersonsA4LabelsFormDetailsNumberOfRows,labelWidth:a.getPrintAzPersonsA4LabelsFormDetailsLabelWidth,labelHeight:a.getPrintAzPersonsA4LabelsFormDetailsLabelHeight,marginTop:a.getPrintAzPersonsA4LabelsFormDetailsTopMargin,marginLeft:a.getPrintAzPersonsA4LabelsFormDetailsLeftMargin,tagMarking:a.getPrintAzPersonsA4LabelsFormDetailsPrintTagMarking,senderLine:a.getPrintAzPersonsA4LabelsFormDetailsSenderLine,fontSizeSender:a.getPrintAzPersonsA4LabelsFormDetailsSizeSender,fontSizeAddress:a.getPrintAzPersonsA4LabelsFormDetailsSizeAddress},t.next=5,k$.triggerAction(dU,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),createA6PDF:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"printA6"},s={alvIds:a.getSelectedAzPersons,sendingCompany:a.getSelectedLabelCompanyId},t.next=5,k$.triggerAction(dU,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),showConnections:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"showConnections"},s={alvIds:a.getSelectedAzPersons},t.next=5,k$.triggerAction(dU,s,i);case 5:r=t.sent,-1===r.error?(l=r.response.path,null===l?n("setShowConnectionsDialogText","lang_AZ_PERSONS_SHOW_CONNECTIONS_NO_CONNECTIONS"):null!==l&&(n("setShowConnectionsDialogText","lang_AZ_PERSONS_SHOW_CONNECTIONS_CSV_FILE"),n("setShowConnectionsCSVLink",l)),n("setShowAzPersonsShowConnectionsDialog",!0)):(o=r.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),reassignConnections:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"showConnections"},s={alvIds:a.getSelectedAzPersons},t.next=5,k$.triggerAction(dU,s,i);case 5:r=t.sent,-1===r.error?(l=r.response.path,null===l?n("setReassignConnectionsDialogText","lang_AZ_MESSAGE_REASSIGN_CONNECTIONS_NO_CONNECTIONS"):null!==l&&(n("setReassignConnectionsDialogText","lang_AZ_MESSAGE_REASSIGN_CONNECTIONS_CSV_FILE"),n("setReassignConnectionsCSVLink",l)),n("setShowAzPersonsReassignConnectionsDialog",!0)):n("setSnackbar",{type:"error",msg:"lang_AZ_PERSONS_REASSIGN_CONNECTIONS_NO_CONNECTIONS"});case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),reassignConnectionsOfSelected:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"reassignConnectionsOfSelected"},r={alvIds:a.getSelectedAzPersons,selected:a.getReassignAzPersonsDetailsdropdownAzPersons.value},t.next=5,k$.triggerAction(dU,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_AZ_MESSAGE_SUCCESS_REASSIGN_CONNECTIONS")}),i("fetchAzPersons")):n("setSnackbar",{type:"error",msg:it.t("lang_AZ_MESSAGE_ERROR_REASSIGN_CONNECTIONS")}),n("setSelectedAzPersons",[]),n("setSelectedAzPersonsAction",[]),n("setIsAllSelectedAzPersons",!1);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),convertToGroup:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,i=e.commit,s={action:"convertToGroup"},r={alvIds:a.getSelectedAzPersons},t.next=5,k$.triggerAction(dU,r,s);case 5:if(l=t.sent,-1===l.error){for(o=function(t){var e=a.getAzPersons.findIndex((function(e){return e.alvId==a.getSelectedAzPersons[t]}));n["default"].delete(a.getAzPersons,e)},c=0;c<a.getSelectedAzPersons.length;c++)o(c);i("setSnackbar",{type:"success",msg:it.t("lang_AZ_PERSONS_MESSAGE_SUCCESS_ENTRY_CONVERTED")}),dispatch("fetchAzPersons")}else i("setSnackbar",{type:"error",msg:it.t("lang_AZ_PERSONS_MESSAGE_ERROR_CONVERSION_FAILED")});i("setSelectedAzPersons",[]),i("setSelectedAzPersonsAction",[]),i("setIsAllSelectedAzPersons",!1);case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedAzPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(dU,i.getSelectedAzPersons);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getAzPersons.findIndex((function(e){return e.alvId==i.getSelectedAzPersons[t]}));n["default"].delete(i.getAzPersons,e)},o=0;o<i.getSelectedAzPersons.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),s("fetchAzPersons")}else a("setErrorDialogCsvLink",r.response.path),a("setErrorMessageCode",r.errorCode),a("setShowErrorDialog",!0);a("setSelectedAzPersons",[]),a("setSelectedAzPersonsAction",[]),a("setIsAllSelectedAzPersons",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedAzPersonsCommunication:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,e.dispatch,t.next=3,k$.deleteEntries(dU+"?deleteComm",i.getSelectedAzPersonsCommunication);case 3:s=t.sent,-1===s.error&&(r=i.getAzPersonsCommunication.findIndex((function(t){return t.id==i.getSelectedAzPersonsCommunication.id})),n["default"].delete(i.getAzPersonsCommunication,r),a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")})),a("setSelectedAzPersonsCommunication",[]);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedAzPersonsOtherIds:function(t){var e=t.commit,a=t.getters,i=a.getSelectedAzPersonsOtherIds,s=_U.azPersonsOtherIds.findIndex((function(t){return t.id==i})),r=a.getAzPersonsOtherIds.length;n["default"].delete(_U.azPersonsOtherIds,s);var l=a.getAzPersonsOtherIds.length;e("setSelectedAzPersonsOtherIds",[]),r>l&&e("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}),0===l&&e("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},exportAzPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,e.dispatch,n={action:"export"},t.next=4,k$.triggerAction(dU,{},n);case 4:i=t.sent,1===i.error?(s=i.response.errorMsg,void 0!==s&&a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(s)?it.t(s):s})):(k$.getFileFromALV(i.response.path),a("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")}));case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},SU={state:_U,getters:hU,actions:fU,mutations:mU},EU="az/distributors",IU={distributors:[],selectedAzDistributors:[],azDistributorsSearch:"",isAllSelectedAzDistributors:!1,expandedAzDistributors:[],azDistributorsDetails:{addressRow1:null,addressRow2:null,alvId:"ALV000000000AD",city:null,country:null,distributor:null,fullShippingAddress:null,zip:null},azDistributorsMetadata:{},azDistributorsFinance:{}},CU={getAzDistributors:function(t){return t.distributors},getSelectedAzDistributors:function(t){return t.selectedAzDistributors},getAzDistributorsSearch:function(t){return t.azDistributorsSearch},getIsAllSelectedAzDistributors:function(t){return t.isAllSelectedAzDistributors},getExpandedAzDistributors:function(t){return t.expandedAzDistributors},getAzDistributorsDetails:function(t){return t.azDistributorsDetails},getAzDistributorsDetailsAlvId:function(t){return t.azDistributorsDetails.alvId},getAzDistributorsDetailsDistributor:function(t){return t.azDistributorsDetails.distributor},getAzDistributorsDetailsAddressRowOne:function(t){return t.azDistributorsDetails.addressRow1},getAzDistributorsDetailsAddressRowTwo:function(t){return t.azDistributorsDetails.addressRow2},getAzDistributorsDetailsZip:function(t){return t.azDistributorsDetails.zip},getAzDistributorsDetailsCity:function(t){return t.azDistributorsDetails.city},getAzDistributorsDetailsCountry:function(t){return t.azDistributorsDetails.country},getAzDistributorsDetailsFullShippingAddress:function(t){return t.azDistributorsDetails.fullShippingAddress},getAzDistributorsDetailsSalesCountry:function(t){return t.azDistributorsDetails.salesCountry},getAzDistributorsDetailsType:function(t){return t.azDistributorsDetails.type},getAzDistributorsDetailsVisibility:function(t){return t.azDistributorsDetails.visibility},getAzDistributorsDetailsNotes:function(t){return t.azDistributorsDetails.notes},getAzDistributorsDetailsShipmentNote:function(t){return t.azDistributorsDetails.shippingNote},getAzDistributorsMetadata:function(t){return t.azDistributorsMetadata},getAzDistributorsMetadataDetailsLanguage:function(t){return t.azDistributorsMetadata.language},getAzDistributorsMetadataDetailsCurrency:function(t){return t.azDistributorsMetadata.currency},getAzDistributorsMetadataDetailsFoundingDate:function(t){return t.azDistributorsMetadata.foundingDate},getAzDistributorsMetadataDetailsCustomerNumber:function(t){return t.azDistributorsMetadata.customerNumber},getAzDistributorsMetadataDetailsTasFromPricelist:function(t){return t.azDistributorsMetadata.tasFromPricelist},getAzDistributorsMetadataDetailsWarehouseName:function(t){return t.azDistributorsMetadata.warehouseName},getAzDistributorsMetadataDetailsReturnFee:function(t){return t.azDistributorsMetadata.returnFee},getAzDistributorsMetadataDetailsReturnReserveCycle:function(t){return t.azDistributorsMetadata.returnReserveCycle},getAzDistributorsMetadataDetailsReturnReservePercent:function(t){return t.azDistributorsMetadata.returnReservePercent},getAzDistributorsMetadataDetailsFocFirstShipment:function(t){return t.azDistributorsMetadata.focFirstShipment},getAzDistributorsMetadataDetailsFocAllShipments:function(t){return t.azDistributorsMetadata.focAllShipments},getAzDistributorsMetadataDetailsHandlingFee:function(t){return t.azDistributorsMetadata.handlingFee},getAzDistributorsMetadataDetailsDistributorReturnFee:function(t){return t.azDistributorsMetadata.returnFee},getAzDistributorsFinance:function(t){return t.azDistributorsFinance},getAzDistributorsFinanceDetailsPaymentOrder:function(t){return t.azDistributorsFinance.paymentOrder},getAzDistributorsFinanceDetailsAccountHolder:function(t){return t.azDistributorsFinance.accountHolder},getAzDistributorsFinanceDetailsPaymentTarget:function(t){return t.azDistributorsFinance.paymentTarget},getAzDistributorsFinanceDetailsVatId:function(t){return t.azDistributorsFinance.vatId},getAzDistributorsFinanceDetailsIban:function(t){return t.azDistributorsFinance.iban},getAzDistributorsFinanceDetailsAccountNumber:function(t){return t.azDistributorsFinance.accountNumber},getAzDistributorsFinanceDetailsVatRetail:function(t){return t.azDistributorsFinance.vatRetail},getAzDistributorsFinanceDetailsVatLicense:function(t){return t.azDistributorsFinance.vatLicense},getAzDistributorsFinanceDetailsTaxOffice:function(t){return t.azDistributorsFinance.taxOffice},getAzDistributorsFinanceDetailsBic:function(t){return t.azDistributorsFinance.bic},getAzDistributorsFinanceDetailsRegistrationNumber:function(t){return t.azDistributorsFinance.registrationNumber},getAzDistributorsFinanceDetailsTaxIdNumber:function(t){return t.azDistributorsFinance.taxIdNumber},getAzDistributorsFinanceDetailsBankName:function(t){return t.azDistributorsFinance.bankName},getAzDistributorsFinanceDetailsRegisterCourt:function(t){return t.azDistributorsFinance.registerCourt},getAzDistributorsFinanceDetailsTaxNumber:function(t){return t.azDistributorsFinance.taxNumber},getAzDistributorsFinanceDetailsTaxWaiver:function(t){return t.azDistributorsFinance.taxWaiver},getAzDistributorsFinanceDetailsTaxWaiverFrom:function(t){return t.azDistributorsFinance.taxWaiverFrom},getAzDistributorsFinanceDetailsTaxWaiverTo:function(t){return t.azDistributorsFinance.taxWaiverTo},getAzDistributorsFinanceDetailsTaxLiabilityPercentage:function(t){return t.azDistributorsFinance.taxLiabilityPercentage},getAzDistributorsFinanceDetailsPublishingStatementsText:function(t){return t.azDistributorsFinance.publishingStatementsText},getAzDistributorsFinanceDetailsLabelStatementsText:function(t){return t.azDistributorsFinance.labelStatementsText}},AU={setAzDistributors:function(t,e){t.distributors=e},setSelectedAzDistributors:function(t,e){t.selectedAzDistributors=e},setAzDistributorsSearch:function(t,e){t.azDistributorsSearch=e},setIsAllSelectedAzDistributors:function(t,e){t.isAllSelectedAzDistributors=e},setExpandedAzDistributors:function(t,e){t.expandedAzDistributors=[e]},setAzDistributorsDetails:function(t,e){t.azDistributorsDetails=e},setAzDistributorsDetailsAlvId:function(t,e){t.azDistributorsDetails.alvId=e},setAzDistributorsDetailsDistributor:function(t,e){t.azDistributorsDetails.name=e},setAzDistributorsDetailsAddressRowOne:function(t,e){t.azDistributorsDetails.addressRow1=e},setAzDistributorsDetailsAddressRowTwo:function(t,e){t.azDistributorsDetails.addressRow2=e},setAzDistributorsDetailsZip:function(t,e){t.azDistributorsDetails.zip=e},setAzDistributorsDetailsCity:function(t,e){t.azDistributorsDetails.city=e},setAzDistributorsDetailsCountry:function(t,e){t.azDistributorsDetails.country=e},setAzDistributorsDetailsFullShippingAddress:function(t,e){t.azDistributorsDetails.fullShippingAddress=e},setAzDistributorsDetailsSalesCountry:function(t,e){t.azDistributorsDetails.salesCountry=e},setAzDistributorsDetailsType:function(t,e){t.azDistributorsDetails.type=e},setAzDistributorsDetailsVisibility:function(t,e){t.azDistributorsDetails.visibility=e},setAzDistributorsDetailsNotes:function(t,e){t.azDistributorsDetails.notes=e},setAzDistributorsDetailsShipmentNote:function(t,e){t.azDistributorsDetails.shippingNote=e},setAzDistributorsMetadata:function(t,e){t.azDistributorsMetadata=e},setAzDistributorsMetadataDetailsCurrency:function(t,e){t.azDistributorsMetadata.currency=e},setAzDistributorsMetadataDetailsLanguage:function(t,e){t.azDistributorsMetadata.language=e},setAzDistributorsMetadataDetailsFoundingDate:function(t,e){t.azDistributorsMetadata.foundingDate=e},setAzDistributorsMetadataDetailsCustomerNumber:function(t,e){t.azDistributorsMetadata.customerNumber=e},setAzDistributorsMetadataDetailsTasFromPricelist:function(t,e){t.azDistributorsMetadata.tasFromPricelist=e},setAzDistributorsMetadataDetailsWarehouseName:function(t,e){t.azDistributorsMetadata.warehouseName=e},setAzDistributorsMetadataDetailsReturnFee:function(t,e){t.azDistributorsMetadata.returnFee=e},setAzDistributorsMetadataDetailsReturnReserveCycle:function(t,e){t.azDistributorsMetadata.returnReserveCycle=e},setAzDistributorsMetadataDetailsReturnReservePercent:function(t,e){t.azDistributorsMetadata.returnReservePercent=e},setAzDistributorsMetadataDetailsFocFirstShipment:function(t,e){t.azDistributorsMetadata.focFirstShipment=e},setAzDistributorsMetadataDetailsFocAllShipments:function(t,e){t.azDistributorsMetadata.focAllShipments=e},setAzDistributorsMetadataDetailsHandlingFee:function(t,e){t.azDistributorsMetadata.handlingFee=e},setAzDistributorsMetadataDetailsDistributorReturnFee:function(t,e){t.azDistributorsMetadata.returnFee=e},setAzDistributorsFinance:function(t,e){t.azDistributorsFinance=e},setAzDistributorsFinanceDetailsPaymentOrder:function(t,e){t.azDistributorsFinance.paymentOrder=e},setAzDistributorsFinanceDetailsAccountHolder:function(t,e){t.azDistributorsFinance.accountHolder=e},setAzDistributorsFinanceDetailsPaymentTarget:function(t,e){t.azDistributorsFinance.paymentTarget=e},setAzDistributorsFinanceDetailsVatId:function(t,e){t.azDistributorsFinance.vatId=e},setAzDistributorsFinanceDetailsIban:function(t,e){t.azDistributorsFinance.iban=e},setAzDistributorsFinanceDetailsVatRetail:function(t,e){t.azDistributorsFinance.vatRetail=e},setAzDistributorsFinanceDetailsVatLicense:function(t,e){t.azDistributorsFinance.vatLicense=e},setAzDistributorsFinanceDetailsTaxOffice:function(t,e){t.azDistributorsFinance.taxOffice=e},setAzDistributorsFinanceDetailsBic:function(t,e){t.azDistributorsFinance.bic=e},setAzDistributorsFinanceDetailsRegistrationNumber:function(t,e){t.azDistributorsFinance.registrationNumber=e},setAzDistributorsFinanceDetailsTaxIdNumber:function(t,e){t.azDistributorsFinance.taxIdNumber=e},setAzDistributorsFinanceDetailsBankName:function(t,e){t.azDistributorsFinance.bankName=e},setAzDistributorsFinanceDetailsRegisterCourt:function(t,e){t.azDistributorsFinance.registerCourt=e},setAzDistributorsFinanceDetailsTaxNumber:function(t,e){t.azDistributorsFinance.taxNumber=e},setAzDistributorsFinanceDetailsTaxWaiver:function(t,e){t.azDistributorsFinance.taxWaiver=e},setAzDistributorsFinanceDetailsTaxWaiverFrom:function(t,e){t.azDistributorsFinance.taxWaiverFrom=e},setAzDistributorsFinanceDetailsTaxWaiverTo:function(t,e){t.azDistributorsFinance.taxWaiverTo=e},setAzDistributorsFinanceDetailsTaxLiabilityPercentage:function(t,e){t.azDistributorsFinance.taxLiabilityPercentage=e},setAzDistributorsFinanceDetailsPublishingStatementsText:function(t,e){t.azDistributorsFinance.publishingStatementsText=e},setAzDistributorsFinanceDetailsLabelStatementsText:function(t,e){t.azDistributorsFinance.labelStatementsText=e}},TU={fetchAzDistributors:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getAzDistributorsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(EU,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzDistributors",[])):a("setAzDistributors",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzDistributorsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,e.getters,i=e.dispatch,t.next=3,k$.getDetailsById(EU,a);case 3:r=t.sent,void 0===r||0===r.length||1===r.error?s={}:(l="",null!=r.fullShippingAddress&&(l=r.fullShippingAddress),"AzDistributorsEdit"==O$.currentRoute.name&&(l=l.replace(/<br\s*[\/]?>/gi,"\n")),r.fullShippingAddress=l,s=r),n("setAzDistributorsDetails",s),i("fetchAzDistributorsMetadata"),i("fetchAzDistributorsFinance"),n("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAzDistributorsMetadata:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzDistributorsDetails.metadata,n("setAzDistributorsMetadata",i);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzDistributorsFinance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzDistributorsDetails.finance,n("setAzDistributorsFinance",i);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveAzDistributorsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getAzDistributorsDetailsAlvId,r=n.getAzDistributorsDetails,t.next=5,k$.saveEditForm(EU,s,r,!1);case 5:l=t.sent,void 0===l||0===l.length||1===l.error?(o=l.response.errorMsg,c=it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL"),o.forEach((function(t){c+="<br />"+it.t(t)})),a("setSnackbar",{type:"error",msg:c})):(a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),i("fetchAzDistributorsDetails",O$.currentRoute.params.alvId),i("updateListOfDistributorsInLocalStorage"));case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),updateListOfDistributorsInLocalStorage:function(t){var e=t.getters,a=e.getAzDistributorsDetails,n=JSON.parse(localStorage.getItem("userData")),i=n.labelStatisticsInRows.distributors;if(2===a.visibility){var s=i.find((function(t){return t.alvid===a.alvId}));if(void 0!==s&&null!==s)console.log("Visible: Already in the list in LS");else{var r={value:a.id,text:a.name,alvid:a.alvId};n.labelStatisticsInRows.distributors.push(r),localStorage.setItem("userData",JSON.stringify(n))}}else{var l=i.find((function(t){return t.alvid===a.alvId}));if(void 0!==l&&null!==l){console.log("Hidden: Already in the list in LS");var o=n.labelStatisticsInRows.distributors.findIndex((function(t){return t.alvid===l.alvid}));n.labelStatisticsInRows.distributors.splice(o,1),localStorage.setItem("userData",JSON.stringify(n))}else console.log("Hidden: Was not found")}}},bU={state:IU,getters:CU,actions:TU,mutations:AU},PU="az/groups",DU={id:0,group:null,addressRow1:null,addressRow2:null,zip:null,city:null,state:null,country:null,fullShippingAddress:null,alvId:"ALV000000000AG",web:null,facebook:null,twitter:null,youtube:null,tags:null,shippingNote:null,phone:null,fax:null,cellphone:null,email:null,formatNameAddress:null,notes:null,gemaName:null,type:null,visibility:2,metadata:{language:"de",foundingDate:null,customerNumber:null,labelCompanyAlvId:null,labelcode:null,tonisNextPrefix:null,tonisNextSuffix:null,tasFromPricelist:null,warehouseName:null,focFirstShipment:null,focAllShipments:null,handlingFee:null,publishingCompanyAlvId:null,ipi:null,gemaMember:"no",bgNineSplit:"no",ykto:null,hkto:null,ukto:null,subSplitTreshold:null},finance:{accountHolder:null,bankName:null,bic:null,iban:null,labelStatementsText:null,paymentOrder:null,paymentTarget:null,publishingStatementsText:null,registerCourt:null,registrationNumber:null,taxIdNumber:null,taxLiabilityPercentage:null,taxNumber:null,taxOffice:null,taxWaiver:null,taxWaiverFrom:null,taxWaiverTo:null,vatId:null,vatLicense:null,vatRetail:null},persons:[]},NU={groups:[],selectedAzGroups:[],isAllSelectedAzGroups:!1,azGroupsSearch:"",selectedAzGroupsAction:[],defaultNewAzGroups:DU,azGroupsUniqueId:"",azGroupsDetails:DU,expandedAzGroups:[],azGroupsMetadata:{},azGroupsFinance:{}},RU={getAzGroups:function(t){return t.groups},getSelectedAzGroups:function(t){return t.selectedAzGroups},getIsAllSelectedAzGroups:function(t){return t.isAllSelectedAzGroups},getExpandedAzGroups:function(t){return t.expandedAzGroups},getAzGroupsSearch:function(t){return t.azGroupsSearch},getSelectedAzGroupsAction:function(t){return t.selectedAzGroupsAction},getDefaultNewAzGroups:function(t){return t.defaultNewAzGroups},getAzGroupsUniqueId:function(t){return t.azGroupsUniqueId},getAzGroupsDetails:function(t){return t.azGroupsDetails},getAzGroupsDetailsGroup:function(t){return t.azGroupsDetails.group},getAzGroupsDetailsAddressRowOne:function(t){return t.azGroupsDetails.addressRow1},getAzGroupsDetailsAddressRowTwo:function(t){return t.azGroupsDetails.addressRow2},getAzGroupsDetailsZip:function(t){return t.azGroupsDetails.zip},getAzGroupsDetailsCity:function(t){return t.azGroupsDetails.city},getAzGroupsDetailsState:function(t){return t.azGroupsDetails.state},getAzGroupsDetailsCountry:function(t){return t.azGroupsDetails.country},getAzGroupsDetailsFullShippingAddress:function(t){return t.azGroupsDetails.fullShippingAddress},getAzGroupsDetailsAlvId:function(t){return t.azGroupsDetails.alvId},getAzGroupsDetailsWeb:function(t){return t.azGroupsDetails.web},getAzGroupsDetailsFacebook:function(t){return t.azGroupsDetails.facebook},getAzGroupsDetailsTwitter:function(t){return t.azGroupsDetails.twitter},getAzGroupsDetailsYoutube:function(t){return t.azGroupsDetails.youtube},getAzGroupsDetailsTags:function(t){return t.azGroupsDetails.tags},getAzGroupsDetailsShippingNote:function(t){return t.azGroupsDetails.shippingNote},getAzGroupsDetailsPhone:function(t){return t.azGroupsDetails.phone},getAzGroupsDetailsFax:function(t){return t.azGroupsDetails.fax},getAzGroupsDetailsCellphone:function(t){return t.azGroupsDetails.cellphone},getAzGroupsDetailsEmail:function(t){return t.azGroupsDetails.email},getAzGroupsDetailsFormatNameAddress:function(t){return t.azGroupsDetails.formatNameAddress},getAzGroupsDetailsNotes:function(t){return t.azGroupsDetails.notes},getAzGroupsDetailsGemaName:function(t){return t.azGroupsDetails.gemaName},getAzGroupsDetailsType:function(t){return t.azGroupsDetails.type},getAzGroupsDetailsVisibility:function(t){return t.azGroupsDetails.visibility},getAzGroupsMetadata:function(t){return t.azGroupsMetadata},getAzGroupsMetadataDetailsLanguage:function(t){return t.azGroupsMetadata.language},getAzGroupsMetadataDetailsFoundingDate:function(t){return t.azGroupsMetadata.foundingDate},getAzGroupsMetadataDetailsCustomerNumber:function(t){return t.azGroupsMetadata.customerNumber},getAzGroupsMetadataDetailsLabelCompany:function(t){return t.azGroupsMetadata.labelCompanyAlvId},getAzGroupsMetadataDetailsLabelcode:function(t){return t.azGroupsMetadata.labelcode},getAzGroupsMetadataDetailsTonisNextPrefix:function(t){return t.azGroupsMetadata.tonisNextPrefix},getAzGroupsMetadataDetailsTonisNextSuffix:function(t){return t.azGroupsMetadata.tonisNextSuffix},getAzGroupsMetadataDetailsTasFromPricelist:function(t){return t.azGroupsMetadata.tasFromPricelist},getAzGroupsMetadataDetailsWarehouseName:function(t){return t.azGroupsMetadata.warehouseName},getAzGroupsMetadataDetailsFocFirstShipment:function(t){return t.azGroupsMetadata.focFirstShipment},getAzGroupsMetadataDetailsFocAllShipments:function(t){return t.azGroupsMetadata.focAllShipments},getAzGroupsMetadataDetailsHandlingFee:function(t){return t.azGroupsMetadata.handlingFee},getAzGroupsMetadataDetailsPublishingCompany:function(t){return t.azGroupsMetadata.publishingCompanyAlvId},getAzGroupsMetadataDetailsIpi:function(t){return t.azGroupsMetadata.ipi},getAzGroupsMetadataDetailsGemaMember:function(t){return t.azGroupsMetadata.gemaMember},getAzGroupsMetadataDetailsBgNineSplit:function(t){return t.azGroupsMetadata.bgNineSplit},getAzGroupsMetadataDetailsYkto:function(t){return t.azGroupsMetadata.ykto},getAzGroupsMetadataDetailsHkto:function(t){return t.azGroupsMetadata.hkto},getAzGroupsMetadataDetailsUkto:function(t){return t.azGroupsMetadata.ukto},getAzGroupsMetadataDetailsSubSplitTreshold:function(t){return t.azGroupsMetadata.subSplitTreshold},getAzGroupsFinance:function(t){return t.azGroupsFinance},getAzGroupsFinanceDetailsPaymentOrder:function(t){return t.azGroupsFinance.paymentOrder},getAzGroupsFinanceDetailsAccountHolder:function(t){return t.azGroupsFinance.accountHolder},getAzGroupsFinanceDetailsPaymentTarget:function(t){return t.azGroupsFinance.paymentTarget},getAzGroupsFinanceDetailsVatId:function(t){return t.azGroupsFinance.vatId},getAzGroupsFinanceDetailsIban:function(t){return t.azGroupsFinance.iban},getAzGroupsFinanceDetailsAccountNumber:function(t){return t.azGroupsFinance.accountNumber},getAzGroupsFinanceDetailsVatRetail:function(t){return t.azGroupsFinance.vatRetail},getAzGroupsFinanceDetailsVatLicense:function(t){return t.azGroupsFinance.vatLicense},getAzGroupsFinanceDetailsTaxOffice:function(t){return t.azGroupsFinance.taxOffice},getAzGroupsFinanceDetailsBic:function(t){return t.azGroupsFinance.bic},getAzGroupsFinanceDetailsRegistrationNumber:function(t){return t.azGroupsFinance.registrationNumber},getAzGroupsFinanceDetailsTaxIdNumber:function(t){return t.azGroupsFinance.taxIdNumber},getAzGroupsFinanceDetailsBankName:function(t){return t.azGroupsFinance.bankName},getAzGroupsFinanceDetailsRegisterCourt:function(t){return t.azGroupsFinance.registerCourt},getAzGroupsFinanceDetailsTaxNumber:function(t){return t.azGroupsFinance.taxNumber},getAzGroupsFinanceDetailsTaxWaiver:function(t){return t.azGroupsFinance.taxWaiver},getAzGroupsFinanceDetailsTaxWaiverFrom:function(t){return t.azGroupsFinance.taxWaiverFrom},getAzGroupsFinanceDetailsTaxWaiverTo:function(t){return t.azGroupsFinance.taxWaiverTo},getAzGroupsFinanceDetailsTaxLiabilityPercentage:function(t){return t.azGroupsFinance.taxLiabilityPercentage},getAzGroupsFinanceDetailsPublishingStatementsText:function(t){return t.azGroupsFinance.publishingStatementsText},getAzGroupsFinanceDetailsLabelStatementsText:function(t){return t.azGroupsFinance.labelStatementsText},getAzGroupsImageUrl:function(t){return t.azGroupsDetails.picture}},xU={setAzGroups:function(t,e){t.groups=e},setSelectedAzGroups:function(t,e){t.selectedAzGroups=e},setIsAllSelectedAzGroups:function(t,e){t.isAllSelectedAzGroups=e},setExpandedAzGroups:function(t,e){t.expandedAzGroups=[e]},setAzGroupsSearch:function(t,e){t.azGroupsSearch=e},setSelectedAzGroupsAction:function(t,e){t.selectedAzGroupsAction=e},setDefaultNewAzGroups:function(t){t.defaultNewAzGroups=DU},setAzGroupsUniqueId:function(t,e){t.azGroupsUniqueId=e},setAzGroupsDetails:function(t,e){t.azGroupsDetails=e},setAzGroupsDetailsGroup:function(t,e){t.azGroupsDetails.group=e},setAzGroupsDetailsAddressRowOne:function(t,e){t.azGroupsDetails.addressRow1=e},setAzGroupsDetailsAddressRowTwo:function(t,e){t.azGroupsDetails.addressRow2=e},setAzGroupsDetailsZip:function(t,e){t.azGroupsDetails.zip=e},setAzGroupsDetailsCity:function(t,e){t.azGroupsDetails.city=e},setAzGroupsDetailsState:function(t,e){t.azGroupsDetails.state=e},setAzGroupsDetailsCountry:function(t,e){t.azGroupsDetails.country=e},setAzGroupsDetailsFullShippingAddress:function(t,e){t.azGroupsDetails.fullShippingAddress=e},setAzGroupsDetailsAlvId:function(t,e){t.azGroupsDetails.alvId=e},setAzGroupsDetailsWeb:function(t,e){t.azGroupsDetails.web=e},setAzGroupsDetailsFacebook:function(t,e){t.azGroupsDetails.facebook=e},setAzGroupsDetailsTwitter:function(t,e){t.azGroupsDetails.twitter=e},setAzGroupsDetailsYoutube:function(t,e){t.azGroupsDetails.youtube=e},setAzGroupsDetailsTags:function(t,e){t.azGroupsDetails.tags=e},setAzGroupsDetailsShippingNote:function(t,e){t.azGroupsDetails.shippingNote=e},setAzGroupsDetailsPhone:function(t,e){t.azGroupsDetails.phone=e},setAzGroupsDetailsFax:function(t,e){t.azGroupsDetails.fax=e},setAzGroupsDetailsCellphone:function(t,e){t.azGroupsDetails.cellphone=e},setAzGroupsDetailsEmail:function(t,e){t.azGroupsDetails.email=e},setAzGroupsDetailsFormatNameAddress:function(t,e){t.azGroupsDetails.formatNameAddress=e},setAzGroupsDetailsNotes:function(t,e){t.azGroupsDetails.notes=e},setAzGroupsDetailsGemaName:function(t,e){t.azGroupsDetails.gemaName=e},setAzGroupsDetailsType:function(t,e){t.azGroupsDetails.type=e},setAzGroupsDetailsVisibility:function(t,e){t.azGroupsDetails.visibility=e},setAzGroupsMetadata:function(t,e){t.azGroupsMetadata=e},setAzGroupsMetadataDetailsLanguage:function(t,e){t.azGroupsMetadata.language=e},setAzGroupsMetadataDetailsFoundingDate:function(t,e){t.azGroupsMetadata.foundingDate=e},setAzGroupsMetadataDetailsCustomerNumber:function(t,e){t.azGroupsMetadata.customerNumber=e},setAzGroupsMetadataDetailsLabelCompany:function(t,e){t.azGroupsMetadata.labelCompanyAlvId=e},setAzGroupsMetadataDetailsLabelcode:function(t,e){t.azGroupsMetadata.labelcode=e},setAzGroupsMetadataDetailsTonisNextPrefix:function(t,e){t.azGroupsMetadata.tonisNextPrefix=e},setAzGroupsMetadataDetailsTonisNextSuffix:function(t,e){t.azGroupsMetadata.tonisNextSuffix=e},setAzGroupsMetadataDetailsTasFromPricelist:function(t,e){t.azGroupsMetadata.tasFromPricelist=e},setAzGroupsMetadataDetailsWarehouseName:function(t,e){t.azGroupsMetadata.warehouseName=e},setAzGroupsMetadataDetailsFocFirstShipment:function(t,e){t.azGroupsMetadata.focFirstShipment=e},setAzGroupsMetadataDetailsFocAllShipments:function(t,e){t.azGroupsMetadata.focAllShipments=e},setAzGroupsMetadataDetailsHandlingFee:function(t,e){t.azGroupsMetadata.handlingFee=e},setAzGroupsMetadataDetailsPublishingCompany:function(t,e){t.azGroupsMetadata.publishingCompanyAlvId=e},setAzGroupsMetadataDetailsIpi:function(t,e){t.azGroupsMetadata.ipi=e},setAzGroupsMetadataDetailsGemaMember:function(t,e){t.azGroupsMetadata.gemaMember=e},setAzGroupsMetadataDetailsBgNineSplit:function(t,e){t.azGroupsMetadata.bgNineSplit=e},setAzGroupsMetadataDetailsYkto:function(t,e){t.azGroupsMetadata.ykto=e},setAzGroupsMetadataDetailsHkto:function(t,e){t.azGroupsMetadata.hkto=e},setAzGroupsMetadataDetailsUkto:function(t,e){t.azGroupsMetadata.ukto=e},setAzGroupsMetadataDetailsSubSplitTreshold:function(t,e){t.azGroupsMetadata.subSplitTreshold=e},setAzGroupsFinance:function(t,e){t.azGroupsFinance=e},setAzGroupsFinanceDetailsPaymentOrder:function(t,e){t.azGroupsFinance.paymentOrder=e},setAzGroupsFinanceDetailsAccountHolder:function(t,e){t.azGroupsFinance.accountHolder=e},setAzGroupsFinanceDetailsPaymentTarget:function(t,e){t.azGroupsFinance.paymentTarget=e},setAzGroupsFinanceDetailsVatId:function(t,e){t.azGroupsFinance.vatId=e},setAzGroupsFinanceDetailsIban:function(t,e){t.azGroupsFinance.iban=e},setAzGroupsFinanceDetailsVatRetail:function(t,e){t.azGroupsFinance.vatRetail=e},setAzGroupsFinanceDetailsVatLicense:function(t,e){t.azGroupsFinance.vatLicense=e},setAzGroupsFinanceDetailsTaxOffice:function(t,e){t.azGroupsFinance.taxOffice=e},setAzGroupsFinanceDetailsBic:function(t,e){t.azGroupsFinance.bic=e},setAzGroupsFinanceDetailsRegistrationNumber:function(t,e){t.azGroupsFinance.registrationNumber=e},setAzGroupsFinanceDetailsTaxIdNumber:function(t,e){t.azGroupsFinance.taxIdNumber=e},setAzGroupsFinanceDetailsBankName:function(t,e){t.azGroupsFinance.bankName=e},setAzGroupsFinanceDetailsRegisterCourt:function(t,e){t.azGroupsFinance.registerCourt=e},setAzGroupsFinanceDetailsTaxNumber:function(t,e){t.azGroupsFinance.taxNumber=e},setAzGroupsFinanceDetailsTaxWaiver:function(t,e){t.azGroupsFinance.taxWaiver=e},setAzGroupsFinanceDetailsTaxWaiverFrom:function(t,e){t.azGroupsFinance.taxWaiverFrom=e},setAzGroupsFinanceDetailsTaxWaiverTo:function(t,e){t.azGroupsFinance.taxWaiverTo=e},setAzGroupsFinanceDetailsTaxLiabilityPercentage:function(t,e){t.azGroupsFinance.taxLiabilityPercentage=e},setAzGroupsFinanceDetailsPublishingStatementsText:function(t,e){t.azGroupsFinance.publishingStatementsText=e},setAzGroupsFinanceDetailsLabelStatementsText:function(t,e){t.azGroupsFinance.labelStatementsText=e},setAzGroupsImageUrl:function(t,e){t.azGroupsDetails.picture=e}},OU={fetchAzGroups:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getAzGroupsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(PU,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzGroups",[])):a("setAzGroups",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzGroupsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d,g;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,l=O$.currentRoute.name,"new"!==a){t.next=11;break}o=JSON.parse(JSON.stringify(i.getDefaultNewAzGroups)),c=this._vm.$alvPlugin.setCountryInAzGroupsAndPersons(),u=i.getUserLanguage,o.metadata.language="de"===u?u:"en",o.country=c,r=o,t.next=15;break;case 11:return t.next=13,k$.getDetailsById(PU,a);case 13:d=t.sent,void 0===d||0===d.length||1===d.error?n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"}):(g="",null!=d.fullShippingAddress&&(g=d.fullShippingAddress),"AzGroupsEdit"==l&&(g=g.replace(/<br\s*[\/]?>/gi,"\n")),d.fullShippingAddress=g,r=d);case 15:n("setAzGroupsDetails",r),s("fetchAzGroupsMetadata"),s("fetchAzGroupsFinance"),s("fetchAzGroupsPersons"),n("setIsLoading",!1);case 20:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAzGroupsMetadata:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzGroupsDetails.metadata,n("setAzGroupsMetadata",i);case 3:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzGroupsFinance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzGroupsDetails.finance,i&&(null!==i.vatLicense&&""!==i.vatLicense&&(i.vatLicense=it.n(i.vatLicense,"number")),null!==i.vatRetail&&""!==i.vatRetail&&(i.vatRetail=it.n(i.vatRetail,"number"))),n("setAzGroupsFinance",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzGroupsPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getAzGroupsDetails.persons,i.forEach((function(t){t["inheritFromGroup"]=!0===t["inheritFromGroup"]?"yes":"no"})),n("setPersonsPanelEntry",i);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedAzGroupsPersons:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.dispatch,a("deleteSelectedPersonsPanelEntry"),this.$store.commit("setSelectedPersonsPanelEntry",[]);case 3:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),saveAzGroupsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=!(g.length>1&&void 0!==g[1])||g[1],r=n.getAzGroupsDetailsAlvId,l=!1,l=s?"new"==O$.currentRoute.params.alvId:0===n.getAzGroupsDetails["id"],n.getPersonsPanelEntry.forEach((function(t){t["inheritFromGroup"]="yes"===t["inheritFromGroup"]})),n.getAzGroupsDetails.persons=n.getPersonsPanelEntry,o=n.getAzGroupsDetails,t.next=10,k$.saveEditForm(PU,r,o,l);case 10:if(c=t.sent,void 0!==c&&0!==c.length&&1!==c.error){t.next=18;break}u=c.response.errorMsg,d=it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL"),u.forEach((function(t){d+="<br />"+it.t(t)})),a("setSnackbar",{type:"error",msg:d}),t.next=23;break;case 18:return a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),l&&s&&O$.push({name:"AzGroupsEdit",params:{alvId:c.response.alvId}}),t.next=22,i("fetchAzGroupsDetails",c.response.alvId);case 22:this._vm.$alvPlugin.updateListOfDistributorsInLocalStorageAccordingToEntity(n.getAzGroupsDetails);case 23:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doAzGroupsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.dispatch,n=e.commit,!(NU.selectedAzGroups.length>0)){t.next=10;break}t.t0=NU.selectedAzGroupsAction,t.next="delete"===t.t0?5:"printAzGroupsA6Labels"===t.t0?7:8;break;case 5:return n("setShowDeletionDialog",!0),t.abrupt("break",8);case 7:a("createA6GroupsPDF");case 8:t.next=12;break;case 10:n("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),n("setShowSelectionRequiredDialog",!0);case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedAzGroups:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(PU,i.getSelectedAzGroups);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getAzGroups.findIndex((function(e){return e.alvId==i.getSelectedAzGroups[t]}));n["default"].delete(i.getAzGroups,e)},o=0;o<i.getSelectedAzGroups.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),s("fetchAzGroups")}else a("setErrorDialogCsvLink",r.response.path),a("setErrorMessageCode",r.errorCode),a("setShowErrorDialog",!0);a("setSelectedAzGroups",[]),a("setSelectedAzGroupsAction",[]),a("setIsAllSelectedAzGroups",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),createA6GroupsPDF:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i={action:"printA6"},s={alvIds:a.getSelectedAzGroups,sendingCompany:a.getSelectedLabelCompanyId},t.next=5,k$.triggerAction(PU,s,i);case 5:r=t.sent,-1===r.error?null!==r.response.path&&(k$.getFileFromALV(r.response.path),n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_DOWNLOAD_SUCCESSFULL")})):(l=r.response.errorMsg,void 0!==l&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(l)?it.t(l):l}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},wU={state:NU,getters:RU,actions:OU,mutations:xU},LU="az/societies",yU={societies:[],societiesWhereDirectMember:[],selectedAzSocieties:[],azSocietiesSearch:"",isAllSelectedAzSocieties:!1,expandedAzSocieties:[],azSocietiesDetails:{}},qU={getAzSocieties:function(t){return t.societies},getSelectedAzSocieties:function(t){return t.selectedAzSocieties},getAzSocietiesSearch:function(t){return t.azSocietiesSearch},getIsAllSelectedAzSocieties:function(t){return t.isAllSelectedAzSocieties},getExpandedAzSocieties:function(t){return t.expandedAzSocieties},getAzSocietiesWhereDirectMember:function(t){return t.societiesWhereDirectMember},getAzSocietiesDetails:function(t){return t.azSocietiesDetails},getAzSocietiesDetailsAlvId:function(t){return t.azSocietiesDetails.alvId},getAzSocietiesDetailsName:function(t){return t.azSocietiesDetails.name},getAzSocietiesDetailsAddressRowOne:function(t){return t.azSocietiesDetails.addressRow1},getAzSocietiesDetailsZip:function(t){return t.azSocietiesDetails.zip},getAzSocietiesDetailsCity:function(t){return t.azSocietiesDetails.city},getAzSocietiesDetailsCountry:function(t){return t.azSocietiesDetails.country},getAzSocietiesDetailsNotes:function(t){return t.azSocietiesDetails.notes},getAzSocietiesDetailsCurrency:function(t){return t.azSocietiesDetails.currency},getAzSocietiesDetailsMembershipId:function(t){return t.azSocietiesDetails.membershipId},getAzSocietiesDetailsVisibility:function(t){return t.azSocietiesDetails.visibility}},kU={setAzSocieties:function(t,e){t.societies=e},setSelectedAzSocieties:function(t,e){t.selectedAzSocieties=e},setAzSocietiesSearch:function(t,e){t.azSocietiesSearch=e},setIsAllSelectedAzSocieties:function(t,e){t.isAllSelectedAzSocieties=e},setExpandedAzSocieties:function(t,e){t.expandedAzSocieties=[e]},setAzSocietiesWhereDirectMember:function(t,e){t.societiesWhereDirectMember=e},setAzSocietiesDetails:function(t,e){t.azSocietiesDetails=e},setAzSocietiesDetailsName:function(t,e){t.azSocietiesDetails.name=e},setAzSocietiesDetailsAddressRowOne:function(t,e){t.azSocietiesDetails.addressRow1=e},setAzSocietiesDetailsZip:function(t,e){t.azSocietiesDetails.zip=e},setAzSocietiesDetailsCity:function(t,e){t.azSocietiesDetails.city=e},setAzSocietiesDetailsCountry:function(t,e){t.azSocietiesDetails.country=e},setAzSocietiesDetailsNotes:function(t,e){t.azSocietiesDetails.notes=e},setAzSocietiesDetailsCurrency:function(t,e){t.azSocietiesDetails.currency=e},setAzSocietiesDetailsMembershipId:function(t,e){t.azSocietiesDetails.membershipId=e},setAzSocietiesDetailsVisibility:function(t,e){t.azSocietiesDetails.visibility=e}},BU={fetchAzSocieties:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getAzSocietiesSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(LU,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzSocieties",[])):a("setAzSocieties",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzSocietiesDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,s=O$.currentRoute.name,t.next=4,k$.getDetailsById(LU,a);case 4:r=t.sent,void 0===r||0===r.length||1===r.error?i={}:(l="",null!==r.notes&&(l=r.notes),"AzSocietiesEdit"===s&&(l=l.replace(/<br\s*[\/]?>/gi,"\n")),r.notes=l,i=r),n("setAzSocietiesDetails",i),n("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAzSocietiesWhereDirectMember:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,a("setIsLoading",!0),n={isMember:!0},i=this._vm.$alvPlugin.createApiUrlFilterString(n),t.next=6,k$.getListData(LU,"1",i);case 6:s=t.sent,void 0===s||0===s.length||1===s.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzSocietiesWhereDirectMember",[])):a("setAzSocietiesWhereDirectMember",s),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),saveAzSocietiesForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getAzSocietiesDetailsAlvId,r=n.getAzSocietiesDetails,l="new"==O$.currentRoute.params.alvId,t.next=6,k$.saveEditForm(LU,s,r,l);case 6:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=14;break}c=o.response.errorMsg,u=it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL"),c.forEach((function(t){u+="<br />"+it.t(t)})),a("setSnackbar",{type:"error",msg:u}),t.next=17;break;case 14:return a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),t.next=17,i("fetchAzSocietiesDetails",o.response.alvId);case 17:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},$U={state:yU,getters:qU,actions:BU,mutations:kU},GU="az/live",FU={id:0,alvId:"ALV000000000AV",name:null,picture:null,addressRow1:null,addressRow2:null,zip:null,city:null,state:null,country:null,web:null,facebook:null,twitter:null,youtube:null,tags:null,shippingNote:null,shippingAddress:null,phone:null,fax:null,cellphone:null,email:null,notes:null,keyName:null,visibility:2},UU={azLive:[],azLiveSearch:"",selectedAzLive:[],expandedAzLive:[],defaultAzLive:FU,azLiveDetails:{}},MU={getAzLive:function(t){return t.azLive},getAzLiveSearch:function(t){return t.azLiveSearch},getSelectedAzLive:function(t){return t.selectedAzLive},getExpandedAzLive:function(t){return t.expandedAzLive},getDefaultAzLive:function(t){return t.defaultAzLive},getAzLiveDetails:function(t){return t.azLiveDetails},getAzLiveDetailsAlvId:function(t){return t.azLiveDetails.alvId},getAzLiveDetailsVenueName:function(t){return t.azLiveDetails.name},getAzLiveDetailsAddressRow1:function(t){return t.azLiveDetails.addressRow1},getAzLiveDetailsAddressRow2:function(t){return t.azLiveDetails.addressRow2},getAzLiveDetailsZip:function(t){return t.azLiveDetails.zip},getAzLiveDetailsCity:function(t){return t.azLiveDetails.city},getAzLiveDetailsState:function(t){return t.azLiveDetails.state},getAzLiveDetailsCountry:function(t){return t.azLiveDetails.country},getAzLiveDetailsWeb:function(t){return t.azLiveDetails.web},getAzLiveDetailsFacebook:function(t){return t.azLiveDetails.facebook},getAzLiveDetailsTwitter:function(t){return t.azLiveDetails.twitter},getAzLiveDetailsYoutube:function(t){return t.azLiveDetails.youtube},getAzLiveDetailsTags:function(t){return t.azLiveDetails.tags},getAzLiveDetailsShippingNote:function(t){return t.azLiveDetails.shippingNote},getAzLiveDetailsShippingAddress:function(t){return t.azLiveDetails.shippingAddress},getAzLiveDetailsPhone:function(t){return t.azLiveDetails.phone},getAzLiveDetailsFax:function(t){return t.azLiveDetails.fax},getAzLiveDetailsCellphone:function(t){return t.azLiveDetails.cellphone},getAzLiveDetailsEmail:function(t){return t.azLiveDetails.email},getAzLiveDetailsNotes:function(t){return t.azLiveDetails.notes},getAzLiveDetailsKeyName:function(t){return t.azLiveDetails.keyName},getAzLiveDetailsVisibility:function(t){return t.azLiveDetails.visibility}},WU={setAzLive:function(t,e){t.azLive=e},setAzLiveSearch:function(t,e){t.azLiveSearch=e},setSelectedAzLive:function(t,e){t.selectedAzLive=e},setExpandedAzLive:function(t,e){t.expandedAzLive=[e]},setDefaultAzLive:function(t){t.defaultAzLive=FU},setAzLiveDetails:function(t,e){t.azLiveDetails=e},setAzLiveDetailsAlvId:function(t,e){t.azLiveDetails.alvId=e},setAzLiveDetailsVenueName:function(t,e){t.azLiveDetails.name=e},setAzLiveDetailsAddressRow1:function(t,e){t.azLiveDetails.addressRow1=e},setAzLiveDetailsAddressRow2:function(t,e){t.azLiveDetails.addressRow2=e},setAzLiveDetailsZip:function(t,e){t.azLiveDetails.zip=e},setAzLiveDetailsCity:function(t,e){t.azLiveDetails.city=e},setAzLiveDetailsState:function(t,e){t.azLiveDetails.state=e},setAzLiveDetailsCountry:function(t,e){t.azLiveDetails.country=e},setAzLiveDetailsWeb:function(t,e){t.azLiveDetails.web=e},setAzLiveDetailsFacebook:function(t,e){t.azLiveDetails.facebook=e},setAzLiveDetailsTwitter:function(t,e){t.azLiveDetails.twitter=e},setAzLiveDetailsYoutube:function(t,e){t.azLiveDetails.youtube=e},setAzLiveDetailsTags:function(t,e){t.azLiveDetails.tags=e},setAzLiveDetailsShippingNote:function(t,e){t.azLiveDetails.shippingNote=e},setAzLiveDetailsShippingAddress:function(t,e){t.azLiveDetails.shippingAddress=e},setAzLiveDetailsPhone:function(t,e){t.azLiveDetails.phone=e},setAzLiveDetailsFax:function(t,e){t.azLiveDetails.fax=e},setAzLiveDetailsCellphone:function(t,e){t.azLiveDetails.cellphone=e},setAzLiveDetailsEmail:function(t,e){t.azLiveDetails.email=e},setAzLiveDetailsNotes:function(t,e){t.azLiveDetails.notes=e},setAzLiveDetailsKeyName:function(t,e){t.azLiveDetails.keyName=e},setAzLiveDetailsVisibility:function(t,e){t.azLiveDetails.visibility=e}},jU={fetchAzLive:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getAzLiveSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=6,k$.getListData(GU,n.getCurrentPage,s);case 6:r=t.sent,void 0===r||0===r.list.length||1===r.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAzLive",[])):a("setAzLive",r.list),this._vm.$alvPlugin.storePagingInformations(r.filteredRecords,r.currentPage,r.totalRecords),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzLiveDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,e.dispatch,"new"!==a){t.next=7;break}r=JSON.parse(JSON.stringify(i.getDefaultAzLive)),s=r,n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),t.next=11;break;case 7:return t.next=9,k$.getDetailsById(GU,a);case 9:l=t.sent,void 0===l||0===l.length||1===l.error?(l={},n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"})):s=l;case 11:"AzLiveList"==O$.currentRoute.name?(null!==s.shippingNote&&(s.shippingNote=s.shippingNote.replaceAll("\n","<br />")),null!==s.shippingAddress&&(s.shippingAddress=s.shippingAddress.replace(/\n/gi,"<br />")),null!==s.notes&&(s.notes=s.notes.replace(/\n/gi,"<br />"))):(null!==s.shippingNote&&(s.shippingNote=s.shippingNote.replaceAll("<br />","\n")),null!==s.shippingAddress&&(s.shippingAddress=s.shippingAddress.replace(/<br\s*[\/]?>/gi,"\n")),null!==s.notes&&(s.notes=s.notes.replace(/<br\s*[\/]?>/gi,"\n"))),n("setAzLiveDetails",s),n("setIsLoading",!1);case 14:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveAzLiveForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=!(d.length>1&&void 0!==d[1])||d[1],r=n.getAzLiveDetailsAlvId,l=n.getAzLiveDetails,o=!1,o=s?"new"===O$.currentRoute.params.alvId:0===n.getAzLiveDetails["id"],t.next=8,k$.saveEditForm(GU,r,l,o);case 8:if(c=t.sent,void 0!==c&&0!==c.length&&1!==c.error){t.next=15;break}u="",void 0!==c.response.errorMsg?c.response.errorMsg.forEach((function(t){u+=t+"<br />"})):u=it.t("lang_GENERAL_CAPTION_ERROR"),a("setSnackbar",{type:"error",msg:u}),t.next=20;break;case 15:if(a("setSnackbar",{type:"success",msg:it.t("lang_AZ_LIVE_SNACKBAR_VENUE_SAVED")}),o&&s&&O$.push({name:"AzLiveEdit",params:{alvId:c.response.alvId}}),!s){t.next=20;break}return t.next=20,i("fetchAzLiveDetails",c.response.alvId);case 20:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},zU={state:UU,getters:MU,actions:jU,mutations:WU};function HU(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function VU(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?HU(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):HU(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var YU,KU,ZU,XU="contracts/publishing",JU={id:0,alvId:"ALV000000000CP",licensor:null,title:null,contractName:null,numberOfAssignedWorks:0,contractDate:null,contractType:null,notes:null,gemaAgreementNo:null,gemaScheduleNo:null,initialBalance:null,initialBalancePeriod:{num:null,period:null,year:null},validFrom:null,validUntil:null,gemaContractType:null,reminderDate:null,refunding:"pwr",spTresholdPr:null,spTresholdMr:null,arColl:null,mrColl:null,mrCollShareFrom:null,svdForSpw:"no",sourceAdaption:"",works:[],splits:[]},QU={id:0,rights:null,split:null,base:null,region:{exclude:[],include:[]},applyTo:null},tM={id:0,gemaAgreementNo:null,gemaScheduleNo:null,licensor:null,notes:null,alvId:"ALV000000000CS"},eM={id:0,sourceId:null,recipientId:null,collPrGreater:null,collMrGreater:null,splits:[]},aM={id:0,rightsType:"all",category:null,recipientId:null,subCategory:null,split:null,weighting:null,weightingSource:null,sharesToConsider:null,applyTo:null,base:null},nM={showEditSplitDialog:!1,showConditionDialog:!1,selectedEditPublishingContractSplits:null,selectedEditPublishingContractConditions:null,editSplitsDetailsWeighting:"",editSplitsDetailsRights:"",editSplitsDetailsCategory:"",editSplitsDetailsSubcategory:"",editSplitsDetailsSplit:"",editSplitsDetailsApplyTo:"",editSplitsDetailsBase:"",publishingContracts:[],publishingReminders:{},selectedPublishingContracts:[],isAllSelectedPublishingContracts:!1,expandedPublishingContracts:[],publishingContractsServerSideSortingOptions:{sortBy:["contractName"],sortDesc:[!1],mustSort:!0},publishingContractsSearch:"",selectedPublishingContractsAction:[],publishingContractsDetailsSelectedCompany:[],defaultNewPublishingContract:JU,publishingContractUniqueId:"",publishingContractsDetails:{},publishingContractsLicensorOptions:[],publishingContractsWorks:[],selectedContractPublishingWork:[],selectedWorksForContract:[],worksForContractSearch:"",totalWorksForContractListed:"",totalWorksForContractRecords:"",publishingContractsWorksSearch:"",showWorksDeleteResultListButton:!1,showSetWorksTypeDialog:!1,worksSearchId:null,publishingContractSplits:[],selectedPublishingContractSplits:[],defaultPublishingContractSplits:QU,publishingContractSplitsEditingDialogDetails:QU,publishingContractTypeOfRights:[],selectedPublishingContractsMediaFiles:[],publishingContractSplitsEditingDialogIncludeOptions:[],publishingContractSplitsEditingDialogExcludeOptions:[],publishingContractSplitsEditingDialogDetailsInclude:[],publishingContractSplitsEditingDialogDetailsExclude:[],publishingContractConditionsEditingDialogDetails:eM,defaultPublishingContractConditions:eM,activeConditionId:null,publishingContractConditionsRecipientIdOptions:null,publishingContractConditions:[],selectedPublishingContractConditions:[],publishingContractDetailsRecipientId:null,showPublishingContractConditionsEditingDialog:!1,publishingContractDetailsSplitsRecipientId:null,publishingContractConditionsSplitsDetailsRecipientId:null,publishingContractConditionsSplitsEditingDialogDetails:aM,publishingContractConditionsSplitsRecipientIdOptions:null,defaultPublishingContractConditionsSplits:aM,publishingContractConditionsSplits:[],selectedPublishingContractConditionsSplits:[],showPublishingContractConditionsSplitsEditingDialog:!1,publishingContractConditionsSplitsDetailsRightsType:null,publishingContractConditionsSplitsDetailsCategory:null,publishingContractConditionsSplitsDetailsSubCategory:null,publishingContractConditionsSplitsDetailsSplit:null,publishingContractConditionsSplitsDetailsWeighting:null,publishingContractConditionsSplitsDetailsWeightingSource:null,publishingContractConditionsSplitsDetailsSharesToConsider:null,publishingContractConditionsSplitsDetailsApplyTo:null,publishingContractConditionsSplitsDetailsBase:null,publishingContractConditionsSplitsIncludeOptions:[],publishingContractConditionsSplitsExcludeOptions:[],publishingContractConditionsSplitsDetailsInclude:[],publishingContractConditionsSplitsDetailsExclude:[],publishingContractsSubCatalogues:[],selectedPublishingContractsSubCatalogues:[],publishingContractsSubCataloguesWorksSearch:"",showSubCataloguesWorksDeleteResultListButton:!1,subCataloguesWorksSearchId:null,defaultPublishingContractsSubCatalogues:tM,publishingContractsSubCataloguesEditingDialogDetails:tM,publishingContractsSubCataloguesLicensorOptions:[],publishingContractsSubCataloguesWorks:[],showSearchSubCataloguesWorksDialog:!1,worksForSubCataloguesSearch:"",selectedWorksForSubCatalogues:[],publishingContractsMedia:[],publishingContractsMediaCheckbox:[]},iM={getShowEditSplitDialog:function(t){return t.showEditSplitDialog},getShowConditionDialog:function(t){return t.showConditionDialog},getSelectedEditPublishingContractSplits:function(t){return t.selectedEditPublishingContractSplits},getSelectedEditPublishingContractConditions:function(t){return t.selectedEditPublishingContractConditions},getEditSplitsDetailsWeighting:function(t){return t.editSplitsDetailsWeighting},getEditSplitsDetailsRights:function(t){return t.editSplitsDetailsRights},getEditSplitsDetailsCategory:function(t){return t.editSplitsDetailsCategory},getEditSplitsDetailsSubcategory:function(t){return t.editSplitsDetailsSubcategory},getEditSplitsDetailsSplit:function(t){return t.editSplitsDetailsSplit},getEditSplitsDetailsApplyTo:function(t){return t.editSplitsDetailsApplyTo},getEditSplitsDetailsBase:function(t){return t.editSplitsDetailsBase},getPublishingContracts:function(t){return t.publishingContracts},getPublishingReminders:function(t){return t.publishingReminders},getSelectedPublishingContracts:function(t){return t.selectedPublishingContracts},getIsAllSelectedPublishingContracts:function(t){return t.isAllSelectedPublishingContracts},getExpandedPublishingContracts:function(t){return t.expandedPublishingContracts},getPublishingContractsServerSideSortingOptions:function(t){return t.publishingContractsServerSideSortingOptions},getPublishingContractsSearch:function(t){return t.publishingContractsSearch},getSelectedPublishingContractsAction:function(t){return t.selectedPublishingContractsAction},getPublishingContractsDetailsSelectedCompany:function(t){return t.publishingContractsDetailsSelectedCompany},getDefaultNewPublishingContract:function(t){return t.defaultNewPublishingContract},getPublishingContractsUniqueId:function(t){return t.publishingContractUniqueId},getPublishingContractsDetails:function(t){return t.publishingContractsDetails},getPublishingContractsLicensorOptions:function(t){return t.publishingContractsLicensorOptions},getPublishingContractsDetailsContractName:function(t){return t.publishingContractsDetails.contractName},getPublishingContractsDetailsContractType:function(t){return t.publishingContractsDetails.contractType},getPublishingContractsDetailsLicensor:function(t){return t.publishingContractsDetails.licensor},getPublishingContractsDetailsNotes:function(t){return t.publishingContractsDetails.notes},getPublishingContractsDetailsAlvId:function(t){return t.publishingContractsDetails.alvId},getPublishingContractsDetailsGemaAgreementNo:function(t){return t.publishingContractsDetails.gemaAgreementNo},getPublishingContractsDetailsGemaScheduleNo:function(t){return t.publishingContractsDetails.gemaScheduleNo},getPublishingContractsDetailsInitialBalance:function(t){return t.publishingContractsDetails.initialBalance},getPublishingContractsDetailsInitialBalancePeriod:function(t){return t.publishingContractsDetails.initialBalancePeriod},getPublishingContractsDetailsReminderDate:function(t){return t.publishingContractsDetails.reminderDate},getPublishingContractsDetailsContractDate:function(t){return t.publishingContractsDetails.contractDate},getPublishingContractsDetailsValidFromDate:function(t){return t.publishingContractsDetails.validFrom},getPublishingContractsDetailsValidUntilDate:function(t){return t.publishingContractsDetails.validUntil},getPublishingContractsDetailsGemaContractType:function(t){return t.publishingContractsDetails.gemaContractType},getPublishingContractsDetailsRefunding:function(t){return t.publishingContractsDetails.refunding},getPublishingContractsDetailsSpTresholdPr:function(t){return t.publishingContractsDetails.spTresholdPr},getPublishingContractsDetailsSpTresholdMr:function(t){return t.publishingContractsDetails.spTresholdMr},getPublishingContractsDetailsNumberOfAssignedWorks:function(t){return t.publishingContractsDetails.numberOfAssignedWorks},getPublishingContractsDetailsNumberOfAssignedWorksContract:function(t){return t.publishingContractsDetails.numberOfAssignedWorksContract},getPublishingContractsDetailsNumberOfAssignedWorksSubCatalogue:function(t){return t.publishingContractsDetails.numberOfAssignedWorksSubcatalogue},getPublishingContractsDetailsArColl:function(t){return t.publishingContractsDetails.arColl},getPublishingContractsDetailsMrColl:function(t){return t.publishingContractsDetails.mrColl},getPublishingContractsDetailsShareFrom:function(t){return t.publishingContractsDetails.mrCollShareFrom},getPublishingContractsDetailsSvdForSpw:function(t){return t.publishingContractsDetails.svdForSpw},getPublishingContractsDetailsSourceAdaption:function(t){return t.publishingContractsDetails.sourceAdaption},getSelectedPeriodNumberPublishingContracts:function(t){return void 0!==t.publishingContractsDetails.initialBalancePeriod?t.publishingContractsDetails.initialBalancePeriod.num:null},getSelectedPeriodTimeUnitPublishingContracts:function(t){return void 0!==t.publishingContractsDetails.initialBalancePeriod?t.publishingContractsDetails.initialBalancePeriod.period:null},getSelectedPeriodYearPublishingContracts:function(t){return void 0!==t.publishingContractsDetails.initialBalancePeriod?t.publishingContractsDetails.initialBalancePeriod.year:null},getPublishingContractsWorks:function(t){return t.publishingContractsWorks},getSelectedContractPublishingWork:function(t){return t.selectedContractPublishingWork},getSelectedWorksForContract:function(t){return t.selectedWorksForContract},getWorksForContractSearch:function(t){return t.worksForContractSearch},getTotalWorksForContractListed:function(t){return t.totalWorksForContractListed},getTotalWorksForContractRecords:function(t){return t.totalWorksForContractRecords},getPublishingContractsWorksSearch:function(t){return t.publishingContractsWorksSearch},getShowWorksDeleteResultListButton:function(t){return t.showWorksDeleteResultListButton},getShowSetWorksTypeDialog:function(t){return t.showSetWorksTypeDialog},getWorksSearchId:function(t){return t.worksSearchId},getDefaultPublishingContractSplits:function(t){return t.defaultPublishingContractSplits},getPublishingContractSplits:function(t){return t.publishingContractSplits},getSelectedPublishingContractSplits:function(t){return t.selectedPublishingContractSplits},getPublishingContractTypeOfRights:function(t){return t.publishingContractTypeOfRights},getSelectedPublishingContractsMediaFiles:function(t){return t.selectedPublishingContractsMediaFiles},getPublishingContractSplitsEditingDialogDetails:function(t){return t.publishingContractSplitsEditingDialogDetails},getPublishingContractSplitsDetailsSplit:function(t){return t.publishingContractSplitsEditingDialogDetails.split},getPublishingContractSplitsDetailsBase:function(t){return t.publishingContractSplitsEditingDialogDetails.base},getPublishingContractSplitsDetailsRights:function(t){return t.publishingContractSplitsEditingDialogDetails.rights},getPublishingContractSplitsDetailsApplyTo:function(t){return t.publishingContractSplitsEditingDialogDetails.applyTo},getPublishingContractSplitsEditingDialogIncludeOptions:function(t){return t.publishingContractSplitsEditingDialogIncludeOptions},getPublishingContractSplitsEditingDialogExcludeOptions:function(t){return t.publishingContractSplitsEditingDialogExcludeOptions},getPublishingContractSplitsEditingDialogDetailsInclude:function(t){return void 0===t.publishingContractSplitsEditingDialogDetails.region?[]:t.publishingContractSplitsEditingDialogDetails.region.include},getPublishingContractSplitsEditingDialogDetailsExclude:function(t){return void 0===t.publishingContractSplitsEditingDialogDetails.region?[]:t.publishingContractSplitsEditingDialogDetails.region.exclude},getPublishingContractConditionsRecipientIdOptions:function(t){return t.publishingContractConditionsRecipientIdOptions},getPublishingContractConditionsEditingDialogDetails:function(t){return t.publishingContractConditionsEditingDialogDetails},getDefaultPublishingContractConditions:function(t){return t.defaultPublishingContractConditions},getPublishingContractConditions:function(t){return t.publishingContractConditions},getSelectedPublishingContractConditions:function(t){return t.selectedPublishingContractConditions},getPublishingContractDetailsRecipientId:function(t){return t.publishingContractDetailsRecipientId},getPublishingContractDetailsSplitsRecipientId:function(t){return t.publishingContractDetailsSplitsRecipientId},getShowPublishingContractConditionsEditingDialog:function(t){return t.showPublishingContractConditionsEditingDialog},getActiveConditionId:function(t){return t.activeConditionId},getPublishingContractConditionsSplitsDetailsRecipientId:function(t){return t.publishingContractConditionsSplitsDetailsRecipientId},getDefaultPublishingContractConditionsSplits:function(t){return t.defaultPublishingContractConditionsSplits},getPublishingContractConditionsSplits:function(t){return t.publishingContractConditionsSplits},getSelectedPublishingContractConditionsSplits:function(t){return t.selectedPublishingContractConditionsSplits},getPublishingContractConditionsSplitsEditingDialog:function(t){return t.showPublishingContractConditionsSplitsEditingDialog},getShowPublishingContractConditionsSplitsEditingDialog:function(t){return t.showPublishingContractConditionsSplitsEditingDialog},getPublishingContractConditionsDetailsRecipientId:function(t){return t.publishingContractConditionsEditingDialogDetails.recipientId},getPublishingContractConditionsDetailsSourceId:function(t){return t.publishingContractConditionsEditingDialogDetails.sourceId},getPublishingContractConditionsDetailsCollPrGreater:function(t){return t.publishingContractConditionsEditingDialogDetails.collPrGreater},getPublishingContractConditionsDetailsCollMrGreater:function(t){return t.publishingContractConditionsEditingDialogDetails.collMrGreater},getPublishingContractConditionsSplitsEditingDialogDetails:function(t){return t.publishingContractConditionsSplitsEditingDialogDetails},getPublishingContractConditionsSplitsRecipientIdOptions:function(t){return t.publishingContractConditionsSplitsRecipientIdOptions},getPublishingContractConditionsSplitsDetailsRightsType:function(t){return t.publishingContractConditionsSplitsDetailsRightsType},getPublishingContractConditionsSplitsDetailsCategory:function(t){return t.publishingContractConditionsSplitsDetailsCategory},getPublishingContractConditionsSplitsDetailsSubCategory:function(t){return t.publishingContractConditionsSplitsDetailsSubCategory},getPublishingContractConditionsSplitsDetailsSplit:function(t){return t.publishingContractConditionsSplitsDetailsSplit},getPublishingContractConditionsSplitsDetailsWeighting:function(t){return t.publishingContractConditionsSplitsDetailsWeighting},getPublishingContractConditionsSplitsDetailsWeightingSource:function(t){return t.publishingContractConditionsSplitsDetailsWeightingSource},getPublishingContractConditionsSplitsDetailsSharesToConsider:function(t){return t.publishingContractConditionsSplitsDetailsSharesToConsider},getPublishingContractConditionsSplitsDetailsApplyTo:function(t){return t.publishingContractConditionsSplitsDetailsApplyTo},getPublishingContractConditionsSplitsDetailsBase:function(t){return t.publishingContractConditionsSplitsDetailsBase},getPublishingContractConditionsSplitsIncludeOptions:function(t){return t.publishingContractConditionsSplitsIncludeOptions},getPublishingContractConditionsSplitsExcludeOptions:function(t){return t.publishingContractConditionsSplitsExcludeOptions},getPublishingContractConditionsSplitsDetailsInclude:function(t){return t.publishingContractConditionsSplitsDetailsInclude},getPublishingContractConditionsSplitsDetailsExclude:function(t){return t.publishingContractConditionsSplitsDetailsExclude},getPublishingContractsSubCatalogues:function(t){return t.publishingContractsSubCatalogues},getSelectedPublishingContractsSubCatalogues:function(t){return t.selectedPublishingContractsSubCatalogues},getPublishingContractsSubCataloguesWorksSearch:function(t){return t.publishingContractsSubCataloguesWorksSearch},getShowSubCataloguesWorksDeleteResultListButton:function(t){return t.showSubCataloguesWorksDeleteResultListButton},getSubCataloguesWorksSearchId:function(t){return t.subCataloguesWorksSearchId},getDefaultPublishingContractsSubCatalogues:function(t){return t.defaultPublishingContractsSubCatalogues},getPublishingContractsSubCataloguesEditingDialogDetails:function(t){return t.publishingContractsSubCataloguesEditingDialogDetails},getPublishingContractsSubCataloguesDetailsLicensor:function(t){return t.publishingContractsSubCataloguesEditingDialogDetails.licensor},getPublishingContractsSubCataloguesDetailsAgreementNumber:function(t){return t.publishingContractsSubCataloguesEditingDialogDetails.gemaAgreementNo},getPublishingContractsSubCataloguesDetailsScheduleNumber:function(t){return t.publishingContractsSubCataloguesEditingDialogDetails.gemaScheduleNo},getPublishingContractsSubCataloguesDetailsNotes:function(t){return t.publishingContractsSubCataloguesEditingDialogDetails.notes},getPublishingContractsSubCataloguesLicensorOptions:function(t){return t.publishingContractsSubCataloguesLicensorOptions},getPublishingContractsSubCataloguesWorks:function(t){return t.publishingContractsSubCataloguesWorks},getShowSearchSubCataloguesWorksDialog:function(t){return t.showSearchSubCataloguesWorksDialog},getWorksForSubCataloguesSearch:function(t){return t.worksForSubCataloguesSearch},getSelectedWorksForSubCatalogues:function(t){return t.selectedWorksForSubCatalogues},getPublishingContractsMedia:function(t){return t.publishingContractsMedia},getPublishingContractsMediaCheckbox:function(t){return t.publishingContractsMediaCheckbox}},sM={setShowEditSplitDialog:function(t,e){t.showEditSplitDialog=e},setShowConditionDialog:function(t,e){t.showConditionDialog=e},setPublishingContractEditSplitsDetailsWeighting:function(t,e){t.editSplitsDetailsWeighting=e},setPublishingContractEditSplitsDetailsRights:function(t,e){t.editSplitsDetailsRights=e},setPublishingContractEditSplitsDetailsCategory:function(t,e){t.editSplitsDetailsCategory=e},setPublishingContractEditSplitsDetailsSubcategory:function(t,e){t.editSplitsDetailsSubcategory=e},setPublishingContractEditSplitsDetailsSplit:function(t,e){t.editSplitsDetailsSplit=e},setPublishingContractEditSplitsDetailsApplyTo:function(t,e){t.editSplitsDetailsApplyTo=e},setPublishingContractEditSplitsDetailsBase:function(t,e){t.editSplitsDetailsBase=e},setSelectedEditPublishingContractSplits:function(t,e){t.selectedEditPublishingContractSplits=e},setSelectedEditPublishingContractConditions:function(t,e){t.selectedEditPublishingContractConditions=e},setPublishingContracts:function(t,e){t.publishingContracts=e},setPublishingReminders:function(t,e){t.publishingReminders=e},setSelectedPublishingContracts:function(t,e){t.selectedPublishingContracts=e},setIsAllSelectedPublishingContracts:function(t,e){t.isAllSelectedPublishingContracts=e},setExpandedPublishingContracts:function(t,e){t.expandedPublishingContracts=[e]},setPublishingContractsServerSideSortingOptions:function(t,e){t.publishingContractsServerSideSortingOptions=e},setPublishingContractsSearch:function(t,e){t.publishingContractsSearch=e},setSelectedPublishingContractsAction:function(t,e){t.selectedPublishingContractsAction=e},setPublishingContractsDetailsSelectedCompany:function(t,e){t.publishingContractsDetailsSelectedCompany=e},setDefaultNewPublishingContract:function(t){t.defaultNewPublishingContract=JU},setPublishingContractsUniqueId:function(t,e){t.publishingContractUniqueId=e},setPublishingContractsDetails:function(t,e){t.publishingContractsDetails=e},setPublishingContractsLicensorOptions:function(t,e){t.publishingContractsLicensorOptions=e},setPublishingContractsDetailsContractName:function(t,e){t.publishingContractsDetails.contractName=e},setPublishingContractsDetailsContractType:function(t,e){t.publishingContractsDetails.contractType=e},setPublishingContractsDetailsNotes:function(t,e){t.publishingContractsDetails.notes=e},setPublishingContractsDetailsAlvId:function(t,e){t.publishingContractsDetails.alvId=e},setPublishingContractsDetailsGemaAgreementNo:function(t,e){t.publishingContractsDetails.gemaAgreementNo=e},setPublishingContractsDetailsGemaScheduleNo:function(t,e){t.publishingContractsDetails.gemaScheduleNo=e},setPublishingContractsDetailsInitialBalance:function(t,e){t.publishingContractsDetails.initialBalance=e},setPublishingContractsDetailsInitialBalancePeriod:function(t,e){t.publishingContractsDetails.initialBalancePeriod=e},setPublishingContractsDetailsReminderDate:function(t,e){t.publishingContractsDetails.reminderDate=e},setPublishingContractsDetailsContractDate:function(t,e){t.publishingContractsDetails.contractDate=e},setPublishingContractsDetailsValidFromDate:function(t,e){t.publishingContractsDetails.validFrom=e},setPublishingContractsDetailsValidUntilDate:function(t,e){t.publishingContractsDetails.validUntil=e},setPublishingContractsDetailsGemaContractType:function(t,e){t.publishingContractsDetails.gemaContractType=e},setPublishingContractsDetailsRefunding:function(t,e){t.publishingContractsDetails.refunding=e},setPublishingContractsDetailsSpTresholdPr:function(t,e){t.publishingContractsDetails.spTresholdPr=e},setPublishingContractsDetailsSpTresholdMr:function(t,e){t.publishingContractsDetails.spTresholdMr=e},setPublishingContractsDetailsNumberOfAssignedWorks:function(t,e){t.publishingContractsDetails.numberOfAssignedWorks=e},setPublishingContractsDetailsNumberOfAssignedWorksContract:function(t,e){t.publishingContractsDetails.numberOfAssignedWorksContract=e},setPublishingContractsDetailsNumberOfAssignedWorksSubCatalogue:function(t,e){t.publishingContractsDetails.numberOfAssignedWorksSubcatalogue=e},setPublishingContractsDetailsArColl:function(t,e){t.publishingContractsDetails.arColl=e},setPublishingContractsDetailsMrColl:function(t,e){t.publishingContractsDetails.mrColl=e},setPublishingContractsDetailsShareFrom:function(t,e){t.publishingContractsDetails.mrCollShareFrom=e},setPublishingContractsDetailsSvdForSpw:function(t,e){t.publishingContractsDetails.svdForSpw=e},setPublishingContractsDetailsSourceAdaption:function(t,e){t.publishingContractsDetails.sourceAdaption=e},setPublishingContractsDetailsLicensor:function(t,e){t.publishingContractsDetails.licensor=e},setSelectedPeriodNumberPublishingContracts:function(t,e){t.publishingContractsDetails.initialBalancePeriod.num=e},setSelectedPeriodTimeUnitPublishingContracts:function(t,e){t.publishingContractsDetails.initialBalancePeriod.period=e},setSelectedPeriodYearPublishingContracts:function(t,e){t.publishingContractsDetails.initialBalancePeriod.year=e},setPublishingContractsWorks:function(t,e){t.publishingContractsWorks=e},setSelectedContractPublishingWork:function(t,e){t.selectedContractPublishingWork=e},setSelectedWorksForContract:function(t,e){t.selectedWorksForContract=e},setWorksForContractSearch:function(t,e){t.worksForContractSearch=e},setTotalWorksForContractListed:function(t,e){t.totalWorksForContractListed=e},setTotalWorksForContractRecords:function(t,e){t.totalWorksForContractRecords=e},setPublishingContractsWorksSearch:function(t,e){t.publishingContractsWorksSearch=e},setShowWorksDeleteResultListButton:function(t,e){t.showWorksDeleteResultListButton=e},setShowSetWorksTypeDialog:function(t,e){t.showSetWorksTypeDialog=e},setWorksSearchId:function(t,e){t.worksSearchId=e},setDefaultPublishingContractSplits:function(t){t.defaultPublishingContractSplits=QU},setPublishingContractSplits:function(t,e){t.publishingContractSplits=e},setSelectedPublishingContractSplits:function(t,e){t.selectedPublishingContractSplits=e},setPublishingContractTypeOfRights:function(t,e){t.publishingContractTypeOfRights=e},setPublishingContractSplitsEditingDialogDetails:function(t,e){t.publishingContractSplitsEditingDialogDetails=e},setPublishingContractSplitsDetailsSplit:function(t,e){t.publishingContractSplitsEditingDialogDetails.split=e},setPublishingContractSplitsDetailsBase:function(t,e){t.publishingContractSplitsEditingDialogDetails.base=e},setPublishingContractSplitsDetailsRights:function(t,e){t.publishingContractSplitsEditingDialogDetails.rights=e},setPublishingContractSplitsDetailsApplyTo:function(t,e){t.publishingContractSplitsEditingDialogDetails.applyTo=e},setPublishingContractSplitsEditingDialogIncludeOptions:function(t,e){t.publishingContractSplitsEditingDialogIncludeOptions=e},setPublishingContractSplitsEditingDialogExcludeOptions:function(t,e){t.publishingContractSplitsEditingDialogExcludeOptions=e},setPublishingContractSplitsEditingDialogDetailsInclude:function(t,e){t.publishingContractSplitsEditingDialogDetails.region.include=e},setPublishingContractSplitsEditingDialogDetailsExclude:function(t,e){t.publishingContractSplitsEditingDialogDetails.region.exclude=e},setPublishingContractConditionsRecipientIdOptions:function(t,e){t.publishingContractConditionsRecipientIdOptions=e},setPublishingContractConditionsEditingDialogDetails:function(t,e){t.publishingContractConditionsEditingDialogDetails=e},setPublishingContractDetailsRecipientId:function(t,e){t.publishingContractDetailsRecipientId=e},setShowPublishingContractConditionsEditingDialog:function(t,e){t.showPublishingContractConditionsEditingDialog=e},setPublishingContractDetailsSplitsRecipientId:function(t,e){t.publishingContractDetailsSplitsRecipientId=e},setDefaultPublishingContractConditions:function(t,e){t.defaultPublishingContractConditions=e},setPublishingContractConditions:function(t,e){t.publishingContractConditions=e},setSelectedPublishingContractConditions:function(t,e){t.selectedPublishingContractConditions=e},setPublishingContractConditionsSplitsEditingDialogDetails:function(t,e){t.publishingContractConditionsSplitsEditingDialogDetails=e},setPublishingContractConditionsSplitsDetailsRecipientId:function(t,e){t.publishingContractConditionsSplitsDetailsRecipientId=e},setPublishingContractConditionsSplitsRecipientIdOptions:function(t,e){t.publishingContractConditionsSplitsRecipientIdOptions=e},setDefaultPublishingContractConditionsSplits:function(t,e){t.defaultPublishingContractConditionsSplits=e},setPublishingContractConditionsSplits:function(t,e){t.publishingContractConditionsSplits=e},setSelectedPublishingContractConditionsSplits:function(t,e){t.selectedPublishingContractConditionsSplits=e},setShowPublishingContractConditionsSplitsEditingDialog:function(t,e){t.showPublishingContractConditionsSplitsEditingDialog=e},setPublishingContractConditionsDetailsSourceId:function(t,e){t.publishingContractConditionsEditingDialogDetails.sourceId=e},setPublishingContractConditionsDetailsRecipientId:function(t,e){t.publishingContractConditionsEditingDialogDetails.recipientId=e},setPublishingContractConditionsDetailsCollPrGreater:function(t,e){t.publishingContractConditionsEditingDialogDetails.collPrGreater=e},setPublishingContractConditionsDetailsCollMrGreater:function(t,e){t.publishingContractConditionsEditingDialogDetails.collMrGreater=e},setPublishingContractConditionsSplitsDetailsRightsType:function(t,e){t.publishingContractConditionsSplitsDetailsRightsType=e},setPublishingContractConditionsSplitsDetailsCategory:function(t,e){t.publishingContractConditionsSplitsDetailsCategory=e},setPublishingContractConditionsSplitsDetailsSubCategory:function(t,e){t.publishingContractConditionsSplitsDetailsSubCategory=e},setPublishingContractConditionsSplitsDetailsSplit:function(t,e){t.publishingContractConditionsSplitsDetailsSplit=e},setPublishingContractConditionsSplitsDetailsWeighting:function(t,e){t.publishingContractConditionsSplitsDetailsWeighting=e},setPublishingContractConditionsSplitsDetailsWeightingSource:function(t,e){t.publishingContractConditionsSplitsDetailsWeightingSource=e},setPublishingContractConditionsSplitsDetailsSharesToConsider:function(t,e){t.publishingContractConditionsSplitsDetailsSharesToConsider=e},setPublishingContractConditionsSplitsDetailsApplyTo:function(t,e){t.publishingContractConditionsSplitsDetailsApplyTo=e},setPublishingContractConditionsSplitsDetailsBase:function(t,e){t.publishingContractConditionsSplitsDetailsBase=e},setPublishingContractConditionsSplitsIncludeOptions:function(t,e){t.publishingContractConditionsSplitsIncludeOptions=e},setPublishingContractConditionsSplitsExcludeOptions:function(t,e){t.publishingContractConditionsSplitsExcludeOptions=e},setPublishingContractConditionsSplitsDetailsInclude:function(t,e){t.publishingContractConditionsSplitsDetailsInclude=e},setPublishingContractConditionsSplitsDetailsExclude:function(t,e){t.publishingContractConditionsSplitsDetailsExclude=e},setActiveConditionId:function(t,e){t.activeConditionId=e},setPublishingContractsSubCatalogues:function(t,e){t.publishingContractsSubCatalogues=e},setSelectedPublishingContractsSubCatalogues:function(t,e){t.selectedPublishingContractsSubCatalogues=e},setPublishingContractsSubCataloguesWorksSearch:function(t,e){t.publishingContractsSubCataloguesWorksSearch=e},setShowSubCataloguesWorksDeleteResultListButton:function(t,e){t.showSubCataloguesWorksDeleteResultListButton=e},setSubCataloguesWorksSearchId:function(t,e){t.subCataloguesWorksSearchId=e},setDefaultPublishingContractsSubCatalogues:function(t){t.defaultPublishingContractsSubCatalogues=tM},setPublishingContractsSubCataloguesEditingDialogDetails:function(t,e){t.publishingContractsSubCataloguesEditingDialogDetails=e},setPublishingContractsSubCataloguesDetailsLicensor:function(t,e){t.publishingContractsSubCataloguesEditingDialogDetails.licensor=e},setPublishingContractsSubCataloguesDetailsAgreementNumber:function(t,e){t.publishingContractsSubCataloguesEditingDialogDetails.gemaAgreementNo=e},setPublishingContractsSubCataloguesDetailsScheduleNumber:function(t,e){t.publishingContractsSubCataloguesEditingDialogDetails.gemaScheduleNo=e},setPublishingContractsSubCataloguesDetailsNotes:function(t,e){t.publishingContractsSubCataloguesEditingDialogDetails.notes=e},setPublishingContractsSubCataloguesLicensorOptions:function(t,e){t.publishingContractsSubCataloguesLicensorOptions=e},setPublishingContractsSubCataloguesWorks:function(t,e){t.publishingContractsSubCataloguesWorks=e},setShowSearchSubCataloguesWorksDialog:function(t,e){t.showSearchSubCataloguesWorksDialog=e},setWorksForSubCataloguesSearch:function(t,e){t.worksForSubCataloguesSearch=e},setSelectedWorksForSubCatalogues:function(t,e){t.selectedWorksForSubCatalogues=e},setPublishingContractsMedia:function(t,e){t.publishingContractsMedia=e},setPublishingContractsMediaCheckbox:function(t,e){t.publishingContractsMediaCheckbox=e},setSelectedPublishingContractsMediaFiles:function(t,e){t.selectedPublishingContractsMediaFiles=e}},rM={fetchPublishingContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getPublishingContractsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getPublishingContractsServerSideSortingOptions,t.next=7,k$.getListData2(XU,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingContracts",[])):a("setPublishingContracts",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingReminders:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,t.next=3,k$.getReminders(XU,"reminder");case 3:i=t.sent,void 0===i||0===i.length||1===i.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n=[]):n=i.list.map((function(t){return VU({},t,{source:"publishing"})})),a("setPublishingReminders",n);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractsMedia:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getPublishingContractsDetailsAlvId,t.next=5,k$.getListData(XU+"/"+i+"/files",n.getCurrentPage);case 5:s=t.sent,void 0===s||null===s?s=[]:0===s.length?a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"):s.forEach((function(t){t["isPlaying"]=!1})),a("setPublishingContractsMedia",s),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingContractsMediaFiles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r={clickedMediaType:a.getSelectedPublishingContractsMediaFiles[0].type,mediaFileId:a.getSelectedPublishingContractsMediaFiles[0].id},t.next=5,k$.deleteFile(XU+"/"+s,"?deleteMedia",{media:r});case 5:l=t.sent,-1===l.error?(i("fetchPublishingContractsMedia"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=7;break}l=JSON.parse(JSON.stringify(i.getDefaultNewPublishingContract)),n("setPublishingContractsSubCatalogues",[]),r=l,t.next=11;break;case 7:return t.next=9,k$.getDetailsById(XU,a);case 9:o=t.sent,void 0===o||0===o.length||1===o.error?n("setSnackbar",{type:"error",msg:"Daten konnten nicht oder nur unvollständig geladen werden"}):(o.conditions=o.conditions.map((function(t){return t.splits.map((function(t){return t.split=it.n(t.split,"number"),t.base=it.n(t.base,"number"),t})),t.collPrGreater=t.collPrGreater?it.n(t.collPrGreater,"number"):null,t.collMrGreater=t.collMrGreater?it.n(t.collMrGreater,"number"):null,t})),r=o);case 11:null!==r.licensor&&n("setPublishingContractsLicensorOptions",[r.licensor]),null!==r.initialBalance&&(r.initialBalance=it.n(r.initialBalance,"number")),n("setPublishingContractsDetails",r),"PublishingContractsEdit"===O$.currentRoute.name&&"new"!==a&&(s("fetchPublishingContractsSubCatalogues"),s("fetchPublishingContractSplitsTypeOfRights"),s("fetchPublishingContractsMedia")),n("setIsLoading",!1);case 16:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractsLicensor:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setPublishingContractsLicensorOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchPublishingContractSplits:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getPublishingContractsDetails.splits;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingContractSplits",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractSplitsEditingDialogInclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setPublishingContractSplitsEditingDialogIncludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractSplitsEditingDialogExclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setPublishingContractSplitsEditingDialogExcludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractConditionsSplitsInclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setPublishingContractConditionsSplitsIncludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractConditionsSplitsExclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setPublishingContractConditionsSplitsExcludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingContractSplits:function(t){var e=t.getters,a=t.commit,i=e.getSelectedPublishingContractSplits[0],s=nM.publishingContractSplits.findIndex((function(t){return t.id==i})),r=e.getPublishingContractSplits.length;n["default"].delete(nM.publishingContractSplits,s);var l=e.getPublishingContractSplits.length;a("setSelectedPublishingContractSplits",[]),a("setSnackbar",r>l?{type:"success",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_DELETE_SHARES_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_DELETE_SHARES_NOT_SUCCESSFUL")}),a("setSelectedPublishingContractSplits",[]),0===l&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},fetchPublishingContractSplitsTypeOfRights:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,a.getPublishingContractsDetailsAlvId,t.next=4,k$.getDropdownValues(XU,"typeOfRights");case 4:i=t.sent,n("setPublishingContractTypeOfRights",i.response);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractsWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getPublishingContractsDetailsAlvId,s=n.getPublishingContractsWorksSearch,r={search:s},l=this._vm.$alvPlugin.createApiUrlFilterString(r),t.next=8,k$.getListData(XU+"/"+i+"/works",n.getCurrentPage,l);case 8:o=t.sent,void 0===o||0===o.list.length||1===o.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setPublishingContractsWorks",[])):(null!==s&&""!==s&&0!==o.list.length?(a("setShowWorksDeleteResultListButton",!0),a("setWorksSearchId",o.searchId)):(a("setShowWorksDeleteResultListButton",!1),a("setWorksSearchId",null)),a("setPublishingContractsWorks",o.list)),this._vm.$alvPlugin.storePagingInformations(o.filteredRecords,o.currentPage,o.totalRecords,o.numberOfPages),a("setIsLoading",!1);case 12:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),setWorksTypeAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.dispatch,s=e.commit,r=n.getPublishingContractsDetailsAlvId,l={type:a},o={action:"setWorksTypeAction"},t.next=6,k$.triggerAction(XU+"/"+r+"/works",l,o);case 6:c=t.sent,-1===c.error&&s("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_CAPTION_PROCESSING_SUCCESS")}),i("fetchPublishingContractsWorks");case 9:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchPublishingContractConditions:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!1),t.next=4,a.getPublishingContractsDetails.conditions;case 4:if(i=t.sent,void 0!==i){t.next=9;break}return t.abrupt("return",null);case 9:0===i.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setPublishingContractConditions",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractConditionsSplits:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!1),t.next=4,a.getPublishingContractsDetails.conditions;case 4:if(i=t.sent,void 0!==i){t.next=9;break}return t.abrupt("return",null);case 9:0===i.length&&n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setPublishingContractConditions",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchSplitsForContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="publishingContractId=".concat(a.getPublishingContractsDetailsAlvId),t.next=4,k$.getFilteredResults("publishing/splits",n);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),searchConditionsForContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="publishingContractId=".concat(a.getPublishingContractsDetailsAlvId),t.next=4,k$.getFilteredResults("publishing/conditions",n);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addSplitsToContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r="addSplits",l={alvIds:s},t.next=6,k$.addMultipleRowsToDataTable(XU+"/"+s,l,r);case 6:o=t.sent,-1===o.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),i("savePublishingContractsForm")):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addConditionsToContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r="addConditions",l={alvIds:s},t.next=6,k$.addMultipleRowsToDataTable(XU+"/"+s,l,r);case 6:o=t.sent,-1===o.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),i("savePublishingContractsForm")):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractConditionsRecipientId:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setPublishingContractConditionsRecipientIdOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractConditionsSplitsRecipientId:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setPublishingContractConditionsSplitsRecipientIdOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingContractConditions:function(t){var e=t.getters,a=t.commit,i=e.getSelectedPublishingContractConditions[0],s=nM.publishingContractConditions.findIndex((function(t){return t.id==i})),r=e.getPublishingContractConditions.length;n["default"].delete(nM.publishingContractConditions,s);var l=e.getPublishingContractConditions.length;a("setSelectedPublishingContractConditions",[]),r>l&&a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}),a("setSelectedPublishingContractConditions",[]),0===l&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},deleteSelectedPublishingContractConditionsSplits:function(t){var e=t.getters,a=t.commit,n=e.getSelectedPublishingContractConditionsSplits,i=e.getPublishingContractsDetails.conditions.map((function(t){return t.splits=t.splits.filter((function(t){return t.id!=n.id})),t})),s=e.getPublishingContractsDetails;s.conditions=i,a("setPublishingContractsDetails",s),a("setSelectedPublishingContractConditionsSplits",null),a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1})},searchWorksForContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getWorksForContractSearch+"&publishingContractId="+a.getPublishingContractsDetailsAlvId,t.next=4,k$.getFilteredResults("publishing/works",n);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addWorksToContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.getters,i=e.commit,s=e.dispatch,r=n.getPublishingContractsDetailsAlvId,l=n.getSelectedWorksForContract,o="addWorks",null===a.searchId){t.next=11;break}return u={searchId:a.searchId},t.next=8,k$.addMultipleRowsToDataTable(XU+"/"+r,u,o);case 8:c=t.sent,t.next=15;break;case 11:return d={alvIds:l},t.next=14,k$.addMultipleRowsToDataTable(XU+"/"+r,d,o);case 14:c=t.sent;case 15:-1===c.error?(i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),s("savePublishingContractsForm")):i("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 16:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedContractPublishingWork:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r=a.getSelectedContractPublishingWork,t.next=5,k$.deleteEntries(XU+"/"+s+"?deleteWork",[r]);case 5:l=t.sent,-1===l.error?(i("savePublishingContractsForm"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setSelectedContractPublishingWork",[]);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteAllWorksFromPublishingContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,n("setIsLoading",!0),s=a.getPublishingContractsDetailsAlvId,r={},l=[],a.getTotalListed<=100?(a.getPublishingContractsWorks.forEach((function(t){l.push(t.alvId)})),r={alvIds:l}):r={searchId:a.getWorksSearchId},t.next=8,k$.deleteEntries(XU+"/"+s+"?deleteWork",r);case 8:o=t.sent,n("setIsLoading",!1),-1===o.error?(i("savePublishingContractsForm"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setWorksSearchId",null);case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractsSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!0),i=a.getPublishingContractsDetailsAlvId,t.next=5,k$.getListData(XU+"/"+i+"/subcatalogues",a.getCurrentPage);case 5:s=t.sent,void 0===s||1===s.error?(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setPublishingContractsSubCatalogues",[])):n("setPublishingContractsSubCatalogues",s.list),n("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompletePublishingContractsSubCataloguesLicensor:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setPublishingContractsSubCataloguesLicensorOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),savePublishingContractsSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r=a.getPublishingContractsSubCataloguesEditingDialogDetails,t.next=5,k$.addRowToDataTable(XU+"/"+s,r,"saveSubcatalogue");case 5:l=t.sent,-1===l.error?n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")}),i("fetchPublishingContractsSubCatalogues");case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingContractsSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r=a.getSelectedPublishingContractsSubCatalogues,t.next=5,k$.deleteEntries(XU+"/"+s,{alvIds:[r]});case 5:l=t.sent,-1===l.error?(i("fetchPublishingContractsSubCatalogues"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setSelectedPublishingContractsSubCatalogues",[]);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchPublishingContractsSubCataloguesWorks:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,i=e.getters,n("setIsLoading",!0),s=i.getPublishingContractsDetailsAlvId,r=i.getPublishingContractsSubCataloguesWorksSearch,l={search:r},o=this._vm.$alvPlugin.createApiUrlFilterString(l),t.next=8,k$.getListData(XU+"/"+s+"/subcatalogues/"+a+"/works",i.getCurrentPage,o);case 8:c=t.sent,void 0===c||1===c.error?(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setPublishingContractsSubCataloguesWorks",[])):(null!==r&&""!==r&&0!==c.list.length?(n("setShowSubCataloguesWorksDeleteResultListButton",!0),n("setSubCataloguesWorksSearchId",c.searchId)):(n("setShowSubCataloguesWorksDeleteResultListButton",!1),n("setSubCataloguesWorksSearchId",null)),n("setPublishingContractsSubCataloguesWorks",c.list)),this._vm.$alvPlugin.storePagingInformations(c.filteredRecords,c.currentPage,c.totalRecords,c.numberOfPages),n("setIsLoading",!1);case 12:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),searchWorksForSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getWorksForSubCataloguesSearch+"&publishingSubCatalogueId="+a.getSelectedPublishingContractsSubCatalogues,t.next=4,k$.getFilteredResults("publishing/works",n);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addWorksToSubCatalogue:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,s=e.dispatch,i("setIsLoading",!0),r=n.getPublishingContractsDetailsAlvId,l=n.getSelectedPublishingContractsSubCatalogues,o=n.getSelectedWorksForSubCatalogues,c="addWorks",d={},d=null!==a.searchId?{searchId:a.searchId}:{alvIds:o},t.next=10,k$.addMultipleRowsToDataTable(XU+"/"+r+"/subcatalogues/"+l,d,c);case 10:u=t.sent,i("setIsLoading",!1),-1===u.error?(i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),s("savePublishingContractsForm"),s("fetchPublishingContractsSubCataloguesWorks",l)):i("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 13:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteSelectedWorksForSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getPublishingContractsDetailsAlvId,r=a.getSelectedPublishingContractsSubCatalogues,l=a.getSelectedWorksForSubCatalogues,t.next=6,k$.deleteEntries(XU+"/"+s+"/subcatalogues/"+r+"?deleteWork",[l]);case 6:o=t.sent,-1===o.error?(i("savePublishingContractsForm"),i("fetchPublishingContractsSubCataloguesWorks",r),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setSelectedWorksForSubCatalogues",[]);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteAllWorksFromSubCatalogues:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,n("setIsLoading",!0),s=a.getPublishingContractsDetailsAlvId,r=a.getSelectedPublishingContractsSubCatalogues,l={},o=[],a.getTotalListed<=100?(a.getPublishingContractsSubCataloguesWorks.forEach((function(t){o.push(t.alvId)})),l={alvIds:o}):l={searchId:a.getSubCataloguesWorksSearchId},t.next=9,k$.deleteEntries(XU+"/"+s+"/subcatalogues/"+r+"?deleteWork",l);case 9:c=t.sent,n("setIsLoading",!1),-1===c.error?(i("savePublishingContractsForm"),i("fetchPublishingContractsSubCataloguesWorks",r),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setSubCataloguesWorksSearchId",null);case 13:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),savePublishingContractsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getPublishingContractsDetailsAlvId,0!==n.getPublishingContractSplits.length&&(n.getPublishingContractsDetails.splits=n.getPublishingContractSplits),0!==n.getPublishingContractsWorks.length&&(n.getPublishingContractsDetails.works=n.getPublishingContractsWorks),r=_.cloneDeep(n.getPublishingContractsDetails),l="new"==O$.currentRoute.params.alvId,r.initialBalance=this._vm.$alvPlugin.normalizeDecimalFormat(r.initialBalance),delete r.works,t.next=10,k$.saveEditForm(XU,s,r,l);case 10:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=16;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),t.next=26;break;case 16:return a("setSnackbar",{type:"success",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_CONTRACT_SAVED")}),l&&O$.push({name:"PublishingContractsEdit",params:{alvId:o.response.alvId}}),t.next=20,i("fetchPublishingContractsDetails",o.response.alvId);case 20:return t.next=22,i("fetchPublishingContractSplits");case 22:return t.next=24,i("fetchPublishingContractConditions");case 24:return t.next=26,i("fetchPublishingContractsWorks");case 26:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doPublishingContractsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.getters,i=e.dispatch,s=n.getSelectedPublishingContracts,!(s.length>0)){t.next=14;break}t.t0=n.getSelectedPublishingContractsAction,t.next="delete"===t.t0?6:"copyWithWorks"===t.t0||"copyWithoutWorks"===t.t0?8:"move"===t.t0?10:12;break;case 6:return a("setShowDeletionDialog",!0),t.abrupt("break",12);case 8:return 1===s.length?i("copyPublishingContract"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",12);case 10:return s.length>0&&a("setShowMoveContractsDialog",!0),t.abrupt("break",12);case 12:t.next=16;break;case 14:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 16:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedPublishingContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,i=e.commit,s=e.dispatch,t.next=3,k$.deleteEntries(XU,a.getSelectedPublishingContracts);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=a.getPublishingContracts.findIndex((function(e){return e.alvId==a.getSelectedPublishingContracts[t]}));n["default"].delete(a.getSelectedPublishingContracts,e)},o=0;o<a.getSelectedPublishingContracts.length;o++)l(o);i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),i("setSelectedPublishingContracts",[]),i("setSelectedPublishingContractsAction",[]),s("fetchPublishingContracts")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),moveSelectedPublishingContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={alvIds:a.getSelectedPublishingContracts,company:a.getPublishingContractsDetailsSelectedCompany},r={action:"move"},t.next=5,k$.triggerAction(XU,s,r);case 5:l=t.sent,-1===l.error&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_MOVED")}),n("setSelectedPublishingContracts",[]),n("setIsAllSelectedPublishingContracts",!1),n("setSelectedPublishingContractsAction",[]),i("fetchPublishingContracts");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyPublishingContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getSelectedPublishingContractsAction,r={action:s},l={alvIds:a.getSelectedPublishingContracts},t.next=6,k$.triggerAction(XU,l,r);case 6:o=t.sent,-1===o.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchPublishingContracts")):(c=o.response.errorMsg,void 0!==c&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(c)?it.t(c):c}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},lM={state:nM,getters:iM,actions:rM,mutations:sM};function oM(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function cM(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?oM(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):oM(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var uM,dM="contracts/label",gM=(YU={id:0,alvId:"ALV000000000CL",contractName:null,contractType:null,connectedTo:null,contractDate:null,alertOn:null,notes:null,initialBalance:null,initialBalancePeriod:{num:null,period:null,year:null}},Object(c["a"])(YU,"contractDate",null),Object(c["a"])(YU,"validFrom",null),Object(c["a"])(YU,"validUntil",null),Object(c["a"])(YU,"reminderDate",null),Object(c["a"])(YU,"reserve",null),Object(c["a"])(YU,"resolutionPeriod",null),Object(c["a"])(YU,"billingCycle",null),Object(c["a"])(YU,"licensor",null),Object(c["a"])(YU,"splits",[]),Object(c["a"])(YU,"tracks",[]),Object(c["a"])(YU,"assignToReleaseOptions",[]),YU),pM={id:0,base:null,category:"all",license:null,salesType:null,salesUnit:null,share:null,region:{exclude:[],include:[]},licensor:null},vM={id:0,title:null,selectedReleases:[],performer:null,isrc:null,releases:[]},_M={id:0,clearanceOfAdvances:null,enteredBy:null,enteredOn:null,entered:"manual",credit:null,balance:null},hM={amount:null,entered:"manual",enteredOn:null,id:0,reserve:null,reverseAccrualsIn:{num:null,period:"notDefined",year:null},setUpAccrualsIn:{num:null,period:"notDefined",year:null},sourceOfReserve:null},mM={id:0,amount:null,assignToRelease:null,costGroup:null,country:null,date:null,description:null,documentNumber:null,paidOn:null,recipient:null,split:100,accountingPeriod:{num:null,period:"notDefined",year:null}},fM={dialogSvgLink:"",labelContracts:[],labelReminders:{},selectedLabelContracts:[],labelContractsSearch:"",isAllSelectedLabelContracts:!1,selectedLabelContractsAction:[],expandedLabelContracts:[],labelContractsServerSideSortingOptions:{sortBy:["contractName"],sortDesc:[!1],mustSort:!0},labelContractsDetailsSelectedCompany:[],defaultNewLabelContracts:gM,labelContractsDetails:gM,labelContractsUniqueId:"",labelContractsLicensorOptions:[],labelContractsSplits:[],selectedLabelContractsSplits:[],selectedLabelContractsMediaFiles:[],defaultLabelContractsSplits:pM,labelContractsSplitsEditingDialogDetails:pM,labelContractsSplitsEditingDialogIncludeOptions:[],labelContractsSplitsEditingDialogExcludeOptions:[],labelContractsSplitsEditingDialogDetailsInclude:[],labelContractsSplitsEditingDialogDetailsExclude:[],labelContractsGroupedContracts:[],labelContractsTracksReleases:[],selectedLabelContractsTracksReleases:[],trackReleasesForSubCataloguesSearch:"",selectedTracksReleasesForSubCatalogues:[],showTracksReleasesDeleteResultListButton:!1,tracksReleasesSearchId:"",labelContractsTracksReleasesSearch:"",showSetTracksReleasesTypeDialog:!1,labelContractsTracksReleasesTotalRecords:0,labelContractsTracksReleasesTotalListed:0,labelContractsTracksReleasesCurrentPage:1,labelContractsTracksReleasesNumberOfPages:0,defaultLabelContractsTracksReleases:vM,labelContractsTracksReleasesEditingDialogDetails:vM,showLabelContractsTracksReleasesEditingDialog:!1,labelContractsTracksReleasesTrackTitleOptions:[],labelContractsIsTrackTitelReadOnly:!1,selectedReleasesForContract:[],releasesForContractSearch:"",totalReleasesForContractListed:"",totalReleasesForContractRecords:"",labelContractsSortingPagingOptions:{sortBy:["trackTitle"],sortDesc:[!1],mustSort:!0},labelContractsAdvance:[],selectedLabelContractsAdvance:[],defaultLabelContractsAdvance:_M,showLabelContractsAdvanceEditingDialog:!1,labelContractsAdvanceEditingDialogDetails:_M,labelContractsReserves:[],selectedLabelContractsReserves:[],defaultLabelContractsReserves:hM,showLabelContractsReservesEditingDialog:!1,labelContractsReservesEditingDialogDetails:hM,labelContractsCosts:[],selectedLabelContractsCosts:[],defaultLabelContractsCosts:mM,showLabelContractsCostsEditingDialog:!1,labelContractsCostsEditingDialogDetails:mM,labelContractsCostsRecipientOptions:[],labelContractsCostsAssignToReleaseOptions:[],labelContractsCostsTotalRecords:0,labelContractsCostsTotalListed:0,labelContractsCostsCurrentPage:1,labelContractsCostsNumberOfPages:0,labelContractsMedia:[],labelContractsMediaCheckbox:[]},SM=(KU={getDialogSvgLink:function(t){return t.dialogSvgLink},getLabelContracts:function(t){return t.labelContracts},getLabelReminders:function(t){return t.labelReminders},getSelectedLabelContracts:function(t){return t.selectedLabelContracts},getLabelContractsSearch:function(t){return t.labelContractsSearch},getIsAllSelectedLabelContracts:function(t){return t.isAllSelectedLabelContracts},getSelectedLabelContractsAction:function(t){return t.selectedLabelContractsAction},getExpandedLabelContracts:function(t){return t.expandedLabelContracts},getLabelContractsServerSideSortingOptions:function(t){return t.labelContractsServerSideSortingOptions},getLabelContractsDetailsSelectedCompany:function(t){return t.labelContractsDetailsSelectedCompany},getDefaultNewLabelContracts:function(t){return t.defaultNewLabelContracts},getLabelContractsDetails:function(t){return t.labelContractsDetails},getLabelContractsUniqueId:function(t){return t.labelContractsUniqueId},getLabelContractsLicensorOptions:function(t){return t.labelContractsLicensorOptions},getLabelContractsDetailsContractName:function(t){return t.labelContractsDetails.contractName},getLabelContractsDetailsAlvId:function(t){return t.labelContractsDetails.alvId},getLabelContractsDetailsNotes:function(t){return t.labelContractsDetails.notes},getLabelContractsDetailsType:function(t){return t.labelContractsDetails.contractType},getLabelContractsDetailsInitialBalance:function(t){return t.labelContractsDetails.initialBalance},getLabelContractsDetailsInitialBalancePeriod:function(t){return t.labelContractsDetails.initialBalancePeriod},getLabelContractsDetailsContractDate:function(t){return t.labelContractsDetails.contractDate},getLabelContractsDetailsValidFrom:function(t){return t.labelContractsDetails.validFrom},getLabelContractsDetailsValidUntil:function(t){return t.labelContractsDetails.validUntil},getLabelContractsDetailsReminderDate:function(t){return t.labelContractsDetails.reminderDate},getLabelContractsDetailsReserve:function(t){return t.labelContractsDetails.reserve},getLabelContractsDetailsResolutionPeriod:function(t){return t.labelContractsDetails.resolutionPeriod},getLabelContractsDetailsBillingCycle:function(t){return t.labelContractsDetails.billingCycle},getLabelContractsDetailsLicensor:function(t){return t.labelContractsDetails.licensor},getLabelContractsDetailsConnectedTo:function(t){return t.labelContractsDetails.connectedTo}},Object(c["a"])(KU,"getLabelContractsDetailsContractDate",(function(t){return t.labelContractsDetails.contractDate})),Object(c["a"])(KU,"getSelectedPeriodNumberLabelContracts",(function(t){return void 0!==t.labelContractsDetails.initialBalancePeriod?t.labelContractsDetails.initialBalancePeriod.num:null})),Object(c["a"])(KU,"getSelectedPeriodTimeUnitLabelContracts",(function(t){return void 0!==t.labelContractsDetails.initialBalancePeriod?t.labelContractsDetails.initialBalancePeriod.period:null})),Object(c["a"])(KU,"getSelectedPeriodYearLabelContracts",(function(t){return void 0!==t.labelContractsDetails.initialBalancePeriod?t.labelContractsDetails.initialBalancePeriod.year:null})),Object(c["a"])(KU,"getSelectedLabelContractsMediaFiles",(function(t){return t.selectedLabelContractsMediaFiles})),Object(c["a"])(KU,"getLabelContractsSplits",(function(t){return t.labelContractsSplits})),Object(c["a"])(KU,"getSelectedLabelContractsSplits",(function(t){return t.selectedLabelContractsSplits})),Object(c["a"])(KU,"getDefaultLabelContractsSplits",(function(t){return t.defaultLabelContractsSplits})),Object(c["a"])(KU,"getLabelContractsSplitsEditingDialogDetails",(function(t){return t.labelContractsSplitsEditingDialogDetails})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsSalesType",(function(t){return t.labelContractsSplitsEditingDialogDetails.salesType})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsLicense",(function(t){return t.labelContractsSplitsEditingDialogDetails.license})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsSalesUnit",(function(t){return t.labelContractsSplitsEditingDialogDetails.salesUnit})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsBase",(function(t){return t.labelContractsSplitsEditingDialogDetails.base})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsShares",(function(t){return t.labelContractsSplitsEditingDialogDetails.share})),Object(c["a"])(KU,"getLabelContractsSplitsDetailsCategory",(function(t){return t.labelContractsSplitsEditingDialogDetails.category})),Object(c["a"])(KU,"getLabelContractsSplitsEditingDialogIncludeOptions",(function(t){return t.labelContractsSplitsEditingDialogIncludeOptions})),Object(c["a"])(KU,"getLabelContractsSplitsEditingDialogExcludeOptions",(function(t){return t.labelContractsSplitsEditingDialogExcludeOptions})),Object(c["a"])(KU,"getLabelContractsSplitsEditingDialogDetailsInclude",(function(t){return void 0===t.labelContractsSplitsEditingDialogDetails.region?[]:t.labelContractsSplitsEditingDialogDetails.region.include})),Object(c["a"])(KU,"getLabelContractsSplitsEditingDialogDetailsExclude",(function(t){return void 0===t.labelContractsSplitsEditingDialogDetails.region?[]:t.labelContractsSplitsEditingDialogDetails.region.exclude})),Object(c["a"])(KU,"getLabelContractsGroupedContracts",(function(t){return t.labelContractsGroupedContracts})),Object(c["a"])(KU,"getLabelContractsTracksReleases",(function(t){return t.labelContractsTracksReleases})),Object(c["a"])(KU,"getSelectedLabelContractsTracksReleases",(function(t){return t.selectedLabelContractsTracksReleases})),Object(c["a"])(KU,"getDefaultLabelContractsTracksReleases",(function(t){return t.defaultLabelContractsTracksReleases})),Object(c["a"])(KU,"getShowTracksReleasesDeleteResultListButton",(function(t){return t.showTracksReleasesDeleteResultListButton})),Object(c["a"])(KU,"getTracksReleasesSearchId",(function(t){return t.tracksReleasesSearchId})),Object(c["a"])(KU,"getLabelContractsTracksReleasesSearch",(function(t){return t.labelContractsTracksReleasesSearch})),Object(c["a"])(KU,"getShowSetTracksReleasesTypeDialog",(function(t){return t.showSetTracksReleasesTypeDialog})),Object(c["a"])(KU,"getLabelContractsTracksReleasesTotalRecords",(function(t){return t.labelContractsTracksReleasesTotalRecords})),Object(c["a"])(KU,"getLabelContractsTracksReleasesTotalListed",(function(t){return t.labelContractsTracksReleasesTotalListed})),Object(c["a"])(KU,"getLabelContractsTracksReleasesCurrentPage",(function(t){return t.labelContractsTracksReleasesCurrentPage})),Object(c["a"])(KU,"getLabelContractsTracksReleasesNumberOfPages",(function(t){return t.labelContractsTracksReleasesNumberOfPages})),Object(c["a"])(KU,"getShowLabelContractsTracksReleasesEditingDialog",(function(t){return t.showLabelContractsTracksReleasesEditingDialog})),Object(c["a"])(KU,"getLabelContractsTracksReleasesEditingDialogDetails",(function(t){return t.labelContractsTracksReleasesEditingDialogDetails})),Object(c["a"])(KU,"getLabelContractsTracksReleasesDetailsSelectedReleases",(function(t){return t.labelContractsTracksReleasesEditingDialogDetails.selectedReleases})),Object(c["a"])(KU,"getLabelContractsTracksReleasesDetailsTrackTitle",(function(t){return t.labelContractsTracksReleasesEditingDialogDetails.title})),Object(c["a"])(KU,"getLabelContractsTracksReleasesDetailsArtist",(function(t){return t.labelContractsTracksReleasesEditingDialogDetails.performer})),Object(c["a"])(KU,"getLabelContractsTracksReleasesDetailsIsrc",(function(t){return t.labelContractsTracksReleasesEditingDialogDetails.isrc})),Object(c["a"])(KU,"getLabelContractsTracksReleasesTrackTitleOptions",(function(t){return t.labelContractsTracksReleasesTrackTitleOptions})),Object(c["a"])(KU,"getLabelContractsIsTrackTitelReadOnly",(function(t){return t.labelContractsIsTrackTitelReadOnly})),Object(c["a"])(KU,"getSelectedReleasesForContract",(function(t){return t.selectedReleasesForContract})),Object(c["a"])(KU,"getReleasesForContractSearch",(function(t){return t.releasesForContractSearch})),Object(c["a"])(KU,"getTotalReleasesForContractListed",(function(t){return t.totalReleasesForContractListed})),Object(c["a"])(KU,"getTotalReleasesForContractRecords",(function(t){return t.totalReleasesForContractRecords})),Object(c["a"])(KU,"getLabelContractsSortingPagingOptions",(function(t){return t.labelContractsSortingPagingOptions})),Object(c["a"])(KU,"getLabelContractsAdvance",(function(t){return t.labelContractsAdvance})),Object(c["a"])(KU,"getSelectedLabelContractsAdvance",(function(t){return t.selectedLabelContractsAdvance})),Object(c["a"])(KU,"getDefaultLabelContractsAdvance",(function(t){return t.defaultLabelContractsAdvance})),Object(c["a"])(KU,"getShowLabelContractsAdvanceEditingDialog",(function(t){return t.showLabelContractsAdvanceEditingDialog})),Object(c["a"])(KU,"getLabelContractsAdvanceEditingDialogDetails",(function(t){return t.labelContractsAdvanceEditingDialogDetails})),Object(c["a"])(KU,"getLabelContractsAdvanceDetailsClearanceOfAdvances",(function(t){return t.labelContractsAdvanceEditingDialogDetails.clearanceOfAdvances})),Object(c["a"])(KU,"getLabelContractsAdvanceDetailsCredit",(function(t){return t.labelContractsAdvanceEditingDialogDetails.credit})),Object(c["a"])(KU,"getLabelContractsAdvanceDetailsBalance",(function(t){return t.labelContractsAdvanceEditingDialogDetails.balance})),Object(c["a"])(KU,"getLabelContractsReserves",(function(t){return t.labelContractsReserves})),Object(c["a"])(KU,"getSelectedLabelContractsReserves",(function(t){return t.selectedLabelContractsReserves})),Object(c["a"])(KU,"getDefaultLabelContractsReserves",(function(t){return t.defaultLabelContractsReserves})),Object(c["a"])(KU,"getShowLabelContractsReservesEditingDialog",(function(t){return t.showLabelContractsReservesEditingDialog})),Object(c["a"])(KU,"getLabelContractsReservesEditingDialogDetails",(function(t){return t.labelContractsReservesEditingDialogDetails})),Object(c["a"])(KU,"getLabelContractsReservesDetailsSourceOfReserve",(function(t){return t.labelContractsReservesEditingDialogDetails.sourceOfReserve})),Object(c["a"])(KU,"getLabelContractsReservesDetailsEnteredOn",(function(t){return t.labelContractsReservesEditingDialogDetails.enteredOn})),Object(c["a"])(KU,"getLabelContractsReservesDetailsAmount",(function(t){return t.labelContractsReservesEditingDialogDetails.amount})),Object(c["a"])(KU,"getLabelContractsReservesDetailsReserve",(function(t){return t.labelContractsReservesEditingDialogDetails.reserve})),Object(c["a"])(KU,"getLabelContractsReservesDetailsSetUpAccrualsIn",(function(t){return t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn})),Object(c["a"])(KU,"getSelectedPeriodNumberLabelContractsReservesSetUp",(function(t){return t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.num})),Object(c["a"])(KU,"getSelectedPeriodTimeUnitLabelContractsReservesSetUp",(function(t){return t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.period})),Object(c["a"])(KU,"getSelectedPeriodYearLabelContractsReservesSetUp",(function(t){return t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.year})),Object(c["a"])(KU,"getLabelContractsReservesDetailsReverseAccrualsIn",(function(t){return t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn})),Object(c["a"])(KU,"getSelectedPeriodNumberLabelContractsReserves",(function(t){return t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.num})),Object(c["a"])(KU,"getSelectedPeriodTimeUnitLabelContractsReserves",(function(t){return t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.period})),Object(c["a"])(KU,"getSelectedPeriodYearLabelContractsReserves",(function(t){return t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.year})),Object(c["a"])(KU,"getLabelContractsCosts",(function(t){return t.labelContractsCosts})),Object(c["a"])(KU,"getSelectedLabelContractsCosts",(function(t){return t.selectedLabelContractsCosts})),Object(c["a"])(KU,"getDefaultLabelContractsCosts",(function(t){return t.defaultLabelContractsCosts})),Object(c["a"])(KU,"getShowLabelContractsCostsEditingDialog",(function(t){return t.showLabelContractsCostsEditingDialog})),Object(c["a"])(KU,"getLabelContractsCostsAssignToReleaseOptions",(function(t){return t.labelContractsCostsAssignToReleaseOptions})),Object(c["a"])(KU,"getLabelContractsCostsEditingDialogDetails",(function(t){return t.labelContractsCostsEditingDialogDetails})),Object(c["a"])(KU,"getLabelContractsCostsDetailsCostGroup",(function(t){return t.labelContractsCostsEditingDialogDetails.costGroup})),Object(c["a"])(KU,"getLabelContractsCostsDetailsDate",(function(t){return t.labelContractsCostsEditingDialogDetails.date})),Object(c["a"])(KU,"getLabelContractsCostsDetailsPaidOn",(function(t){return t.labelContractsCostsEditingDialogDetails.paidOn})),Object(c["a"])(KU,"getLabelContractsCostsDetailsAmount",(function(t){return t.labelContractsCostsEditingDialogDetails.amount})),Object(c["a"])(KU,"getLabelContractsCostsDetailsSplit",(function(t){return t.labelContractsCostsEditingDialogDetails.split})),Object(c["a"])(KU,"getLabelContractsCostsDetailsCountry",(function(t){return t.labelContractsCostsEditingDialogDetails.country})),Object(c["a"])(KU,"getLabelContractsCostsDetailsDescription",(function(t){return t.labelContractsCostsEditingDialogDetails.description})),Object(c["a"])(KU,"getLabelContractsCostsDetailsDocumentNumber",(function(t){return t.labelContractsCostsEditingDialogDetails.documentNumber})),Object(c["a"])(KU,"getLabelContractsCostsDetailsAssignToRelease",(function(t){return t.labelContractsCostsEditingDialogDetails.assignToRelease})),Object(c["a"])(KU,"getLabelContractsCostsDetailsRecipient",(function(t){return t.labelContractsCostsEditingDialogDetails.recipient})),Object(c["a"])(KU,"getLabelContractsCostsRecipientOptions",(function(t){return t.labelContractsCostsRecipientOptions})),Object(c["a"])(KU,"getLabelContractsCostsDetailsAccountingPeriod",(function(t){return t.labelContractsCostsEditingDialogDetails.accountingPeriod})),Object(c["a"])(KU,"getSelectedPeriodNumberLabelContractsCostsAccountingPeriod",(function(t){return t.labelContractsCostsEditingDialogDetails.accountingPeriod.num})),Object(c["a"])(KU,"getSelectedPeriodTimeUnitLabelContractsCostsAccountingPeriod",(function(t){return t.labelContractsCostsEditingDialogDetails.accountingPeriod.period})),Object(c["a"])(KU,"getSelectedPeriodYearLabelContractsCostsAccountingPeriod",(function(t){return t.labelContractsCostsEditingDialogDetails.accountingPeriod.year})),Object(c["a"])(KU,"getLabelContractsCostsTotalRecords",(function(t){return t.labelContractsCostsTotalRecords})),Object(c["a"])(KU,"getLabelContractsCostsTotalListed",(function(t){return t.labelContractsCostsTotalListed})),Object(c["a"])(KU,"getLabelContractsCostsCurrentPage",(function(t){return t.labelContractsCostsCurrentPage})),Object(c["a"])(KU,"getLabelContractsCostsNumberOfPages",(function(t){return t.labelContractsCostsNumberOfPages})),Object(c["a"])(KU,"getLabelContractsMedia",(function(t){return t.labelContractsMedia})),Object(c["a"])(KU,"getLabelContractsMediaCheckbox",(function(t){return t.labelContractsMediaCheckbox})),KU),EM=(ZU={setDialogSvgLink:function(t,e){t.dialogSvgLink=e},setLabelContracts:function(t,e){t.labelContracts=e},setLabelReminders:function(t,e){t.labelReminders=e},setSelectedLabelContracts:function(t,e){t.selectedLabelContracts=e},setLabelContractsSearch:function(t,e){t.labelContractsSearch=e},setIsAllSelectedLabelContracts:function(t,e){t.isAllSelectedLabelContracts=e},setSelectedLabelContractsAction:function(t,e){t.selectedLabelContractsAction=e},setExpandedLabelContracts:function(t,e){t.expandedLabelContracts=[e]},setLabelContractsServerSideSortingOptions:function(t,e){t.labelContractsServerSideSortingOptions=e},setLabelContractsDetailsSelectedCompany:function(t,e){t.labelContractsDetailsSelectedCompany=e},setDefaultNewLabelContracts:function(t){t.defaultNewLabelContracts=gM},setLabelContractsUniqueId:function(t,e){t.labelContractsUniqueId=e},setLabelContractsDetails:function(t,e){t.labelContractsDetails=e},setLabelContractsLicensorOptions:function(t,e){t.labelContractsLicensorOptions=e},setLabelContractsDetailsAlvId:function(t,e){t.labelContractsDetails.alvId=e},setLabelContractsDetailsContractName:function(t,e){t.labelContractsDetails.contractName=e},setLabelContractsDetailsType:function(t,e){t.labelContractsDetails.contractType=e},setLabelContractsDetailsInitialBalance:function(t,e){t.labelContractsDetails.initialBalance=e},setLabelContractsDetailsInitialBalancePeriod:function(t,e){t.labelContractsDetails.initialBalancePeriod=e},setLabelContractsDetailsContractDate:function(t,e){t.labelContractsDetails.contractDate=e},setLabelContractsDetailsValidFrom:function(t,e){t.labelContractsDetails.validFrom=e},setLabelContractsDetailsValidUntil:function(t,e){t.labelContractsDetails.validUntil=e},setLabelContractsDetailsReminderDate:function(t,e){t.labelContractsDetails.reminderDate=e},setLabelContractsDetailsReserve:function(t,e){t.labelContractsDetails.reserve=e},setLabelContractsDetailsResolutionPeriod:function(t,e){t.labelContractsDetails.resolutionPeriod=e},setLabelContractsDetailsBillingCycle:function(t,e){t.labelContractsDetails.billingCycle=e},setLabelContractsDetailsConnectedTo:function(t,e){t.labelContractsDetails.connectedTo=e}},Object(c["a"])(ZU,"setLabelContractsDetailsContractDate",(function(t,e){t.labelContractsDetails.contractDate=e})),Object(c["a"])(ZU,"setLabelContractsDetailsNotes",(function(t,e){t.labelContractsDetails.notes=e})),Object(c["a"])(ZU,"setLabelContractsDetailsLicensor",(function(t,e){t.labelContractsDetails.licensor=e})),Object(c["a"])(ZU,"setSelectedPeriodNumberLabelContracts",(function(t,e){t.labelContractsDetails.initialBalancePeriod.num=e})),Object(c["a"])(ZU,"setSelectedPeriodTimeUnitLabelContracts",(function(t,e){t.labelContractsDetails.initialBalancePeriod.period=e})),Object(c["a"])(ZU,"setSelectedPeriodYearLabelContracts",(function(t,e){t.labelContractsDetails.initialBalancePeriod.year=e})),Object(c["a"])(ZU,"setLabelContractsSplits",(function(t,e){t.labelContractsSplits=e})),Object(c["a"])(ZU,"setSelectedLabelContractsSplits",(function(t,e){t.selectedLabelContractsSplits=e})),Object(c["a"])(ZU,"setSelectedLabelContractsMediaFiles",(function(t,e){t.selectedLabelContractsMediaFiles=e})),Object(c["a"])(ZU,"setDefaultLabelContractsSplits",(function(t){t.defaultLabelContractsSplits=pM})),Object(c["a"])(ZU,"setLabelContractsSplitsEditingDialogDetails",(function(t,e){t.labelContractsSplitsEditingDialogDetails=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsSalesType",(function(t,e){t.labelContractsSplitsEditingDialogDetails.salesType=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsLicense",(function(t,e){t.labelContractsSplitsEditingDialogDetails.license=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsSalesUnit",(function(t,e){t.labelContractsSplitsEditingDialogDetails.salesUnit=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsBase",(function(t,e){t.labelContractsSplitsEditingDialogDetails.base=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsShares",(function(t,e){t.labelContractsSplitsEditingDialogDetails.share=e})),Object(c["a"])(ZU,"setLabelContractsSplitsDetailsCategory",(function(t,e){t.labelContractsSplitsEditingDialogDetails.category=e})),Object(c["a"])(ZU,"setLabelContractsSplitsEditingDialogIncludeOptions",(function(t,e){t.labelContractsSplitsEditingDialogIncludeOptions=e})),Object(c["a"])(ZU,"setLabelContractsSplitsEditingDialogExcludeOptions",(function(t,e){t.labelContractsSplitsEditingDialogExcludeOptions=e})),Object(c["a"])(ZU,"setLabelContractsSplitsEditingDialogDetailsInclude",(function(t,e){t.labelContractsSplitsEditingDialogDetails.region.include=e})),Object(c["a"])(ZU,"setLabelContractsSplitsEditingDialogDetailsExclude",(function(t,e){t.labelContractsSplitsEditingDialogDetails.region.exclude=e})),Object(c["a"])(ZU,"setLabelContractsGroupedContracts",(function(t,e){t.labelContractsGroupedContracts=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleases",(function(t,e){t.labelContractsTracksReleases=e})),Object(c["a"])(ZU,"setSelectedLabelContractsTracksReleases",(function(t,e){t.selectedLabelContractsTracksReleases=e})),Object(c["a"])(ZU,"setDefaultLabelContractsTracksReleases",(function(t){t.defaultLabelContractsTracksReleases=vM})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesTotalRecords",(function(t,e){t.labelContractsTracksReleasesTotalRecords=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesTotalListed",(function(t,e){t.labelContractsTracksReleasesTotalListed=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesCurrentPage",(function(t,e){t.labelContractsTracksReleasesCurrentPage=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesNumberOfPages",(function(t,e){t.labelContractsTracksReleasesNumberOfPages=e})),Object(c["a"])(ZU,"setShowLabelContractsTracksReleasesEditingDialog",(function(t,e){t.showLabelContractsTracksReleasesEditingDialog=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesEditingDialogDetails",(function(t,e){t.labelContractsTracksReleasesEditingDialogDetails=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesDetailsSelectedReleases",(function(t,e){t.labelContractsTracksReleasesEditingDialogDetails.selectedReleases=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesDetailsTrackTitle",(function(t,e){t.labelContractsTracksReleasesEditingDialogDetails.title=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesDetailsArtist",(function(t,e){t.labelContractsTracksReleasesEditingDialogDetails.performer=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesDetailsIsrc",(function(t,e){t.labelContractsTracksReleasesEditingDialogDetails.isrc=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesTrackTitleOptions",(function(t,e){t.labelContractsTracksReleasesTrackTitleOptions=e})),Object(c["a"])(ZU,"setLabelContractsIsTrackTitelReadOnly",(function(t,e){t.labelContractsIsTrackTitelReadOnly=e})),Object(c["a"])(ZU,"setSelectedReleasesForContract",(function(t,e){t.selectedReleasesForContract=e})),Object(c["a"])(ZU,"setReleasesForContractSearch",(function(t,e){t.releasesForContractSearch=e})),Object(c["a"])(ZU,"setTotalReleasesForContractListed",(function(t,e){t.totalReleasesForContractListed=e})),Object(c["a"])(ZU,"setTotalReleasesForContractRecords",(function(t,e){t.totalReleasesForContractRecords=e})),Object(c["a"])(ZU,"setLabelContractsSortingPagingOptions",(function(t,e){t.labelContractsSortingPagingOptions=e})),Object(c["a"])(ZU,"setLabelContractsAdvance",(function(t,e){t.labelContractsAdvance=e})),Object(c["a"])(ZU,"setSelectedLabelContractsAdvance",(function(t,e){t.selectedLabelContractsAdvance=e})),Object(c["a"])(ZU,"setDefaultLabelContractsAdvance",(function(t){t.defaultLabelContractsAdvance=_M})),Object(c["a"])(ZU,"setShowLabelContractsAdvanceEditingDialog",(function(t,e){t.showLabelContractsAdvanceEditingDialog=e})),Object(c["a"])(ZU,"setLabelContractsAdvanceEditingDialogDetails",(function(t,e){t.labelContractsAdvanceEditingDialogDetails=e})),Object(c["a"])(ZU,"setLabelContractsAdvanceDetailsClearanceOfAdvances",(function(t,e){t.labelContractsAdvanceEditingDialogDetails.clearanceOfAdvances=e})),Object(c["a"])(ZU,"setLabelContractsAdvanceDetailsCredit",(function(t,e){t.labelContractsAdvanceEditingDialogDetails.credit=e})),Object(c["a"])(ZU,"setLabelContractsAdvanceDetailsBalance",(function(t,e){t.labelContractsAdvanceEditingDialogDetails.balance=e})),Object(c["a"])(ZU,"setLabelContractsReserves",(function(t,e){t.labelContractsReserves=e})),Object(c["a"])(ZU,"setSelectedLabelContractsReserves",(function(t,e){t.selectedLabelContractsReserves=e})),Object(c["a"])(ZU,"setDefaultLabelContractsReserves",(function(t){t.defaultLabelContractsReserves=hM})),Object(c["a"])(ZU,"setShowLabelContractsReservesEditingDialog",(function(t,e){t.showLabelContractsReservesEditingDialog=e})),Object(c["a"])(ZU,"setLabelContractsReservesEditingDialogDetails",(function(t,e){t.labelContractsReservesEditingDialogDetails=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsSourceOfReserve",(function(t,e){t.labelContractsReservesEditingDialogDetails.sourceOfReserve=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsEnteredOn",(function(t,e){t.labelContractsReservesEditingDialogDetails.enteredOn=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsAmount",(function(t,e){t.labelContractsReservesEditingDialogDetails.amount=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsReserve",(function(t,e){t.labelContractsReservesEditingDialogDetails.reserve=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsSetUpAccrualsIn",(function(t,e){t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn=e})),Object(c["a"])(ZU,"setSelectedPeriodNumberLabelContractsReservesSetUp",(function(t,e){t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.num=e})),Object(c["a"])(ZU,"setSelectedPeriodTimeUnitLabelContractsReservesSetUp",(function(t,e){t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.period=e})),Object(c["a"])(ZU,"setSelectedPeriodYearLabelContractsReservesSetUp",(function(t,e){t.labelContractsReservesEditingDialogDetails.setUpAccrualsIn.year=e})),Object(c["a"])(ZU,"setLabelContractsReservesDetailsReverseAccrualsIn",(function(t,e){t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn=e})),Object(c["a"])(ZU,"setSelectedPeriodNumberLabelContractsReserves",(function(t,e){t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.num=e})),Object(c["a"])(ZU,"setSelectedPeriodTimeUnitLabelContractsReserves",(function(t,e){t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.period=e})),Object(c["a"])(ZU,"setSelectedPeriodYearLabelContractsReserves",(function(t,e){t.labelContractsReservesEditingDialogDetails.reverseAccrualsIn.year=e})),Object(c["a"])(ZU,"setLabelContractsCosts",(function(t,e){t.labelContractsCosts=e})),Object(c["a"])(ZU,"setSelectedLabelContractsCosts",(function(t,e){t.selectedLabelContractsCosts=e})),Object(c["a"])(ZU,"setDefaultLabelContractsCosts",(function(t){t.defaultLabelContractsCosts=mM})),Object(c["a"])(ZU,"setShowLabelContractsCostsEditingDialog",(function(t,e){t.showLabelContractsCostsEditingDialog=e})),Object(c["a"])(ZU,"setLabelContractsCostsAssignToReleaseOptions",(function(t,e){t.labelContractsCostsAssignToReleaseOptions=e})),Object(c["a"])(ZU,"setLabelContractsCostsEditingDialogDetails",(function(t,e){t.labelContractsCostsEditingDialogDetails=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsCostGroup",(function(t,e){t.labelContractsCostsEditingDialogDetails.costGroup=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsDate",(function(t,e){t.labelContractsCostsEditingDialogDetails.date=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsPaidOn",(function(t,e){t.labelContractsCostsEditingDialogDetails.paidOn=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsAmount",(function(t,e){t.labelContractsCostsEditingDialogDetails.amount=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsCountry",(function(t,e){t.labelContractsCostsEditingDialogDetails.country=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsSplit",(function(t,e){t.labelContractsCostsEditingDialogDetails.split=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsDescription",(function(t,e){t.labelContractsCostsEditingDialogDetails.description=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsDocumentNumber",(function(t,e){t.labelContractsCostsEditingDialogDetails.documentNumber=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsAssignToRelease",(function(t,e){t.labelContractsCostsEditingDialogDetails.assignToRelease=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsRecipient",(function(t,e){t.labelContractsCostsEditingDialogDetails.recipient=e})),Object(c["a"])(ZU,"setLabelContractsCostsRecipientOptions",(function(t,e){t.labelContractsCostsRecipientOptions=e})),Object(c["a"])(ZU,"setLabelContractsCostsDetailsAccountingPeriod",(function(t,e){t.labelContractsCostsEditingDialogDetails.accountingPeriod=e})),Object(c["a"])(ZU,"setSelectedPeriodNumberLabelContractsCostsAccountingPeriod",(function(t,e){t.labelContractsCostsEditingDialogDetails.accountingPeriod.num=e})),Object(c["a"])(ZU,"setSelectedPeriodTimeUnitLabelContractsCostsAccountingPeriod",(function(t,e){t.labelContractsCostsEditingDialogDetails.accountingPeriod.period=e})),Object(c["a"])(ZU,"setSelectedPeriodYearLabelContractsCostsAccountingPeriod",(function(t,e){t.labelContractsCostsEditingDialogDetails.accountingPeriod.year=e})),Object(c["a"])(ZU,"setLabelContractsCostsTotalRecords",(function(t,e){t.labelContractsCostsTotalRecords=e})),Object(c["a"])(ZU,"setLabelContractsCostsTotalListed",(function(t,e){t.labelContractsCostsTotalListed=e})),Object(c["a"])(ZU,"setLabelContractsCostsCurrentPage",(function(t,e){t.labelContractsCostsCurrentPage=e})),Object(c["a"])(ZU,"setLabelContractsCostsNumberOfPages",(function(t,e){t.labelContractsCostsNumberOfPages=e})),Object(c["a"])(ZU,"setShowTracksReleasesDeleteResultListButton",(function(t,e){t.showTracksReleasesDeleteResultListButton=e})),Object(c["a"])(ZU,"setTracksReleasesSearchId",(function(t,e){t.tracksReleasesSearchId=e})),Object(c["a"])(ZU,"setLabelContractsTracksReleasesSearch",(function(t,e){t.labelContractsTracksReleasesSearch=e})),Object(c["a"])(ZU,"setShowSetTracksReleasesTypeDialog",(function(t,e){t.showSetTracksReleasesTypeDialog=e})),Object(c["a"])(ZU,"setLabelContractsMedia",(function(t,e){t.labelContractsMedia=e})),Object(c["a"])(ZU,"setLabelContractsMediaCheckbox",(function(t,e){t.labelContractsMediaCheckbox=e})),ZU),IM={fetchLabelContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getLabelContractsSearch},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getLabelContractsServerSideSortingOptions,t.next=7,k$.getListData2(dM,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||0===l.list.length||1===l.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setLabelContracts",[])):a("setLabelContracts",l.list),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelReminders:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,a("setIsLoading",!0),t.next=4,k$.getReminders(dM,"reminder");case 4:i=t.sent,void 0===i||0===i.length||1===i.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n=[]):n=i.list.map((function(t){return cM({},t,{source:"label"})})),a("setLabelReminders",n),a("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsMedia:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getLabelContractsDetailsAlvId,t.next=5,k$.getListData(dM+"/"+i+"/files",n.getCurrentPage);case 5:s=t.sent,void 0===s||null===s?s=[]:0===s.length?a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"):s.forEach((function(t){t["isPlaying"]=!1})),a("setLabelContractsMedia",s),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsMediaFiles:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,r={clickedMediaType:a.getSelectedLabelContractsMediaFiles[0].type,mediaFileId:a.getSelectedLabelContractsMediaFiles[0].id},t.next=5,k$.deleteFile(dM+"/"+s,"?deleteMedia",{media:r});case 5:l=t.sent,-1===l.error?(i("fetchLabelContractsMedia"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=5;break}r=JSON.parse(JSON.stringify(i.getDefaultNewLabelContracts)),t.next=9;break;case 5:return t.next=7,k$.getDetailsById(dM,a);case 7:l=t.sent,r=void 0===l||0===l.length||1===l.error?{}:l;case 9:null!==r.licensor&&n("setLabelContractsLicensorOptions",[r.licensor]),null!==r.initialBalance&&(r.initialBalance=it.n(r.initialBalance,"number")),null===r.initialBalancePeriod&&(r.initialBalancePeriod={num:null,period:null,year:null}),n("setLabelContractsDetails",r),s("fetchLabelContractsSplits"),s("fetchLabelContractsGroupedContracts"),s("fetchLabelContractsAdvance"),s("fetchLabelContractsReserves"),"new"!==a?s("fetchLabelContractsCosts"):n("setLabelContractsCosts",[]),"new"!==a&&(s("fetchLabelContractsTracksReleases"),s("fetchLabelContractsMedia")),n("setIsLoading",!1);case 20:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelContractsLicensor:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setLabelContractsLicensorOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchLabelContractsSplits:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getLabelContractsDetails.splits;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setLabelContractsSplits",i);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsSplits:function(t){var e=t.getters,a=t.commit,i=e.getSelectedLabelContractsSplits[0],s=fM.labelContractsSplits.findIndex((function(t){return t.id===i})),r=e.getLabelContractsSplits.length;n["default"].delete(fM.labelContractsSplits,s);var l=e.getLabelContractsSplits.length;a("setSelectedLabelContractsSplits",[]),a("setSnackbar",r>l?{type:"success",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_DELETE_SHARES_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_DELETE_SHARES_NOT_SUCCESSFUL")}),a("setSelectedLabelContractsSplits",[]),0===r&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")},fetchAutocompleteLabelContractsSplitsEditingDialogInclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setLabelContractsSplitsEditingDialogIncludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelContractsSplitsEditingDialogExclude:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getRegion(a,it.locale);case 3:i=t.sent,n("setLabelContractsSplitsEditingDialogExcludeOptions",i);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchLabelContractsGroupedContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getLabelContractsDetails.groupedContracts;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setLabelContractsGroupedContracts",i);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteAllTracksReleasesFromLabelContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,n("setIsLoading",!0),s=a.getLabelContractsDetailsAlvId,r={},l=[],a.getTotalListed<=100?(a.getLabelContractsTracksReleases.forEach((function(t){l.push(t.alvId)})),r={alvIds:l}):r={searchId:a.getTracksReleasesSearchId},t.next=8,k$.deleteEntries(dM+"/"+s+"?deleteTrack",r);case 8:o=t.sent,n("setIsLoading",!1),-1===o.error?(i("saveLabelContractsForm"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setTracksReleasesSearchId",null);case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchDialogCsvLink:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getLabelContractsDetailsAlvId,t.next=5,k$.getDetailsById(dM,i,"/listTracksReleases");case 5:s=t.sent,a("setDialogSvgLink",s.path),a("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),setAllTracksReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getLabelContractsDetailsAlvId,t.next=5,k$.triggerAction(dM+"/"+i,{},{action:"connectAllTracksWithReleases"});case 5:a("setIsLoading",!1);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsTracksReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i=n.getLabelContractsTracksReleasesSearch,s={search:n.getLabelContractsTracksReleasesSearch},r=this._vm.$alvPlugin.createApiUrlFilterString(s),l=n.getLabelContractsSortingPagingOptions,o=n.getLabelContractsDetailsAlvId,t.next=9,k$.getListData2(dM+"/"+o+"/tracks",n.getLabelContractsTracksReleasesCurrentPage,l.sortBy,l.sortDesc,r);case 9:c=t.sent,void 0===c||0===c.list.length||1===c.error?(a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setLabelContractsTracksReleases",[])):(null!==i&&""!==i&&0!==c.list.length?(a("setShowTracksReleasesDeleteResultListButton",!0),a("setTracksReleasesSearchId",c.searchId)):(a("setShowTracksReleasesDeleteResultListButton",!1),a("setTracksReleasesSearchId",null)),a("setLabelContractsTracksReleases",c.list)),a("setLabelContractsTracksReleasesTotalListed",c.filteredRecords),a("setLabelContractsTracksReleasesTotalRecords",c.totalRecords),a("setLabelContractsTracksReleasesCurrentPage",c.currentPage),a("setLabelContractsTracksReleasesNumberOfPages",c.numberOfPages),a("setIsLoading",!1);case 16:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelContractsTracksReleasesTrackTitle:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("label/tracks",a);case 3:i=t.sent,n("setLabelContractsTracksReleasesTrackTitleOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),searchReleasesForContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n="search="+a.getReleasesForContractSearch,t.next=4,k$.getFilteredResults("label/releases",n);case 4:return i=t.sent,t.abrupt("return",i.list);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addReleasesToContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.dispatch,i=e.commit,s=a.getLabelContractsDetailsAlvId,r=a.getSelectedReleasesForContract,l="addReleases",o={alvIds:r},t.next=7,k$.addMultipleRowsToDataTable(dM+"/"+s,o,l);case 7:c=t.sent,-1===c.error?(i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),n("fetchLabelContractsTracksReleases")):i("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addTrackToLabelContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,r=a.getLabelContractsTracksReleasesEditingDialogDetails,t.next=5,k$.addRowToDataTable(dM+"/"+s,r,"addTrack");case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}),i("fetchLabelContractsTracksReleases")):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")});case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsTracksReleases:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,r=a.getSelectedLabelContractsTracksReleases,t.next=5,k$.deleteEntries(dM+"/"+s+"?deleteTrack",[r]);case 5:l=t.sent,-1===l.error?(i("fetchLabelContractsTracksReleases"),n("setSnackbar",{type:"success",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_TRACK_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_LABEL_RELEASES_SNACKBAR_DELETE_TRACK_NOT_SUCCESSFUL")}),n("setSelectedLabelContractsTracksReleases",[]);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsAdvance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetails.advance,n("setIsLoading",!1),void 0===s&&(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),s=[]),n("setLabelContractsAdvance",s),i("calculateLabelContractsAdvanceBalance");case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsAdvance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o,c,u,d;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,i=e.commit,s=e.dispatch,r=a.getSelectedLabelContractsAdvance,l=a.getLabelContractsAdvance,o=l.findIndex((function(t){return t.id===r.id})),c=l.length,n["default"].delete(l,o),u=l.length,t.next=9,s("calculateLabelContractsAdvanceBalance");case 9:d=a.getLabelContractsAdvance,0===d.length?(i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")}),i("setSelectedLabelContractsAdvance",[]),0===u&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")):(d[0].balance>0?(i("setSnackbar",{type:"error",msg:it.t("lang_CONTRACTS_LABEL_ADVANCE_PANEL_SNACKBAR_BALANCE_TOO_HIGH")}),l.splice(o,0,r),i("setLabelContractsAdvance",l)):i("setSnackbar",c>u?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedLabelContractsAdvance",[]),0===u&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"));case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),calculateLabelContractsAdvanceBalance:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=JSON.parse(JSON.stringify(a.getLabelContractsAdvance)),i.reverse(),i.reduce((function(t,e){return e.balance=t+e.credit,e.balance}),0),i.reverse(),n("setLabelContractsAdvance",i);case 6:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsReserves:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,n=e.commit,i=a.getLabelContractsDetails.reserves,n("setIsLoading",!1),void 0===i&&(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),i=[]),n("setLabelContractsReserves",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsReserves:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedLabelContractsReserves,r=a.getLabelContractsReserves.findIndex((function(t){return t.id===s.id})),l=a.getLabelContractsReserves.length,n["default"].delete(a.getLabelContractsReserves,r),o=a.getLabelContractsReserves.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON")}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedLabelContractsReserves",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelContractsCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,n("setIsLoading",!0),i=a.getLabelContractsDetailsAlvId,t.next=5,k$.getListData(dM+"/"+i+"/costs",a.getLabelContractsCostsCurrentPage);case 5:s=t.sent,void 0===s||0===s.list.length||1===s.error?(n("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),n("setLabelContractsCosts",[])):(n("setLabelContractsCosts",s.list),n("setLabelContractsCostsTotalRecords",s.totalRecords),n("setLabelContractsCostsTotalListed",s.filteredRecords),n("setLabelContractsCostsCurrentPage",s.currentPage),n("setLabelContractsCostsNumberOfPages",s.numberOfPages)),n("setIsLoading",!1);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContractsCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,r=a.getSelectedLabelContractsCosts,t.next=5,k$.deleteEntries(dM+"/"+s+"?deleteCost",[r.alvId]);case 5:l=t.sent,-1===l.error?(i("fetchLabelContractsCosts"),n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")})):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),n("setSelectedLabelContractsCosts",[]);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelContractsCostsRecipient:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,k$.getAutocompleteSearch("az/persons",a);case 3:i=t.sent,n("setLabelContractsCostsRecipientOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAutocompleteLabelContractsCostsAssignToRelease:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,e.getters,t.next=3,k$.getAutocompleteSearch("label/releases",a);case 3:i=t.sent,n("setLabelContractsCostsAssignToReleaseOptions",i.list);case 5:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchAssignToReleaseDropdown:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=n.getLabelContractsDetailsAlvId,t.next=4,k$.getSpecificDropdownValues(dM,i,"releases");case 4:s=t.sent,s.forEach((function(t){t["text"]=t.title+" ("+r._vm.$alvPlugin.getProductItemIdLabelReleases(t)+")"})),a("setLabelContractsCostsAssignToReleaseOptions",s);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),addLabelContractsCosts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,r=a.getLabelContractsCostsEditingDialogDetails,t.next=5,k$.addRowToDataTable(dM+"/"+s,r,"addCosts");case 5:l=t.sent,-1===l.error?n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_SUCCESSFUL")}):n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_ADDING_WAS_NOT_SUCCESSFUL")}),i("fetchLabelContractsCosts");case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveLabelContractsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getLabelContractsDetailsAlvId,a.getLabelContractsDetails.advance=a.getLabelContractsAdvance,a.getLabelContractsDetails.reserves=a.getLabelContractsReserves,a.getLabelContractsDetails.costs=a.getLabelContractsCosts,r=_.cloneDeep(a.getLabelContractsDetails),l="new"==O$.currentRoute.params.alvId,r.initialBalance=this._vm.$alvPlugin.normalizeDecimalFormat(r.initialBalance),t.next=10,k$.saveEditForm(dM,s,r,l);case 10:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=16;break}o=[],n("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),t.next=20;break;case 16:return n("setSnackbar",{type:"success",msg:it.t("lang_CONTRACTS_LABEL_SNACKBAR_CONTRACT_SAVED")}),l&&O$.push({name:"LabelContractsEdit",params:{alvId:o.response.alvId}}),t.next=20,i("fetchLabelContractsDetails",o.response.alvId);case 20:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),doLabelContractsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,n=e.dispatch,i=e.getters,s=i.getSelectedLabelContracts,!(s.length>0)){t.next=14;break}t.t0=i.getSelectedLabelContractsAction,t.next="delete"===t.t0?6:"copyWithTracks"===t.t0||"copyWithoutTracks"===t.t0?8:"move"===t.t0?10:12;break;case 6:return a("setShowDeletionDialog",!0),t.abrupt("break",12);case 8:return 1===s.length?n("copyLabelContract"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",12);case 10:return a("setShowMoveContractsDialog",!0),t.abrupt("break",12);case 12:t.next=16;break;case 14:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 16:"groupContracts"===i.getSelectedLabelContractsAction?s.length<2?(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_MORE_THAN_ONE"),a("setShowSelectionRequiredDialog",!0)):n("groupLabelContracts"):"ungroupContracts"===i.getSelectedLabelContractsAction&&(0===s.length?(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0)):n("ungroupLabelContracts"));case 17:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedLabelContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,i=e.commit,s=e.dispatch,t.next=3,k$.deleteEntries(dM,a.getSelectedLabelContracts);case 3:if(r=t.sent,-1===r.error)for(l=function(t){var e=a.getLabelContracts.findIndex((function(e){return e.alvId==a.getSelectedLabelContracts[t]}));n["default"].delete(a.getLabelContracts,e)},o=0;o<a.getSelectedLabelContracts.length;o++)l(o);i("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),i("setSelectedLabelContracts",[]),i("setSelectedLabelContractsAction",[]),s("fetchLabelContracts");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),moveSelectedLabelContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={alvIds:a.getSelectedLabelContracts,company:a.getLabelContractsDetailsSelectedCompany},r={action:"move"},t.next=5,k$.triggerAction(dM,s,r);case 5:l=t.sent,-1===l.error&&n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_MOVED")}),n("setSelectedLabelContracts",[]),n("setIsAllSelectedLabelContracts",!1),n("setSelectedLabelContractsAction",[]),i("fetchLabelContracts");case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyLabelContract:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getSelectedLabelContractsAction,r={action:s},l={alvIds:a.getSelectedLabelContracts},t.next=6,k$.triggerAction(dM,l,r);case 6:o=t.sent,-1===o.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchLabelContracts")):(c=o.response.errorMsg,void 0!==c&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(c)?it.t(c):c}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),groupLabelContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getSelectedLabelContracts,s={action:"groupContracts"},r={alvIds:i},t.next=6,k$.triggerAction(dM,r,s);case 6:l=t.sent,-1===l.error?n("setSnackbar",{type:"success",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_CONTRACT_SAVED")}):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),ungroupLabelContracts:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getSelectedLabelContracts,s={action:"ungroupContracts"},r={alvIds:i},t.next=6,k$.triggerAction(dM,r,s);case 6:l=t.sent,-1===l.error?n("setSnackbar",{type:"success",msg:it.t("lang_CONTRACTS_PUBLISHING_SNACKBAR_CONTRACT_SAVED")}):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},CM={state:fM,getters:SM,actions:IM,mutations:EM},AM="account/credentials",TM={id:0,alvId:"ALV000000000UC",firstName:null,lastName:null,username:null,password:null,apikey:null,email:null,interests:null,role:null,credentialsType:null,host:null,port:null,ftpDirSend:null,ftpDirFetch:null},bM={credentials:[],credentialsEmptyRow:{id:0,alvId:null,firstName:"",lastName:"",username:"",password:"",apikey:"",interests:"",email:"",credentialsType:"",host:null,port:null,ftpDirSend:null,ftpDirFetch:null,editable:!0},credentialsNewRow:!1,credentialsShowRoleDropdown:!1,disableCredentialsNewRowSaveBtn:!1,defaultCredentials:TM,credentialsEditingDialogDetails:TM,selectedCredentials:[],selectedCredentialsUser:null,adminInformationChanged:!1,showPaymentMessage:!1,showGemaSoundfileExistsMessage:!1},PM={getCredentials:function(t){return t.credentials},getDisableCredentialsNewRowSaveBtn:function(t){return t.disableCredentialsNewRowSaveBtn},getCredentialsNewRow:function(t){return t.credentialsNewRow},getCredentialsShowRoleDropdown:function(t){return t.credentialsShowRoleDropdown},getCredentialsEmptyRow:function(t){return t.credentialsEmptyRow},getSelectedCredentials:function(t){return t.selectedCredentials},getSelectedCredentialsUser:function(t){return t.selectedCredentialsUser},getDefaultCredentials:function(t){return t.defaultCredentials},getCredentialsEditingDialogDetails:function(t){return t.credentialsEditingDialogDetails},getCredentialsDetailsUsername:function(t){return t.credentialsEditingDialogDetails.username},getCredentialsDetailsFirstName:function(t){return t.credentialsEditingDialogDetails.firstName},getCredentialsDetailsLastName:function(t){return t.credentialsEditingDialogDetails.lastName},getCredentialsDetailsPassword:function(t){return t.credentialsEditingDialogDetails.password},getCredentialsDetailsRole:function(t){return t.credentialsEditingDialogDetails.role},getCredentialsDetailsApiKey:function(t){return t.credentialsEditingDialogDetails.apikey},getCredentialsDetailsInterests:function(){return bM.credentialsEditingDialogDetails.interests},getCredentialsDetailsEmail:function(t){return t.credentialsEditingDialogDetails.email},getCredentialsDetailsCredentialsType:function(t){return t.credentialsEditingDialogDetails.credentialsType},getCredentialsDetailsAlvId:function(t){return t.credentialsEditingDialogDetails.alvId},getAdminInformationChanged:function(t){return t.adminInformationChanged},getShowPaymentMessage:function(t){return t.showPaymentMessage},getShowGemaSoundfileExistsMessage:function(t){return t.showGemaSoundfileExistsMessage}},DM={setCredentials:function(t,e){t.credentials=e},setCredentialsNewRow:function(t,e){t.credentialsNewRow=e},setDisableCredentialsNewRowSaveBtn:function(t,e){t.disableCredentialsNewRowSaveBtn=e},setShowPaymentMessage:function(t,e){t.showPaymentMessage=e},setShowGemaSoundfileExistsMessage:function(t,e){t.showGemaSoundfileExistsMessage=e},setCredentialsShowRoleDropdown:function(t,e){t.credentialsShowRoleDropdown=e},setDefaultCredentials:function(t){t.defaultCredentials=TM},setCredentialsEditingDialogDetails:function(t,e){t.credentialsEditingDialogDetails=e},setCredentialsDetailsUsername:function(t,e){t.credentialsEditingDialogDetails.username=e},setCredentialsDetailsFirstName:function(t,e){t.credentialsEditingDialogDetails.firstName=e},setCredentialsDetailsLastName:function(t,e){t.credentialsEditingDialogDetails.lastName=e},setCredentialsDetailsPassword:function(t,e){t.credentialsEditingDialogDetails.password=e},setCredentialsDetailsRole:function(t,e){t.credentialsEditingDialogDetails.role=e},setCredentialsDetailsApiKey:function(t,e){t.credentialsEditingDialogDetails.apikey=e},setCredentialsDetailsInterests:function(t,e){t.credentialsEditingDialogDetails.interests=e},setCredentialsDetailsEmail:function(t,e){t.credentialsEditingDialogDetails.email=e},setCredentialsDetailsCredentialsType:function(t,e){t.credentialsEditingDialogDetails.credentialsType=e},setCredentialsDetailsAlvId:function(t,e){t.credentialsEditingDialogDetails.alvId=e},setAdminInformationChanged:function(t,e){t.adminInformationChanged=e},setShowAutoLogoutConfirmationDialog:function(t,e){t.showAutoLogoutConfirmationDialog=e},setCredentialTempRow:function(t,e){var a=t.credentials.findIndex((function(t){return t.id==e.id})),n=JSON.parse(JSON.stringify(e));t.credentials[a]["oldValues"]=n},deleteCredentialTempRow:function(t,e){var a=t.credentials.findIndex((function(t){return t.id==e.id}));delete t.credentials[a]["oldValues"]},replaceNewValuesWithOld:function(t,e){var a=t.credentials.findIndex((function(t){return t.id==e.id})),i=JSON.parse(JSON.stringify(t.credentials[a]["oldValues"]));n["default"].set(t.credentials,a,i)},deleteRow:function(t,e){var a=t.credentials.findIndex((function(t){return t.id==e.id}));n["default"].delete(t.credentials,a)},setSelectedCredentials:function(t,e){t.selectedCredentials=e},setSelectedCredentialsUser:function(t,e){t.selectedCredentialsUser=e}},NM={fetchCredentials:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,t.next=3,k$.getListData(AM);case 3:n=t.sent,i=n,i.forEach((function(t,e){t["passwordHidden"]="•".repeat(t.password.length),t["editable"]=!1})),a("setCredentials",i),this._vm.$alvPlugin.storePagingInformations(n.filteredRecords,n.currentPage,n.totalRecords),a("setIsLoading",!1);case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),addNewRowCredentials:function(t){var e=t.commit,a=t.getters,n=a.getCredentials,i=JSON.parse(JSON.stringify(a.getCredentialsEmptyRow));i.id=-(1e3+Math.floor(123*Math.random())),n.unshift(i),e("setCredentials",n)},saveCredentialsRow:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s={username:n.getCredentialsDetailsUsername,firstName:n.getCredentialsDetailsFirstName,lastName:n.getCredentialsDetailsLastName,password:n.getCredentialsDetailsPassword,role:n.getCredentialsDetailsRole,apikey:n.getCredentialsDetailsApiKey,interests:n.getCredentialsDetailsInterests,email:n.getCredentialsDetailsEmail,credentialsType:n.getCredentialsDetailsCredentialsType,alvId:n.getCredentialsDetailsAlvId},r=!0,l=n.getCredentialsDetailsAlvId,r=0===n.getSelectedCredentials.length,t.next=7,k$.saveEditForm(AM,l,s,r,"");case 7:if(o=t.sent,void 0!==o&&0!==o.length&&1!==o.error){t.next=13;break}o=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),t.next=22;break;case 13:if(a("setSnackbar",{type:"success",msg:it.t("lang_ACCOUNT_CREDENTIALS_SNACKBAR_CREDENTIAL_SAVED")}),!0!==n.getAdminInformationChanged){t.next=20;break}localStorage.clear(),O$.go(),O$.push("/login"),t.next=22;break;case 20:return t.next=22,i("fetchCredentials");case 22:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),deleteAccountCredentials:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getSelectedCredentials,t.next=4,k$.deleteEntries(AM,[s]);case 4:if(r=t.sent,void 0!==r&&0!==r.length&&1!==r.error){t.next=10;break}r=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),t.next=15;break;case 10:return a("setSnackbar",{type:"success",msg:it.t("lang_ACCOUNT_CREDENTIALS_SNACKBAR_CREDENTIAL_DELETED")}),a("setSelectedCredentials",[]),a("setSelectedCredentialsUser",null),t.next=15,i("fetchCredentials");case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),checkCredentialsConnectionStatus:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,e.dispatch,a.id,t.next=4,k$.getCredentialsConnectionStatus(AM,a.id);case 4:i=t.sent,void 0===i||0===i.length||1===i.error?(i=[],n("setSnackbar",{type:"error",msg:it.t("lang_ACCOUNT_CREDENTIALS_SNACKBAR_CONNECTION_FAILED")})):n("setSnackbar",{type:"success",msg:it.t("lang_ACCOUNT_CREDENTIALS_SNACKBAR_CONNECTION_SUCCESSFUL")});case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),checkSynchronizeContactsStatus:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,e.dispatch,a.id,t.next=4,k$.synchronizeContacts(AM,a.id);case 4:if(i=t.sent,void 0!==i&&0!==i.length&&1!==i.error){t.next=10;break}i=[],n("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_CAPTION_SYNC_FAILED")}),t.next=12;break;case 10:return n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_CAPTION_SYNC_SUCCESSFUL")}),t.abrupt("return",i.path);case 12:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()},RM={state:bM,getters:PM,actions:NM,mutations:DM},xM="account/companies",OM={id:0,alvId:"ALV000000000AC",publishingCompanies:[],labelCompanies:[],companyName:null,salutation1:null,firstname:null,lastname:null,addressRow1:null,addressRow2:null,zip:null,city:null,state:null,country:null,customerNumber:null,salutation2:null,formOfAddress:null,accountHolder:null,iban:null,bic:null,email:null,cellphone:null,phone:null,alvCode:null,alvPackage:null,vatPercent:null,sepaMandate:null,sepaMandateDate:null,role:null,language:null,numberFormat:null,currency:null,homeSocietyCode:null,storageUsed:null,storageAvailable:null},wM={id:0,companyName:null,companyAsAzEntry:null,companyAsAzList:[],addressRow1:null,addressRow2:null,zip:null,city:null,state:null,country:null,email:null,statementText:null,senderRow:null,ykto:null,hkto:null,ukto:null,ipi:null,footerLeft:null,invoicesNumberRange:null,shippingNumberRange:null,creditNumberRange:null,statementNumberRange:null,cwrSubmitterCode:null,footerMiddle:null,invoicesNextValue:null,shippingNextValue:null,creditNextValue:null,statementNextValue:null,vatId:null,footerRight:null},LM={id:0,companyName:null,addressRow1:null,addressRow2:null,zip:null,city:null,state:null,country:null,statementText:null,senderRow:null,gemaTasAudio:null,gemaTasVideo:null,gemaLicenseeNumber:null,footerLeft:null,invoicesNumberRange:null,shippingNumberRange:null,creditNumberRange:null,statementNumberRange:null,footerMiddle:null,invoicesNextValue:null,shippingNextValue:null,creditNextValue:null,statementNextValue:null,footerRight:null,vatId:null,customsId:null},yM={defaultNewAccount:OM,accountDetails:{},accountUniqueId:"",accountCompaniesLabelCompanies:{},accountCompaniesPublishingCompanies:{},accountPublishingCompanies:[],selectedAccountPublishingCompanies:[],defaultAccountPublishingCompanies:wM,accountPublishingCompaniesEditingDialogDetails:wM,showAccountPublishingCompaniesEditingDialog:!1,showPayableConfirmationDialog:!1,payableConfirmationDialogContext:"",addNewPublishingCompany:!1,accountLabelCompanies:[],selectedAccountLabelCompanies:[],defaultAccountLabelCompanies:LM,accountLabelCompaniesEditingDialogDetails:LM,showAccountLabelCompaniesEditingDialog:!1,addNewLabelCompany:!1,accountInvoices:[]},qM={getAccountUniqueId:function(t){return t.accountUniqueId},getAccountDetails:function(t){return t.accountDetails},getAccountDetailsAlvId:function(t){return t.accountDetails.alvId},getAccountDetailsCompanyName:function(t){return t.accountDetails.companyName},getAccountDetailsSalutation1:function(t){return t.accountDetails.salutation1},getAccountDetailsFirstname:function(t){return t.accountDetails.firstname},getAccountDetailsLastname:function(t){return t.accountDetails.lastname},getAccountDetailsAddressRow1:function(t){return t.accountDetails.addressRow1},getAccountDetailsAddressRow2:function(t){return t.accountDetails.addressRow2},getAccountDetailsZip:function(t){return t.accountDetails.zip},getAccountDetailsCity:function(t){return t.accountDetails.city},getAccountDetailsState:function(t){return t.accountDetails.state},getAccountDetailsCountry:function(t){return t.accountDetails.country},getAccountDetailsCustomerNumber:function(t){return t.accountDetails.customerNumber},getAccountDetailsSalutation2:function(t){return t.accountDetails.salutation2},getAccountDetailsFormalSalutation:function(t){return t.accountDetails.formalSalutation},getAccountDetailsAccountHolder:function(t){return t.accountDetails.accountHolder},getAccountDetailsIban:function(t){return t.accountDetails.iban},getAccountDetailsBic:function(t){return t.accountDetails.bic},getAccountDetailsEmail:function(t){return t.accountDetails.email},getAccountDetailsCellphone:function(t){return t.accountDetails.cellphone},getAccountDetailsPhone:function(t){return t.accountDetails.phone},getAccountDetailsAlvCode:function(t){return t.accountDetails.alvCode},getAccountDetailsAlvPackage:function(t){return t.accountDetails.alvPackage},getAccountDetailsVatPercent:function(t){return t.accountDetails.vatPercent},getAccountDetailsSepaMandate:function(t){return t.accountDetails.sepaMandate},getAccountDetailsSepaMandateDate:function(t){return t.accountDetails.sepaMandateDate},getAccountDetailsLanguage:function(t){return t.accountDetails.language},getAccountDetailsNumberFormat:function(t){return t.accountDetails.numberFormat},getAccountDetailsCurrency:function(t){return t.accountDetails.currency},getAccountDetailsHomeSocietyCode:function(t){return t.accountDetails.homeSocietyCode},getAccountDetailsStorageUsed:function(t){return t.accountDetails.storageUsed},getAccountDetailsStorageAvailable:function(t){return t.accountDetails.storageAvailable},getAccountPublishingCompanies:function(t){return t.accountPublishingCompanies},getSelectedAccountPublishingCompanies:function(t){return t.selectedAccountPublishingCompanies},getShowAccountPublishingCompaniesEditingDialog:function(t){return t.showAccountPublishingCompaniesEditingDialog},getShowPayableConfirmationDialog:function(t){return t.showPayableConfirmationDialog},getPayableConfirmationDialogContext:function(t){return t.payableConfirmationDialogContext},getDefaultAccountPublishingCompanies:function(t){return t.defaultAccountPublishingCompanies},getAccountPublishingCompaniesEditingDialogDetails:function(t){return t.accountPublishingCompaniesEditingDialogDetails},getAddNewPublishingCompany:function(t){return t.addNewPublishingCompany},getAccountPublishingCompaniesDetailsCompanyName:function(t){return t.accountPublishingCompaniesEditingDialogDetails.companyName},getAccountPublishingCompaniesDetailsCompanyAsAzEntry:function(t){return t.accountPublishingCompaniesEditingDialogDetails.companyAsAzEntry},getAccountPublishingCompaniesDetailsCompanyAsAzList:function(t){return t.accountPublishingCompaniesEditingDialogDetails.companyAsAzList},getAccountPublishingCompaniesDetailsAddressRow1:function(t){return t.accountPublishingCompaniesEditingDialogDetails.addressRow1},getAccountPublishingCompaniesDetailsAddressRow2:function(t){return t.accountPublishingCompaniesEditingDialogDetails.addressRow2},getAccountPublishingCompaniesDetailsZip:function(t){return t.accountPublishingCompaniesEditingDialogDetails.zip},getAccountPublishingCompaniesDetailsCity:function(t){return t.accountPublishingCompaniesEditingDialogDetails.city},getAccountPublishingCompaniesDetailsState:function(t){return t.accountPublishingCompaniesEditingDialogDetails.state},getAccountPublishingCompaniesDetailsCountry:function(t){return t.accountPublishingCompaniesEditingDialogDetails.country},getAccountPublishingCompaniesDetailsEmail:function(t){return t.accountPublishingCompaniesEditingDialogDetails.email},getAccountPublishingCompaniesDetailsStatementText:function(t){return t.accountPublishingCompaniesEditingDialogDetails.statementText},getAccountPublishingCompaniesDetailsSenderRow:function(t){return t.accountPublishingCompaniesEditingDialogDetails.senderRow},getAccountPublishingCompaniesDetailsYkto:function(t){return t.accountPublishingCompaniesEditingDialogDetails.ykto},getAccountPublishingCompaniesDetailsHkto:function(t){return t.accountPublishingCompaniesEditingDialogDetails.hkto},getAccountPublishingCompaniesDetailsUkto:function(t){return t.accountPublishingCompaniesEditingDialogDetails.ukto},getAccountPublishingCompaniesDetailsIpi:function(t){return t.accountPublishingCompaniesEditingDialogDetails.ipi},getAccountPublishingCompaniesDetailsFooterLeft:function(t){return t.accountPublishingCompaniesEditingDialogDetails.footerLeft},getAccountPublishingCompaniesDetailsInvoicesNumberRange:function(t){return t.accountPublishingCompaniesEditingDialogDetails.invoicesNumberRange},getAccountPublishingCompaniesDetailsShippingNumberRange:function(t){return t.accountPublishingCompaniesEditingDialogDetails.shippingNumberRange},getAccountPublishingCompaniesDetailsCreditNumberRange:function(t){return t.accountPublishingCompaniesEditingDialogDetails.creditNumberRange},getAccountPublishingCompaniesDetailsStatementNumberRange:function(t){return t.accountPublishingCompaniesEditingDialogDetails.statementNumberRange},getAccountPublishingCompaniesDetailsCwrSubmitterCode:function(t){return t.accountPublishingCompaniesEditingDialogDetails.cwrSubmitterCode},getAccountPublishingCompaniesDetailsFooterMiddle:function(t){return t.accountPublishingCompaniesEditingDialogDetails.footerMiddle},getAccountPublishingCompaniesDetailsInvoicesNextValue:function(t){return t.accountPublishingCompaniesEditingDialogDetails.invoicesNextValue},getAccountPublishingCompaniesDetailsShippingNextValue:function(t){return t.accountPublishingCompaniesEditingDialogDetails.shippingNextValue},getAccountPublishingCompaniesDetailsCreditNextValue:function(t){return t.accountPublishingCompaniesEditingDialogDetails.creditNextValue},getAccountPublishingCompaniesDetailsStatementNextValue:function(t){return t.accountPublishingCompaniesEditingDialogDetails.statementNextValue},getAccountPublishingCompaniesDetailsVatId:function(t){return t.accountPublishingCompaniesEditingDialogDetails.vatId},getAccountPublishingCompaniesDetailsFooterRight:function(t){return t.accountPublishingCompaniesEditingDialogDetails.footerRight},getAccountLabelCompanies:function(t){return t.accountLabelCompanies},getSelectedAccountLabelCompanies:function(t){return t.selectedAccountLabelCompanies},getAccountLabelCompaniesCompanyName:function(t){return t.accountLabelCompanies.companyName},getShowAccountLabelCompaniesEditingDialog:function(t){return t.showAccountLabelCompaniesEditingDialog},getDefaultAccountLabelCompanies:function(t){return t.defaultAccountLabelCompanies},getAccountLabelCompaniesEditingDialogDetails:function(t){return t.accountLabelCompaniesEditingDialogDetails},getAddNewLabelCompany:function(t){return t.addNewLabelCompany},getAccountLabelCompaniesDetailsCompanyName:function(t){return t.accountLabelCompaniesEditingDialogDetails.companyName},getAccountLabelCompaniesDetailsAddressRow1:function(t){return t.accountLabelCompaniesEditingDialogDetails.addressRow1},getAccountLabelCompaniesDetailsAddressRow2:function(t){return t.accountLabelCompaniesEditingDialogDetails.addressRow2},getAccountLabelCompaniesDetailsZip:function(t){return t.accountLabelCompaniesEditingDialogDetails.zip},getAccountLabelCompaniesDetailsCity:function(t){return t.accountLabelCompaniesEditingDialogDetails.city},getAccountLabelCompaniesDetailsState:function(t){return t.accountLabelCompaniesEditingDialogDetails.state},getAccountLabelCompaniesDetailsCountry:function(t){return t.accountLabelCompaniesEditingDialogDetails.country},getAccountLabelCompaniesDetailsStatementText:function(t){return t.accountLabelCompaniesEditingDialogDetails.statementText},getAccountLabelCompaniesDetailsSenderRow:function(t){return t.accountLabelCompaniesEditingDialogDetails.senderRow},getAccountLabelCompaniesDetailsGemaTasAudio:function(t){return t.accountLabelCompaniesEditingDialogDetails.gemaTasAudio},getAccountLabelCompaniesDetailsGemaTasVideo:function(t){return t.accountLabelCompaniesEditingDialogDetails.gemaTasVideo},getAccountLabelCompaniesDetailsGemaLicenseeNumber:function(t){return t.accountLabelCompaniesEditingDialogDetails.gemaLicenseeNumber},getAccountLabelCompaniesDetailsFooterLeft:function(t){return t.accountLabelCompaniesEditingDialogDetails.footerLeft},getAccountLabelCompaniesDetailsInvoicesNumberRange:function(t){return t.accountLabelCompaniesEditingDialogDetails.invoicesNumberRange},getAccountLabelCompaniesDetailsShippingNumberRange:function(t){return t.accountLabelCompaniesEditingDialogDetails.shippingNumberRange},getAccountLabelCompaniesDetailsCreditNumberRange:function(t){return t.accountLabelCompaniesEditingDialogDetails.creditNumberRange},getAccountLabelCompaniesDetailsStatementNumberRange:function(t){return t.accountLabelCompaniesEditingDialogDetails.statementNumberRange},getAccountLabelCompaniesDetailsFooterMiddle:function(t){return t.accountLabelCompaniesEditingDialogDetails.footerMiddle},getAccountLabelCompaniesDetailsInvoicesNextValue:function(t){return t.accountLabelCompaniesEditingDialogDetails.invoicesNextValue},getAccountLabelCompaniesDetailsShippingNextValue:function(t){return t.accountLabelCompaniesEditingDialogDetails.shippingNextValue},getAccountLabelCompaniesDetailsCreditNextValue:function(t){return t.accountLabelCompaniesEditingDialogDetails.creditNextValue},getAccountLabelCompaniesDetailsStatementNextValue:function(t){return t.accountLabelCompaniesEditingDialogDetails.statementNextValue},getAccountLabelCompaniesDetailsFooterRight:function(t){return t.accountLabelCompaniesEditingDialogDetails.footerRight},getAccountLabelCompaniesDetailsVatId:function(t){return t.accountLabelCompaniesEditingDialogDetails.vatId},getAccountLabelCompaniesDetailsCustomsId:function(t){return t.accountLabelCompaniesEditingDialogDetails.customsId},getAccountInvoices:function(t){return t.accountInvoices},getAccountPublishingCompaniesImageUrl:function(t){return t.selectedAccountPublishingCompanies.logo},getAccountLabelCompaniesImageUrl:function(t){return t.selectedAccountLabelCompanies.logo}},kM=(uM={setAccountUniqueId:function(t,e){t.accountUniqueId=e},setAccountDetails:function(t,e){t.accountDetails=e},setAccountDetailsCompanyName:function(t,e){t.accountDetails.companyName=e},setAccountDetailsAlvId:function(t,e){t.accountDetails.alvId=e}},Object(c["a"])(uM,"setAccountDetailsCompanyName",(function(t,e){t.accountDetails.companyName=e})),Object(c["a"])(uM,"setAccountDetailsSalutation1",(function(t,e){t.accountDetails.salutation1=e})),Object(c["a"])(uM,"setAccountDetailsFirstname",(function(t,e){t.accountDetails.firstname=e})),Object(c["a"])(uM,"setAccountDetailsLastname",(function(t,e){t.accountDetails.lastname=e})),Object(c["a"])(uM,"setAccountDetailsAddressRow1",(function(t,e){t.accountDetails.addressRow1=e})),Object(c["a"])(uM,"setAccountDetailsAddressRow2",(function(t,e){t.accountDetails.addressRow2=e})),Object(c["a"])(uM,"setAccountDetailsZip",(function(t,e){t.accountDetails.zip=e})),Object(c["a"])(uM,"setAccountDetailsCity",(function(t,e){t.accountDetails.city=e})),Object(c["a"])(uM,"setAccountDetailsState",(function(t,e){t.accountDetails.state=e})),Object(c["a"])(uM,"setAccountDetailsCountry",(function(t,e){t.accountDetails.country=e})),Object(c["a"])(uM,"setAccountDetailsCustomerNumber",(function(t,e){t.accountDetails.customerNumber=e})),Object(c["a"])(uM,"setAccountDetailsSalutation2",(function(t,e){t.accountDetails.salutation2=e})),Object(c["a"])(uM,"setAccountDetailsFormalSalutation",(function(t,e){t.accountDetails.formalSalutation=e})),Object(c["a"])(uM,"setAccountDetailsAccountHolder",(function(t,e){t.accountDetails.accountHolder=e})),Object(c["a"])(uM,"setAccountDetailsIban",(function(t,e){t.accountDetails.iban=e})),Object(c["a"])(uM,"setAccountDetailsBic",(function(t,e){t.accountDetails.bic=e})),Object(c["a"])(uM,"setAccountDetailsEmail",(function(t,e){t.accountDetails.email=e})),Object(c["a"])(uM,"setAccountDetailsCellphone",(function(t,e){t.accountDetails.cellphone=e})),Object(c["a"])(uM,"setAccountDetailsPhone",(function(t,e){t.accountDetails.phone=e})),Object(c["a"])(uM,"setAccountDetailsAlvCode",(function(t,e){t.accountDetails.alvCode=e})),Object(c["a"])(uM,"setAccountDetailsAlvPackage",(function(t,e){t.accountDetails.alvPackage=e})),Object(c["a"])(uM,"setAccountDetailsVatPercent",(function(t,e){t.accountDetails.vatPercent=e})),Object(c["a"])(uM,"setAccountDetailsSepaMandate",(function(t,e){t.accountDetails.sepaMandate=e})),Object(c["a"])(uM,"setAccountDetailsSepaMandateDate",(function(t,e){t.accountDetails.sepaMandateDate=e})),Object(c["a"])(uM,"setAccountDetailsLanguage",(function(t,e){t.accountDetails.language=e})),Object(c["a"])(uM,"setAccountDetailsNumberFormat",(function(t,e){t.accountDetails.numberFormat=e})),Object(c["a"])(uM,"setAccountDetailsCurrency",(function(t,e){t.accountDetails.currency=e})),Object(c["a"])(uM,"setAccountDetailsHomeSocietyCode",(function(t,e){t.accountDetails.homeSocietyCode=e})),Object(c["a"])(uM,"setAccountDetailsStorageUsed",(function(t,e){t.accountDetails.storageUsed=e})),Object(c["a"])(uM,"setAccountDetailsStorageAvailable",(function(t,e){t.accountDetails.storageAvailable=e})),Object(c["a"])(uM,"setAccountPublishingCompanies",(function(t,e){t.accountPublishingCompanies=e})),Object(c["a"])(uM,"setSelectedAccountPublishingCompanies",(function(t,e){t.selectedAccountPublishingCompanies=e})),Object(c["a"])(uM,"setShowAccountPublishingCompaniesEditingDialog",(function(t,e){t.showAccountPublishingCompaniesEditingDialog=e})),Object(c["a"])(uM,"setShowPayableConfirmationDialog",(function(t,e){t.showPayableConfirmationDialog=e})),Object(c["a"])(uM,"setPayableConfirmationDialogContext",(function(t,e){t.payableConfirmationDialogContext=e})),Object(c["a"])(uM,"setDefaultAccountPublishingCompanies",(function(t){t.defaultAccountPublishingCompanies=wM})),Object(c["a"])(uM,"setAccountPublishingCompaniesEditingDialogDetails",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails=e})),Object(c["a"])(uM,"setAddNewPublishingCompany",(function(t,e){t.addNewPublishingCompany=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCompanyName",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.companyName=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCompanyAsAzEntry",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.companyAsAzEntry=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCompanyAsAzList",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.companyAsAzList=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsAddressRow1",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.addressRow1=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsAddressRow2",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.addressRow2=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsZip",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.zip=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCity",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.city=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsState",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.state=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCountry",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.country=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsEmail",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.email=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsStatementText",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.statementText=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsSenderRow",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.senderRow=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsYkto",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.ykto=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsHkto",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.hkto=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsUkto",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.ukto=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsIpi",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.ipi=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsFooterLeft",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.footerLeft=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsInvoicesNumberRange",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.invoicesNumberRange=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsShippingNumberRange",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.shippingNumberRange=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCreditNumberRange",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.creditNumberRange=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsStatementNumberRange",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.statementNumberRange=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCwrSubmitterCode",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.cwrSubmitterCode=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsFooterMiddle",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.footerMiddle=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsInvoicesNextValue",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.invoicesNextValue=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsShippingNextValue",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.shippingNextValue=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsCreditNextValue",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.creditNextValue=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsStatementNextValue",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.statementNextValue=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsVatId",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.vatId=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesDetailsFooterRight",(function(t,e){t.accountPublishingCompaniesEditingDialogDetails.footerRight=e})),Object(c["a"])(uM,"setAccountLabelCompanies",(function(t,e){t.accountLabelCompanies=e=e})),Object(c["a"])(uM,"setSelectedAccountLabelCompanies",(function(t,e){t.selectedAccountLabelCompanies=e})),Object(c["a"])(uM,"setAccountLabelCompaniesCompanyName",(function(t,e){t.accountLabelCompanies.companyName=e})),Object(c["a"])(uM,"setShowAccountLabelCompaniesEditingDialog",(function(t,e){t.showAccountLabelCompaniesEditingDialog=e})),Object(c["a"])(uM,"setDefaultAccountLabelCompanies",(function(t){t.defaultAccountLabelCompanies=LM})),Object(c["a"])(uM,"setAccountLabelCompaniesEditingDialogDetails",(function(t,e){t.accountLabelCompaniesEditingDialogDetails=e})),Object(c["a"])(uM,"setAddNewLabelCompany",(function(t,e){t.addNewLabelCompany=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCompanyName",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.companyName=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsAddressRow1",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.addressRow1=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsAddressRow2",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.addressRow2=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsZip",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.zip=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCity",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.city=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsState",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.state=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCountry",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.country=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsStatementText",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.statementText=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsSenderRow",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.senderRow=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsGemaTasAudio",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.gemaTasAudio=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsGemaTasVideo",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.gemaTasVideo=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsGemaLicenseeNumber",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.gemaLicenseeNumber=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsFooterLeft",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.footerLeft=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsInvoicesNumberRange",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.invoicesNumberRange=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsShippingNumberRange",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.shippingNumberRange=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCreditNumberRange",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.creditNumberRange=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsStatementNumberRange",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.statementNumberRange=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsFooterMiddle",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.footerMiddle=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsInvoicesNextValue",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.invoicesNextValue=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsShippingNextValue",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.shippingNextValue=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCreditNextValue",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.creditNextValue=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsStatementNextValue",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.statementNextValue=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsFooterRight",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.footerRight=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsVatId",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.vatId=e})),Object(c["a"])(uM,"setAccountLabelCompaniesDetailsCustomsId",(function(t,e){t.accountLabelCompaniesEditingDialogDetails.customsId=e})),Object(c["a"])(uM,"setAccountInvoices",(function(t,e){t.accountInvoices=e})),Object(c["a"])(uM,"setAccountPublishingCompaniesImageUrl",(function(t,e){t.selectedAccountPublishingCompanies.logo=e})),Object(c["a"])(uM,"setAccountLabelCompaniesImageUrl",(function(t,e){t.selectedAccountLabelCompanies.logo=e})),uM),BM={fetchAccountDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,r=n.getUserCustomerNumber,t.next=4,k$.getDetailsById(xM,r);case 4:l=t.sent,s=void 0===l||0===l.length||1===l.error?{}:l,o=JSON.parse(localStorage.getItem("userData")),c=o.user.homeSocietyCode,u=l.homeSocietyCode.toString(),a("setAccountDetails",s),i("fetchAccountPublishingCompanies"),i("fetchAccountLabelCompanies"),c!==u&&i("changeHomeSocietyInLocalStorage"),a("setIsLoading",!1);case 14:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAccountPublishingCompanies:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getAccountDetails.publishingCompanies;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAccountPublishingCompanies",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAccountLabelCompanies:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getAccountDetails.labelCompanies;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setAccountLabelCompanies",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzEntries:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getAccountPublishingCompaniesDetailsCompanyAsAzList;case 3:i=t.sent,a("setcompanyAsAzList",i);case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAccountInvoices:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getUserCustomerNumber;case 3:return i=t.sent,t.next=6,k$.getAccountInvoices(i);case 6:s=t.sent,a("setAccountInvoices",s.list);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveAccountForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o,c,u,d,g;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,s=n.getAccountDetailsAlvId,r=n.getAccountDetails,t.next=5,k$.saveEditForm(xM,s,r);case 5:if(l=t.sent,void 0!==l&&0!==l.length&&1!==l.error){t.next=11;break}l=[],a("setSnackbar",{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_NOT_SUCCESSFUL")}),t.next=27;break;case 11:return a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_SAVING_SUCCESSFUL")}),t.next=14,i("fetchAccountDetails",l.response.alvId);case 14:o=n.getAccountPublishingCompanies,c=[],o.forEach((function(t){c.push({alvId:t.alvId,cwr:t.cwrSubmitterCode,id:t.id,name:t.companyName})})),u=n.getAccountLabelCompanies,d=[],u.forEach((function(t){d.push({alvId:t.alvId,labels:[],id:t.id,name:t.companyName})})),g=JSON.parse(localStorage.getItem("userData")),g.publishingCompanies=c,g.labelCompanies=d,g.user.companyCountry=n.getAccountDetailsCountry,localStorage.setItem("userData",JSON.stringify(g)),a("setPublishingCompanies"),a("setLabelCompanies");case 27:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),changeHomeSocietyInLocalStorage:function(t){var e=t.getters,a=JSON.parse(localStorage.getItem("userData")),n=a.user.homeSocietyCode,i=e.getAccountDetailsHomeSocietyCode;if(n!==i){var s=a.societies,r=s.find((function(t){return t.value===i})).text;a.user.homeSocietyCode=i.toString(),a.user.homeSociety=r,localStorage.setItem("userData",JSON.stringify(a))}}},$M={state:yM,getters:qM,actions:BM,mutations:kM},GM=a("6ee6"),FM="account/settings",UM={publishingSettings:{},labelSettings:{},showUploadDialog:!1},MM={getPublishingSettings:function(t){return t.publishingSettings},getLabelSettings:function(t){return t.labelSettings},getShowUploadDialog:function(t){return t.showUploadDialog}},WM={setPublishingSettings:function(t,e){t.publishingSettings=e},setLabelSettings:function(t,e){t.labelSettings=e},setShowUploadDialog:function(t,e){t.showUploadDialog=e}},jM={fetchPublishingSettings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),t.next=4,k$.getDetailsById(FM,n.getSelectedOverAllCompany.alvId);case 4:i=t.sent,a("setIsLoading",!1),void 0!==i&&0!==i.length&&1!==i.error||(i={}),a("setPublishingSettings",i);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchLabelSettings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),t.next=4,k$.getDetailsById(FM,n.getSelectedOverAllCompany.alvId);case 4:i=t.sent,a("setIsLoading",!1),void 0!==i&&0!==i.length&&1!==i.error||(i={}),a("setLabelSettings",i);case 8:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),uploadA6BackgroundImage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=a.item.id,s=a.item.company,r=n.getSelectedOverAllCompany.context,l="?type=a6&default=1&settingId="+i+"&companyId="+s+"&companyContext="+r,t.next=7,k$.putFile(FM,a.file,l).then((function(t){return t}));case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),deleteA6BackgroundImage:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return Object(GM["a"])(e),t.next=3,k$.deleteFile(FM,"?type=a6",a).then((function(t){return t}));case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),saveSettings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.getters,i=e.commit,s=e.dispatch,r=n.getSelectedOverAllCompany.alvId,t.next=4,k$.saveSettings(r,a);case 4:l=t.sent,void 0===l||1===l.error?i("setSnackbar",{type:"error",msg:it.t(l.errorMsg)}):(i("setSnackbar",{type:"success",msg:it.t("lang_ACCOUNT_SETTINGS_SNACKBAR_SUCCESSFULLY_SAVED")}),s("fetchPublishingSettings"),s("fetchLabelSettings"));case 6:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()},zM={state:UM,getters:MM,actions:jM,mutations:WM},HM="account/modules",VM={modulesPanels:[],modulesPanelDetails:[],showChangeModulStatusDialog:!1,changeModulStatusDialogText:"",selectedModul:{},svWorkRegistrationModulePanelDetails:[],cwrExportModulePanelDetails:[],ndaSupportModulePanelDetails:[],alvVaultModulePanelDetails:[],digitalDistributionModulePanelDetails:[]},YM={getModulesPanels:function(t){return t.modulesPanels},getShowChangeModulStatusDialog:function(t){return t.showChangeModulStatusDialog},getChangeModulStatusDialogText:function(t){return t.changeModulStatusDialogText},getSelectedModul:function(t){return t.selectedModul},getSvWorkRegistrationModulePanelDetails:function(t){return t.svWorkRegistrationModulePanelDetails},getCwrExportModulePanelDetails:function(t){return t.cwrExportModulePanelDetails},getNdaSupportModulePanelDetails:function(t){return t.ndaSupportModulePanelDetails},getAlvVaultModulePanelDetails:function(t){return t.alvVaultModulePanelDetails},getDigitalDistributionModulePanelDetails:function(t){return t.digitalDistributionModulePanelDetails}},KM={setModulesPanels:function(t,e){t.modulesPanels=e},setShowChangeModulStatusDialog:function(t,e){t.showChangeModulStatusDialog=e},setChangeModulStatusDialogText:function(t,e){t.changeModulStatusDialogText=e},setSelectedModul:function(t,e){t.selectedModul=e},setSvWorkRegistrationModulePanelDetails:function(t,e){t.svWorkRegistrationModulePanelDetails=e},setCwrExportModulePanelDetails:function(t,e){t.cwrExportModulePanelDetails=e},setNdaSupportModulePanelDetails:function(t,e){t.ndaSupportModulePanelDetails=e},setAlvVaultModulePanelDetails:function(t,e){t.alvVaultModulePanelDetails=e},setDigitalDistributionModulePanelDetails:function(t,e){t.digitalDistributionModulePanelDetails=e}},ZM={fetchModulesPanels:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.dispatch,e.getters,t.next=3,k$.getListData(HM);case 3:i=t.sent,a("setModulesPanels",i.list),n("fetchSvWorkRegistrationModulePanelDetails"),n("fetchCwrExportModulePanelDetails"),n("fetchNdaSupportModulePanelDetails"),n("fetchAlvVaultModulePanelDetails"),n("fetchDigitalDistributionModulePanelDetails");case 10:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchSvWorkRegistrationModulePanelDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getModulesPanels,s=i.find((function(t){return"sv_work_registration"===t.moduleName})).alvId,t.next=5,k$.getDetailsById(HM,s);case 5:r=t.sent,n("setSvWorkRegistrationModulePanelDetails",r);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchCwrExportModulePanelDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getModulesPanels,s=i.find((function(t){return"cwr_export"===t.moduleName})).alvId,t.next=5,k$.getDetailsById(HM,s);case 5:r=t.sent,n("setCwrExportModulePanelDetails",r);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchNdaSupportModulePanelDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getModulesPanels,s=i.find((function(t){return"nda_partner"===t.moduleName})).alvId,t.next=5,k$.getDetailsById(HM,s);case 5:r=t.sent,n("setNdaSupportModulePanelDetails",r);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAlvVaultModulePanelDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getModulesPanels,s=i.find((function(t){return"alv_vault"===t.moduleName})).alvId,t.next=5,k$.getDetailsById(HM,s);case 5:r=t.sent,n("setAlvVaultModulePanelDetails",r);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchDigitalDistributionModulePanelDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=a.getModulesPanels,s=i.find((function(t){return"digital-distribution"===t.moduleName})).alvId,t.next=5,k$.getDetailsById(HM,s);case 5:r=t.sent,n("setDigitalDistributionModulePanelDetails",r);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveModule:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s=a.getSelectedModul.alvId,r=a.getSelectedModul,l={status:!0===r["status"]?r["status"]=1:r["status"]=0},null!==r.selectedStorageOption&&(l["selectedStorageOption"]=r.selectedStorageOption),t.next=7,k$.saveEditForm(HM,s,l,"");case 7:o=t.sent,void 0===o||0===o.length||1===o.error?(o=[],n("setSnackbar",{type:"error",msg:it.t("lang_GENERAL_CAPTION_ERROR")}),a.getSelectedModul.status=!a.getSelectedModul.status):n("setSnackbar",{type:"success",msg:it.t(o.response.txt)}),i("fetchModulesPanels"),1===a.getSelectedModul.status&&a.getSelectedModul.disabled,n("setSelectedModul",{});case 12:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},XM={state:VM,getters:YM,actions:ZM,mutations:KM},JM="account/mappings",QM={id:0,alvId:"ALV000000000AM",title:null,domain:null,direction:"import",maintainer:"self",versionNumber:null,shareable:"no",source:null,abbreviation:null,fileFormat:"csv",delimiter:null,decimalSeparator:"comma",fileName:null,currency:null,rightsType:null,templateFile:null,sheet:null,headerRow:null,headers:[],dataRow:null},tW={id:0,alvField:null,entityName:null,columnNumber:null,templateColumn:null,skipDuplicates:!1,formula:null},eW={mappings:[],selectedMappings:[],azForMappingsImport:[],azForMappingsExport:[],isAllSelectedMappings:!1,expandedMappings:[],mappingsSssOptions:{sortBy:["title"],sortDesc:[!1],mustSort:!0},mappingsFiltersOnRequest:{},mappingsSearch:"",selectedMappingsAction:[],selectedMappingsFileFormatFilter:[],selectedMappingsDirectionsFilter:[],selectedMappingsDomainsFilter:[],selectedMappingsMaintainersFilter:[],usersWithShareable:[],defaultNewMapping:QM,mappingsUniqueId:"",mappingsDetails:{},mappingsColumnMappings:[],selectedColumnMappings:[],defaultColumnMappings:tW,columnMappingsEditingDialogDetails:tW,showColumnMappingsEditingDialog:!1,columnMappingsHeaders:[],columnMappingsDetails:{}},aW={getMappings:function(t){return t.mappings},getAzForMappingsImport:function(t){return t.azForMappingsImport},getAzForMappingsExport:function(t){return t.azForMappingsExport},getSelectedMappings:function(t){return t.selectedMappings},getIsAllSelectedMappings:function(t){return t.isAllSelectedMappings},getExpandedMappings:function(t){return t.expandedMappings},getMappingsSssOptions:function(t){return t.mappingsSssOptions},getMappingsFiltersOnRequest:function(t){return t.mappingsFiltersOnRequest},getMappingsSearch:function(t){return t.mappingsSearch},getSelectedMappingsDirectionsFilter:function(t){return t.selectedMappingsDirectionsFilter},getSelectedMappingsDomainsFilter:function(t){return t.selectedMappingsDomainsFilter},getSelectedMappingsMaintainersFilter:function(t){return t.selectedMappingsMaintainersFilter},getSelectedMappingsAction:function(t){return t.selectedMappingsAction},getUsersWithShareable:function(t){return t.usersWithShareable},getDefaultNewMapping:function(t){return t.defaultNewMapping},getMappingsUniqueId:function(t){return t.mappingsUniqueId},getMappingsDetails:function(t){return t.mappingsDetails},getMappingsDetailsTitle:function(t){return t.mappingsDetails.title},getMappingsDetailsAlvId:function(t){return t.mappingsDetails.alvId},getMappingsDetailsDomain:function(t){return t.mappingsDetails.domain},getMappingsDetailsDirection:function(t){return t.mappingsDetails.direction},getMappingsDetailsShareable:function(t){return t.mappingsDetails.shareable},getMappingsDetailsMaintainer:function(t){return t.mappingsDetails.maintainer},getMappingsDetailsVersionNumber:function(t){return t.mappingsDetails.versionNumber},getMappingsDetailsNotes:function(t){return t.mappingsDetails.notes},getMappingsDetailsSource:function(t){return t.mappingsDetails.source},getMappingsDetailsAbbreviation:function(t){return t.mappingsDetails.abbreviation},getMappingsDetailsFileFormat:function(t){return t.mappingsDetails.fileFormat},getMappingsDetailsDelimiter:function(t){return t.mappingsDetails.delimiter},getMappingsDetailsDecimalSeparator:function(t){return t.mappingsDetails.decimalSeparator},getMappingsDetailsCurrency:function(t){return t.mappingsDetails.currency},getMappingsDetailsRightsType:function(t){return t.mappingsDetails.rightsType},getMappingsDetailsFileName:function(t){return t.mappingsDetails.fileName},getMappingsDetailsTemplateFile:function(t){return t.mappingsDetails.templateFile},getMappingsDetailsSheet:function(t){return t.mappingsDetails.sheet},getMappingsDetailsHeaderRow:function(t){return t.mappingsDetails.headerRow},getMappingsDetailsHeaders:function(t){return t.mappingsDetails.headers},getMappingsDetailsDataRow:function(t){return t.mappingsDetails.dataRow},getMappingsDetailsDownloadPath:function(t){return t.mappingsDetails.downloadPath},getColumnMappings:function(t){return t.mappingsDetails.columnMappings},getShowColumnMappingsEditingDialog:function(t){return t.showColumnMappingsEditingDialog},getSelectedAccountColumnMappings:function(t){return t.selectedAccountColumnMappings},getShowAccountColumnMappingsEditingDialog:function(t){return t.showAccountColumnMappingsEditingDialog},getSelectedColumnMappings:function(t){return t.selectedColumnMappings},getDefaultColumnMappings:function(t){return t.defaultColumnMappings},getDropdownOfHeaders:function(t){return t.columnMappingsHeaders},getColumnMappingsEditingDialogDetails:function(t){return t.columnMappingsEditingDialogDetails},getColumnMappingsDetailsEntityName:function(t){return t.columnMappingsEditingDialogDetails.entityName},getColumnMappingsDetailsAlvField:function(t){return t.columnMappingsEditingDialogDetails.alvField},getColumnMappingsDetailsColumnNumber:function(t){return t.columnMappingsEditingDialogDetails.columnNumber},getColumnMappingsDetailsTemplateColumn:function(t){return t.columnMappingsEditingDialogDetails.templateColumn},getColumnMappingsDetailsSkipDuplicatesCheckbox:function(t){return t.columnMappingsEditingDialogDetails.skipDuplicates},getColumnMappingsDetailsFormula:function(t){return t.columnMappingsEditingDialogDetails.formula}},nW={setMappings:function(t,e){t.mappings=e},setAzForMappingsImport:function(t,e){t.azForMappingsImport=e},setAzForMappingsExport:function(t,e){t.azForMappingsExport=e},setSelectedMappings:function(t,e){t.selectedMappings=e},setIsAllSelectedMappings:function(t,e){t.isAllSelectedMappings=e},setExpandedMappings:function(t,e){t.expandedMappings=[e]},setMappingsSssOptions:function(t,e){t.mappingsSssOptions=e},setMappingsFiltersOnRequest:function(t,e){t.mappingsFiltersOnRequest=e},setMappingsSearch:function(t,e){t.mappingsSearch=e},setSelectedMappingsAction:function(t,e){t.selectedMappingsAction=e},setSelectedMappingsDirectionsFilter:function(t,e){t.selectedMappingsDirectionsFilter=e},setSelectedMappingsDomainsFilter:function(t,e){t.selectedMappingsDomainsFilter=e},setSelectedMappingsMaintainersFilter:function(t,e){t.selectedMappingsMaintainersFilter=e},setUsersWithShareable:function(t,e){t.usersWithShareable=e},setDefaultNewMapping:function(t){t.defaultNewMapping=QM},setMappingsUniqueId:function(t,e){t.mappingsUniqueId=e},setMappingsDetails:function(t,e){t.mappingsDetails=e},setMappingsDetailsAlvId:function(t,e){t.mappingsDetails.alvId=e},setMappingsDetailsTitle:function(t,e){t.mappingsDetails.title=e},setMappingsDetailsDomain:function(t,e){t.mappingsDetails.domain=e},setMappingsDetailsDirection:function(t,e){t.mappingsDetails.direction=e},setMappingsDetailsShareable:function(t,e){t.mappingsDetails.shareable=e},setMappingsDetailsMaintainer:function(t,e){t.mappingsDetails.maintainer=e},setMappingsDetailsVersionNumber:function(t,e){t.mappingsDetails.versionNumber=e},setMappingsDetailsNotes:function(t,e){t.mappingsDetails.notes=e},setMappingsDetailsSource:function(t,e){t.mappingsDetails.source=e},setMappingsDetailsAbbreviation:function(t,e){t.mappingsDetails.abbreviation=e},setMappingsDetailsFileFormat:function(t,e){t.mappingsDetails.fileFormat=e},setMappingsDetailsDelimiter:function(t,e){t.mappingsDetails.delimiter=e},setMappingsDetailsDecimalSeparator:function(t,e){t.mappingsDetails.decimalSeparator=e},setMappingsDetailsCurrency:function(t,e){t.mappingsDetails.currency=e},setMappingsDetailsRightsType:function(t,e){t.mappingsDetails.rightsType=e},setMappingsDetailsFileName:function(t,e){t.mappingsDetails.fileName=e},setMappingsDetailsTemplateFile:function(t,e){t.mappingsDetails.templateFile=e},setMappingsDetailsSheet:function(t,e){t.mappingsDetails.sheet=e},setMappingsDetailsHeaderRow:function(t,e){t.mappingsDetails.headerRow=e},setMappingsDetailsHeaders:function(t,e){t.mappingsDetails.headers=e},setMappingsDetailsDataRow:function(t,e){t.mappingsDetails.dataRow=e},setMappingsDetailsDownloadPath:function(t,e){t.mappingsDetails.downloadPath=e},setColumnMappings:function(t,e){t.mappingsDetails.columnMappings=e},setShowColumnMappingsEditingDialog:function(t,e){t.showColumnMappingsEditingDialog=e},setSelectedColumnMappings:function(t,e){t.selectedColumnMappings=e},setDropdownOfHeaders:function(t,e){t.columnMappingsHeaders=e},setColumnMappingsEditingDialogDetails:function(t,e){t.columnMappingsEditingDialogDetails=e},setColumnMappingsDetailsEntityName:function(t,e){t.columnMappingsEditingDialogDetails.entityName=e},setColumnMappingsDetailsAlvField:function(t,e){t.columnMappingsEditingDialogDetails.alvField=e},setColumnMappingsDetailsColumnNumber:function(t,e){t.columnMappingsEditingDialogDetails.columnNumber=e},setColumnMappingsDetailsTemplateColumn:function(t,e){t.columnMappingsEditingDialogDetails.templateColumn=e},setColumnMappingsDetailsSkipDuplicatesCheckbox:function(t,e){t.columnMappingsEditingDialogDetails.skipDuplicates=e},setColumnMappingsDetailsFormula:function(t,e){t.columnMappingsEditingDialogDetails.formula=e}},iW={fetchMappings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={search:n.getMappingsSearch,direction:n.getSelectedMappingsDirectionsFilter,domain:n.getSelectedMappingsDomainsFilter,maintainer:n.getSelectedMappingsMaintainersFilter},s=this._vm.$alvPlugin.createApiUrlFilterString(i),r=n.getMappingsSssOptions,t.next=7,k$.getListData2(JM,n.getCurrentPage,r.sortBy,r.sortDesc,s);case 7:l=t.sent,void 0===l||1===l.error||0===l.list.length?(a("setMappings",[]),a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")):a("setMappings",l.list),a("setMappingsFiltersOnRequest",i),this._vm.$alvPlugin.storePagingInformations(l.filteredRecords,l.currentPage,l.totalRecords),a("setIsLoading",!1);case 12:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchMappingsByDomain:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,a("setIsLoading",!0),i={domain:n.getSelectedMappingsDomainsFilter},n.getSelectedMappingsDirectionsFilter&&(i["direction"]=n.getSelectedMappingsDirectionsFilter),s=this._vm.$alvPlugin.createApiUrlFilterString(i),t.next=7,k$.getListData(JM,"1",s);case 7:r=t.sent,void 0===r||1===r.error||0===r.length?(a("setMappings",[]),a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND")):a("setMappings",r.list),a("setIsLoading",!1);case 10:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchMappingsDetails:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e,a){var n,i,s,r,l,o,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.getters,s=e.dispatch,"new"!==a){t.next=8;break}l=JSON.parse(JSON.stringify(i.getDefaultNewMapping)),o=i.getSelectedCurrency.toUpperCase(),l.currency=o,r=l,t.next=12;break;case 8:return t.next=10,k$.getDetailsById(JM,a);case 10:c=t.sent,r=void 0===c||0===c.length||1===c.error?{}:c;case 12:n("setMappingsDetails",r),s("fetchColumnMappings"),n("setIsLoading",!1);case 15:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}(),fetchColumnMappings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,t.next=3,n.getColumnMappings;case 3:if(i=t.sent,void 0!==i){t.next=8;break}return t.abrupt("return",null);case 8:a("setIsLoading",!1),0===i.length&&a("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND"),a("setColumnMappings",i);case 11:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),fetchUsersWithShareable:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,e.getters,a("setIsLoading",!0),t.next=4,k$.getListData(JM+"/userList","1");case 4:n=t.sent,void 0===n||1===n.error||0===n.length?a("setUsersWithShareable",[]):a("setUsersWithShareable",n.list),a("setIsLoading",!1);case 7:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),saveMappingsForm:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,n=e.getters,i=e.dispatch,a("setIsLoading",!0),s=n.getMappingsDetailsAlvId,r=n.getMappingsDetails,l="new"==O$.currentRoute.params.alvId,r["columnMappings"]=n.getColumnMappings,t.next=8,k$.saveEditForm(JM,s,r,l);case 8:if(o=t.sent,a("setIsLoading",!1),void 0!==o&&0!==o.length&&1!==o.error){t.next=14;break}a("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o.response.errorMsg)?it.t(o.response.errorMsg):o.response.errorMsg}),t.next=18;break;case 14:return a("setSnackbar",{type:"success",msg:it.t("lang_ACCOUNT_MAPPINGS_MESSAGE_SUCCESS_MAPPING_SAVED")}),l&&O$.push({name:"MappingsEdit",params:{alvId:o.response.alvId}}),t.next=18,i("fetchMappingsDetails",o.response.alvId);case 18:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),fetchAzForMappings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,k$.getAzForMapping("import");case 3:return n=t.sent,a("setAzForMappingsImport",n.list),t.next=7,k$.getAzForMapping("export");case 7:i=t.sent,a("setAzForMappingsExport",i.list);case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),doMappingsAction:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,e.getters,n=e.dispatch,!(eW.selectedMappings.length>0)){t.next=13;break}t.t0=eW.selectedMappingsAction,t.next="delete"===t.t0?5:"copy"===t.t0?7:"adopt"===t.t0?9:11;break;case 5:return 1===eW.selectedMappings.length?a("setShowDeletionDialog",!0):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",11);case 7:return 1===eW.selectedMappings.length?n("copyMapping"):(a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_ONLY_ONE"),a("setShowSelectionRequiredDialog",!0)),t.abrupt("break",11);case 9:return n("adopt"),t.abrupt("break",11);case 11:t.next=15;break;case 13:a("setSelectionRequiredText","lang_GENERAL_SELECTION_REQUIRED_DIALOG_TEXT_AT_LEAST_ONE"),a("setShowSelectionRequiredDialog",!0);case 15:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),copyMapping:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"copy"},r={alvIds:a.getSelectedMappings},t.next=5,k$.triggerAction(JM,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERAL_SNACKBAR_COPY_SUCCESSFULL")}),i("fetchMappings")):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedMappings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.commit,i=e.getters,s=e.dispatch,t.next=3,k$.deleteEntries(JM,i.getSelectedMappings);case 3:if(r=t.sent,-1===r.error){for(l=function(t){var e=i.getMappings.findIndex((function(e){return e.alvId==i.getSelectedMappings[t]}));n["default"].delete(i.getMappings,e)},o=0;o<i.getSelectedMappings.length;o++)l(o);a("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_ENTRY_DELETED")}),a("setSelectedMappings",[]),a("setIsAllSelectedMappings",!1),a("setSelectedMappingsAction",[]),s("fetchMappings")}case 5:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}(),adopt:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,n,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.getters,n=e.commit,i=e.dispatch,s={action:"adopt"},r={alvIds:a.getSelectedMappings},t.next=5,k$.triggerAction(JM,r,s);case 5:l=t.sent,-1===l.error?(n("setSnackbar",{type:"success",msg:it.t("lang_GENERIC_MESSAGE_SUCCESS_EXECUTED")}),i("fetchMappings")):(o=l.response.errorMsg,void 0!==o&&n("setSnackbar",{type:"error",msg:this._vm.$alvPlugin.isLangConst(o)?it.t(o):o}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),deleteSelectedColumnMappings:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var a,i,s,r,l,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.getters,i=e.commit,s=a.getSelectedColumnMappings,r=a.getColumnMappings.findIndex((function(t){return t.id===s.id})),l=a.getColumnMappings.length,n["default"].delete(a.getColumnMappings,r),o=a.getColumnMappings.length,i("setSnackbar",l>o?{type:"success",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_SUCCESSFUL")+"<br />"+it.t("lang_GENERAL_SNACKBAR_TEXT_CLICK_MAIN_SAVE_BUTTON"),timeout:-1}:{type:"error",msg:it.t("lang_GENERIC_SNACKBAR_DELETE_NOT_SUCCESSFUL")}),i("setSelectedColumnMappings",[]),0===o&&i("setNoDataText","lang_GENERAL_MESSAGE_NO_RECORDS_FOUND");case 9:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},sW={state:eW,getters:aW,actions:iW,mutations:nW};n["default"].use(u["a"]);var rW={id:0,firstName:null,lastName:null,cellphone:null,email:null,role:null,keyName:null,inheritFromGroup:"yes"},lW={show:!1,result:!1,resolveCallback:null},oW=new u["a"].Store({state:{drawer:!1,openDriver:!1,isLoggedIn:!1,prevRoute:"/",loginTranslations:{de:{lang_LOGIN_BUTTON_CAPTION_LOGIN:"Anmelden",lang_LOGIN_CAPTION_USERNAME:"Benutzername",lang_LOGIN_CAPTION_PASSWORD:"Passwort"},en:{lang_LOGIN_BUTTON_CAPTION_LOGIN:"Login",lang_LOGIN_CAPTION_USERNAME:"Username",lang_LOGIN_CAPTION_PASSWORD:"Password"},ja:{lang_LOGIN_BUTTON_CAPTION_LOGIN:"",lang_LOGIN_CAPTION_USERNAME:"",lang_LOGIN_CAPTION_PASSWORD:""}},isLoading:!1,noDataText:"lang_GENERAL_MESSAGE_NO_RECORDS_FOUND",user:{},selectedCurrency:null,totalRecords:0,totalListed:0,currentPage:1,itemsPerPage:100,numberOfPages:0,totalRecordsSearchDialog:0,totalListedSearchDialog:0,publishingCompanies:[],labelCompanies:[],selectedOverAllCompany:{},selectedPublishingCompanyId:null,selectedLabelCompanyId:null,countries:{},azTypes:{},interests:[],apiConnections:{},dealflow:{},visibility:{},contractsRights:{},contractsApplyTo:{},accountCredentialsType:[],userInformation:{},generalLanguages:{},genres:{},languages:{},licensors:[],releaseGemaMediaTypes:[],releaseMediaTypes:[],societies:[],workStyles:{},publishingTypeOfRights:{},labelStatisticsInRows:{},publishingContractsTypes:[],instrumentations:[],snackbar:{},selectionRequieredAlert:{show:!1,txt:""},showSelectionRequiredDialog:!1,showPeriodRequiredDialog:!1,showMediaFileUploadDialog:!1,uploadPictureDialogText:"",selectionRequiredText:"",showDeletionDialog:!1,deletionDialogContext:"",confirmationDialog:lW,showFileBulkImportDialog:!1,showGemaWorksCheckDialog:!1,showSearchDialog:!1,errorDialogMessage:null,showConnectArtistDialog:!1,showStatementPreviewDialog:!1,showErrorDialog:!1,errorMessageCode:null,errorDialogCsvLink:"",selectedFileImportOption:[],selectedFileImport:[],selectedPeriodValuesImportDialog:{num:null,period:"notDefined",year:null},selectedImportDialogCheckboxes:["runErrorLists"],selectedFileReport:[],showRunErrorListDialog:!1,runErrorListDialogText:"",runErrorListDialogProgressValue:0,runErrorListDialogPolling:null,showInlineEditingDialog:!1,showRegionDialog:!1,regionDialogIncludeOptions:[],regionDialogExcludeOptions:[],regionDialogDetailsInclude:[],regionDialogDetailsExclude:[],showEditingDialog:!1,editingDialogHeadline:"",showManageTagsDialog:!1,addTag:"",removeTag:"",showSyncDataDialog:!1,showMoveContractsDialog:!1,personsPanelEntry:[],selectedPersonsPanelEntry:[],personsPanelEntryEditingDialogDetails:rW,defaultPersonsPanelEntry:rW,personsPanelEntryPersonOptions:[],selectedPersonPersonsPanelDialog:null,digitalPlatforms:[],selectedFileBulkImport:[],selectedFileRecordsBulkImport:[],selectedFileReportDataBulkImport:[],selectedFileBulkImportUploader:!0,fileBulkUploaderFileRecordsForUpload:[],selectedImageUploadFile:null,showDragAndDropUploader:!0,showUploadBtnDragAndDropUploader:!1,imageUploaderImageExists:!1,showImageUploadDialog:!1,imageUploaderContext:"",showImageUploadOnlyDialog:!1,selectedMediaUploadFiles:[],fileBulkUploaderUploadUrl:[],fileBulkUploaderUploadHeaders:{},fileBulkUploaderDeletable:!0,fileBulkUploaderReadonly:!1,fileBulkUploaderDetailsTag:"",fileBulkUploaderDetailsSelectedLabelId:null,fileBulkUploaderLabelsDropdown:[],selectedFileUploadOption:[],showFileImportDialog:!1,importDialogText:"",uploadProgressbarValue:0,balanceInNumbersSelected:[],balanceInTimeUnitSelected:[],balanceInYearSelected:[],audio:null,listpageImporters:[]},getters:Q,mutations:st,actions:B$,modules:{dashboard:M$,works:tG,sheets:cG,publishingProjects:hG,income:AG,publishingStatements:RG,tracking:qG,publishingStatistics:UG,tracks:KG,releases:oF,labelProjects:_F,salesData:CF,labelStatements:NF,labelStatistics:yF,pricelists:MF,inventories:YF,shipping:aU,invoices:uU,azPersons:SU,azDistributors:bU,azGroups:wU,azSocieties:$U,azLive:zU,publishingContracts:lM,labelContracts:CM,credentials:RM,companies:$M,settings:zM,modules:XM,mappings:sW}}),cW=oW,uW={name:"App",components:{Header:$,Navigation:j,Snackbar:J}},dW=uW,gW=(a("5c0b"),Object(C["a"])(dW,i,s,!1,null,null,null)),pW=gW.exports,vW=a("ce5b"),_W=a.n(vW);a("bf40");n["default"].use(_W.a);var hW="#951B81",mW="#AE83AE",fW="#f2edda",SW="#6b6b6b",EW="#FAFAFA",IW="#FBFBF9",CW="#1D6F42",AW={logo:hW,contentBackground:EW,generalCheckbox:mW,generalDropdownSelected:mW,warning:"#F1D442",error:"#90100f",selectedChip:"#d3cdb1",subtitleGray:"#999999",headerBackground:"#ffffff",headerExtensionAboveContent:"#D8D8C0",headerExtensionAboveNavigation:"#BFBF99",headerReportFileImportFont:"#ffffff",headerReportFileImportBackground:SW,iconSave:mW,iconStandard:mW,iconCancel:"#FFFFFF",iconCancelEditForm:"#a0a0a0",iconDelete:"#D0D0D0",buttonStandard:mW,buttonCancel:"#a0a0a0",buttonNewEntity:"#47817D",switchStandard:mW,tooltipBackground:"#6b6b6b",breadcrumbIcon:"#ffffff",standardBrownIcon:"#C0A691",navigationBackground:fW,navigationListBackground:fW,navigationBackgroundActiveGroup:"#d3cdb1",navigationHoverItem:"#6b6b6b",navigationItemsIconsActive:"#91268F",navigationSubitemIcon:"#000000",listPageBackground:EW,listPageHeadlineBackground:EW,listPageFilterBackground:EW,listPageListBackground:EW,listPageFavouritesBackground:"#FFF6FF",listPageDataTableBackground:"#ffffff",listPageHeadersText:"#212121",listPageHeadersBackground:IW,listPageHoverItem:"#e3decd",listPageTopSlot:EW,pagination:mW,expandPanelBackground:"#F6F5EF",editPageBackground:"#ffffff",editPageHeadlineBackground:"#ffffff",defaultImageEditPage:"#a0a0a0",panelHeaderBackground:"#EDEADE",panelContentBackground:"#ffffff",azPersonMetadataPanelHeaderBackground:"#706d64",azPersonMetadataPanelContentBackground:"#f1c27e",contractSharesPanelHeaderBackground:"#706d64",contractSharesPanelContentBackground:"#f1c27e",contractWorksPanelHeaderBackground:"#706d00",contractWorksPanelContentBackground:"#f1c27e",dialogStandardHeaderBackground:"#BFBF99",dialogStandardHeadlineText:"#ffffff",dialogStandardText:"#000000",dialogStandardBackground:"#ffffff",dialogProgressbar:hW,excelLineChip:CW,excelLineText:"#ffffff",contractLineChip:"#EDEADE",contractLineText:"#000000",resultHeadlineChip:mW,resultHeadlineText:"#000000",errorLineChip:"#90100f",errorLineText:"#ffffff"},TW=new _W.a({theme:{themes:{light:AW},options:{customProperties:!0}},icons:{iconfont:"md"}}),bW=a("7924"),PW=a.n(bW),DW=(a("bd75"),a("d1e7"),a("4c93"));function NW(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function RW(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?NW(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):NW(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}Object.keys(DW).forEach((function(t){Object(Lp["c"])(t,DW[t])})),Object(Lp["c"])("required",RW({},DW["required"],{message:function(t,e){return it.t("lang_GENERAL_VALIDATION_MESSAGE_FIELD_REQUIRED",e)}})),Object(Lp["c"])("ipiLength",{validate:function(t){return 11==t.toString().length},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_IPI_LENGTH",e)},computesRequired:!0}),Object(Lp["c"])("passwordLength",{validate:function(t){return t.toString().length>=8},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_PASSWORD_LENGTH",e)},computesRequired:!0}),Object(Lp["c"])("alvDropdownRequired",{validate:function(t){return""!==t},computesRequired:!0}),Object(Lp["c"])("notZero",{validate:function(t){return"0"!==t},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_NOT_ZERO",e)},computesRequired:!0}),Object(Lp["c"])("empty",{validate:function(t){return""===t||""!==t},computesRequired:!0}),Object(Lp["c"])("rangeinteger_1-9999",{validate:function(t){if(isNaN(t))return!1;var e=parseInt(t);return e>=1&&e<=9999||void 0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_POSITIVE_INTEGER_BETWEEN",e)}}),Object(Lp["c"])("positiveinteger",{validate:function(t){return!isNaN(t)&&(!!/^(?:[1-9]\d*)$/.test(String(t))||void 0)},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_POSITIVE_INTEGER_BIGGER_ONE",e)}}),Object(Lp["c"])("integer",{validate:function(t){return!isNaN(t)&&(!!/^(?:[1-9]\d*|0)$/.test(String(t))||void 0)},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_POSITIVE_INTEGER",e)}}),Object(Lp["c"])("integerMinMax",{validate:function(t,e){var a=e.min,n=e.max;return!isNaN(t)&&(!!/^(?:[1-9]\d*|0)$/.test(String(t))&&(parseInt(t)>=parseInt(a)&&parseInt(t)<=parseInt(n)||void 0))},params:["min","max"],message:function(t,e){return it.t("lang_GENERAL_VALIDATION_POSITIVE_INTEGER_MIN_MAX",e)}}),Object(Lp["c"])("freeRoleSplitMusic",{validate:function(t){if(t>="35.2"&&t<="80.2")return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_FREE_ROLESPLIT_MUSIC",e)}}),Object(Lp["c"])("percentDecimal",{validate:function(t){if("de"===it.locale){if(/^[+]?((([0-9]|[1-9][0-9])(\,\d{1,2})?)|(100(\,[0]{1,2})?))$/.test(String(t)))return!0}else if(/^[+]?((([0-9]|[1-9][0-9])(\.\d{1,2})?)|(100(\.[0]{1,2})?))$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_PERCENT_DECIMAL_100",e)}}),Object(Lp["c"])("wuf",{validate:function(t){if("de"===it.locale){if(/^[-+]?[0-9]+(\,[0-9]+$)?$/.test(String(t))){t.toString();var e=t.replace(/,/g,".");if(e>=0&&e<=5e4)return!0}}else if(/^[-+]?[0-9]+(\.[0-9]+$)?$/.test(String(t))&&t>=0&&t<=5e4)return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_WUF",e)}}),Object(Lp["c"])("isrc",{validate:function(t){if(/[A-Z]{2}-?\w{3}-?\d{2}-?\d{5}/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_ISRC",e)}}),Object(Lp["c"])("iswc",{validate:function(t){if(/^T-?\d{3}.?\d{3}.?\d{3}-?\d{1}|T-?\d{10}/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_ISWC",e)}}),Object(Lp["c"])("duration",{validate:function(t){if(/(?:[01]\d|2[0123]):(?:[012345]\d):(?:[012345]\d)|^(?:[012345]\d|2[0-9]):(?:[012345]\d|2[0-9])$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_DURATION",e)}}),Object(Lp["c"])("listTwoCharacterWordsWithCommas",{validate:function(t){if(/^[a-zA-Z]{2}(,[a-zA-Z]{2})*$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_TWO_CHARS_WITH_COMMAS",e)}}),Object(Lp["c"])("amountMaxTwoDigits",{validate:function(t){if("de"===it.locale){if(t=t.replace(".",""),/^(\d+(?:[\,]\d{1,2})?)$/.test(String(t)))return!0}else if(t=t.replace(",",""),/^(\d+(?:[\.]\d{1,2})?)$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_AMOUNT_MAX_TWO_DIGITS",e)}}),Object(Lp["c"])("positiveOrNegativeWithMaxFourDigits",{validate:function(t){if(t=t.replace("-",""),Number(t)%1===0)return!0;var e="de"===it.locale;if(e){var a=/^\d+(,\d{1,4})?$/;if(a.test(t))return!0;i=/^(\d{1,3}(\.\d{3})*|\d+)(,\d{1,4})?$/;if(i.test(t))return!0}else{var n=/^\d+(\.\d{1,4})?$/;if(n.test(t))return!0;var i=/^(\d{1,3}(,\d{3})*|\d+)(\.\d{1,4})?$/;if(i.test(t))return!0}},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_AMOUNT_MAX_FOUR_DIGITS",e)}}),Object(Lp["c"])("positiveOrNegativeWithMaxTwoDigits",{validate:function(t){if(t=t.replace("-",""),Number(t)%1===0)return!0;var e="de"===it.locale;if(e){var a=/^\d+(,\d{1,2})?$/;if(a.test(t))return!0;i=/^(\d{1,3}(\.\d{3})*|\d+)(,\d{1,2})?$/;if(i.test(t))return!0}else{var n=/^\d+(\.\d{1,2})?$/;if(n.test(t))return!0;var i=/^(\d{1,3}(,\d{3})*|\d+)(\.\d{1,2})?$/;if(i.test(t))return!0}},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_AMOUNT_MAX_TWO_DIGITS",e)}}),Object(Lp["c"])("amountMaxEightDigits",{validate:function(t){if(/^(\d+(?:[\.\,]\d{1,8})?)$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_AMOUNT_MAX_EIGHT_DIGITS",e)}}),Object(Lp["c"])("amount",{validate:function(t){if(t=t.toString().replace("-",""),Number(t)%1===0)return!0;var e="de"===it.locale;if(e){a=/^(\d{1,3}(\.\d{3})*|\d+)(,\d{1,15})?$/;if(a.test(t))return!0}else{var a=/^(\d{1,3}(,\d{3})*|\d+)(\.\d{1,15})?$/;if(a.test(t))return!0}}}),Object(Lp["c"])("sheetProductionYearBetween",{validate:function(t){return t>=1800},message:function(t,e){return it.t("lang_PUBLISHING_SHEETS_VALIDATION_FIRST_PRODUCTION_YEAR_BETWEEN",e)}}),Object(Lp["c"])("sheetValidProductionYear",{validate:function(t){var e=oW.getters.getSheetDetailsFirstBroadcastDate;return null===e||t<=e.substring(0,4)},message:function(t,e){return it.t("lang_PUBLISHING_SHEETS_VALIDATION_FIRST_PRODUCTION_YEAR_BEFORE",e)}}),Object(Lp["c"])("statisticsCheckToFromMonthOrder",{validate:function(t){var e=oW.getters.getSelectedLabelStatisticsFrom,a=oW.getters.getSelectedLabelStatisticsTo;if(null!==a&&null!==e){var n=e.split("-"),i=new Date(n[0],n[1]),s=a.split("-"),r=new Date(s[0],s[1]),l=i<=r;return l}return!0},message:function(t,e){return it.t("lang_LABEL_STATISTICS_MONTH_PICKER_VALIDATION",e)}}),Object(Lp["c"])("timeHoursMinutes",{validate:function(t){if(/^(?:\d|[01]\d|2[0-3]):[0-5]\d$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERIC_VALIDATION_TIME_HH_MM",e)}}),Object(Lp["c"])("balanceNotGreaterThanZero",{validate:function(t){var e=oW.getters.getLabelContractsAdvance;if(0===e.length)return n["default"].prototype.$alvPlugin.stringToFloat(t)<=0;var a=oW.getters.getLabelContractsAdvance[0].balance;return a+n["default"].prototype.$alvPlugin.stringToFloat(t)<=0},message:function(t,e){return it.t("lang_CONTRACTS_LABEL_ADVANCE_PANEL_VALIDATION_CREDIT_TOO_HIGH",e)}}),Object(Lp["c"])("prolistYear",{validate:function(t){return t<=(new Date).getFullYear()&&t>=2008&&""!==t},computesRequired:!0}),Object(Lp["c"])("percent3Decimals",{validate:function(t){if("de"===it.locale){if(/^[+]?((([0-9]|[1-9][0-9])(\,\d{1,3})?)|(100(\,[0]{1,2})?))$/.test(String(t)))return!0}else if(/^[+]?((([0-9]|[1-9][0-9])(\.\d{1,3})?)|(100(\.[0]{1,2})?))$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_GENERAL_VALIDATION_PERCENT_THREE_DECIMALS_100",e)}}),Object(Lp["c"])("personDoesntAlreadyExists",{validate:function(t){var e=oW.getters.getPersonsPanelEntry,a=e.some((function(e){return e.id===t.id}));return!a},message:function(t,e){return it.t("lang_AZ_PERSONS_VALIDATION_PERSON_ALREADY_ADDED",e)}}),Object(Lp["c"])("isTrackArtistObject",{validate:function(t){var e=oW.getters.getTrackDetailsArtist;return"object"===Object(Rl["a"])(e)},message:function(t,e){return it.t("lang_GENERIC_AZ_VALIDATION_ARTIST_IS_NOT_AZ_ENTITY",e)}}),Object(Lp["c"])("isReleaseArtistObject",{validate:function(t){var e=oW.getters.getLabelReleasesDetailsArtist;return"object"===Object(Rl["a"])(e)},message:function(t,e){return it.t("lang_GENERIC_AZ_VALIDATION_ARTIST_IS_NOT_AZ_ENTITY",e)}}),Object(Lp["c"])("workRegistrationCheckboxes",{validate:function(t){return!(!t.includes("signedPublishingContract")||!t.includes("registrationTruthfulComplete"))},computesRequired:!0}),Object(Lp["c"])("numericStringWithOptionalLeadingZeroAndLength9to11",{validate:function(t){if(/^[0-9]{9,11}$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_PUBLISHING_GENERIC_TOOLTIP_IPI_FORMATTING",e)},computesRequired:!0}),Object(Lp["c"])("noLeadingZeroNumericString",{validate:function(t){if(/^[1-9][0-9]*$/.test(String(t)))return!0},message:function(t,e){return it.t("lang_PUBLISHING_GENERIC_TOOLTIP_KTO_FORMATTING",e)},computesRequired:!0}),Object(Lp["c"])("workRegistrationCwrSubmitterCode",{validate:function(t){var e=t.split("#");return 1!=e.length&&3===e[0].length},message:function(t,e){return it.t("lang_PUBLISHING_CONTRACTS_EXPORT_CWR_NOCODE",e)},computesRequired:!0}),Object(Lp["c"])("validateMappingsFormula",{validate:function(t){var e="NOCOL"===oW.getters.getColumnMappingsDetailsTemplateColumn,a=/^"[^"]+"$/,n=/^"[^"]*"=NOT\(".*?"\)(,"[^"]*"=NOT\(".*?"\))*$/,i=/^"[^"]*"=\(".*?"(?:,".*?")*\)(,"[^"]*"=\(".*?"(?:,".*?")*\))*$/,s=/^>?("[^"]+"(>"[^"]+")*)$/,r=/^(?!\s)([^"]+|("([^"]+)":"([^"]+)"(,"([^"]+)":"([^"]+)")*))$/,l=/^Negative:\s*[a-zA-Z_]+\s*=>\s*"src:[^"]+"$/,o=/^Default:\s*([a-zA-Z_]+\s*=>)?\s*"(src:)?[^"]+"$/,c=/^Empty:\s*([a-zA-Z_]+\s*=>)?\s*"(src:)?[^"]+"$/,u=a.test(t),d=n.test(t),g=i.test(t),p=s.test(t),v=""==t.trim()||u||d||g||p;if(!v){var _=t.split(/,(?=(?:[^"]*"[^"]*")*[^"]*$)/),h=0,m=0,f=!0,S=!1,E=void 0;try{for(var I,C=_[Symbol.iterator]();!(f=(I=C.next()).done);f=!0){var A=I.value;A=A.trim();var T=l.test(A),b=r.test(A),P=o.test(A),D=c.test(A);if(m+=P?1:0,h+=D?1:0,!(T||b||D||P)||h>(e?0:1)||m>1)return!1}}catch(N){S=!0,E=N}finally{try{f||null==C.return||C.return()}finally{if(S)throw E}}return!0}return v||colonResult||negativeResult||defaultEmptyResult},message:function(t,e){return it.t("lang_MESSAGE_ERROR_MAPPING_FORMULA_VALIDATION",e)}}),n["default"].component("ValidationProvider",Lp["b"]),n["default"].component("ValidationObserver",Lp["a"]);a("6672");n["default"].use(PW.a);var xW={install:function(t,e){t.prototype.$alvPlugin=W$}};n["default"].use(xW),new n["default"]({router:O$,store:oW,i18n:it,vuetify:TW,render:function(t){return t(pW)}}).$mount("#app"),n["default"].config.productionTip=!1},"56e7":function(t,e,a){},5784:function(t,e,a){"use strict";a("aaac")},"5b6a":function(t,e,a){},"5c0b":function(t,e,a){"use strict";a("e3328")},"5dea":function(t,e,a){"use strict";a("9ab0")},"5ebf":function(t,e,a){"use strict";a("71df")},"5f9c":function(t,e,a){},6013:function(t,e,a){},"608f":function(t,e,a){},"61c2":function(t,e,a){t.exports=a.p+"img/administrator.f4a4f8e6.svg"},6248:function(t,e,a){},"63d3":function(t,e,a){},6420:function(t,e,a){t.exports=a.p+"img/data-quality-a-z-level-1.620fdda2.svg"},"652e":function(t,e,a){},6554:function(t,e,a){"use strict";a("b5d1")},6646:function(t,e,a){var n={"./media/badges/quality/data-quality-a-z-level-1.svg":"6420","./media/badges/quality/data-quality-a-z-level-2.svg":"d710","./media/badges/quality/data-quality-a-z-level-3.svg":"31a6","./media/badges/quality/data-quality-music-publishers-level 1.svg":"2946","./media/badges/quality/data-quality-music-publishers-level 2.svg":"7268","./media/badges/quality/data-quality-music-publishers-level-3.svg":"51f1","./media/badges/quality/data-quality-record-labels-level-1.svg":"fd96","./media/badges/quality/data-quality-record-labels-level-2.svg":"9488","./media/badges/quality/data-quality-record-labels-level-3.svg":"33e2","./media/badges/users/administrator.svg":"61c2","./media/badges/users/assistant.svg":"78c8","./media/badges/users/contributor.svg":"690a","./media/badges/users/nda-partner.svg":"101e"};function i(t){var e=s(t);return a(e)}function s(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}i.keys=function(){return Object.keys(n)},i.resolve=s,t.exports=i,i.id="6646"},"666f":function(t,e,a){"use strict";a("134c")},6672:function(t,e,a){},"68a3":function(t,e,a){"use strict";a("008c")},"690a":function(t,e,a){t.exports=a.p+"img/contributor.f4702818.svg"},"6a57":function(t,e,a){},"6a8a":function(t,e,a){"use strict";a("f1e5")},"6b45":function(t,e,a){"use strict";a("c522")},"6b64":function(t,e,a){},"6ffc":function(t,e,a){"use strict";a("d9af")},7077:function(t,e,a){"use strict";a("63d3")},"71df":function(t,e,a){},7268:function(t,e,a){t.exports=a.p+"img/data-quality-music-publishers-level 2.6f3ee125.svg"},"72f5":function(t,e,a){"use strict";a("bb44")},"775e":function(t,e,a){},"782e":function(t,e,a){},"78c8":function(t,e,a){t.exports=a.p+"img/assistant.a6c1bd80.svg"},"78da":function(t,e,a){"use strict";a("a713")},"7bfe":function(t,e,a){},"7e82":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAAWCAYAAADzeqMPAAAEsWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjExNSIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjIyIgogICBleGlmOkNvbG9yU3BhY2U9IjEiCiAgIHRpZmY6SW1hZ2VXaWR0aD0iMTE1IgogICB0aWZmOkltYWdlTGVuZ3RoPSIyMiIKICAgdGlmZjpSZXNvbHV0aW9uVW5pdD0iMiIKICAgdGlmZjpYUmVzb2x1dGlvbj0iNzIuMCIKICAgdGlmZjpZUmVzb2x1dGlvbj0iNzIuMCIKICAgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIKICAgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0wMS0yMFQxNjoyMToxMSswMTowMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMS0wMS0yMFQxNjoyMToxMSswMTowMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InByb2R1Y2VkIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZmZpbml0eSBQaG90byAxLjguNSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMS0wMS0yMFQxNjoyMToxMSswMTowMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+Dv7EhAAAAYJpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAACiRdZHPK8NhHMdf22himphycFgaJzRT4uKwxSgctinDZfvul9rm2/e7peWqXFeUuPh14C/gqpyVIlJyU87EBX19vqYm2efp+Tyv5/18Pp+e5/OANZJVcnqdF3L5ghYK+t1z0Xm3/RELLpy00h5TdHU6PB6hpr3dSLTYVZ9Zq3bcv9aUSOoKWBqERxVVKwhPCE+tFFSTN4VdSiaWED4W7tXkgsLXph6v8JPJ6Qp/mKxFQgGwtgi70784/ouVjJYTlpfjyWWLys99zJc4kvnZsKxdMjvRCRHEj5tJxggwxAAj4ofow0e/7KiR7/3On2FZchXxKiU0lkiToUCvqEWpnpQ1JXpSRpaS2f+/fdVTg75KdYcf6h8M46Ub7BvwWTaM933D+DwA2z2c5av5y3sw/Cp6uap5dsG5BifnVS2+Bafr0HGnxrTYt2STaU2l4PkImqPQdgmNC5We/ZxzeAuRVfmqC9jegR6Jdy5+ATbbZ9AuDCVLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGy0lEQVRoge2aaWxVRRTHf/e92+e7pWirEVlaxa3RqqDiSkwsGnFfouKGxV2JMeoX1wjENe5RY9wXDIpKEzdwifGDWhJRMLiBiIKVVquy2Jb20b723vHDmdtO59373muDkZD+k0nvnDlntjNzzpnzCtsuTgOUUd77f6ez7SPxf08gD5wC9WFY2JaVOYxBYliZ2xGGlbkdYViZ2xGGlbkdwd0andTW140FllrkFZ9Omzc1j9iOwGXAROAg5PmxXPczt8ihy4A64BDdTwXwM/ATME/3F4fRwEVabiJQAqwGfgSeAxoN3j2BxUXOKcRy5HllYhJwOjABOBBo03P9GngWyFj8DUClUZ8C7AxcCNQCrcDnwENA1yDnF43a+rrda+vrlFW+zSNyMtDEwHekWRYB51u0hVYfJyAbHteHD7wIlEeMPwPYmEd2C3AfomCA6jy8ceUrYzwPeFTPKY6/Wa/ZxG8WzznA5gjZFUDZVrmZRqcmghjec4H6Av2dCkzO034JhW9vArgcsQDTDPp9wG0FZNOaxwdmFeAtBBf4DDi8AN84YD7Qgty2KLyMWCMbNcAdQ53gULEj8AcDT1UGMRNnI0p6k+iTG97MMcA/Br1Ly08GxgPXAass2ela9jCg16BvAGYjZn5/4FbgT6O9FzgC2BW5WXFlccR8X9Rj3mbRlwPXIObzWOAxq70RKNWy9s1ci7iGo5EDYrZ9H7nj6ls81eA2q0Xp5uDVkc3BkxXNwb2jbJ/Yh0nzZ4ydNH9Gs1U+jmC925rAP3oTbVwasTmhMuda9NkR8lMtnnc0fYlFt80awPUWz/1x69aYAnRaMm8gN3IMYrJDejsDfWCIDyz5YzXdVuaNhsx+Vlt3tJntSCZod8epdhfaXNjsotryWmQXMROg+rJuGyP4jrTqs5CAw8Zc4CzgzIi2WuN7C2KWLongawN20t8TkNNumrpmxJzasj3I5oQLmRjRd4gTgHcRnxhiHhLY+ch600ZbA3B8RD+NVn0icvNsfGJ8rwJeon+NMdFsW4lS7S60lkC7i2otgTbX9ol9cFp3ljbl9CvTUVH8B1j1fMnzt8hVZjmwh1H3kMizEMYjG2Q+xSopLmreN4Z+EvA2A5X1EnAV/fGCfRBO0WWoY3Zb9SuK6Os/gYdlFgrwH2XxL0Q2Z7BRZWjezhuibJR7OQ3x1SbfU+T+GPDyEMe8S8vbZjZOyUDMzVTL8Ho2pFZvWVdKV5NH128eXU1ey9+raqY2Bd73TcqjSaV18Ro3711xfnJk4stkmUOyzCE5MkGyzFm57OGZJxrdbkF8ZIWup4BRwN8xc6uKoP2CnPrwhrUAV+dboEYG2GTRltK/afmw3qqfhQRpKYP2OAP9WYjVVv0Z4P0ixlxRBE8Oos2sIuF3upV+JonfmcTPuPidrpMmSJY6fqWHT1oFpAlIE3S3ZXGdblWZSIHKOqisQmUde/NA/KP55JiCbEwUonxLJ6LQal3fDYkkWyN4y5Ho9BU9bgrxh+HbcSyysVHuoBq4ADGbzQb9HOB1ow+AB4FbYtbwjVVPIW/oKEwDRiLBk508KAqR6Ty/08XPJAkySfwOF3+zi9/h4gApFGkCPMen1PHx8FE9CpVVBN0QdCsp2UgXay/uQSSjYeMYxPdE4Qtr/k/E8IWbvBIJPA5FMi0hxgG3R8g5iB++EwlMFgH7IJHvGwxU5D3EKxI9Xtao15EbBIJEvc8jz5kWxGRvrRzAf4Y9yA3j/0BM5cGIEu9B/Gnc02QMudmbBsQnHoxs2HzEHJv+eTySTstasm8BZ2jZmcCHVnsLkrHqtegbEZ+YryQRZZtyGeS5cxwSF8xCzKrJs0CvdVA+01FPsw4fcee9QA+t+BzZ0+n91Lm+gsz6CuRveUtv1w4nrlep7xqVx5pgBL8qj7WqtLFtdPkFiZLkEneEi5t2cUtLcL2SlcsWTD8pYsybkFtTCL7ejBCLkLwmiElakCMRj7uAOfr7DuS9WwwUcjhGILnTwSKFrOMz5KAWg01IomINoszdjbZqJPcciQQBVSiqgCoSfd8JUFVSCMs4IJmAKoXTR1fKGQu4OKFs2KbGxIz5CHADckPj8Cvis+JQj9wWO8CwoZCTP8eg3YskJf4qIJsFLgZeK8BXCAEy14cQn50P6xClrxnKQC4JPUSSfsMEiOtwAIVjxAjyms71h7n/oBP7LzsB4ucWAtciqbTwV5MfgO+AB4BdEFsRondgN3yk5a5EzFUNcnI7kCR+A/A0uRujkKDobT3+IUgWai/EdDYhpvYFCiu8WHQANyMB1RV6vBokmv8dObyvIdam0JMtFv8CrUuwKTbuP9sAAAAASUVORK5CYII="},"7ebc":function(t,e,a){"use strict";a("f1e2")},"7f07":function(t,e,a){"use strict";a("d118")},"7f37":function(t,e,a){var n={"./amazon-22px.png":"4863","./apple-22px.png":"bd23","./deezer-22px.png":"7e82","./facebook-22px.png":"9523","./napster-22px.png":"37e0","./pandora-22px.png":"4e3e","./qobuz-22px.png":"08a1","./spotify-22px.png":"b7f0","./tidal-22px.png":"a94e","./youtube-22px.png":"3673","./youtubemusic-22px.png":"93a6"};function i(t){var e=s(t);return a(e)}function s(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}i.keys=function(){return Object.keys(n)},i.resolve=s,t.exports=i,i.id="7f37"},"7fa1":function(t,e,a){"use strict";a("b890")},"842f":function(t,e,a){"use strict";a("addf")},"848f":function(t,e,a){},"860e":function(t,e,a){"use strict";a("90bf")},"887b":function(t,e,a){},"890f":function(t,e,a){},"8baf":function(t,e,a){"use strict";a("782e")},"8f02":function(t,e,a){},"8f1f":function(t,e,a){},"8fd7":function(t,e,a){},"90bf":function(t,e,a){},"90e0":function(t,e,a){},"93a2":function(t,e,a){"use strict";a("a560")},"93a6":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAAAWCAYAAADNcw4EAAAEsWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjE1MSIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjIyIgogICBleGlmOkNvbG9yU3BhY2U9IjEiCiAgIHRpZmY6SW1hZ2VXaWR0aD0iMTUxIgogICB0aWZmOkltYWdlTGVuZ3RoPSIyMiIKICAgdGlmZjpSZXNvbHV0aW9uVW5pdD0iMiIKICAgdGlmZjpYUmVzb2x1dGlvbj0iNzIuMCIKICAgdGlmZjpZUmVzb2x1dGlvbj0iNzIuMCIKICAgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIKICAgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0wMS0yMFQxNjoyNTowNSswMTowMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMS0wMS0yMFQxNjoyNTowNSswMTowMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InByb2R1Y2VkIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZmZpbml0eSBQaG90byAxLjguNSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMS0wMS0yMFQxNjoyNTowNSswMTowMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+2q/WrQAAAYJpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAACiRdZHPK8NhHMdf22himphycFgaJzRT4uKwxSgctinDZfvul9rm2/e7peWqXFeUuPh14C/gqpyVIlJyU87EBX19vqYm2efp+Tyv5/18Pp+e5/OANZJVcnqdF3L5ghYK+t1z0Xm3/RELLpy00h5TdHU6PB6hpr3dSLTYVZ9Zq3bcv9aUSOoKWBqERxVVKwhPCE+tFFSTN4VdSiaWED4W7tXkgsLXph6v8JPJ6Qp/mKxFQgGwtgi70784/ouVjJYTlpfjyWWLys99zJc4kvnZsKxdMjvRCRHEj5tJxggwxAAj4ofow0e/7KiR7/3On2FZchXxKiU0lkiToUCvqEWpnpQ1JXpSRpaS2f+/fdVTg75KdYcf6h8M46Ub7BvwWTaM933D+DwA2z2c5av5y3sw/Cp6uap5dsG5BifnVS2+Bafr0HGnxrTYt2STaU2l4PkImqPQdgmNC5We/ZxzeAuRVfmqC9jegR6Jdy5+ATbbZ9AuDCVLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJOElEQVRoge2be7BXVRXHP/d3LwgiBFyMQgKlgBUPUUip8AkOSJDNmKNMOdVgrxFsQG3K1MEmpsfojBY6NI5NBlg0xqRghJeHXZGUeCZjLiGGK4IiBBcwA4R7f/2x1ubs++P8nvwAx/E7c+asvc5eZ6+zf2vvvfZa+1eDIwsZYCJwPnBuytUdOAuoi65aoBU4Fl1HgYPAnpRrN7CoBvbxAYGIXADUAFlV3Xam9Xk/oQ4gC4OB3wEjKnhHBmjvV0A9cEGe+nuzcHsNzImZIjIKuMSL61R1ZfTsamCYF19U1dUV6Bm3dQkwqki1bar6dAmv24INMjAjqwpE5Dra9uE2VV2YU6cGuC2n3edVdUO19Ijauhn4CtCoqr8oRabOZ6w5wPBqK5QH9cBjWVhdA69F/I8BDzq9EFgZPbsbGOP0F6qgwxjgZ0XqPAOUYlynCt+h7bduxvolxgDglzm8O4CqGpcb8YNAD2C8iMxV1TeLyWWA6zh9hhXQDjOYGMuBFqdH+gchIrXApc4/AjSeFg3ff+gvIh/J4VWy0lSCdsDZUTlXj1RkgEGnRJ3iaNOuqu4HwnLXE+jj9KeBzk43qur/qtD2Q0BXv6ZH/PkRf1IV2qkmajjRmE6Lcanqe8CjmC+9RFVfLUWuDuh7KhUrgPNTeM8Cn3f6UuB14HM5z08aqnoYOAwgIrGxvqeqB6rRRpWxA+iN+aQrIn4wribS+7NqUNXptB2IRVG+cY0dCzt3wiuvlCWWgvosdKqBdyNeA/Bjp0cCTwKfjZ4vARCR9lhHXwV0Ap4DVoVZTUQ6AF+O5P6gqq0iMh7b9QL8TVV3pikmIucCY7343+DYi8iN2BIBsEhVD6bIXg5MABT4c2ysvtSPdd27AquAlar6nzQ9ImzEjOszOe+62IvryTEuEbkQGOrFzaq6RkR6AONyvyvS+wps1dgONKjqy9Hz64GOXpyvqi3Oz2B9Pcy/aSswR1X3lm9cw4fD4sUwezbMmAH7Tiqq0Bf4V1ReAzQD3Uj8rJF+3wG86j5YA3BlJHcXsEVELnID6wzMi57P9/tPSEb7RCDVuIBPRfLbSBz7R0n8DcGWieMQkanArIh1M3CNP6sFfgN8PXp+B7BfRAap6lt5dAFz0CeS7KaDjl2i59fnyNwA3Ov0bKxv+0ff1RS+S0QeBqbkyP9URL6pqnOid3zU6aeAd0WkI/AnTtxk3SMiQzORQOmorYWpU2HLFrj1VqirK/sVjp5xwUfDMi9eJCKdMJ8LbK3PAt8nMaytwCan+wM/r1SRKuFe4C9A1stjRCQMjnEkhrUOeNzprsDDRd673u99RaTe6TBrtQD/rFRhERlBYlhvkujfDpgpIoV+3JtIDOstYK3T3YE7M0CHShWje3d45BHYsAFGj67kDWel8Br83hnbyWa8HPytb0V1x9E2XjU57DLPECaq6kTg+YgXlvV4xpoCTMYGByRLcD6sj+gw2MKG6DXgUPmqHke8KZji+s/18if8yodvRPQkbNCHgXV1hvQfuDwMGQLLl8OCBdCvXzmSaYYdO+23+L0FWOZLS5+I97qqvgPscl4nEp/qtENV1zj5j4jdw+8DI952n4W3e/kcEelMfryBZTji94jfTzamFW9gBvj93xHvnAKy8TftcJek2csdMikClSObteskoKpvAGGrGwKnL3mooheeVQB2q+oxp2N/pQ9nHvEmJSxjsftxKKVeryLvDEYkOfeTNa4GkvjiD0XkCuAxzOcdjAVvT4CvED0iVnC+12CDa3UdFpg8m5PBpk0wbRqsWFG8blsczsN/lmT6D2WwHVNAax66N+b8n0nE4Y1uOXeA0R4CqY94MZ2G9djyOdB/2AERvzavVBGoarOILAWudR2XAreo6rzCknQhGejgA0VVrw2MDPl/4OLYt88c+uHDKzEsMMNOQ0NOeYnfS9k5VLy7qCJiY0/LOy4A/krbGF4xBL9rILbLDmGBjZUomIObSNJt7YG5InJfEZmiBp3BTiqUh5YWmDUL+ve3kMSxY8Vl0vF2Hv6aiM6SdGxLSt0TtKtUmSoidjfS9JmN5QTjq1AoApI+6AcMcbpJVZvz1C8ZHq8bh+0UA2aIyP0FxIr2cx0WBZdiFY9j3ToYNqwaQVS87TTE1toaAnYkjju0/QFjumhC9TQgdoLDMZz9JKGXH7kPWTJUdauI7MdCFxOcXbUEtaoeEpEvAQ8A05w9TUR+5X5wLg5iM3To+05YzO4+bGZtDsZVOpYurUD1VOzNic6XgthweohIRlVbsRMVAds5ERkqn9Eq2fR0iegQJN5NYlwdsR9iBhZkPQBMVtViq8hGLCsR8p7r81cl3lnlDc+IyFeB27G41tdUdbqIfBL4Ijb5XIztVttAVbMi0kziK3bDBtCNmL+8K0O5xlU9NJUr4DnBsCVvB/TyKHEwriP+fB/wTiR6ngcDu1ag28dFpNZDBe3z1AdARMKMFWcPgnHFu65wTusa4DJsJiploAVjCt9RaOZqiujzctqN0Qs7FTMUuNB5pR41ig9H9vJQUdj17snQNv1yOlFpu/EuZgkWsAwjc56qZn0ZfSlHppGcjEA+eComdFx7YBHwIsVnv7Ui8hxJ9DyL5RgBnojq/VpEnsQMC+BlVS3HuAIKGdeqiB4nIouwc3u57cQnHB5yPysch2qlcPT/jxE9H+vjkB5blsEOoK0r8IJTgaPAzApl7yY5ZDiYJJnbhE3vAcsiehS2VE0uo51YfjyWh7ynQP0N2A9xVcSbGx0RegZLxIPNEjc4fRD4bok6xcb1dqEDe6q6mWQ5a4/lJn+AJfljLAZecLobcCfJDHe/qhZa2X5LYju9SbIlu4CZdTXQmrXURKXHnMvFXuyYc2pwznGIJN/VJirrjucI7GjOldjy2IidiogTyQ9g0eLhWAc8hY3E2/x52JH8PeJpJP89zIj7YbPAQuy/BGH22h3Vy2AzQCMWZhiJzcwhjYKqHhWRScDvsX7ujh2RfkJVw1IfYzYWrsCj+bg+U7GZOt5davQNL0T8y4FvY1mYBlVtEJG1WNzwoL+71Y+RT8YGak/MKJ9W1djBvoskHnrEZfeKyGXY8edBWMZlC/C4qh447uj5cecJ5P+DRj02Aor9QeMY5qCm/UFjD7CwJkkRfIgPMP4PG0rc4XrsJL0AAAAASUVORK5CYII="},"93a63":function(t,e,a){"use strict";a("608f")},9488:function(t,e,a){t.exports=a.p+"img/data-quality-record-labels-level-2.c5825f43.svg"},9523:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAWCAIAAADxdXMMAAAEr2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjU5IgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMjIiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1OSIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMjIiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDEtMjBUMTY6MjM6MTErMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDEtMjBUMTY6MjM6MTErMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS44LjUiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDEtMjBUMTY6MjM6MTErMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/PusCAooAAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRzyvDYRzHX9toYpqYcnBYGic0U+LisMUoHLYpw2X77pfa5tv3u6XlqlxXlLj4deAv4KqclSJSclPOxAV9fb6mJtnn6fk8r+f9fD6fnufzgDWSVXJ6nRdy+YIWCvrdc9F5t/0RCy6ctNIeU3R1Ojweoaa93Ui02FWfWat23L/WlEjqClgahEcVVSsITwhPrRRUkzeFXUomlhA+Fu7V5ILC16Yer/CTyekKf5isRUIBsLYIu9O/OP6LlYyWE5aX48lli8rPfcyXOJL52bCsXTI70QkRxI+bScYIMMQAI+KH6MNHv+yoke/9zp9hWXIV8SolNJZIk6FAr6hFqZ6UNSV6UkaWktn/v33VU4O+SnWHH+ofDOOlG+wb8Fk2jPd9w/g8ANs9nOWr+ct7MPwqermqeXbBuQYn51UtvgWn69Bxp8a02Ldkk2lNpeD5CJqj0HYJjQuVnv2cc3gLkVX5qgvY3oEeiXcufgE222fQLgwlSwAAAAlwSFlzAAALEwAACxMBAJqcGAAABE5JREFUSIntlm1MW1UYx5/e3tv2tlDaUl4sZSsrr+0QBmFDOipDx5QRNpCYkDDn2xf3YWp0Gj+oC3yQiBGNGyqLOEnmpsk0S9SMdWAYUEAsbwOGtAywtFBaXtrewr3l9l4/3GQxkbjVBI0Jv08nT87/yS/POSc5PEP1Z/C/AvmvBcJmx3j72THeftAtqxjGL8zVPJK9a8Hta7lqCbepLjk2ZbeyrXuKpOgHT4mEaI5OhaH8zoGZv9m2tXFxvvbtlw4BQP+oPSxXjndOFavjo24NzIRlnKSWv3/myV/HHP/EOEenAoDa8x03eqxhuf4LbGFcakzbl/EQADxRmCqPwgPrQX1KnNdPDk44Rn9bJCk6UiIszNXkZaq9BHm9a2rOuVZ1ZK92l8IfCLabbcOTC1yf55/KlYgFg+POzoEZf4DKy1Qb85IkODY16/neNEEF6SS1/GhRulIudrh8V2+M/9mh4rA+VaO8abZZxh33N85Kj1fFSgFg/8Nqr5+URggPZCUCQE159pWfRpu+7rvU8LRCJiYpWihA5xe9pca0yhK9c8mnlEuOP6Y7dqqV63P8cT3LsiWGFE2C3GS2Nb51FABCIabEkJIQKz13qa+5tgIXYXSIQflIflbiBy1dXDBDG/PqswaXh/i4teeBZvxec6cAQw8bkt9ouG4emgMAHg/2JEZ/VV+1P1Pdp1MpZGJTj62uqQNBeCiKfNNYHQoxZ8+1lxWllxdnHMzVcH2qX7uiiMKb3j2mT4mjNmkAaLzYYzJbr50/YcxL6h+dx0VYW9dU/YXOz2sr0pJi4qIjAQBFkTdffBTh8Rq+uLXlM9j6Ht8D4fFOP1OQo1NJcAEAKOUSTYIcAJxuH8OyTIilQ0y0TAwAzbUVXEQpl3CLwHqQYVgAEAr48cpIAHAtEz6CWic3o2VidZwUAFwrgU2a8ayup2ogXhkBADptrADjz8yvDtye31LpPsb79KqqI3sdLt/lH0deOWkAAPuiFwBiFBJu9igfmXd5VbHSmte/9QcoBOFRQbrEkMzF45QRALC0TLhXAgCgiMJxEYaLsBXvhtPt5yoIjyeX4gCwtBIAgDGrSyREddrYgzmaLsts2MZ+ggKAaJn40IE9XMUy5ljzkaXGtILs3bgI/fRyv6nH9lxl7sX6KiJAyaLws5+0czub6yo4495hu3XWU1OefeYF4+kTBQKM322Z/WXUTlJ0WVF6cb5WLMJsc8sLbh8AMAz74ZfdF+oqXz5ZMDA2L5firmWCOysO/q7Msr+KxigkgY3N/lG7dc7j8hAsyw5OOOcca4sef+fATFu3dcHtx1Dkzl1379DcTfP07SkXw7I+ghqacPaP2AMbQc/qenAzNDntvtYx8cPPk65lwjq7HKRD7pWAyWxr+c5CUnTfiJ1lwesne4d//6jVTNOMIkp85+5Se+80GaRZBnwEKcD4PoKiaeaeG2/nf7zt7BhvPzvG288fo7jafKQTMeAAAAAASUVORK5CYII="},"966c":function(t,e,a){},"96db":function(t,e,a){"use strict";a("fa73")},"9ab0":function(t,e,a){},"9c70":function(t,e,a){"use strict";a("d264")},"9c9e":function(t,e,a){},"9e32":function(t,e,a){},a24e:function(t,e,a){"use strict";a("887b")},a2a6:function(t,e,a){},a4ed:function(t,e,a){},a560:function(t,e,a){},a5d5:function(t,e,a){},a713:function(t,e,a){},a94e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAAAWCAIAAABG5EluAAAFT2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjE0OSIKICAgZXhpZjpQaXhlbFlEaW1lbnNpb249IjIyIgogICBleGlmOkNvbG9yU3BhY2U9IjEiCiAgIHRpZmY6SW1hZ2VXaWR0aD0iMTQ5IgogICB0aWZmOkltYWdlTGVuZ3RoPSIyMiIKICAgdGlmZjpSZXNvbHV0aW9uVW5pdD0iMiIKICAgdGlmZjpYUmVzb2x1dGlvbj0iNzIuMCIKICAgdGlmZjpZUmVzb2x1dGlvbj0iNzIuMCIKICAgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIKICAgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMS0wMS0yMFQxNjoyOSswMTowMCIKICAgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMS0wMS0yMFQxNjoyOSswMTowMCI+CiAgIDxkYzp0aXRsZT4KICAgIDxyZGY6QWx0PgogICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+dGlkYWwtYXVmLXNjaHdhcno8L3JkZjpsaT4KICAgIDwvcmRmOkFsdD4KICAgPC9kYzp0aXRsZT4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0icHJvZHVjZWQiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFmZmluaXR5IFBob3RvIDEuOC41IgogICAgICBzdEV2dDp3aGVuPSIyMDIxLTAxLTIwVDE2OjI5KzAxOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7l3Ii6AAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rw2Ecx1/baGKamHJwWBonNFPi4rDFKBy2KcNl++6X2ubb97ul5apcV5S4+HXgL+CqnJUiUnJTzsQFfX2+pibZ5+n5PK/n/Xw+n57n84A1klVyep0XcvmCFgr63XPRebf9EQsunLTSHlN0dTo8HqGmvd1ItNhVn1mrdty/1pRI6gpYGoRHFVUrCE8IT60UVJM3hV1KJpYQPhbu1eSCwtemHq/wk8npCn+YrEVCAbC2CLvTvzj+i5WMlhOWl+PJZYvKz33MlziS+dmwrF0yO9EJEcSPm0nGCDDEACPih+jDR7/sqJHv/c6fYVlyFfEqJTSWSJOhQK+oRamelDUlelJGlpLZ/7991VODvkp1hx/qHwzjpRvsG/BZNoz3fcP4PADbPZzlq/nLezD8Knq5qnl2wbkGJ+dVLb4Fp+vQcafGtNi3ZJNpTaXg+Qiao9B2CY0LlZ79nHN4C5FV+aoL2N6BHol3Ln4BNttn0C4MJUsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAX1SURBVGiB7ZlfSFNfHMC/2qaTtpszdVMGalg6KcWm0srpZKAg9VD04EsJ0ltREEWQvoUPPvkimKAPgjgQCklL579ZUIrkpLKaytrCnE63NTZlbvN2ezh0uNxtd3f+ptaPfZ7OOd8/53t27vmePwOIEyfOUXGMRVZYWDg6OmqxWEwmE0MkFAoNBsPa2trS0hJDJJFIpqenHQ7H169fYxxsHO7k5OR8//6doiin03nhwgW6KCsry2QyURTl8/muXLnCEM3OzlIURVHU1atXDzfkOH/Izs52u93UH7a3t/Pz87EITR7C5/PV1dUhkVgsnp+fp2hcu3Ytqn4VCoXNZrOwsrGxcevWLRYnMpnMbrdbLBar1Xrnzp2Inep0OkYXKysrExMTjx49Onv2bHJyclRDAICysrKNjQ0UQEdHR1S2vb29KAaDwXDsGFt2DItUKqVCUVBQQBCExWJhtPt8vvLycgAwGo3BVlGtQqVSGbJrBvfv32dxkpubizUfP34csVODwcDS1+rqanZ2NvchAIBer8fmTqdTKBRytx0cHESG6+vrXOYvMbjp6dOnIVVfvnw5ODiYk5PDaE9KSpqcnHz+/HlBQUGwVXd3N0EQHCIHANjnF3eQyGQyk8l0+fJljvpFRUXV1dW4KhaL2b+22CORSL58+cL4DAOBgEKhkEgk7969Y4gcDodCoRAIBK9fv2aIPB4Pzq5cIAiipqZGpVKpVKrKykrscGdnR61Wo3a1Wi2TyVic7Hv9jY+PX7p0CXVx+/bt5eVl7IckyTNnznAZwpMnTxg/wvLyMtfxR7/+QnPixInFxUV6EiguLkYiqVQ6NzeHRZubm1VVVUhEEMTU1BQWeb3e+vr6fUYAAADDw8PIldvtFggEHK32PX9arZbenpSU1Nvbi129ePEi4g+amppqs9mQ/r1791wuF/70OQYfm/kDAD6f/+nTJ4qi7Hb7+fPn6SKxWIy2OofDoVar6SKCINCi8fv9Go1m/90DwFHPHwAIBAL6pp6bm8vuqqmpCa/XjIyMN2/eoOrMzExiYoitKpgY7H+IQCBQUVFhNBo1Go3BYKCLfv78WVRUZDab6+rqpqen6SK3211fX7+4uKhUKicnJ7lE/Dezu7vb3t6Oq6dPn2bXv3nzJir09/dvbW319fWhallZmUQiOYgI2T4Kr9dbXFz84cOHYFFCQkI4q52dndLS0vn5+RhE9xdgNBpxWSQSsWiWl5erVCoA8Pv9Dx48AACtVutyuQCAx+PduHHjIMKLsKgDgUBwo1gs/vz5c15enk6nY+RPxN7eXkyC+xvg8XgcNZubm1GSXF1d3dzcBACPx/Ps2TMkbWlpSU1NjXl4nJIyHalUqtPp0FUhLS1tYGAAn1/+l6CrLcJut4dT4/F4Fy9eROWhoaHCwkK5XC6Xy6emplCjSCSqqak50FAjI5VKw90fDqK7Iz+/nDx50mw24+N0ZmZmOCcPHz7Ene7t7eHyr1+/cFmn00U8xcTs/BKSzs5OpVLJaExLS9Pr9ex7wz8BRVH0anp6ularxWfOzs5OlBWDEQgELS0tuEr/3ekHhdraWnwNixVckzuisbHx48ePjCcYdFXweDwxDewIyMzMLC0tFQqFIpGooaGhoaGBz+djaWtrazjDU6dO4UeypaUlm81GnzY+n4//AGhqarp79y6XYJKTkzUaDX29+nw+vV4f1YhCEPx+XVtb+1+dhuGQ82c4nE4n+xPoxMQE0nS5XOnp6QxpSkrK1tYWUrBarcePH2dxhfNnMD9+/AjWj/r8YrVaKysrv337BgB+v//69etjY2PROvlXIEmyp6fn3LlzVqs1nE5+fj5+qXj16lXwGcfr9ba1taFyVlZWY2NjDCOMLn8i1tfXS0pKZmdnm5ubh4aGYhgNg/fv3wMARVF+v58kSY5Wu7u7IyMjJEkmJCSYzeaI+m/fvl1bW6O3kCS5vb09Nzc3MjKysrLCbl5SUjI8PAwAiYmJ4Z7+u7q6qqqqUFKVy+Us3hYWFsIdW5xOJ3skceLEOVx+A9Oa01oUntDnAAAAAElFTkSuQmCC"},aa43:function(t,e,a){},aaac:function(t,e,a){},abee:function(t,e,a){t.exports=a.p+"img/yt_icon_rgb.9a59817e.png"},ac3f:function(t,e,a){"use strict";a("34b7")},ad84:function(t,e,a){},addf:function(t,e,a){},adfc:function(t,e,a){"use strict";a("ea9c")},ae4b:function(t,e,a){"use strict";a("6a57")},b1ed:function(t,e,a){"use strict";a("890f")},b2af:function(t,e,a){},b4c7:function(t,e,a){"use strict";a("4a4c")},b5d1:function(t,e,a){},b7f0:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEkAAAAWCAYAAACMq7H+AAAEr2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjczIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMjIiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI3MyIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMjIiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDEtMjBUMTY6MTI6MjkrMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDEtMjBUMTY6MTI6MjkrMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS44LjUiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDEtMjBUMTY6MTI6MjkrMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/PjjhpLQAAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRu0sDQRCHvySK4oMIprCwOEStVHxg0MYiwReoRRLBV5Ocd4mQS467BAm2gq2gINr4KvQv0FawFgRFEcROsFa0UTnnjBARM8vOfvvbmWF3FryxtGrYFd1gZHJWZDSkzMzOKVWPeAjgx0d/XLXNyehIjLL2diPRYledbq3ycf9a7aJmq+CpFh5STSsnPCY8sZwzXd4UDqip+KLwsXCHJRcUvnb1RJGfXE4W+cNlKxYJg7dBWEn+4sQvVlOWISwvp9VI59Wf+7gvqdMy01FZW2Q2YxNhlBAK4wwTJkgPg+KDdNJLl+wok9/9nT9FVnJV8SYFLJZIkiJHh6h5qa7JqouuyUhTcPv/t6+23tdbrF4XgsoHx3lpg6oN+Fx3nPd9x/k8AN89nGVK+dk9GHgVfb2kte6CfxVOzktaYgtO16Dpzoxb8W/JJ9Or6/B8BPWz0HgJNfPFnv2cc3gLsRX5qgvY3oF2ifcvfAFb/mfhZ5jrKwAAAAlwSFlzAAALEwAACxMBAJqcGAAABd1JREFUWIXt2X2s11UdB/DXvaDOx1UOKqnvekDbKcWWVjg0lmQBuRRqC3tYXxUozbYiXeBDWzlYboYLnToVPRpOjbX1YFktZ61NQnQBid/xkA9n9oBpgQJqPNz+OOcX3/vzXi8XnCPrvX13f9/v+ZzPOef9efx+b49BUDX1oRiPE8t1Anbhwda1PIX4/GA6XivoGehh1dRTcBOOGmL+Yzg7hfjbV3pj+xP6kVQ19eFYiJnD0NGHRZj3WvWq/5BUNfURcggdvZe6VmF8CvGFV2Jj+xN6W78X2nuC4Hhcvm/b2T/RA1VTT8Y9A4xvwvbW/aE45GX07cLJKcRlgwlUTd2Lg16N0Kya+kD8FP9MIc4oz0bgNFS4L4W4fig9PaWKrcUYPI0r8QesTCE+1bVoD96G43AsPoYPdelch2NTiNu75h6HL2E63ognsATfSSFu3eOTvwyqpr4A78aCFOKTVVOPxXrZ0KNSiJurpl5d9g/zU4iXDqV3JE6SCYJrU4hXtBYdiYPKbQ+2phAfk6vaT7Cgaur34Hx8HofjGIzDQy09R+JejMJqPFvkLi16h9zoHmIaTsXNeDKFuKFq6ml4rhB0vEzQKszF3/ZE6Ui5/+ngi1VTH4K3yAc9psh0sK1q6gZr8ADuSCGuwZerpr4FK4rcCVokYaJM0C9TiJOhauoJOBPzC9Hn4Pf4O87CCPwohXh3e8Pl0B+RDbICN6UQn6+a+nMYW8S+WjX1RjnPTsBzVVP/BR0H2IFJRd/RKcSlLf2z5dy8CAdiS0/V1EvxqQEIfEq2+mYcUCa8WQ6zEUXmBdyF2wqh15XnN6YQZ7cWnoqfFZ1n41cpxB2t8en4If5c1mgXlCtSiHNLLlsqh2sbG8qBF+KTXWMfxPKy7kzZ+7vxV7w1hbiztEAb8a9ynplY3u1JcAfmpBAHdMWSw96PKZiNL5SrjW6d92El3iuT9XTV1Dfg6q51xsjWvr7ovwoXVU19Oz4sE7QK8+RQuUwOsRtQl/njZaM/LJPewa/xjaL/+5iP78l5dQruxhk4GLfiRTnp9wulDrbgqKqpJ8llfZSc+F7En2TLLEsh/qZq6ssxC9/GYS0d/ZrUEg4fKIc8X072F+PrVVPPaImuSyHOLb+vq5r6tELCKXZ7+2UpxHugauqZmCpXqy3YVmSeSCGurZq6k087e+gYZFMZX1RIOqeQdFYZX5xC3Iw/kt26nTuUQz8kV56LZAvNwgWyZe/HpuIJY1KIVymMt/Bg170U4vYU4l0pxIlyzF8tF4U5LbE1XdM696PsfkV6uKXzH3KV7MXo7jX3AL/Aozi9auqAj2J1CrHf/gciiZwfrscCXCgzfaZcwm+V43YWmqqpV2FG1/x+OqumHl019ZJSkqUQN8ju3ieHYAeTq6Z+fZnTK3sRPCKHK7mKdvS+T84dm+SK21eGBoqQlyCFuKuc8wDcWeYt7pYb6aVWXysn1x4c2bpeJ1eTxXLTOE3ODd35xwA6L8ZnMb1q6t/hcbni9cjW7OBgrK+a+gdyCI2VD/9zud/5BL5VNfVE2YM6xvlmCrGvGGwSrizV7JIB2emPm+V0MU5OKUu6BXqxTP8E9y65om2WXXFFOcidsoc8K3vTOnxmgEXXy1WxjTmyF26UXXq23LkvwnktuXvlw58nE7QG01KIW1OIK/HxMn6qbMhdRfc1Zf5tsgEmyMm4UyX7BvkrhfiMXKHhxyWE+6HzWjJFttZwsdPudkDZ9CkpxPsHm1DC6U0pxKb1rNMC3IJz7e53NqQQ+7rm9+AdcqF4pLuzLzJj8XgKcUfV1KOxM4X4THlNeYPcXG6tmvp0uSe8RM55J6UQH+jW1/4KsFjOPfuC76YQLxzupDZJKcR93cNw1n0Uby+316QQvzKQXDvBfU3OE+/cyzVX2/vXi2X4tNxivJoYh5PllqEZTKj7o9sRcud67jAW6pPL+bwU4rahhP8bMdjn26m40f8/32IQkqBq6sPkd58TW9dO/4P/CPg3SJUOnfomAmsAAAAASUVORK5CYII="},b890:function(t,e,a){},b921:function(t,e,a){"use strict";a("a4ed")},b940:function(t,e,a){"use strict";a("bde1")},bb44:function(t,e,a){},bc8b:function(t,e,a){"use strict";a("6b64")},bc98:function(t,e,a){"use strict";a("158e")},bd23:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAWCAYAAABEx1soAAAEr2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249Ijg4IgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iMjIiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI4OCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iMjIiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLjAiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLjAiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjEtMDEtMjBUMTY6MTI6MDErMDE6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjEtMDEtMjBUMTY6MTI6MDErMDE6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS44LjUiCiAgICAgIHN0RXZ0OndoZW49IjIwMjEtMDEtMjBUMTY6MTI6MDErMDE6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/PhqkvwkAAAGCaUNDUHNSR0IgSUVDNjE5NjYtMi4xAAAokXWRu0sDQRCHvySK4oMIprCwOEStVHxg0MYiwReoRRLBV5Ocd4mQS467BAm2gq2gINr4KvQv0FawFgRFEcROsFa0UTnnjBARM8vOfvvbmWF3FryxtGrYFd1gZHJWZDSkzMzOKVWPeAjgx0d/XLXNyehIjLL2diPRYledbq3ycf9a7aJmq+CpFh5STSsnPCY8sZwzXd4UDqip+KLwsXCHJRcUvnb1RJGfXE4W+cNlKxYJg7dBWEn+4sQvVlOWISwvp9VI59Wf+7gvqdMy01FZW2Q2YxNhlBAK4wwTJkgPg+KDdNJLl+wok9/9nT9FVnJV8SYFLJZIkiJHh6h5qa7JqouuyUhTcPv/t6+23tdbrF4XgsoHx3lpg6oN+Fx3nPd9x/k8AN89nGVK+dk9GHgVfb2kte6CfxVOzktaYgtO16Dpzoxb8W/JJ9Or6/B8BPWz0HgJNfPFnv2cc3gLsRX5qgvY3oF2ifcvfAFb/mfhZ5jrKwAAAAlwSFlzAAALEwAACxMBAJqcGAAABbFJREFUWIXlmXls1UUQxz9tnwmHghwRKIcVkUPDuSMaCEg8gtF4goGoCaDimSjGBA8QMRX0HxIh4RLU4BEvGhKM4BkNNMaU2bZAORS5RBBQUG4QEP/Y/fm2j9/r+71C/6nf5KWzs7O7s7Pzm53ZQh4QMSUi5pZ8xvzfUZhESMQUiJipwBbgvgbVqJEhlVDuOeAlT5c3kC6NEjk9WMS0BCb75ibgzQbVqJEhSYjoBzQDqoHrVe3fDatS40JBJkPEtAcGAzWq9kffbgdsBXoCVwLrAFW1Z+ImFTGtgYt984iq3ZNNARFTCJQErB2q9qTvKwaaeP5eVXs4ZnwSmYuA/sDlwBngJ2C1qj0SI1sAXBawtqva01l0vxDoA/QAduBstjuUSQXCXYH3gWvwhhcxO4FPgQ7A8GAjALtEzGhVuzJm7cnA057eI2K61OH5twNLgnYvYKOny4BrPX2/1y8TS4CBcTIi5gJgIvAM0Cpj3D4RMx2YmWHAFsDmoN0BqGU0f2CzgDFkOKmI+Rx4TNVuAx8ivJd+5TcTDugIPArcQW3jAhQDX4iYnjGbDtEOGFVH/1M5xp8LZgGvcLZxAdoAM4Dp+UzobVUNjCUmAgA3AzUi5ipIx+B5QNd8FvJYoGo35hbjyTimiOkNDKvHujkhYgbhnCPCdJynD8EZPgpvE0VM3zymLiVtq9PAbNyXMwXY7/nNgUUipijlY+CweuxhBTAhoayImEGq9vsMfqzhzxOGBPS3qnZS0C4XMV2AO317KLA614QipjswLmA9oGrfCfqX4rwbwAD9C4HeQMv89efLbJdcFtQypohpQ8MWLcUBHZctjcVdTj2ADxPOORgo8vQm4N2wU9WuBtYErAEpYFDCyTNhE8qtAq4GRoiYjqp2p+ePB5oCp4AaXDp4PrEuoK/z3jUHWKFqj6raA8CBPOfsFtCrsjjYOOAKT9ekcBusDzomlJsFvI3LWB4HJomYiAZYjLtAz7eBP8LFxUjP2/zvlIipAhYCi1TtiTzmDO+pHXECqrYSqIzahcD6PBYIcWNCuV9x6RbAwyKmCXAX0NnzZtZz/TrhPfQmv3boaSncFzUf2CpiHspj2qYBnajgOhcDjxYxwxPKvu7/tgXuJZ2aVajaH+q5fk6o2g2qdiTQFxceaqht7A7AfBEzNOGUoVETveMUqto/gV8SLpCJMhEzPpeQN2KFb07DXRbgwkdSFGXhZ+bnceuvVbVPqNreuMtvMnDIdxfiDj0JtgV0cZyAiGktYrr6X6voFOaRZ8Lt0RwYASxIIDsTV2W19+3fgI9zjAkrqLPydBHTCZcFnSUvYvqRPpQ1UfntS9lpIqYZ8ILvz1UsRfg5oLPdGWWk094JUfoyBziYcJFMJPXCT4BdQXtutOk6EOamY7xRQoymdjVVHdAfAOp/j8TM3SKgt+XQI0JFQPfN/OeDP/Aw3FSlwF0IImY28HzChSKsULXLkgiq2pMiZi6uEjqBu2RyYQkwCRfvSoDtIuY9oApXPd0QyH6navcF7W9Ie+bLIuYS3LvKKdy7yoOBbKI3blVbLWIWAyM9q0zEvIYzfCfcu0fktJuBijABL6W2B+TC4Qwlk2AG7jWul6rdm0vYJ+6lAastrnpchMsQIv0P4gqHEFOA6BWvNfAizhCVwKukM4Kvgbfy2MOzwB+ebgJMBZYBb5DOk08DY1Xt8f8MrGqPAXdTO6s4BqwElgN/Bfw9wChVG8aknFC1x/zNvjWPYaW4V6vdWfo/A4yq3Z6x1n7c28PSLOOO47Kbe1TtP0mVUbVbcHF/eRaRSmCgqi2H+PfgAuBW4ChQHj0zen4/XJWyVNUez6aEiOlM+jLbqGoPZZP18t1Iv3itjZvbx98+uM++De7CWa9qN9U1tx9bgnsG7YEz7GagWtX+HiNbBAwIWFWqNrYYEzGXep264/L9GmBDeGD/AuXRzNqLlAOgAAAAAElFTkSuQmCC"},bde1:function(t,e,a){},be78:function(t,e,a){"use strict";a("44a8")},c215:function(t,e,a){"use strict";a("7bfe")},c522:function(t,e,a){},c558:function(t,e,a){},c55d:function(t,e,a){"use strict";a("56e7")},c704:function(t,e,a){"use strict";a("c9b1")},c830:function(t,e,a){"use strict";a("ebc0")},c9b1:function(t,e,a){},cce8:function(t,e,a){"use strict";a("f285")},cdcd:function(t,e,a){"use strict";a("0f35")},cf63:function(t,e,a){t.exports=a.p+"img/avatar-300-musician-with-guitar.ab7df9ad.png"},d118:function(t,e,a){},d1a9:function(t,e,a){},d1cb:function(t,e,a){"use strict";a("848f")},d1e4:function(t,e,a){},d264:function(t,e,a){},d710:function(t,e,a){t.exports=a.p+"img/data-quality-a-z-level-2.fda005d3.svg"},d7ce:function(t,e,a){},d9af:function(t,e,a){},d9cd:function(t,e,a){"use strict";a("90e0")},db1c:function(t,e,a){"use strict";a("6248")},df37:function(t,e,a){"use strict";a("966c")},e01e:function(t,e,a){},e1af:function(t,e,a){"use strict";a("8fd7")},e3328:function(t,e,a){},e455:function(t,e,a){"use strict";a("c558")},e482:function(t,e,a){t.exports=a.p+"img/alv-logo.52551fb0.png"},ea9c:function(t,e,a){},eb57:function(t,e,a){"use strict";a("9e32")},ebc0:function(t,e,a){},ebc2:function(t,e,a){"use strict";a("d1e4")},ed48:function(t,e,a){"use strict";a("d1a9")},ee19:function(t,e,a){t.exports=a.p+"img/default.17d65944.jpg"},ee54:function(t,e,a){},f1e2:function(t,e,a){},f1e5:function(t,e,a){},f285:function(t,e,a){},fa73:function(t,e,a){},fd96:function(t,e,a){t.exports=a.p+"img/data-quality-record-labels-level-1.1afea930.svg"},ffdb:function(t,e,a){}});
//# sourceMappingURL=app.41787463.js.map