@genpact/genome.mfe.solidify-app 1.17.2-alpha.39 → 1.17.2-alpha.41

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 CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/LearnerRereview.js" rel="prefetch"><link href="/js/SolidifyAbout.js" rel="prefetch"><link href="/js/SolidifyAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignRoleToUser.js" rel="prefetch"><link href="/js/SolidifyAdministrationCreateOffCyele.js" rel="prefetch"><link href="/js/SolidifyAdministrationEmailTemplateManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerEvents.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerGrades.js" rel="prefetch"><link href="/js/SolidifyAdministrationManageProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationMasterAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationNeedReviewerReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationOperationalDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationPlagiarsimReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationSystemSetting.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewAllProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewEmailQueue.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewRereviewRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationharvestReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationsendEmailToUser.js" rel="prefetch"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerDone.js" rel="prefetch"><link href="/js/SolidifyLearnerError.js" rel="prefetch"><link href="/js/SolidifyLearnerGating.js" rel="prefetch"><link href="/js/SolidifyLearnerPeerReview.js" rel="prefetch"><link href="/js/SolidifyLearnerProxyReview.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/SolidifyLearnerStatus.js" rel="prefetch"><link href="/js/SolidifyLearnerSubmitTask.js" rel="prefetch"><link href="/js/SystemUnderMaintenance.js" rel="prefetch"><link href="/js/chunk-5a954aa6.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.solidify-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><main><h1>Your Microfrontend is not here</h1><p>The @genpact/genome.mfe.solidify-app microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @genpact/genome.mfe.solidify-app and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env.standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
1
+ <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/LearnerRereview.js" rel="prefetch"><link href="/js/SolidifyAbout.js" rel="prefetch"><link href="/js/SolidifyAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignRoleToUser.js" rel="prefetch"><link href="/js/SolidifyAdministrationCreateOffCyele.js" rel="prefetch"><link href="/js/SolidifyAdministrationEmailTemplateManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerEvents.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerGrades.js" rel="prefetch"><link href="/js/SolidifyAdministrationManageProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationMasterAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationNeedReviewerReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationOperationalDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationPlagiarsimReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationSystemSetting.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewAllProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewEmailQueue.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewRereviewRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationharvestReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationsendEmailToUser.js" rel="prefetch"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerDone.js" rel="prefetch"><link href="/js/SolidifyLearnerError.js" rel="prefetch"><link href="/js/SolidifyLearnerGating.js" rel="prefetch"><link href="/js/SolidifyLearnerPeerReview.js" rel="prefetch"><link href="/js/SolidifyLearnerProxyReview.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/SolidifyLearnerStatus.js" rel="prefetch"><link href="/js/SolidifyLearnerSubmitTask.js" rel="prefetch"><link href="/js/SystemUnderMaintenance.js" rel="prefetch"><link href="/js/chunk-365c04ed.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.solidify-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><main><h1>Your Microfrontend is not here</h1><p>The @genpact/genome.mfe.solidify-app microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @genpact/genome.mfe.solidify-app and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env.standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
2
2
  const fullSrc = new URL('/js/app.js', window.location.href);
3
3
  mfLink.href = fullSrc;
4
4
  mfLink.textContent = fullSrc;</script></main></body></html>
