/*! For license information please see commons-36009903019f0b74054a987e4d96001c.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseStatus=t.BINDING_TYPE=void 0,function(e){e.METHOD="&",e.METHOD_OPTIONAL="&?",e.ONE_WAY="<",e.ONE_WAY_OPTIONAL="\n \x3c!-- custom space --\x3e\n
\n\n
\n

\n {{$ctrl.dataTableCtrl.getSelectedSize()}} {{"thDataTable.selected" |\n translate}}\n

\n \n {{"thDataTable.clearSelection" | translate}}\n \n
\n\n\n
\n
\n
\n'},1002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TitlebarComponent=void 0;var r={template:n(1003),bindings:{title:"@",subtitle:"@?",href:"\n

\n \n {{ titleBarCtrl.title }}\n \n {{ titleBarCtrl.title }} \n

\n \n {{ titleBarCtrl.subtitle }}\n \n\n
\n'},1004:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxRecordsTooltipComponent=void 0;var r={template:n(1005),controllerAs:"maxRecordsTooltipCtrl",bindings:{exportTooltipKey:"<"}};t.MaxRecordsTooltipComponent=r},1005:function(e,t){e.exports='\n \n \n \n \n

{{ ::"thDataTable.maxRecordsTitle" | translate}}

\n

{{ ::"thDataTable.maxRecordsContent" | translate}}

\n

{{ maxRecordsTooltipCtrl.exportTooltipKey | translate}}

\n
\n
\n
\n'},1006:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(this.options.initialState=this.toolbarCtrl.savedFilterState),r(r({},this.options),{filterSet:this.filterSet,showEmptyCustomFilter:!0})},e.prototype.applyFilters=function(){var e=this.options.customFilterTypes&&this.options.customFilterTypes.length>0?this.options.customFilterTypes.map((function(e){return e.fieldIdentifier})):[];this.toolbarCtrl.applyFilters(void 0,!1,e),this.popoverCtrl.hidePopover(),this.onApplyFilters&&this.onApplyFilters({data:{activeFilterFields:this.getActiveFilterFields()}})},e.prototype.hasActiveStaticFilters=function(){var e=this.mapStaticFilterFieldIdentifiers(),t=this.getActiveFilterFields();return!!t.length&&(!!t.some((function(t){return e.includes(t)}))||!!t.find((function(e){return e.includes("custom_field_values")})))},e.prototype.getActiveFilterFields=function(){var e=this;return Object.keys(this.toolbarCtrl.savedFilterState).filter((function(t){var n=e.toolbarCtrl.savedFilterState[t].value;return e.isFilterValueEmpty(n)}))},e.prototype.isFilterValueEmpty=function(e){return e&&"object"===typeof e?Object.keys(e).some((function(t){return!!e[t]})):!!e||0===e},e.prototype.clearFilters=function(){this.toolbarCtrl.clearFilters(),this.popoverCtrl.hidePopover(),this.onClearFilters&&this.onClearFilters()},e.prototype.revertUnsavedChanges=function(){this.toolbarCtrl.revertFilters()},e.prototype.mapStaticFilterFieldIdentifiers=function(){var e,t,n=null===(t=null===(e=this.filterOptions)||void 0===e?void 0:e.staticFilters)||void 0===t?void 0:t.map((function(e){return"repeatedFields"===e.type?e.fieldsToRepeat.map((function(e){return e.fieldIdentifier})):e.fieldIdentifier}));return this.flattenFieldIdentifiers(n)},e.prototype.flattenFieldIdentifiers=function(e){return[].concat.apply([],e)},e.$inject=["$element","$scope"],e}();t.FiltersPanel=i;var a={template:o,require:{dataTableCtrl:"^^thDataTable",toolbarCtrl:"^^thDataTableToolbar"},bindings:{options:"<",onApplyFilters:"&?",onClearFilters:"&?"},controller:i,controllerAs:"filtersPanelCtrl"};t.FiltersPanelComponent=a},1007:function(e,t){e.exports='\n \n \n \n \n \n \n \n \n \n \n \n Apply filters\n \n \n Clear filters\n \n \n \n\n'},1008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnsToggleComponent=void 0;var r=n(1009),o=function(){function e(e){this.$element=e,this.popoverTemplate=r}return e.prototype.$onDestroy=function(){this.$element.remove()},e.$inject=["$element"],e}(),i={template:r,bindings:{parentType:"<"},require:{dataTableCtrl:"^^thDataTable",toolbarCtrl:"^^thDataTableToolbar"},controller:o,controllerAs:"columnsToggleSwitch"};t.ColumnsToggleComponent=i},1009:function(e,t){e.exports='\n\n'},101:function(e,t,n){(function(e){var r,o;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}o=function(){var e=[],t=[],n={},r={},o={};function i(e){return"string"===typeof e?new RegExp("^"+e+"$","i"):e}function a(e,t){return e===t?t:e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?(n=t).charAt(0).toUpperCase()+n.substr(1).toLowerCase():t.toLowerCase();var n}function s(e,t,r){return function(o){var i=o.toLowerCase();return t.hasOwnProperty(i)?a(o,i):e.hasOwnProperty(i)?a(o,e[i]):function(e,t,r){if(!e.length||n.hasOwnProperty(e))return t;for(var o=r.length;o--;){var i=r[o];if(i[0].test(t))return t.replace(i[0],(function(e,t,n){var r,o,s=(r=i[1],o=arguments,r.replace(/\$(\d{1,2})/g,(function(e,t){return o[t]||""})));return a(""===e?n[t-1]:e,s)}))}return t}(i,o,r)}}function c(e,t,n){return(n?t+" ":"")+(1===t?c.singular(e):c.plural(e))}return c.plural=s(o,r,e),c.singular=s(r,o,t),c.addPluralRule=function(t,n){e.push([i(t),n])},c.addSingularRule=function(e,n){t.push([i(e),n])},c.addUncountableRule=function(e){"string"!==typeof e?(c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")):n[e.toLowerCase()]=!0},c.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),o[e]=t,r[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["whiskey","whiskies"]].forEach((function(e){return c.addIrregularRule(e[0],e[1])})),[[/s?$/i,"s"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|tlas|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[emjzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/(m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach((function(e){return c.addPluralRule(e[0],e[1])})),[[/s$/i,""],[/(ss)$/i,"$1"],[/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(?:sis|ses)$/i,"$1sis"],[/(^analy)(?:sis|ses)$/i,"$1sis"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/(m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|tlas|gas|(?:her|at|gr)o|ris)(?:es)?$/i,"$1"],[/(e[mn]u)s?$/i,"$1"],[/(movie|twelve)s$/i,"$1"],[/(cris|test|diagnos)(?:is|es)$/i,"$1is"],[/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach((function(e){return c.addSingularRule(e[0],e[1])})),["advice","adulthood","agenda","aid","alcohol","ammo","athletics","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","commerce","cod","cooperation","corps","digestion","debris","diabetes","energy","equipment","elk","excretion","expertise","flounder","fun","gallows","garbage","graffiti","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","news","pike","plankton","pliers","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","species","staff","swine","trout","traffic","transporation","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pox$/i,/ois$/i,/deer$/i,/fish$/i,/sheep$/i,/measles$/i,/[^aeiou]ese$/i].forEach(c.addUncountableRule),c},"object"===i(t)&&"object"===i(e)?e.exports=o():void 0===(r=function(){return o()}.call(t,n,t,e))||(e.exports=r)}).call(this,n(77)(e))},1010:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n".concat(e,"")},e.prototype.hasCustomColumns=function(){return!(!this.dataTableCtrl.dataTableUserOptions.customFieldsOptions||!this.dataTableCtrl.dataTableUserOptions.customFieldsOptions.dataSource.data().length)},e.prototype.refreshDataTableColumns=function(){this.customColumnSelectOptions.dataSource.data()&&(this.dataTableCtrl.setCustomFields(this.customFields),this.updateLastState())},e.prototype.updateLastState=function(){this.lastCustomFieldArray=o.copy(this.customFields)},e.$inject=["$element","$timeout","$translate","CustomFieldsColumnsService","$sanitize"],e}();t.ColumnsToggle=s;var c={template:a,bindings:{parentType:"<"},require:{dataTableCtrl:"^^thDataTable"},controller:s,controllerAs:"customColumnsToggleCtrl"};t.CustomFieldColumnsToggle=c},1011:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0?a-4:a;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,c=n-o;sc?c:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var o,i,a=[],s=t;s>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},1015:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,c=(1<>1,u=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+p],p+=d,u-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=l}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,b=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*c-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=b,s/=256,o-=8);for(a=a<0;e[n+f]=255&a,f+=b,a/=256,l-=8);e[n+f-b]|=128*h}},1016:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},1017:function(e,t,n){e.exports=n(1018)},1018:function(e,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}e.exports="object"==("undefined"===typeof self?"undefined":n(self))?self.FormData:window.FormData},1019:function(e,t,n){"use strict";var r=n(33);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.clear=function(){this.handlers&&(this.handlers=[])},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},102:function(e,t,n){"use strict";var r=n(33);function o(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,s,c){var l=Object.create(i);return r.toFlatObject(e,l,(function(e){return e!==Error.prototype})),o.call(l,e.message,t,n,a,s),l.cause=e,l.name=e.name,c&&Object.assign(l,c),l},e.exports=o},1020:function(e,t,n){"use strict";var r=n(33),o=n(1021),i=n(463),a=n(307),s=n(219),c=n(458);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,null,e.transformRequest),c(e.headers,"Accept"),c(e.headers,"Content-Type"),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},1021:function(e,t,n){"use strict";var r=n(33),o=n(307);e.exports=function(e,t,n,i){var a=this||o;return r.forEach(i,(function(r){e=r.call(a,e,t,n)})),e}},1022:function(e,t,n){"use strict";var r=n(33),o=n(217),i=n(308);e.exports=function(e,t){return o(e,new i.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return i.isNode&&r.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}},1023:function(e,t,n){"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:n(1024),FormData:n(1025),Blob:Blob},protocols:["http","https","file","blob","url","data"]}},1024:function(e,t,n){"use strict";var r=n(457);e.exports="undefined"!==typeof URLSearchParams?URLSearchParams:r},1025:function(e,t,n){"use strict";e.exports=FormData},1026:function(e,t,n){"use strict";var r=n(102);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},1027:function(e,t,n){"use strict";var r=n(33);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1028:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},1029:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},103:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1157),t)},1030:function(e,t,n){"use strict";var r=n(33),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.slice(0,i)).toLowerCase(),n=r.trim(e.slice(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},1031:function(e,t,n){"use strict";var r=n(33);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},1032:function(e,t,n){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},1033:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=n(465).version,i=n(102),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return r(n)===e||"a"+(t<1?"n ":" ")+e}}));var s={};a.transitional=function(e,t,n){function r(e,t){return"[Axios v"+o+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,a){if(!1===e)throw new i(r(o," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!s[o]&&(s[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==r(e))throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),a=o.length;a-- >0;){var s=o[a],c=t[s];if(c){var l=e[s],u=void 0===l||c(l,s,e);if(!0!==u)throw new i("option "+s+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+s,i.ERR_BAD_OPTION)}},validators:a}},1034:function(e,t,n){"use strict";var r=n(219);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,o,i){n.reason||(n.reason=new r(e,o,i),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},1035:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1036:function(e,t,n){"use strict";var r=n(33);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1037:function(e,t){e.exports='\n {{"thCustomFieldsColumnsToggle.columns" | translate}}\n \n\n'},1083:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationService=void 0;var r=n(2);n(100);var o=n(2),i=n(310),a=function(){function e(e){this.$sanitize=e,this.defaultOptions={autoHideAfter:5e3,appendTo:"th-notification-container",animation:{open:{effects:"slideIn:left",duration:250},close:{effects:"slideIn:left",duration:250,reverse:!0}},button:!0,hideOnClick:!1},this.capitalize=function(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}}return e.prototype.initializeNotificationWidget=function(){this.notificationWidget||(this.notificationWidget=new kendo.ui.Notification(r.element("")[0],this.defaultOptions))},e.prototype.showNotification=function(e,t,n,r,a){if(t){this.initializeNotificationWidget();var s=this.setNotificationOptions(e,n);this.notificationWidget.setOptions(s);var c=(0,o.isString)(t)?"".concat(this.capitalize(e),": ").concat(t):"".concat(this.$sanitize(null===t||void 0===t?void 0:t.label),": ").concat(this.$sanitize(null===t||void 0===t?void 0:t.message));t=i.SafeHTMLBuilder.createInnerTag("span",c,{class:"notification-text",role:"alert",notificationId:a}),"function"===typeof r&&this.notificationWidget.one("show",r),this.notificationWidget.show(t,e),this.notificationWidget.setOptions(this.defaultOptions)}},e.prototype.showSuccess=function(e,t,n,r){this.showNotification("success",e,t,n,r)},e.prototype.showError=function(e,t,n){this.showNotification("error",e,t,void 0,n)},e.prototype.showWarning=function(e,t,n){this.showNotification("warning",e,t,void 0,n)},e.prototype.showInfo=function(e,t,n){this.showNotification("info",e,t,void 0,n)},e.prototype.clearNotifications=function(){this.notificationWidget&&this.notificationWidget.getNotifications()&&this.notificationWidget.getNotifications().each((function(){$(this).remove()}))},e.prototype.clearNotificationById=function(e){this.notificationWidget&&this.notificationWidget.getNotifications()&&this.notificationWidget.getNotifications().each((function(){r.element(this).find("span[notificationId=".concat(e,"]")).length>0&&r.element(this).remove()}))},e.prototype.setNotificationOptions=function(e,t){return t||{autoHideAfter:this.getAutoHideDuration(e)}},e.prototype.getAutoHideDuration=function(e){return"success"===e?5e3:8e3},e.$inject=["$sanitize"],e}();t.NotificationService=a},1084:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SystemNotificationService=void 0;var r=n(2);n(42);var o=function(){function e(e){this.$translate=e,this.defaultOptions={autoHideAfter:0,hideOnClick:!1,appendTo:"th-system-notification-container",animation:{open:{effects:"slideIn:left",duration:250},close:{effects:"slideIn:left",duration:250,reverse:!0}},templates:[{type:"warn",template:this.createTemplate("warning")},{type:"info",template:this.createTemplate("info")},{type:"critical",template:this.createTemplate("critical")}]}}return e.prototype.initializeNotificationWidget=function(){this.systemNotificationWidget||(this.systemNotificationWidget=new kendo.ui.Notification(r.element("")[0],this.defaultOptions))},e.prototype.createTemplate=function(e){var t;switch(e){case"warning":t="fa fa-triangle-exclamation warning-notification-icon";break;case"info":t="fa fa-circle-info info-notification-icon";break;case"critical":t="fa fa-circle-exclamation critical-notification-icon";break;default:t=""}return'
\n \n
\n \n # if (typeof linkUrl !== "undefined" && linkUrl) { #\n \n # } #\n
\n \n
')},e.prototype.showNotification=function(e,t,n){var o=this;this.initializeNotificationWidget(),this.systemNotificationWidget.setOptions(n||this.defaultOptions),this.systemNotificationWidget.show({message:e.message,linkUrl:e.url,linkText:e.link_text,id:e.id},e.level),r.element(".close-notification").unbind("click").bind("click",(function(e){var n=e.currentTarget.getAttribute("data-notificationId"),i=e.currentTarget.closest(".k-notification-wrap");o.systemNotificationWidget&&o.systemNotificationWidget.getNotifications()&&o.systemNotificationWidget.getNotifications().each((function(){var e=this;r.element(this).find("#"+i.id).length&&(r.element(this).kendoAnimate("slideIn:left",250,!0,(function(){r.element(e).remove()})),t&&t(n))}))}))},e.prototype.clearAllNotifications=function(){this.systemNotificationWidget&&this.systemNotificationWidget.getNotifications()&&this.systemNotificationWidget.getNotifications().each((function(){r.element(this).remove()}))},e.$inject=["$translate"],e}();t.SystemNotificationService=o},1085:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageBannerComponent=t.PageBanner=void 0;var r=n(1086),o=function(){function e(e,t){this.$element=e,this.$translate=t}return e.prototype.$onInit=function(){this.setDefaultType(),this.setA11yAttributes(),this.removeBannerLabel=this.$translate.instant("thPageBanner.removeBanner")},e.prototype.removeBanner=function(){this.$element.remove(),this.onDismiss()},e.prototype.setA11yAttributes=function(){this.$element.attr("tabindex","0")},e.prototype.setDefaultType=function(){this.type||(this.type="info",this.$element.attr("type",this.type))},e.prototype.determineIconClass=function(){switch(this.type){case"error":return"fa-circle-exclamation";case"success":return"fa-circle-check";case"warning":return"fa-triangle-exclamation";case"locked":return"fa-lock";case"new":return"fa-megaphone";default:return"fa-circle-info"}},e.$inject=["$element","$translate"],e}();t.PageBanner=o;var i={controller:o,template:r,transclude:!0,bindings:{icon:"@",type:"@",onDismiss:"&"}};t.PageBannerComponent=i},1086:function(e,t){e.exports='
\n
\n
\n
\n
\n
\n\n\n\n\n \n\n'},1087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1088),o=n(1093),i=n(1094),a=n(1095),s=n(1096),c="ThemisComponents-PopoverLegacy";n(2).module(c,[]).factory("PopoverManager",r.PopoverManager).directive("thPopoverLegacy",o.PopoverLegacyDirective).directive("thPopoverUrl",i.PopoverUrlDirective).directive("thPopoverContent",a.PopoverContentDirective).directive("thPopoverTarget",s.PopoverTargetDirective),t.default=c},1088:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverManager=void 0;var r=n(1089);function o(e,t,n){var o={},i={};return{attachPopover:function(n,o){var i=new r.PopoverHelper(e,t).addPopoverToTarget({element:n},o).renderPopover;n.on("click",(function(){return i()}))},showPopover:function(n){void 0===n&&(n={});var o=n.targetName,a=n.contentCallback;if(!i.hasOwnProperty(o))throw new Error("PopoverManager: target '".concat(o,"' does not exist."));if(!(a instanceof Function))throw new Error("PopoverManager: options must have Function 'contentCallback'.");var s=i[o];if(null==s.renderPopover){var c=new r.PopoverHelper(e,t).addPopoverToTarget(s,a),l=c.dismissPopover,u=c.renderPopover;s.renderPopover=u,s.dismissPopover=l}t((function(){return s.renderPopover()}))},hidePopover:function(e){if(!i.hasOwnProperty(e))throw new Error("PopoverManager: target '".concat(e,"' does not exist."));var t=i[e];if(null!=t.dismissPopover)return t.dismissPopover()},addContent:function(e,t,r){return o[e]={getContentPromise:function(){return n((function(e,n){return e({data:t})}))},contentScope:r}},getContent:function(e){if(!document.body.querySelector("[name=".concat(e,"]")))throw new Error("PopoverManager: content '".concat(e,"' not found in document body."));if(!o.hasOwnProperty(e))throw new Error("PopoverManager: content '".concat(e,"' does not exist."));return o[e]},addTarget:function(e,t){return i[e]={element:t}}}}t.PopoverManager=o,o.$inject=["$compile","$timeout","$q"]},1089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverHelper=void 0;var r=n(2),o=function(){function e(e,t){this.$compile=e,this.$timeout=t,this.overlay=null,this.view=null}return e.prototype.addPopoverToTarget=function(e,t){var n=this;return this.element=e.element,this.$scope=null,{dismissPopover:function(){return n.dismissPopover()},renderPopover:function(){return n.renderPopover(t)}}},e.prototype.dismissPopover=function(){this.clearWatchers(),this.overlay&&this.overlay.remove(),this.view&&this.view.remove(),this.arrow&&this.arrow.remove()},e.prototype.positionPopover=function(){var e=this;this.view&&this.$timeout((function(){var t;e.view.css({width:"auto",bottom:"auto"});var n=e.element[0].getBoundingClientRect(),r=e.view[0].getBoundingClientRect(),o=window.innerWidth-36,i=e.$scope.loaded?Math.min(o,r.width):200,a=n.left+n.width/2-i/2-6,s=n.top+n.height+10,c=Math.max(12,a),l=window.innerWidth-i-36;a>0&&(c=Math.min(l,a)),r.height+s>window.innerHeight&&(t=12),e.view.css({top:"".concat(s,"px"),left:"".concat(c,"px"),width:"".concat(i,"px")}),null!=t&&e.view.css({bottom:"".concat(t,"px")}),e.arrow.css({top:"".concat(s,"px"),left:"".concat(n.left+n.width/2-6,"px")}),e.overlay.removeClass("th-popover-hidden"),e.view.removeClass("th-popover-hidden"),e.arrow.removeClass("th-popover-hidden")}))},e.prototype.prepareScope=function(e){var t=this;this.$scope=e.$new(),this.$scope.overflow=this.element.attr("overflow"),this.$scope.loaded=!1,this.$scope.content="",this.clearWatchers=this.$scope.$watch("content",(function(){return t.positionPopover()}))},e.prototype.renderPopover=function(e){var t,o=this,i=null;if(null==this.$scope){var a;if(t=e(),i=t.getContentPromise,a=t.contentScope,!(i instanceof Function))throw new Error("renderPopover: contentCallback() must return Function 'getContentPromise'.");if(null==a)throw new Error("renderPopover: concentCallback() must return 'contentScope'.");this.prepareScope(a)}return this.$scope.$apply((function(){null==o.view&&(o.view=r.element(n(1090))),null==o.overlay&&(o.overlay=r.element(n(1091))),null==o.arrow&&(o.arrow=r.element(n(1092)));var e=r.element(document.body);if(e.append(o.overlay),e.append(o.view),e.append(o.arrow),o.overlay.on("click",(function(){return o.dismissPopover()})),o.$compile(o.view)(o.$scope),o.positionPopover(),o.view.on("click",(function(e){var t=[".chzn-container *",".th-switch *","[th-popover-persist]",".ui-select-choices-row-inner *",".ui-datepicker-prev",".ui-datepicker-next"].join(", ");if(!e.target.matches(t)&&e.target.matches(["a","a *",'td[ng-repeat="day in week"] span[ng-click="selectDate(day)"]']))return o.$scope.$apply((function(){return o.dismissPopover()}))})),!o.$scope.loaded)return i().then((function(e){o.$scope.loaded=!0,o.$scope.content=e.data}),(function(){o.dismissPopover()}))}))},e}();t.PopoverHelper=o},1090:function(e,t){e.exports="\n
\n\n"},1091:function(e,t){e.exports='
\n'},1092:function(e,t){e.exports='\n'},1093:function(e,t,n){"use strict";function r(e){return{restrict:"A",link:function(t,n,r){if(!r.thPopoverLegacy)throw new Error("thPopoverLegacy: must specify content name.");e.attachPopover(n,(function(){return e.getContent(r.thPopoverLegacy)}))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverLegacyDirective=void 0,t.PopoverLegacyDirective=r,r.$inject=["PopoverManager"]},1094:function(e,t,n){"use strict";function r(e,t){return{restrict:"A",link:function(n,r,o){if(!o.thPopoverUrl)throw new Error("thPopoverUrl: must specify url.");t.attachPopover(r,(function(){return{getContentPromise:function(){return e.get(o.thPopoverUrl)},contentScope:n}}))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverUrlDirective=void 0,t.PopoverUrlDirective=r,r.$inject=["$http","PopoverManager"]},1095:function(e,t,n){"use strict";function r(e){return{restrict:"E",link:function(t,n,r){if(!r.name)throw new Error("thPopoverContent: must specify name attribute.");e.addContent(r.name,n[0].innerHTML,t),n.attr("style","display: none;")}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverContentDirective=void 0,t.PopoverContentDirective=r,r.$inject=["PopoverManager"]},1096:function(e,t,n){"use strict";function r(e){return{restrict:"A",link:function(t,n,r){if(!r.thPopoverTarget)throw new Error("thPopoverTarget: must specify name.");e.addTarget(r.thPopoverTarget,n)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverTargetDirective=void 0,t.PopoverTargetDirective=r,r.$inject=["PopoverManager"]},1097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressBarComponent=t.ProgressBar=void 0;var r=n(1098),o=function(){function e(){}return e.prototype.$onInit=function(){this.min=this.min||0,this.max=this.max||100,this.value=this.ngModel,this.initOptions()},e.prototype.$onChanges=function(e){e.ngModel&&(this.value=e.ngModel.currentValue)},e.prototype.initOptions=function(){this.options={min:this.min,max:this.max,showStatus:!1,animation:{duration:this.fast?100:500}}},e.prototype.isOverMax=function(){return this.ngModel>this.max},e.prototype.isOverWarn=function(){return this.warn&&this.ngModel>=this.warn&&this.ngModel<=this.max},e}();t.ProgressBar=o;var i={controller:o,bindings:{min:"\n'},1099:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this.$element=e,this.$attrs=t}return e.prototype.$onInit=function(){this.maxHeight=parseInt(this.$attrs.thScrollPanel,10),this.validateArgs()},e.prototype.$postLink=function(){this.$element.css({boxSizing:"border-box",maxHeight:"".concat(this.maxHeight,"px"),overflowY:"auto"})},e.prototype.validateArgs=function(){if(isNaN(this.maxHeight))throw new Error('"'.concat(this.$attrs.thScrollPanel,'" is not a valid value for thScrollPanel.'))},e.$inject=["$element","$attrs"],e}();t.default=function(){return{restrict:"A",controller:r}}},11:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);function o(e){return e.replace(/(_\w)/g,(function(e){return e[1].toUpperCase()}))}var i=function(){function e(){var e=this;this.roles=[],this.capabilities=[],this.permissions=[],this.validateCapability=function(t){var n={};return n[t]&&!e.validateRollout(n[t])||e.capabilities.includes(t)},this.validatePermission=function(t){return e.permissions.includes(t)},this.validateRollout=function(t){return t in e.rolloutsState&&e.rolloutsState[t]};var t=new r.ThemisState,n=t.get("accountData");this.permissionsState=n&&n.current_user&&n.current_user.permissions,this.permissionsState&&(this.setupCapabilities(),this.setupPermissions()),this.rolloutsState=t.rollouts}return e.prototype.getCapabilities=function(){return this.capabilities},e.prototype.getPermissions=function(){return this.permissions},e.prototype.getMultiplePermissions=function(){return this.multiplePermissions},e.prototype.setMultiplePermissions=function(e){this.multiplePermissions=e},e.prototype.validatePermissions=function(e){var t=this,n=!0;return e.forEach((function(e){if(!n)return n;n=t.validatePermission(e)||t.validateCapability(e)})),n},e.prototype.setupCapabilities=function(){var e=this;this.permissionsState.has_capability&&(this.capabilities=Object.keys(this.permissionsState.has_capability).filter((function(t){return e.permissionsState.has_capability[t]})).map(o))},e.prototype.setupPermissions=function(){var e=this;if(this.permissionsState.can_use){var t=Object.keys(this.permissionsState.can_use).filter((function(t){return e.permissionsState.can_use[t]})).map((function(e){return"can_use_".concat(e)})).map(o);this.permissions=this.permissions.concat(t)}if(this.permissionsState.can_see){var n=Object.keys(this.permissionsState.can_see).filter((function(t){return e.permissionsState.can_see[t]})).map((function(e){return"can_see_".concat(e)})).map(o);this.permissions=this.permissions.concat(n)}},e}();t.default=i},1100:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0},e.prototype.isStepClickable=function(e){this.getStep(e);var t=this.getStepIndex(e),n=this.getStepIndex(this.currentId);return this.linkNextSteps&&t>n||this.linkPreviousSteps&&t\n \n
\n
{{ step.name }}
\n
\n
\n \n\n\n'},1102:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StepController=t.StepComponent=void 0;var r=n(1103),o=function(){};t.StepController=o;var i={controller:o,controllerAs:"stepController",bindings:{step:"<"},template:r,transclude:!0};t.StepComponent=i},1103:function(e,t){e.exports='\n \n\n'},1104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwitchDirective=t.SwitchController=void 0;var r=n(1105),o=n(29),i=function(){function e(e,t,n){var r=this;this.$element=e,this.$scope=t,this.$timeout=n,this.onClick=function(){r.ngDisabled||r.toggle()},this.keyboardToggle=function(e){e.keyCode!==o("Space")||r.ngDisabled||(e.preventDefault(),r.$timeout((function(){r.toggle()})))},this.addA11yAttributes=function(){r.ariaLabel||(r.name?r.$element.attr("aria-label",r.name):console.warn("An instance of thSwitch is missing aria-label and name attributes. Please ensure it has at least one."))}}return e.prototype.$onInit=function(){this.state=!!this.state&&this.state},e.prototype.toggle=function(){var e=this;this.$scope.$apply((function(){e.state=!e.state,e.change({state:e.state})}))},e.prototype.$postLink=function(){var e=this;this.$element.on("click",this.onClick),this.$timeout((function(){e.initialized=!0,e.addA11yAttributes()}))},e.prototype.$onDestroy=function(){this.$element.off("click",this.onClick)},e.$inject=["$element","$scope","$timeout"],e}();t.SwitchController=i,t.SwitchDirective=function(){return{restrict:"EA",replace:!0,template:r,scope:{name:"@",change:"&ngChange",state:"=?ngModel",ngRequired:"=",ngDisabled:"<",ariaLabel:"@"},bindToController:!0,controller:i,controllerAs:"switch"}}},1105:function(e,t){e.exports='\n \n\n'},1106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(1107),i=n(1109),a=n(1110),s=n(1111),c=n(1112),l=n(1113),u=n(1114),p=n(1115),d=n(1116),f=n(1117),b="ThemisComponents-Table";r.module(b,[]).directive("thTable",o.TableDirective).directive("thTableCell",i.TableCellDirective).directive("thTableRow",a.TableRowDirective).factory("SimpleTableDelegate",s.SimpleTableDelegateService).factory("Table",c.TableService).factory("TableDelegate",l.TableDelegateService).factory("TableHeader",u.TableHeaderService).factory("TableFooter",p.TableFooterService).factory("TablePagination",d.TablePaginationService).factory("TableSort",f.TableSortService),t.default=b},1107:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableDirective=void 0;var r=n(2),o=n(1108);function i(e,t){return{restrict:"E",scope:{delegate:"="},bindToController:!0,controllerAs:"thTable",controller:["$scope","$element",function(e,t){o(t,e);var n=function(e){var n=Array.prototype.slice.call(t[0].querySelectorAll("tr")).find((function(t){return t.contains(e.target)})),o=r.element(n),i=function(){if(o.hasClass("th-table-cells-row")){var e=o.next();if(e.hasClass("th-table-actions-row"))return e}else if(o.hasClass("th-table-actions-row"))return n.previousElementSibling}();return{hoverRow:n,partnerRow:i}};this.mouseOver=function(e){var t=n(e);r.element(t.hoverRow).addClass("th-table-hover-row"),r.element(t.partnerRow).addClass("th-table-hover-row")},this.mouseLeave=function(e){var t=n(e);r.element(t.hoverRow).removeClass("th-table-hover-row"),r.element(t.partnerRow).removeClass("th-table-hover-row")}}],compile:function(n,r){var o=t({element:n[0]});return o.clear(),{post:function(t,n,r,i){o.setDelegate(i.delegate);var a=o.generateTableTemplate(),s=t.$parent.$new(!1,t);s.thTable=t.thTable;var c=e(a)(s);n.append(c)}}}}}t.TableDirective=i,i.$inject=["$compile","Table"]},1108:function(e,t,n){var r=n(29);e.exports=function(e,t){var n=void 0;e.on("keydown",(function(o){"TD"!==angular.element(o.target)[0].tagName&&"TH"!==angular.element(o.target)[0].tagName&&"A"!==angular.element(o.target)[0].tagName||o.keyCode!==r("Space")&&o.keyCode!==r("Up")&&o.keyCode!==r("Down")&&o.keyCode!==r("Page Up")&&o.keyCode!==r("Page Down")&&o.keyCode!==r("Right")&&o.keyCode!==r("Left")&&o.keyCode!==r("Home")&&o.keyCode!==r("End")||o.preventDefault(),setTimeout((function(){var i,a=angular.element(o.target)[0],s=0,c=[],l=a.parentNode.rowIndex;angular.forEach(t.thTable.delegate.headers,(function(e,t){e.visible?s++:c.push(t)})),n>=0&&n=0;){var u="right"===t?i+1:i-1;if(-1===c.indexOf(u))return n="right"===t?a.cellIndex+1:a.cellIndex-1,angular.element(r).find(o)[n];"right"===t?i++:i--}};if("TD"===a.tagName||"TH"===a.tagName){if(o.keyCode===r("Up")){var M=1===l?"th":"td";i=b(e.find("tr")[l-1],M)}if(o.keyCode===r("Down")&&(i=b(e.find("tr")[l+1],"td")),o.keyCode===r("Page Up")&&(i=angular.element(e.find("tr")[1]).find("td")[n]),o.keyCode===r("Page Down")&&(f=angular.element(e.find("tr")[e.find("tr").length-1]),angular.element(f).hasClass("th-table-actions-row")&&(f=angular.element(e.find("tr")[e.find("tr").length-2])),i=angular.element(f).find("td")[n]),o.keyCode===r("Right")&&(i=h("right")),o.keyCode===r("Left"))if(angular.element(a).hasClass("th-table-pagination-link")){var z=a.previousElementSibling;z&&("\u2026"===z.text.replace(/^\s+|\s+$/g,"")&&(z=z.previousElementSibling),z.focus())}else i=h("left");if(o.keyCode===r("Home")&&(i=function(){var t=e.find("tr")[l],n=0===l?"th":"td";if(!angular.element(t).hasClass("th-table-actions-row"))return angular.element(t).find(n)[0]}()),o.keyCode===r("End")&&(i=function(){var t=e.find("tr")[l],n=0===l?"th":"td",r=angular.element(t).find(n).length-1;if(!angular.element(t).hasClass("th-table-actions-row"))return angular.element(t).find(n)[r]}()),o.keyCode===r("Space")&&("TH"===a.tagName&&angular.element(o.target).triggerHandler("click"),"TD"===a.tagName&&(u=e.find("tr")[l],p=angular.element(u).find("td")[0],d=angular.element(p).find("span"),angular.element(d).triggerHandler("click"))),o.keyCode===r("Enter")){var m=angular.element(a).find("a")[0];m&&m.focus()}}if("A"===a.tagName){if(o.keyCode===r("Right")){var O=a.nextElementSibling;O&&("\u2026"===O.text.replace(/^\s+|\s+$/g,"")&&(O=O.nextElementSibling),O.focus())}if(o.keyCode===r("Left")){var g=a.previousElementSibling;g&&("\u2026"===g.text.replace(/^\s+|\s+$/g,"")&&(g=g.previousElementSibling),g.focus())}o.keyCode===r("Enter")&&angular.element(a).triggerHandler("click")}i&&(angular.element(a).attr("aria-selected","false").attr("tabindex","-1"),i.focus(),angular.element(i).attr("aria-selected","true").attr("tabindex","0"))}))}))}},1109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableCellDirective=void 0,t.TableCellDirective=function(){return{restrict:"E"}}},1110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableRowDirective=void 0,t.TableRowDirective=function(){return{restrict:"E"}}},1111:function(e,t,n){"use strict";function r(e,t){var n=t.startSymbol(),r=t.endSymbol();return function(t){void 0===t&&(t={});var o=e(t),i=null!=o.headers?o.headers:[],a=null!=o.footers?o.footers:[],s=o.generatePaginationTemplate,c=function(e){return[].slice.call(e.children)},l=function(e){return e.getAttribute("object-reference")||"item"},u=function(e){var t=c(e.cells).length,o=function(e,t){var n=t?"ng-repeat-start":"ng-repeat",r=l(e),o=c(e).map((function(e,t){return function(e,t){return'\n ').concat(e.innerHTML,"\n ")}(e,t)})).join("");return'\n ').concat(o,"\n ")}(e.cells,null!=e.actions),i=function(e,t){var o;if(null==e)return"";var i=parseInt(null!=(o=e.getAttribute("start-column"))?o:1,10),a=t-i+1;return'\n = $index &&\n thTable.delegate.headers[").concat(i-1,'].visible"\n colspan="').concat(n,"\n ").concat(i-1," == $index ? ").concat(a," : 1\n ").concat(r,'"\n >\n \n ').concat(e.innerHTML,"\n \n \n ")}(e.actions,t),a=function(e,t){null==e&&(e={});var n=null!=e.innerHTML?e.innerHTML:"No Results";return'\n \n ').concat(n,"\n \n ")}(e["no-data"],t),s=function(e){return'\n \n \n
\n We had trouble loading your content.\n
\n
\n Try again.\n
\n
\n \n ')}(t);return"\n ".concat(a,"\n ").concat(s,"\n ").concat(o,"\n ").concat(i,"\n ")};return Object.freeze(Object.assign({generateTableTemplate:function(e){null==e&&(e={}),function(e){if(null==e.cells)throw new Error("A simple table needs a cells row.");var t=e.cells,n=e.actions;if(null!=n&&l(n)!==l(t))throw new Error("object-reference must be the samefor the actions and cells rows.");if(null!=n){var r,o=parseInt(null!=(r=n.getAttribute("start-column"))?r:1,10);if(o>c(t).length||o<1)throw new Error("start-column must have a value between 1 and the total number of cells.")}}(e);var t=i.length>0?'\n \n \n '.concat(n,"header.name").concat(r,'\n \n \n \n '):"",o=a.length>0?'\n \n \n '.concat(n,"footer.value").concat(r,"\n \n \n "):"",p=u(e),d=s(),f=i.filter((function(e){return null!=e.width})).length>0?i.map((function(e,t){var n=e.width?"style='width: ".concat(e.width,"'"):"";return'")})).join(""):"";return'
\n \n '.concat(f,"\n ").concat(t,"\n ").concat(o,"\n ").concat(p,"\n \n\n ").concat(d,'\n\n
\n  \n
\n
')}},o))}}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleTableDelegateService=void 0,t.SimpleTableDelegateService=r,r.$inject=["TableDelegate","$interpolate"]},1112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableService=void 0;t.TableService=function(){return function(e){var t;void 0===e&&(e={});var n=e.element,r=void 0;if(t=function(){if(null==n)return"You must pass a raw DOM element to Table.";if(0===n.children.length)return"The element that you passed has no children.";for(var e,t,r=0;rs.":t.hasAttribute("type")?void 0:"s must have the type attribute defined.")return e}())throw new Error(t);var o=function(){for(var e={},t=0;t");var c=[],l=!1,u=!1,p=r.find((function(e){return e.isSortActive()})),d=function(e){void 0===e&&(e={}),l=!0,u=!1,null!=e.currentPage&&b({currentPage:e.currentPage});return s({currentPage:h(),pageSize:M(),sortHeader:p},(function(e){void 0===e&&(e={});var t=e.error,n=null!=e.data?e.data:[],r=e.totalItems;return l=!1,null!=t?u=t:(c=n,null!=r?b({totalItems:r}):void 0)}))},f=e({currentPage:i,pageSize:a,reload:d}),b=f.updatePagination,h=f.getCurrentPage,M=f.getPageSize;o=function(){if(!(o.length>0))return[];for(var e=r.length,n=[],i=0;ii;o?a++:a--)r.push(a);return r}return function(e){var o;void 0===e&&(e={});var i=null!=e.currentPage?e.currentPage:1,a=e.pageSize,s=e.reload;i<1&&(i=1);var c=0,l="\u2026",u=function(){return Math.ceil(c/a)};return o=Object.freeze({pages:function(){var e,t;if(!(c>0))return[];var n=u();return n<=9?r(1,n,!0):(t=i-Math.floor(2.5),e=i+Math.floor(2.5),t<3?r(1,e=Math.max(5,e),!0).concat([l,n]):e>n-2?(t=Math.min(n-5+1,t),[1,l].concat(r(t,n,!0))):[1,l].concat(r(t,e,!0)).concat([l,n]))},isFirstPage:function(){return 1===i},isLastPage:function(){return i===u()},inactivePageLink:function(e){return[i,l].includes(e)},goToNextPage:function(){return o.goToPage(i+1)},goToPrevPage:function(){return o.goToPage(i-1)},goToPage:function(e){[l,i].includes(e)||(e<1?e=1:0!==u()&&e>u()&&(e=u()),e!==i&&(i=e,s()))},generatePaginationTemplate:function(){return function(e){return void 0===e&&(e={}),null!=e.pageSize}(e)?'\n \n \n
\n Previous\n \n\n \n ').concat(t,"page").concat(n,'\n \n\n \n Next\n
\n
\n '):""},updatePagination:function(e){c=null!=e.totalItems?e.totalItems:c,(i=null!=e.currentPage?e.currentPage:i)<1?i=1:0!==u()&&i>u()&&(i=u(),s())},getCurrentPage:function(){return i},getPageSize:function(){return a},getTotalRecordCount:function(){return c}})}};t.TablePaginationService=r,r.$inject=["$interpolate"]},1117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TableSortService=void 0;t.TableSortService=function(){var e=function(e,t){if(""===t)return e;var n=e;return t.split(".").forEach((function(e){n=n[e]})),n};return Object.freeze({sort:function(t,n){return n.isSortActive()?t.sort((function(t,r){var o,i,a,s,c=e(t,n.sortField),l=e(r,n.sortField),u=(i=l,"number"===typeof(o=c)?o-i:(o=null!=o?"".concat(o):"",i=null!=i?"".concat(i):"",o.localeCompare(i)));return a=n.getSortDirection(),s=u,"ascending"===a?s:-s})):t}})}},1118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(43),i=n(1119),a=n(1121),s="ThemisComponents-Tabset";r.module(s,[o.default]).directive("thTabset",i.TabsetDirective).directive("thTab",a.TabDirective),t.default=s},1119:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabsetController=t.TabsetDirective=void 0;var r=n(2),o=n(1120),i=n(29),a=function(){function e(e,t,n,o,a){var s=this;this.$scope=e,this.$element=t,this.$timeout=n,this.$window=o,this.$translate=a,this.supportedKeyCodes=[i("Right"),i("Left"),i("Up"),i("Down"),i("Home"),i("End"),i("Enter")],this.setActiveIfOnlyVisibleTab=function(e){var t=s.tabs.find((function(e){return e.active}));t&&!t.show&&s.$scope.processTabChange(e)},this.setNextActiveTab=function(e){var t,n=s.tabs.indexOf(e);n>0&&e.active&&((t=s.checkForVisibleTabsRightToLeft(n))&&s.$scope.processTabChange(t));n=0;--t)if(s.tabs[t].show)return s.tabs[t]},this.checkForVisibleTabsLeftToRight=function(e){for(var t=e+1;t<=s.tabs.length-1;++t)if(s.tabs[t].show)return s.tabs[t]}}return e.prototype.$onInit=function(){var e=this;if(this.ariaLabel=this.$scope.ariaLabel=this.$translate.instant("thTabset.ariaLabel"),this.tabs=this.$scope.tabs=[],this.$scope.$watch("activeTabName",(function(t){e.$scope.setActiveTab(t)})),this.$scope.type){if(-1===["header","sub-header"].indexOf(this.$scope.type))throw new Error("thTabset: invalid 'type'.")}this.$scope.processTabChange=function(t,n){t.railsHref?e.$window.location.assign(t.railsHref):t.active||(n&&(r.element(e.$element).find("li[aria-controls]").removeAttr("aria-controls"),r.element(n.target).closest("li").attr("aria-controls",t.ariaControlsID)),e.$scope.activateTab(t),e.$scope.activeTabName=t.name,"function"===typeof t.ngClick&&t.ngClick())},this.$scope.activateTab=function(t){t.railsHref||(t.active=!0,e.tabs.forEach((function(e){e!==t&&(e.active=!1)})))},this.$scope.setActiveTab=function(t){e.tabs.forEach((function(n){n.name===t&&e.$scope.activateTab(n)})),"function"===typeof e.$scope.onTabChange&&e.$scope.onTabChange(t)},this.$scope.hasBadge=function(e){return e.badge},this.$element.on("keydown",this.handleKeyboardNavigation)},e.prototype.$postLink=function(){this.addA11yAttributes()},e.prototype.addA11yAttributes=function(){var e=this;this.$element.removeAttr("aria-label"),this.$timeout((function(){e.$element.find("li:first").attr("aria-controls",e.tabs[0].ariaControlsID)}))},e.prototype.addTab=function(e){0===this.tabs.length&&this.$scope.activateTab(e),e.name===this.$scope.activeTabName&&this.$scope.activateTab(e),this.tabs.push(e)},e.$inject=["$scope","$element","$timeout","$window","$translate"],e}();t.TabsetController=a,t.TabsetDirective=function(){return{restrict:"EA",replace:!0,transclude:{actionBar:"?thTabActionBar"},controllerAs:"tabset",controller:a,template:o,scope:{onTabChange:"\n
    \n \n \n {{ tab.name }}\n \n {{ tab.badge }}\n \n \n \n \n
\n
\n\n'},1121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabDirective=void 0;var r=n(1122),o=n(101);t.TabDirective=function(){return{require:"^thTabset",restrict:"EA",template:r,transclude:!0,scope:{name:"@name",ngClick:"&",show:"<",badge:"<",unit:"@",letterSpacing:"<",railsHref:"@"},link:function(e,t,n,r){null==e.show&&(e.show=!0),e.active=!1,e.$watch("badge",(function(t){var n=e.unit||r.$translate.instant("thTabset.defaultUnit"),i=parseInt(t,10);e.unit=o(n,i)})),e.$watch("show",(function(t){t?r.setActiveIfOnlyVisibleTab(e):r.setNextActiveTab(e)})),e.ariaControlsID=e.name.replace(/\s+/g,"-").toLowerCase()+"-tab",r.addTab(e)}}}},1122:function(e,t){e.exports='\n'},1123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextareaDirective=t.TextareaController=void 0;var r=n(2),o=n(1124),i=function(){function e(e,t,n,r){var o=this;this.$attrs=e,this.$element=t,this.$timeout=n,this.Utilities=r,this.updateCursorLocation=function(){var e=o.textAreaElement[0];o.onCursorChange({start:e.selectionStart,end:e.selectionEnd})}}return e.prototype.$onInit=function(){var e=this;this.textAreaElement=this.$element.find("textarea"),this.textAreaElement.on("blur",(function(){e.triggerCompositionEnd()}))},e.prototype.$postLink=function(){this.addA11yAttributes(),this.setupCursorEventHandlers()},e.prototype.$destroy=function(){this.textAreaElement.off("mousedown"),this.textAreaElement.off("keyup"),r.element(document).off("mouseup")},e.prototype.triggerCompositionEnd=function(){this.textAreaElement.val()&&this.textAreaElement.trigger("compositionend")},e.prototype.addA11yAttributes=function(){var e=this.$attrs.ariaLabel||this.$attrs.withLabel;e&&this.textAreaElement.attr("aria-label",e),this.$attrs.ariaDescribedby&&this.textAreaElement.attr("aria-describedby",this.$attrs.ariaDescribedby),this.$attrs.ngDisabled&&this.textAreaElement.attr("aria-readonly",this.$attrs.ngDisabled)},e.prototype.setupCursorEventHandlers=function(){var e=this;this.onCursorChange&&(this.textAreaElement.on("mousedown",(function(){r.element(document).one("mouseup",(function(){e.$timeout(e.updateCursorLocation)}))})),this.textAreaElement.on("keyup",(function(){e.$timeout(e.updateCursorLocation)})))},e.prototype.thOnChange=function(){return this.Utilities.onChange(this.ngChange)},e.$inject=["$attrs","$element","$timeout","Utilities"],e}();t.TextareaController=i,t.TextareaDirective=function(){return{restrict:"E",controller:i,bindToController:!0,controllerAs:"ctrl",require:["?^form","thTextarea"],scope:{cursorLocation:"\n\n'},1125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoHeightDirective=t.autoHeight=void 0;var r=function(){function e(){}return e.factory=function(){return function(){return new e}},e.prototype.link=function(e,t){var n=this;this.$textarea=t.find("textarea"),this.setOnInit(),this.$textarea.on("keydown",(function(){return n.setHeight()}))},e.prototype.setOnInit=function(){this.setHeight()},e.prototype.setHeight=function(){var e=this;setTimeout((function(){e.$textarea.height(0),e.$textarea.height(e.scrollHeight())}))},e.prototype.scrollHeight=function(){var e=parseInt(this.$textarea.css("padding-top"),10)||0,t=parseInt(this.$textarea.css("padding-bottom"),10)||0;return this.$textarea[0].scrollHeight-e-t},e}();t.AutoHeightDirective=r;var o=r.factory();t.autoHeight=o},1126:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimePickerService=void 0;var r=n(3),o=n(481),i=function(){function e(){}return e.prototype.create=function(e){var t=new kendo.ui.TimePicker(e.element,{min:o.default.getHoursAndMinutesFromDateTime(e.min),max:o.default.getHoursAndMinutesFromDateTime(e.max),format:e.format,interval:e.interval,value:e.value,change:function(){if(e.change){var t=function(e,t,n){var o=e;if(e&&t&&n){var i=r(e),a=r(t),s=r(n);if(i.isBefore(a,"minute"))(c=l(s,i)).isBetween(a,s,"minute","[)")&&(o=c.toDate());else if(i.isSameOrAfter(s,"minute")){var c;(c=l(a,i)).isBetween(a,s,"minute","[)")&&(o=c.toDate())}}function l(e,t){var n=t.clone();return n.day(e.day()),n.month(e.month()),n.year(e.year()),n}return o}(this.value(),this.min(),this.max());e.change(t)}},open:e.open,close:e.close,parseFormats:["H:mt","Hmt","H:m t","Hm t","Ht","H t","H:m","Hm","H"]});return t.enable(!e.ngDisabled),t},e}();t.TimePickerService=i},1127:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimePickerComponent=t.TimePickerController=void 0;var r=n(41),o=n(3),i=n(481),a=function(){function e(e,t,n,r,o){this.$scope=e,this.$element=t,this.$attrs=n,this.TimePickerService=r,this.ValidatorService=o,this.neverValidated=!0}return e.prototype.$onInit=function(){this.validateMinAndMax(this.min,this.max),this.inputElement=r(this.$element[0]).find("input")},e.prototype.$postLink=function(){var e=this;this.createTimePicker(),this.createValidator(),this.inputElement.attr("name",this.name),this.inputElement.attr("placeholder",this.placeholder),this.inputElement.on("click",(function(){return e.timePicker.open()}))},e.prototype.formIsSubmitted=function(){return this.formCtrl&&this.formCtrl.$submitted},e.prototype.$doCheck=function(){this.neverValidated&&this.formIsSubmitted()&&this.validator.validateInput(this.inputElement)},e.prototype.$onChanges=function(e){if(this.timePicker){if(e.min){t=i.default.getHoursAndMinutesFromDateTime(e.min.currentValue);this.timePicker.min(t),this.overrideTimeOptionsWhenMinEqualsMax()}if(e.max){t=i.default.getHoursAndMinutesFromDateTime(e.max.currentValue);this.timePicker.max(t),this.overrideTimeOptionsWhenMinEqualsMax()}if(e.ngModel){t=i.default.getHoursAndMinutesFromDateTime(e.ngModel.currentValue);this.timePicker.value(t)}e.ngDisabled&&this.timePicker.enable(!e.ngDisabled.currentValue)}else if(e.ngModel){var t=i.default.getHoursAndMinutesFromDateTime(e.ngModel.currentValue);this.value=t}},e.prototype.$onDestroy=function(){this.timePicker.destroy()},e.prototype.validateMinAndMax=function(e,t){if(e&&!o.isMoment(e))throw Error("Min must be Moment instances.");if(t&&!o.isMoment(t))throw Error("Max must be Moment instances.")},e.prototype.setTimePickerDates=function(e){var t=this.timePicker.options;t.dates=e,this.timePicker.setOptions(t)},e.prototype.removeMaxTimeFromDropdown=function(){var e=this.timePicker.element.data().kendoTimePicker.timeView.ul.children("li");e.contents().last().text()===this.max.format("hh:mm A")&&e.last().remove()},e.prototype.overrideTimeOptionsWhenMinEqualsMax=function(){this.min&&o.isMoment(this.min)&&this.max&&o.isMoment(this.max)&&(this.min.isSame(this.max)?this.setTimePickerDates([this.max.toDate()]):this.setTimePickerDates([]))},e.prototype.createTimePicker=function(){var e=this;this.timePicker=this.TimePickerService.create({element:this.inputElement[0],min:this.min,max:this.max,format:this.format,interval:this.interval,value:this.value,ngDisabled:this.ngDisabled,change:function(t){"function"===typeof e.onChange&&e.$scope.$apply((function(){e.onChange(t?o(t):t)}))},open:function(t){e.hideMaxOptionInDropdown&&e.removeMaxTimeFromDropdown(),t.sender.timeView.list.addClass("time-picker-list")},close:function(){e.validator.validateInput(e.inputElement)}}),this.overrideTimeOptionsWhenMinEqualsMax()},e.prototype.createValidator=function(){var e=this;this.validator=this.ValidatorService.create({element:this.inputElement[0],attrs:this.$attrs,customOptions:this.customValidator,rules:{valid:function(t){var n=t[0].value,r=e.ngModel,o=""===n,i=r&&r.isValid();return!(!o&&!i)}},messages:{valid:"Not a valid time"},validateInput:function(t){e.ngModelCtrl.$setValidity("kendo",t.valid),e.ngModelCtrl.$setTouched(),e.neverValidated&&e.formIsSubmitted()?e.neverValidated=!1:e.$scope.$apply()}})},e.$inject=["$scope","$element","$attrs","TimePickerService","ValidatorService"],e}();t.TimePickerController=a;var s={template:"",require:{ngModelCtrl:"ngModel",formCtrl:"?^^form"},bindings:{name:"@?",min:"|\/?strong>)[^>]+>/g,"")},e.prototype.updateTooltip=function(){this.options.content=this.getContent(),this.kendoTooltip.setOptions(this.options),this.kendoTooltip.popup&&this.kendoTooltip.popup.wrapper.css("width","400px"),this.kendoTooltip.refresh()},e.prototype.restoreAria=function(){this.preservedAriaDescribedBy&&this.$element.attr("aria-describedby",this.preservedAriaDescribedBy)},e.$inject=["$element","$attrs","$timeout","$window"],e}();t.default=function(){return{restrict:"A",controller:o}}},1129:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}({0:function(e,t,n){e.exports=n(1313)},3:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},992:function(e,t){e.exports=n(41)},993:function(e,t){e.exports=n(14)},1018:function(e,t){e.exports=n(57)},1313:function(e,t,n){var r,o,i;(function(a){n(3),o=[n(993),n(1018)],void 0===(i="function"===typeof(r=function(){return function(e){var t=window.kendo,n=t.ui.Widget,r=t.ui.Popup,o=t.isFunction,i=e.isPlainObject,s=e.extend,c=e.proxy,l=e(document),u=t.isLocalUrl,p="_tt_active",d="aria-describedby",f="show",b="hide",h="error",M="contentLoad",z="requestStart",m="k-content-frame",O='',g=t.template(""),v=".kendoTooltip",A={bottom:{origin:"bottom center",position:"top center"},top:{origin:"top center",position:"bottom center"},left:{origin:"center left",position:"center right",collision:"fit flip"},right:{origin:"center right",position:"center left",collision:"fit flip"},center:{position:"center center",origin:"center center"}},y={top:"bottom",bottom:"top",left:"right",right:"left",center:"center"},_={bottom:"n",top:"s",left:"e",right:"w",center:"n"},q={horizontal:{offset:"top",size:"outerHeight"},vertical:{offset:"left",size:"outerWidth"}},S=function(e){return e.target.data(t.ns+"title")};function w(e){for(;e.length&&!T(e);)e=e.parent()}function T(e){var n=e.data(t.ns+"title");if(n)return e.attr("title",n),e.removeData(t.ns+"title"),!0}function W(e){var n=e.attr("title");if(n)return e.data(t.ns+"title",n),e.attr("title",""),!0}function k(e){for(;e.length&&!e.is("body")&&!W(e);)e=e.parent()}var C=n.extend({init:function(e,t){var r,o=this;n.fn.init.call(o,e,t),r=o.options.position.match(/left|right/)?"horizontal":"vertical",o.dimensions=q[r],o._documentKeyDownHandler=c(o._documentKeyDown,o),o.element.on(o.options.showOn+v,o.options.filter,c(o._showOn,o)),this._isShownOnFocus()||o.element.on("mouseenter"+v,o.options.filter,c(o._mouseenter,o)),this.options.autoHide&&!this._isShownOnFocus()&&o.element.on("mouseleave"+v,o.options.filter,c(o._mouseleave,o)),this.options.autoHide&&this._isShownOnFocus()&&o.element.on("blur"+v,o.options.filter,c(o._blur,o))},options:{name:"Tooltip",filter:"",content:S,showAfter:100,callout:!0,position:"bottom",showOn:"mouseenter",autoHide:!0,width:null,height:null,animation:{open:{effects:"fade:in",duration:0},close:{duration:40,hide:!0}}},events:[f,b,M,h,z],_isShownOnFocus:function(){return this.options.showOn&&this.options.showOn.match(/focus/)},_mouseenter:function(t){k(e(t.currentTarget))},_showOn:function(t){var n=this,r=e(t.currentTarget);n.options.showOn&&n.options.showOn.match(/click/)?n._show(r):n._isShownOnFocus()?(k(r),n._show(r)):(clearTimeout(n.timeout),n.timeout=setTimeout((function(){n._show(r)}),n.options.showAfter))},_appendContent:function(e){var n,r=this,a=r.options.content,s=r.content,c=r.options.iframe;i(a)&&a.url?("iframe"in r.options||(c=!u(a.url)),r.trigger(z,{options:a,target:e}),c?(s.hide(),(n=s.find("."+m)[0])?n.src=a.url||n.src:s.html(g({content:a})),s.find("."+m).off("load"+v).on("load"+v,(function(){r.trigger(M),s.show()}))):(s.empty(),t.ui.progress(s,!0),r._ajaxRequest(a))):a&&o(a)?(a=a({sender:this,target:e}),s.html(a||"")):s.html(a),r.angular("compile",(function(){return{elements:s}}))},_ajaxRequest:function(e){var n=this;a.ajax(s({type:"GET",dataType:"html",cache:!1,error:function(e,r){t.ui.progress(n.content,!1),n.trigger(h,{status:r,xhr:e})},success:c((function(e){t.ui.progress(n.content,!1),n.content.html(e),n.trigger(M)}),n)},e))},_documentKeyDown:function(e){e.keyCode===t.keys.ESC&&this.hide()},refresh:function(){var e=this,t=e.popup;t&&t.options.anchor&&e._appendContent(t.options.anchor)},hide:function(){this.popup&&this.popup.close()},show:function(e){k(e=e||this.element),this._show(e)},_show:function(e){var t=this,n=t.target();t.popup||t._initPopup(),n&&n[0]!=e[0]&&(t.popup.close(),t.popup.element.kendoStop(!0,!0)),n&&n[0]==e[0]||(t._appendContent(e),t.popup.options.anchor=e),t.popup.one("deactivate",(function(){w(e),e.removeAttr(d),this.element.removeAttr("id").attr("aria-hidden",!0),l.off("keydown"+v,t._documentKeyDownHandler)})),t.popup.open()},_initPopup:function(){var n=this,o=n.options,i=e(t.template(O)({callout:o.callout&&"center"!==o.position,dir:_[o.position],autoHide:o.autoHide}));n.popup=new r(i,s({activate:function(){var e=this.options.anchor,t=e[0].id||n.element[0].id;t&&(e.attr(d,t+p),this.element.attr("id",t+p)),o.callout&&n._positionCallout(),this.element.removeAttr("aria-hidden"),l.on("keydown"+v,n._documentKeyDownHandler),n.trigger(f)},close:function(){n.trigger(b)},copyAnchorStyles:!1,animation:o.animation},A[o.position])),i.css({width:o.width,height:o.height}),n.content=i.find(".k-tooltip-content"),n.arrow=i.find(".k-callout"),o.autoHide&&!this._isShownOnFocus()?i.on("mouseleave"+v,c(n._mouseleave,n)):i.on("click"+v,".k-tooltip-button",c(n._closeButtonClick,n))},_closeButtonClick:function(e){e.preventDefault(),this.hide()},_mouseleave:function(e){this._closePopup(e.currentTarget),clearTimeout(this.timeout)},_blur:function(e){this._closePopup(e.currentTarget)},_closePopup:function(t){this.popup?this.popup.close():w(e(t))},_positionCallout:function(){var t=this,n=t.options.position,r=t.dimensions,o=r.offset,i=t.popup,a=i.options.anchor,s=e(a).offset(),c=parseInt(t.arrow.css("border-top-width"),10),l=e(i.element).offset(),u=_[i.flipped?y[n]:n],p=s[o]-l[o]+e(a)[r.size]()/2-c;t.arrow.removeClass("k-callout-n k-callout-s k-callout-w k-callout-e").addClass("k-callout-"+u).css(o,p)},target:function(){return this.popup?this.popup.options.anchor:null},destroy:function(){var e=this.popup;e&&(e.element.off(v),e.destroy()),clearTimeout(this.timeout),this.element.off(v),l.off("keydown"+v,this._documentKeyDownHandler),n.fn.destroy.call(this)}});t.ui.plugin(C)}(window.kendo.jQuery),window.kendo})?r.apply(t,o):r)||(e.exports=i)}).call(t,n(992))}})},1130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TruncateDirective=t.TruncateController=void 0;var r=n(125),o=n(1131),i=function(){function e(e,t,n){this.$scope=e,this.$element=t,this.$window=n,this.tableTruncationBtnEnabled=!1}return e.prototype.$onInit=function(){this.inDatatable?(this.$tableRow=this.$element.closest("tr"),this.$tableCell=this.$element.closest("td")):(this.limit=this.limit||100,this.expanded=!1,this.allowMultiline=this.allowMultiline||!1,this.formattedText=this.allowMultiline?this.text:this.text.replace(/\s\s+/g,""),this.hasTruncateControl=this.formattedText.length>=this.limit,this.truncatedText=this.truncate(),this.addA11yAttributes())},e.prototype.$postLink=function(){var e=this;this.inDatatable&&this.thDataTable&&(this.addDataTableListeners(),setTimeout((function(){e.addA11yAttributes(),e.determineTruncationControl()})))},e.prototype.$onDestroy=function(){this.inDatatable&&this.thDataTable&&this.removeDataTableListeners()},e.prototype.tableClickEvent=function(){var e=this;this.$tableRow.toggleClass("single-row-expanded",!this.hasExpandedRowClass()),setTimeout((function(){e.$scope.$apply()}))},e.prototype.hasExpandedRowClass=function(){return this.$tableRow.hasClass("single-row-expanded")},e.prototype.determineTruncationControl=function(){var e=this.$element.find(".truncated-text"),t=e.find("a"),n=e.prop("scrollWidth"),r=this.$tableCell.prop("offsetWidth"),o=t.length>0?t.text():e.text(),i=/\r|\n/.exec(o);n+80>r?this.tableTruncationBtnEnabled=!0:i?(this.$tableCell.addClass("one-line"),this.tableTruncationBtnEnabled=!0):this.tableTruncationBtnEnabled=!1,this.$scope.$apply()},e.prototype.addA11yAttributes=function(){this.inDatatable&&this.thDataTable?this.ariaLabel=this.$element.find(".truncated-text").text():this.ariaLabel=this.formattedText},e.prototype.removeDataTableListeners=function(){this.thDataTable.kendoInstance.unbind("columnResize",this.determineTruncationControl),this.$window.removeEventListener("resize",this.debouncedResize,!1)},e.prototype.addDataTableListeners=function(){var e=this;this.thDataTable.kendoInstance.bind("columnResize",(function(){e.determineTruncationControl()})),this.thDataTable.$scope.$watch("dataTableCtrl.contentExpanded",(function(t){e.$tableRow.toggleClass("single-row-expanded",t)})),this.debouncedResize=r((function(){e.determineTruncationControl()}),100),this.$window.addEventListener("resize",this.debouncedResize,!1)},e.prototype.truncate=function(){return this.expanded?this.formattedText:this.formattedText.substring(0,this.limit)+(this.hasTruncateControl?"...":"")},e.prototype.toggleTruncation=function(){this.expanded=!this.expanded,this.truncatedText=this.truncate()},e.$inject=["$scope","$element","$window"],e}();t.TruncateController=i,t.TruncateDirective=function(){return{restrict:"E",controller:i,transclude:!0,template:o,bindToController:!0,controllerAs:"truncate",require:{thDataTable:"?^thDataTable"},scope:{allowMultiline:"<",text:"@",limit:"=?",ngClick:"&",inDatatable:"\n \n \n