@genpact/genome.mfe.solidify-app 1.17.2-alpha.8 → 1.17.2-alpha.81
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.
- package/dist/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +2 -0
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -0
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +4 -4
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +3 -3
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +64 -64
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-7ac43392.js +2 -0
- package/dist/js/chunk-7ac43392.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-b735b002.js +0 -2
- package/dist/js/chunk-b735b002.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationCreateOffCyele"],{"0323":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"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={}},"112f":function(e,t,r){"use strict";var n=r("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var s={};function a(e,t,r){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),o=n.length;while(o-- >0){var s=n[o],a=t[s];if(a){var i=e[s],c=void 0===i||a(i,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+s)}}o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!s[n]&&(s[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:a,validators:o}},"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 o,s,a,i,c;for(a in t)if(o=e[a],s=t[a],o&&r.test(a))if("class"===a&&("string"===typeof o&&(c=o,e[a]=o={},o[c]=!0),"string"===typeof s&&(c=s,t[a]=s={},s[c]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(i in s)o[i]=n(o[i],s[i]);else if(Array.isArray(o))e[a]=o.concat(s);else if(Array.isArray(s))e[a]=[o].concat(s);else for(i in s)o[i]=s[i];else e[a]=t[a];return e}),{})}},"122c":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},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}},"1dba":function(e,t,r){e.exports=r("46c8")},2390:function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r("a884")}})])])])])])},o=[],s=r("4949"),a=Object(s["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(s["f"])(""),r=Object(s["f"])(localStorage.getItem("helpmateLink"));return Object(s["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),i=a,c=r("169b"),l=Object(c["a"])(i,n,o,!1,null,null,null);t["a"]=l.exports},"26fa":function(e,t,r){"use strict";r("8244");var n=r("1dba"),o=r.n(n);function s({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var a=({$http:e})=>{s({$http:e}),e.interceptors.request.use(t=>(s({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let l="";l="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+l),o.a.defaults.baseURL=l,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",a({$http:o.a});t["a"]=o.a},2998:function(e,t,r){"use strict";var n=r("8a5d");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,r,o,s,a){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(o)&&i.push("path="+o),n.isString(s)&&i.push("domain="+s),!0===a&&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(){}}}()},"325f":function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,'.ul-nav ul[data-v-164b4999]{display:flex;width:100%}.ul-nav ul li.active[data-v-164b4999]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-164b4999]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-164b4999]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-164b4999]{padding-left:20px!important}.box-overflow1[data-v-164b4999]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-164b4999]{overflow-x:scroll}.box-overflow1[data-v-164b4999]{max-height:none;overflow-y:auto}.ul-nav li[data-v-164b4999]:first-child,.ul-nav li[data-v-164b4999]:nth-child(2){display:none}}',""]),e.exports=t},"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 o(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 a=[];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)),a.push(o(t)+"="+o(e))})))})),s=a.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"),o=r("1464"),s=r("6c7d"),a=r("76b7"),i=r("cc3a");function c(e){var t=new s(e),r=o(s.prototype.request,t);return n.extend(r,s.prototype,t),n.extend(r,t),r.create=function(t){return c(a(e,t))},r}var l=c(i);l.Axios=s,l.Cancel=r("82ac"),l.CancelToken=r("823a"),l.isCancel=r("0323"),l.VERSION=r("7de8").version,l.all=function(e){return Promise.all(e)},l.spread=r("c279"),l.isAxiosError=r("122c"),e.exports=l,e.exports.default=l},"4af6":function(e,t,r){"use strict";var n=r("8a5d"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,s,a={};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(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},5696:function(e,t,r){var n=r("325f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("c69b").default;o("50471e06",n,!0,{sourceMap:!1,shadowMode:!1})},"5cd4":function(e,t,r){"use strict";var n=r("8a5d"),o=r("cc3a");e.exports=function(e,t,r){var s=this||o;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 o(){this.handlers=[]}o.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},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},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"),o=r("1501");e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},"675e":function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"e",(function(){return s})),r.d(t,"d",(function(){return c}));var n=r("26fa");const o=async(e,t)=>{const r=await n["a"].post(e,t);return r},s=async(e,t)=>{let r;const n=await fetch(""+e,{method:"put",body:t});return r=n,r},a=async e=>{const t=await n["a"].get("/task/"+e);return t},i=async(e,t)=>{const r=await n["a"].post(e,{learner_task_id:t});return r},c=async(e,t)=>{const r=await n["a"].post(e,t);return r}},"6c7d":function(e,t,r){"use strict";var n=r("8a5d"),o=r("3884"),s=r("5df9"),a=r("93f9"),i=r("76b7"),c=r("112f"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(u),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(),h=n.shift();try{p=d(p)}catch(g){h(g);break}}try{s=a(p)}catch(g){return Promise.reject(g)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(i(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(i(n||{},{method:e,url:t,data:r}))}})),e.exports=u},"76b7":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){t=t||{};var r={};function o(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:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function c(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var l={url:a,method:a,data:a,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=l[e]||s,o=t(e);n.isUndefined(o)&&t!==c||(r[e]=o)})),r}},"7dd2":function(e,t,r){"use strict";r("5696")},"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 o(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=o(window.location.href),function(t){var r=n.isString(t)?o(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 o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var 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))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"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},"8a5d":function(e,t,r){"use strict";var n=r("1464"),o=Object.prototype.toString;function s(e){return Array.isArray(e)}function a(e){return"undefined"===typeof e}function i(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"[object FormData]"===o.call(e)}function u(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 h(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function g(e){return"[object Date]"===o.call(e)}function v(e){return"[object File]"===o.call(e)}function m(e){return"[object Blob]"===o.call(e)}function b(e){return"[object Function]"===o.call(e)}function y(e){return d(e)&&b(e.pipe)}function w(e){return"[object URLSearchParams]"===o.call(e)}function x(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 A(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 o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function S(){var e={};function t(t,r){h(e[r])&&h(t)?e[r]=S(e[r],t):h(t)?e[r]=S({},t):s(t)?e[r]=t.slice():e[r]=t}for(var r=0,n=arguments.length;r<n;r++)A(arguments[r],t);return e}function C(e,t,r){return A(t,(function(t,o){e[o]=r&&"function"===typeof t?n(t,r):t})),e}function j(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:c,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:f,isNumber:p,isObject:d,isPlainObject:h,isUndefined:a,isDate:g,isFile:v,isBlob:m,isFunction:b,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:k,forEach:A,merge:S,extend:C,trim:x,stripBOM:j}},"93f9":function(e,t,r){"use strict";var n=r("8a5d"),o=r("5cd4"),s=r("0323"),a=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=o.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||a.adapter;return t(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"949b":function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return l})),r.d(t,"f",(function(){return u}));var n=r("11ce"),o=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",o()([{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"}})])}},a={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",o()([{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",o()([{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",o()([{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"}})])}},l={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",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},u={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var 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",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a417:function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,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}},a884:function(e,t){e.exports="data:image/png;base64,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"},aa01:function(e,t,r){"use strict";var n=r("fccd");e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},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 o=e[n];"."===o?e.splice(n,1):".."===o?(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,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}function o(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 a=s>=0?arguments[s]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(o(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===s(e,-1);return e=r(o(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(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(o(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 o=n(e.split("/")),s=n(r.split("/")),a=Math.min(o.length,s.length),i=a,c=0;c<a;c++)if(o[c]!==s[c]){i=c;break}var l=[];for(c=i;c<o.length;c++)l.push("..");return l=l.concat(s.slice(i)),l.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,o=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!o){n=s;break}}else o=!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,o=!0,s=0,a=e.length-1;a>=0;--a){var i=e.charCodeAt(a);if(47!==i)-1===n&&(o=!1,n=a+1),46===i?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=a+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"),o=r("386e"),s=r("a417"),a={"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 l(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(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"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(a){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){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(a)})),e.exports=u}).call(this,r("0418"))},e50c:function(e,t,r){"use strict";var n=r("8a5d"),o=r("aa01"),s=r("2998"),a=r("3884"),i=r("639e"),c=r("4af6"),l=r("7f31"),u=r("fccd"),f=r("cc3a"),p=r("82ac");e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,g=e.headers,v=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var x=i(e.baseURL,e.url);function k(){if(b){var n="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,s=v&&"text"!==v&&"json"!==v?b.response:b.responseText,a={data:s,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};o((function(e){t(e),m()}),(function(e){r(e),m()}),a),b=null}}if(b.open(e.method.toUpperCase(),a(x,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(u("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){r(u("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(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},n.isStandardBrowserEnv()){var A=(e.withCredentials||l(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;A&&(g[e.xsrfHeaderName]=A)}"setRequestHeader"in b&&n.forEach(g,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){b&&(r(!e||e&&e.type?new p("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),b.send(h)}))}},f568:function(e,t,r){"use strict";r.r(t);var n,o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 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",attrs:{to:{name:"SolidifyAdministrationTaskManagement"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],a=r("4949"),i=r("949b"),c=r("1dba"),l=r.n(c),u=new Uint8Array(16);function f(){if(!n&&(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(u)}var p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function d(e){return"string"===typeof e&&p.test(e)}for(var h=d,g=[],v=0;v<256;++v)g.push((v+256).toString(16).substr(1));function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase();if(!h(r))throw TypeError("Stringified UUID is invalid");return r}var b,y,w=m,x=0,k=0;function A(e,t,r){var n=t&&r||0,o=t||new Array(16);e=e||{};var s=e.node||b,a=void 0!==e.clockseq?e.clockseq:y;if(null==s||null==a){var i=e.random||(e.rng||f)();null==s&&(s=b=[1|i[0],i[1],i[2],i[3],i[4],i[5]]),null==a&&(a=y=16383&(i[6]<<8|i[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:k+1,u=c-x+(l-k)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||c>x)&&void 0===e.nsecs&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");x=c,k=l,y=a,c+=122192928e5;var p=(1e4*(268435455&c)+l)%4294967296;o[n++]=p>>>24&255,o[n++]=p>>>16&255,o[n++]=p>>>8&255,o[n++]=255&p;var d=c/4294967296*1e4&268435455;o[n++]=d>>>8&255,o[n++]=255&d,o[n++]=d>>>24&15|16,o[n++]=d>>>16&255,o[n++]=a>>>8|128,o[n++]=255&a;for(var h=0;h<6;++h)o[n+h]=s[h];return t||w(o)}var S=A;function C(e){if(!h(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var j=C;function O(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}var I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",E="6ba7b811-9dad-11d1-80b4-00c04fd430c8",N=function(e,t,r){function n(e,n,o,s){if("string"===typeof e&&(e=O(e)),"string"===typeof n&&(n=j(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(n),a.set(e,n.length),a=r(a),a[6]=15&a[6]|t,a[8]=63&a[8]|128,o){s=s||0;for(var i=0;i<16;++i)o[s+i]=a[i];return o}return w(a)}try{n.name=e}catch(o){}return n.DNS=I,n.URL=E,n};function U(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return R(T(z(e),8*e.length))}function R(e){for(var t=[],r=32*e.length,n="0123456789abcdef",o=0;o<r;o+=8){var s=e[o>>5]>>>o%32&255,a=parseInt(n.charAt(s>>>4&15)+n.charAt(15&s),16);t.push(a)}return t}function _(e){return 14+(e+64>>>9<<4)+1}function T(e,t){e[t>>5]|=128<<t%32,e[_(t)-1]=t;for(var r=1732584193,n=-271733879,o=-1732584194,s=271733878,a=0;a<e.length;a+=16){var i=r,c=n,l=o,u=s;r=B(r,n,o,s,e[a],7,-680876936),s=B(s,r,n,o,e[a+1],12,-389564586),o=B(o,s,r,n,e[a+2],17,606105819),n=B(n,o,s,r,e[a+3],22,-1044525330),r=B(r,n,o,s,e[a+4],7,-176418897),s=B(s,r,n,o,e[a+5],12,1200080426),o=B(o,s,r,n,e[a+6],17,-1473231341),n=B(n,o,s,r,e[a+7],22,-45705983),r=B(r,n,o,s,e[a+8],7,1770035416),s=B(s,r,n,o,e[a+9],12,-1958414417),o=B(o,s,r,n,e[a+10],17,-42063),n=B(n,o,s,r,e[a+11],22,-1990404162),r=B(r,n,o,s,e[a+12],7,1804603682),s=B(s,r,n,o,e[a+13],12,-40341101),o=B(o,s,r,n,e[a+14],17,-1502002290),n=B(n,o,s,r,e[a+15],22,1236535329),r=J(r,n,o,s,e[a+1],5,-165796510),s=J(s,r,n,o,e[a+6],9,-1069501632),o=J(o,s,r,n,e[a+11],14,643717713),n=J(n,o,s,r,e[a],20,-373897302),r=J(r,n,o,s,e[a+5],5,-701558691),s=J(s,r,n,o,e[a+10],9,38016083),o=J(o,s,r,n,e[a+15],14,-660478335),n=J(n,o,s,r,e[a+4],20,-405537848),r=J(r,n,o,s,e[a+9],5,568446438),s=J(s,r,n,o,e[a+14],9,-1019803690),o=J(o,s,r,n,e[a+3],14,-187363961),n=J(n,o,s,r,e[a+8],20,1163531501),r=J(r,n,o,s,e[a+13],5,-1444681467),s=J(s,r,n,o,e[a+2],9,-51403784),o=J(o,s,r,n,e[a+7],14,1735328473),n=J(n,o,s,r,e[a+12],20,-1926607734),r=D(r,n,o,s,e[a+5],4,-378558),s=D(s,r,n,o,e[a+8],11,-2022574463),o=D(o,s,r,n,e[a+11],16,1839030562),n=D(n,o,s,r,e[a+14],23,-35309556),r=D(r,n,o,s,e[a+1],4,-1530992060),s=D(s,r,n,o,e[a+4],11,1272893353),o=D(o,s,r,n,e[a+7],16,-155497632),n=D(n,o,s,r,e[a+10],23,-1094730640),r=D(r,n,o,s,e[a+13],4,681279174),s=D(s,r,n,o,e[a],11,-358537222),o=D(o,s,r,n,e[a+3],16,-722521979),n=D(n,o,s,r,e[a+6],23,76029189),r=D(r,n,o,s,e[a+9],4,-640364487),s=D(s,r,n,o,e[a+12],11,-421815835),o=D(o,s,r,n,e[a+15],16,530742520),n=D(n,o,s,r,e[a+2],23,-995338651),r=q(r,n,o,s,e[a],6,-198630844),s=q(s,r,n,o,e[a+7],10,1126891415),o=q(o,s,r,n,e[a+14],15,-1416354905),n=q(n,o,s,r,e[a+5],21,-57434055),r=q(r,n,o,s,e[a+12],6,1700485571),s=q(s,r,n,o,e[a+3],10,-1894986606),o=q(o,s,r,n,e[a+10],15,-1051523),n=q(n,o,s,r,e[a+1],21,-2054922799),r=q(r,n,o,s,e[a+8],6,1873313359),s=q(s,r,n,o,e[a+15],10,-30611744),o=q(o,s,r,n,e[a+6],15,-1560198380),n=q(n,o,s,r,e[a+13],21,1309151649),r=q(r,n,o,s,e[a+4],6,-145523070),s=q(s,r,n,o,e[a+11],10,-1120210379),o=q(o,s,r,n,e[a+2],15,718787259),n=q(n,o,s,r,e[a+9],21,-343485551),r=L(r,i),n=L(n,c),o=L(o,l),s=L(s,u)}return[r,n,o,s]}function z(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(_(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}function L(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r}function M(e,t){return e<<t|e>>>32-t}function P(e,t,r,n,o,s){return L(M(L(L(t,e),L(n,s)),o),r)}function B(e,t,r,n,o,s,a){return P(t&r|~t&n,e,t,o,s,a)}function J(e,t,r,n,o,s,a){return P(t&n|r&~n,e,t,o,s,a)}function D(e,t,r,n,o,s,a){return P(t^r^n,e,t,o,s,a)}function q(e,t,r,n,o,s,a){return P(r^(t|~n),e,t,o,s,a)}var G=U,V=N("v3",48,G),W=V;function F(e,t,r){e=e||{};var n=e.random||(e.rng||f)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return w(n)}var X=F;function H(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function Z(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var o=0;o<n.length;++o)e.push(n.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var s=e.length/4+2,a=Math.ceil(s/16),i=new Array(a),c=0;c<a;++c){for(var l=new Uint32Array(16),u=0;u<16;++u)l[u]=e[64*c+4*u]<<24|e[64*c+4*u+1]<<16|e[64*c+4*u+2]<<8|e[64*c+4*u+3];i[c]=l}i[a-1][14]=8*(e.length-1)/Math.pow(2,32),i[a-1][14]=Math.floor(i[a-1][14]),i[a-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<a;++f){for(var p=new Uint32Array(80),d=0;d<16;++d)p[d]=i[f][d];for(var h=16;h<80;++h)p[h]=Z(p[h-3]^p[h-8]^p[h-14]^p[h-16],1);for(var g=r[0],v=r[1],m=r[2],b=r[3],y=r[4],w=0;w<80;++w){var x=Math.floor(w/20),k=Z(g,5)+H(x,v,m,b)+y+t[x]+p[w]>>>0;y=b,b=m,m=Z(v,30)>>>0,v=g,g=k}r[0]=r[0]+g>>>0,r[1]=r[1]+v>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+b>>>0,r[4]=r[4]+y>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=Y,Q=N("v5",80,K),$=Q,ee={v1:S,v3:W,v4:X,v5:$};var te=r("afbc"),re=r("675e"),ne=r("26fa");const oe=async(e,t)=>{const r=await ne["a"].post(e,t);return r};var se=r("2390"),ae=Object(a["b"])({name:"LearnerSubmitTask",components:{XIcon:i["f"],ErrorMessage:se["a"]},setup(){const e=Object(a["f"])(localStorage.getItem("linkedTaskId")),t=Object(a["f"])(ee.v1()),r=Object(a["f"])(localStorage.getItem("programId")),n=Object(a["f"])(localStorage.getItem("programName")),o=Object(a["f"])(localStorage.getItem("skillId")),s=Object(a["f"])(localStorage.getItem("proficiencyId")),i=Object(a["f"])(localStorage.getItem("skillName")),c=Object(a["f"])(localStorage.getItem("proficiencyName")),u=Object(a["f"])(localStorage.getItem("taskName")),f=Object(a["f"])(localStorage.getItem("taskType")),p=Object(a["f"])(null),d=Object(a["f"])(),h=Object(a["f"])(),g=Object(a["f"])(),v=Object(a["f"])(!0),m=Object(a["f"])(),b=Object(a["f"])(0),y=Object(a["f"])(!1),w=Object(a["f"])(),x=Object(a["f"])(!1),k=Object(a["f"])(),A=Object(a["f"])(!1),S=async()=>{b.value+=1,console.log("before "+h.value),h.value=null,console.log("after "+h.value)},C=e=>{const t=e.target.checked;!0===t?(v.value=!1,console.log(v.value)):(v.value=!0,console.log(v.value))},j=async e=>{try{p.value=e.target.files[0],h.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(d.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),y.value=!0,l.a.isAxiosError(r)){var t;const e=r;w.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else w.value="Something went wrong, please contact helpmate.";A.value=!0}},O=async()=>{try{if(y.value=!1,h.value){let n;if("Desktop"===f.value){const a={linked_program_name:r.value,learner_task_id:t.value,skill:o.value,proficiency:s.value,linked_task_id:e.value,learner_submission:h.value},i=await Object(re["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:h.value,learner_task_id:t.value}),c=i.data;g.value=c.preSignedUrl;const l=await Object(re["e"])(g.value,p.value);200===l.status?n=await oe("/offcycle/create",a):(y.value=!0,w.value="There is issue in the file upload, please contact with helpmate.",A.value=!0)}else{const a={linked_program_name:r.value,learner_task_id:t.value,skill:o.value,proficiency:s.value,linked_task_id:e.value,learner_submission_text:h.value};n=await oe("/offcycle/create",a)}200===n.status?(y.value=!0,k.value=n.data.message,x.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),te["a"].push("taskManagement")):(y.value=!0,w.value="There is some issue while submitting learner submission, please contact with helpmate.",A.value=!0)}else"Mobile"===f.value?(y.value=!0,h.value||(d.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{d.value=null},6e3))):"Desktop"===f.value&&(y.value=!0,console.log("learnerSubmission.value "+h.value),h.value||(d.value="please select File",setTimeout(()=>{d.value=null},6e3)))}catch(a){if(y.value=!0,console.log("error "+a),l.a.isAxiosError(a)){var n;const e=a;w.value=null===(n=e.response)||void 0===n?void 0:n.data.message}else w.value="There is some issue while submitting learner submission, please contact with helpmate.";A.value=!0}};return Object(a["c"])(async()=>{y.value=!0}),{learnerSubmissionFile:p,skillId:o,proficiencyId:s,programId:r,taskType:f,taskName:u,submitSubmiision:O,learnerSubmission:h,selectedFile:j,fileValidationMsg:d,learnerTaskId:t,preSignedUrl:g,buttonDisable:v,setButtonEnable:C,validationError:m,clearFile:S,fileInputKey:b,renderReady:y,errorResponse:w,showErrorMessage:A,programName:n,skill:i,profName:c,showSuccessMessage:x,resMessage:k}}}),ie=ae,ce=(r("7dd2"),r("169b")),le=Object(ce["a"])(ie,o,s,!1,null,"164b4999",null);t["default"]=le.exports},fccd:function(e,t,r){"use strict";var n=r("a417");e.exports=function(e,t,r,o,s){var a=new Error(e);return n(a,t,r,o,s)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationCreateOffCyele"],{"05ff":function(e,t){var r=Math.ceil,a=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}},"085a":function(e,t,r){var a=r("214f"),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},"107e":function(e,t,r){var a=r("644c"),n=r("3426"),o=r("5e2f"),i=r("5151");e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(a(r)&&o(r,c,s),s.global)l?e[t]=r:i(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},1185:function(e,t,r){var a=r("085a"),n=r("644c"),o=r("91f1"),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&n(r=e.toString)&&!o(s=a(r,e)))return s;if(n(r=e.valueOf)&&!o(s=a(r,e)))return s;if("string"!==t&&n(r=e.toString)&&!o(s=a(r,e)))return s;throw i("Can't convert object to primitive value")}},"11ce":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function a(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 n,o,i,s,l;for(i in t)if(n=e[i],o=t[i],n&&r.test(i))if("class"===i&&("string"===typeof n&&(l=n,e[i]=n={},n[l]=!0),"string"===typeof o&&(l=o,t[i]=o={},o[l]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(s in o)n[s]=a(n[s],o[s]);else if(Array.isArray(n))e[i]=n.concat(o);else if(Array.isArray(o))e[i]=[n].concat(o);else for(s in o)n[s]=o[s];else e[i]=t[i];return e}),{})}},"163d":function(e,t,r){var a=r("9908"),n=r("b662"),o=n.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,o)}},"1d28":function(e,t,r){var a=r("2253");e.exports=Array.isArray||function(e){return"Array"==a(e)}},"1edb":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-39cc4cfa]{display:flex;width:100%}.ul-nav ul li.active[data-v-39cc4cfa]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-39cc4cfa]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-39cc4cfa]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-39cc4cfa]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-39cc4cfa]{padding-left:20px!important}.box-overflow1[data-v-39cc4cfa]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-39cc4cfa]{overflow-x:scroll}.box-overflow1[data-v-39cc4cfa]{max-height:none;overflow-y:auto}.ul-nav li[data-v-39cc4cfa]:first-child,.ul-nav li[data-v-39cc4cfa]:nth-child(2){display:none}}',""]),e.exports=t},"214f":function(e,t,r){var a=r("ab3a");e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2253:function(e,t,r){var a=r("ab64"),n=a({}.toString),o=a("".slice);e.exports=function(e){return o(n(e),8,-1)}},"22e2":function(e,t,r){"use strict";var a={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!a.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:a},2390:function(e,t,r){"use strict";var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r("a884")}})])])])])])},n=[],o=r("6bcf"),i=Object(o["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(o["f"])(""),r=Object(o["f"])(localStorage.getItem("helpmateLink"));return Object(o["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),s=i,l=r("8619"),c=Object(l["a"])(s,a,n,!1,null,null,null);t["a"]=c.exports},"2ae2":function(e,t,r){var a,n,o=r("d168"),i=r("47d5"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(a=u.split("."),n=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(n=+a[1]))),e.exports=n},"316b":function(e,t,r){var a=r("d168"),n=r("644c"),o=a.WeakMap;e.exports=n(o)&&/native code/.test(String(o))},"32b3":function(e,t,r){"use strict";r("7b6e")},3426:function(e,t,r){var a=r("a15f"),n=r("cca5"),o=r("b58f"),i=r("b172"),s=r("61ca"),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=a?o?function(e,t,r){if(i(e),t=s(t),i(r),"function"===typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var a=u(e,t);a&&a[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:a[d],enumerable:f in r?r[f]:a[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(i(e),t=s(t),i(r),n)try{return c(e,t,r)}catch(a){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"3a3a":function(e,t,r){var a=r("05ff");e.exports=function(e){var t=+e;return t!==t||0===t?0:a(t)}},"3dd5":function(e,t,r){var a=r("085a"),n=r("91f1"),o=r("dfad"),i=r("fee9"),s=r("1185"),l=r("9168"),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!n(e)||o(e))return e;var r,l=i(e,u);if(l){if(void 0===t&&(t="default"),r=a(l,e,t),!n(r)||o(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4104:function(e,t,r){var a=r("a15f"),n=r("abf7"),o=Function.prototype,i=a&&Object.getOwnPropertyDescriptor,s=n(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!a||a&&i(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},"424a":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-d79b6af4]{display:flex;width:100%}.ul-nav ul li.active[data-v-d79b6af4]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-d79b6af4]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-d79b6af4]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-d79b6af4]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-d79b6af4]{padding-left:20px!important}.box-overflow1[data-v-d79b6af4]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-d79b6af4]{overflow-x:scroll}.box-overflow1[data-v-d79b6af4]{max-height:none;overflow-y:auto}.ul-nav li[data-v-d79b6af4]:first-child,.ul-nav li[data-v-d79b6af4]:nth-child(2){display:none}}',""]),e.exports=t},4455:function(e,t,r){var a=r("cf4a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("3b1f9f94",a,!0,{sourceMap:!1,shadowMode:!1})},"47d5":function(e,t,r){var a=r("a8db");e.exports=a("navigator","userAgent")||""},4945:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"e",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{let r;return await a["b"].post(e,t).then(e=>(r=e.data,r)),r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r},i=async(e,t)=>{const r=await a["b"].post(e,t);return r},s=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t}},"4e6a":function(e,t,r){var a=r("5a25"),n=r("a83c");(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(e,t,r){var a=r("d168"),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},5900:function(e,t){e.exports=function(e){return null===e||void 0===e}},"5a25":function(e,t){e.exports=!1},"5c2c":function(e,t,r){var a=r("a15f"),n=r("085a"),o=r("22e2"),i=r("e6a8"),s=r("8041"),l=r("61ca"),c=r("abf7"),u=r("cca5"),f=Object.getOwnPropertyDescriptor;t.f=a?f:function(e,t){if(e=s(e),t=l(t),u)try{return f(e,t)}catch(r){}if(c(e,t))return i(!n(o.f,e,t),e[t])}},"5e2f":function(e,t,r){var a=r("ab3a"),n=r("644c"),o=r("abf7"),i=r("a15f"),s=r("4104").CONFIGURABLE,l=r("7cbd"),c=r("7cfe"),u=c.enforce,f=c.get,d=Object.defineProperty,p=i&&!a((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(n){}var a=u(e);return o(a,"source")||(a.source=v.join("string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return n(this)&&f(this).source||l(this)}),"toString")},"61ca":function(e,t,r){var a=r("3dd5"),n=r("dfad");e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},6369:function(e,t,r){var a=r("af95"),n=Object;e.exports=function(e){return n(a(e))}},"644c":function(e,t,r){var a=r("ee76"),n=a.all;e.exports=a.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"670d":function(e,t){var r=TypeError,a=9007199254740991;e.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}},"675e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{let r;const a=await fetch(""+e,{method:"put",body:t});return r=a,r},i=async e=>{const t=await a["b"].get("/task/"+e);return t},s=async(e,t)=>{const r=await a["b"].post(e,{learner_task_id:t});return r},l=async(e,t)=>{const r=await a["b"].post(e,t);return r}},6839:function(e,t,r){var a=r("ab3a"),n=r("644c"),o=/#|\.prototype\./,i=function(e,t){var r=l[s(e)];return r==u||r!=c&&(n(t)?a(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"6a00":function(e,t,r){var a=r("d168"),n=r("5c2c").f,o=r("8e8e"),i=r("107e"),s=r("5151"),l=r("8d70"),c=r("6839");e.exports=function(e,t){var r,u,f,d,p,v,b=e.target,g=e.global,m=e.stat;if(u=g?a:m?a[b]||s(b,{}):(a[b]||{}).prototype,u)for(f in t){if(p=t[f],e.dontCallGetSet?(v=n(u,f),d=v&&v.value):d=u[f],r=c(g?f:b+(m?".":"#")+f,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(u,f,p,e)}}},7188:function(e,t,r){var a=r("ab64"),n=r("ab3a"),o=r("2253"),i=Object,s=a("".split);e.exports=n((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):i(e)}:i},7430:function(e,t,r){"use strict";r("4455")},"7b6e":function(e,t,r){var a=r("1edb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("64323ca2",a,!0,{sourceMap:!1,shadowMode:!1})},"7cbd":function(e,t,r){var a=r("ab64"),n=r("644c"),o=r("a83c"),i=a(Function.toString);n(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},"7cc3":function(e,t,r){"use strict";var a=r("a15f"),n=r("1d28"),o=TypeError,i=Object.getOwnPropertyDescriptor,s=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(n(e)&&!i(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"7cfe":function(e,t,r){var a,n,o,i=r("316b"),s=r("d168"),l=r("91f1"),c=r("8e8e"),u=r("abf7"),f=r("a83c"),d=r("dbfe"),p=r("ea1a"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,m=function(e){return o(e)?n(e):a(e,{})},h=function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};if(i||f.state){var x=f.state||(f.state=new g);x.get=x.get,x.has=x.has,x.set=x.set,a=function(e,t){if(x.has(e))throw b(v);return t.facade=e,x.set(e,t),t},n=function(e){return x.get(e)||{}},o=function(e){return x.has(e)}}else{var y=d("state");p[y]=!0,a=function(e,t){if(u(e,y))throw b(v);return t.facade=e,c(e,y,t),t},n=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:a,get:n,has:o,enforce:m,getterFor:h}},"7f15":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r}},"803b":function(e,t,r){var a=r("ab64"),n=0,o=Math.random(),i=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++n+o,36)}},8041:function(e,t,r){var a=r("7188"),n=r("af95");e.exports=function(e){return a(n(e))}},8391:function(e,t,r){var a=r("f189");e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"88db":function(e,t,r){var a=r("d168"),n=r("91f1"),o=a.document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"8d70":function(e,t,r){var a=r("abf7"),n=r("a40d"),o=r("5c2c"),i=r("3426");e.exports=function(e,t,r){for(var s=n(t),l=i.f,c=o.f,u=0;u<s.length;u++){var f=s[u];a(e,f)||r&&a(r,f)||l(e,f,c(t,f))}}},"8e8e":function(e,t,r){var a=r("a15f"),n=r("3426"),o=r("e6a8");e.exports=a?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9168:function(e,t,r){var a=r("d168"),n=r("4e6a"),o=r("abf7"),i=r("803b"),s=r("f189"),l=r("8391"),c=n("wks"),u=a.Symbol,f=u&&u["for"],d=l?u:u&&u.withoutSetter||i;e.exports=function(e){if(!o(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&o(u,e)?c[e]=u[e]:c[e]=l&&f?f(t):d(t)}return c[e]}},"91f1":function(e,t,r){var a=r("644c"),n=r("ee76"),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:a(e)||e===o}:function(e){return"object"==typeof e?null!==e:a(e)}},9265:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 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",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UploadSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("32b3"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"39cc4cfa",null);t["default"]=v.exports},"949b":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return f}));var a=r("11ce"),n=r.n(a),o={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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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"}})])}},i={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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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"}})])}},s={name:"DownloadIcon",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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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-download"},t.data]),[e("path",{attrs:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}}),e("polyline",{attrs:{points:"7 10 12 15 17 10"}}),e("line",{attrs:{x1:"12",y1:"15",x2:"12",y2:"3"}})])}},l={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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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"}})])}},f={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",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{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"}})])}}},"981b":function(e,t){t.f=Object.getOwnPropertySymbols},9908:function(e,t,r){var a=r("ab64"),n=r("abf7"),o=r("8041"),i=r("fbfb").indexOf,s=r("ea1a"),l=a([].push);e.exports=function(e,t){var r,a=o(e),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&l(u,r);while(t.length>c)n(a,r=t[c++])&&(~i(u,r)||l(u,r));return u}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a15f:function(e,t,r){var a=r("ab3a");e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(e,t,r){var a=r("a8db"),n=r("ab64"),o=r("163d"),i=r("981b"),s=r("b172"),l=n([].concat);e.exports=a("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=i.f;return r?l(t,r(e)):t}},a83c:function(e,t,r){var a=r("d168"),n=r("5151"),o="__core-js_shared__",i=a[o]||n(o,{});e.exports=i},a884:function(e,t){e.exports="data:image/png;base64,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"},a8db:function(e,t,r){var a=r("d168"),n=r("644c"),o=function(e){return n(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(a[e]):a[e]&&a[e][t]}},ab3a:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},ab64:function(e,t,r){var a=r("214f"),n=Function.prototype,o=n.call,i=a&&n.bind.bind(o,o);e.exports=a?i:function(e){return function(){return o.apply(e,arguments)}}},abf7:function(e,t,r){var a=r("ab64"),n=r("6369"),o=a({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(n(e),t)}},adb9:function(e,t,r){"use strict";r("bb77")},af95:function(e,t,r){var a=r("5900"),n=TypeError;e.exports=function(e){if(a(e))throw n("Can't call method on "+e);return e}},b172:function(e,t,r){var a=r("91f1"),n=String,o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not an object")}},b58f:function(e,t,r){var a=r("a15f"),n=r("ab3a");e.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},bb77:function(e,t,r){var a=r("424a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("92f5202e",a,!0,{sourceMap:!1,shadowMode:!1})},cca5:function(e,t,r){var a=r("a15f"),n=r("ab3a"),o=r("88db");e.exports=!a&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},cd20:function(e,t,r){var a=r("644c"),n=r("bb5c"),o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not a function")}},cf4a:function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-188276e1]{display:flex;width:100%}.ul-nav ul li.active[data-v-188276e1]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-188276e1]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-188276e1]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-188276e1]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-188276e1]{padding-left:20px!important}.box-overflow1[data-v-188276e1]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-188276e1]{overflow-x:scroll}.box-overflow1[data-v-188276e1]{max-height:none;overflow-y:auto}.ul-nav li[data-v-188276e1]:first-child,.ul-nav li[data-v-188276e1]:nth-child(2){display:none}}',""]),e.exports=t},d168:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("d8fc"))},d1bf:function(e,t,r){var a=r("ab64");e.exports=a({}.isPrototypeOf)},d514:function(e,t,r){var a=r("3a3a"),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},dbeb:function(e,t,r){var a=r("d514");e.exports=function(e){return a(e.length)}},dbfe:function(e,t,r){var a=r("4e6a"),n=r("803b"),o=a("keys");e.exports=function(e){return o[e]||(o[e]=n(e))}},dfad:function(e,t,r){var a=r("a8db"),n=r("644c"),o=r("d1bf"),i=r("8391"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&o(t.prototype,s(e))}},e6a8:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},ea1a:function(e,t){e.exports={}},ec53:function(e,t,r){"use strict";var a=r("6a00"),n=r("6369"),o=r("dbeb"),i=r("7cc3"),s=r("670d"),l=r("ab3a"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:c||u},{push:function(e){var t=n(this),r=o(t),a=arguments.length;s(r+a);for(var l=0;l<a;l++)t[r]=arguments[l],r++;return i(t,r),r}})},edfa:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 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",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UpdateSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("7430"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"188276e1",null);t["default"]=v.exports},ee76:function(e,t){var r="object"==typeof document&&document.all,a="undefined"==typeof r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:a}},f189:function(e,t,r){var a=r("2ae2"),n=r("ab3a");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},f568:function(e,t,r){"use strict";r.r(t);var a,n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 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",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 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",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],i=(r("ec53"),r("6bcf")),s=r("949b"),l=r("1dba"),c=r.n(l),u=new Uint8Array(16);function f(){if(!a&&(a="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!a))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(u)}var d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function p(e){return"string"===typeof e&&d.test(e)}for(var v=p,b=[],g=0;g<256;++g)b.push((g+256).toString(16).substr(1));function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(b[e[t+0]]+b[e[t+1]]+b[e[t+2]]+b[e[t+3]]+"-"+b[e[t+4]]+b[e[t+5]]+"-"+b[e[t+6]]+b[e[t+7]]+"-"+b[e[t+8]]+b[e[t+9]]+"-"+b[e[t+10]]+b[e[t+11]]+b[e[t+12]]+b[e[t+13]]+b[e[t+14]]+b[e[t+15]]).toLowerCase();if(!v(r))throw TypeError("Stringified UUID is invalid");return r}var h,x,y=m,w=0,k=0;function S(e,t,r){var a=t&&r||0,n=t||new Array(16);e=e||{};var o=e.node||h,i=void 0!==e.clockseq?e.clockseq:x;if(null==o||null==i){var s=e.random||(e.rng||f)();null==o&&(o=h=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==i&&(i=x=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:k+1,u=l-w+(c-k)/1e4;if(u<0&&void 0===e.clockseq&&(i=i+1&16383),(u<0||l>w)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=l,k=c,x=i,l+=122192928e5;var d=(1e4*(268435455&l)+c)%4294967296;n[a++]=d>>>24&255,n[a++]=d>>>16&255,n[a++]=d>>>8&255,n[a++]=255&d;var p=l/4294967296*1e4&268435455;n[a++]=p>>>8&255,n[a++]=255&p,n[a++]=p>>>24&15|16,n[a++]=p>>>16&255,n[a++]=i>>>8|128,n[a++]=255&i;for(var v=0;v<6;++v)n[a+v]=o[v];return t||y(n)}var _=S;function j(e){if(!v(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var O=j;function C(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}var A="6ba7b810-9dad-11d1-80b4-00c04fd430c8",I="6ba7b811-9dad-11d1-80b4-00c04fd430c8",M=function(e,t,r){function a(e,a,n,o){if("string"===typeof e&&(e=C(e)),"string"===typeof a&&(a=O(a)),16!==a.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(a),i.set(e,a.length),i=r(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,n){o=o||0;for(var s=0;s<16;++s)n[o+s]=i[s];return n}return y(i)}try{a.name=e}catch(n){}return a.DNS=A,a.URL=I,a};function T(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return z(U(N(e),8*e.length))}function z(e){for(var t=[],r=32*e.length,a="0123456789abcdef",n=0;n<r;n+=8){var o=e[n>>5]>>>n%32&255,i=parseInt(a.charAt(o>>>4&15)+a.charAt(15&o),16);t.push(i)}return t}function E(e){return 14+(e+64>>>9<<4)+1}function U(e,t){e[t>>5]|=128<<t%32,e[E(t)-1]=t;for(var r=1732584193,a=-271733879,n=-1732584194,o=271733878,i=0;i<e.length;i+=16){var s=r,l=a,c=n,u=o;r=D(r,a,n,o,e[i],7,-680876936),o=D(o,r,a,n,e[i+1],12,-389564586),n=D(n,o,r,a,e[i+2],17,606105819),a=D(a,n,o,r,e[i+3],22,-1044525330),r=D(r,a,n,o,e[i+4],7,-176418897),o=D(o,r,a,n,e[i+5],12,1200080426),n=D(n,o,r,a,e[i+6],17,-1473231341),a=D(a,n,o,r,e[i+7],22,-45705983),r=D(r,a,n,o,e[i+8],7,1770035416),o=D(o,r,a,n,e[i+9],12,-1958414417),n=D(n,o,r,a,e[i+10],17,-42063),a=D(a,n,o,r,e[i+11],22,-1990404162),r=D(r,a,n,o,e[i+12],7,1804603682),o=D(o,r,a,n,e[i+13],12,-40341101),n=D(n,o,r,a,e[i+14],17,-1502002290),a=D(a,n,o,r,e[i+15],22,1236535329),r=F(r,a,n,o,e[i+1],5,-165796510),o=F(o,r,a,n,e[i+6],9,-1069501632),n=F(n,o,r,a,e[i+11],14,643717713),a=F(a,n,o,r,e[i],20,-373897302),r=F(r,a,n,o,e[i+5],5,-701558691),o=F(o,r,a,n,e[i+10],9,38016083),n=F(n,o,r,a,e[i+15],14,-660478335),a=F(a,n,o,r,e[i+4],20,-405537848),r=F(r,a,n,o,e[i+9],5,568446438),o=F(o,r,a,n,e[i+14],9,-1019803690),n=F(n,o,r,a,e[i+3],14,-187363961),a=F(a,n,o,r,e[i+8],20,1163531501),r=F(r,a,n,o,e[i+13],5,-1444681467),o=F(o,r,a,n,e[i+2],9,-51403784),n=F(n,o,r,a,e[i+7],14,1735328473),a=F(a,n,o,r,e[i+12],20,-1926607734),r=B(r,a,n,o,e[i+5],4,-378558),o=B(o,r,a,n,e[i+8],11,-2022574463),n=B(n,o,r,a,e[i+11],16,1839030562),a=B(a,n,o,r,e[i+14],23,-35309556),r=B(r,a,n,o,e[i+1],4,-1530992060),o=B(o,r,a,n,e[i+4],11,1272893353),n=B(n,o,r,a,e[i+7],16,-155497632),a=B(a,n,o,r,e[i+10],23,-1094730640),r=B(r,a,n,o,e[i+13],4,681279174),o=B(o,r,a,n,e[i],11,-358537222),n=B(n,o,r,a,e[i+3],16,-722521979),a=B(a,n,o,r,e[i+6],23,76029189),r=B(r,a,n,o,e[i+9],4,-640364487),o=B(o,r,a,n,e[i+12],11,-421815835),n=B(n,o,r,a,e[i+15],16,530742520),a=B(a,n,o,r,e[i+2],23,-995338651),r=G(r,a,n,o,e[i],6,-198630844),o=G(o,r,a,n,e[i+7],10,1126891415),n=G(n,o,r,a,e[i+14],15,-1416354905),a=G(a,n,o,r,e[i+5],21,-57434055),r=G(r,a,n,o,e[i+12],6,1700485571),o=G(o,r,a,n,e[i+3],10,-1894986606),n=G(n,o,r,a,e[i+10],15,-1051523),a=G(a,n,o,r,e[i+1],21,-2054922799),r=G(r,a,n,o,e[i+8],6,1873313359),o=G(o,r,a,n,e[i+15],10,-30611744),n=G(n,o,r,a,e[i+6],15,-1560198380),a=G(a,n,o,r,e[i+13],21,1309151649),r=G(r,a,n,o,e[i+4],6,-145523070),o=G(o,r,a,n,e[i+11],10,-1120210379),n=G(n,o,r,a,e[i+2],15,718787259),a=G(a,n,o,r,e[i+9],21,-343485551),r=L(r,s),a=L(a,l),n=L(n,c),o=L(o,u)}return[r,a,n,o]}function N(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(E(t)),a=0;a<t;a+=8)r[a>>5]|=(255&e[a/8])<<a%32;return r}function L(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r}function R(e,t){return e<<t|e>>>32-t}function P(e,t,r,a,n,o){return L(R(L(L(t,e),L(a,o)),n),r)}function D(e,t,r,a,n,o,i){return P(t&r|~t&a,e,t,n,o,i)}function F(e,t,r,a,n,o,i){return P(t&a|r&~a,e,t,n,o,i)}function B(e,t,r,a,n,o,i){return P(t^r^a,e,t,n,o,i)}function G(e,t,r,a,n,o,i){return P(r^(t|~a),e,t,n,o,i)}var V=T,J=M("v3",48,V),W=J;function q(e,t,r){e=e||{};var a=e.random||(e.rng||f)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){r=r||0;for(var n=0;n<16;++n)t[r+n]=a[n];return t}return y(a)}var X=q;function Z(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:return t^r^a;case 2:return t&r^t&a^r&a;case 3:return t^r^a}}function H(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var n=0;n<a.length;++n)e.push(a.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,i=Math.ceil(o/16),s=new Array(i),l=0;l<i;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<i;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=s[f][p];for(var v=16;v<80;++v)d[v]=H(d[v-3]^d[v-8]^d[v-14]^d[v-16],1);for(var b=r[0],g=r[1],m=r[2],h=r[3],x=r[4],y=0;y<80;++y){var w=Math.floor(y/20),k=H(b,5)+Z(w,g,m,h)+x+t[w]+d[y]>>>0;x=h,h=m,m=H(g,30)>>>0,g=b,b=k}r[0]=r[0]+b>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+h>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=Y,Q=M("v5",80,K),$=Q,ee={v1:_,v3:W,v4:X,v5:$};var te=r("afbc"),re=r("675e"),ae=r("7f15"),ne=r("2390"),oe=Object(i["b"])({name:"LearnerSubmitTask",components:{XIcon:s["g"],ErrorMessage:ne["a"]},setup(){const e=Object(i["f"])(localStorage.getItem("linkedTaskId")),t=Object(i["f"])(ee.v1()),r=Object(i["f"])(localStorage.getItem("programId")),a=Object(i["f"])(localStorage.getItem("programName")),n=Object(i["f"])(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",n);const o=Object(i["f"])(localStorage.getItem("proficiencyId")),s=Object(i["f"])(localStorage.getItem("skillName")),l=Object(i["f"])(localStorage.getItem("proficiencyName")),u=Object(i["f"])(localStorage.getItem("taskName")),f=Object(i["f"])(localStorage.getItem("taskType")),d=Object(i["f"])(null),p=Object(i["f"])(),v=Object(i["f"])(),b=Object(i["f"])(),g=Object(i["f"])(!0),m=Object(i["f"])(),h=Object(i["f"])(0),x=Object(i["f"])(!1),y=Object(i["f"])(),w=Object(i["f"])(!1),k=Object(i["f"])(),S=Object(i["f"])(!1),_=async()=>{h.value+=1,console.log("before "+v.value),v.value=null,console.log("after "+v.value)},j=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},O=async e=>{try{d.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(p.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),x.value=!0,c.a.isAxiosError(r)){var t;const e=r;y.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else y.value="Something went wrong, please contact helpmate.";S.value=!0}},C=async()=>{try{if(x.value=!1,v.value){let a;if("Desktop"===f.value){const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission:v.value},s=await Object(re["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),l=s.data;b.value=l.preSignedUrl;const c=await Object(re["e"])(b.value,d.value);200===c.status?a=await Object(ae["a"])("/offcycle/create",i):(x.value=!0,y.value="There is issue in the file upload, please contact with helpmate.",S.value=!0)}else{const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission_text:v.value};a=await Object(ae["a"])("/offcycle/create",i)}200===a.status?(x.value=!0,k.value=a.data.message,w.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),null!==n.value&&null!==o.value?te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value,skill_id:n.value,proficiency_id:o.value}}):te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value}})):(x.value=!0,y.value="There is some issue while submitting learner submission, please contact with helpmate.",S.value=!0)}else"Mobile"===f.value?(x.value=!0,v.value||(p.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{p.value=null},6e3))):"Desktop"===f.value&&(x.value=!0,console.log("learnerSubmission.value "+v.value),v.value||(p.value="please select File",setTimeout(()=>{p.value=null},6e3)))}catch(i){if(x.value=!0,console.log("error "+i),c.a.isAxiosError(i)){var a;const e=i;y.value=null===(a=e.response)||void 0===a?void 0:a.data.message}else y.value="There is some issue while submitting learner submission, please contact with helpmate.";S.value=!0}};return Object(i["c"])(async()=>{x.value=!0}),{learnerSubmissionFile:d,skillId:n,proficiencyId:o,programId:r,taskType:f,taskName:u,submitSubmiision:C,learnerSubmission:v,selectedFile:O,fileValidationMsg:p,learnerTaskId:t,preSignedUrl:b,buttonDisable:g,setButtonEnable:j,validationError:m,clearFile:_,fileInputKey:h,renderReady:x,errorResponse:y,showErrorMessage:S,programName:a,skill:s,profName:l,showSuccessMessage:w,resMessage:k}}}),ie=oe,se=(r("adb9"),r("8619")),le=Object(se["a"])(ie,n,o,!1,null,"d79b6af4",null);t["default"]=le.exports},f889:function(e,t,r){var a=r("3a3a"),n=Math.max,o=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):o(r,t)}},fbfb:function(e,t,r){var a=r("8041"),n=r("f889"),o=r("dbeb"),i=function(e){return function(t,r,i){var s,l=a(t),c=o(l),u=n(i,c);if(e&&r!=r){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},fee9:function(e,t,r){var a=r("cd20"),n=r("5900");e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationCreateOffCyele.js.map
|