@genpact/genome.mfe.solidify-app 1.7.1 → 1.8.0

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 (39) hide show
  1. package/dist/index.html +1 -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.map +1 -1
  9. package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
  10. package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
  11. package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
  12. package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
  13. package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
  14. package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
  15. package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
  16. package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
  17. package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
  18. package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
  19. package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
  20. package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
  21. package/dist/js/SolidifyLearner.js +1 -1
  22. package/dist/js/SolidifyLearner.js.map +1 -1
  23. package/dist/js/SolidifyLearnerDone.js +1 -1
  24. package/dist/js/SolidifyLearnerDone.js.map +1 -1
  25. package/dist/js/SolidifyLearnerFail.js +1 -1
  26. package/dist/js/SolidifyLearnerFail.js.map +1 -1
  27. package/dist/js/SolidifyLearnerGating.js.map +1 -1
  28. package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
  29. package/dist/js/SolidifyLearnerPeerReview.js +1 -1
  30. package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
  31. package/dist/js/SolidifyLearnerSelectTask.js +1 -1
  32. package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
  33. package/dist/js/SolidifyLearnerStatus.js.map +1 -1
  34. package/dist/js/app.js +158 -158
  35. package/dist/js/app.js.map +1 -1
  36. package/dist/js/chunk-146cf0a4.js +2 -0
  37. package/dist/js/{chunk-23f1e472.js.map → chunk-146cf0a4.js.map} +1 -1
  38. package/package.json +1 -1
  39. package/dist/js/chunk-23f1e472.js +0 -2
