@genpact/genome.mfe.solidify-app 1.17.2-alpha.30 → 1.17.2-alpha.33
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/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/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/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.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/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyLearner.js +3 -3
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/app.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationharvestReport"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"0a02":function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-f8f85b62]{position:fixed;top:30%;left:42%}.tableScroll[data-v-f8f85b62]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},"112f":function(e,t,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function s(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var a=r[o],s=t[a];if(s){var i=e[a],c=void 0===i||s(i,a,e);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:s,validators:o}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,n){e.exports=n("46c8")},"26fa":function(e,t,n){"use strict";var r=n("1dba"),o=n.n(r);function a({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var s=({$http:e})=>{a({$http:e}),e.interceptors.request.use(t=>(a({$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(n){console.warn(n)}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 u="";u="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+u),o.a.defaults.baseURL=u,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:o.a});t["a"]=o.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,s){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(o)&&i.push("path="+o),r.isString(a)&&i.push("domain="+a),!0===s&&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(){}}}()},"34db":function(e,t,n){"use strict";n("db16")},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("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,n){if(!t)return e;var a;if(n)a=n(t);else if(r.isURLSearchParams(t))a=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),a=s.join("&")}if(a){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),s=n("76b7"),i=n("cc3a");function c(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n.create=function(t){return c(s(e,t))},n}var u=c(i);u.Axios=a,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=n("c279"),u.isAxiosError=n("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,n){"use strict";var r=n("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,n,a,s={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),o=n("cc3a");e.exports=function(e,t,n){var a=this||o;return r.forEach(n,(function(n){e=n.call(a,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"639e":function(e,t,n){"use strict";var r=n("6136"),o=n("1501");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),o=n("3884"),a=n("5df9"),s=n("93f9"),i=n("76b7"),c=n("112f"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new a,response:new a}}l.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(t);while(f.length)a=a.then(f.shift(),f.shift());return a}var d=t;while(r.length){var p=r.shift(),h=r.shift();try{d=p(d)}catch(g){h(g);break}}try{a=s(d)}catch(g){return Promise.reject(g)}while(l.length)a=a.then(l.shift(),l.shift());return a},l.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(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:s,method:s,data:s,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 r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("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 n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"82ac":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,n){"use strict";n.d(t,"y",(function(){return o})),n.d(t,"t",(function(){return a})),n.d(t,"u",(function(){return s})),n.d(t,"e",(function(){return i})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return f})),n.d(t,"f",(function(){return d})),n.d(t,"v",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return m})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return j})),n.d(t,"C",(function(){return S})),n.d(t,"w",(function(){return C})),n.d(t,"n",(function(){return O})),n.d(t,"i",(function(){return k})),n.d(t,"g",(function(){return E})),n.d(t,"a",(function(){return _})),n.d(t,"B",(function(){return A})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return R}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{const t=await r["a"].get(e);return t},S=async e=>{const t=await r["a"].get(e);return t},C=async e=>{const t=await r["a"].get(e);return t},O=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},E=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},_=async e=>{const t=await r["a"].post("/user/role",e);return t},A=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},P=async()=>{const e=await r["a"].get("role");return e},T=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},R=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function i(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function u(e){return"[object FormData]"===o.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(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 m(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function b(e){return p(e)&&y(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 j(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function C(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=C(e[n],t):h(t)?e[n]=C({},t):a(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],t);return e}function O(e,t,n){return S(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function k(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:a,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:s,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:j,forEach:S,merge:C,extend:O,trim:x,stripBOM:k}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),s=n("cc3a"),i=n("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=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.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 a(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,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}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},b833:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(n){return t("option",{key:n.skill_id,domProps:{value:n.skill_id}},[e._v(e._s(n.skill_alias))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(n){return t("option",{key:n.prof_id,domProps:{value:n.prof_id}},[e._v(e._s(n.prof_name))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Threshold Value ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.threshold,expression:"threshold"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",pattern:"^[0-9]*$"},domProps:{value:e.threshold},on:{input:function(t){t.target.composing||(e.threshold=t.target.value)}}}),e.numErrMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.numErrMessage))]):e._e()]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.triggerReport()}}},[e._v("Submit")])])]),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Harvest Report")])])}],a=n("d1ce"),s=n("8596"),i=n("d292"),c=Object(a["b"])({name:"AssignProxy",setup(){const e=Object(a["f"])(),t=Object(a["f"])(),n=Object(a["f"])(),r=Object(a["f"])(),o=Object(a["f"])(),c=Object(a["f"])(),u=Object(a["f"])(),l=Object(a["f"])(),f=Object(a["f"])(),d=Object(a["f"])(),p=Object(a["f"])(!0),h=async()=>{if(n.value=!1,void 0===r.value)u.value="Select Skill",setTimeout(()=>{u.value=null},6e3);else if(/^[0-9]+$/.test(f.value)){const e={skill_id:r.value,proficiency_id:o.value,threshold:f.value};await Object(i["b"])("/admin/report/harvestLJ",e),l.value="The harvesting report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{l.value=null},6e3)}else d.value="Enter only Number",setTimeout(()=>{d.value=null},6e3);n.value=!0},g=async()=>{n.value=!1;const r=await Object(i["d"])("/getAllSkillProf ");e.value=r.skill,t.value=r.proficiency,n.value=!0},m=async e=>{r.value=e.target.value},v=async e=>{o.value=e.target.value,"Select Proficiency"===o.value&&(o.value="")};return Object(a["c"])(async()=>{const e=await Object(s["g"])("/getUserRole");c.value=e.user_roles,c.value.length>0&&(console.log("inside length"),c.value.includes("System Admin")||c.value.includes("Proxy Admin")||c.value.includes("Community Manager")?(p.value=!0,g()):p.value=!1)}),{skills:e,proficiency:t,renderReady:n,getSelectedSkill:m,getSelectedProficiency:v,getSkillandProf:g,showScreen:p,triggerReport:h,errorMessage:u,successMessage:l,threshold:f,numErrMessage:d}}}),u=c,l=(n("34db"),n("bce8")),f=Object(l["a"])(u,r,o,!1,null,"f8f85b62",null);t["default"]=f.exports},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s=a>=0?arguments[a]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===a(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(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,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),a=r(n.split("/")),s=Math.min(o.length,a.length),i=s,c=0;c<s;c++)if(o[c]!==a[c]){i=c;break}var u=[];for(c=i;c<o.length;c++)u.push("..");return u=u.concat(a.slice(i)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,a=e.length-1;a>=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var i=e.charCodeAt(s);if(47!==i)-1===r&&(o=!1,r=s+1),46===i?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),o=n("386e"),a=n("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.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=n("e50c")),e}function u(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw a(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(s)})),e.exports=l}).call(this,n("0418"))},d292:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},a=async(e,t)=>{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t}},db16:function(e,t,n){var r=n("0a02");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("c69b").default;o("98377182",r,!0,{sourceMap:!1,shadowMode:!1})},e50c:function(e,t,n){"use strict";var r=n("8a5d"),o=n("aa01"),a=n("2998"),s=n("3884"),i=n("639e"),c=n("4af6"),u=n("7f31"),l=n("fccd"),f=n("cc3a"),d=n("82ac");e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,g=e.headers,m=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+w)}var x=i(e.baseURL,e.url);function j(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,a=m&&"text"!==m&&"json"!==m?y.response:y.responseText,s={data:a,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),s),y=null}}if(y.open(e.method.toUpperCase(),s(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=j:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(j)},y.onabort=function(){y&&(n(l("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var S=(e.withCredentials||u(x))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(g[e.xsrfHeaderName]=S)}"setRequestHeader"in y&&r.forEach(g,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,o,a){var s=new Error(e);return r(s,t,n,o,a)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationharvestReport"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function s(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var a=r[o],s=t[a];if(s){var i=e[a],c=void 0===i||s(i,a,e);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:s,validators:o}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,n){e.exports=n("46c8")},"26fa":function(e,t,n){"use strict";var r=n("1dba"),o=n.n(r);function a({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var s=({$http:e})=>{a({$http:e}),e.interceptors.request.use(t=>(a({$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(n){console.warn(n)}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 u="";u="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+u),o.a.defaults.baseURL=u,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:o.a});t["a"]=o.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,s){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(o)&&i.push("path="+o),r.isString(a)&&i.push("domain="+a),!0===s&&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(){}}}()},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("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,n){if(!t)return e;var a;if(n)a=n(t);else if(r.isURLSearchParams(t))a=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),a=s.join("&")}if(a){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},4191:function(e,t,n){"use strict";n("7832")},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),s=n("76b7"),i=n("cc3a");function c(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n.create=function(t){return c(s(e,t))},n}var u=c(i);u.Axios=a,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=n("c279"),u.isAxiosError=n("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,n){"use strict";var r=n("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,n,a,s={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),o=n("cc3a");e.exports=function(e,t,n){var a=this||o;return r.forEach(n,(function(n){e=n.call(a,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"639e":function(e,t,n){"use strict";var r=n("6136"),o=n("1501");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),o=n("3884"),a=n("5df9"),s=n("93f9"),i=n("76b7"),c=n("112f"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new a,response:new a}}l.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(t);while(f.length)a=a.then(f.shift(),f.shift());return a}var d=t;while(r.length){var p=r.shift(),h=r.shift();try{d=p(d)}catch(g){h(g);break}}try{a=s(d)}catch(g){return Promise.reject(g)}while(l.length)a=a.then(l.shift(),l.shift());return a},l.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(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:s,method:s,data:s,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 r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},7832:function(e,t,n){var r=n("be33");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("c69b").default;o("7d0d8436",r,!0,{sourceMap:!1,shadowMode:!1})},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("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 n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"82ac":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,n){"use strict";n.d(t,"y",(function(){return o})),n.d(t,"t",(function(){return a})),n.d(t,"u",(function(){return s})),n.d(t,"e",(function(){return i})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return f})),n.d(t,"f",(function(){return d})),n.d(t,"v",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return m})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return j})),n.d(t,"C",(function(){return S})),n.d(t,"w",(function(){return k})),n.d(t,"n",(function(){return C})),n.d(t,"i",(function(){return O})),n.d(t,"g",(function(){return _})),n.d(t,"a",(function(){return E})),n.d(t,"B",(function(){return A})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return R}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{const t=await r["a"].get(e);return t},S=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},C=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},O=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},E=async e=>{const t=await r["a"].post("/user/role",e);return t},A=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},P=async()=>{const e=await r["a"].get("role");return e},T=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},R=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function i(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function u(e){return"[object FormData]"===o.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(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 m(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function y(e){return"[object Function]"===o.call(e)}function b(e){return p(e)&&y(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 j(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function k(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=k(e[n],t):h(t)?e[n]=k({},t):a(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],t);return e}function C(e,t,n){return S(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function O(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:a,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:s,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:j,forEach:S,merge:k,extend:C,trim:x,stripBOM:O}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),s=n("cc3a"),i=n("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=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.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 a(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,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}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},b833:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(n){return t("option",{key:n.skill_id,domProps:{value:n.skill_id}},[e._v(e._s(n.skill_alias))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(n){return t("option",{key:n.prof_id,domProps:{value:n.prof_id}},[e._v(e._s(n.prof_name))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Threshold Value ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.threshold,expression:"threshold"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",pattern:"^[0-9]*$"},domProps:{value:e.threshold},on:{input:function(t){t.target.composing||(e.threshold=t.target.value)}}}),e.numErrMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.numErrMessage))]):e._e()]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.triggerReport()}}},[e._v("Submit")])])]),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Harvest Report")])])}],a=n("d1ce"),s=n("8596"),i=n("d292"),c=Object(a["b"])({name:"AssignProxy",setup(){const e=Object(a["f"])(),t=Object(a["f"])(),n=Object(a["f"])(),r=Object(a["f"])(),o=Object(a["f"])(),c=Object(a["f"])(),u=Object(a["f"])(),l=Object(a["f"])(),f=Object(a["f"])(),d=Object(a["f"])(),p=Object(a["f"])(!0),h=async()=>{if(n.value=!1,void 0===r.value)u.value="Select Skill",setTimeout(()=>{u.value=null},6e3);else if(/^[0-9]+$/.test(f.value)){const e={skill_id:r.value,proficiency_id:o.value,threshold:f.value};await Object(i["b"])("/admin/report/harvestLJ",e),l.value="The harvesting report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{l.value=null},6e3)}else d.value="Enter only Number",setTimeout(()=>{d.value=null},6e3);n.value=!0},g=async()=>{n.value=!1;const r=await Object(i["d"])("/getAllSkillProf?skill_type=all");e.value=r.skill,t.value=r.proficiency,n.value=!0},m=async e=>{r.value=e.target.value},v=async e=>{o.value=e.target.value,"Select Proficiency"===o.value&&(o.value="")};return Object(a["c"])(async()=>{const e=await Object(s["g"])("/getUserRole");c.value=e.user_roles,c.value.length>0&&(console.log("inside length"),c.value.includes("System Admin")||c.value.includes("Proxy Admin")||c.value.includes("Community Manager")?(p.value=!0,g()):p.value=!1)}),{skills:e,proficiency:t,renderReady:n,getSelectedSkill:m,getSelectedProficiency:v,getSkillandProf:g,showScreen:p,triggerReport:h,errorMessage:u,successMessage:l,threshold:f,numErrMessage:d}}}),u=c,l=(n("4191"),n("bce8")),f=Object(l["a"])(u,r,o,!1,null,"b8fef338",null);t["default"]=f.exports},be33:function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-b8fef338]{position:fixed;top:30%;left:42%}.tableScroll[data-v-b8fef338]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s=a>=0?arguments[a]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===a(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(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,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),a=r(n.split("/")),s=Math.min(o.length,a.length),i=s,c=0;c<s;c++)if(o[c]!==a[c]){i=c;break}var u=[];for(c=i;c<o.length;c++)u.push("..");return u=u.concat(a.slice(i)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,a=e.length-1;a>=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var i=e.charCodeAt(s);if(47!==i)-1===r&&(o=!1,r=s+1),46===i?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),o=n("386e"),a=n("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.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=n("e50c")),e}function u(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw a(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(s)})),e.exports=l}).call(this,n("0418"))},d292:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},a=async(e,t)=>{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t}},e50c:function(e,t,n){"use strict";var r=n("8a5d"),o=n("aa01"),a=n("2998"),s=n("3884"),i=n("639e"),c=n("4af6"),u=n("7f31"),l=n("fccd"),f=n("cc3a"),d=n("82ac");e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,g=e.headers,m=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+w)}var x=i(e.baseURL,e.url);function j(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,a=m&&"text"!==m&&"json"!==m?y.response:y.responseText,s={data:a,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),s),y=null}}if(y.open(e.method.toUpperCase(),s(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=j:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(j)},y.onabort=function(){y&&(n(l("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var S=(e.withCredentials||u(x))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(g[e.xsrfHeaderName]=S)}"setRequestHeader"in y&&r.forEach(g,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,o,a){var s=new Error(e);return r(s,t,n,o,a)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationharvestReport.js.map
|