@genpact/genome.mfe.solidify-app 1.4.1-alpha.45 → 1.4.1-alpha.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.html +4 -1
  2. package/dist/js/SolidifyAbout.js +1 -1
  3. package/dist/js/SolidifyAbout.js.map +1 -1
  4. package/dist/js/SolidifyAdministration.js +1 -1
  5. package/dist/js/SolidifyAdministration.js.map +1 -1
  6. package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
  7. package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
  8. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
  9. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  10. package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
  11. package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
  12. package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
  13. package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
  14. package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
  15. package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
  16. package/dist/js/SolidifyAdministrationTaskManagement.js +11 -11
  17. package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
  18. package/dist/js/SolidifyAdministrationViewEmailQueue.js +1 -1
  19. package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
  20. package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
  21. package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
  22. package/dist/js/SolidifyAdministrationViewRereviewRequests.js +1 -1
  23. package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
  24. package/dist/js/SolidifyLearner.js +1 -1
  25. package/dist/js/SolidifyLearner.js.map +1 -1
  26. package/dist/js/SolidifyLearnerDone.js +1 -1
  27. package/dist/js/SolidifyLearnerDone.js.map +1 -1
  28. package/dist/js/SolidifyLearnerFail.js +1 -1
  29. package/dist/js/SolidifyLearnerFail.js.map +1 -1
  30. package/dist/js/SolidifyLearnerGating.js +1 -1
  31. package/dist/js/SolidifyLearnerGating.js.map +1 -1
  32. package/dist/js/SolidifyLearnerNotFound.js +1 -1
  33. package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
  34. package/dist/js/SolidifyLearnerPeerReview.js +1 -1
  35. package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
  36. package/dist/js/SolidifyLearnerSelectTask.js +1 -1
  37. package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
  38. package/dist/js/SolidifyLearnerStatus.js +1 -1
  39. package/dist/js/SolidifyLearnerStatus.js.map +1 -1
  40. package/dist/js/app.js +143 -158
  41. package/dist/js/app.js.map +1 -1
  42. package/dist/js/chunk-2f70a91d.js +2 -0
  43. package/dist/js/chunk-2f70a91d.js.map +1 -0
  44. package/package.json +1 -1
  45. package/CHANGELOG.md +0 -1857
  46. package/dist/js/chunk-7435a9a8.js +0 -2
  47. package/dist/js/chunk-7435a9a8.js.map +0 -1