@@ -1,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"004f":function(t,e,s){"use strict";s("2cee")},"11ce":function(t,e){var s=/^(attrs|props|on|nativeOn|class|style|hook)$/;function a(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var i,r,l,o,n;for(l in e)if(i=t[l],r=e[l],i&&s.test(l))if("class"===l&&("string"===typeof i&&(n=i,t[l]=i={},i[n]=!0),"string"===typeof r&&(n=r,e[l]=r={},r[n]=!0)),"on"===l||"nativeOn"===l||"hook"===l)for(o in r)i[o]=a(i[o],r[o]);else if(Array.isArray(i))t[l]=i.concat(r);else if(Array.isArray(r))t[l]=[i].concat(r);else for(o in r)i[o]=r[o];else t[l]=e[l];return t}),{})}},"2c72":function(t,e,s){"use strict";var a=function(){var t=this,e=t._self._c;return t.isVisible?e("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay",on:{click:function(e){return t.$emit("close-modal")}}},[e("div",{staticClass:"modal relative",on:{click:function(t){t.stopPropagation()}}},[t.closeVisible?e("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(e){return t.$emit("closeModal")}}},[e("x-icon",{attrs:{size:"1.5x"}})],1):t._e(),e("div",{staticClass:"pt-4"},[e("p",{staticClass:"text-gray-500",domProps:{innerHTML:t._s(t.message)}}),t.reReviewButton?e("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(e){return t.applyReview(t.reReviewButtonLink)}}},[t._v(" Apply Re-Review ")]):t._e()])])])])],1):t._e()},i=[],r=s("949b"),l=s("afbc"),o={components:{XIcon:r["f"]},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1}},setup(){const t=async t=>{l["a"].push({path:"/solidify/rereview",query:{learner_task_id:t}})};return{applyReview:t}}},n=o,c=(s("004f"),s("bce8")),p=Object(c["a"])(n,a,i,!1,null,null,null);e["a"]=p.exports},"2cee":function(t,e,s){var a=s("9917");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=s("c69b").default;i("5c3e22fe",a,!0,{sourceMap:!1,shadowMode:!1})},8764:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Email Template Management")]),e("button",{staticClass:"bg-background-secondary text-white py-1 px-4 rounded",on:{click:function(e){t.openShareModal=!0}}},[t._v("+ Add Email Template")])]),t._m(0),e("modal",{ref:"profileshare-modal",attrs:{"show-close-btn":!0,name:"profileshare-modal","is-visible":t.openShareModal},on:{closeModal:function(e){t.openShareModal=!1}}},[e("div",{staticClass:"bg-white px-4 pb-4 px-6"},[e("div",{staticClass:"mt-3 sm:mt-0"},[e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Add Email Template")])]),e("div",{staticClass:"mt-4"},[e("div",{staticClass:"text-background-secondary"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Template Name ")]),e("input",{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"}})]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Template Description ")]),e("textarea",{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"})]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Locale ")]),e("input",{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"}})]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Version ")]),e("input",{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"}})]),e("div",{staticClass:"w-full px-3 text-center mt-4"},[e("button",{staticClass:"-bg-blue-900 text-white py-2 px-8 rounded",attrs:{type:"button"}},[t._v("Save")])])])])])]),e("div",{staticClass:"bg-gray-50 px-4 py-3 text-center"},[e("button",{staticClass:"inline-flex justify-center text-background-secondary border border-gray-300 px-4 py-2",attrs:{type:"button"},on:{click:function(e){t.openShareModal=!1}}},[t._v("Cancel")]),e("button",{staticClass:"inline-flex justify-center bg-background-secondary border border-transparent shadow-sm px-4 py-2 text-white ml-3",attrs:{type:"button"}},[t._v("Add Task")])])])],1)])},i=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full mt-4"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Description")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Locale")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Created Date")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modifed Date")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},[e("tr",{staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])]),e("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{attrs:{type:"checkbox"}})]),e("td",{staticClass:"p-2 px-3"},[t._v("Create a Reflection")]),e("td",{staticClass:"p-2 px-3"},[t._v("Complete all the activities listed below and submit them in a single file (i.e. Word Doc, Excel file, PPT). Remember, your task submission should not exceed the 100-word limit.")]),e("td",{staticClass:"p-2 px-3"}),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),e("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")])])])])])}],r=s("d1ce"),l=s("2c72"),o=Object(r["b"])({name:"EmailTemplateManagement",components:{modal:l["a"]},setup(){const t=Object(r["f"])(!1);return{openShareModal:t}}}),n=o,c=s("bce8"),p=Object(c["a"])(n,a,i,!1,null,null,null);e["default"]=p.exports},"949b":function(t,e,s){"use strict";s.d(e,"a",(function(){return r})),s.d(e,"b",(function(){return l})),s.d(e,"c",(function(){return o})),s.d(e,"d",(function(){return n})),s.d(e,"e",(function(){return c})),s.d(e,"f",(function(){return p}));var a=s("11ce"),i=s.n(a),r={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},l={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},o={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},n={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},c={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},p={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var s="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",a=e.data.attrs||{};return a.width=a.width||s,a.height=a.height||s,e.data.attrs=a,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},9917:function(t,e,s){var a=s("a8d8");e=a(!1),e.push([t.i,".modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:rgba(0,0,0,.8549019607843137)}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}",""]),t.exports=e}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"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,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var o=r[a],s=t[o];if(s){var i=e[o],c=void 0===i||s(i,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(a(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:a}},"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")},2566:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n("26fa");const a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.sys_settings,t)),t},o=async(e,t)=>{try{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n}catch(n){console.log(n)}}},"26fa":function(e,t,n){"use strict";var r=n("1dba"),a=n.n(r);function o({$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})=>{o({$http:e}),e.interceptors.request.use(t=>(o({$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),a.a.defaults.baseURL=u,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:a.a});t["a"]=a.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(a)&&i.push("path="+a),r.isString(o)&&i.push("domain="+o),!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 a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=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(a(t)+"="+a(e))})))})),o=s.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),a=n("1464"),o=n("6c7d"),s=n("76b7"),i=n("cc3a");function c(e){var t=new o(e),n=a(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n.create=function(t){return c(s(e,t))},n}var u=c(i);u.Axios=o,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"),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&a.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},5921: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-12"},[e.isPreview?t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Template Preview")])]):t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Template Details")])]),e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.renderReady?t("div",{staticClass:"w-full mt-4"},[e.isPreview?t("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[t("div",{staticClass:"w-full px-2 mb-3 text-center text-2xl font-bold text-blue-900"},[e._v(e._s(e.template.subject))]),t("div",{staticClass:"w-full md:w-full px-3 mb-4",domProps:{innerHTML:e._s(e.previewContent)}}),t("div",{staticClass:"w-full text-center"},[t("button",{staticClass:"px-4 py-2 border border-blue-900 bg-white-500 text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.openPreview()}}},[e._v("Back")])])]):t("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[t("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[t("div",{staticClass:"w-full md:w-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Name ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.template.template_name,expression:"template.template_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:!e.isNew,type:"text"},domProps:{value:e.template.template_name},on:{input:function(t){t.target.composing||e.$set(e.template,"template_name",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Subject ")]),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.template.subject,expression:"template.subject"}],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",domProps:{value:e.template.subject},on:{input:function(t){t.target.composing||e.$set(e.template,"subject",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full h-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Content ")]),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.template.content,expression:"template.content"}],staticClass:"appearance-none block w-full h-80 text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:e.template.content},on:{input:function(t){t.target.composing||e.$set(e.template,"content",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full px-3 mb-4 text-center mt-5"},[t("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationEmailTemplateManagement"}}},[e._v(" Back ")]),t("button",{staticClass:"mr-2 px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.openPreview()}}},[e._v("Preview")]),e.showUpdate?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.updateTemplate()}}},[e._v("Update")]):e._e()],1)])])]):e._e()]):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...")])])])},a=[],o=n("8596"),s=n("d1ce"),i=n("be10"),c=n("1dba"),u=n.n(c),l=n("2566"),f=Object(s["b"])({name:"EmailTemplateDetails",components:{},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(s["f"])(e.query.template),n=Object(s["f"])(!0),r=Object(s["f"])({}),a=Object(s["f"])(),c=Object(s["f"])(!0),f=Object(s["f"])(),d=Object(s["f"])(),p=Object(s["f"])(!1),m=Object(s["f"])(!1),h=Object(s["f"])(),v=Object(s["f"])(!1),g=Object(s["f"])("true"===e.query.is_new),b=Object(s["f"])(!1),y=Object(s["f"])(!1),w=Object(s["f"])(),x=Object(s["f"])(),C=async()=>{try{n.value=!1,r.value={...r.value,is_new:g.value};const e=await Object(i["b"])("/email/templates/save",r.value);console.log(e),h.value=e.data.message,n.value=!0,m.value=!0,v.value=!1,window.scroll(0,0),n.value=!0}catch(t){if(n.value=!0,u.a.isAxiosError(t)){var e;const r=t;n.value=!0,h.value=null===(e=r.response)||void 0===e?void 0:e.data.message,v.value=!0,m.value=!1,setTimeout(()=>{v.value=!1},5e3)}}},_=()=>{const e=r.value;let t="";if(""===(null===e||void 0===e?void 0:e.content))return window.scroll(0,0),h.value="Template Content cannot be empty",v.value=!0,m.value=!1,void setTimeout(()=>{v.value=!1},5e3);const n=null===e||void 0===e?void 0:e.content.split("$");let a=!0;n.forEach(e=>{void 0!==w.value[e]?(console.log(w.value[e]),t+=w.value[e],a=!0):a?(t+=""+e,a=!1):(t+="$"+e,a=!1)}),console.log(t),x.value=t,b.value=!b.value},j=async()=>{n.value=!1;try{if(!1===g.value){const e=await Object(i["a"])("/email/templates/all");console.log(t.value),r.value=e.data.body.Items.find(e=>{if(t.value===e.template_name)return console.log(e),e})}}catch(a){if(u.a.isAxiosError(a)){var e;const t=a;n.value=!0,h.value=null===(e=t.response)||void 0===e?void 0:e.statusText,v.value=!0,m.value=!1,setTimeout(()=>{v.value=!1},7e3)}}n.value=!0};return Object(s["c"])(async()=>{const e=await Object(o["g"])("/getUserRole");if(f.value=e.user_key,d.value=e.user_roles,d.value.length>0)if(d.value.includes("System Admin")){p.value=!0,await j();const e=await Object(l["a"])("system/config");w.value=e,console.log(e)}else p.value=!1}),{templateID:t,showSuccessMessage:m,showScreen:p,resMessage:h,showErrorMessage:v,showUpdate:c,errorMessage:a,renderReady:n,template:r,openPreview:_,updateTemplate:C,isNew:g,isPreview:b,previewContent:x,previewShow:y}}}),d=f,p=n("bce8"),m=Object(p["a"])(d,r,a,!1,null,null,null);t["default"]=m.exports},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),a=n("cc3a");e.exports=function(e,t,n){var o=this||a;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function a(){this.handlers=[]}a.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},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6344:function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".tableScroll[data-v-170797d3]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},"639e":function(e,t,n){"use strict";var r=n("6136"),a=n("1501");e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),a=n("3884"),o=n("5df9"),s=n("93f9"),i=n("76b7"),c=n("112f"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}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=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!a){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),o=Promise.resolve(t);while(f.length)o=o.then(f.shift(),f.shift());return o}var d=t;while(r.length){var p=r.shift(),m=r.shift();try{d=p(d)}catch(h){m(h);break}}try{o=s(d)}catch(h){return Promise.reject(h)}while(l.length)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},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 a(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 o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function c(n){return n in t?a(e[n],t[n]):n in e?a(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]||o,a=t(e);r.isUndefined(a)&&t!==c||(n[e]=a)})),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 a(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=a(window.location.href),function(t){var n=r.isString(t)?a(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 a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var 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))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,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 a})),n.d(t,"t",(function(){return o})),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 m})),n.d(t,"j",(function(){return h})),n.d(t,"q",(function(){return v})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return b})),n.d(t,"m",(function(){return y})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return C})),n.d(t,"C",(function(){return _})),n.d(t,"w",(function(){return j})),n.d(t,"n",(function(){return k})),n.d(t,"i",(function(){return O})),n.d(t,"g",(function(){return E})),n.d(t,"a",(function(){return T})),n.d(t,"B",(function(){return S})),n.d(t,"b",(function(){return A})),n.d(t,"d",(function(){return P})),n.d(t,"c",(function(){return N}));var r=n("26fa");const a=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},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},m=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},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},C=async e=>{const t=await r["a"].get(e);return t},_=async e=>{const t=await r["a"].get(e);return t},j=async e=>{const t=await r["a"].get(e);return t},k=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},E=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},T=async e=>{const t=await r["a"].post("/user/role",e);return t},S=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},A=async()=>{const e=await r["a"].get("role");return e},P=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},N=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},8764: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 flex mt-6"},[t("div",{staticClass:"w-full text-left"},[t("router-link",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",attrs:{to:{name:"SolidifyAdministrationEmailTemplateDetails",query:{is_new:"true"}}}},[e._v("Add Email Template")]),e.editTemplateBtn?t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.editTemplate()}}},[e._v("Edit Template")]):e._e()],1)]),t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.emailTemplates,(function(n){return t("tr",{key:n.template_name,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.templateCheck,expression:"templateCheck"}],attrs:{type:"checkbox",id:n.template_name},domProps:{value:n.template_name,checked:Array.isArray(e.templateCheck)?e._i(e.templateCheck,n.template_name)>-1:e.templateCheck},on:{change:[function(t){var r=e.templateCheck,a=t.target,o=!!a.checked;if(Array.isArray(r)){var s=n.template_name,i=e._i(r,s);a.checked?i<0&&(e.templateCheck=r.concat([s])):i>-1&&(e.templateCheck=r.slice(0,i).concat(r.slice(i+1)))}else e.templateCheck=o},function(t){return e.showTemplateEditBtn(t,n.template_name)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.template_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.subject))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.content))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.modified_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.modified_by))])])})),0)])])]):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...")])])])},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Email Template Management")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Template Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Template Subject")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Content")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified By")])])])}],o=n("d1ce"),s=n("8596"),i=n("be10"),c=n("bb03"),u=n.n(c),l=n("afbc"),f=Object(o["b"])({name:"EmailTemplateManagement",components:{},setup(){const e=Object(o["f"])(),t=Object(o["f"])(),n=Object(o["f"])(!1),r=Object(o["f"])([]),a=Object(o["f"])(!1),c=Object(o["f"])(!1),f=Object(o["f"])(""),d=Object(o["f"])([]),p=()=>{d.value=[]},m=async()=>{a.value=!1;try{const e=await Object(i["a"])("/email/templates/all");r.value=e.data.body.Items,r.value.map(e=>(e.created_date=u()(e.created_date).format("DD-MM-YYYY hh:mm:ss"),e.modified_date=u()(e.modified_date).format("DD-MM-YYYY hh:mm:ss"),e)),a.value=!0}catch(e){const t=e;console.log(t.response)}},h=async(e,t)=>{!0===e.target.checked?(c.value=!0,f.value=t):(c.value=!1,f.value="")},v=async()=>{console.log("template editing",f.value);const e={template:f.value,is_new:"false"};l["a"].push({path:"EmailTemplateDetails",query:e})};return Object(o["c"])(async()=>{const r=await Object(s["g"])("/getUserRole");e.value=r.user_key,t.value=r.user_roles,t.value.length>0&&(t.value.includes("System Admin")?(n.value=!0,await m()):n.value=!1)}),{loggedInUser:e,userRole:t,showScreen:n,emailTemplates:r,renderReady:a,showTemplateEditBtn:h,editTemplateBtn:c,editTemplate:v,templateCheck:d,checkOne:p}}}),d=f,p=(n("d855"),n("bce8")),m=Object(p["a"])(d,r,a,!1,null,"170797d3",null);t["default"]=m.exports},"8a5d":function(e,t,n){"use strict";var r=n("1464"),a=Object.prototype.toString;function o(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]"===a.call(e)}function u(e){return"[object FormData]"===a.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function m(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){return"[object Date]"===a.call(e)}function v(e){return"[object File]"===a.call(e)}function g(e){return"[object Blob]"===a.call(e)}function b(e){return"[object Function]"===a.call(e)}function y(e){return p(e)&&b(e.pipe)}function w(e){return"[object URLSearchParams]"===a.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function C(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function _(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function j(){var e={};function t(t,n){m(e[n])&&m(t)?e[n]=j(e[n],t):m(t)?e[n]=j({},t):o(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)_(arguments[n],t);return e}function k(e,t,n){return _(t,(function(t,a){e[a]=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:o,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isPlainObject:m,isUndefined:s,isDate:h,isFile:v,isBlob:g,isFunction:b,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:C,forEach:_,merge:j,extend:k,trim:x,stripBOM:O}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),a=n("5cd4"),o=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=a.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=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=a.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,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},be10:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n("26fa");const a=async e=>{const t=await r["a"].get(e);return t},o=async(e,t)=>{const n=await r["a"].post(e,t);return n}},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 a=e[r];"."===a?e.splice(r,1):".."===a?(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,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(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,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]: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(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===o(e,-1);return e=n(a(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(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,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 a=r(e.split("/")),o=r(n.split("/")),s=Math.min(a.length,o.length),i=s,c=0;c<s;c++)if(a[c]!==o[c]){i=c;break}var u=[];for(c=i;c<a.length;c++)u.push("..");return u=u.concat(o.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,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){r=o;break}}else a=!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,a=!0,o=0,s=e.length-1;s>=0;--s){var i=e.charCodeAt(s);if(47!==i)-1===r&&(a=!1,r=s+1),46===i?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="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"),a=n("386e"),o=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(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),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,a=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw o(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"))},d855:function(e,t,n){"use strict";n("fba2")},e50c:function(e,t,n){"use strict";var r=n("8a5d"),a=n("aa01"),o=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,m=e.data,h=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&delete h["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(y+":"+w)}var x=i(e.baseURL,e.url);function C(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,o=v&&"text"!==v&&"json"!==v?b.response:b.responseText,s={data:o,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};a((function(e){t(e),g()}),(function(e){n(e),g()}),s),b=null}}if(b.open(e.method.toUpperCase(),s(x,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(C)},b.onabort=function(){b&&(n(l("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(l("Network Error",e,null,b)),b=null},b.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",b)),b=null},r.isStandardBrowserEnv()){var _=(e.withCredentials||u(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;_&&(h[e.xsrfHeaderName]=_)}"setRequestHeader"in b&&r.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new d("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null),b.send(m)}))}},fba2:function(e,t,n){var r=n("6344");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("c69b").default;a("0a333644",r,!0,{sourceMap:!1,shadowMode:!1})},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,a,o){var s=new Error(e);return r(s,t,n,a,o)}}}]);
2
2
  //# sourceMappingURL=SolidifyAdministrationEmailTemplateManagement.js.map