@genpact/genome.mfe.solidify-app 1.17.2-alpha.8 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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 +3 -3
- 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 +2 -2
- 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 +69 -69
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-016f4714.js +2 -0
- package/dist/js/chunk-016f4714.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([["SolidifyAdministrationManageProxy"],{"0323":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("cad9")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"0953":function(t,e,n){var r=n("c680");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("c69b").default;o("1d1754c8",r,!0,{sourceMap:!1,shadowMode:!1})},"112f":function(t,e,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={};function s(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),o=r.length;while(o-- >0){var a=r[o],s=e[a];if(s){var i=t[a],c=void 0===i||s(i,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(t,e,n){function o(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:s,validators:o}},"122c":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},1501:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"1dba":function(t,e,n){t.exports=n("46c8")},"26fa":function(t,e,n){"use strict";n("8244");var r=n("1dba"),o=n.n(r);function a({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var s=({$http:t})=>{a({$http:t}),t.interceptors.request.use(e=>(a({$http:t}),e),t=>Promise.reject(t)),t.interceptors.response.use(t=>t,t=>{if(console.log("inside interceptor"),console.warn(t.message,{...t}),!t||!t.response||!t.response.config)return Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status "+t.response.status),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,{...e}),console.warn(JSON.stringify({...e}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(t)})};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});e["a"]=o.a},2998:function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,a,s){var i=[];i.push(t+"="+encodeURIComponent(e)),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(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"386e":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3884:function(t,e,n){"use strict";var r=n("8a5d");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),a=s.join("&")}if(a){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},"46c8":function(t,e,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),s=n("76b7"),i=n("cc3a");function c(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n.create=function(e){return c(s(t,e))},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(t){return Promise.all(t)},u.spread=n("c279"),u.isAxiosError=n("122c"),t.exports=u,t.exports.default=u},"4af6":function(t,e,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"];t.exports=function(t){var e,n,a,s={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},"5cd4":function(t,e,n){"use strict";var r=n("8a5d"),o=n("cc3a");t.exports=function(t,e,n){var a=this||o;return r.forEach(n,(function(n){t=n.call(a,t,e)})),t}},"5df9":function(t,e,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},6136:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6235:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return i}));var r=n("26fa");const o=async(t,e)=>{const n=await r["a"].post(t,e);return n},a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async(t,e)=>{let n;return await r["a"].get(`${t}/${e}`).then(t=>(n=t.data.allProxyList,n)),n},i=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.allProxyList,n)),n}},"639e":function(t,e,n){"use strict";var r=n("6136"),o=n("1501");t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},"6c7d":function(t,e,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(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=i(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.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(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(e);while(f.length)a=a.then(f.shift(),f.shift());return a}var d=e;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(t){if(!t.url)throw new Error("Provided config url is not valid");return t=i(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(i(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(i(r||{},{method:t,url:e,data:n}))}})),t.exports=l},"6e1a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"m-auto shadow p-5 text-background-secondary mb-4"},[e("div",{staticClass:"flex w-2/5 mt-6"},[e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Search By Skill ")]),e("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(e){return t.getSelectedSkill(e)}}},[e("option",[t._v("Select Skill")]),t._l(t.skillData,(function(n){return e("option",{key:n.skill_id,domProps:{value:n.skill_id}},[t._v(t._s(n.skill_alias))])}))],2)])]),t.proxyData?e("table",{staticClass:"w-full text-md bg-white rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800"},t._l(t.proxyData,(function(n){return e("tr",{key:n.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_name))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_ohr))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_email))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(t.skillName))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_role))])])})),0)]):t._e()])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")]),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},o=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Manage Proxy")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("OHR")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Email")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Skill Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Role")])])])}],a=(n("8244"),n("4949")),s=n("6235"),i=n("8596"),c=Object(a["b"])({name:"ManageProxy",setup(){const t=Object(a["f"])(),e=Object(a["f"])(!0),n=Object(a["f"])(),r=Object(a["f"])(),o=Object(a["f"])(),c=Object(a["f"])(),u=Object(a["f"])(!0),l=async o=>{e.value=!1,r.value=o.target.value,t.value=await Object(s["b"])("/getAllProxyBySkill",r.value);const a=n.value.filter(t=>{const e=t.skill_id;return!!e&&e===r.value});c.value=a[0].skill_alias,console.log(a[0].skill_alias),console.log(t.value),e.value=!0},f=async()=>{const t=await Object(s["d"])("/getAllSkillProf");n.value=t.skill};return Object(a["c"])(async()=>{const t=await Object(i["g"])("/getUserRole");o.value=t.user_roles,o.value.length>0&&(console.log("inside length"),o.value.includes("System Admin")||o.value.includes("Proxy Admin")||o.value.includes("Community Manager")?u.value=!0:u.value=!1),f()}),{proxyData:t,renderReady:e,skillData:n,getSelectedSkill:l,showScreen:u,skillName:c}}}),u=c,l=(n("a5b9"),n("169b")),f=Object(l["a"])(u,r,o,!1,null,"0918c645",null);e["default"]=f.exports},"76b7":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function a(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[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(t).concat(Object.keys(e)),(function(t){var e=u[t]||a,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(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 t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"823a":function(t,e,n){"use strict";var r=n("82ac");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"82ac":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"u",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"x",(function(){return c})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"v",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return g})),n.d(e,"q",(function(){return m})),n.d(e,"o",(function(){return v})),n.d(e,"p",(function(){return y})),n.d(e,"m",(function(){return b})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"A",(function(){return _})),n.d(e,"C",(function(){return C})),n.d(e,"w",(function(){return j})),n.d(e,"n",(function(){return k})),n.d(e,"i",(function(){return S})),n.d(e,"g",(function(){return O})),n.d(e,"a",(function(){return E})),n.d(e,"B",(function(){return A})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return N})),n.d(e,"c",(function(){return R}));var r=n("26fa");const o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},v=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},b=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},_=async t=>{const e=await r["a"].get(t);return e},C=async t=>{const e=await r["a"].get(t);return e},j=async t=>{const e=await r["a"].get(t);return e},k=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},O=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},E=async t=>{const e=await r["a"].post("/user/role",t);return e},A=async t=>{const e=await r["a"].post("/user/removeRole",t);return e},P=async()=>{const t=await r["a"].get("role");return t},N=async t=>{const e=await r["a"].post("/user/saveLSS",t);return e},R=async t=>{const e=await r["a"].post("/user/saveEnvAccess",t);return e}},"8a5d":function(t,e,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function i(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"[object FormData]"===o.call(t)}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===o.call(t)}function m(t){return"[object File]"===o.call(t)}function v(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function b(t){return p(t)&&y(t.pipe)}function w(t){return"[object URLSearchParams]"===o.call(t)}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function j(){var t={};function e(e,n){h(t[n])&&h(e)?t[n]=j(t[n],e):h(e)?t[n]=j({},e):a(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)C(arguments[n],e);return t}function k(t,e,n){return C(e,(function(e,o){t[o]=n&&"function"===typeof e?r(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.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:_,forEach:C,merge:j,extend:k,trim:x,stripBOM:S}},"93f9":function(t,e,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),s=n("cc3a"),i=n("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new i("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a417:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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}},t}},a5b9:function(t,e,n){"use strict";n("0953")},aa01:function(t,e,n){"use strict";var r=n("fccd");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},c279:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},c680:function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-0918c645]{position:fixed;top:30%;left:42%}",""]),t.exports=e},cad9:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s=a>=0?arguments[a]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),s="/"===a(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.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("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),47===e){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(47!==i)-1===r&&(o=!1,r=s+1),46===i?-1===e?e=s:1!==a&&(a=1):-1!==e&&(a=-1);else if(!o){n=s+1;break}}return-1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)};var a="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("0418"))},cc3a:function(t,e,n){"use strict";(function(e){var r=n("8a5d"),o=n("386e"),a=n("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("e50c")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(i(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(s){if("SyntaxError"===i.name)throw a(i,this,"E_JSON_PARSE");throw i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(s)})),t.exports=l}).call(this,n("0418"))},e50c:function(t,e,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");t.exports=function(t){return new Promise((function(e,n){var p,h=t.data,g=t.headers,m=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+w)}var x=i(t.baseURL,t.url);function _(){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:t,request:y};o((function(t){e(t),v()}),(function(t){n(t),v()}),s),y=null}}if(y.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var C=(t.withCredentials||u(x))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;C&&(g[t.xsrfHeaderName]=C)}"setRequestHeader"in y&&r.forEach(g,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),m&&"json"!==m&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(n(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},fccd:function(t,e,n){"use strict";var r=n("a417");t.exports=function(t,e,n,o,a){var s=new Error(t);return r(s,e,n,o,a)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationManageProxy"],{"0323":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("cad9")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"0694":function(t,e,n){var r=n("7ffb");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("c69b").default;o("5b85407c",r,!0,{sourceMap:!1,shadowMode:!1})},"112f":function(t,e,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={};function s(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),o=r.length;while(o-- >0){var a=r[o],s=e[a];if(s){var i=t[a],c=void 0===i||s(i,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(t,e,n){function o(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:s,validators:o}},"122c":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},1501:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"1dba":function(t,e,n){t.exports=n("46c8")},"26fa":function(t,e,n){"use strict";n("0480");var r=n("1dba"),o=n.n(r);function a({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var s=({$http:t})=>{a({$http:t}),t.interceptors.request.use(e=>(a({$http:t}),e),t=>Promise.reject(t)),t.interceptors.response.use(t=>t,t=>{if(console.log("inside interceptor"),console.warn(t.message,{...t}),!t||!t.response||!t.response.config)return Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status "+t.response.status),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,{...e}),console.warn(JSON.stringify({...e}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(t)})};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});e["a"]=o.a},2998:function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,a,s){var i=[];i.push(t+"="+encodeURIComponent(e)),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(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"386e":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3884:function(t,e,n){"use strict";var r=n("8a5d");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),a=s.join("&")}if(a){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},"46c8":function(t,e,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),s=n("76b7"),i=n("cc3a");function c(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n.create=function(e){return c(s(t,e))},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(t){return Promise.all(t)},u.spread=n("c279"),u.isAxiosError=n("122c"),t.exports=u,t.exports.default=u},"4af6":function(t,e,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"];t.exports=function(t){var e,n,a,s={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},"5cd4":function(t,e,n){"use strict";var r=n("8a5d"),o=n("cc3a");t.exports=function(t,e,n){var a=this||o;return r.forEach(n,(function(n){t=n.call(a,t,e)})),t}},"5df9":function(t,e,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},6136:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6235:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return i}));var r=n("26fa");const o=async(t,e)=>{const n=await r["a"].post(t,e);return n},a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async(t,e)=>{let n;return await r["a"].get(`${t}/${e}`).then(t=>(n=t.data.allProxyList,n)),n},i=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.allProxyList,n)),n}},"639e":function(t,e,n){"use strict";var r=n("6136"),o=n("1501");t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},"6c7d":function(t,e,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(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=i(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.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(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(e);while(f.length)a=a.then(f.shift(),f.shift());return a}var d=e;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(t){if(!t.url)throw new Error("Provided config url is not valid");return t=i(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(i(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(i(r||{},{method:t,url:e,data:n}))}})),t.exports=l},"6e1a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"m-auto shadow p-5 text-background-secondary mb-4"},[e("div",{staticClass:"flex w-2/5 mt-6"},[e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Search By Skill ")]),e("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(e){return t.getSelectedSkill(e)}}},[e("option",[t._v("Select Skill")]),t._l(t.skillData,(function(n){return e("option",{key:n.skill_id,domProps:{value:n.skill_id}},[t._v(t._s(n.skill_alias))])}))],2)])]),t.proxyData?e("table",{staticClass:"w-full text-md bg-white rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800"},t._l(t.proxyData,(function(n){return e("tr",{key:n.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_name))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_ohr))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_email))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(t.skillName))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.proxy_role))])])})),0)]):t._e()])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")]),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},o=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Manage Proxy")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("OHR")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Email")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Skill Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Role")])])])}],a=(n("0480"),n("acb4")),s=n("6235"),i=n("8596"),c=Object(a["b"])({name:"ManageProxy",setup(){const t=Object(a["f"])(),e=Object(a["f"])(!0),n=Object(a["f"])(),r=Object(a["f"])(),o=Object(a["f"])(),c=Object(a["f"])(),u=Object(a["f"])(!0),l=async o=>{e.value=!1,r.value=o.target.value,t.value=await Object(s["b"])("/getAllProxyBySkill",r.value);const a=n.value.filter(t=>{const e=t.skill_id;return!!e&&e===r.value});c.value=a[0].skill_alias,console.log(a[0].skill_alias),console.log(t.value),e.value=!0},f=async()=>{const t=await Object(s["d"])("/getAllSkillProf");n.value=t.skill};return Object(a["c"])(async()=>{const t=await Object(i["g"])("/getUserRole");o.value=t.user_roles,o.value.length>0&&(console.log("inside length"),o.value.includes("System Admin")||o.value.includes("Proxy Admin")||o.value.includes("Community Manager")?u.value=!0:u.value=!1),f()}),{proxyData:t,renderReady:e,skillData:n,getSelectedSkill:l,showScreen:u,skillName:c}}}),u=c,l=(n("a5b9"),n("8e3e")),f=Object(l["a"])(u,r,o,!1,null,"0918c645",null);e["default"]=f.exports},"76b7":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function a(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[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(t).concat(Object.keys(e)),(function(t){var e=u[t]||a,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(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 t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"7ffb":function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-0918c645]{position:fixed;top:30%;left:42%}",""]),t.exports=e},"823a":function(t,e,n){"use strict";var r=n("82ac");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"82ac":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"u",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"x",(function(){return c})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"v",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return g})),n.d(e,"q",(function(){return m})),n.d(e,"o",(function(){return v})),n.d(e,"p",(function(){return y})),n.d(e,"m",(function(){return b})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"A",(function(){return _})),n.d(e,"C",(function(){return C})),n.d(e,"w",(function(){return j})),n.d(e,"n",(function(){return k})),n.d(e,"i",(function(){return S})),n.d(e,"g",(function(){return O})),n.d(e,"a",(function(){return E})),n.d(e,"B",(function(){return A})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return N})),n.d(e,"c",(function(){return R}));var r=n("26fa");const o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},v=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},b=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},_=async t=>{const e=await r["a"].get(t);return e},C=async t=>{const e=await r["a"].get(t);return e},j=async t=>{const e=await r["a"].get(t);return e},k=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},O=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},E=async t=>{const e=await r["a"].post("/user/role",t);return e},A=async t=>{const e=await r["a"].post("/user/removeRole",t);return e},P=async()=>{const t=await r["a"].get("role");return t},N=async t=>{const e=await r["a"].post("/user/saveLSS",t);return e},R=async t=>{const e=await r["a"].post("/user/saveEnvAccess",t);return e}},"8a5d":function(t,e,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function i(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"[object FormData]"===o.call(t)}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===o.call(t)}function m(t){return"[object File]"===o.call(t)}function v(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function b(t){return p(t)&&y(t.pipe)}function w(t){return"[object URLSearchParams]"===o.call(t)}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function j(){var t={};function e(e,n){h(t[n])&&h(e)?t[n]=j(t[n],e):h(e)?t[n]=j({},e):a(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)C(arguments[n],e);return t}function k(t,e,n){return C(e,(function(e,o){t[o]=n&&"function"===typeof e?r(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.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:_,forEach:C,merge:j,extend:k,trim:x,stripBOM:S}},"93f9":function(t,e,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),s=n("cc3a"),i=n("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new i("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a417:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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}},t}},a5b9:function(t,e,n){"use strict";n("0694")},aa01:function(t,e,n){"use strict";var r=n("fccd");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},c279:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},cad9:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var s=a>=0?arguments[a]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),s="/"===a(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.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("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),47===e){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(47!==i)-1===r&&(o=!1,r=s+1),46===i?-1===e?e=s:1!==a&&(a=1):-1!==e&&(a=-1);else if(!o){n=s+1;break}}return-1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)};var a="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("0418"))},cc3a:function(t,e,n){"use strict";(function(e){var r=n("8a5d"),o=n("386e"),a=n("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("e50c")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(i(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(s){if("SyntaxError"===i.name)throw a(i,this,"E_JSON_PARSE");throw i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(s)})),t.exports=l}).call(this,n("0418"))},e50c:function(t,e,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");t.exports=function(t){return new Promise((function(e,n){var p,h=t.data,g=t.headers,m=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+w)}var x=i(t.baseURL,t.url);function _(){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:t,request:y};o((function(t){e(t),v()}),(function(t){n(t),v()}),s),y=null}}if(y.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var C=(t.withCredentials||u(x))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;C&&(g[t.xsrfHeaderName]=C)}"setRequestHeader"in y&&r.forEach(g,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),m&&"json"!==m&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(n(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},fccd:function(t,e,n){"use strict";var r=n("a417");t.exports=function(t,e,n,o,a){var s=new Error(t);return r(s,e,n,o,a)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationManageProxy.js.map
|