@@ -1,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"00ff":function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"076d":function(e,t,r){"use strict";var n=r("2d80");function a(){this.handlers=[]}a.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},"086d":function(e,t,r){"use strict";var n=r("702c"),a=r("2a91").filter,s=r("ad77"),o=s("filter");n({target:"Array",proto:!0,forced:!o},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"0928":function(e,t,r){"use strict";r("86d8");var n=r("702c"),a=r("3d28"),s=r("8131"),o=r("171d"),i=r("9ae9"),c=r("6274"),u=r("e1b9"),l=r("47c1"),f=r("cc69"),p=r("3136"),d=r("91ca"),m=r("97e7"),g=r("bcc5"),v=r("a029"),h=r("5638"),b=r("8c46"),w=r("e948"),x=r("ad36"),y=r("69e6"),k=r("c0a3"),_=r("4d33"),R=r("676a"),O=r("9c92"),C=r("98e7"),j=r("391b"),S=r("dce5"),P=j("iterator"),A="URLSearchParams",E=A+"Iterator",L=d.set,D=d.getterFor(A),M=d.getterFor(E),U=s("fetch"),T=s("Request"),N=s("Headers"),B=T&&T.prototype,I=N&&N.prototype,q=a.RegExp,z=a.TypeError,F=a.decodeURIComponent,H=a.encodeURIComponent,$=i("".charAt),J=i([].join),Y=i([].push),G=i("".replace),W=i([].shift),V=i([].splice),X=i("".split),K=i("".slice),Q=/\+/g,Z=Array(4),ee=function(e){return Z[e-1]||(Z[e-1]=q("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return F(e)}catch(t){return e}},re=function(e){var t=G(e,Q," "),r=4;try{return F(t)}catch(n){while(r)t=G(t,ee(r--),te);return t}},ne=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},oe=function(e){return G(H(e),ne,se)},ie=p((function(e,t){L(this,{type:E,iterator:R(D(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$(e,0)?K(e,1):e:y(e)))};ce.prototype={type:A,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,s,i,c,u=O(e);if(u){t=R(e,u),r=t.next;while(!(n=o(r,t)).done){if(a=R(w(n.value)),s=a.next,(i=o(s,a)).done||(c=o(s,a)).done||!o(s,a).done)throw z("Expected sequence with length 2");Y(this.entries,{key:y(i.value),value:y(c.value)})}}else for(var l in e)v(e,l)&&Y(this.entries,{key:l,value:y(e[l])})},parseQuery:function(e){if(e){var t,r,n=X(e,"&"),a=0;while(a<n.length)t=n[a++],t.length&&(r=X(t,"="),Y(this.entries,{key:re(W(r)),value:re(J(r,"="))}))}},serialize:function(){var e,t=this.entries,r=[],n=0;while(n<t.length)e=t[n++],Y(r,oe(e.key)+"="+oe(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ue=function(){m(this,le);var e=arguments.length>0?arguments[0]:void 0;L(this,new ce(e))},le=ue.prototype;if(l(le,{append:function(e,t){C(arguments.length,2);var r=D(this);Y(r.entries,{key:y(e),value:y(t)}),r.updateURL()},delete:function(e){C(arguments.length,1);var t=D(this),r=t.entries,n=y(e),a=0;while(a<r.length)r[a].key===n?V(r,a,1):a++;t.updateURL()},get:function(e){C(arguments.length,1);for(var t=D(this).entries,r=y(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){C(arguments.length,1);for(var t=D(this).entries,r=y(e),n=[],a=0;a<t.length;a++)t[a].key===r&&Y(n,t[a].value);return n},has:function(e){C(arguments.length,1);var t=D(this).entries,r=y(e),n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){C(arguments.length,1);for(var r,n=D(this),a=n.entries,s=!1,o=y(e),i=y(t),c=0;c<a.length;c++)r=a[c],r.key===o&&(s?V(a,c--,1):(s=!0,r.value=i));s||Y(a,{key:o,value:i}),n.updateURL()},sort:function(){var e=D(this);S(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=D(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0),a=0;while(a<r.length)t=r[a++],n(t.value,t.key,this)},keys:function(){return new ie(this,"keys")},values:function(){return new ie(this,"values")},entries:function(){return new ie(this,"entries")}},{enumerable:!0}),u(le,P,le.entries,{name:"entries"}),u(le,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),f(ue,A),n({global:!0,forced:!c},{URLSearchParams:ue}),!c&&g(N)){var fe=i(I.has),pe=i(I.set),de=function(e){if(x(e)){var t,r=e.body;if(b(r)===A)return t=e.headers?new N(e.headers):new N,fe(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:_(0,y(r)),headers:_(0,t)})}return e};if(g(U)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?de(arguments[1]):{})}}),g(T)){var me=function(e){return m(this,B),new T(e,arguments.length>1?de(arguments[1]):{})};B.constructor=me,me.prototype=B,n({global:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:ue,getState:D}},"0e81":function(e,t,r){"use strict";var n=r("3d28"),a=r("5638"),s=r("171d"),o=r("9025"),i=r("4bac"),c=r("4af3"),u=r("5434"),l=r("5f3d"),f=r("e339"),p=r("676a"),d=r("9c92"),m=n.Array;e.exports=function(e){var t=o(e),r=u(this),n=arguments.length,g=n>1?arguments[1]:void 0,v=void 0!==g;v&&(g=a(g,n>2?arguments[2]:void 0));var h,b,w,x,y,k,_=d(t),R=0;if(!_||this==m&&c(_))for(h=l(t),b=r?new this(h):m(h);h>R;R++)k=v?g(t[R],R):t[R],f(b,R,k);else for(x=p(t,_),y=x.next,b=r?new this:[];!(w=s(y,x)).done;R++)k=v?i(x,g,[w.value,R],!0):w.value,f(b,R,k);return b.length=R,b}},"16d9":function(e,t,r){"use strict";var n=r("6511");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"1bd7":function(e,t,r){"use strict";var n=r("f125");e.exports=function(e,t,r,a,s){var o=new Error(e);return n(o,t,r,a,s)}},"1e8d":function(e,t,r){"use strict";var n=r("3d28"),a=r("9ae9"),s=2147483647,o=36,i=1,c=26,u=38,l=700,f=72,p=128,d="-",m=/[^\0-\u007E]/,g=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",h=o-i,b=n.RangeError,w=a(g.exec),x=Math.floor,y=String.fromCharCode,k=a("".charCodeAt),_=a([].join),R=a([].push),O=a("".replace),C=a("".split),j=a("".toLowerCase),S=function(e){var t=[],r=0,n=e.length;while(r<n){var a=k(e,r++);if(a>=55296&&a<=56319&&r<n){var s=k(e,r++);56320==(64512&s)?R(t,((1023&a)<<10)+(1023&s)+65536):(R(t,a),r--)}else R(t,a)}return t},P=function(e){return e+22+75*(e<26)},A=function(e,t,r){var n=0;e=r?x(e/l):e>>1,e+=x(e/t);while(e>h*c>>1)e=x(e/h),n+=o;return x(n+(h+1)*e/(e+u))},E=function(e){var t=[];e=S(e);var r,n,a=e.length,u=p,l=0,m=f;for(r=0;r<e.length;r++)n=e[r],n<128&&R(t,y(n));var g=t.length,h=g;g&&R(t,d);while(h<a){var w=s;for(r=0;r<e.length;r++)n=e[r],n>=u&&n<w&&(w=n);var k=h+1;if(w-u>x((s-l)/k))throw b(v);for(l+=(w-u)*k,u=w,r=0;r<e.length;r++){if(n=e[r],n<u&&++l>s)throw b(v);if(n==u){var O=l,C=o;while(1){var j=C<=m?i:C>=m+c?c:C-m;if(O<j)break;var E=O-j,L=o-j;R(t,y(P(j+E%L))),O=x(E/L),C+=o}R(t,y(P(O))),m=A(l,k,h==g),l=0,h++}}l++,u++}return _(t,"")};e.exports=function(e){var t,r,n=[],a=C(O(j(e),g,"."),".");for(t=0;t<a.length;t++)r=a[t],R(n,w(m,r)?"xn--"+E(r):r);return _(n,".")}},"204f":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"26fa":function(e,t,r){"use strict";r("7a2a"),r("40e1");var n=r("5bfc"),a=r.n(n);r("60df"),r("98db"),r("086d"),r("e72b"),r("e59d"),r("fbd4"),r("4f05");function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r("bf84");function c(e){var t=e.$http,r=localStorage.getItem("accessToken");r?t.defaults.headers.common.Authorization="Bearer ".concat(r):delete t.defaults.headers.common.Authorization}var u=function(e){var t=e.$http;c({$http:t}),t.interceptors.request.use((function(e){return c({$http:t}),e}),(function(e){return Promise.reject(e)})),t.interceptors.response.use((function(e){return e}),(function(e){if(console.log("inside interceptor"),console.warn(e.message,i({},e)),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status ".concat(e.response.status)),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,i({},t)),console.warn(JSON.stringify(i({},t)))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(e)}))},l="poc",f=window.location.host;console.log(" solidify ".concat(f)),"dev.genome.genpact.com"===f?l="dev":"uat.genome.genpact.com"===f?l="uat":"genome-eda-rel.azurewebsites.net"===f?l="prod":f.includes("localhost")&&(l="local");var p="";p="local"===l?"http://localhost:3000/local/genome-solidify-api-svc":"https://api-router.azurefd.net/".concat(l,"/aws/api/genome/solidify"),console.log(" solidify ".concat(p)),a.a.defaults.baseURL=p,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",u({$http:a.a});t["a"]=a.a},"29d4":function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},"2a91":function(e,t,r){var n=r("5638"),a=r("9ae9"),s=r("bc2f"),o=r("9025"),i=r("5f3d"),c=r("6f5a"),u=a([].push),l=function(e){var t=1==e,r=2==e,a=3==e,l=4==e,f=6==e,p=7==e,d=5==e||f;return function(m,g,v,h){for(var b,w,x=o(m),y=s(x),k=n(g,v),_=i(y),R=0,O=h||c,C=t?O(m,_):r||p?O(m,0):void 0;_>R;R++)if((d||R in y)&&(b=y[R],w=k(b,R,x),e))if(t)C[R]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return R;case 2:u(C,b)}else switch(e){case 4:return!1;case 7:u(C,b)}return f?-1:a||l?l:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},"2d80":function(e,t,r){"use strict";var n=r("29d4"),a=Object.prototype.toString;function s(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===a.call(e)}function u(e){return"[object FormData]"===a.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function p(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===a.call(e)}function v(e){return"[object File]"===a.call(e)}function h(e){return"[object Blob]"===a.call(e)}function b(e){return"[object Function]"===a.call(e)}function w(e){return d(e)&&b(e.pipe)}function x(e){return"[object URLSearchParams]"===a.call(e)}function y(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function _(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function R(){var e={};function t(t,r){m(e[r])&&m(t)?e[r]=R(e[r],t):m(t)?e[r]=R({},t):s(t)?e[r]=t.slice():e[r]=t}for(var r=0,n=arguments.length;r<n;r++)_(arguments[r],t);return e}function O(e,t,r){return _(t,(function(t,a){e[a]=r&&"function"===typeof t?n(t,r):t})),e}function C(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:p,isObject:d,isPlainObject:m,isUndefined:o,isDate:g,isFile:v,isBlob:h,isFunction:b,isStream:w,isURLSearchParams:x,isStandardBrowserEnv:k,forEach:_,merge:R,extend:O,trim:y,stripBOM:C}},"2f60":function(e,t,r){"use strict";var n=r("2d80");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=a(window.location.href),function(t){var r=n.isString(t)?a(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},3163:function(e,t,r){"use strict";var n=r("2d80"),a=r("fa15"),s=r("a581"),o=r("4af5"),i=r("419d"),c=r("32e7"),u=r("2f60"),l=r("1bd7"),f=r("d270"),p=r("6511");e.exports=function(e){return new Promise((function(t,r){var d,m=e.data,g=e.headers,v=e.responseType;function h(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+x)}var y=i(e.baseURL,e.url);function k(){if(b){var n="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,s=v&&"text"!==v&&"json"!==v?b.response:b.responseText,o={data:s,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};a((function(e){t(e),h()}),(function(e){r(e),h()}),o),b=null}}if(b.open(e.method.toUpperCase(),o(y,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(r(l("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){r(l("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},n.isStandardBrowserEnv()){var _=(e.withCredentials||u(y))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;_&&(g[e.xsrfHeaderName]=_)}"setRequestHeader"in b&&n.forEach(g,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){b&&(r(!e||e&&e.type?new p("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),m||(m=null),b.send(m)}))}},"325a":function(e,t,r){var n=r("a4ea");t=n(!1),t.push([e.i,".pageLoader[data-v-327540ba]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"32e7":function(e,t,r){"use strict";var n=r("2d80"),a=["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,r,s,o={};return e?(n.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=n.trim(e.substr(0,s)).toLowerCase(),r=n.trim(e.substr(s+1)),t){if(o[t]&&a.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o}},"37a0":function(e,t,r){"use strict";var n=r("702c"),a=r("9ae9"),s=r("76b8").f,o=r("41f2"),i=r("69e6"),c=r("6770"),u=r("21e7"),l=r("03d4"),f=r("74af"),p=a("".endsWith),d=a("".slice),m=Math.min,g=l("endsWith"),v=!f&&!g&&!!function(){var e=s(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!v&&!g},{endsWith:function(e){var t=i(u(this));c(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,a=void 0===r?n:m(o(r),n),s=i(e);return p?p(t,s,a):d(t,a-s.length,a)===s}})},"3b4b":function(e,t,r){var n=r("8b29");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("0a20").default;a("20558e26",n,!0,{sourceMap:!1,shadowMode:!1})},"3f75":function(e,t,r){"use strict";var n=r("2d80");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},"3f78":function(e,t,r){var n=r("c570");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("0a20").default;a("2169f7a2",n,!0,{sourceMap:!1,shadowMode:!1})},"419d":function(e,t,r){"use strict";var n=r("00ff"),a=r("a4bb");e.exports=function(e,t){return e&&!n(t)?a(e,t):t}},"42c3":function(e,t,r){var n=r("8755");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("0a20").default;a("12f6130a",n,!0,{sourceMap:!1,shadowMode:!1})},"43a0":function(e,t,r){"use strict";var n=r("2a91").forEach,a=r("7001"),s=a("forEach");e.exports=s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"4af5":function(e,t,r){"use strict";var n=r("2d80");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var s;if(r)s=r(t);else if(n.isURLSearchParams(t))s=t.toString();else{var o=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),s=o.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},"4bac":function(e,t,r){var n=r("e948"),a=r("177c");e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(o){a(e,"throw",o)}}},"4cd1":function(e,t,r){var n=r("ee18"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},"4e3c":function(e,t,r){var n=r("3d28");e.exports=n},"4f05":function(e,t,r){var n=r("702c"),a=r("f563"),s=r("ff82"),o=r("b6a8"),i=r("76b8"),c=r("e339");n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){var t,r,n=o(e),a=i.f,u=s(n),l={},f=0;while(u.length>f)r=a(n,t=u[f++]),void 0!==r&&c(l,t,r);return l}})},5457:function(e,t,r){"use strict";r("42c3")},"5bfc":function(e,t,r){e.exports=r("8303")},"60df":function(e,t,r){var n=r("702c"),a=r("9025"),s=r("a496"),o=r("104e"),i=o((function(){s(1)}));n({target:"Object",stat:!0,forced:i},{keys:function(e){return s(a(e))}})},"60f3":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.renderReady?n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Roles ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedRole,expression:"selectedRole"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedRole=t.target.multiple?r:r[0]}}},e._l(e.roles,(function(t){return n("option",{key:t.roleName,domProps:{value:t.roleName}},[e._v(e._s(t.roleName))])})),0),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" OHR ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrToAssignRole,expression:"ohrToAssignRole"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.ohrToAssignRole},on:{input:function(t){t.target.composing||(e.ohrToAssignRole=t.target.value)}}}),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4",on:{click:function(t){return e.updateRecord()}}},[e._v("Assign Role")]),n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.removeRole()}}},[e._v("Remove Role")])]),e.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e()])])]):e._e(),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Assign Role")])])}],s=r("4c8c"),o=(r("6c29"),r("bf84"),r("7a2a"),r("40e1"),r("54c7")),i=r("5bfc"),c=r.n(i),u=r("8596"),l=Object(o["b"])({name:"AssignRoleToOhr",setup:function(){var e=Object(o["f"])(""),t=Object(o["f"])(!0),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),i=Object(o["f"])(!0),l=Object(o["f"])(!1),f=Object(o["f"])(),p=Object(o["f"])(!1),d=Object(o["f"])(),m=function(){var a=Object(s["a"])(regeneratorRuntime.mark((function a(){var s,o,i,d,m;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(a.prev=0,void 0!==r.value){a.next=6;break}n.value="Please Select One Role",setTimeout((function(){n.value=null}),6e3),a.next=24;break;case 6:if(e){a.next=11;break}n.value="Please Enter OHR to Assign Role",setTimeout((function(){n.value=null}),6e3),a.next=24;break;case 11:return t.value=!1,console.log("selectedRole ".concat(r.value)),s=[],s.push(e.value),o={ohr_list:s,role_name:r.value},console.log("data ".concat(JSON.stringify(o))),a.next=19,Object(u["a"])(o);case 19:i=a.sent,f.value=i.data,t.value=!0,l.value=!0,setTimeout((function(){l.value=!1}),2e3);case 24:a.next=29;break;case 26:a.prev=26,a.t0=a["catch"](0),c.a.isAxiosError(a.t0)&&(m=a.t0,t.value=!0,f.value=null===(d=m.response)||void 0===d?void 0:d.data.message,p.value=!0,setTimeout((function(){p.value=!1}),2e3));case 29:case"end":return a.stop()}}),a,null,[[0,26]])})));return function(){return a.apply(this,arguments)}}(),g=function(){var a=Object(s["a"])(regeneratorRuntime.mark((function a(){var s,o,i,d,m;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(a.prev=0,void 0!==r.value){a.next=6;break}n.value="Please Select One Role",setTimeout((function(){n.value=null}),6e3),a.next=23;break;case 6:if(e){a.next=11;break}n.value="Please Enter OHR to remove Role",setTimeout((function(){n.value=null}),6e3),a.next=23;break;case 11:return t.value=!1,console.log("selectedRole ".concat(r.value)),s={user_ohr:e.value,role_name:r.value},console.log("data ".concat(JSON.stringify(s))),a.next=17,Object(u["B"])(s);case 17:o=a.sent,f.value=o.data,t.value=!0,l.value=!0,console.log("showSuccessMessage.value ".concat(JSON.stringify(o))),setTimeout((function(){l.value=!1}),2e3);case 23:a.next=29;break;case 25:a.prev=25,a.t0=a["catch"](0),console.log("inside catch"),c.a.isAxiosError(a.t0)&&(m=a.t0,console.log(null===(i=m.response)||void 0===i?void 0:i.data),t.value=!0,f.value=null===(d=m.response)||void 0===d?void 0:d.data.message,console.log("errorMessage.value ".concat(n.value)),p.value=!0,setTimeout((function(){p.value=!1}),2e3));case 29:case"end":return a.stop()}}),a,null,[[0,25]])})));return function(){return a.apply(this,arguments)}}();return Object(o["c"])(Object(s["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.value=!1,e.next=4,Object(u["g"])("/getUserRole");case 4:if(r=e.sent,a.value=r.user_roles,!(a.value.length>0)){e.next=12;break}return a.value.includes("System Admin")?i.value=!0:i.value=!1,e.next=10,Object(u["b"])();case 10:n=e.sent,d.value=n.data.roles;case 12:t.value=!0,e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](0),console.log(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,15]])})))),{renderReady:t,roles:d,ohrToAssignRole:e,selectedRole:r,updateRecord:m,errorMessage:n,showScreen:i,resMessage:f,showErrorMessage:p,showSuccessMessage:l,removeRole:g}}}),f=l,p=(r("5457"),r("2490")),d=Object(p["a"])(f,n,a,!1,null,"999ded6e",null);t["default"]=d.exports},6274:function(e,t,r){var n=r("104e"),a=r("391b"),s=r("74af"),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},6511:function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},6615:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"675e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return u}));var n=r("4c8c"),a=(r("e72b"),r("6c29"),r("26fa")),s=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post(t,r);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),o=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(t),{method:"put",body:r});case 2:return a=e.sent,n=a,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),i=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get("/task/".concat(t));case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post(t,{learner_task_id:r});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),u=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post(t,r);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},7001:function(e,t,r){"use strict";var n=r("104e");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},7056:function(e,t,r){var n=r("3d28"),a=r("c8e9"),s=r("5f3d"),o=r("e339"),i=n.Array,c=Math.max;e.exports=function(e,t,r){for(var n=s(e),u=a(t,n),l=a(void 0===r?n:r,n),f=i(c(l-u,0)),p=0;u<l;u++,p++)o(f,p,e[u]);return f.length=p,f}},8303:function(e,t,r){"use strict";var n=r("2d80"),a=r("29d4"),s=r("d51f"),o=r("db65"),i=r("d270");function c(e){var t=new s(e),r=a(s.prototype.request,t);return n.extend(r,s.prototype,t),n.extend(r,t),r.create=function(t){return c(o(e,t))},r}var u=c(i);u.Axios=s,u.Cancel=r("6511"),u.CancelToken=r("16d9"),u.isCancel=r("204f"),u.VERSION=r("eeff").version,u.all=function(e){return Promise.all(e)},u.spread=r("6615"),u.isAxiosError=r("3f75"),e.exports=u,e.exports.default=u},8596:function(e,t,r){"use strict";r.d(t,"y",(function(){return s})),r.d(t,"t",(function(){return o})),r.d(t,"u",(function(){return i})),r.d(t,"e",(function(){return c})),r.d(t,"x",(function(){return u})),r.d(t,"z",(function(){return l})),r.d(t,"r",(function(){return f})),r.d(t,"s",(function(){return p})),r.d(t,"f",(function(){return d})),r.d(t,"v",(function(){return m})),r.d(t,"h",(function(){return g})),r.d(t,"j",(function(){return v})),r.d(t,"q",(function(){return h})),r.d(t,"o",(function(){return b})),r.d(t,"p",(function(){return w})),r.d(t,"m",(function(){return x})),r.d(t,"k",(function(){return y})),r.d(t,"l",(function(){return k})),r.d(t,"A",(function(){return _})),r.d(t,"C",(function(){return R})),r.d(t,"w",(function(){return O})),r.d(t,"n",(function(){return C})),r.d(t,"i",(function(){return j})),r.d(t,"g",(function(){return S})),r.d(t,"a",(function(){return P})),r.d(t,"B",(function(){return A})),r.d(t,"b",(function(){return E})),r.d(t,"d",(function(){return L})),r.d(t,"c",(function(){return D}));var n=r("4c8c"),a=(r("6c29"),r("26fa")),s=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post("/user/role",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post("/user/removeRole",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get("role");case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post("/user/saveLSS",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].post("/user/saveEnvAccess",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},"864e":function(e,t,r){"use strict";r("b470")},8755:function(e,t,r){var n=r("a4ea");t=n(!1),t.push([e.i,".pageLoader[data-v-999ded6e]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"8b29":function(e,t,r){var n=r("a4ea");t=n(!1),t.push([e.i,".pageLoader[data-v-00a0cc21]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"93bd":function(e,t,r){var n=r("4e3c"),a=r("a029"),s=r("dd47"),o=r("938a").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:s.f(e)})}},9469:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.renderReady?n("div",{staticClass:"w-full mt-4"},[e.programDetails?n("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Name ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.program_name,expression:"programDetails.program_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programDetails.program_name},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"program_name",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" is Academy ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.isAcademy,expression:"programDetails.isAcademy"}],staticClass:"capitalize appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programDetails.isAcademy},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"isAcademy",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Module ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programModuleName,expression:"programModuleName"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programModuleName},on:{input:function(t){t.target.composing||(e.programModuleName=t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Skill ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.skill,expression:"skill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.skill},on:{input:function(t){t.target.composing||(e.skill=t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.proficiency,expression:"proficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.proficiency},on:{input:function(t){t.target.composing||(e.proficiency=t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Start Date ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.start_date,expression:"programDetails.start_date"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.programDetails.start_date},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"start_date",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" End Date ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.end_date,expression:"programDetails.end_date"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.programDetails.end_date},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"end_date",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Task Sequence Number ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.task_seq_num,expression:"programDetails.task_seq_num"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:e.programDetails.task_seq_num},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"task_seq_num",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Mandatory Reviews ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.mandatory_reviews,expression:"programDetails.mandatory_reviews"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number",max:"5",min:"1"},domProps:{value:e.programDetails.mandatory_reviews},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"mandatory_reviews",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Pass Percentage ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.pass_percentage,expression:"programDetails.pass_percentage"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number",min:"1",max:"100",maxlength:"3"},domProps:{value:e.programDetails.pass_percentage},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"pass_percentage",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Reviewer Hold Time (in minutes) ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.reviewer_hold_time_in_minutes,expression:"programDetails.reviewer_hold_time_in_minutes"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:e.programDetails.reviewer_hold_time_in_minutes},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"reviewer_hold_time_in_minutes",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Disable Notifications ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"disable_notifications",t.target.multiple?r:r[0])}}},e._l(e.yesNo,(function(t){return n("option",{key:t.value,domProps:{value:t.value}},[e._v(e._s(t.name))])})),0)]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e._m(1),n("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"enable_report",t.target.multiple?r:r[0])}}},e._l(e.yesNo,(function(t){return n("option",{key:t.value,domProps:{value:t.value}},[e._v(e._s(t.name))])})),0)]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Task Assignment Strategy ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.task_strategy,expression:"programDetails.task_strategy"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"task_strategy",t.target.multiple?r:r[0])}}},e._l(e.taskAssignmentStrategy,(function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Reviewer Assignment Strategy ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.reviewer_strategy,expression:"programDetails.reviewer_strategy"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"reviewer_strategy",t.target.multiple?r:r[0])}}},e._l(e.reviewerAssignmentStrategy,(function(t){return n("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Admin ")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.program_admin,expression:"programDetails.program_admin"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",attrs:{disabled:""},domProps:{value:e.programDetails.program_admin},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"program_admin",t.target.value)}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Linked Proxy OHR ")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.linked_proxy_ohr,expression:"programDetails.linked_proxy_ohr"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",attrs:{disabled:""},domProps:{value:e.programDetails.linked_proxy_ohr},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"linked_proxy_ohr",t.target.value)}}})]),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationProgramAdministration"}}},[e._v(" Back ")]),e.showUpdate?n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.updateRecord()}}},[e._v("Update")]):e._e()],1)])]):e._e()]):e._e(),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access this page")])])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Program Details")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Enable Report"),r("span",{staticClass:"text-red-700"},[e._v(" (Selecting this will cause a learner journey report to be emailed to all program admins)")])])}],s=r("4c8c"),o=(r("7a2a"),r("40e1"),r("6c29"),r("54c7")),i=r("5bfc"),c=r.n(i),u=r("a42c"),l=r.n(u),f=r("26fa"),p=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f["a"].get("/program/".concat(t)).then((function(e){return r=e.data,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,console.log("inside update Program Service"),e.next=4,f["a"].put("/program",t).then((function(e){return console.log("program Response",e),r=e.data,r}));case 4:return e.abrupt("return",r);case 7:return e.prev=7,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),m=r("8596"),g=Object(o["b"])({name:"ProgramDetails",props:{query:{type:Object,default:function(){return{}}}},setup:function(e){var t=Object(o["f"])(e.query.program_id),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(),f=Object(o["f"])(),g=Object(o["f"])(),v=Object(o["f"])(!0),h=Object(o["f"])(),b=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(),y=Object(o["f"])(),k=Object(o["f"])(),_=Object(o["f"])(!0),R=Object(o["f"])(!1),O=Object(o["f"])(),C=Object(o["f"])(!1),j=Object(o["f"])(),S=Object(o["f"])([{name:"Yes",value:!0},{name:"No",value:!1}]),P=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,r.value=!1,e.next=4,p(t.value);case 4:s=e.sent,n.value=s.prog_detail,console.log("programDetails.value.start_date before ".concat(n.value.start_date)),console.log("programDetails.value.end_date before ".concat(n.value.end_date)),n.value.start_date=l()(n.value.start_date).format("YYYY-MM-DD"),console.log("programDetails.value.start_date after ".concat(n.value.start_date)),n.value.end_date=l()(n.value.end_date).format("YYYY-MM-DD"),console.log("programDetails.value.end_date after ".concat(n.value.end_date)),a.value=s.task_assignment_strategy,i.value=s.reviewer_assignment_strategy,b.value=s.program_module_name,w.value=s.skill,x.value=s.proficiency,console.log("disable notifications ".concat(n.value.disable_notifications)),g.value=n.value.program_admin?s.prog_detail.program_admin:[],console.log("program_admin",g.value),r.value=!0,e.next=26;break;case 23:e.prev=23,e.t0=e["catch"](0),console.log(e.t0);case 26:case"end":return e.stop()}}),e,null,[[0,23]])})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,a,s,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,console.log("Inside Update Program"),!(n.value.pass_percentage<1||n.value.pass_percentage>100)){e.next=9;break}console.log("inside pass percentage if"),u.value="Pass percentage Should be 1 to 100",window.scroll(0,0),setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 9:if(n.value.task_strategy){e.next=16;break}console.log("inside Task Strategy if"),u.value="Please Select Task Strategy",window.scroll(0,0),setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 16:if(n.value.reviewer_strategy){e.next=23;break}window.scroll(0,0),console.log("inside Reviewer Strategy if"),u.value="Please Select Reviewer Strategy",setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 23:if(!(0===parseInt(n.value.task_seq_num,10)||parseInt(n.value.task_seq_num,10)<0)){e.next=30;break}window.scroll(0,0),console.log("inside Sequence number should if"),u.value="Task Sequence number should be greater than 0",setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 30:if(!(n.value.mandatory_reviews<1||n.value.mandatory_reviews>5)){e.next=36;break}window.scroll(0,0),u.value="Mandatory Review should be 1 to 5",setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 36:if(!(n.value.start_date&&n.value.end_date&&l()(n.value.end_date).diff(l()(n.value.start_date),"days")<0)){e.next=42;break}window.scroll(0,0),u.value="Start Date cannot be greater than End Date",setTimeout((function(){u.value=null}),6e3),e.next=49;break;case 42:return r.value=!1,e.next=45,d(n.value);case 45:return t=e.sent,e.next=48,P();case 48:t&&(O.value=t,R.value=!0,setTimeout((function(){R.value=!1}),6e3),r.value=!0);case 49:e.next=54;break;case 51:e.prev=51,e.t0=e["catch"](0),c.a.isAxiosError(e.t0)&&(o=e.t0,console.log(null===(a=o.response)||void 0===a?void 0:a.data),r.value=!0,O.value=null===(s=o.response)||void 0===s?void 0:s.data.message,console.log("errorMessage.value ".concat(u.value)),C.value=!0,setTimeout((function(){C.value=!1}),6e3));case 54:case"end":return e.stop()}}),e,null,[[0,51]])})));return function(){return e.apply(this,arguments)}}();return Object(o["c"])(Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["g"])("/getUserRole");case 2:return t=e.sent,e.next=5,P();case 5:h.value=t.user_roles,j.value=t.user_key,h.value.length>0&&(h.value.includes("System Admin")||g.value.includes(j.value)?(v.value=!0,_.value=!0):(v.value=!1,_.value=!1),h.value.includes("System Admin View Access")&&(_.value=!0,v.value=!1));case 8:case"end":return e.stop()}}),e)})))),{renderReady:r,programDetails:n,updateRecord:A,errorMessage:u,taskAssignmentStrategy:a,reviewerAssignmentStrategy:i,showUpdate:v,programModuleName:b,skill:w,proficiency:x,showScreen:_,startDate:y,endDate:k,showSuccessMessage:R,resMessage:O,showErrorMessage:C,loggedInUser:j,programAdmin:g,proxyOHR:f,yesNo:S}}}),v=g,h=(r("9f0d"),r("2490")),b=Object(h["a"])(v,n,a,!1,null,"00a0cc21",null);t["default"]=b.exports},"98db":function(e,t,r){"use strict";var n=r("702c"),a=r("3d28"),s=r("8131"),o=r("1d3e"),i=r("171d"),c=r("9ae9"),u=r("74af"),l=r("f563"),f=r("6f02"),p=r("104e"),d=r("a029"),m=r("b6ff"),g=r("bcc5"),v=r("ad36"),h=r("7437"),b=r("9b06"),w=r("e948"),x=r("9025"),y=r("b6a8"),k=r("50c1"),_=r("69e6"),R=r("4d33"),O=r("c0a3"),C=r("a496"),j=r("cdfd"),S=r("b79c"),P=r("9b50"),A=r("76b8"),E=r("938a"),L=r("cca4"),D=r("aa30"),M=r("43f9"),U=r("e1b9"),T=r("abf4"),N=r("f5c2"),B=r("f4f3"),I=r("79bd"),q=r("391b"),z=r("dd47"),F=r("93bd"),H=r("cc69"),$=r("91ca"),J=r("2a91").forEach,Y=N("hidden"),G="Symbol",W="prototype",V=q("toPrimitive"),X=$.set,K=$.getterFor(G),Q=Object[W],Z=a.Symbol,ee=Z&&Z[W],te=a.TypeError,re=a.QObject,ne=s("JSON","stringify"),ae=A.f,se=E.f,oe=S.f,ie=D.f,ce=c([].push),ue=T("symbols"),le=T("op-symbols"),fe=T("string-to-symbol-registry"),pe=T("symbol-to-string-registry"),de=T("wks"),me=!re||!re[W]||!re[W].findChild,ge=l&&p((function(){return 7!=O(se({},"a",{get:function(){return se(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=ae(Q,t);n&&delete Q[t],se(e,t,r),n&&e!==Q&&se(Q,t,n)}:se,ve=function(e,t){var r=ue[e]=O(ee);return X(r,{type:G,tag:e,description:t}),l||(r.description=t),r},he=function(e,t,r){e===Q&&he(le,t,r),w(e);var n=k(t);return w(r),d(ue,n)?(r.enumerable?(d(e,Y)&&e[Y][n]&&(e[Y][n]=!1),r=O(r,{enumerable:R(0,!1)})):(d(e,Y)||se(e,Y,R(1,{})),e[Y][n]=!0),ge(e,n,r)):se(e,n,r)},be=function(e,t){w(e);var r=y(t),n=C(r).concat(_e(r));return J(n,(function(t){l&&!i(xe,r,t)||he(e,t,r[t])})),e},we=function(e,t){return void 0===t?O(e):be(O(e),t)},xe=function(e){var t=k(e),r=i(ie,this,t);return!(this===Q&&d(ue,t)&&!d(le,t))&&(!(r||!d(this,t)||!d(ue,t)||d(this,Y)&&this[Y][t])||r)},ye=function(e,t){var r=y(e),n=k(t);if(r!==Q||!d(ue,n)||d(le,n)){var a=ae(r,n);return!a||!d(ue,n)||d(r,Y)&&r[Y][n]||(a.enumerable=!0),a}},ke=function(e){var t=oe(y(e)),r=[];return J(t,(function(e){d(ue,e)||d(B,e)||ce(r,e)})),r},_e=function(e){var t=e===Q,r=oe(t?le:y(e)),n=[];return J(r,(function(e){!d(ue,e)||t&&!d(Q,e)||ce(n,ue[e])})),n};if(f||(Z=function(){if(h(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=I(e),r=function(e){this===Q&&i(r,le,e),d(this,Y)&&d(this[Y],t)&&(this[Y][t]=!1),ge(this,t,R(1,e))};return l&&me&&ge(Q,t,{configurable:!0,set:r}),ve(t,e)},ee=Z[W],U(ee,"toString",(function(){return K(this).tag})),U(Z,"withoutSetter",(function(e){return ve(I(e),e)})),D.f=xe,E.f=he,L.f=be,A.f=ye,j.f=S.f=ke,P.f=_e,z.f=function(e){return ve(q(e),e)},l&&(se(ee,"description",{configurable:!0,get:function(){return K(this).description}}),u||U(Q,"propertyIsEnumerable",xe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Z}),J(C(de),(function(e){F(e)})),n({target:G,stat:!0,forced:!f},{for:function(e){var t=_(e);if(d(fe,t))return fe[t];var r=Z(t);return fe[t]=r,pe[r]=t,r},keyFor:function(e){if(!b(e))throw te(e+" is not a symbol");if(d(pe,e))return pe[e]},useSetter:function(){me=!0},useSimple:function(){me=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!l},{create:we,defineProperty:he,defineProperties:be,getOwnPropertyDescriptor:ye}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:ke,getOwnPropertySymbols:_e}),n({target:"Object",stat:!0,forced:p((function(){P.f(1)}))},{getOwnPropertySymbols:function(e){return P.f(x(e))}}),ne){var Re=!f||p((function(){var e=Z();return"[null]"!=ne([e])||"{}"!=ne({a:e})||"{}"!=ne(Object(e))}));n({target:"JSON",stat:!0,forced:Re},{stringify:function(e,t,r){var n=M(arguments),a=t;if((v(t)||void 0!==e)&&!b(e))return m(t)||(t=function(e,t){if(g(a)&&(t=i(a,this,e,t)),!b(t))return t}),n[1]=t,o(ne,null,n)}})}if(!ee[V]){var Oe=ee.valueOf;U(ee,V,(function(e){return i(Oe,this)}))}H(Z,G),B[Y]=!0},"98dd":function(e,t,r){"use strict";var n=r("2d80");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},"98e7":function(e,t,r){var n=r("3d28"),a=n.TypeError;e.exports=function(e,t){if(e<t)throw a("Not enough arguments");return e}},"9a49":function(e,t,r){"use strict";var n=r("eeff").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var s={};function o(e,t,r){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),a=n.length;while(a-- >0){var s=n[a],o=t[s];if(o){var i=e[s],c=void 0===i||o(i,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+s)}}a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,o){if(!1===e)throw new Error(a(n," has been removed"+(t?" in "+t:"")));return t&&!s[n]&&(s[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,o)}},e.exports={assertOptions:o,validators:a}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},"9f0d":function(e,t,r){"use strict";r("3b4b")},a4bb:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},a581:function(e,t,r){"use strict";var n=r("2d80");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,r,a,s,o){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(a)&&i.push("path="+a),n.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.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)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},af49:function(e,t,r){var n=r("ee18"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},b025:function(e,t,r){"use strict";var n=r("702c"),a=r("9ae9"),s=r("fad3"),o=r("9025"),i=r("5f3d"),c=r("69e6"),u=r("104e"),l=r("dce5"),f=r("7001"),p=r("4cd1"),d=r("d0af"),m=r("8705"),g=r("af49"),v=[],h=a(v.sort),b=a(v.push),w=u((function(){v.sort(void 0)})),x=u((function(){v.sort(null)})),y=f("sort"),k=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(d)return!0;if(g)return g<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:t+n,v:r})}for(v.sort((function(e,t){return t.v-e.v})),n=0;n<v.length;n++)t=v[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})),_=w||!x||!y||!k,R=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}};n({target:"Array",proto:!0,forced:_},{sort:function(e){void 0!==e&&s(e);var t=o(this);if(k)return void 0===e?h(t):h(t,e);var r,n,a=[],c=i(t);for(n=0;n<c;n++)n in t&&b(a,t[n]);l(a,R(e)),r=a.length,n=0;while(n<r)t[n]=a[n++];while(n<c)delete t[n++];return t}})},b470:function(e,t,r){var n=r("325a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("0a20").default;a("37737120",n,!0,{sourceMap:!1,shadowMode:!1})},b79c:function(e,t,r){var n=r("8d1e"),a=r("b6a8"),s=r("cdfd").f,o=r("7056"),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return s(e)}catch(t){return o(i)}};e.exports.f=function(e){return i&&"Window"==n(e)?c(e):s(a(e))}},be40:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[[n("div",{staticClass:"w-full mt-4"},[n("h6",{staticClass:"mb-4"},[e._v("Seed Data")]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedMaster()}}},[e._v("Seed Masters")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.skillSync()}}},[e._v("Invoke Skill Sync Service")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.templateSeed()}}},[e._v("Seed Email Templates")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.cacheSync()}}},[e._v("syncCache")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedDefaultProgram()}}},[e._v("Seed Default Program")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedRoles()}}},[e._v("Seed Roles")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedProxyReviewers()}}},[e._v("Seed Proxy Reviewers")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedUser()}}},[e._v("Seed Users")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.diffAccess()}}},[e._v("Diff Access")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.removeDuplicateProxyAssigned()}}},[e._v("Remove Duplicate Proxy Assigned")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.updateS3CohortsModifiedDate()}}},[e._v("Update S3/Cohorts Learner Modified Date")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerofcon()}}},[e._v("Trigger Ofcon")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showImportLSS=!0}}},[e._v("Upload LSS Learners")])]),e.showImportLSS?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?n("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadLSSLearners}},[e._v("Upload LSS Learner")]),e.renderReady1?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),n("div",{staticClass:"w-full"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showEnvAccess=!0}}},[e._v("Upload Env Access Learners")])]),e.showEnvAccess?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?n("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadEnvAccessLearners}},[e._v("Upload Env Access Learners")]),e.renderReady1?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),n("div",{staticClass:"w-full"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showServiceLineSkills=!0}}},[e._v("Upload Service_line_skills_GF_Event_ID")])]),e.showServiceLineSkills?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?n("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadServiceLineSkillsGFEventIDs}},[e._v("Upload Service_line_skills_GF_Event_ID")]),e.renderReady1?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),n("h6",{staticClass:"mb-4"},[e._v("Migrate Cohorts")]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohort()}}},[e._v("Migrate Cohorts")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortLA()}}},[e._v("Trigger Cohort LA")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortReview()}}},[e._v("Trigger Cohort Reviews")])]),n("h6",{staticClass:"mb-4"},[e._v("Migrate S2")]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS2Tasks()}}},[e._v("Migrate S2 Tasks")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAImport()}}},[e._v("Import S2 LA")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAMigrate()}}},[e._v("Trigger S2 LA")])])]),n("h6",{staticClass:"mb-4"},[e._v("Migrate S3")]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3Tasks()}}},[e._v("Migrate S3 Tasks")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3LA()}}},[e._v("Trigger S3 LA")])]),n("div",{staticClass:"w-full"},[n("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS3Reviews()}}},[e._v("Trigger S3 Review")])])],e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[],s=r("4c8c"),o=(r("6c29"),r("ccb9"),r("37a0"),r("7a2a"),r("40e1"),r("54c7")),i=r("5bfc"),c=r.n(i),u=r("8596"),l=r("675e"),f=r("e206"),p=Object(o["b"])({setup:function(){var e=Object(o["f"])(),t=Object(o["f"])(!0),r=Object(o["f"])(!1),n=Object(o["f"])(!1),a=Object(o["f"])(!1),i=Object(o["f"])(),p=Object(o["f"])(),d=Object(o["f"])(),m=Object(o["f"])(),g=Object(o["f"])(),v=Object(o["f"])(!0),h=Object(o["f"])(!0),b=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{r=t.target.files[0],n=t.target.files[0].name,a=n.endsWith(".csv"),a?(d.value=r,m.value=n):(p.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){p.value=null}),6e3),d.value=null,m.value=null)}catch(s){console.log(s)}case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value=!1,m.value){e.next=6;break}p.value="Please Select valid file to upload",setTimeout((function(){p.value=null}),6e3),e.next=22;break;case 6:return e.next=8,Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"lss_import",key_name:m.value});case 8:return t=e.sent,g.value=t.data.preSignedUrl,e.next=12,Object(f["g"])(g.value,d.value);case 12:if(n=e.sent,200!==n.status){e.next=22;break}return e.next=16,Object(u["d"])({file_key:"lss_import/".concat(m.value)});case 16:a=e.sent,console.log(a),i.value="LSS Record added",d.value=null,m.value=null,setTimeout((function(){i.value=null,r.value=!1}),6e3);case 22:h.value=!0;case 23:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value=!1,m.value){e.next=6;break}p.value="Please Select valid file to upload",setTimeout((function(){p.value=null}),6e3),e.next=23;break;case 6:return e.next=8,Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"Env_Learner_access",key_name:m.value});case 8:return t=e.sent,g.value=t.data.preSignedUrl,e.next=12,Object(f["h"])(g.value,d.value);case 12:if(r=e.sent,200!==r.status){e.next=23;break}return console.log(" upload success"),e.next=17,Object(u["c"])({file_key:"Env_Learner_access/".concat(m.value)});case 17:a=e.sent,console.log(a),i.value="Learner Record added",d.value=null,m.value=null,setTimeout((function(){i.value=null,n.value=!1}),6e3);case 23:h.value=!0;case 24:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value=!1,m.value){e.next=6;break}p.value="Please Select valid file to upload",setTimeout((function(){p.value=null}),6e3),e.next=14;break;case 6:return e.next=8,Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"service_line_skills",key_name:m.value});case 8:return t=e.sent,g.value=t.data.preSignedUrl,e.next=12,Object(f["i"])(g.value,d.value);case 12:r=e.sent,200===r.status&&(console.log(" upload success"),i.value="File added",d.value=null,m.value=null,setTimeout((function(){i.value=null,n.value=!1}),6e3));case 14:h.value=!0;case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["y"])("/admin/seedMasters");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["t"])("/skill/sync");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["u"])("/email/template/seed");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["e"])("/cache/sync");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),C=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["x"])("/program/seedDefault");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),j=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["z"])("/role/init");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),S=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["r"])("/user/proxy");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["s"])("/user/seed");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["n"])("user/proxy");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["f"])("/user/diff-access");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["w"])("/admin/user/ofcon");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["i"])("/migrate/cohort/program");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["v"])("/migrate/cohort");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["h"])("/migration/cohort/trigger/learner_activity");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["j"])("migration/cohort/trigger/review");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["q"])("/migration/S2/tasks");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),B=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["o"])("/migration/S2/learner_activity/import");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["p"])("/migration/S2/learner_activity/trigger");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["m"])("migration/S3/task");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["k"])("migration/S3/learner_activites/trigger");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["l"])("migration/S3/learner_reviews/trigger");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{t=Object(u["A"])("learner/proxy/remove"),console.log("res data message ".concat(t.data.message))}catch(a){console.log("axios.isAxiosError(error)",c.a.isAxiosError(a)),c.a.isAxiosError(a)&&(n=a,console.log("err.response?.data ".concat(null===(r=n.response)||void 0===r?void 0:r.data)))}case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{t=Object(u["C"])("/updateCohortLearnerModifiedDate"),console.log("res data message ".concat(t.data.message))}catch(a){console.log("axios.isAxiosError(error)",c.a.isAxiosError(a)),c.a.isAxiosError(a)&&(n=a,console.log("err.response?.data ".concat(null===(r=n.response)||void 0===r?void 0:r.data)))}case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(o["c"])(Object(s["a"])(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(u["g"])("/getUserRole");case 2:n=r.sent,e.value=n.user_roles,e.value.length>0&&(e.value.includes("System Admin")?t.value=!0:t.value=!1);case 5:case"end":return r.stop()}}),r)})))),{skillSync:_,templateSeed:R,cacheSync:O,seedDefaultProgram:C,seedRoles:j,seedProxyReviewers:S,diffAccess:E,migrateCohortProgram:D,migrateCohort:M,seedUser:P,proxyReviewSeed:A,migrateCohortLA:U,migrateCohortReview:T,migrateS2Tasks:N,triggerS2LAImport:B,triggerS2LAMigrate:I,migrateS3Tasks:q,migrateS3LA:z,triggerS3Reviews:F,seedMaster:k,showScreen:t,removeDuplicateProxyAssigned:H,updateS3CohortsModifiedDate:$,triggerofcon:L,showImportLSS:r,showEnvAccess:n,showServiceLineSkills:a,uploadLSSLearners:w,uploadEnvAccessLearners:x,uploadServiceLineSkillsGFEventIDs:y,selectedFile:b,successMessage:i,errorMessage:p,renderReady:v,renderReady1:h}}}),d=p,m=r("2490"),g=Object(m["a"])(d,n,a,!1,null,null,null);t["default"]=g.exports},bf84:function(e,t,r){var n=r("702c"),a=r("3d28"),s=r("8131"),o=r("1d3e"),i=r("9ae9"),c=r("104e"),u=a.Array,l=s("JSON","stringify"),f=i(/./.exec),p=i("".charAt),d=i("".charCodeAt),m=i("".replace),g=i(1..toString),v=/[\uD800-\uDFFF]/g,h=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,w=function(e,t,r){var n=p(r,t-1),a=p(r,t+1);return f(h,e)&&!f(b,a)||f(b,e)&&!f(h,n)?"\\u"+g(d(e,0),16):e},x=c((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&n({target:"JSON",stat:!0,forced:x},{stringify:function(e,t,r){for(var n=0,a=arguments.length,s=u(a);n<a;n++)s[n]=arguments[n];var i=o(l,null,s);return"string"==typeof i?m(i,v,w):i}})},c570:function(e,t,r){var n=r("a4ea");t=n(!1),t.push([e.i,".pageLoader[data-v-43131650]{position:fixed;top:30%;left:42%}.tableScroll[data-v-43131650]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-43131650]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-43131650]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-43131650],.modal-fade-leave-to[data-v-43131650]{opacity:0}.modal-fade-enter-active[data-v-43131650],.modal-fade-leave-active[data-v-43131650]{transition:opacity .5s ease}",""]),e.exports=t},c609:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var a=e[n];"."===a?e.splice(n,1):".."===a?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){r=t+1;break}}else-1===n&&(a=!1,n=t+1);return-1===n?"":e.slice(r,n)}function a(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,s=arguments.length-1;s>=-1&&!n;s--){var o=s>=0?arguments[s]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,n="/"===o.charAt(0))}return t=r(a(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),o="/"===s(e,-1);return e=r(a(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&o&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var a=n(e.split("/")),s=n(r.split("/")),o=Math.min(a.length,s.length),i=o,c=0;c<o;c++)if(a[c]!==s[c]){i=c;break}var u=[];for(c=i;c<a.length;c++)u.push("..");return u=u.concat(s.slice(i)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!a){n=s;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===n&&(a=!1,n=o+1),46===i?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!a){r=o+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)};var s="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("e6ee"))},cced:function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var a,s,o,i,c;for(o in t)if(a=e[o],s=t[o],a&&r.test(o))if("class"===o&&("string"===typeof a&&(c=a,e[o]=a={},a[c]=!0),"string"===typeof s&&(c=s,t[o]=s={},s[c]=!0)),"on"===o||"nativeOn"===o||"hook"===o)for(i in s)a[i]=n(a[i],s[i]);else if(Array.isArray(a))e[o]=a.concat(s);else if(Array.isArray(s))e[o]=[a].concat(s);else for(i in s)a[i]=s[i];else e[o]=t[o];return e}),{})}},d0af:function(e,t,r){var n=r("ee18");e.exports=/MSIE|Trident/.test(n)},d125:function(e,t,r){"use strict";r("fc5a");var n,a=r("702c"),s=r("f563"),o=r("6274"),i=r("3d28"),c=r("5638"),u=r("9ae9"),l=r("cca4").f,f=r("e1b9"),p=r("97e7"),d=r("a029"),m=r("52d8"),g=r("0e81"),v=r("7056"),h=r("3494").codeAt,b=r("1e8d"),w=r("69e6"),x=r("cc69"),y=r("0928"),k=r("91ca"),_=k.set,R=k.getterFor("URL"),O=y.URLSearchParams,C=y.getState,j=i.URL,S=i.TypeError,P=i.parseInt,A=Math.floor,E=Math.pow,L=u("".charAt),D=u(/./.exec),M=u([].join),U=u(1..toString),T=u([].pop),N=u([].push),B=u("".replace),I=u([].shift),q=u("".split),z=u("".slice),F=u("".toLowerCase),H=u([].unshift),$="Invalid authority",J="Invalid scheme",Y="Invalid host",G="Invalid port",W=/[a-z]/i,V=/[\d+-.a-z]/i,X=/\d/,K=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ae=/[\t\n\r]/g,se=function(e){var t,r,n,a,s,o,i,c=q(e,".");if(c.length&&""==c[c.length-1]&&c.length--,t=c.length,t>4)return e;for(r=[],n=0;n<t;n++){if(a=c[n],""==a)return e;if(s=10,a.length>1&&"0"==L(a,0)&&(s=D(K,a)?16:8,a=z(a,8==s?1:2)),""===a)o=0;else{if(!D(10==s?Z:8==s?Q:ee,a))return e;o=P(a,s)}N(r,o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=E(256,5-t))return null}else if(o>255)return null;for(i=T(r),n=0;n<r.length;n++)i+=r[n]*E(256,3-n);return i},oe=function(e){var t,r,n,a,s,o,i,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return L(e,f)};if(":"==p()){if(":"!=L(e,1))return;f+=2,u++,l=u}while(p()){if(8==u)return;if(":"!=p()){t=r=0;while(r<4&&D(ee,p()))t=16*t+P(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;n=0;while(p()){if(a=null,n>0){if(!("."==p()&&n<4))return;f++}if(!D(X,p()))return;while(D(X,p())){if(s=P(p(),10),null===a)a=s;else{if(0==a)return;a=10*a+s}if(a>255)return;f++}c[u]=256*c[u]+a,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,u++,l=u}}if(null!==l){o=u-l,u=7;while(0!=u&&o>0)i=c[u],c[u--]=c[l+o-1],c[l+--o]=i}else if(8!=u)return;return c},ie=function(e){for(var t=null,r=1,n=null,a=0,s=0;s<8;s++)0!==e[s]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=s),++a);return a>r&&(t=n,r=a),t},ce=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=A(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=ie(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ue={},le=m({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),fe=m({},le,{"#":1,"?":1,"{":1,"}":1}),pe=m({},fe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var r=h(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(e,t){var r;return 2==e.length&&D(W,L(e,0))&&(":"==(r=L(e,1))||!t&&"|"==r)},ve=function(e){var t;return e.length>1&&ge(z(e,0,2))&&(2==e.length||"/"===(t=L(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===F(e)},be=function(e){return e=F(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},we={},xe={},ye={},ke={},_e={},Re={},Oe={},Ce={},je={},Se={},Pe={},Ae={},Ee={},Le={},De={},Me={},Ue={},Te={},Ne={},Be={},Ie={},qe=function(e,t,r){var n,a,s,o=w(e);if(t){if(a=this.parse(o),a)throw S(a);this.searchParams=null}else{if(void 0!==r&&(n=new qe(r,!0)),a=this.parse(o,null,n),a)throw S(a);s=C(new O),s.bindURL(this),this.searchParams=s}};qe.prototype={type:"URL",parse:function(e,t,r){var a,s,o,i,c=this,u=t||we,l=0,f="",p=!1,m=!1,h=!1;e=w(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=B(e,ne,"")),e=B(e,ae,""),a=g(e);while(l<=a.length){switch(s=a[l],u){case we:if(!s||!D(W,s)){if(t)return J;u=ye;continue}f+=F(s),u=xe;break;case xe:if(s&&(D(V,s)||"+"==s||"-"==s||"."==s))f+=F(s);else{if(":"!=s){if(t)return J;f="",u=ye,l=0;continue}if(t&&(c.isSpecial()!=d(me,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&me[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?u=Le:c.isSpecial()&&r&&r.scheme==c.scheme?u=ke:c.isSpecial()?u=Ce:"/"==a[l+1]?(u=_e,l++):(c.cannotBeABaseURL=!0,N(c.path,""),u=Ne)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!=s)return J;if(r.cannotBeABaseURL&&"#"==s){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Ie;break}u="file"==r.scheme?Le:Re;continue;case ke:if("/"!=s||"/"!=a[l+1]){u=Re;continue}u=je,l++;break;case _e:if("/"==s){u=Se;break}u=Te;continue;case Re:if(c.scheme=r.scheme,s==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"==s||"\\"==s&&c.isSpecial())u=Oe;else if("?"==s)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",u=Be;else{if("#"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,u=Te;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",u=Ie}break;case Oe:if(!c.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Te;continue}u=Se}else u=je;break;case Ce:if(u=je,"/"!=s||"/"!=L(f,l+1))continue;l++;break;case je:if("/"!=s&&"\\"!=s){u=Se;continue}break;case Se:if("@"==s){p&&(f="%40"+f),p=!0,o=g(f);for(var b=0;b<o.length;b++){var x=o[b];if(":"!=x||h){var y=de(x,pe);h?c.password+=y:c.username+=y}else h=!0}f=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(p&&""==f)return $;l-=g(f).length+1,f="",u=Pe}else f+=s;break;case Pe:case Ae:if(t&&"file"==c.scheme){u=Me;continue}if(":"!=s||m){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(c.isSpecial()&&""==f)return Y;if(t&&""==f&&(c.includesCredentials()||null!==c.port))return;if(i=c.parseHost(f),i)return i;if(f="",u=Ue,t)return;continue}"["==s?m=!0:"]"==s&&(m=!1),f+=s}else{if(""==f)return Y;if(i=c.parseHost(f),i)return i;if(f="",u=Ee,t==Ae)return}break;case Ee:if(!D(X,s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()||t){if(""!=f){var k=P(f,10);if(k>65535)return G;c.port=c.isSpecial()&&k===me[c.scheme]?null:k,f=""}if(t)return;u=Ue;continue}return G}f+=s;break;case Le:if(c.scheme="file","/"==s||"\\"==s)u=De;else{if(!r||"file"!=r.scheme){u=Te;continue}if(s==n)c.host=r.host,c.path=v(r.path),c.query=r.query;else if("?"==s)c.host=r.host,c.path=v(r.path),c.query="",u=Be;else{if("#"!=s){ve(M(v(a,l),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),u=Te;continue}c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",u=Ie}}break;case De:if("/"==s||"\\"==s){u=Me;break}r&&"file"==r.scheme&&!ve(M(v(a,l),""))&&(ge(r.path[0],!0)?N(c.path,r.path[0]):c.host=r.host),u=Te;continue;case Me:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!t&&ge(f))u=Te;else if(""==f){if(c.host="",t)return;u=Ue}else{if(i=c.parseHost(f),i)return i;if("localhost"==c.host&&(c.host=""),t)return;f="",u=Ue}continue}f+=s;break;case Ue:if(c.isSpecial()){if(u=Te,"/"!=s&&"\\"!=s)continue}else if(t||"?"!=s)if(t||"#"!=s){if(s!=n&&(u=Te,"/"!=s))continue}else c.fragment="",u=Ie;else c.query="",u=Be;break;case Te:if(s==n||"/"==s||"\\"==s&&c.isSpecial()||!t&&("?"==s||"#"==s)){if(be(f)?(c.shortenPath(),"/"==s||"\\"==s&&c.isSpecial()||N(c.path,"")):he(f)?"/"==s||"\\"==s&&c.isSpecial()||N(c.path,""):("file"==c.scheme&&!c.path.length&&ge(f)&&(c.host&&(c.host=""),f=L(f,0)+":"),N(c.path,f)),f="","file"==c.scheme&&(s==n||"?"==s||"#"==s))while(c.path.length>1&&""===c.path[0])I(c.path);"?"==s?(c.query="",u=Be):"#"==s&&(c.fragment="",u=Ie)}else f+=de(s,fe);break;case Ne:"?"==s?(c.query="",u=Be):"#"==s?(c.fragment="",u=Ie):s!=n&&(c.path[0]+=de(s,ue));break;case Be:t||"#"!=s?s!=n&&("'"==s&&c.isSpecial()?c.query+="%27":c.query+="#"==s?"%23":de(s,ue)):(c.fragment="",u=Ie);break;case Ie:s!=n&&(c.fragment+=de(s,le));break}l++}},parseHost:function(e){var t,r,n;if("["==L(e,0)){if("]"!=L(e,e.length-1))return Y;if(t=oe(z(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=b(e),D(te,e))return Y;if(t=se(e),null===t)return Y;this.host=t}else{if(D(re,e))return Y;for(t="",r=g(e),n=0;n<r.length;n++)t+=de(r[n],ue);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(me,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ge(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,s=e.port,o=e.path,i=e.query,c=e.fragment,u=t+":";return null!==a?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=ce(a),null!==s&&(u+=":"+s)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+M(o,"/"):"",null!==i&&(u+="?"+i),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw S(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new ze(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ce(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",we)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=de(t[r],pe)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=de(t[r],pe)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ce(e):ce(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},getHostname:function(){var e=this.host;return null===e?"":ce(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=w(e),""==e?this.port=null:this.parse(e,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ue))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=w(e),""==e?this.query=null:("?"==L(e,0)&&(e=z(e,1)),this.query="",this.parse(e,Be)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=w(e),""!=e?("#"==L(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,Ie)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var ze=function(e){var t=p(this,Fe),r=arguments.length>1?arguments[1]:void 0,n=_(t,new qe(e,!1,r));s||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Fe=ze.prototype,He=function(e,t){return{get:function(){return R(this)[e]()},set:t&&function(e){return R(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&l(Fe,{href:He("serialize","setHref"),origin:He("getOrigin"),protocol:He("getProtocol","setProtocol"),username:He("getUsername","setUsername"),password:He("getPassword","setPassword"),host:He("getHost","setHost"),hostname:He("getHostname","setHostname"),port:He("getPort","setPort"),pathname:He("getPathname","setPathname"),search:He("getSearch","setSearch"),searchParams:He("getSearchParams"),hash:He("getHash","setHash")}),f(Fe,"toJSON",(function(){return R(this).serialize()}),{enumerable:!0}),f(Fe,"toString",(function(){return R(this).serialize()}),{enumerable:!0}),j){var $e=j.createObjectURL,Je=j.revokeObjectURL;$e&&f(ze,"createObjectURL",c($e,j)),Je&&f(ze,"revokeObjectURL",c(Je,j))}x(ze,"URL"),a({global:!0,forced:!o,sham:!s},{URL:ze})},d270:function(e,t,r){"use strict";(function(t){var n=r("2d80"),a=r("98dd"),s=r("f125"),o={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=r("3163")),e}function u(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(r||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,r=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||a&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw s(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){l.headers[e]=n.merge(o)})),e.exports=l}).call(this,r("e6ee"))},d461:function(e,t,r){"use strict";var n=r("2d80"),a=r("d270");e.exports=function(e,t,r){var s=this||a;return n.forEach(r,(function(r){e=r.call(s,e,t)})),e}},d51f:function(e,t,r){"use strict";var n=r("2d80"),a=r("4af5"),s=r("076d"),o=r("ee65"),i=r("db65"),c=r("9a49"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new s,response:new s}}l.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!a){var f=[o,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(l),s=Promise.resolve(t);while(f.length)s=s.then(f.shift(),f.shift());return s}var p=t;while(n.length){var d=n.shift(),m=n.shift();try{p=d(p)}catch(g){m(g);break}}try{s=o(p)}catch(g){return Promise.reject(g)}while(l.length)s=s.then(l.shift(),l.shift());return s},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=l},db65:function(e,t,r){"use strict";var n=r("2d80");e.exports=function(e,t){t=t||{};var r={};function a(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(e[r],t[r])}function o(e){if(!n.isUndefined(t[e]))return a(void 0,t[e])}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(void 0,t[r])}function c(r){return r in t?a(e[r],t[r]):r in e?a(void 0,e[r]):void 0}var u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||s,a=t(e);n.isUndefined(a)&&t!==c||(r[e]=a)})),r}},dce5:function(e,t,r){var n=r("7056"),a=Math.floor,s=function(e,t){var r=e.length,c=a(r/2);return r<8?o(e,t):i(e,s(n(e,0,c),t),s(n(e,c),t),t)},o=function(e,t){var r,n,a=e.length,s=1;while(s<a){n=s,r=e[s];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==s++&&(e[n]=r)}return e},i=function(e,t,r,n){var a=t.length,s=r.length,o=0,i=0;while(o<a||i<s)e[o+i]=o<a&&i<s?n(t[o],r[i])<=0?t[o++]:r[i++]:o<a?t[o++]:r[i++];return e};e.exports=s},dd47:function(e,t,r){var n=r("391b");t.f=n},e206:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"c",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return c})),r.d(t,"g",(function(){return u})),r.d(t,"h",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"f",(function(){return p})),r.d(t,"d",(function(){return d}));var n=r("4c8c"),a=(r("e72b"),r("fc5a"),r("35bf"),r("d125"),r("0928"),r("6c29"),r("26fa")),s=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get("assignProxyToCohortLearner/".concat(t));case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a["a"].get(t).then((function(e){return r=e.data.AllGrade,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,console.log("programName ".concat(r)),e.next=4,a["a"].get("/skill/edcast/".concat(t)).then(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=t.data,r=document.createElement("a"),r.href=s,r.click(),URL.revokeObjectURL(r.href),e.abrupt("return",s);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:return e.abrupt("return",s);case 7:return e.prev=7,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t,r){return e.apply(this,arguments)}}(),u=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(t),{method:"put",body:r});case 3:return n=e.sent,a=n,e.abrupt("return",a);case 8:return e.prev=8,e.t0=e["catch"](0),console.error(e.t0),e.abrupt("return",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}(),l=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(t),{method:"put",body:r});case 3:return n=e.sent,a=n,e.abrupt("return",a);case 8:return e.prev=8,e.t0=e["catch"](0),console.error(e.t0),e.abrupt("return",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}(),f=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(t),{method:"put",body:r});case 3:return n=e.sent,a=n,e.abrupt("return",a);case 8:return e.prev=8,e.t0=e["catch"](0),console.error(e.t0),e.abrupt("return",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}(),p=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a["a"].post("/program/proxy",t).then((function(e){return r=e.data,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a["a"].get("/program/report/".concat(t)).then((function(e){return r=e.data,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}()},e59d:function(e,t,r){var n=r("702c"),a=r("104e"),s=r("b6a8"),o=r("76b8").f,i=r("f563"),c=a((function(){o(1)})),u=!i||c;n({target:"Object",stat:!0,forced:u,sham:!i},{getOwnPropertyDescriptor:function(e,t){return o(s(e),t)}})},e6ee:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("c609")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},ec92:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return l}));var n=r("cced"),a=r.n(n),s={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},t.data]),[e("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},o={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},t.data]),[e("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},i={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},t.data]),[e("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},c={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},t.data]),[e("polyline",{attrs:{points:"1 4 1 10 7 10"}}),e("polyline",{attrs:{points:"23 20 23 14 17 14"}}),e("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},l={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",n=t.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,t.data.attrs=n,e("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},ee65:function(e,t,r){"use strict";var n=r("2d80"),a=r("d461"),s=r("204f"),o=r("d270"),i=r("6511");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return c(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},ee89:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.userRole?n("div",{staticClass:"admin program_admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),e.reportSuccessMessage?n("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),n("div",{staticClass:"w-full flex mt-6"},[n("div",{staticClass:"w-full text-left"},[e.programBtnShow?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.viewProgramDetails()}}},[e._v("View Program Details")]):e._e(),e.programBtnShow?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.viewParticipant()}}},[e._v("View Participants")]):e._e(),e.edcastBtnShow?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.getEdcastUrl()}}},[e._v("Generate Ed-cast URL")]):e._e(),e.showBulkBtn?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){e.showTaskImport=!0}}},[e._v("Bulk Participant Import")]):e._e(),e.showReportBtn?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.triggerReport()}}},[e._v("Generate Participant Report")]):e._e(),e.showTriggerProxyAssignment?n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.triggerProxyAssignmentForCohort()}}},[e._v("Trigger Proxy Assignment")]):e._e()])]),e.showTaskImport?n("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[n("div",{staticClass:"flex"},[n("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?n("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),n("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportParticipants}},[e._v("Import")])]):e._e(),n("div",{staticClass:"w-full mt-4 tableScroll"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[e._m(1),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.ProgramDetails,(function(t){return n("tr",{key:t.program_id,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:t.program_id},domProps:{value:t.program_id,checked:Array.isArray(e.programCheckOne)?e._i(e.programCheckOne,t.program_id)>-1:e.programCheckOne},on:{change:[function(r){var n=e.programCheckOne,a=r.target,s=!!a.checked;if(Array.isArray(n)){var o=t.program_id,i=e._i(n,o);a.checked?i<0&&(e.programCheckOne=n.concat([o])):i>-1&&(e.programCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else e.programCheckOne=s},function(r){return e.showProgramDetailsBtn(r,t.program_id,t.participants,t.program_name)}],click:e.checkOne}})]),n("td",{staticClass:"p-2 px-3 text-left"},[e._v(e._s(t.program_display_name?t.program_display_name:t.program_name))]),n("td",{staticClass:"p-2 px-3 text-left capitalize"},[e._v(e._s(t.isAcademy))]),n("td",{staticClass:"p-2 px-3 text-center"},[e._v(e._s(t.start_date))]),n("td",{staticClass:"p-2 px-3 text-center"},[e._v(e._s(t.end_date))])])})),0)])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")]),[e.showParticipant?n("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[n("transition",{attrs:{name:"modal-fade"}},[n("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[n("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[n("div",{staticClass:"justify-content"},[n("div",{staticClass:"text-xl px-3 text-left"},[e._v(e._s(e.selectedProgramName))]),n("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(t){return e.closeModal()}}},[n("x-icon",{attrs:{size:"1.5x"}})],1)]),n("div",{staticClass:"pt-4 tableScroll1"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[n("thead",{staticClass:"opacity-90 -text-blue-800"},[n("tr",{staticClass:"border-b"},[n("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[e._v("Participant OHR")])])]),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.participantList,(function(t){return n("tr",{key:t,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e._v(e._s(t))])])})),0)])])])])])],1):e._e()],e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2):e._e()},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Program Administration")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),r("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("Program Name")]),r("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("is Academy")]),r("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("Start Date")]),r("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("End Date")])])])}],s=r("4c8c"),o=(r("ccb9"),r("37a0"),r("7a2a"),r("40e1"),r("086d"),r("e72b"),r("b025"),r("4a7e"),r("bf84"),r("6c29"),r("54c7")),i=r("ec92"),c=r("a42c"),u=r.n(c),l=r("5bfc"),f=r.n(l),p=r("afbc"),d=r("675e"),m=r("8596"),g=r("e206"),v=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:i["f"]},setup:function(){var e=Object(o["f"])(!1),t=Object(o["f"])(!1),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])([]),i=Object(o["f"])(),c=Object(o["f"])(),l=Object(o["f"])(0),v=Object(o["f"])(),h=Object(o["f"])(),b=Object(o["f"])(!1),w=Object(o["f"])(),x=Object(o["f"])(),y=Object(o["f"])(!1),k=Object(o["f"])(),_=Object(o["f"])(),R=Object(o["f"])(),O=Object(o["f"])(),C=Object(o["f"])(),j=Object(o["f"])(),S=Object(o["f"])(!1),P=Object(o["f"])(!1),A=Object(o["f"])(!1),E=Object(o["f"])(!1),L=Object(o["f"])(!1),D=Object(o["f"])(!1),M=function(){a.value=[]},U=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:l.value+=1,c.value=null,i.value=null;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{r=t.target.files[0],n=r.name,a=n.endsWith(".csv"),a?(i.value=n,c.value=r):(k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){k.value=null}),6e3),l.value+=1,c.value=null,i.value=null)}catch(s){console.log(s)}case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),N=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,a,s,o,i,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.value=!1,e.next=3,Object(g["c"])("/program");case 3:for(t=e.sent,a=t.data,s=C.value.includes("System Admin")?a:a.filter((function(e){var t=e.program_admin;return!!t&&t.includes(j.value)})),o=s.sort((function(e,t){return u()(t.start_date).utc().unix()-u()(e.start_date).utc().unix()})),i=0;i<o.length;i+=1)c=o[i],c.start_date=u()(c.start_date).format("DD-MM-YYYY"),c.end_date=u()(c.end_date).format("DD-MM-YYYY");r.value=o,n.value=!0;case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),B=function(e,t,r,n){var a=e.target.checked;!0===a?(h.value=!0,v.value=t,w.value=r,x.value=n,C.value.includes("System Admin")&&"infinity"!==t&&(D.value=!0),(C.value.includes("Program Admin")||C.value.includes("System Admin"))&&(E.value=!0,"infinity"===v.value||"S2"===v.value?(A.value=!1,L.value=!1):(A.value=!0,L.value=!0))):(h.value=!1,E.value=!1)},I=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.value=!1,e.next=3,Object(g["a"])(v.value,x.value);case 3:n.value=!0;case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:b.value=!0;case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return b.value=!1,a.value=[],h.value=!1,e.next=5,N();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){p["a"].push({path:"programDetails",query:{program_id:v.value}})},H=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,a,s,o,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=u()().format("llll"),n.value=!1,r="Program_Proxy_Admin_Participants_".concat(v.value,"_").concat(t,".csv"),console.log("key Name",r),console.log("File Name",i.value),console.log("File",c.value),e.next=8,Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:r});case 8:return a=e.sent,console.log("presigned URL",a),O.value=a.data.preSignedUrl,e.next=13,Object(g["g"])(O.value,c.value);case 13:if(s=e.sent,200!==s.status){e.next=26;break}return o={program_id:v.value,file_key:"task_import/".concat(r)},e.next=18,Object(g["f"])(o);case 18:l=e.sent,console.log(l),n.value=!1,_.value="Participant added",c.value=null,i.value=null,n.value=!0,setTimeout((function(){_.value=null,P.value=!1}),6e3);case 26:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.value=!1,e.next=3,Object(g["d"])(v.value);case 3:t=e.sent,R.value="The report will be emailed to you",setTimeout((function(){R.value=null}),6e3),console.log("Report Trigger Response ".concat(t)),n.value=!0;case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(g["e"])(v.value);case 3:t=e.sent,r=t.data,R.value=r.message,setTimeout((function(){R.value=null}),6e3),console.log("Report Trigger Response ".concat(JSON.stringify(r))),e.next=15;break;case 10:e.prev=10,e.t0=e["catch"](0),n.value=!0,console.log("error peer review ".concat(e.t0)),f.a.isAxiosError(e.t0)&&(s=e.t0,n.value=!0,k.value=null===(a=s.response)||void 0===a?void 0:a.data.message,setTimeout((function(){k.value=null}),2e3));case 15:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();return Object(o["c"])(Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["g"])("/getUserRole");case 2:if(t=e.sent,j.value=t.user_key,C.value=t.user_roles,!(C.value.length>0)){e.next=9;break}return C.value.includes("Program Admin")||C.value.includes("System Admin")||C.value.includes("System Admin View Access")?S.value=!0:S.value=!1,e.next=9,N();case 9:case"end":return e.stop()}}),e)})))),{openShareModal:e,openShareModalParticipant:t,ProgramDetails:r,renderReady:n,programCheckOne:a,checkOne:M,selectedProgramId:v,showProgramDetailsBtn:B,programBtnShow:h,viewParticipant:q,showParticipant:b,participantList:w,closeModal:z,viewProgramDetails:F,selectedProgramName:x,getEdcastUrl:I,showBulkParticipantPanel:y,selectedFile:T,clearFile:U,bulkParticipantsFile:c,errorMessage:k,bulkImportParticipants:H,showScreen:S,userRole:C,loggedInUser:j,fileInputKey:l,successMessage:_,showReportBtn:A,showTaskImport:P,triggerReport:$,edcastBtnShow:E,showBulkBtn:L,reportSuccessMessage:R,triggerProxyAssignmentForCohort:J,showTriggerProxyAssignment:D}}}),h=v,b=(r("f6f2"),r("2490")),w=Object(b["a"])(h,n,a,!1,null,"43131650",null);t["default"]=w.exports},eeff:function(e,t){e.exports={version:"0.25.0"}},f125:function(e,t,r){"use strict";e.exports=function(e,t,r,n,a){return e.config=t,r&&(e.code=r),e.request=n,e.response=a,e.isAxiosError=!0,e.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}},e}},f392:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.renderReady?n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Events ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedEvents,expression:"selectedEvents"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedEvents=t.target.multiple?r:r[0]}}},e._l(e.events,(function(t,r){return n("option",{key:r,domProps:{value:r}},[e._v(e._s(t))])})),0),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Learner Task Id ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.taskIdToSendEmail,expression:"taskIdToSendEmail"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.taskIdToSendEmail},on:{input:function(t){t.target.composing||(e.taskIdToSendEmail=t.target.value)}}}),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4",on:{click:function(t){return e.sendEmailToLearner()}}},[e._v("Send Email")])]),e.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e()])])]):e._e(),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Send Email To Learner")])])}],s=r("4c8c"),o=(r("6c29"),r("4a7e"),r("7a2a"),r("40e1"),r("54c7")),i=r("8596"),c=r("26fa"),u=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["a"].get(t).then((function(e){return console.log("Response",e),r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["a"].post(t,r).then((function(e){return console.log("Response",e),n=e.data,n}));case 2:return e.abrupt("return",n);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),f=Object(o["b"])({name:"SendEmailToUser",setup:function(){var e=Object(o["f"])(!0),t=Object(o["f"])(),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(!0),c=Object(o["f"])(!1),f=Object(o["f"])(),p=Object(o["f"])(!1),d=Object(o["f"])(),m=Object(o["f"])(),g=function(){var r=Object(s["a"])(regeneratorRuntime.mark((function r(){var n,a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(e.value=!1,t.value){r.next=5;break}console.log("Please Select Events"),r.next=20;break;case 5:if(m.value){r.next=9;break}console.log("Please Enter Task Id"),r.next=20;break;case 9:return n={leaner_task_id:m.value,event_type:t.value},console.log("selected Events ".concat(t.value," and Task Id ").concat(m.value)),r.next=13,l("/email/learner_task",n);case 13:a=r.sent,f.value=a.msg,c.value=!0,m.value="",t.value="",setTimeout((function(){c.value=!1}),2e3),console.log("Email Send Response",a);case 20:e.value=!0;case 21:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),v=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u("/event");case 2:t=e.sent,d.value=t.events,console.log("events",d.value);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(o["c"])(Object(s["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.value=!1,t.next=4,Object(i["g"])("/getUserRole");case 4:if(r=t.sent,n.value=r.user_roles,!(n.value.length>0)){t.next=14;break}if(!n.value.includes("System Admin")){t.next=13;break}return a.value=!0,t.next=11,v();case 11:t.next=14;break;case 13:a.value=!1;case 14:e.value=!0,t.next=20;break;case 17:t.prev=17,t.t0=t["catch"](0),console.log(t.t0);case 20:case"end":return t.stop()}}),t,null,[[0,17]])})))),{renderReady:e,selectedEvents:t,errorMessage:r,showScreen:a,resMessage:f,showErrorMessage:p,showSuccessMessage:c,taskIdToSendEmail:m,events:d,sendEmailToLearner:g}}}),p=f,d=(r("864e"),r("2490")),m=Object(d["a"])(p,n,a,!1,null,"327540ba",null);t["default"]=m.exports},f6f2:function(e,t,r){"use strict";r("3f78")},fa15:function(e,t,r){"use strict";var n=r("1bd7");e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},fbd4:function(e,t,r){var n=r("3d28"),a=r("e2e8"),s=r("c225"),o=r("43a0"),i=r("0d67"),c=function(e){if(e&&e.forEach!==o)try{i(e,"forEach",o)}catch(t){e.forEach=o}};for(var u in a)a[u]&&c(n[u]&&n[u].prototype);c(s)}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"0323":function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,a){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=a("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,a){"use strict";var r=a("7de8").version,s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}}));var n={};function o(e,t,a){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),s=r.length;while(s-- >0){var n=r[s],o=t[n];if(o){var i=e[n],l=void 0===i||o(i,n,e);if(!0!==l)throw new TypeError("option "+n+" must be "+l)}else if(!0!==a)throw Error("Unknown option "+n)}}s.transitional=function(e,t,a){function s(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(a?". "+a:"")}return function(a,r,o){if(!1===e)throw new Error(s(r," has been removed"+(t?" in "+t:"")));return t&&!n[r]&&(n[r]=!0,console.warn(s(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(a,r,o)}},e.exports={assertOptions:o,validators:s}},"11ce":function(e,t){var a=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var s,n,o,i,l;for(o in t)if(s=e[o],n=t[o],s&&a.test(o))if("class"===o&&("string"===typeof s&&(l=s,e[o]=s={},s[l]=!0),"string"===typeof n&&(l=n,t[o]=n={},n[l]=!0)),"on"===o||"nativeOn"===o||"hook"===o)for(i in n)s[i]=r(s[i],n[i]);else if(Array.isArray(s))e[o]=s.concat(n);else if(Array.isArray(n))e[o]=[s].concat(n);else for(i in n)s[i]=n[i];else e[o]=t[o];return e}),{})}},"122c":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),r=0;r<a.length;r++)a[r]=arguments[r];return e.apply(t,a)}}},1501:function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,a){e.exports=a("46c8")},"26fa":function(e,t,a){"use strict";a("fc6e");var r=a("1dba"),s=a.n(r);function n({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var o=({$http:e})=>{n({$http:e}),e.interceptors.request.use(t=>(n({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(a){console.warn(a)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:l}=window.location;console.log(" solidify "+l),"dev.genome.genpact.com"===l?i="dev":"uat.genome.genpact.com"===l?i="uat":"genome-eda-rel.azurewebsites.net"===l?i="prod":l.includes("localhost")&&(i="local");let c="";c="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+c),s.a.defaults.baseURL=c,s.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:s.a});t["a"]=s.a},2998:function(e,t,a){"use strict";var r=a("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,a,s,n,o){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),r.isString(s)&&i.push("path="+s),r.isString(n)&&i.push("domain="+n),!0===o&&i.push("secure"),document.cookie=i.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)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"37b8":function(e,t,a){var r=a("5204");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var s=a("c69b").default;s("89cc7d78",r,!0,{sourceMap:!1,shadowMode:!1})},"386e":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e,t){r.forEach(e,(function(a,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[r])}))}},3884:function(e,t,a){"use strict";var r=a("8a5d");function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,a){if(!t)return e;var n;if(a)n=a(t);else if(r.isURLSearchParams(t))n=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(s(t)+"="+s(e))})))})),n=o.join("&")}if(n){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}},"46c8":function(e,t,a){"use strict";var r=a("8a5d"),s=a("1464"),n=a("6c7d"),o=a("76b7"),i=a("cc3a");function l(e){var t=new n(e),a=s(n.prototype.request,t);return r.extend(a,n.prototype,t),r.extend(a,t),a.create=function(t){return l(o(e,t))},a}var c=l(i);c.Axios=n,c.Cancel=a("82ac"),c.CancelToken=a("823a"),c.isCancel=a("0323"),c.VERSION=a("7de8").version,c.all=function(e){return Promise.all(e)},c.spread=a("c279"),c.isAxiosError=a("122c"),e.exports=c,e.exports.default=c},"4a9a":function(e,t,a){var r=a("eb51");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var s=a("c69b").default;s("297f1c5c",r,!0,{sourceMap:!1,shadowMode:!1})},"4af6":function(e,t,a){"use strict";var r=a("8a5d"),s=["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,a,n,o={};return e?(r.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=r.trim(e.substr(0,n)).toLowerCase(),a=r.trim(e.substr(n+1)),t){if(o[t]&&s.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([a]):o[t]?o[t]+", "+a:a}})),o):o}},5204:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-43131650]{position:fixed;top:30%;left:42%}.tableScroll[data-v-43131650]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-43131650]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-43131650]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-43131650],.modal-fade-leave-to[data-v-43131650]{opacity:0}.modal-fade-enter-active[data-v-43131650],.modal-fade-leave-active[data-v-43131650]{transition:opacity .5s ease}",""]),e.exports=t},5457:function(e,t,a){"use strict";a("4a9a")},"5cd4":function(e,t,a){"use strict";var r=a("8a5d"),s=a("cc3a");e.exports=function(e,t,a){var n=this||s;return r.forEach(a,(function(a){e=a.call(n,e,t)})),e}},"5df9":function(e,t,a){"use strict";var r=a("8a5d");function s(){this.handlers=[]}s.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},"60f3":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[e.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.renderReady?r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[r("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Roles ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedRole,expression:"selectedRole"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedRole=t.target.multiple?a:a[0]}}},e._l(e.roles,(function(t){return r("option",{key:t.roleName,domProps:{value:t.roleName}},[e._v(e._s(t.roleName))])})),0),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" OHR ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrToAssignRole,expression:"ohrToAssignRole"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.ohrToAssignRole},on:{input:function(t){t.target.composing||(e.ohrToAssignRole=t.target.value)}}}),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),r("div",{staticClass:"w-full px-3 text-center mt-4"},[r("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4",on:{click:function(t){return e.updateRecord()}}},[e._v("Assign Role")]),r("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.removeRole()}}},[e._v("Remove Role")])]),e.showSuccessMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e()])])]):e._e(),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Assign Role")])])}],n=(a("fc6e"),a("6610")),o=a("1dba"),i=a.n(o),l=a("8596"),c=Object(n["b"])({name:"AssignRoleToOhr",setup(){const e=Object(n["f"])(""),t=Object(n["f"])(!0),a=Object(n["f"])(),r=Object(n["f"])(),s=Object(n["f"])(),o=Object(n["f"])(!0),c=Object(n["f"])(!1),u=Object(n["f"])(),d=Object(n["f"])(!1),p=Object(n["f"])(),f=async()=>{try{if(void 0===a.value)r.value="Please Select One Role",setTimeout(()=>{r.value=null},6e3);else if(e){t.value=!1,console.log("selectedRole "+a.value);const r=[];r.push(e.value);const s={ohr_list:r,role_name:a.value};console.log("data "+JSON.stringify(s));const n=await Object(l["a"])(s);u.value=n.data,t.value=!0,c.value=!0,setTimeout(()=>{c.value=!1},2e3)}else r.value="Please Enter OHR to Assign Role",setTimeout(()=>{r.value=null},6e3)}catch(n){if(i.a.isAxiosError(n)){var s;const e=n;t.value=!0,u.value=null===(s=e.response)||void 0===s?void 0:s.data.message,d.value=!0,setTimeout(()=>{d.value=!1},2e3)}}},m=async()=>{try{if(void 0===a.value)r.value="Please Select One Role",setTimeout(()=>{r.value=null},6e3);else if(e){t.value=!1,console.log("selectedRole "+a.value);const r={user_ohr:e.value,role_name:a.value};console.log("data "+JSON.stringify(r));const s=await Object(l["B"])(r);u.value=s.data,t.value=!0,c.value=!0,console.log("showSuccessMessage.value "+JSON.stringify(s)),setTimeout(()=>{c.value=!1},2e3)}else r.value="Please Enter OHR to remove Role",setTimeout(()=>{r.value=null},6e3)}catch(o){if(console.log("inside catch"),i.a.isAxiosError(o)){var s,n;const e=o;console.log(null===(s=e.response)||void 0===s?void 0:s.data),t.value=!0,u.value=null===(n=e.response)||void 0===n?void 0:n.data.message,console.log("errorMessage.value "+r.value),d.value=!0,setTimeout(()=>{d.value=!1},2e3)}}};return Object(n["c"])(async()=>{try{t.value=!1;const e=await Object(l["g"])("/getUserRole");if(s.value=e.user_roles,s.value.length>0){s.value.includes("System Admin")?o.value=!0:o.value=!1;const e=await Object(l["b"])();p.value=e.data.roles}t.value=!0}catch(e){console.log(e)}}),{renderReady:t,roles:p,ohrToAssignRole:e,selectedRole:a,updateRecord:f,errorMessage:r,showScreen:o,resMessage:u,showErrorMessage:d,showSuccessMessage:c,removeRole:m}}}),u=c,d=(a("5457"),a("b709")),p=Object(d["a"])(u,r,s,!1,null,"999ded6e",null);t["default"]=p.exports},6136:function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"639e":function(e,t,a){"use strict";var r=a("6136"),s=a("1501");e.exports=function(e,t){return e&&!r(t)?s(e,t):t}},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return i})),a.d(t,"e",(function(){return n})),a.d(t,"d",(function(){return l}));var r=a("26fa");const s=async(e,t)=>{const a=await r["a"].post(e,t);return a},n=async(e,t)=>{let a;const r=await fetch(""+e,{method:"put",body:t});return a=r,a},o=async e=>{const t=await r["a"].get("/task/"+e);return t},i=async(e,t)=>{const a=await r["a"].post(e,{learner_task_id:t});return a},l=async(e,t)=>{const a=await r["a"].post(e,t);return a}},"6a6a":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-00a0cc21]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"6c7d":function(e,t,a){"use strict";var r=a("8a5d"),s=a("3884"),n=a("5df9"),o=a("93f9"),i=a("76b7"),l=a("112f"),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new n,response:new n}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var a=t.transitional;void 0!==a&&l.assertOptions(a,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var n,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!s){var d=[o,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(u),n=Promise.resolve(t);while(d.length)n=n.then(d.shift(),d.shift());return n}var p=t;while(r.length){var f=r.shift(),m=r.shift();try{p=f(p)}catch(g){m(g);break}}try{n=o(p)}catch(g){return Promise.reject(g)}while(u.length)n=n.then(u.shift(),u.shift());return n},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(i(a||{},{method:e,url:t,data:(a||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,r){return this.request(i(r||{},{method:e,url:t,data:a}))}})),e.exports=u},"6dd0":function(e,t,a){var r=a("6a6a");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var s=a("c69b").default;s("5e4b7c6f",r,!0,{sourceMap:!1,shadowMode:!1})},"76b7":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e,t){t=t||{};var a={};function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function n(a){return r.isUndefined(t[a])?r.isUndefined(e[a])?void 0:s(void 0,e[a]):s(e[a],t[a])}function o(e){if(!r.isUndefined(t[e]))return s(void 0,t[e])}function i(a){return r.isUndefined(t[a])?r.isUndefined(e[a])?void 0:s(void 0,e[a]):s(void 0,t[a])}function l(a){return a in t?s(e[a],t[a]):a in e?s(void 0,e[a]):void 0}var c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||n,s=t(e);r.isUndefined(s)&&t!==l||(a[e]=s)})),a}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,a){"use strict";var r=a("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function s(e){var r=e;return t&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=s(window.location.href),function(t){var a=r.isString(t)?s(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,a){"use strict";var r=a("82ac");function s(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;this.promise.then((function(e){if(a._listeners){var t,r=a._listeners.length;for(t=0;t<r;t++)a._listeners[t](e);a._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){a.subscribe(e),t=e})).then(e);return r.cancel=function(){a.unsubscribe(t)},r},e((function(e){a.reason||(a.reason=new r(e),t(a.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e,t=new s((function(t){e=t}));return{token:t,cancel:e}},e.exports=s},"82ac":function(e,t,a){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,a){"use strict";a.d(t,"y",(function(){return s})),a.d(t,"t",(function(){return n})),a.d(t,"u",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"x",(function(){return l})),a.d(t,"z",(function(){return c})),a.d(t,"r",(function(){return u})),a.d(t,"s",(function(){return d})),a.d(t,"f",(function(){return p})),a.d(t,"v",(function(){return f})),a.d(t,"h",(function(){return m})),a.d(t,"j",(function(){return g})),a.d(t,"q",(function(){return v})),a.d(t,"o",(function(){return b})),a.d(t,"p",(function(){return h})),a.d(t,"m",(function(){return y})),a.d(t,"k",(function(){return w})),a.d(t,"l",(function(){return x})),a.d(t,"A",(function(){return _})),a.d(t,"C",(function(){return k})),a.d(t,"w",(function(){return C})),a.d(t,"n",(function(){return S})),a.d(t,"i",(function(){return O})),a.d(t,"g",(function(){return j})),a.d(t,"a",(function(){return A})),a.d(t,"B",(function(){return P})),a.d(t,"b",(function(){return R})),a.d(t,"d",(function(){return E})),a.d(t,"c",(function(){return M}));var r=a("26fa");const s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},n=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},C=async e=>{const t=await r["a"].get(e);return t},S=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},O=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},A=async e=>{const t=await r["a"].post("/user/role",e);return t},P=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},R=async()=>{const e=await r["a"].get("role");return e},E=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},M=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"864e":function(e,t,a){"use strict";a("8f75")},"8a5d":function(e,t,a){"use strict";var r=a("1464"),s=Object.prototype.toString;function n(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===s.call(e)}function c(e){return"[object FormData]"===s.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer),t}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function f(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===s.call(e)}function v(e){return"[object File]"===s.call(e)}function b(e){return"[object Blob]"===s.call(e)}function h(e){return"[object Function]"===s.call(e)}function y(e){return f(e)&&h(e.pipe)}function w(e){return"[object URLSearchParams]"===s.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),n(e))for(var a=0,r=e.length;a<r;a++)t.call(null,e[a],a,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}function C(){var e={};function t(t,a){m(e[a])&&m(t)?e[a]=C(e[a],t):m(t)?e[a]=C({},t):n(t)?e[a]=t.slice():e[a]=t}for(var a=0,r=arguments.length;a<r;a++)k(arguments[a],t);return e}function S(e,t,a){return k(t,(function(t,s){e[s]=a&&"function"===typeof t?r(t,a):t})),e}function O(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:n,isArrayBuffer:l,isBuffer:i,isFormData:c,isArrayBufferView:u,isString:d,isNumber:p,isObject:f,isPlainObject:m,isUndefined:o,isDate:g,isFile:v,isBlob:b,isFunction:h,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:_,forEach:k,merge:C,extend:S,trim:x,stripBOM:O}},"8f75":function(e,t,a){var r=a("ec6d");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var s=a("c69b").default;s("efc494aa",r,!0,{sourceMap:!1,shadowMode:!1})},"93f9":function(e,t,a){"use strict";var r=a("8a5d"),s=a("5cd4"),n=a("0323"),o=a("cc3a"),i=a("82ac");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),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]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return l(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return n(t)||(l(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9469:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[e.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.showSuccessMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.renderReady?r("div",{staticClass:"w-full mt-4"},[e.programDetails?r("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[r("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Name ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.program_name,expression:"programDetails.program_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programDetails.program_name},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"program_name",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" is Academy ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.isAcademy,expression:"programDetails.isAcademy"}],staticClass:"capitalize appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programDetails.isAcademy},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"isAcademy",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Module ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programModuleName,expression:"programModuleName"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.programModuleName},on:{input:function(t){t.target.composing||(e.programModuleName=t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Skill ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.skill,expression:"skill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.skill},on:{input:function(t){t.target.composing||(e.skill=t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.proficiency,expression:"proficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:"",type:"text"},domProps:{value:e.proficiency},on:{input:function(t){t.target.composing||(e.proficiency=t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Start Date ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.start_date,expression:"programDetails.start_date"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.programDetails.start_date},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"start_date",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" End Date ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.end_date,expression:"programDetails.end_date"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.programDetails.end_date},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"end_date",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Task Sequence Number ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.task_seq_num,expression:"programDetails.task_seq_num"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:e.programDetails.task_seq_num},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"task_seq_num",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Mandatory Reviews ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.mandatory_reviews,expression:"programDetails.mandatory_reviews"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number",max:"5",min:"1"},domProps:{value:e.programDetails.mandatory_reviews},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"mandatory_reviews",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Pass Percentage ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.pass_percentage,expression:"programDetails.pass_percentage"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number",min:"1",max:"100",maxlength:"3"},domProps:{value:e.programDetails.pass_percentage},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"pass_percentage",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Reviewer Hold Time (in minutes) ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.reviewer_hold_time_in_minutes,expression:"programDetails.reviewer_hold_time_in_minutes"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:e.programDetails.reviewer_hold_time_in_minutes},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"reviewer_hold_time_in_minutes",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Disable Notifications ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"disable_notifications",t.target.multiple?a:a[0])}}},e._l(e.yesNo,(function(t){return r("option",{key:t.value,domProps:{value:t.value}},[e._v(e._s(t.name))])})),0)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e._m(1),r("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"enable_report",t.target.multiple?a:a[0])}}},e._l(e.yesNo,(function(t){return r("option",{key:t.value,domProps:{value:t.value}},[e._v(e._s(t.name))])})),0)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Task Assignment Strategy ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.task_strategy,expression:"programDetails.task_strategy"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"task_strategy",t.target.multiple?a:a[0])}}},e._l(e.taskAssignmentStrategy,(function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Reviewer Assignment Strategy ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.reviewer_strategy,expression:"programDetails.reviewer_strategy"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.programDetails,"reviewer_strategy",t.target.multiple?a:a[0])}}},e._l(e.reviewerAssignmentStrategy,(function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Program Admin ")]),r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.program_admin,expression:"programDetails.program_admin"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",attrs:{disabled:""},domProps:{value:e.programDetails.program_admin},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"program_admin",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Linked Proxy OHR ")]),r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.linked_proxy_ohr,expression:"programDetails.linked_proxy_ohr"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",attrs:{disabled:""},domProps:{value:e.programDetails.linked_proxy_ohr},on:{input:function(t){t.target.composing||e.$set(e.programDetails,"linked_proxy_ohr",t.target.value)}}})]),r("div",{staticClass:"w-full px-3 text-center mt-4"},[r("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationProgramAdministration"}}},[e._v(" Back ")]),e.showUpdate?r("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.updateRecord()}}},[e._v("Update")]):e._e()],1)])]):e._e()]):e._e(),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access this page")])])},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Program Details")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Enable Report"),a("span",{staticClass:"text-red-700"},[e._v(" (Selecting this will cause a learner journey report to be emailed to all program admins)")])])}],n=(a("fc6e"),a("6610")),o=a("1dba"),i=a.n(o),l=a("f9e0"),c=a.n(l),u=a("26fa");const d=async e=>{try{let t;return await u["a"].get("/program/"+e).then(e=>(t=e.data,t)),t}catch(t){return t}},p=async e=>{try{let t;return console.log("inside update Program Service"),await u["a"].put("/program",e).then(e=>(console.log("program Response",e),t=e.data,t)),t}catch(t){return t}};var f=a("8596"),m=Object(n["b"])({name:"ProgramDetails",props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(n["f"])(e.query.program_id),a=Object(n["f"])(),r=Object(n["f"])(),s=Object(n["f"])(),o=Object(n["f"])(),l=Object(n["f"])(),u=Object(n["f"])(),m=Object(n["f"])(),g=Object(n["f"])(!0),v=Object(n["f"])(),b=Object(n["f"])(),h=Object(n["f"])(),y=Object(n["f"])(),w=Object(n["f"])(),x=Object(n["f"])(),_=Object(n["f"])(!0),k=Object(n["f"])(!1),C=Object(n["f"])(),S=Object(n["f"])(!1),O=Object(n["f"])(),j=Object(n["f"])([{name:"Yes",value:!0},{name:"No",value:!1}]),A=async()=>{try{a.value=!1;const e=await d(t.value);r.value=e.prog_detail,console.log("programDetails.value.start_date before "+r.value.start_date),console.log("programDetails.value.end_date before "+r.value.end_date),r.value.start_date=c()(r.value.start_date).format("YYYY-MM-DD"),console.log("programDetails.value.start_date after "+r.value.start_date),r.value.end_date=c()(r.value.end_date).format("YYYY-MM-DD"),console.log("programDetails.value.end_date after "+r.value.end_date),s.value=e.task_assignment_strategy,o.value=e.reviewer_assignment_strategy,b.value=e.program_module_name,h.value=e.skill,y.value=e.proficiency,console.log("disable notifications "+r.value.disable_notifications),m.value=r.value.program_admin?e.prog_detail.program_admin:[],console.log("program_admin",m.value),a.value=!0}catch(e){console.log(e)}},P=async()=>{try{if(console.log("Inside Update Program"),r.value.pass_percentage<1||r.value.pass_percentage>100)console.log("inside pass percentage if"),l.value="Pass percentage Should be 1 to 100",window.scroll(0,0),setTimeout(()=>{l.value=null},6e3);else if(r.value.task_strategy)if(r.value.reviewer_strategy)if(0===parseInt(r.value.task_seq_num,10)||parseInt(r.value.task_seq_num,10)<0)window.scroll(0,0),console.log("inside Sequence number should if"),l.value="Task Sequence number should be greater than 0",setTimeout(()=>{l.value=null},6e3);else if(r.value.mandatory_reviews<1||r.value.mandatory_reviews>5)window.scroll(0,0),l.value="Mandatory Review should be 1 to 5",setTimeout(()=>{l.value=null},6e3);else if(r.value.start_date&&r.value.end_date&&c()(r.value.end_date).diff(c()(r.value.start_date),"days")<0)window.scroll(0,0),l.value="Start Date cannot be greater than End Date",setTimeout(()=>{l.value=null},6e3);else{a.value=!1;const e=await p(r.value);await A(),e&&(C.value=e,k.value=!0,setTimeout(()=>{k.value=!1},6e3),a.value=!0)}else window.scroll(0,0),console.log("inside Reviewer Strategy if"),l.value="Please Select Reviewer Strategy",setTimeout(()=>{l.value=null},6e3);else console.log("inside Task Strategy if"),l.value="Please Select Task Strategy",window.scroll(0,0),setTimeout(()=>{l.value=null},6e3)}catch(s){if(i.a.isAxiosError(s)){var e,t;const r=s;console.log(null===(e=r.response)||void 0===e?void 0:e.data),a.value=!0,C.value=null===(t=r.response)||void 0===t?void 0:t.data.message,console.log("errorMessage.value "+l.value),S.value=!0,setTimeout(()=>{S.value=!1},6e3)}}};return Object(n["c"])(async()=>{const e=await Object(f["g"])("/getUserRole");await A(),v.value=e.user_roles,O.value=e.user_key,v.value.length>0&&(v.value.includes("System Admin")||m.value.includes(O.value)?(g.value=!0,_.value=!0):(g.value=!1,_.value=!1),v.value.includes("System Admin View Access")&&(_.value=!0,g.value=!1))}),{renderReady:a,programDetails:r,updateRecord:P,errorMessage:l,taskAssignmentStrategy:s,reviewerAssignmentStrategy:o,showUpdate:g,programModuleName:b,skill:h,proficiency:y,showScreen:_,startDate:w,endDate:x,showSuccessMessage:k,resMessage:C,showErrorMessage:S,loggedInUser:O,programAdmin:m,proxyOHR:u,yesNo:j}}}),g=m,v=(a("9f0d"),a("b709")),b=Object(v["a"])(g,r,s,!1,null,"00a0cc21",null);t["default"]=b.exports},"949b":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return l})),a.d(t,"e",(function(){return c})),a.d(t,"f",(function(){return u}));var r=a("11ce"),s=a.n(r),n={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},t.data]),[e("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},o={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},t.data]),[e("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},i={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},t.data]),[e("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},l={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},t.data]),[e("polyline",{attrs:{points:"1 4 1 10 7 10"}}),e("polyline",{attrs:{points:"23 20 23 14 17 14"}}),e("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},c={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},u={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",s()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},"9f0d":function(e,t,a){"use strict";a("6dd0")},a417:function(e,t,a){"use strict";e.exports=function(e,t,a,r,s){return e.config=t,a&&(e.code=a),e.request=r,e.response=s,e.isAxiosError=!0,e.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}},e}},aa01:function(e,t,a){"use strict";var r=a("fccd");e.exports=function(e,t,a){var s=a.config.validateStatus;a.status&&s&&!s(a.status)?t(r("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},be40:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[e.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[[r("div",{staticClass:"w-full mt-4"},[r("h6",{staticClass:"mb-4"},[e._v("Seed Data")]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedMaster()}}},[e._v("Seed Masters")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.skillSync()}}},[e._v("Invoke Skill Sync Service")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.templateSeed()}}},[e._v("Seed Email Templates")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.cacheSync()}}},[e._v("syncCache")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedDefaultProgram()}}},[e._v("Seed Default Program")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedRoles()}}},[e._v("Seed Roles")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedProxyReviewers()}}},[e._v("Seed Proxy Reviewers")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedUser()}}},[e._v("Seed Users")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.diffAccess()}}},[e._v("Diff Access")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.removeDuplicateProxyAssigned()}}},[e._v("Remove Duplicate Proxy Assigned")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.updateS3CohortsModifiedDate()}}},[e._v("Update S3/Cohorts Learner Modified Date")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerofcon()}}},[e._v("Trigger Ofcon")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showImportLSS=!0}}},[e._v("Upload LSS Learners")])]),e.showImportLSS?r("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[r("div",{staticClass:"flex"},[r("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadLSSLearners}},[e._v("Upload LSS Learner")]),e.renderReady1?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),r("div",{staticClass:"w-full"},[r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showEnvAccess=!0}}},[e._v("Upload Env Access Learners")])]),e.showEnvAccess?r("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[r("div",{staticClass:"flex"},[r("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadEnvAccessLearners}},[e._v("Upload Env Access Learners")]),e.renderReady1?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),r("div",{staticClass:"w-full"},[r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showServiceLineSkills=!0}}},[e._v("Upload Service_line_skills_GF_Event_ID")])]),e.showServiceLineSkills?r("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[r("div",{staticClass:"flex"},[r("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadServiceLineSkillsGFEventIDs}},[e._v("Upload Service_line_skills_GF_Event_ID")]),e.renderReady1?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),r("h6",{staticClass:"mb-4"},[e._v("Migrate Cohorts")]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohort()}}},[e._v("Migrate Cohorts")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortLA()}}},[e._v("Trigger Cohort LA")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortReview()}}},[e._v("Trigger Cohort Reviews")])]),r("h6",{staticClass:"mb-4"},[e._v("Migrate S2")]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS2Tasks()}}},[e._v("Migrate S2 Tasks")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAImport()}}},[e._v("Import S2 LA")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAMigrate()}}},[e._v("Trigger S2 LA")])])]),r("h6",{staticClass:"mb-4"},[e._v("Migrate S3")]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3Tasks()}}},[e._v("Migrate S3 Tasks")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3LA()}}},[e._v("Trigger S3 LA")])]),r("div",{staticClass:"w-full"},[r("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS3Reviews()}}},[e._v("Trigger S3 Review")])])],e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[],n=(a("fc6e"),a("6610")),o=a("1dba"),i=a.n(o),l=a("8596"),c=a("675e"),u=a("e206"),d=Object(n["b"])({setup(){const e=Object(n["f"])(),t=Object(n["f"])(!0),a=Object(n["f"])(!1),r=Object(n["f"])(!1),s=Object(n["f"])(!1),o=Object(n["f"])(),d=Object(n["f"])(),p=Object(n["f"])(),f=Object(n["f"])(),m=Object(n["f"])(),g=Object(n["f"])(!0),v=Object(n["f"])(!0),b=async e=>{try{const t=e.target.files[0],a=e.target.files[0].name,r=a.endsWith(".csv");r?(p.value=t,f.value=a):(d.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{d.value=null},6e3),p.value=null,f.value=null)}catch(t){console.log(t)}},h=async()=>{if(v.value=!1,f.value){const e=await Object(c["a"])("/v1/pretAuthUrlForUpload",{folder_name:"lss_import",key_name:f.value});m.value=e.data.preSignedUrl;const t=await Object(u["g"])(m.value,p.value);if(200===t.status){const e=await Object(l["d"])({file_key:"lss_import/"+f.value});console.log(e),o.value="LSS Record added",p.value=null,f.value=null,setTimeout(()=>{o.value=null,a.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},y=async()=>{if(v.value=!1,f.value){const e=await Object(c["a"])("/v1/pretAuthUrlForUpload",{folder_name:"Env_Learner_access",key_name:f.value});m.value=e.data.preSignedUrl;const t=await Object(u["h"])(m.value,p.value);if(200===t.status){console.log(" upload success");const e=await Object(l["c"])({file_key:"Env_Learner_access/"+f.value});console.log(e),o.value="Learner Record added",p.value=null,f.value=null,setTimeout(()=>{o.value=null,r.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},w=async()=>{if(v.value=!1,f.value){const e=await Object(c["a"])("/v1/pretAuthUrlForUpload",{folder_name:"service_line_skills",key_name:f.value});m.value=e.data.preSignedUrl;const t=await Object(u["i"])(m.value,p.value);200===t.status&&(console.log(" upload success"),o.value="File added",p.value=null,f.value=null,setTimeout(()=>{o.value=null,r.value=!1},6e3))}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},x=async()=>{await Object(l["y"])("/admin/seedMasters")},_=async()=>{await Object(l["t"])("/skill/sync")},k=async()=>{await Object(l["u"])("/email/template/seed")},C=async()=>{await Object(l["e"])("/cache/sync")},S=async()=>{await Object(l["x"])("/program/seedDefault")},O=async()=>{await Object(l["z"])("/role/init")},j=async()=>{await Object(l["r"])("/user/proxy")},A=async()=>{await Object(l["s"])("/user/seed")},P=async()=>{await Object(l["n"])("user/proxy")},R=async()=>{await Object(l["f"])("/user/diff-access")},E=async()=>{await Object(l["w"])("/admin/user/ofcon")},M=async()=>{await Object(l["i"])("/migrate/cohort/program")},D=async()=>{await Object(l["v"])("/migrate/cohort")},T=async()=>{await Object(l["h"])("/migration/cohort/trigger/learner_activity")},N=async()=>{await Object(l["j"])("migration/cohort/trigger/review")},L=async()=>{await Object(l["q"])("/migration/S2/tasks")},U=async()=>{await Object(l["o"])("/migration/S2/learner_activity/import")},I=async()=>{await Object(l["p"])("/migration/S2/learner_activity/trigger")},B=async()=>{await Object(l["m"])("migration/S3/task")},z=async()=>{await Object(l["k"])("migration/S3/learner_activites/trigger")},$=async()=>{await Object(l["l"])("migration/S3/learner_reviews/trigger")},q=async()=>{try{const e=Object(l["A"])("learner/proxy/remove");console.log("res data message "+e.data.message)}catch(t){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(t)),i.a.isAxiosError(t)){var e;const a=t;console.log("err.response?.data "+(null===(e=a.response)||void 0===e?void 0:e.data))}}},F=async()=>{try{const e=Object(l["C"])("/updateCohortLearnerModifiedDate");console.log("res data message "+e.data.message)}catch(t){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(t)),i.a.isAxiosError(t)){var e;const a=t;console.log("err.response?.data "+(null===(e=a.response)||void 0===e?void 0:e.data))}}};return Object(n["c"])(async()=>{const a=await Object(l["g"])("/getUserRole");e.value=a.user_roles,e.value.length>0&&(e.value.includes("System Admin")?t.value=!0:t.value=!1)}),{skillSync:_,templateSeed:k,cacheSync:C,seedDefaultProgram:S,seedRoles:O,seedProxyReviewers:j,diffAccess:R,migrateCohortProgram:M,migrateCohort:D,seedUser:A,proxyReviewSeed:P,migrateCohortLA:T,migrateCohortReview:N,migrateS2Tasks:L,triggerS2LAImport:U,triggerS2LAMigrate:I,migrateS3Tasks:B,migrateS3LA:z,triggerS3Reviews:$,seedMaster:x,showScreen:t,removeDuplicateProxyAssigned:q,updateS3CohortsModifiedDate:F,triggerofcon:E,showImportLSS:a,showEnvAccess:r,showServiceLineSkills:s,uploadLSSLearners:h,uploadEnvAccessLearners:y,uploadServiceLineSkillsGFEventIDs:w,selectedFile:b,successMessage:o,errorMessage:d,renderReady:g,renderReady1:v}}}),p=d,f=a("b709"),m=Object(f["a"])(p,r,s,!1,null,null,null);t["default"]=m.exports},c279:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,a){(function(e){function a(e,t){for(var a=0,r=e.length-1;r>=0;r--){var s=e[r];"."===s?e.splice(r,1):".."===s?(e.splice(r,1),a++):a&&(e.splice(r,1),a--)}if(t)for(;a--;a)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,a=0,r=-1,s=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!s){a=t+1;break}}else-1===r&&(s=!1,r=t+1);return-1===r?"":e.slice(a,r)}function s(e,t){if(e.filter)return e.filter(t);for(var a=[],r=0;r<e.length;r++)t(e[r],r,e)&&a.push(e[r]);return a}t.resolve=function(){for(var t="",r=!1,n=arguments.length-1;n>=-1&&!r;n--){var o=n>=0?arguments[n]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=a(s(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),o="/"===n(e,-1);return e=a(s(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&o&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(s(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,a){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var a=e.length-1;a>=0;a--)if(""!==e[a])break;return t>a?[]:e.slice(t,a-t+1)}e=t.resolve(e).substr(1),a=t.resolve(a).substr(1);for(var s=r(e.split("/")),n=r(a.split("/")),o=Math.min(s.length,n.length),i=o,l=0;l<o;l++)if(s[l]!==n[l]){i=l;break}var c=[];for(l=i;l<s.length;l++)c.push("..");return c=c.concat(n.slice(i)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),a=47===t,r=-1,s=!0,n=e.length-1;n>=1;--n)if(t=e.charCodeAt(n),47===t){if(!s){r=n;break}}else s=!1;return-1===r?a?"/":".":a&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var a=r(e);return t&&a.substr(-1*t.length)===t&&(a=a.substr(0,a.length-t.length)),a},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,a=0,r=-1,s=!0,n=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===r&&(s=!1,r=o+1),46===i?-1===t?t=o:1!==n&&(n=1):-1!==t&&(n=-1);else if(!s){a=o+1;break}}return-1===t||-1===r||0===n||1===n&&t===r-1&&t===a+1?"":e.slice(t,r)};var n="b"==="ab".substr(-1)?function(e,t,a){return e.substr(t,a)}:function(e,t,a){return t<0&&(t=e.length+t),e.substr(t,a)}}).call(this,a("0418"))},cc3a:function(e,t,a){"use strict";(function(t){var r=a("8a5d"),s=a("386e"),n=a("a417"),o={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=a("e50c")),e}function c(e,t,a){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(s){if("SyntaxError"!==s.name)throw s}return(a||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,a=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,o=!a&&"json"===this.responseType;if(o||s&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw n(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,a("0418"))},e206:function(e,t,a){"use strict";a.d(t,"e",(function(){return s})),a.d(t,"c",(function(){return n})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"g",(function(){return l})),a.d(t,"h",(function(){return c})),a.d(t,"i",(function(){return u})),a.d(t,"f",(function(){return d})),a.d(t,"d",(function(){return p}));var r=a("26fa");const s=async e=>{const t=await r["a"].get("assignProxyToCohortLearner/"+e);return t},n=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.AllGrade,t)),t},i=async(e,t)=>{try{let a;return console.log("programName "+t),await r["a"].get("/skill/edcast/"+e).then(async e=>{a=e.data;const t=document.createElement("a");return t.href=a,t.click(),URL.revokeObjectURL(t.href),a}),a}catch(a){return a}},l=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},c=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},u=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async e=>{try{let t;return await r["a"].post("/program/proxy",e).then(e=>(t=e.data,t)),t}catch(t){return t}},p=async e=>{try{let t;return await r["a"].get("/program/report/"+e).then(e=>(t=e.data,t)),t}catch(t){return t}}},e50c:function(e,t,a){"use strict";var r=a("8a5d"),s=a("aa01"),n=a("2998"),o=a("3884"),i=a("639e"),l=a("4af6"),c=a("7f31"),u=a("fccd"),d=a("cc3a"),p=a("82ac");e.exports=function(e){return new Promise((function(t,a){var f,m=e.data,g=e.headers,v=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(m)&&delete g["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var x=i(e.baseURL,e.url);function _(){if(h){var r="getAllResponseHeaders"in h?l(h.getAllResponseHeaders()):null,n=v&&"text"!==v&&"json"!==v?h.response:h.responseText,o={data:n,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};s((function(e){t(e),b()}),(function(e){a(e),b()}),o),h=null}}if(h.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=_:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(_)},h.onabort=function(){h&&(a(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){a(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||c(x))&&e.xsrfCookieName?n.read(e.xsrfCookieName):void 0;k&&(g[e.xsrfHeaderName]=k)}"setRequestHeader"in h&&r.forEach(g,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete g[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),v&&"json"!==v&&(h.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){h&&(a(!e||e&&e.type?new p("canceled"):e),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null),h.send(m)}))}},eb51:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-999ded6e]{position:fixed;top:30%;left:42%}",""]),e.exports=t},ec6d:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-327540ba]{position:fixed;top:30%;left:42%}",""]),e.exports=t},ee89:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.userRole?r("div",{staticClass:"admin program_admin"},[e.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),e.reportSuccessMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),r("div",{staticClass:"w-full flex mt-6"},[r("div",{staticClass:"w-full text-left"},[e.programBtnShow?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.viewProgramDetails()}}},[e._v("View Program Details")]):e._e(),e.programBtnShow?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.viewParticipant()}}},[e._v("View Participants")]):e._e(),e.edcastBtnShow?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.getEdcastUrl()}}},[e._v("Generate Ed-cast URL")]):e._e(),e.showBulkBtn?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){e.showTaskImport=!0}}},[e._v("Bulk Participant Import")]):e._e(),e.showReportBtn?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.triggerReport()}}},[e._v("Generate Participant Report")]):e._e(),e.showTriggerProxyAssignment?r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.triggerProxyAssignmentForCohort()}}},[e._v("Trigger Proxy Assignment")]):e._e()])]),e.showTaskImport?r("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[r("div",{staticClass:"flex"},[r("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportParticipants}},[e._v("Import")])]):e._e(),r("div",{staticClass:"w-full mt-4 tableScroll"},[r("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[e._m(1),r("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.ProgramDetails,(function(t){return r("tr",{key:t.program_id,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:t.program_id},domProps:{value:t.program_id,checked:Array.isArray(e.programCheckOne)?e._i(e.programCheckOne,t.program_id)>-1:e.programCheckOne},on:{change:[function(a){var r=e.programCheckOne,s=a.target,n=!!s.checked;if(Array.isArray(r)){var o=t.program_id,i=e._i(r,o);s.checked?i<0&&(e.programCheckOne=r.concat([o])):i>-1&&(e.programCheckOne=r.slice(0,i).concat(r.slice(i+1)))}else e.programCheckOne=n},function(a){return e.showProgramDetailsBtn(a,t.program_id,t.participants,t.program_name)}],click:e.checkOne}})]),r("td",{staticClass:"p-2 px-3 text-left"},[e._v(e._s(t.program_display_name?t.program_display_name:t.program_name))]),r("td",{staticClass:"p-2 px-3 text-left capitalize"},[e._v(e._s(t.isAcademy))]),r("td",{staticClass:"p-2 px-3 text-center"},[e._v(e._s(t.start_date))]),r("td",{staticClass:"p-2 px-3 text-center"},[e._v(e._s(t.end_date))])])})),0)])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")]),[e.showParticipant?r("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[r("transition",{attrs:{name:"modal-fade"}},[r("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[r("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[r("div",{staticClass:"justify-content"},[r("div",{staticClass:"text-xl px-3 text-left"},[e._v(e._s(e.selectedProgramName))]),r("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(t){return e.closeModal()}}},[r("x-icon",{attrs:{size:"1.5x"}})],1)]),r("div",{staticClass:"pt-4 tableScroll1"},[r("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[e._v("Participant OHR")])])]),r("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.participantList,(function(t){return r("tr",{key:t,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e._v(e._s(t))])])})),0)])])])])])],1):e._e()],e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2):e._e()},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Program Administration")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),a("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("Program Name")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("is Academy")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("Start Date")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("End Date")])])])}],n=(a("fc6e"),a("6610")),o=a("949b"),i=a("f9e0"),l=a.n(i),c=a("1dba"),u=a.n(c),d=a("afbc"),p=a("675e"),f=a("8596"),m=a("e206"),g=Object(n["b"])({name:"ProgramAdministration",components:{XIcon:o["f"]},setup(){const e=Object(n["f"])(!1),t=Object(n["f"])(!1),a=Object(n["f"])(),r=Object(n["f"])(),s=Object(n["f"])([]),o=Object(n["f"])(),i=Object(n["f"])(),c=Object(n["f"])(0),g=Object(n["f"])(),v=Object(n["f"])(),b=Object(n["f"])(!1),h=Object(n["f"])(),y=Object(n["f"])(),w=Object(n["f"])(!1),x=Object(n["f"])(),_=Object(n["f"])(),k=Object(n["f"])(),C=Object(n["f"])(),S=Object(n["f"])(),O=Object(n["f"])(),j=Object(n["f"])(!1),A=Object(n["f"])(!1),P=Object(n["f"])(!1),R=Object(n["f"])(!1),E=Object(n["f"])(!1),M=Object(n["f"])(!1),D=()=>{s.value=[]},T=async()=>{c.value+=1,i.value=null,o.value=null},N=async e=>{try{const t=e.target.files[0],a=t.name,r=a.endsWith(".csv");r?(o.value=a,i.value=t):(x.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{x.value=null},6e3),c.value+=1,i.value=null,o.value=null)}catch(t){console.log(t)}},L=async()=>{r.value=!1;const e=await Object(m["c"])("/program"),t=e.data;let s;s=S.value.includes("System Admin")?t:t.filter(e=>{const t=e.program_admin;return!!t&&t.includes(O.value)});const n=s.sort((e,t)=>l()(t.start_date).utc().unix()-l()(e.start_date).utc().unix());for(let a=0;a<n.length;a+=1){const e=n[a];e.start_date=l()(e.start_date).format("DD-MM-YYYY"),e.end_date=l()(e.end_date).format("DD-MM-YYYY")}a.value=n,r.value=!0},U=(e,t,a,r)=>{const s=e.target.checked;!0===s?(v.value=!0,g.value=t,h.value=a,y.value=r,S.value.includes("System Admin")&&"infinity"!==t&&(M.value=!0),(S.value.includes("Program Admin")||S.value.includes("System Admin"))&&(R.value=!0,"infinity"===g.value||"S2"===g.value?(P.value=!1,E.value=!1):(P.value=!0,E.value=!0))):(v.value=!1,R.value=!1)},I=async()=>{r.value=!1,await Object(m["a"])(g.value,y.value),r.value=!0},B=async()=>{b.value=!0},z=async()=>{b.value=!1,s.value=[],v.value=!1,await L()},$=()=>{d["a"].push({path:"programDetails",query:{program_id:g.value}})},q=async()=>{const e=l()().format("llll");r.value=!1;const t=`Program_Proxy_Admin_Participants_${g.value}_${e}.csv`;console.log("key Name",t),console.log("File Name",o.value),console.log("File",i.value);const a=await Object(p["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:t});console.log("presigned URL",a),C.value=a.data.preSignedUrl;const s=await Object(m["g"])(C.value,i.value);if(200===s.status){const e={program_id:g.value,file_key:"task_import/"+t},a=await Object(m["f"])(e);console.log(a),r.value=!1,_.value="Participant added",i.value=null,o.value=null,r.value=!0,setTimeout(()=>{_.value=null,A.value=!1},6e3)}},F=async()=>{r.value=!1;const e=await Object(m["d"])(g.value);k.value="The report will be emailed to you",setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+e),r.value=!0},Y=async()=>{try{const e=await Object(m["e"])(g.value),t=e.data;k.value=t.message,setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(t))}catch(t){if(r.value=!0,console.log("error peer review "+t),u.a.isAxiosError(t)){var e;const a=t;r.value=!0,x.value=null===(e=a.response)||void 0===e?void 0:e.data.message,setTimeout(()=>{x.value=null},2e3)}}};return Object(n["c"])(async()=>{const e=await Object(f["g"])("/getUserRole");O.value=e.user_key,S.value=e.user_roles,S.value.length>0&&(S.value.includes("Program Admin")||S.value.includes("System Admin")||S.value.includes("System Admin View Access")?j.value=!0:j.value=!1,await L())}),{openShareModal:e,openShareModalParticipant:t,ProgramDetails:a,renderReady:r,programCheckOne:s,checkOne:D,selectedProgramId:g,showProgramDetailsBtn:U,programBtnShow:v,viewParticipant:B,showParticipant:b,participantList:h,closeModal:z,viewProgramDetails:$,selectedProgramName:y,getEdcastUrl:I,showBulkParticipantPanel:w,selectedFile:N,clearFile:T,bulkParticipantsFile:i,errorMessage:x,bulkImportParticipants:q,showScreen:j,userRole:S,loggedInUser:O,fileInputKey:c,successMessage:_,showReportBtn:P,showTaskImport:A,triggerReport:F,edcastBtnShow:R,showBulkBtn:E,reportSuccessMessage:k,triggerProxyAssignmentForCohort:Y,showTriggerProxyAssignment:M}}}),v=g,b=(a("f6f2"),a("b709")),h=Object(b["a"])(v,r,s,!1,null,"43131650",null);t["default"]=h.exports},f392:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[e.showScreen?r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.renderReady?r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[r("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Events ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedEvents,expression:"selectedEvents"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedEvents=t.target.multiple?a:a[0]}}},e._l(e.events,(function(t,a){return r("option",{key:a,domProps:{value:a}},[e._v(e._s(t))])})),0),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Learner Task Id ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.taskIdToSendEmail,expression:"taskIdToSendEmail"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.taskIdToSendEmail},on:{input:function(t){t.target.composing||(e.taskIdToSendEmail=t.target.value)}}}),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),r("div",{staticClass:"w-full px-3 text-center mt-4"},[r("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4",on:{click:function(t){return e.sendEmailToLearner()}}},[e._v("Send Email")])]),e.showSuccessMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e()])])]):e._e(),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Send Email To Learner")])])}],n=(a("fc6e"),a("6610")),o=a("8596"),i=a("26fa");const l=async e=>{let t;return await i["a"].get(e).then(e=>(console.log("Response",e),t=e.data,t)),t},c=async(e,t)=>{let a;return await i["a"].post(e,t).then(e=>(console.log("Response",e),a=e.data,a)),a};var u=Object(n["b"])({name:"SendEmailToUser",setup(){const e=Object(n["f"])(!0),t=Object(n["f"])(),a=Object(n["f"])(),r=Object(n["f"])(),s=Object(n["f"])(!0),i=Object(n["f"])(!1),u=Object(n["f"])(),d=Object(n["f"])(!1),p=Object(n["f"])(),f=Object(n["f"])(),m=async()=>{if(e.value=!1,t.value)if(f.value){const e={leaner_task_id:f.value,event_type:t.value};console.log(`selected Events ${t.value} and Task Id ${f.value}`);const a=await c("/email/learner_task",e);u.value=a.msg,i.value=!0,f.value="",t.value="",setTimeout(()=>{i.value=!1},2e3),console.log("Email Send Response",a)}else console.log("Please Enter Task Id");else console.log("Please Select Events");e.value=!0},g=async()=>{const e=await l("/event");p.value=e.events,console.log("events",p.value)};return Object(n["c"])(async()=>{try{e.value=!1;const t=await Object(o["g"])("/getUserRole");r.value=t.user_roles,r.value.length>0&&(r.value.includes("System Admin")?(s.value=!0,await g()):s.value=!1),e.value=!0}catch(t){console.log(t)}}),{renderReady:e,selectedEvents:t,errorMessage:a,showScreen:s,resMessage:u,showErrorMessage:d,showSuccessMessage:i,taskIdToSendEmail:f,events:p,sendEmailToLearner:m}}}),d=u,p=(a("864e"),a("b709")),f=Object(p["a"])(d,r,s,!1,null,"327540ba",null);t["default"]=f.exports},f6f2:function(e,t,a){"use strict";a("37b8")},fccd:function(e,t,a){"use strict";var r=a("a417");e.exports=function(e,t,a,s,n){var o=new Error(e);return r(o,t,a,s,n)}}}]);
2
2
  //# sourceMappingURL=SolidifyAdministrationProgramAdministration.js.map