@@ -1,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"0323":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"035b":function(e,t,r){var n=r("6025");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("1b1e2fb4",n,!0,{sourceMap:!1,shadowMode:!1})},"0418":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("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"04ac":function(e,t,r){"use strict";r("035b")},"052f":function(e,t,r){var n=r("53f4");t.f=n},"0675":function(e,t,r){var n=r("def2"),a=r("65e2"),s=r("a5e6").f,o=r("db39"),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))}},"112f":function(e,t,r){"use strict";var n=r("7de8").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}},"11ce":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}),{})}},"122c":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},"145e":function(e,t,r){var n=r("9b04");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("5a8cff6a",n,!0,{sourceMap:!1,shadowMode:!1})},1464: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)}}},1501:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"196a":function(e,t,r){"use strict";r("ebcf")},"1dba":function(e,t,r){e.exports=r("46c8")},"26fa":function(e,t,r){"use strict";r("0e78"),r("6bd8");var n=r("1dba"),a=r.n(n);r("afb7"),r("ce8f"),r("34ac"),r("bcee"),r("8543"),r("adc5"),r("707d");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("6f86");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?(alert("Oops! Your session expired. Please log in again!"),window.location.reload()):e.response&&e.response.status}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},2998:function(e,t,r){"use strict";var n=r("8a5d");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(){}}}()},"2b2a":function(e,t,r){var n=r("de82"),a=r("46ec"),s=r("052f"),o=r("e36c").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:s.f(e)})}},"2d7a":function(e,t,r){var n=r("f42c"),a=r("53f4"),s=r("b10f"),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}))},"2ec3":function(e,t,r){"use strict";var n=r("2f6c").forEach,a=r("9f28"),s=a("forEach");e.exports=s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"2f6c":function(e,t,r){var n=r("8d88"),a=r("858e"),s=r("b55a"),o=r("b211"),i=r("27d7"),c=r("3729"),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,h,g,v){for(var b,w,x=o(m),y=s(x),k=n(h,g),_=i(y),R=0,O=v||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)}},"34ac":function(e,t,r){"use strict";var n=r("1672"),a=r("2f6c").filter,s=r("dba8"),o=s("filter");n({target:"Array",proto:!0,forced:!o},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"386e":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3884:function(e,t,r){"use strict";var n=r("8a5d");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}},"46c8":function(e,t,r){"use strict";var n=r("8a5d"),a=r("1464"),s=r("6c7d"),o=r("76b7"),i=r("cc3a");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("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=r("c279"),u.isAxiosError=r("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,r){"use strict";var n=r("8a5d"),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}},"51c6":function(e,t,r){"use strict";r("5675");var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("30b8"),i=r("858e"),c=r("2d7a"),u=r("f11a"),l=r("eb5c"),f=r("10ec"),p=r("2c8a"),d=r("5faf"),m=r("9349"),h=r("87b4"),g=r("46ec"),v=r("8d88"),b=r("2d0e"),w=r("0361"),x=r("668f"),y=r("f656"),k=r("1209"),_=r("eda1"),R=r("de2e"),O=r("6bef"),C=r("51a4"),j=r("53f4"),S=r("cfa0"),P=j("iterator"),A="URLSearchParams",E=A+"Iterator",D=d.set,N=d.getterFor(A),M=d.getterFor(E),T=s("fetch"),U=s("Request"),L=s("Headers"),B=U&&U.prototype,q=L&&L.prototype,I=a.RegExp,z=a.TypeError,H=a.decodeURIComponent,$=a.encodeURIComponent,F=i("".charAt),J=i([].join),Y=i([].push),W=i("".replace),G=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]=I("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return H(e)}catch(t){return e}},re=function(e){var t=W(e,Q," "),r=4;try{return H(t)}catch(n){while(r)t=W(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 W($(e),ne,se)},ie=p((function(e,t){D(this,{type:E,iterator:R(N(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?"?"===F(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)g(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(G(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;D(this,new ce(e))},le=ue.prototype;if(l(le,{append:function(e,t){C(arguments.length,2);var r=N(this);Y(r.entries,{key:y(e),value:y(t)}),r.updateURL()},delete:function(e){C(arguments.length,1);var t=N(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=N(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=N(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=N(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=N(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=N(this);S(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=N(this).entries,n=v(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 N(this).serialize()}),{enumerable:!0}),f(ue,A),n({global:!0,forced:!c},{URLSearchParams:ue}),!c&&h(L)){var fe=i(q.has),pe=i(q.set),de=function(e){if(x(e)){var t,r=e.body;if(b(r)===A)return t=e.headers?new L(e.headers):new L,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(h(T)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(e,arguments.length>1?de(arguments[1]):{})}}),h(U)){var me=function(e){return m(this,B),new U(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:N}},"54ce":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-698789bf]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"5cd4":function(e,t,r){"use strict";var n=r("8a5d"),a=r("cc3a");e.exports=function(e,t,r){var s=this||a;return n.forEach(r,(function(r){e=r.call(s,e,t)})),e}},"5df9":function(e,t,r){"use strict";var n=r("8a5d");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},6025:function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-627929b6]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"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("22b1"),o=(r("833b"),r("6f86"),r("0e78"),r("6bd8"),r("60d8")),i=r("1dba"),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)}}(),h=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["z"])(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["e"])("/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:h}}}),f=l,p=(r("69f2"),r("bdd7")),d=Object(p["a"])(f,n,a,!1,null,"62c16bb2",null);t["default"]=d.exports},6136:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"62ab":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-53d131f4]{position:fixed;top:30%;left:42%}.tableScroll[data-v-53d131f4]{max-height:50vh;overflow-y:auto}.modal-overlay[data-v-53d131f4]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-53d131f4],.modal-fade-leave-to[data-v-53d131f4]{opacity:0}.modal-fade-enter-active[data-v-53d131f4],.modal-fade-leave-active[data-v-53d131f4]{transition:opacity .5s ease}",""]),e.exports=t},"639e":function(e,t,r){"use strict";var n=r("6136"),a=r("1501");e.exports=function(e,t){return e&&!n(t)?a(e,t):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("22b1"),a=(r("bcee"),r("833b"),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)}}()},"69f2":function(e,t,r){"use strict";r("145e")},"6c7d":function(e,t,r){"use strict";var n=r("8a5d"),a=r("3884"),s=r("5df9"),o=r("93f9"),i=r("76b7"),c=r("112f"),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(h){m(h);break}}try{s=o(p)}catch(h){return Promise.reject(h)}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},"6f86":function(e,t,r){var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("c10c"),i=r("858e"),c=r("f42c"),u=a.Array,l=s("JSON","stringify"),f=i(/./.exec),p=i("".charAt),d=i("".charCodeAt),m=i("".replace),h=i(1..toString),g=/[\uD800-\uDFFF]/g,v=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,w=function(e,t,r){var n=p(r,t-1),a=p(r,t+1);return f(v,e)&&!f(b,a)||f(b,e)&&!f(v,n)?"\\u"+h(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,g,w):i}})},"707d":function(e,t,r){var n=r("1672"),a=r("dd09"),s=r("0376"),o=r("65e2"),i=r("2f5b"),c=r("3f369");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}})},"76b7":function(e,t,r){"use strict";var n=r("8a5d");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}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31b":function(e,t,r){"use strict";var n=r("8a5d");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}}()},"823a":function(e,t,r){"use strict";var n=r("82ac");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},"82ac":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},8543:function(e,t,r){var n=r("1672"),a=r("f42c"),s=r("65e2"),o=r("2f5b").f,i=r("dd09"),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)}})},8596:function(e,t,r){"use strict";r.d(t,"w",(function(){return s})),r.d(t,"r",(function(){return o})),r.d(t,"s",(function(){return i})),r.d(t,"c",(function(){return c})),r.d(t,"v",(function(){return u})),r.d(t,"x",(function(){return l})),r.d(t,"p",(function(){return f})),r.d(t,"q",(function(){return p})),r.d(t,"d",(function(){return d})),r.d(t,"t",(function(){return m})),r.d(t,"f",(function(){return h})),r.d(t,"h",(function(){return g})),r.d(t,"o",(function(){return v})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return w})),r.d(t,"k",(function(){return x})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return k})),r.d(t,"y",(function(){return _})),r.d(t,"A",(function(){return R})),r.d(t,"u",(function(){return O})),r.d(t,"l",(function(){return C})),r.d(t,"g",(function(){return j})),r.d(t,"e",(function(){return S})),r.d(t,"a",(function(){return P})),r.d(t,"z",(function(){return A})),r.d(t,"b",(function(){return E}));var n=r("22b1"),a=(r("833b"),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)}}(),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,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.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)}}()},"8a5d":function(e,t,r){"use strict";var n=r("1464"),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 h(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function v(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:h,isFile:g,isBlob:v,isFunction:b,isStream:w,isURLSearchParams:x,isStandardBrowserEnv:k,forEach:_,merge:R,extend:O,trim:y,stripBOM:C}},"93f9":function(e,t,r){"use strict";var n=r("8a5d"),a=r("5cd4"),s=r("0323"),o=r("cc3a"),i=r("82ac");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)}))}},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"},[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.startDate,expression:"startDate"}],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.startDate},on:{input:function(t){t.target.composing||(e.startDate=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.endDate,expression:"endDate"}],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.endDate},on:{input:function(t){t.target.composing||(e.endDate=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-background-secondary opacity-80 font-normal mb-2"},[e._v(" Disable Notifications ")]),n("span",{staticClass:"text-background-secondary pr-2"},[e._v("Yes")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"True"},domProps:{checked:e._q(e.programDetails.disable_notifications,"true")},on:{change:function(t){return e.$set(e.programDetails,"disable_notifications","true")}}}),n("span",{staticClass:"text-background-secondary px-2"},[e._v("No")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"False"},domProps:{checked:e._q(e.programDetails.disable_notifications,"false")},on:{change:function(t){return e.$set(e.programDetails,"disable_notifications","false")}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e._m(1),n("span",{staticClass:"text-background-secondary pr-2"},[e._v("Yes")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"True"},domProps:{checked:e._q(e.programDetails.enable_report,"true")},on:{change:function(t){return e.$set(e.programDetails,"enable_report","true")}}}),n("span",{staticClass:"text-background-secondary px-2"},[e._v("No")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"False"},domProps:{checked:e._q(e.programDetails.enable_report,"false")},on:{change:function(t){return e.$set(e.programDetails,"enable_report","false")}}})]),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.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("22b1"),o=(r("0e78"),r("6bd8"),r("833b"),r("60d8")),i=r("1dba"),c=r.n(i),u=r("1635"),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"),h=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"])(),h=Object(o["f"])(),g=Object(o["f"])(!0),v=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=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,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,y.value=l()(s.prog_detail.start_date).format("DD-MM-YYYY"),k.value=l()(s.prog_detail.end_date).format("DD-MM-YYYY"),h.value=n.value.program_admin?s.prog_detail.program_admin:[],console.log("program_admin",h.value),r.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](0),console.log(e.t0);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}(),P=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=43;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=43;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=43;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=43;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=43;break;case 36:return r.value=!1,e.next=39,d(n.value);case 39:return t=e.sent,e.next=42,S();case 42:t&&(O.value=t,R.value=!0,setTimeout((function(){R.value=!1}),6e3),r.value=!0);case 43:e.next=48;break;case 45:e.prev=45,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 48:case"end":return e.stop()}}),e,null,[[0,45]])})));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["e"])("/getUserRole");case 2:return t=e.sent,e.next=5,S();case 5:v.value=t.user_roles,j.value=t.user_key,v.value.length>0&&(v.value.includes("System Admin")||h.value.includes(j.value)?(g.value=!0,_.value=!0):(g.value=!1,_.value=!1),v.value.includes("System Admin View Access")&&(_.value=!0,g.value=!1));case 8:case"end":return e.stop()}}),e)})))),{renderReady:r,programDetails:n,updateRecord:P,errorMessage:u,taskAssignmentStrategy:a,reviewerAssignmentStrategy:i,showUpdate:g,programModuleName:b,skill:w,proficiency:x,showScreen:_,startDate:y,endDate:k,showSuccessMessage:R,resMessage:O,showErrorMessage:C,loggedInUser:j,programAdmin:h,proxyOHR:f}}}),g=h,v=(r("04ac"),r("bdd7")),b=Object(v["a"])(g,n,a,!1,null,"627929b6",null);t["default"]=b.exports},"949b":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("11ce"),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"}})])}}},"968f":function(e,t,r){"use strict";var n=r("0a26"),a=r("858e"),s=2147483647,o=36,i=1,c=26,u=38,l=700,f=72,p=128,d="-",m=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",v=o-i,b=n.RangeError,w=a(h.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>v*c>>1)e=x(e/v),n+=o;return x(n+(v+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 h=t.length,v=h;h&&R(t,d);while(v<a){var w=s;for(r=0;r<e.length;r++)n=e[r],n>=u&&n<w&&(w=n);var k=v+1;if(w-u>x((s-l)/k))throw b(g);for(l+=(w-u)*k,u=w,r=0;r<e.length;r++){if(n=e[r],n<u&&++l>s)throw b(g);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,D=o-j;R(t,y(P(j+E%D))),O=x(E/D),C+=o}R(t,y(P(O))),m=A(l,k,v==h),l=0,v++}}l++,u++}return _(t,"")};e.exports=function(e){var t,r,n=[],a=C(O(j(e),h,"."),".");for(t=0;t<a.length;t++)r=a[t],R(n,w(m,r)?"xn--"+E(r):r);return _(n,".")}},"96bb":function(e,t,r){"use strict";var n=r("0a26"),a=r("8d88"),s=r("30b8"),o=r("b211"),i=r("beb7"),c=r("c246"),u=r("20a4"),l=r("27d7"),f=r("3f369"),p=r("de2e"),d=r("6bef"),m=n.Array;e.exports=function(e){var t=o(e),r=u(this),n=arguments.length,h=n>1?arguments[1]:void 0,g=void 0!==h;g&&(h=a(h,n>2?arguments[2]:void 0));var v,b,w,x,y,k,_=d(t),R=0;if(!_||this==m&&c(_))for(v=l(t),b=r?new this(v):m(v);v>R;R++)k=g?h(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=g?i(x,h,[w.value,R],!0):w.value,f(b,R,k);return b.length=R,b}},"97b6":function(e,t,r){var n=r("20d5"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},"9b04":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-62c16bb2]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},"9f28":function(e,t,r){"use strict";var n=r("f42c");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},a417: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}},a5cd:function(e,t,r){"use strict";r("ffb0")},aa01:function(e,t,r){"use strict";var n=r("fccd");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)}},adc5:function(e,t,r){var n=r("0a26"),a=r("cbcb"),s=r("0aaf"),o=r("2ec3"),i=r("6035"),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)},afb7:function(e,t,r){var n=r("1672"),a=r("b211"),s=r("54bd"),o=r("f42c"),i=o((function(){s(1)}));n({target:"Object",stat:!0,forced:i},{keys:function(e){return s(a(e))}})},be15:function(e,t,r){"use strict";var n=r("1672"),a=r("858e"),s=r("2f5b").f,o=r("a431"),i=r("f656"),c=r("4547"),u=r("2bba"),l=r("12dd"),f=r("b10f"),p=a("".endsWith),d=a("".slice),m=Math.min,h=l("endsWith"),g=!f&&!h&&!!function(){var e=s(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!g&&!h},{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}})},be40:function(e,t,r){"use strict";r.r(t);var n=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:"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:"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("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")])])]):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")])])},a=[],s=r("22b1"),o=(r("0e78"),r("6bd8"),r("833b"),r("60d8")),i=r("1dba"),c=r.n(i),u=r("8596"),l=Object(o["b"])({setup:function(){var e=Object(o["f"])(),t=Object(o["f"])(!0),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["w"])("/admin/seedMasters");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["r"])("/skill/sync");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["s"])("/email/template/seed");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["c"])("/cache/sync");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["v"])("/program/seedDefault");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["x"])("/role/init");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["p"])("/user/proxy");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["q"])("/user/seed");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["l"])("user/proxy");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(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["d"])("/user/diff-access");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=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"])("/admin/user/ofcon");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=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["g"])("/migrate/cohort/program");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["t"])("/migrate/cohort");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=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"])("/migration/cohort/trigger/learner_activity");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),x=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/review");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=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/tasks");case 2: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["m"])("/migration/S2/learner_activity/import");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["n"])("/migration/S2/learner_activity/trigger");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["k"])("migration/S3/task");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["i"])("migration/S3/learner_activites/trigger");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["j"])("migration/S3/learner_reviews/trigger");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(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{t=Object(u["y"])("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)}}(),S=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"])("/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["e"])("/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:n,templateSeed:a,cacheSync:i,seedDefaultProgram:l,seedRoles:f,seedProxyReviewers:p,diffAccess:h,migrateCohortProgram:v,migrateCohort:b,seedUser:d,proxyReviewSeed:m,migrateCohortLA:w,migrateCohortReview:x,migrateS2Tasks:y,triggerS2LAImport:k,triggerS2LAMigrate:_,migrateS3Tasks:R,migrateS3LA:O,triggerS3Reviews:C,seedMaster:r,showScreen:t,removeDuplicateProxyAssigned:j,updateS3CohortsModifiedDate:S,triggerofcon:g}}}),f=l,p=r("bdd7"),d=Object(p["a"])(f,n,a,!1,null,null,null);t["default"]=d.exports},beb7:function(e,t,r){var n=r("0361"),a=r("e0f5");e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(o){a(e,"throw",o)}}},bf11:function(e,t,r){var n=r("20d5"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},c279:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9: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("0418"))},cc3a:function(e,t,r){"use strict";(function(t){var n=r("8a5d"),a=r("386e"),s=r("a417"),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("e50c")),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("0418"))},cde7:function(e,t,r){"use strict";var n=r("1672"),a=r("858e"),s=r("6d5d"),o=r("b211"),i=r("27d7"),c=r("f656"),u=r("f42c"),l=r("cfa0"),f=r("9f28"),p=r("bf11"),d=r("d834"),m=r("b618"),h=r("97b6"),g=[],v=a(g.sort),b=a(g.push),w=u((function(){g.sort(void 0)})),x=u((function(){g.sort(null)})),y=f("sort"),k=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(d)return!0;if(h)return h<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++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[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?v(t):v(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}})},ce8f:function(e,t,r){"use strict";var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("c10c"),i=r("30b8"),c=r("858e"),u=r("b10f"),l=r("dd09"),f=r("7d68"),p=r("f42c"),d=r("46ec"),m=r("6508"),h=r("87b4"),g=r("668f"),v=r("3d1e"),b=r("9b1d"),w=r("0361"),x=r("b211"),y=r("65e2"),k=r("5cfa"),_=r("f656"),R=r("eda1"),O=r("1209"),C=r("54bd"),j=r("a5e6"),S=r("0675"),P=r("39be"),A=r("2f5b"),E=r("e36c"),D=r("f6a3"),N=r("ed30"),M=r("9bf1"),T=r("f11a"),U=r("41db"),L=r("52ab"),B=r("cad4"),q=r("5900"),I=r("53f4"),z=r("052f"),H=r("2b2a"),$=r("10ec"),F=r("5faf"),J=r("2f6c").forEach,Y=L("hidden"),W="Symbol",G="prototype",V=I("toPrimitive"),X=F.set,K=F.getterFor(W),Q=Object[G],Z=a.Symbol,ee=Z&&Z[G],te=a.TypeError,re=a.QObject,ne=s("JSON","stringify"),ae=A.f,se=E.f,oe=S.f,ie=N.f,ce=c([].push),ue=U("symbols"),le=U("op-symbols"),fe=U("string-to-symbol-registry"),pe=U("symbol-to-string-registry"),de=U("wks"),me=!re||!re[G]||!re[G].findChild,he=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,ge=function(e,t){var r=ue[e]=O(ee);return X(r,{type:W,tag:e,description:t}),l||(r.description=t),r},ve=function(e,t,r){e===Q&&ve(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),he(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)||ve(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(v(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=q(e),r=function(e){this===Q&&i(r,le,e),d(this,Y)&&d(this[Y],t)&&(this[Y][t]=!1),he(this,t,R(1,e))};return l&&me&&he(Q,t,{configurable:!0,set:r}),ge(t,e)},ee=Z[G],T(ee,"toString",(function(){return K(this).tag})),T(Z,"withoutSetter",(function(e){return ge(q(e),e)})),N.f=xe,E.f=ve,D.f=be,A.f=ye,j.f=S.f=ke,P.f=_e,z.f=function(e){return ge(I(e),e)},l&&(se(ee,"description",{configurable:!0,get:function(){return K(this).description}}),u||T(Q,"propertyIsEnumerable",xe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Z}),J(C(de),(function(e){H(e)})),n({target:W,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:ve,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((g(t)||void 0!==e)&&!b(e))return m(t)||(t=function(e,t){if(h(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;T(ee,V,(function(e){return i(Oe,this)}))}$(Z,W),B[Y]=!0},cfa0:function(e,t,r){var n=r("db39"),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},d834:function(e,t,r){var n=r("20d5");e.exports=/MSIE|Trident/.test(n)},db39:function(e,t,r){var n=r("0a26"),a=r("c5ee"),s=r("27d7"),o=r("3f369"),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}},de82:function(e,t,r){var n=r("0a26");e.exports=n},e206:function(e,t,r){"use strict";r.d(t,"c",(function(){return s})),r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"d",(function(){return l}));var n=r("22b1"),a=(r("bcee"),r("a8a2"),r("f86c"),r("efe8"),r("51c6"),r("833b"),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.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)}}(),i=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)}}(),c=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)}}(),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.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)}}(),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.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)}}()},e50c:function(e,t,r){"use strict";var n=r("8a5d"),a=r("aa01"),s=r("2998"),o=r("3884"),i=r("639e"),c=r("4af6"),u=r("7f31b"),l=r("fccd"),f=r("cc3a"),p=r("82ac");e.exports=function(e){return new Promise((function(t,r){var d,m=e.data,h=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&delete h["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.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=g&&"text"!==g&&"json"!==g?b.response:b.responseText,o={data:s,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};a((function(e){t(e),v()}),(function(e){r(e),v()}),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;_&&(h[e.xsrfHeaderName]=_)}"setRequestHeader"in b&&n.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(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)}))}},ebcf:function(e,t,r){var n=r("54ce");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("0bb9ce84",n,!0,{sourceMap:!1,shadowMode:!1})},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(),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",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",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",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",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",on:{click:function(t){return e.triggerReport()}}},[e._v("Generate Participant Report")]):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_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("22b1"),o=(r("e687"),r("be15"),r("0e78"),r("6bd8"),r("34ac"),r("bcee"),r("cde7"),r("351c"),r("833b"),r("60d8")),i=r("949b"),c=r("1635"),u=r.n(c),l=r("afbc"),f=r("e206"),p=r("675e"),d=r("8596"),m=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"])(),m=Object(o["f"])(0),h=Object(o["f"])(),g=Object(o["f"])(),v=Object(o["f"])(!1),b=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(!1),y=Object(o["f"])(),k=Object(o["f"])(),_=Object(o["f"])(),R=Object(o["f"])(),O=Object(o["f"])(),C=Object(o["f"])(),j=Object(o["f"])(!1),S=Object(o["f"])(!1),P=Object(o["f"])(!1),A=Object(o["f"])(!1),E=Object(o["f"])(!1),D=function(){a.value=[]},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:m.value+=1,c.value=null,i.value=null;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=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):(y.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((function(){y.value=null}),6e3),m.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)}}(),T=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(f["c"])("/program");case 3:for(t=e.sent,a=t.data,s=O.value.includes("System Admin")?a:a.filter((function(e){var t=e.program_admin;return!!t&&t.includes(C.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)}}(),U=function(e,t,r,n){var a=e.target.checked;!0===a?(g.value=!0,h.value=t,b.value=r,w.value=n,(O.value.includes("Program Admin")||O.value.includes("System Admin"))&&(A.value=!0,"infinity"===h.value||"S2"===h.value?(P.value=!1,E.value=!1):(P.value=!0,E.value=!0))):(g.value=!1,A.value=!1)},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 n.value=!1,e.next=3,Object(f["a"])(h.value,w.value);case 3:n.value=!0;case 4: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:v.value=!0;case 1: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 v.value=!1,a.value=[],g.value=!1,e.next=5,T();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){l["a"].push({path:"programDetails",query:{program_id:h.value}})},z=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(h.value,"_").concat(t,".csv"),console.log("key Name",r),console.log("File Name",i.value),console.log("File",c.value),e.next=8,Object(p["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:r});case 8:return a=e.sent,console.log("presigned URL",a),R.value=a.data.preSignedUrl,e.next=13,Object(f["f"])(R.value,c.value);case 13:if(s=e.sent,200!==s.status){e.next=26;break}return o={program_id:h.value,file_key:"task_import/".concat(r)},e.next=18,Object(f["e"])(o);case 18:l=e.sent,console.log(l),n.value=!1,k.value="Participant added",c.value=null,i.value=null,n.value=!0,setTimeout((function(){k.value=null,S.value=!1}),6e3);case 26: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;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["d"])(h.value);case 2:t=e.sent,_.value="The report will be emailed to you",setTimeout((function(){_.value=null}),6e3),console.log("Report Trigger Response ".concat(t));case 6:case"end":return e.stop()}}),e)})));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(d["e"])("/getUserRole");case 2:if(t=e.sent,C.value=t.user_key,O.value=t.user_roles,!(O.value.length>0)){e.next=9;break}return O.value.includes("Program Admin")||O.value.includes("System Admin")||O.value.includes("System Admin View Access")?j.value=!0:j.value=!1,e.next=9,T();case 9:case"end":return e.stop()}}),e)})))),{openShareModal:e,openShareModalParticipant:t,ProgramDetails:r,renderReady:n,programCheckOne:a,checkOne:D,selectedProgramId:h,showProgramDetailsBtn:U,programBtnShow:g,viewParticipant:B,showParticipant:v,participantList:b,closeModal:q,viewProgramDetails:I,selectedProgramName:w,getEdcastUrl:L,showBulkParticipantPanel:x,selectedFile:M,clearFile:N,bulkParticipantsFile:c,errorMessage:y,bulkImportParticipants:z,showScreen:j,userRole:O,loggedInUser:C,fileInputKey:m,successMessage:k,showReportBtn:P,showTaskImport:S,triggerReport:H,edcastBtnShow:A,showBulkBtn:E,reportSuccessMessage:_}}}),h=m,g=(r("a5cd"),r("bdd7")),v=Object(g["a"])(h,n,a,!1,null,"53d131f4",null);t["default"]=v.exports},efe8:function(e,t,r){"use strict";r("a8a2");var n,a=r("1672"),s=r("dd09"),o=r("2d7a"),i=r("0a26"),c=r("8d88"),u=r("858e"),l=r("f6a3").f,f=r("f11a"),p=r("9349"),d=r("46ec"),m=r("3a29"),h=r("96bb"),g=r("db39"),v=r("4687").codeAt,b=r("968f"),w=r("f656"),x=r("10ec"),y=r("51a4"),k=r("51c6"),_=r("5faf"),R=_.set,O=_.getterFor("URL"),C=k.URLSearchParams,j=k.getState,S=i.URL,P=i.TypeError,A=i.parseInt,E=Math.floor,D=Math.pow,N=u("".charAt),M=u(/./.exec),T=u([].join),U=u(1..toString),L=u([].pop),B=u([].push),q=u("".replace),I=u([].shift),z=u("".split),H=u("".slice),$=u("".toLowerCase),F=u([].unshift),J="Invalid authority",Y="Invalid scheme",W="Invalid host",G="Invalid port",V=/[a-z]/i,X=/[\d+-.a-z]/i,K=/\d/,Q=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ae=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,se=/[\t\n\r]/g,oe=function(e){var t,r,n,a,s,o,i,c=z(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"==N(a,0)&&(s=M(Q,a)?16:8,a=H(a,8==s?1:2)),""===a)o=0;else{if(!M(10==s?ee:8==s?Z:te,a))return e;o=A(a,s)}B(r,o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=D(256,5-t))return null}else if(o>255)return null;for(i=L(r),n=0;n<r.length;n++)i+=r[n]*D(256,3-n);return i},ie=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 N(e,f)};if(":"==p()){if(":"!=N(e,1))return;f+=2,u++,l=u}while(p()){if(8==u)return;if(":"!=p()){t=r=0;while(r<4&&M(te,p()))t=16*t+A(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(!M(K,p()))return;while(M(K,p())){if(s=A(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},ce=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},ue=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)F(t,e%256),e=E(e/256);return T(t,".")}if("object"==typeof e){for(t="",n=ce(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},le={},fe=m({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),pe=m({},fe,{"#":1,"?":1,"{":1,"}":1}),de=m({},pe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),me=function(e,t){var r=v(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(e,t){var r;return 2==e.length&&M(V,N(e,0))&&(":"==(r=N(e,1))||!t&&"|"==r)},ve=function(e){var t;return e.length>1&&ge(H(e,0,2))&&(2==e.length||"/"===(t=N(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){return"."===e||"%2e"===$(e)},we=function(e){return e=$(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},xe={},ye={},ke={},_e={},Re={},Oe={},Ce={},je={},Se={},Pe={},Ae={},Ee={},De={},Ne={},Me={},Te={},Ue={},Le={},Be={},qe={},Ie={},ze=function(e,t,r){var n,a,s,o=w(e);if(t){if(a=this.parse(o),a)throw P(a);this.searchParams=null}else{if(void 0!==r&&(n=new ze(r,!0)),a=this.parse(o,null,n),a)throw P(a);s=j(new C),s.bindURL(this),this.searchParams=s}};ze.prototype={type:"URL",parse:function(e,t,r){var a,s,o,i,c=this,u=t||xe,l=0,f="",p=!1,m=!1,v=!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=q(e,ae,"")),e=q(e,se,""),a=h(e);while(l<=a.length){switch(s=a[l],u){case xe:if(!s||!M(V,s)){if(t)return Y;u=ke;continue}f+=$(s),u=ye;break;case ye:if(s&&(M(X,s)||"+"==s||"-"==s||"."==s))f+=$(s);else{if(":"!=s){if(t)return Y;f="",u=ke,l=0;continue}if(t&&(c.isSpecial()!=d(he,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&he[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?u=Ne:c.isSpecial()&&r&&r.scheme==c.scheme?u=_e:c.isSpecial()?u=je:"/"==a[l+1]?(u=Re,l++):(c.cannotBeABaseURL=!0,B(c.path,""),u=Be)}break;case ke:if(!r||r.cannotBeABaseURL&&"#"!=s)return Y;if(r.cannotBeABaseURL&&"#"==s){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Ie;break}u="file"==r.scheme?Ne:Oe;continue;case _e:if("/"!=s||"/"!=a[l+1]){u=Oe;continue}u=Se,l++;break;case Re:if("/"==s){u=Pe;break}u=Le;continue;case Oe: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=g(r.path),c.query=r.query;else if("/"==s||"\\"==s&&c.isSpecial())u=Ce;else if("?"==s)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",u=qe;else{if("#"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,u=Le;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",u=Ie}break;case Ce:if(!c.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Le;continue}u=Pe}else u=Se;break;case je:if(u=Se,"/"!=s||"/"!=N(f,l+1))continue;l++;break;case Se:if("/"!=s&&"\\"!=s){u=Pe;continue}break;case Pe:if("@"==s){p&&(f="%40"+f),p=!0,o=h(f);for(var b=0;b<o.length;b++){var x=o[b];if(":"!=x||v){var y=me(x,de);v?c.password+=y:c.username+=y}else v=!0}f=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(p&&""==f)return J;l-=h(f).length+1,f="",u=Ae}else f+=s;break;case Ae:case Ee:if(t&&"file"==c.scheme){u=Te;continue}if(":"!=s||m){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(c.isSpecial()&&""==f)return W;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 W;if(i=c.parseHost(f),i)return i;if(f="",u=De,t==Ee)return}break;case De:if(!M(K,s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()||t){if(""!=f){var k=A(f,10);if(k>65535)return G;c.port=c.isSpecial()&&k===he[c.scheme]?null:k,f=""}if(t)return;u=Ue;continue}return G}f+=s;break;case Ne:if(c.scheme="file","/"==s||"\\"==s)u=Me;else{if(!r||"file"!=r.scheme){u=Le;continue}if(s==n)c.host=r.host,c.path=g(r.path),c.query=r.query;else if("?"==s)c.host=r.host,c.path=g(r.path),c.query="",u=qe;else{if("#"!=s){ve(T(g(a,l),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),u=Le;continue}c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",u=Ie}}break;case Me:if("/"==s||"\\"==s){u=Te;break}r&&"file"==r.scheme&&!ve(T(g(a,l),""))&&(ge(r.path[0],!0)?B(c.path,r.path[0]):c.host=r.host),u=Le;continue;case Te:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!t&&ge(f))u=Le;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=Le,"/"!=s&&"\\"!=s)continue}else if(t||"?"!=s)if(t||"#"!=s){if(s!=n&&(u=Le,"/"!=s))continue}else c.fragment="",u=Ie;else c.query="",u=qe;break;case Le:if(s==n||"/"==s||"\\"==s&&c.isSpecial()||!t&&("?"==s||"#"==s)){if(we(f)?(c.shortenPath(),"/"==s||"\\"==s&&c.isSpecial()||B(c.path,"")):be(f)?"/"==s||"\\"==s&&c.isSpecial()||B(c.path,""):("file"==c.scheme&&!c.path.length&&ge(f)&&(c.host&&(c.host=""),f=N(f,0)+":"),B(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=qe):"#"==s&&(c.fragment="",u=Ie)}else f+=me(s,pe);break;case Be:"?"==s?(c.query="",u=qe):"#"==s?(c.fragment="",u=Ie):s!=n&&(c.path[0]+=me(s,le));break;case qe:t||"#"!=s?s!=n&&("'"==s&&c.isSpecial()?c.query+="%27":c.query+="#"==s?"%23":me(s,le)):(c.fragment="",u=Ie);break;case Ie:s!=n&&(c.fragment+=me(s,fe));break}l++}},parseHost:function(e){var t,r,n;if("["==N(e,0)){if("]"!=N(e,e.length-1))return W;if(t=ie(H(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=b(e),M(re,e))return W;if(t=oe(e),null===t)return W;this.host=t}else{if(M(ne,e))return W;for(t="",r=h(e),n=0;n<r.length;n++)t+=me(r[n],le);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(he,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+=ue(a),null!==s&&(u+=":"+s)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+T(o,"/"):"",null!==i&&(u+="?"+i),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new He(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ue(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",xe)},getUsername:function(){return this.username},setUsername:function(e){var t=h(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=me(t[r],de)}},getPassword:function(){return this.password},setPassword:function(e){var t=h(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=me(t[r],de)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ue(e):ue(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":ue(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ee)},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,De))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+T(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:("?"==N(e,0)&&(e=H(e,1)),this.query="",this.parse(e,qe)),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?("#"==N(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,Ie)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var He=function(e){var t=p(this,$e),r=y(arguments.length,1)>1?arguments[1]:void 0,n=R(t,new ze(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())},$e=He.prototype,Fe=function(e,t){return{get:function(){return O(this)[e]()},set:t&&function(e){return O(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&l($e,{href:Fe("serialize","setHref"),origin:Fe("getOrigin"),protocol:Fe("getProtocol","setProtocol"),username:Fe("getUsername","setUsername"),password:Fe("getPassword","setPassword"),host:Fe("getHost","setHost"),hostname:Fe("getHostname","setHostname"),port:Fe("getPort","setPort"),pathname:Fe("getPathname","setPathname"),search:Fe("getSearch","setSearch"),searchParams:Fe("getSearchParams"),hash:Fe("getHash","setHash")}),f($e,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),f($e,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),S){var Je=S.createObjectURL,Ye=S.revokeObjectURL;Je&&f(He,"createObjectURL",c(Je,S)),Ye&&f(He,"revokeObjectURL",c(Ye,S))}x(He,"URL"),a({global:!0,forced:!o,sham:!s},{URL:He})},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("22b1"),o=(r("833b"),r("351c"),r("0e78"),r("6bd8"),r("60d8")),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"])(),h=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)}}(),g=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["e"])("/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,g();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:h}}}),p=f,d=(r("196a"),r("bdd7")),m=Object(d["a"])(p,n,a,!1,null,"698789bf",null);t["default"]=m.exports},fccd:function(e,t,r){"use strict";var n=r("a417");e.exports=function(e,t,r,a,s){var o=new Error(e);return n(o,t,r,a,s)}},ffb0:function(e,t,r){var n=r("62ab");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("664d0488",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"0323":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"035b":function(e,t,r){var n=r("6025");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("1b1e2fb4",n,!0,{sourceMap:!1,shadowMode:!1})},"0418":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("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"04ac":function(e,t,r){"use strict";r("035b")},"052f":function(e,t,r){var n=r("53f4");t.f=n},"0675":function(e,t,r){var n=r("def2"),a=r("65e2"),s=r("a5e6").f,o=r("db39"),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))}},"112f":function(e,t,r){"use strict";var n=r("7de8").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}},"11ce":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}),{})}},"122c":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},1432:function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-327540ba]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"145e":function(e,t,r){var n=r("9b04");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("5a8cff6a",n,!0,{sourceMap:!1,shadowMode:!1})},1464: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)}}},1501:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1a62":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-18fd07bc]{position:fixed;top:30%;left:42%}.tableScroll[data-v-18fd07bc]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-18fd07bc]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-18fd07bc]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-18fd07bc],.modal-fade-leave-to[data-v-18fd07bc]{opacity:0}.modal-fade-enter-active[data-v-18fd07bc],.modal-fade-leave-active[data-v-18fd07bc]{transition:opacity .5s ease}",""]),e.exports=t},"1b88":function(e,t,r){var n=r("1432");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("33a4582d",n,!0,{sourceMap:!1,shadowMode:!1})},"1dba":function(e,t,r){e.exports=r("46c8")},"26fa":function(e,t,r){"use strict";r("0e78"),r("6bd8");var n=r("1dba"),a=r.n(n);r("afb7"),r("ce8f"),r("34ac"),r("bcee"),r("8543"),r("adc5"),r("707d");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("6f86");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?(alert("Oops! Your session expired. Please log in again!"),window.location.reload()):e.response&&e.response.status}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},2998:function(e,t,r){"use strict";var n=r("8a5d");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(){}}}()},"2b2a":function(e,t,r){var n=r("de82"),a=r("46ec"),s=r("052f"),o=r("e36c").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:s.f(e)})}},"2d7a":function(e,t,r){var n=r("f42c"),a=r("53f4"),s=r("b10f"),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}))},"2ec3":function(e,t,r){"use strict";var n=r("2f6c").forEach,a=r("9f28"),s=a("forEach");e.exports=s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"2f6c":function(e,t,r){var n=r("8d88"),a=r("858e"),s=r("b55a"),o=r("b211"),i=r("27d7"),c=r("3729"),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,h,g,v){for(var b,w,x=o(m),y=s(x),k=n(h,g),_=i(y),R=0,O=v||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)}},"34ac":function(e,t,r){"use strict";var n=r("1672"),a=r("2f6c").filter,s=r("dba8"),o=s("filter");n({target:"Array",proto:!0,forced:!o},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"386e":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3884:function(e,t,r){"use strict";var n=r("8a5d");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}},"46c8":function(e,t,r){"use strict";var n=r("8a5d"),a=r("1464"),s=r("6c7d"),o=r("76b7"),i=r("cc3a");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("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=r("c279"),u.isAxiosError=r("122c"),e.exports=u,e.exports.default=u},"47c5":function(e,t,r){"use strict";r("5707")},"4af6":function(e,t,r){"use strict";var n=r("8a5d"),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}},"51c6":function(e,t,r){"use strict";r("5675");var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("30b8"),i=r("858e"),c=r("2d7a"),u=r("f11a"),l=r("eb5c"),f=r("10ec"),p=r("2c8a"),d=r("5faf"),m=r("9349"),h=r("87b4"),g=r("46ec"),v=r("8d88"),b=r("2d0e"),w=r("0361"),x=r("668f"),y=r("f656"),k=r("1209"),_=r("eda1"),R=r("de2e"),O=r("6bef"),C=r("51a4"),j=r("53f4"),S=r("cfa0"),P=j("iterator"),A="URLSearchParams",E=A+"Iterator",D=d.set,N=d.getterFor(A),T=d.getterFor(E),M=s("fetch"),U=s("Request"),L=s("Headers"),B=U&&U.prototype,q=L&&L.prototype,I=a.RegExp,z=a.TypeError,H=a.decodeURIComponent,F=a.encodeURIComponent,$=i("".charAt),J=i([].join),Y=i([].push),W=i("".replace),G=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]=I("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return H(e)}catch(t){return e}},re=function(e){var t=W(e,Q," "),r=4;try{return H(t)}catch(n){while(r)t=W(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 W(F(e),ne,se)},ie=p((function(e,t){D(this,{type:E,iterator:R(N(e).entries),kind:t})}),"Iterator",(function(){var e=T(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)g(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(G(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;D(this,new ce(e))},le=ue.prototype;if(l(le,{append:function(e,t){C(arguments.length,2);var r=N(this);Y(r.entries,{key:y(e),value:y(t)}),r.updateURL()},delete:function(e){C(arguments.length,1);var t=N(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=N(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=N(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=N(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=N(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=N(this);S(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=N(this).entries,n=v(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 N(this).serialize()}),{enumerable:!0}),f(ue,A),n({global:!0,forced:!c},{URLSearchParams:ue}),!c&&h(L)){var fe=i(q.has),pe=i(q.set),de=function(e){if(x(e)){var t,r=e.body;if(b(r)===A)return t=e.headers?new L(e.headers):new L,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(h(M)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return M(e,arguments.length>1?de(arguments[1]):{})}}),h(U)){var me=function(e){return m(this,B),new U(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:N}},5707:function(e,t,r){var n=r("1a62");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("2bd6ef92",n,!0,{sourceMap:!1,shadowMode:!1})},"5cd4":function(e,t,r){"use strict";var n=r("8a5d"),a=r("cc3a");e.exports=function(e,t,r){var s=this||a;return n.forEach(r,(function(r){e=r.call(s,e,t)})),e}},"5df9":function(e,t,r){"use strict";var n=r("8a5d");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},6025:function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-627929b6]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"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("22b1"),o=(r("833b"),r("6f86"),r("0e78"),r("6bd8"),r("60d8")),i=r("1dba"),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)}}(),h=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["z"])(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["e"])("/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:h}}}),f=l,p=(r("69f2"),r("bdd7")),d=Object(p["a"])(f,n,a,!1,null,"62c16bb2",null);t["default"]=d.exports},6136:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"639e":function(e,t,r){"use strict";var n=r("6136"),a=r("1501");e.exports=function(e,t){return e&&!n(t)?a(e,t):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("22b1"),a=(r("bcee"),r("833b"),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)}}()},"69f2":function(e,t,r){"use strict";r("145e")},"6c7d":function(e,t,r){"use strict";var n=r("8a5d"),a=r("3884"),s=r("5df9"),o=r("93f9"),i=r("76b7"),c=r("112f"),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(h){m(h);break}}try{s=o(p)}catch(h){return Promise.reject(h)}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},"6f86":function(e,t,r){var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("c10c"),i=r("858e"),c=r("f42c"),u=a.Array,l=s("JSON","stringify"),f=i(/./.exec),p=i("".charAt),d=i("".charCodeAt),m=i("".replace),h=i(1..toString),g=/[\uD800-\uDFFF]/g,v=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,w=function(e,t,r){var n=p(r,t-1),a=p(r,t+1);return f(v,e)&&!f(b,a)||f(b,e)&&!f(v,n)?"\\u"+h(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,g,w):i}})},"707d":function(e,t,r){var n=r("1672"),a=r("dd09"),s=r("0376"),o=r("65e2"),i=r("2f5b"),c=r("3f36");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}})},"76b7":function(e,t,r){"use strict";var n=r("8a5d");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}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,r){"use strict";var n=r("8a5d");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}}()},"823a":function(e,t,r){"use strict";var n=r("82ac");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},"82ac":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},8543:function(e,t,r){var n=r("1672"),a=r("f42c"),s=r("65e2"),o=r("2f5b").f,i=r("dd09"),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)}})},8596:function(e,t,r){"use strict";r.d(t,"w",(function(){return s})),r.d(t,"r",(function(){return o})),r.d(t,"s",(function(){return i})),r.d(t,"c",(function(){return c})),r.d(t,"v",(function(){return u})),r.d(t,"x",(function(){return l})),r.d(t,"p",(function(){return f})),r.d(t,"q",(function(){return p})),r.d(t,"d",(function(){return d})),r.d(t,"t",(function(){return m})),r.d(t,"f",(function(){return h})),r.d(t,"h",(function(){return g})),r.d(t,"o",(function(){return v})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return w})),r.d(t,"k",(function(){return x})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return k})),r.d(t,"y",(function(){return _})),r.d(t,"A",(function(){return R})),r.d(t,"u",(function(){return O})),r.d(t,"l",(function(){return C})),r.d(t,"g",(function(){return j})),r.d(t,"e",(function(){return S})),r.d(t,"a",(function(){return P})),r.d(t,"z",(function(){return A})),r.d(t,"b",(function(){return E}));var n=r("22b1"),a=(r("833b"),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)}}(),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,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.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)}}()},"864e":function(e,t,r){"use strict";r("1b88")},"8a5d":function(e,t,r){"use strict";var n=r("1464"),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 h(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function v(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:h,isFile:g,isBlob:v,isFunction:b,isStream:w,isURLSearchParams:x,isStandardBrowserEnv:k,forEach:_,merge:R,extend:O,trim:y,stripBOM:C}},"93f9":function(e,t,r){"use strict";var n=r("8a5d"),a=r("5cd4"),s=r("0323"),o=r("cc3a"),i=r("82ac");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)}))}},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"},[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.startDate,expression:"startDate"}],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.startDate},on:{input:function(t){t.target.composing||(e.startDate=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.endDate,expression:"endDate"}],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.endDate},on:{input:function(t){t.target.composing||(e.endDate=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-background-secondary opacity-80 font-normal mb-2"},[e._v(" Disable Notifications ")]),n("span",{staticClass:"text-background-secondary pr-2"},[e._v("Yes")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"True"},domProps:{checked:e._q(e.programDetails.disable_notifications,"true")},on:{change:function(t){return e.$set(e.programDetails,"disable_notifications","true")}}}),n("span",{staticClass:"text-background-secondary px-2"},[e._v("No")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.disable_notifications,expression:"programDetails.disable_notifications"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"False"},domProps:{checked:e._q(e.programDetails.disable_notifications,"false")},on:{change:function(t){return e.$set(e.programDetails,"disable_notifications","false")}}})]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e._m(1),n("span",{staticClass:"text-background-secondary pr-2"},[e._v("Yes")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"True"},domProps:{checked:e._q(e.programDetails.enable_report,"true")},on:{change:function(t){return e.$set(e.programDetails,"enable_report","true")}}}),n("span",{staticClass:"text-background-secondary px-2"},[e._v("No")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.programDetails.enable_report,expression:"programDetails.enable_report"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"False"},domProps:{checked:e._q(e.programDetails.enable_report,"false")},on:{change:function(t){return e.$set(e.programDetails,"enable_report","false")}}})]),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.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("22b1"),o=(r("0e78"),r("6bd8"),r("833b"),r("60d8")),i=r("1dba"),c=r.n(i),u=r("816c"),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"),h=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"])(),h=Object(o["f"])(),g=Object(o["f"])(!0),v=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=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,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,y.value=l()(s.prog_detail.start_date).format("DD-MM-YYYY"),k.value=l()(s.prog_detail.end_date).format("DD-MM-YYYY"),h.value=n.value.program_admin?s.prog_detail.program_admin:[],console.log("program_admin",h.value),r.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](0),console.log(e.t0);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}(),P=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=43;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=43;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=43;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=43;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=43;break;case 36:return r.value=!1,e.next=39,d(n.value);case 39:return t=e.sent,e.next=42,S();case 42:t&&(O.value=t,R.value=!0,setTimeout((function(){R.value=!1}),6e3),r.value=!0);case 43:e.next=48;break;case 45:e.prev=45,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 48:case"end":return e.stop()}}),e,null,[[0,45]])})));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["e"])("/getUserRole");case 2:return t=e.sent,e.next=5,S();case 5:v.value=t.user_roles,j.value=t.user_key,v.value.length>0&&(v.value.includes("System Admin")||h.value.includes(j.value)?(g.value=!0,_.value=!0):(g.value=!1,_.value=!1),v.value.includes("System Admin View Access")&&(_.value=!0,g.value=!1));case 8:case"end":return e.stop()}}),e)})))),{renderReady:r,programDetails:n,updateRecord:P,errorMessage:u,taskAssignmentStrategy:a,reviewerAssignmentStrategy:i,showUpdate:g,programModuleName:b,skill:w,proficiency:x,showScreen:_,startDate:y,endDate:k,showSuccessMessage:R,resMessage:O,showErrorMessage:C,loggedInUser:j,programAdmin:h,proxyOHR:f}}}),g=h,v=(r("04ac"),r("bdd7")),b=Object(v["a"])(g,n,a,!1,null,"627929b6",null);t["default"]=b.exports},"949b":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("11ce"),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"}})])}}},"968f":function(e,t,r){"use strict";var n=r("0a26"),a=r("858e"),s=2147483647,o=36,i=1,c=26,u=38,l=700,f=72,p=128,d="-",m=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",v=o-i,b=n.RangeError,w=a(h.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>v*c>>1)e=x(e/v),n+=o;return x(n+(v+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 h=t.length,v=h;h&&R(t,d);while(v<a){var w=s;for(r=0;r<e.length;r++)n=e[r],n>=u&&n<w&&(w=n);var k=v+1;if(w-u>x((s-l)/k))throw b(g);for(l+=(w-u)*k,u=w,r=0;r<e.length;r++){if(n=e[r],n<u&&++l>s)throw b(g);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,D=o-j;R(t,y(P(j+E%D))),O=x(E/D),C+=o}R(t,y(P(O))),m=A(l,k,v==h),l=0,v++}}l++,u++}return _(t,"")};e.exports=function(e){var t,r,n=[],a=C(O(j(e),h,"."),".");for(t=0;t<a.length;t++)r=a[t],R(n,w(m,r)?"xn--"+E(r):r);return _(n,".")}},"96bb":function(e,t,r){"use strict";var n=r("0a26"),a=r("8d88"),s=r("30b8"),o=r("b211"),i=r("beb7"),c=r("c246"),u=r("20a4"),l=r("27d7"),f=r("3f36"),p=r("de2e"),d=r("6bef"),m=n.Array;e.exports=function(e){var t=o(e),r=u(this),n=arguments.length,h=n>1?arguments[1]:void 0,g=void 0!==h;g&&(h=a(h,n>2?arguments[2]:void 0));var v,b,w,x,y,k,_=d(t),R=0;if(!_||this==m&&c(_))for(v=l(t),b=r?new this(v):m(v);v>R;R++)k=g?h(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=g?i(x,h,[w.value,R],!0):w.value,f(b,R,k);return b.length=R,b}},"97b6":function(e,t,r){var n=r("20d5"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},"9b04":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-62c16bb2]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},"9f28":function(e,t,r){"use strict";var n=r("f42c");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},a417: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}},aa01:function(e,t,r){"use strict";var n=r("fccd");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)}},adc5:function(e,t,r){var n=r("0a26"),a=r("cbcb"),s=r("0aaf"),o=r("2ec3"),i=r("6035"),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)},afb7:function(e,t,r){var n=r("1672"),a=r("b211"),s=r("54bd"),o=r("f42c"),i=o((function(){s(1)}));n({target:"Object",stat:!0,forced:i},{keys:function(e){return s(a(e))}})},be15:function(e,t,r){"use strict";var n=r("1672"),a=r("858e"),s=r("2f5b").f,o=r("a431"),i=r("f656"),c=r("4547"),u=r("2bba"),l=r("12dd"),f=r("b10f"),p=a("".endsWith),d=a("".slice),m=Math.min,h=l("endsWith"),g=!f&&!h&&!!function(){var e=s(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!g&&!h},{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}})},be40:function(e,t,r){"use strict";r.r(t);var n=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:"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:"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("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")])])]):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")])])},a=[],s=r("22b1"),o=(r("0e78"),r("6bd8"),r("833b"),r("60d8")),i=r("1dba"),c=r.n(i),u=r("8596"),l=Object(o["b"])({setup:function(){var e=Object(o["f"])(),t=Object(o["f"])(!0),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["w"])("/admin/seedMasters");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["r"])("/skill/sync");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["s"])("/email/template/seed");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["c"])("/cache/sync");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["v"])("/program/seedDefault");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["x"])("/role/init");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["p"])("/user/proxy");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["q"])("/user/seed");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["l"])("user/proxy");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(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["d"])("/user/diff-access");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=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"])("/admin/user/ofcon");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=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["g"])("/migrate/cohort/program");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["t"])("/migrate/cohort");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=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"])("/migration/cohort/trigger/learner_activity");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),x=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/review");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=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/tasks");case 2: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["m"])("/migration/S2/learner_activity/import");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["n"])("/migration/S2/learner_activity/trigger");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["k"])("migration/S3/task");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["i"])("migration/S3/learner_activites/trigger");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["j"])("migration/S3/learner_reviews/trigger");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(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{t=Object(u["y"])("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)}}(),S=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"])("/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["e"])("/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:n,templateSeed:a,cacheSync:i,seedDefaultProgram:l,seedRoles:f,seedProxyReviewers:p,diffAccess:h,migrateCohortProgram:v,migrateCohort:b,seedUser:d,proxyReviewSeed:m,migrateCohortLA:w,migrateCohortReview:x,migrateS2Tasks:y,triggerS2LAImport:k,triggerS2LAMigrate:_,migrateS3Tasks:R,migrateS3LA:O,triggerS3Reviews:C,seedMaster:r,showScreen:t,removeDuplicateProxyAssigned:j,updateS3CohortsModifiedDate:S,triggerofcon:g}}}),f=l,p=r("bdd7"),d=Object(p["a"])(f,n,a,!1,null,null,null);t["default"]=d.exports},beb7:function(e,t,r){var n=r("0361"),a=r("e0f5");e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(o){a(e,"throw",o)}}},bf11:function(e,t,r){var n=r("20d5"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},c279:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9: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("0418"))},cc3a:function(e,t,r){"use strict";(function(t){var n=r("8a5d"),a=r("386e"),s=r("a417"),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("e50c")),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("0418"))},cde7:function(e,t,r){"use strict";var n=r("1672"),a=r("858e"),s=r("6d5d"),o=r("b211"),i=r("27d7"),c=r("f656"),u=r("f42c"),l=r("cfa0"),f=r("9f28"),p=r("bf11"),d=r("d834"),m=r("b618"),h=r("97b6"),g=[],v=a(g.sort),b=a(g.push),w=u((function(){g.sort(void 0)})),x=u((function(){g.sort(null)})),y=f("sort"),k=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(d)return!0;if(h)return h<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++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[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?v(t):v(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}})},ce8f:function(e,t,r){"use strict";var n=r("1672"),a=r("0a26"),s=r("191b"),o=r("c10c"),i=r("30b8"),c=r("858e"),u=r("b10f"),l=r("dd09"),f=r("7d68"),p=r("f42c"),d=r("46ec"),m=r("6508"),h=r("87b4"),g=r("668f"),v=r("3d1e"),b=r("9b1d"),w=r("0361"),x=r("b211"),y=r("65e2"),k=r("5cfa"),_=r("f656"),R=r("eda1"),O=r("1209"),C=r("54bd"),j=r("a5e6"),S=r("0675"),P=r("39be"),A=r("2f5b"),E=r("e36c"),D=r("f6a3"),N=r("ed30"),T=r("9bf1"),M=r("f11a"),U=r("41db"),L=r("52ab"),B=r("cad4"),q=r("5900"),I=r("53f4"),z=r("052f"),H=r("2b2a"),F=r("10ec"),$=r("5faf"),J=r("2f6c").forEach,Y=L("hidden"),W="Symbol",G="prototype",V=I("toPrimitive"),X=$.set,K=$.getterFor(W),Q=Object[G],Z=a.Symbol,ee=Z&&Z[G],te=a.TypeError,re=a.QObject,ne=s("JSON","stringify"),ae=A.f,se=E.f,oe=S.f,ie=N.f,ce=c([].push),ue=U("symbols"),le=U("op-symbols"),fe=U("string-to-symbol-registry"),pe=U("symbol-to-string-registry"),de=U("wks"),me=!re||!re[G]||!re[G].findChild,he=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,ge=function(e,t){var r=ue[e]=O(ee);return X(r,{type:W,tag:e,description:t}),l||(r.description=t),r},ve=function(e,t,r){e===Q&&ve(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),he(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)||ve(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(v(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=q(e),r=function(e){this===Q&&i(r,le,e),d(this,Y)&&d(this[Y],t)&&(this[Y][t]=!1),he(this,t,R(1,e))};return l&&me&&he(Q,t,{configurable:!0,set:r}),ge(t,e)},ee=Z[G],M(ee,"toString",(function(){return K(this).tag})),M(Z,"withoutSetter",(function(e){return ge(q(e),e)})),N.f=xe,E.f=ve,D.f=be,A.f=ye,j.f=S.f=ke,P.f=_e,z.f=function(e){return ge(I(e),e)},l&&(se(ee,"description",{configurable:!0,get:function(){return K(this).description}}),u||M(Q,"propertyIsEnumerable",xe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Z}),J(C(de),(function(e){H(e)})),n({target:W,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:ve,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=T(arguments),a=t;if((g(t)||void 0!==e)&&!b(e))return m(t)||(t=function(e,t){if(h(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;M(ee,V,(function(e){return i(Oe,this)}))}F(Z,W),B[Y]=!0},cfa0:function(e,t,r){var n=r("db39"),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},d834:function(e,t,r){var n=r("20d5");e.exports=/MSIE|Trident/.test(n)},db39:function(e,t,r){var n=r("0a26"),a=r("c5ee"),s=r("27d7"),o=r("3f36"),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}},de82:function(e,t,r){var n=r("0a26");e.exports=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,"f",(function(){return l})),r.d(t,"d",(function(){return f}));var n=r("22b1"),a=(r("bcee"),r("a8a2"),r("f86c"),r("efe8"),r("51c6"),r("833b"),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){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)}}(),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.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)}}()},e50c:function(e,t,r){"use strict";var n=r("8a5d"),a=r("aa01"),s=r("2998"),o=r("3884"),i=r("639e"),c=r("4af6"),u=r("7f31"),l=r("fccd"),f=r("cc3a"),p=r("82ac");e.exports=function(e){return new Promise((function(t,r){var d,m=e.data,h=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&delete h["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.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=g&&"text"!==g&&"json"!==g?b.response:b.responseText,o={data:s,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};a((function(e){t(e),v()}),(function(e){r(e),v()}),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;_&&(h[e.xsrfHeaderName]=_)}"setRequestHeader"in b&&n.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(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)}))}},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_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("22b1"),o=(r("e687"),r("be15"),r("0e78"),r("6bd8"),r("34ac"),r("bcee"),r("cde7"),r("351c"),r("6f86"),r("833b"),r("60d8")),i=r("949b"),c=r("816c"),u=r.n(c),l=r("1dba"),f=r.n(l),p=r("afbc"),d=r("675e"),m=r("8596"),h=r("e206"),g=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),g=Object(o["f"])(),v=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),D=Object(o["f"])(!1),N=Object(o["f"])(!1),T=function(){a.value=[]},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:l.value+=1,c.value=null,i.value=null;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=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)}}(),L=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(h["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?(v.value=!0,g.value=t,w.value=r,x.value=n,C.value.includes("System Admin")&&"infinity"!==t&&(N.value=!0),(C.value.includes("Program Admin")||C.value.includes("System Admin"))&&(E.value=!0,"infinity"===g.value||"S2"===g.value?(A.value=!1,D.value=!1):(A.value=!0,D.value=!0))):(v.value=!1,E.value=!1)},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 n.value=!1,e.next=3,Object(h["a"])(g.value,x.value);case 3:n.value=!0;case 4: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: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=[],v.value=!1,e.next=5,L();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),H=function(){p["a"].push({path:"programDetails",query:{program_id:g.value}})},F=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(g.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(h["g"])(O.value,c.value);case 13:if(s=e.sent,200!==s.status){e.next=26;break}return o={program_id:g.value,file_key:"task_import/".concat(r)},e.next=18,Object(h["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 e.next=2,Object(h["d"])(g.value);case 2: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));case 6: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(h["e"])(g.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["e"])("/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,L();case 9:case"end":return e.stop()}}),e)})))),{openShareModal:e,openShareModalParticipant:t,ProgramDetails:r,renderReady:n,programCheckOne:a,checkOne:T,selectedProgramId:g,showProgramDetailsBtn:B,programBtnShow:v,viewParticipant:I,showParticipant:b,participantList:w,closeModal:z,viewProgramDetails:H,selectedProgramName:x,getEdcastUrl:q,showBulkParticipantPanel:y,selectedFile:U,clearFile:M,bulkParticipantsFile:c,errorMessage:k,bulkImportParticipants:F,showScreen:S,userRole:C,loggedInUser:j,fileInputKey:l,successMessage:_,showReportBtn:A,showTaskImport:P,triggerReport:$,edcastBtnShow:E,showBulkBtn:D,reportSuccessMessage:R,triggerProxyAssignmentForCohort:J,showTriggerProxyAssignment:N}}}),v=g,b=(r("47c5"),r("bdd7")),w=Object(b["a"])(v,n,a,!1,null,"18fd07bc",null);t["default"]=w.exports},efe8:function(e,t,r){"use strict";r("a8a2");var n,a=r("1672"),s=r("dd09"),o=r("2d7a"),i=r("0a26"),c=r("8d88"),u=r("858e"),l=r("f6a3").f,f=r("f11a"),p=r("9349"),d=r("46ec"),m=r("3a29"),h=r("96bb"),g=r("db39"),v=r("4687").codeAt,b=r("968f"),w=r("f656"),x=r("10ec"),y=r("51a4"),k=r("51c6"),_=r("5faf"),R=_.set,O=_.getterFor("URL"),C=k.URLSearchParams,j=k.getState,S=i.URL,P=i.TypeError,A=i.parseInt,E=Math.floor,D=Math.pow,N=u("".charAt),T=u(/./.exec),M=u([].join),U=u(1..toString),L=u([].pop),B=u([].push),q=u("".replace),I=u([].shift),z=u("".split),H=u("".slice),F=u("".toLowerCase),$=u([].unshift),J="Invalid authority",Y="Invalid scheme",W="Invalid host",G="Invalid port",V=/[a-z]/i,X=/[\d+-.a-z]/i,K=/\d/,Q=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ae=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,se=/[\t\n\r]/g,oe=function(e){var t,r,n,a,s,o,i,c=z(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"==N(a,0)&&(s=T(Q,a)?16:8,a=H(a,8==s?1:2)),""===a)o=0;else{if(!T(10==s?ee:8==s?Z:te,a))return e;o=A(a,s)}B(r,o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=D(256,5-t))return null}else if(o>255)return null;for(i=L(r),n=0;n<r.length;n++)i+=r[n]*D(256,3-n);return i},ie=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 N(e,f)};if(":"==p()){if(":"!=N(e,1))return;f+=2,u++,l=u}while(p()){if(8==u)return;if(":"!=p()){t=r=0;while(r<4&&T(te,p()))t=16*t+A(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(!T(K,p()))return;while(T(K,p())){if(s=A(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},ce=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},ue=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)$(t,e%256),e=E(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=ce(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},le={},fe=m({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),pe=m({},fe,{"#":1,"?":1,"{":1,"}":1}),de=m({},pe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),me=function(e,t){var r=v(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(e,t){var r;return 2==e.length&&T(V,N(e,0))&&(":"==(r=N(e,1))||!t&&"|"==r)},ve=function(e){var t;return e.length>1&&ge(H(e,0,2))&&(2==e.length||"/"===(t=N(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){return"."===e||"%2e"===F(e)},we=function(e){return e=F(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},xe={},ye={},ke={},_e={},Re={},Oe={},Ce={},je={},Se={},Pe={},Ae={},Ee={},De={},Ne={},Te={},Me={},Ue={},Le={},Be={},qe={},Ie={},ze=function(e,t,r){var n,a,s,o=w(e);if(t){if(a=this.parse(o),a)throw P(a);this.searchParams=null}else{if(void 0!==r&&(n=new ze(r,!0)),a=this.parse(o,null,n),a)throw P(a);s=j(new C),s.bindURL(this),this.searchParams=s}};ze.prototype={type:"URL",parse:function(e,t,r){var a,s,o,i,c=this,u=t||xe,l=0,f="",p=!1,m=!1,v=!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=q(e,ae,"")),e=q(e,se,""),a=h(e);while(l<=a.length){switch(s=a[l],u){case xe:if(!s||!T(V,s)){if(t)return Y;u=ke;continue}f+=F(s),u=ye;break;case ye:if(s&&(T(X,s)||"+"==s||"-"==s||"."==s))f+=F(s);else{if(":"!=s){if(t)return Y;f="",u=ke,l=0;continue}if(t&&(c.isSpecial()!=d(he,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&he[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?u=Ne:c.isSpecial()&&r&&r.scheme==c.scheme?u=_e:c.isSpecial()?u=je:"/"==a[l+1]?(u=Re,l++):(c.cannotBeABaseURL=!0,B(c.path,""),u=Be)}break;case ke:if(!r||r.cannotBeABaseURL&&"#"!=s)return Y;if(r.cannotBeABaseURL&&"#"==s){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Ie;break}u="file"==r.scheme?Ne:Oe;continue;case _e:if("/"!=s||"/"!=a[l+1]){u=Oe;continue}u=Se,l++;break;case Re:if("/"==s){u=Pe;break}u=Le;continue;case Oe: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=g(r.path),c.query=r.query;else if("/"==s||"\\"==s&&c.isSpecial())u=Ce;else if("?"==s)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",u=qe;else{if("#"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,u=Le;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",u=Ie}break;case Ce:if(!c.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Le;continue}u=Pe}else u=Se;break;case je:if(u=Se,"/"!=s||"/"!=N(f,l+1))continue;l++;break;case Se:if("/"!=s&&"\\"!=s){u=Pe;continue}break;case Pe:if("@"==s){p&&(f="%40"+f),p=!0,o=h(f);for(var b=0;b<o.length;b++){var x=o[b];if(":"!=x||v){var y=me(x,de);v?c.password+=y:c.username+=y}else v=!0}f=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(p&&""==f)return J;l-=h(f).length+1,f="",u=Ae}else f+=s;break;case Ae:case Ee: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 W;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 W;if(i=c.parseHost(f),i)return i;if(f="",u=De,t==Ee)return}break;case De:if(!T(K,s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()||t){if(""!=f){var k=A(f,10);if(k>65535)return G;c.port=c.isSpecial()&&k===he[c.scheme]?null:k,f=""}if(t)return;u=Ue;continue}return G}f+=s;break;case Ne:if(c.scheme="file","/"==s||"\\"==s)u=Te;else{if(!r||"file"!=r.scheme){u=Le;continue}if(s==n)c.host=r.host,c.path=g(r.path),c.query=r.query;else if("?"==s)c.host=r.host,c.path=g(r.path),c.query="",u=qe;else{if("#"!=s){ve(M(g(a,l),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),u=Le;continue}c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",u=Ie}}break;case Te:if("/"==s||"\\"==s){u=Me;break}r&&"file"==r.scheme&&!ve(M(g(a,l),""))&&(ge(r.path[0],!0)?B(c.path,r.path[0]):c.host=r.host),u=Le;continue;case Me:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!t&&ge(f))u=Le;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=Le,"/"!=s&&"\\"!=s)continue}else if(t||"?"!=s)if(t||"#"!=s){if(s!=n&&(u=Le,"/"!=s))continue}else c.fragment="",u=Ie;else c.query="",u=qe;break;case Le:if(s==n||"/"==s||"\\"==s&&c.isSpecial()||!t&&("?"==s||"#"==s)){if(we(f)?(c.shortenPath(),"/"==s||"\\"==s&&c.isSpecial()||B(c.path,"")):be(f)?"/"==s||"\\"==s&&c.isSpecial()||B(c.path,""):("file"==c.scheme&&!c.path.length&&ge(f)&&(c.host&&(c.host=""),f=N(f,0)+":"),B(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=qe):"#"==s&&(c.fragment="",u=Ie)}else f+=me(s,pe);break;case Be:"?"==s?(c.query="",u=qe):"#"==s?(c.fragment="",u=Ie):s!=n&&(c.path[0]+=me(s,le));break;case qe:t||"#"!=s?s!=n&&("'"==s&&c.isSpecial()?c.query+="%27":c.query+="#"==s?"%23":me(s,le)):(c.fragment="",u=Ie);break;case Ie:s!=n&&(c.fragment+=me(s,fe));break}l++}},parseHost:function(e){var t,r,n;if("["==N(e,0)){if("]"!=N(e,e.length-1))return W;if(t=ie(H(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=b(e),T(re,e))return W;if(t=oe(e),null===t)return W;this.host=t}else{if(T(ne,e))return W;for(t="",r=h(e),n=0;n<r.length;n++)t+=me(r[n],le);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(he,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+=ue(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 P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new He(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ue(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",xe)},getUsername:function(){return this.username},setUsername:function(e){var t=h(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=me(t[r],de)}},getPassword:function(){return this.password},setPassword:function(e){var t=h(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=me(t[r],de)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ue(e):ue(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":ue(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ee)},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,De))},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:("?"==N(e,0)&&(e=H(e,1)),this.query="",this.parse(e,qe)),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?("#"==N(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,Ie)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var He=function(e){var t=p(this,Fe),r=y(arguments.length,1)>1?arguments[1]:void 0,n=R(t,new ze(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=He.prototype,$e=function(e,t){return{get:function(){return O(this)[e]()},set:t&&function(e){return O(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&l(Fe,{href:$e("serialize","setHref"),origin:$e("getOrigin"),protocol:$e("getProtocol","setProtocol"),username:$e("getUsername","setUsername"),password:$e("getPassword","setPassword"),host:$e("getHost","setHost"),hostname:$e("getHostname","setHostname"),port:$e("getPort","setPort"),pathname:$e("getPathname","setPathname"),search:$e("getSearch","setSearch"),searchParams:$e("getSearchParams"),hash:$e("getHash","setHash")}),f(Fe,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),f(Fe,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),S){var Je=S.createObjectURL,Ye=S.revokeObjectURL;Je&&f(He,"createObjectURL",c(Je,S)),Ye&&f(He,"revokeObjectURL",c(Ye,S))}x(He,"URL"),a({global:!0,forced:!o,sham:!s},{URL:He})},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("22b1"),o=(r("833b"),r("351c"),r("0e78"),r("6bd8"),r("60d8")),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"])(),h=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)}}(),g=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["e"])("/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,g();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:h}}}),p=f,d=(r("864e"),r("bdd7")),m=Object(d["a"])(p,n,a,!1,null,"327540ba",null);t["default"]=m.exports},fccd:function(e,t,r){"use strict";var n=r("a417");e.exports=function(e,t,r,a,s){var o=new Error(e);return n(o,t,r,a,s)}}}]);
2
2
  //# sourceMappingURL=SolidifyAdministrationProgramAdministration.js.map