PageSourceSearch

https://web.callyzer.co/1543.8751a5b380d8016a.js

js callyzer.co collected 2026-10-02 13:11:06 UTC 196,340 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcallyzer_ms_angular=self.webpackChunkcallyzer_ms_angular||[]).push([[1543,978],{71543:(N,T,l)=>{l.r(T),l.d(T,{ApiWebhookSandBoxModule:()=>y,MY_CUSTOM_FORMATS:()=>Io});var c=l(36895),C=l(9116),k=l(15861),v=l(15439),r=l.n(v),_=l(49472),M=l(32821),O=l(35226),g=l.n(O),f=l(92340),d=l(24006),e=l(94650),x=l(97192),m=l(89383),h=l(35842),u=l(87146),w=l(80117),A=l(68423),U=l(17938),L=l(66062),B=l(89620),V=l(15031),R=l(8207),F=l(88796),z=l(32320),X=l(94628),Y=l(3056),J=l(85864),K=l(70027),Q=l(43056);const $=["closeUpdateWebhookId"],ee=["closewebhooklogsmodel"],te=["closewebhookresponsemodel"],oe=["fromTimeId"],ne=["toTimeId"],ie=["sanboxLogCreatedDate"],ae=["fromDateInput"],se=["toDateInput"],re=["logsTabPane"];function le(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",97)(1,"span",98),e._uU(2),e.qZA(),e.TgZ(3,"button",99),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeNotificationBeltMessageAlert())}),e.TgZ(4,"span",32),e._uU(5,"\xd7"),e.qZA()()()}if(2&i){const t=e.oxw();e.xp6(2),e.Oqu(t.notificationMesssage)}}function ce(i,o){if(1&i&&(e.TgZ(0,"strong"),e._UZ(1,"i",102),e._uU(2),e.qZA()),2&i){const t=e.oxw(2);e.xp6(2),e.hij(" ",t.errorMessage,"")}}function de(i,o){if(1&i&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.successMessage,"")}}const W=function(i,o){return{"alert-danger":i,"alert-success":o}};function pe(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",100),e.YNc(1,ce,3,1,"strong",101),e.YNc(2,de,2,1,"strong",101),e.TgZ(3,"button",99),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeErrorMessageAlert())}),e.TgZ(4,"span",32),e._uU(5,"\xd7"),e.qZA()()()}if(2&i){const t=e.oxw();e.Q6J("ngClass",e.WLB(3,W,t.errorMessage&&t.errorMessage.length>0,t.successMessage&&t.successMessage.length>0)),e.xp6(1),e.Q6J("ngIf",t.errorMessage&&t.errorMessage.length>0),e.xp6(1),e.Q6J("ngIf",t.successMessage&&t.successMessage.length>0)}}function _e(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",141),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.redirectToConfigure(a.webhookList,!0))}),e._UZ(1,"i",142),e._uU(2),e.ALo(3,"translate"),e.qZA()}2&i&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"Add New Webhook")," "))}function ge(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",143),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.addOrUpdateWebhook(a.webhookList,!1))}),e._UZ(1,"i",144),e._uU(2),e.ALo(3,"translate"),e.qZA()}2&i&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"Resend Request")," "))}function he(i,o){if(1&i&&(e.TgZ(0,"div",138),e.YNc(1,_e,4,3,"button",139),e.YNc(2,ge,4,3,"button",140),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",t.webhookList.length<=0),e.xp6(1),e.Q6J("ngIf",t.webhookList.length>0)}}function ue(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",161)(1,"button",162),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.deleteApiToken())}),e._UZ(2,"i",163),e._uU(3," Remove "),e.qZA()()}}function me(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"div",148),e._uU(2," Your Sandbox API Access Key "),e.qZA(),e.TgZ(3,"div",149)(4,"div",150)(5,"div",151)(6,"span"),e._uU(7),e.qZA(),e.TgZ(8,"i",152),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.copyApiToken())}),e.qZA()(),e.TgZ(9,"p",153)(10,"span",154),e._uU(11,"Base URL"),e.qZA(),e._uU(12," : "),e._UZ(13,"br"),e.TgZ(14,"a",155),e._uU(15),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"span",156),e._uU(18),e.qZA()(),e.TgZ(19,"p",157)(20,"span",158),e._uU(21," Created On "),e.qZA(),e._uU(22," : "),e._UZ(23,"br"),e.TgZ(24,"span",159),e._uU(25),e.qZA()()(),e.YNc(26,ue,4,0,"div",160),e.qZA()()}if(2&i){const t=e.oxw(4);e.xp6(7),e.Oqu(t.apiConfiguration.TOKEN),e.xp6(1),e.Q6J("appTooltip",t.copyBtnText),e.xp6(6),e.s9C("href",t.sandboxHost,e.LSH),e.xp6(1),e.hij(" ",t.sandboxHost,""),e.xp6(3),e.hij("For e.g. ",t.sandboxApiExample,""),e.xp6(7),e.hij(" ",t.apiConfiguration.CREATED_DATE,""),e.xp6(1),e.Q6J("ngIf",!t.viewAvailablePermission)}}function be(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",164),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.generateToken())}),e.TgZ(1,"div",165),e._uU(2,"+ Generate API Access Key"),e.qZA()()}}function fe(i,o){1&i&&(e.TgZ(0,"div",166)(1,"div"),e._uU(2,"Once the token is generated. It will appear here."),e.qZA()())}const xe=function(i){return{"custom-border-color":i}};function Ce(i,o){if(1&i&&(e.TgZ(0,"div",145),e.YNc(1,me,27,7,"div",101),e.YNc(2,be,3,0,"div",146),e.YNc(3,fe,3,0,"div",147),e.qZA()),2&i){const t=e.oxw(3);e.Q6J("ngClass",e.VKq(4,xe,t.isApiConfiguration)),e.xp6(1),e.Q6J("ngIf",t.isApiConfiguration),e.xp6(1),e.Q6J("ngIf",!t.isApiConfiguration&&"ROLE_CUSTOMER_USER"!==t.userRole),e.xp6(1),e.Q6J("ngIf",!t.isApiConfiguration&&"ROLE_CUSTOMER_USER"==t.userRole)}
1}function ve(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ","SPECIFIC_CALLS"===t.RULE_SCOPE?"Specific Calls":"All Calls"," ")}}function Ae(i,o){if(1&i&&e._uU(0),2&i){const t=e.oxw().$implicit;e.hij(" ",(null==t.RULES||null==t.RULES.RULES?null:t.RULES.RULES.length)>0?"Specific Calls":"All Calls"," ")}}function Te(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",180),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.deleteSandboxWebhookConfiguration())}),e._UZ(1,"i",186),e._uU(2," Remove"),e.qZA()}}function ke(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",180),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.redirectToConfigure(a.webhookList,!0))}),e._UZ(1,"i",181),e._uU(2," Edit"),e.qZA(),e.TgZ(3,"a",180),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,s=e.oxw(3);return e.KtG(s.redirectToRules(a))}),e._UZ(4,"i",182),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"a",183),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,s=e.oxw(3);return e.KtG(s.testWebhookUrl(a))}),e._UZ(8,"i",184),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.YNc(11,Te,3,0,"a",185)}if(2&i){const t=e.oxw(4);e.xp6(5),e.hij(" ",e.lcZ(6,3,"Config Rules"),""),e.xp6(4),e.hij(" ",e.lcZ(10,5,"Test Webhook")," "),e.xp6(2),e.Q6J("ngIf",t.managePurchasePermission)}}const Me=function(i){return{"pointer-events-none":i}},P=function(){return{standalone:!0}};function De(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td",167),e._uU(2),e.qZA(),e.TgZ(3,"td"),e.YNc(4,ve,2,1,"ng-container",168),e.YNc(5,Ae,1,1,"ng-template",null,169,e.W1O),e.qZA(),e.TgZ(7,"td"),e._uU(8),e.qZA(),e.TgZ(9,"td",170)(10,"div",171)(11,"label",172)(12,"input",173),e.NdJ("click",function(){const s=e.CHM(t).$implicit,p=e.oxw(3);return e.KtG(p.confirmationForEnableOrDisableStatus(p.editWebhookForm.value,s.STATUS))})("ngModelChange",function(a){const p=e.CHM(t).$implicit;return e.KtG(p.STATUS=a)}),e.qZA(),e._UZ(13,"span",174),e.qZA()()(),e.TgZ(14,"td"),e._uU(15),e.qZA(),e.TgZ(16,"td",175)(17,"div",176),e._UZ(18,"i",177),e.TgZ(19,"div",178),e.YNc(20,ke,12,7,"ng-template",179),e.qZA()()()()}if(2&i){const t=o.$implicit,n=e.MAs(6),a=e.oxw(3);e.xp6(2),e.Oqu(t.URL),e.xp6(2),e.Q6J("ngIf",t.RULE_SCOPE)("ngIfElse",n),e.xp6(4),e.Oqu(t.VERSION),e.xp6(1),e.Q6J("ngClass",e.VKq(9,Me,a.viewPurchasePermission||a.viewAvailablePermission)),e.xp6(3),e.Q6J("ngModel",t.STATUS)("ngModelOptions",e.DdM(11,P)),e.xp6(3),e.Oqu(t.SANDBOX_RESEND_DATE),e.xp6(
15),e.Q6J("ngIf",!0)}}function we(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"td",189)(1,"div",190),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.redirectToConfigure(a.webhookList,!0))}),e.TgZ(2,"div",165),e._uU(3," + Add Webhook"),e.qZA()()()}}function Oe(i,o){1&i&&(e.TgZ(0,"td",191)(1,"div"),e._uU(2," No webhook is configured "),e.qZA()())}function Pe(i,o){if(1&i&&(e.TgZ(0,"tr"),e.YNc(1,we,4,0,"td",187),e.YNc(2,Oe,3,0,"td",188),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",t.managePurchasePermission),e.xp6(1),e.Q6J("ngIf",t.viewAvailablePermission)}}function Se(i,o){if(1&i&&e._UZ(0,"div",196),2&i){const t=e.oxw().$implicit;e.Q6J("innerHTML",t.answer,e.oJD)}}function Ze(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",192)(1,"div",193),e.NdJ("click",function(){const s=e.CHM(t).index,p=e.oxw(3);return e.KtG(p.toggleFaq(s))}),e.TgZ(2,"h6",194),e._uU(3),e.qZA()(),e.YNc(4,Se,1,1,"div",195),e.qZA()}if(2&i){const t=o.$implicit;e.xp6(3),e.Oqu(t.question),e.xp6(1),e.Q6J("ngIf",t.isOpen)}}function ye(i,o){if(1&i&&(e.TgZ(0,"div",114)(1,"div",115)(2,"div",116),e._UZ(3,"i",117),e.TgZ(4,"span",118),e._uU(5," You have locked the period from "),e.TgZ(6,"strong"),e._uU(7),e.ALo(8,"date"),e.qZA(),e._uU(9," to "),e.TgZ(10,"strong"),e._uU(11),e.ALo(12,"date"),e.qZA(),e._uU(13,". "),e.qZA()(),e.TgZ(14,"div",119),e.YNc(15,he,3,2,"div",120),e.qZA()(),e.TgZ(16,"div",121)(17,"div",122),e.YNc(18,Ce,4,6,"div",123),e.TgZ(19,"div",124)(20,"div",125)(21,"table",126)(22,"thead")(23,"tr")(24,"th",127)(25,"strong"),e._uU(26),e.ALo(27,"translate"),e.qZA()(),e.TgZ(28,"th",128)(29,"strong"),e._uU(30),e.ALo(31,"translate"),e.qZA()(),e.TgZ(32,"th",129)(33,"strong"),e._uU(34),e.ALo(35,"translate"),e.qZA()(),e.TgZ(36,"th",130)(37,"strong"),e._uU(38),e.ALo(39,"translate"),e.qZA()(),e.TgZ(40,"th",131)(41,"strong"),e._uU(42),e.ALo(43,"translate"),e.qZA()(),e.TgZ(44,"th",132)(45,"strong"),e._uU(46),e.ALo(47,"translate"),e.qZA()()()(),e.TgZ(48,"tbody"),e.YNc(49,De,21,12,"tr",133),e.YNc(50,Pe,3,2,"tr",101),e.qZA()()()()(),e.TgZ(51,"div",134)(52,"h5",135),e._uU(53,"FAQ"),e.qZA(),e.TgZ(54,"div",136),e.YNc(55,Ze,5,2,"div",137),e.qZA()()()()),2&i){const t=e.oxw(2);e.xp6(7),e.hij(" ",e.xi3(8,13,t.sanboxConfiguration.FROM_DATE,t.dateFormat),""),e.xp6(4),e.hij(" ",e.xi3(12,16,t.sanboxConfiguration.TO_DATE,t.dateFormat),""),e.xp6(4),e.Q6J("ngIf",t.managePurchasePermission),e.xp6(3),e.Q6J("ngIf",t.managePurchasePermission),e.xp6(8),e.Oqu(e.lcZ(27,19,"URL")),e.xp6(4),e.Oqu(e.lcZ(31,21,"Rule Scope")),e.xp6(4),e.Oqu(e.lcZ(35,23,"Version")),e.xp6(4),e.Oqu(e.lcZ(39,25,"Status")),e.xp6(4),e.Oqu(e.lcZ(43,27,"Last Sent")),e.xp6(4),e.Oqu(e.lcZ(47,29,"Action")),e.xp6(3),e.Q6J("ngForOf",t.webhookList),e.xp6(1),e.Q6J("ngIf",t.webhookList.length<=0),e.xp6(5),e.Q6J("ngForOf",t.faqList)}}function Ee(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",210),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.clearLogsConfirmation())}),e._UZ(1,"i",211),e._uU(2," Clear Logs "),e.qZA()}}function Ie(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"i",228),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.clearDateFilter())}),e.qZA()}}function Ue(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"i",229),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.openDatepicker())}),e.qZA()}}const D=function(i){return{format:i,firstDay:1}};function Le(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"th",212)(2,"div",213)(3,"input",214,215),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onSearchDateChanged(a,!1))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.selectedDate=a)}),e.ALo(5,"translate"),e.ALo(6,"translate"),e.ALo(7,"uppercase"),e.qZA(),e.TgZ(8,"div",216),e.YNc(9,Ie,1,0,"i",217),e.YNc(10,Ue,1,0,"i",218),e.qZA()()(),e.TgZ(11,"th",212)(12,"div",219)(13,"ng-multiselect-dropdown",220),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.selectedService=a)})("onDeSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onServiceDeSelect(a,!1))})("onSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onsServiceSelect(a,!1))}),e.ALo(14,"translate"),e.qZA()()(),e.TgZ(15,"th",212)(16,"div",221)(17,"input",222),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.logUrl=a)})("keyup.enter",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.searchURL(!1))})("keyup",function(){e.CHM(t);const a=e.oxw(3);return a.isLogUrl=!0,e.KtG(a.searchURL(!1))}),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"div",223),e._UZ(20,"i",224),e.qZA()()(),e.TgZ(21,"th",212)(22,"div",225)(23,"ng-multiselect-dropdown",226),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.selectVersion=a)})("onDeSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onDeSelectVersion(a,!1))})("onSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onSelectVersion(a,!1))}),e.ALo(24,"translate"),e.qZA()()(),e._UZ(25,"th",212),e.TgZ(26,"th",227),e._UZ(27,"div"),e.TgZ(28,"ng-multiselect-dropdown",220),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.selectedStatus=a)})("onDeSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onDeSelectStatus(a,!1))})("onSelect",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.onSelectStatus(a,!1))}),e.ALo(29,"translate"),e.qZA()(),e._UZ(30,"th",212)(31,"th",212),e.qZA()}if(2&i){const t=e.oxw(3);e.xp6(3),e.s9C("title",t.selectedDateTitle),e.hYB("placeholder","",e.lcZ(5,27,"Select"),"",e.lcZ(6,29," Date(s)"),""),e.Q6J("showDropdowns",!0)("showClearButton",!0)("linkedCalendars",!0)("maxDate",t.tomorrow)("locale",e.VKq(41,D,e.lcZ(7,31,t.dateFormat)))("ngModel",t.selectedDate)("autoApply",!0),e.xp6(6),e.Q6J("ngIf",t.isCrossIcon),e.xp6(1),e.Q6J("ngIf",!t.isCrossIcon),e.xp6(3),e.s9C("placeholder",e.lcZ(14,33,"Search Service")),e.Q6J("settings",t.serviceSettings)("data",t.serviceList)("ngModel",t.selectedService),e.xp6(4),e.s9C("placeholder",e.lcZ(18,35,"Search U
1RL")),e.Q6J("ngModel",t.logUrl),e.xp6(3),e.Q6J("ngClass",t.isLogUrl?"las la-spinner la-spin text-theme":"las la-search"),e.xp6(3),e.s9C("placeholder",e.lcZ(24,37,"Search Version")),e.Q6J("settings",t.versionSettings)("data",t.versionList)("ngModel",t.selectVersion),e.xp6(5),e.s9C("placeholder",e.lcZ(29,39,"Search Status")),e.Q6J("settings",t.sandboxlogstatusSettings)("data",t.sandBoxStatusList)("ngModel",t.selectedStatus)}}function Fe(i,o){1&i&&(e.TgZ(0,"tbody")(1,"tr")(2,"td",230)(3,"div",231),e._UZ(4,"img",232),e.TgZ(5,"p",233),e._uU(6,"No logs are available"),e.qZA(),e.TgZ(7,"p",234),e._uU(8,"The logs of API and Webhook executions in the Sandbox environment will appear here."),e.qZA()()()()())}function We(i,o){1&i&&(e.TgZ(0,"tbody")(1,"tr")(2,"td",230)(3,"div",235)(4,"p",233),e._uU(5,"No logs are available"),e.qZA()()()()())}function qe(i,o){1&i&&(e.TgZ(0,"span",243),e._uU(1," Success "),e.qZA())}function Ne(i,o){1&i&&(e.TgZ(0,"span",244),e._uU(1," Skipped "),e.qZA())}function Be(i,o){1&i&&(e.TgZ(0,"span",245),e._uU(1," Failed "),e.qZA())}function Re(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",246),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,s=e.oxw(4);return e.KtG(s.getResponsePayload(a.id))}),e._UZ(1,"i",238),e._uU(2),e.ALo(3,"translate"),e.qZA()}2&i&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"View")," "))}function Ye(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td",236),e._uU(2),e.qZA(),e.TgZ(3,"td",175),e._uU(4),e.qZA(),e.TgZ(5,"td",236),e._uU(6),e.qZA(),e.TgZ(7,"td",175),e._uU(8),e.qZA(),e.TgZ(9,"td",175)(10,"button",237),e.NdJ("click",function(){const s=e.CHM(t).$implicit,p=e.oxw(4);return e.KtG(p.getRequestedPayload(s.id))}),e._UZ(11,"i",238),e._uU(12),e.ALo(13,"translate"),e.qZA()(),e.TgZ(14,"td",175),e.YNc(15,qe,2,0,"span",239),e.YNc(16,Ne,2,0,"span",240),e.YNc(17,Be,2,0,"span",241),e.qZA(),e.TgZ(18,"td",236),e._uU(19),e.qZA(),e.TgZ(20,"td",175),e.YNc(21,Re,4,3,"button",242),e.qZA()()}if(2&i){const t=o.$implicit;e.xp6(2),e.Oqu(t.createdDate),e.xp6(2),e.Oqu(t.services),e.xp6(2),e.hij(" ",t.url,""),e.xp6(2),e.Oqu(t.version),e.xp6(4),e.hij(" ",e.lcZ(13,10,"View")," "),e.xp6(3),e.Q6J("ngIf","SUCCESS"===t.status),e.xp6(1),e.Q6J("ngIf","SKIPPED"===t.status),e.xp6(1),e.Q6J("ngIf","SUCCESS"!==t.status&&"SKIPPED"!==t.status),e.xp6(2),e.hij("",t.httpStatus," "),e.xp6(2),e.Q6J("ngIf","SKIPPED"!==t.status)}}function Je(i,o){1&i&&(e.TgZ(0,"tr")(1,"td",247),e._uU(2,"No logs are available"),e.qZA()())}function Ke(i,o){if(1&i&&(e.TgZ(0,"tbody"),e.YNc(1,Ye,22,12,"tr",133),e.YNc(2,Je,3,0,"tr",101),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.apiWebhookSandboxLogs),e.xp6(1),e.Q6J("ngIf",t.apiWebhookSandboxLogs.length<=0)}}function Qe(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(t.start+1)}}function He(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(t.start)}}function Ge(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(t.totalRecords)}}function je(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(4);e.xp6(1),e.Oqu(t.start+t.length)}}function Ve(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",263),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.getSandBoxLogs(1))}),e._UZ(1,"i",264),e.qZA()}}function ze(i,o){1&i&&(e.TgZ(0,"a",265),e._UZ(1,"i",264),e.qZA())}function Xe(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",266),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.getSandBoxLogs(a.pager.currentPage-1))}),e._UZ(1,"i",267),e.TgZ(2,"span",268),e._uU(3,"Prev"),e.qZA()()}}function $e(i,o){1&i&&(e.TgZ(0,"a",269),e._UZ(1,"i",267),e.TgZ(2,"span",268),e._uU(3,"Prev"),e.qZA()())}const et=function(i){return{active:i}};function tt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",270)(1,"a",271),e.NdJ("click",function(){const s=e.CHM(t).$implicit,p=e.oxw(4);return e.KtG(p.getSandBoxLogs(s))}),e._uU(2),e.qZA()()}if(2&i){const t=o.$implicit,n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(2,et,n.pager.currentPage===t)),e.xp6(1),e.Oqu(t)}}function ot(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",272),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.getSandBoxLogs(a.pager.currentPage+1))}),e.TgZ(1,"span",268),e._uU(2,"Next"),e.qZA(),e._UZ(3,"i",273),e.qZA()}}function nt(i,o){1&i&&(e.TgZ(0,"a",274)(1,"span",268),e._uU(2,"Next"),e.qZA(),e._UZ(3,"i",273),e.qZA())}function it(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"a",263),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.getSandBoxLogs(a.pager.totalPages))}),e._UZ(1,"i",275),e.qZA()}}function at(i,o){1&i&&(e.TgZ(0,"a",265),e._UZ(1,"i",275),e.qZA())}function st(i,o){if(1&i&&(e.TgZ(0,"div",248,249)(2,"div",250)(3,"p",251),e.YNc(4,Qe,2,1,"span",101),e.YNc(5,He,2,1,"span",101),e._uU(6," - "),e.YNc(7,Ge,2,1,"span",101),e.YNc(8,je,2,1,"span",101),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",250)(12,"div",252)(13,"ul",253)(14,"li",254)(15,"ul",255)(16,"li",254),e.YNc(17,Ve,2,0,"a",256),e.YNc(18,ze,2,0,"a",257),e.YNc(19,Xe,4,0,"a",258),e.YNc(20,$e,4,0,"a",259),e.qZA(),e.YNc(21,tt,3,4,"li",260),e.TgZ(22,"li",254),e.YNc(23,ot,4,0,"a",261),e.YNc(24,nt,4,0,"a",262),e.YNc(25,it,2,0,"a",256),e.YNc(26,at,2,0,"a",257),e.qZA()()()()()()()),2&i){const t=e.oxw(3);e.xp6(4),e.Q6J("ngIf",t.totalRecords>0),e.xp6(1),e.Q6J("ngIf",0==t.totalRecords),e.xp6(2),e.Q6J("ngIf",t.start+t.length>t.totalRecords),e.xp6(1),e.Q6J("ngIf",t.start+t.length<=t.totalRecords),e.xp6(1),e.AsE(" ",e.lcZ(10,15,"of")," ",t.totalRecords,""),e.xp6(8),e.Q6J("ngIf",1!=t.pager.currentPage&&t.pager.currentPage>1),e.xp6(1),e.Q6J("ngIf",1==t.pager.currentPage||t.pager.currentPage<1),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage>1),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage<=1),e.xp6(1),e.Q6J("ngForOf",t.pager.pages),e.xp6(2),e.Q6J("ngIf",t.pager.currentPage!=t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage==t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage!=t.pager.totalPages),e.xp6(1),e.Q6J("ngIf",t.pager.currentPage==t.pager.totalPages)}}function rt(i,o){if(1&i&&(e.TgZ(0,"div",197),e._UZ(1,"ngx-spinner",198),e.TgZ(2,"div",199)(3,"div",200)(4,"div",201)(5,"div",202),e._UZ(6,"i",203),e.TgZ(7,"span",204),e._uU(8),e.qZA()(),e.YNc(9,Ee,3,0,"button",205),e.qZA(),e.TgZ(10,"div",206)(11,"div",207)(12,"table",126)(13,"thead")(14,"tr")(15,"th",128)(16,"strong"),e._uU(17),e.ALo(18,"translate"),e.qZA()(),e.TgZ(19,"th",131)(20,"strong"),e._uU(21),e.ALo(22,"translate"),e.qZA()(),e.TgZ(23,"th",131)(24,"strong"),e._uU(25),e.ALo(26,"translate"),e.qZA()(),e.TgZ(27,"th",131)(28,"strong"),e._uU(29),e.ALo(30,"translate"),e.qZA()(),e.TgZ(31,"th",208)(32,"strong"),e._uU(33),e.ALo(34,"translate"),e.qZA()(),e.TgZ(35,"th",131)(36,"strong"),e._uU(37),e.ALo(38,"translate"),e.qZA()(),e.TgZ(39,"th",131)(40,"strong"),e._uU(41),e.ALo(42,"translate"),e.qZA()(),e.TgZ(43,"th",131)(44,"strong"),e._uU(45),e.ALo(46,"translate"),e.qZA()()(),e.YNc(47,Le,32,43,"tr",101),e.qZA(),e.YNc(48,Fe,9,0,"tbody",101),e.YNc(49,We,6,0,"tbody",101),e.YNc(50,Ke,3,2,"tbody",101),e.qZA()()()(),e.YNc(51,st,27,17,"div",209),e.qZA()()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("fullScreen",!0),e.xp6(7),e.hij(" ",t.deleteLogInfoMsg," "),e.xp6(1),e.Q6J("ngIf",!t.viewAvailablePermission&&t.apiWebhookSandboxLogs&&t.apiWebhookSandboxLogs.length>
10),e.xp6(8),e.Oqu(e.lcZ(18,16,"Date")),e.xp6(4),e.Oqu(e.lcZ(22,18,"Service")),e.xp6(4),e.Oqu(e.lcZ(26,20,"URL")),e.xp6(4),e.Oqu(e.lcZ(30,22,"Version")),e.xp6(4),e.Oqu(e.lcZ(34,24,"Request")),e.xp6(4),e.Oqu(e.lcZ(38,26,"Status")),e.xp6(4),e.Oqu(e.lcZ(42,28,"Response HTTP Status")),e.xp6(4),e.Oqu(e.lcZ(46,30,"Response")),e.xp6(2),e.Q6J("ngIf",t.isFilterLog),e.xp6(1),e.Q6J("ngIf",!(t.isFilterLog||t.apiWebhookSandboxLogs&&0!==t.apiWebhookSandboxLogs.length)),e.xp6(1),e.Q6J("ngIf",t.isFilterLog&&(!t.apiWebhookSandboxLogs||0===t.apiWebhookSandboxLogs.length)),e.xp6(1),e.Q6J("ngIf",t.apiWebhookSandboxLogs.length>0),e.xp6(1),e.Q6J("ngIf",t.isLogTab&&!t.isPagination&&t.apiWebhookSandboxLogs.length>0)}}function lt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",283),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.deleteLeads())}),e._UZ(1,"i",284),e._uU(2," Delete All Leads "),e.qZA()}}function ct(i,o){1&i&&(e.TgZ(0,"tbody")(1,"tr")(2,"td",285)(3,"div",231),e._UZ(4,"img",286),e.TgZ(5,"p",233),e._uU(6,"No test leads are available"),e.qZA(),e.TgZ(7,"p",234),e._uU(8,"The leads created in the Sandbox environment will appear here."),e.qZA()()()()())}function dt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.hij("+",t.countryCode,"-")}}function pt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.hij("+",t.secondaryCountryCode,"-")}}function _t(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1,","),e._UZ(2,"br"),e.YNc(3,pt,2,1,"span",101),e._uU(4),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.Q6J("ngIf",t.secondaryCountryCode),e.xp6(1),e.hij("",t.secondaryNumber," ")}}function gt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr")(1,"td",236),e._uU(2),e.qZA(),e.TgZ(3,"td",175),e._uU(4),e.qZA(),e.TgZ(5,"td",236),e.YNc(6,dt,2,1,"span",101),e._uU(7),e.YNc(8,_t,5,2,"span",101),e.qZA(),e.TgZ(9,"td",175),e._uU(10),e.qZA(),e.TgZ(11,"td",175),e._uU(12),e.qZA(),e.TgZ(13,"td",175)(14,"button",287),e.NdJ("click",function(){const s=e.CHM(t).$implicit,p=e.oxw(4);return e.KtG(p.openActionPop(s,!0))}),e._UZ(15,"i",288),e.TgZ(16,"p",194),e._uU(17,"View"),e.qZA()()()()}if(2&i){const t=o.$implicit;e.xp6(2),e.Oqu(t.leadCreatedDate),e.xp6(2),e.AsE("",t.firstName," ",t.lastName,""),e.xp6(2),e.Q6J("ngIf",t.countryCode),e.xp6(1),e.hij("",t.number," "),e.xp6(1),e.Q6J("ngIf",null!=t.secondaryNumber),e.xp6(2),e.Oqu(t.deviceList),e.xp6(2),e.Oqu(t.lastCallTime)}}function ht(i,o){if(1&i&&(e.TgZ(0,"tbody"),e.YNc(1,gt,18,8,"tr",133),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.leadDataList)}}function ut(i,o){if(1&i&&(e.TgZ(0,"div",276),e._UZ(1,"ngx-spinner",277),e.TgZ(2,"div",199)(3,"div",200)(4,"div",278)(5,"p",279)(6,"strong",280),e._uU(7,"Note :"),e.qZA(),e._uU(8),e.qZA(),e.YNc(9,lt,3,0,"button",281),e.qZA(),e.TgZ(10,"div",282)(11,"table",126)(12,"thead")(13,"tr")(14,"th",175)(15,"strong"),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"th",175)(19,"strong"),e._uU(20),e.ALo(21,"translate"),e.qZA()(),e.TgZ(22,"th",175)(23,"strong"),e._uU(24),e.ALo(25,"translate"),e.qZA()(),e.TgZ(26,"th",175)(27,"strong"),e._uU(28),e.ALo(29,"translate"),e.qZA()(),e.TgZ(30,"th",175)(31,"strong"),e._uU(32),e.ALo(33,"translate"),e.qZA()(),e.TgZ(34,"th",175)(35,"strong"),e._uU(36),e.ALo(37,"translate"),e.qZA()()()(),e.YNc(38,ct,9,0,"tbody",101),e.YNc(39,ht,2,1,"tbody",101),e.qZA()()()()()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("fullScreen",!1),e.xp6(7),e.hij(" ",t.leadDataInfoMsg," "),e.xp6(1),e.Q6J("ngIf",!t.viewAvailablePermission&&t.leadDataList.length>
10),e.xp6(7),e.Oqu(e.lcZ(17,11,"Created Date")),e.xp6(4),e.Oqu(e.lcZ(21,13,"Lead Name")),e.xp6(4),e.Oqu(e.lcZ(25,15,"Contact Number")),e.xp6(4),e.Oqu(e.lcZ(29,17,"Assign To")),e.xp6(4),e.Oqu(e.lcZ(33,19,"Last Call Details")),e.xp6(4),e.Oqu(e.lcZ(37,21,"Action")),e.xp6(2),e.Q6J("ngIf",!t.leadDataList||0===t.leadDataList.length),e.xp6(1),e.Q6J("ngIf",t.leadDataList.length>0)}}function mt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",103)(1,"ul",104)(2,"li",105)(3,"a",106),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onCLickConfigureTab(!1))}),e._uU(4,"Configure"),e.qZA()(),e.TgZ(5,"li",105)(6,"a",107),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.getSandBoxLogs(1))}),e._uU(7,"Logs"),e.qZA()(),e.TgZ(8,"li",108)(9,"a",109),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.onTestLeads(!1))}),e._uU(10,"Test Leads"),e.qZA()()(),e.TgZ(11,"div",110),e.YNc(12,ye,56,31,"div",111),e.YNc(13,rt,52,32,"div",112),e.YNc(14,ut,40,23,"div",113),e.qZA()()}if(2&i){const t=e.oxw();e.xp6(3),e.ekj("active",t.isActiveTab("configure")),e.xp6(3),e.ekj("active",t.isActiveTab("logs")),e.xp6(3),e.ekj("active",t.isActiveTab("test-leads")),e.xp6(3),e.Q6J("ngIf","configure"===t.activeTab),e.xp6(1),e.Q6J("ngIf","logs"===t.activeTab),e.xp6(1),e.Q6J("ngIf","test-leads"===t.activeTab)}}function bt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",292)(1,"div",293)(2,"h6",64),e._uU(3,"Prerequisites"),e.qZA(),e.TgZ(4,"p",294),e._uU(5,"Before enabling and using the Sandbox Environment, please ensure the following points are clearly understood and agreed upon:"),e.qZA(),e.TgZ(6,"ul",65)(7,"li"),e._uU(8,"You will need a "),e.TgZ(9,"strong"),e._uU(10,"developer with technical skill"),e.qZA(),e._uU(11," who can do the API / Webhooks integration (coding and testing) into your source system"),e.qZA(),e.TgZ(12,"li"),e._uU(13,"A "),e.TgZ(14,"strong"),e._uU(15,"maximum of 15 days"),e.qZA(),e._uU(16," can be selected. Please decide in advance which days you want to lock. "),e.TgZ(17,"a",295),e._uU(18,"Learn more."),e.qZA()()()(),e.TgZ(19,"div",296)(20,"h6",64),e._uU(21,"Usage Guidelines"),e.qZA(),e.TgZ(22,"p",294),e._uU(23,"Please review the following usage guidelines before proceeding:"),e.qZA(),e.TgZ(24,"ul",297)(25,"li"),e._uU(26,"The "),e.TgZ(27,"strong"),e._uU(28,"15-day date range can be selected only once"),e.qZA(),e._uU(29,". Once selected, it "),e.TgZ(30,"strong"),e._uU(31,"cannot be changed"),e.qZA(),e._uU(32," later."),e.qZA(),e.TgZ(33,"li"),e._uU(34,"You can create a maximum of "),e.TgZ(35,"strong"),e._uU(36,"10 leads"),e.qZA(),e._uU(37," using the "),e.TgZ(38,"strong"),e._uU(39,"API"),e.qZA(),e._uU(40,". To create additional leads, the "),e.TgZ(41,"strong"),e._uU(42,"existing leads must be deleted first"),e.qZA(),e._uU(43,"."),e.qZA(),e.TgZ(44,"li"),e._uU(45,"The "),e.TgZ(46,"strong"),e._uU(47,"15-day lock-in period"),e.qZA(),e._uU(48," applies only to call log data and has no impact on lead creation."),e.qZA(),e.TgZ(49,"li"),e._uU(50,"After 15 days, you can still access the data from the lock-in period at any time."),e.qZA()()(),e.TgZ(51,"div",298)(52,"button",299),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.onGoToDateSelection())}),e._uU(53,"Next"),e.qZA()()()}}function ft(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",320)(1,"div",321)(2,"button",322),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.resetAccessDateFilter(!0))}),e._uU(3,"Reset"),e.qZA(),e.TgZ(4,"button",323),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.onLockItClick())}),e._uU(5," Lock It !"),e.qZA(),e._UZ(6,"button",324),e.qZA()()}}function xt(i,o){if(1&i&&e._UZ(0,"div",196),2&i){const t=e.oxw().$implicit;e.Q6J("innerHTML",t.answer,e.oJD)}}function Ct(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",192)(1,"div",193),e.NdJ("click",function(){const s=e.CHM(t).index,p=e.oxw(3);return e.KtG(p.toggleFaq(s))}),e.TgZ(2,"h6",194),e._uU(3),e.qZA()(),e.YNc(4,xt,1,1,"div",195),e.qZA()}if(2&i){const t=o.$implicit;e.xp6(3),e.Oqu(t.question),e.xp6(1),e.Q6J("ngIf",t.isOpen)}}const H=function(i,o){return{"cursor-not-allowed":i,"lock-error":o,"filter-item-wrapper form-group w-100":!0}};function vt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",300)(1,"div",301)(2,"h6",302)(3,"strong"),e._uU(4,"Select the Date range you want to lock (these dates cannot be changed later)."),e.qZA(),e.TgZ(5,"a",295),e._uU(6,"Learn more"),e.qZA()()(),e.TgZ(7,"div",303)(8,"div",304)(9,"div",305)(10,"form",306)(11,"div",307)(12,"div",308)(13,"div",224)(14,"label",309),e._uU(15),e.ALo(16,"translate"),e.ALo(17,"translate"),e.TgZ(18,"span"),e._uU(19,"*"),e.qZA()(),e.TgZ(20,"input",310,311),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onFromDateChanged(a,!0))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.fromDateModal=a)}),e.ALo(22,"translate"),e.ALo(23,"translate"),e.ALo(24,"uppercase"),e.qZA()()(),e.TgZ(25,"div",308)(26,"div",224)(27,"label",312),e._uU(28),e.ALo(29,"translate"),e.ALo(30,"translate"),e.TgZ(31,"span"),e._uU(32,"*"),e.qZA()(),e.TgZ(33,"input",313,314),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onToDateChanged(a,!1))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.toDateModal=a)}),e.ALo(35,"translate"),e.ALo(36,"translate"),e.ALo(37,"uppercase"),e.qZA()()()()()(),e.YNc(38,ft,7,0,"div",315),e.qZA()(),e.TgZ(39,"div",316)(40,"p",317),e._uU(41,"Note :"),e.qZA(),e.TgZ(42,"ol",318)(43,"li",319),e._uU(44,"Please specify the date range first to use API & Webhook features."),e.qZA(),e.TgZ(45,"li",319),e._uU(46,"You can select a maximum of 15 days only. "),e.qZA(),e.TgZ(47,"li",319),e._uU(48,"You can only fetch data between these dates, fetching data beyond these dates will not be possible."),e.qZA()()(),e.TgZ(49,"div",134)(50,"h5",135),e._uU(51,"FAQ"),e.qZA(),e.TgZ(52,"div",136),e.YNc(53,Ct,5,2,"div",137),e.qZA()()()}if(2&i){const t=e.oxw(2);e.xp6(10),e.Q6J("formGroup",t.lockedInSandboxPeriodForm),e.xp6(3),e.Q6J("ngClass",e.WLB(61,H,t.viewPurchasePermission,t.isFromDateInvalid)),e.xp6(2),e.AsE("",e.lcZ(16,41,"From")," ",e.lcZ(17,43,"Date: ")," "),e.xp6(5),e.ekj("input-not-allowed",t.viewPurchasePermission)("invalid-border",t.isFromDateInvalid),e.hYB("placeholder","",e.lcZ(22,45,"Select"),"",e.lcZ(23,47," Date"),""),e.s9C("tooltip",t.isFromDateInvalid?"From Date is required.":""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("ngModel",t.fromDateModal)("linkedCalendars",!0)("locale",e.VKq(64,D,e.lcZ(24,49,t.dateFormat)))("minDate",t.startDateMinDate)("maxDate",t.startDateMaxDate)("formControl",t.lockedInSandboxPeriodForm.controls.lockedInFromDate),e.xp6(6),e.Q6J("ngClass",e.WLB(66,H,t.viewPurchasePermission,t.isToDateInvalid)),e.xp6(2),e.AsE("",e.lcZ(29,51,"To")," ",e.lcZ(30,53,"Date: ")," "),e.xp6(5),e.ekj("input-not-allowed",t.viewPurchasePermission)("invalid-border",t.isToDateInvalid),e.hYB("placeholder","",e.lcZ(35,55,"Select"),"",e.lcZ(36,57," Date"),""),e.s9C("tooltip",t.isToDateInvalid?"To Date is required.":""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("ngModel",t.toDateModal)("linkedCalendars",!0)("locale",e.VKq(69,D,e.lcZ(37,59,t.dateFormat)))("formControl",t.lockedInSandboxPeriodForm.controls.lockedInToDate)("minDate",t.endDateMinDate)("maxDate",t.endDateMaxDate),e.xp6(5),e.Q6J("ngIf",!t.viewPurchasePermission),e.xp6(15),e.Q6J("ngForOf",t.faqList)}}function At(i,o){if(1&i&&(e.TgZ(0,"div",289),e.YNc(1,bt,54,0,"div",290),e.YNc(2,vt,54,71,"div",291),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.isPrerequisitesVisible),e.xp6(1),e.Q6J("ngIf",!t.isPrerequisitesVisible)}}function Tt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Oqu(t.editErrorMessage)}}function kt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.Oqu(t.editSuccessMessage)}}function Mt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",345)(1,"a",346),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.editErrorMessage="")}
1),e._uU(2,"\xd7"),e.qZA(),e.YNc(3,Tt,2,1,"span",101),e.YNc(4,kt,2,1,"span",101),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(3,W,t.editErrorMessage&&t.editErrorMessage.length>0,t.editSuccessMessage&&t.editSuccessMessage.length>0)),e.xp6(3),e.Q6J("ngIf",t.editErrorMessage&&t.editErrorMessage.length>0),e.xp6(1),e.Q6J("ngIf",t.editSuccessMessage&&t.editSuccessMessage.length>0)}}function Dt(i,o){if(1&i&&(e.TgZ(0,"ng-option",349),e._uU(1),e.qZA()),2&i){const t=o.$implicit,n=e.oxw(3);e.Q6J("value",t.id)("disabled","2.0"===t.id&&"2.2"===(null==n.webhookList||null==n.webhookList[0]?null:n.webhookList[0].VERSION)),e.xp6(1),e.hij(" ",t.version," ")}}const S=function(i,o){return{"custom-disable":i,"custom-enable":o}};function wt(i,o){if(1&i&&(e.TgZ(0,"div",332)(1,"label",333)(2,"strong"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",335)(6,"ng-select",347),e.YNc(7,Dt,2,3,"ng-option",348),e.qZA()()()),2&i){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(8,S,t.viewPurchasePermission||!t.isAddOrUpdateWebhook,t.managePurchasePermission&&t.isAddOrUpdateWebhook)),e.xp6(3),e.Oqu(e.lcZ(4,6,"Version")),e.xp6(3),e.Q6J("clearable",!1)("searchable",!1)("placeholder","Select Version"),e.xp6(1),e.Q6J("ngForOf",t.versionListOptions)}}function Ot(i,o){if(1&i&&(e.TgZ(0,"ng-option",350),e._uU(1),e.qZA()),2&i){const t=o.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.key," ")}}function Pt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"timepicker",369),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.onFromTimeChange(a.resendFromTime))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.resendFromTime=a)}),e.qZA(),e.TgZ(1,"ul",370)(2,"li")(3,"button",371),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.setFromTime())}),e._uU(4,"Set"),e.qZA()(),e.TgZ(5,"li")(6,"button",372),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.cancelFromTimePicker())}),e._uU(7,"Cancel"),e.qZA()()()}if(2&i){const t=e.oxw(3);e.Q6J("minuteStep",1)("showMeridian",!0)("ngModel",t.resendFromTime)("ngModelOptions",e.DdM(4,P))}}function St(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"timepicker",369),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.onToTimeChange(a.resendToTime))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.resendToTime=a)}),e.qZA(),e.TgZ(1,"ul",370)(2,"li")(3,"button",371),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.setToTime())}),e._uU(4,"Set"),e.qZA()(),e.TgZ(5,"li")(6,"button",372),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.cancelToTimePicker())}),e._uU(7,"Cancel"),e.qZA()()()}if(2&i){const t=e.oxw(3);e.Q6J("minuteStep",1)("showMeridian",!0)("ngModel",t.resendToTime)("ngModelOptions",e.DdM(4,P))}}function Zt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"form",306)(2,"div",351)(3,"label",352)(4,"label",333)(5,"strong"),e._uU(6),e.ALo(7,"translate"),e.ALo(8,"translate"),e.ALo(9,"translate"),e.qZA()()(),e.TgZ(10,"div",353)(11,"div",354)(12,"label",333),e._uU(13,"From Date"),e.qZA(),e.TgZ(14,"div",355)(15,"div",356)(16,"input",357),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onFromDateFormChanged(a))}),e.ALo(17,"translate"),e.ALo(18,"translate"),e.ALo(19,"uppercase"),e.qZA()(),e.TgZ(20,"div",358)(21,"div",359),e.YNc(22,Pt,8,5,"ng-template",null,360,e.W1O),e.TgZ(24,"input",361,362),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return a.closeMessageAlert(),e.KtG(a.previousFromTime=a.resendFromTime)}),e.qZA()()()()(),e.TgZ(26,"div",363)(27,"label",333),e._uU(28,"To Date"),e.qZA(),e.TgZ(29,"div",355)(30,"div",356)(31,"input",364),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onToDateFormChanged(a))}),e.ALo(32,"translate"),e.ALo(33,"translate"),e.ALo(34,"uppercase"),e.qZA()(),e.TgZ(35,"div",365)(36,"div",359),e.YNc(37,St,8,5,"ng-template",null,366,e.W1O),e.TgZ(39,"input",367,368),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return a.closeMessageAlert(),e.KtG(a.previousToTime=a.resendToTime)}),e.qZA()()()()()()()()()}if(2&i){const t=e.MAs(23),n=e.MAs(38),a=e.oxw(2);e.xp6(1),e.Q6J("formGroup",a.resendWebhookForm),e.xp6(5),e.lnq("",e.lcZ(7,44,"Select")," ",e.lcZ(8,46,"Date")," ",e.lcZ(9,48,"Range"),""),e.xp6(8),e.ekj("c
1onnector-view",a.viewPurchasePermission),e.xp6(1),e.ekj("custom-disable",a.viewPurchasePermission),e.xp6(1),e.hYB("placeholder","",e.lcZ(17,50,"Select"),"",e.lcZ(18,52," Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("linkedCalendars",!0)("locale",e.VKq(62,D,e.lcZ(19,54,a.dateFormat)))("minDate",a.startDateMinDate)("disabled",!a.viewPurchasePermission)("maxDate",a.startDateMaxDate)("formControl",a.resendWebhookForm.controls.webhookFromDateModal),e.xp6(4),e.ekj("custom-disable",a.viewPurchasePermission),e.xp6(4),e.s9C("value",a.webhookFromTimeFormat),e.Q6J("popover",t)("outsideClick",!0),e.xp6(5),e.ekj("connector-view",a.viewPurchasePermission),e.xp6(1),e.ekj("custom-disable",a.viewPurchasePermission),e.xp6(1),e.hYB("placeholder","",e.lcZ(32,56,"Select"),"",e.lcZ(33,58," Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("linkedCalendars",!0)("minDate",a.startDateMinDate)("maxDate",a.startDateMaxDate)("locale",e.VKq(64,D,e.lcZ(34,60,a.dateFormat)))("disabled",!a.viewPurchasePermission)("formControl",a.resendWebhookForm.controls.webhookToDateModal),e.xp6(4),e.ekj("custom-disable",a.viewPurchasePermission),e.xp6(4),e.s9C("value",a.webhookToTimeFormat),e.Q6J("popover",n)("outsideClick",!0)}}function yt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"timepicker",369),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.onFromTimeChange(a.resendFromTime))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.resendFromTime=a)}),e.qZA(),e.TgZ(1,"ul",370)(2,"li")(3,"button",371),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.setFromTime())}),e._uU(4,"Set"),e.qZA()(),e.TgZ(5,"li")(6,"button",372),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.cancelFromTimePicker())}),e._uU(7,"Cancel"),e.qZA()()()}if(2&i){const t=e.oxw(3);e.Q6J("minuteStep",1)("showMeridian",!0)("ngModel",t.resendFromTime)("ngModelOptions",e.DdM(4,P))}}function Et(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"timepicker",369),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.onToTimeChange(a.resendToTime))})("ngModelChange",function(a){e.CHM(t);const s=e.oxw(3);return e.KtG(s.resendToTime=a)}),e.qZA(),e.TgZ(1,"ul",370)(2,"li")(3,"button",371),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.setToTime())}),e._uU(4,"Set"),e.qZA()(),e.TgZ(5,"li")(6,"button",372),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.cancelToTimePicker())}),e._uU(7,"Cancel"),e.qZA()()()}if(2&i){const t=e.oxw(3);e.Q6J("minuteStep",1)("showMeridian",!0)("ngModel",t.resendToTime)("ngModelOptions",e.DdM(4,P))}}function It(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div")(1,"form",306)(2,"div",351)(3,"label",352)(4,"label",333)(5,"strong"),e._uU(6),e.ALo(7,"translate"),e.ALo(8,"translate"),e.ALo(9,"translate"),e.qZA()()(),e.TgZ(10,"div",353)(11,"div",354)(12,"label",333),e._uU(13,"From Date"),e.qZA(),e.TgZ(14,"div",355)(15,"div",356)(16,"input",373),e.NdJ("change",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.onFromDateFormChanged(a.resendWebhookForm.controls.webhookFromDateModal.value))}),e.ALo(17,"translate"),e.ALo(18,"translate"),e.ALo(19,"uppercase"),e.qZA()(),e.TgZ(20,"div",358)(21,"div",359),e.YNc(22,yt,8,5,"ng-template",null,360,e.W1O),e.TgZ(24,"input",361,362),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return a.closeMessageAlert(),e.KtG(a.previousFromTime=a.resendFromTime)}),e.qZA()()()()(),e.TgZ(26,"div",363)(27,"label",333),e._uU(28,"To Date"),e.qZA(),e.TgZ(29,"div",355)(30,"div",356)(31,"input",374),e.NdJ("ngModelChange",function(a){e.CHM(t);const s=e.oxw(2);return e.KtG(s.onToDateFormChanged(a))}),e.ALo(32,"translate"),e.ALo(33,"translate"),e.ALo(34,"uppercase"),e.qZA()(),e.TgZ(35,"div",365)(36,"div",359),e.YNc(37,Et,8,5,"ng-template",null,366,e.W1O),e.TgZ(39,"input",367,368),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return a.closeMessageAlert(),e.KtG(a.previousToTime=a.resendToTime)}),e.qZA()()()()()()()()()}if(2&i){const t=e.MAs(23),n=e.MAs(38),a=e.oxw(2);e.xp6(1),e.Q6J("formGroup",a.resendWebhookForm),e.xp6(5),e.lnq("",e.lcZ(7,44,"Select")," ",e.lcZ(8,46,"Date")," ",e.lcZ(9,48,"Range"),""),e.xp6(8),e.ekj("c
1onnector-view",a.viewPurchasePermission),e.xp6(1),e.ekj("custom-disable",a.viewPurchasePermission),e.xp6(1),e.hYB("placeholder","",e.lcZ(17,50,"Select")," ",e.lcZ(18,52,"Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("minDate",a.startDateMinDate)("maxDate",a.startDateMaxDate)("autoApply",!0)("linkedCalendars",!0)("locale",e.VKq(62,D,e.lcZ(19,54,a.dateFormat)))("formControl",a.resendWebhookForm.controls.webhookFromDateModal)("disabled",!a.viewPurchasePermission),e.xp6(4),e.ekj("connector-view-wrapper",a.viewPurchasePermission),e.xp6(4),e.s9C("value",a.webhookFromTimeFormat),e.Q6J("popover",t)("outsideClick",!0),e.xp6(5),e.ekj("connector-view",a.viewPurchasePermission),e.xp6(1),e.ekj("connector-view-wrapper",a.viewPurchasePermission),e.xp6(1),e.hYB("placeholder","",e.lcZ(32,56,"Select"),"",e.lcZ(33,58,"Date"),""),e.Q6J("singleDatePicker",!0)("showDropdowns",!0)("autoApply",!0)("linkedCalendars",!0)("minDate",a.startDateMinDate)("maxDate",a.startDateMaxDate)("disabled",!a.viewPurchasePermission)("locale",e.VKq(64,D,e.lcZ(34,60,a.dateFormat)))("formControl",a.resendWebhookForm.controls.webhookToDateModal),e.xp6(4),e.ekj("connector-view-wrapper",a.viewPurchasePermission),e.xp6(4),e.s9C("value",a.webhookToTimeFormat),e.Q6J("popover",n)("outsideClick",!0)}}function Ut(i,o){1&i&&e._UZ(0,"i",377)}function Lt(i,o){1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij("",e.lcZ(2,1,"Save")," "))}function Ft(i,o){1&i&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&i&&(e.xp6(1),e.AsE("",e.lcZ(2,2,"Send"),"",e.lcZ(3,4," Request"),""))}function Wt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"button",375),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.resendData(a.editWebhookForm.value,!a.isAddOrUpdateWebhook))}),e.YNc(1,Ut,1,0,"i",376),e.YNc(2,Lt,3,3,"span",101),e.YNc(3,Ft,4,6,"span",101),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("disabled",!t.editWebhookForm.valid||t.btnDisable),e.xp6(1),e.Q6J("ngIf",t.showLoader),e.xp6(1),e.Q6J("ngIf",t.isAddOrUpdateWebhook),e.xp6(1),e.Q6J("ngIf",!t.isAddOrUpdateWebhook)}}const qt=function(i){return{"input-error":i}};function Nt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",325)(1,"div",326)(2,"div",43)(3,"div",44)(4,"h5",45),e._uU(5),e.qZA(),e.TgZ(6,"button",327,328),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeAddOrEditModel())}),e.TgZ(8,"span",32),e._uU(9,"\xd7"),e.qZA()()(),e.TgZ(10,"div",48),e.YNc(11,Mt,5,6,"div",25),e.TgZ(12,"form",329,330)(14,"div",1)(15,"div",331)(16,"div",332)(17,"label",333)(18,"strong"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"span",334),e._uU(22,"*"),e.qZA()(),e.TgZ(23,"div",335)(24,"input",336),e.NdJ("input",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.checkInputText())}),e.ALo(25,"translate"),e.ALo(26,"json"),e.qZA()(),e._UZ(27,"div",335),e.qZA(),e.TgZ(28,"div",332)(29,"label",333)(30,"strong"),e._uU(31),e.ALo(32,"translate"),e.qZA(),e._UZ(33,"i",337),e.qZA(),e.TgZ(34,"div",335)(35,"input",338),e.NdJ("input",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.checkInputText())}),e.ALo(36,"translate"),e.qZA()()(),e.YNc(37,wt,8,11,"div",339),e.TgZ(38,"div",340)(39,"label",333)(40,"strong"),e._uU(41),e.ALo(42,"translate"),e.ALo(43,"translate"),e.ALo(44,"translate"),e.qZA(),e._UZ(45,"i",337),e.qZA(),e.TgZ(46,"ng-select",341),e.YNc(47,Ot,2,2,"ng-option",342),e.qZA()(),e.YNc(48,Zt,41,66,"div",101),e.YNc(49,It,41,66,"div",101),e.TgZ(50,"div",343),e.YNc(51,Wt,4,4,"button",344),e.TgZ(52,"button",52),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeAddOrEditModel())}),e._uU(53),e.ALo(54,"translate"),e.qZA()()()()()()()()()}if(2&i){const t=e.oxw();e.xp6(5),e.Oqu(t.popTitleLableName),e.xp6(6),e.Q6J("ngIf",t.editErrorMessage&&t.editErrorMessage.length>0||t.editSuccessMessage&&t.editSuccessMessage.length>0),e.xp6(1),e.Q6J("formGroup",t.editWebhookForm),e.xp6(4),e.Q6J("ngClass",e.WLB(47,S,t.viewPurchasePermission||!t.isAddOrUpdateWebhook,t.managePurchasePermission&&t.isAddOrUpdateWebhook)),e.xp6(3),e.Oqu(e.lcZ(20,29,"Webhook URL")),e.xp6(5),e.s9C("placeholder",e.lcZ(25,31,"Enter Webhook URL")),e.Q6J("ngClass",e.VKq(50,qt,t.editWebhookForm.controls.url.touched&&t.editWebhookForm.controls.url.invali
1d||t.urlErrorMessage))("disabled",!t.isDisableWebhook)("tooltip",t.urlErrorMessage?t.urlErrorMessage:t.editWebhookForm.controls.url.touched&&null!=t.editWebhookForm.controls.url.errors&&t.editWebhookForm.controls.url.errors.required?"Webhook URL is required.":t.editWebhookForm.controls.url.touched&&t.editWebhookForm.controls.url.errors?e.lcZ(26,33,t.editWebhookForm.controls.url.errors):""),e.xp6(4),e.Q6J("ngClass",e.WLB(52,S,t.viewPurchasePermission||!t.isAddOrUpdateWebhook,t.managePurchasePermission&&t.isAddOrUpdateWebhook)),e.xp6(3),e.Oqu(e.lcZ(32,35,"Secret")),e.xp6(2),e.Q6J("appTooltip",t.secretTitle),e.xp6(2),e.s9C("placeholder",e.lcZ(36,37," Enter Secret Value ")),e.Q6J("disabled",!t.isAddOrUpdateWebhook),e.xp6(2),e.Q6J("ngIf",t.showVersionDropdown),e.xp6(1),e.Q6J("ngClass",e.WLB(55,S,t.viewPurchasePermission,t.managePurchasePermission)),e.xp6(3),e.lnq("",e.lcZ(42,39,"Skip")," ",e.lcZ(43,41,"Exclude")," ",e.lcZ(44,43,"Numbers")," ?"),e.xp6(4),e.Q6J("appTooltip",t.isSkipExcludeNumbrsToolTipMsg),e.xp6(1),e.Q6J("addTag",!0)("clearable",!1)("searchable",!1)("placeholder","Do you want to skip the excluded numbers?"),e.xp6(1),e.Q6J("ngForOf",t.skipExcludeNumberOptionList),e.xp6(1),e.Q6J("ngIf",!t.isFutureAndPastDate&&!t.isAddOrUpdateWebhook),e.xp6(1),e.Q6J("ngIf",t.isFutureAndPastDate&&!t.isAddOrUpdateWebhook),e.xp6(2),e.Q6J("ngIf",t.managePurchasePermission),e.xp6(2),e.Oqu(e.lcZ(54,45,"CANCEL"))}}function Bt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t.testWebhookErrorMessage)}}function Rt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t.testWebhookSuccessMessage)}}function Yt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",345)(1,"a",346),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.testWebhookErrorMessage="")}),e._uU(2,"\xd7"),e.qZA(),e.YNc(3,Bt,2,1,"span",101),e.YNc(4,Rt,2,1,"span",101),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("ngClass",e.WLB(3,W,t.testWebhookErrorMessage&&t.testWebhookErrorMessage.length>0,t.testWebhookSuccessMessage&&t.testWebhookSuccessMessage.length>0)),e.xp6(3),e.Q6J("ngIf",t.testWebhookErrorMessage&&t.testWebhookErrorMessage.length>0),e.xp6(1),e.Q6J("ngIf",t.testWebhookSuccessMessage&&t.testWebhookSuccessMessage.length>0)}}function Jt(i,o){if(1&i&&(e.TgZ(0,"div",378)(1,"strong"),e._uU(2,"Test Result :"),e.qZA(),e.TgZ(3,"span",224),e._uU(4),e.qZA()()),2&i){const t=e.oxw();e.xp6(3),e.Q6J("ngClass",t.isSuccessTest?"status-success":"status-failed"),e.xp6(1),e.hij(" ",t.isSuccessTest?"Success":"Failed"," ")}}function Kt(i,o){1&i&&(e.TgZ(0,"div",378)(1,"strong"),e._uU(2,"Test Result :"),e.qZA(),e._UZ(3,"div",379),e.qZA())}function Qt(i,o){if(1&i&&(e.TgZ(0,"pre",380),e._uU(1),e.ALo(2,"json"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.testRequestBody))}}function Ht(i,o){1&i&&e._UZ(0,"div",380)}function Gt(i,o){if(1&i&&(e.TgZ(0,"span",381),e._uU(1," Status: "),e.TgZ(2,"strong"),e._uU(3),e.qZA()()),2&i){const t=e.oxw();e.Q6J("ngClass",t.isSuccessTest?"status-success":"status-failed"),e.xp6(3),e.Oqu(t.isSuccessTest||200==t.statusCode?"200 OK":t.statusCode||"400 Bad Request")}}function jt(i,o){1&i&&(e.TgZ(0,"span",382),e._uU(1," Status: "),e.qZA())}function Vt(i,o){if(1&i&&(e.TgZ(0,"pre",380),e._uU(1),e.ALo(2,"json"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.testResponseBody))}}function zt(i,o){1&i&&e._UZ(0,"div",380)}function Xt(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.hij("+",t.leadData.countryCode,"-")}}function $t(i,o){if(1&i&&(e.TgZ(0,"td"),e.YNc(1,Xt,2,1,"span",101),e._uU(2),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.leadData.countryCode),e.xp6(1),e.Oqu(t.leadData.number)}}function eo(i,o){1&i&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function to(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const t=e.oxw(3);e.xp6(1),e.hij("+",t.leadData.secondaryCountryCode,"-")}}function oo(i,o){if(1&i&&(e.TgZ(0,"td"),e.YNc(1,to,2,1,"span",101),e._uU(2),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.leadData.secondaryCountryCode),e.xp6(1),e.Oqu(t.lead
1Data.secondaryNumber)}}function no(i,o){1&i&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function io(i,o){if(1&i&&(e.ynx(0),e._uU(1),e._UZ(2,"br"),e.BQk()),2&i){const t=o.$implicit;e.xp6(1),e.hij(" ",t,"")}}function ao(i,o){if(1&i){const t=e.EpF();e.ynx(0),e.YNc(1,io,3,1,"ng-container",133),e.TgZ(2,"a",392),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).index,s=e.oxw(2);return e.KtG(s.toggleExpand(a))}),e._uU(3,"Read Less"),e.qZA(),e.BQk()}if(2&i){const t=e.oxw(3).index,n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.splitText(n.getDynamicValue(null==n.customerComponentList[t]?null:n.customerComponentList[t].label,n.leadData)[0]))}}function so(i,o){if(1&i){const t=e.EpF();e._uU(0),e.ALo(1,"slice"),e.TgZ(2,"a",392),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).index,s=e.oxw(2);return e.KtG(s.toggleExpand(a))}),e._uU(3,"Read More"),e.qZA()}if(2&i){const t=e.oxw(3).index,n=e.oxw(2);e.hij(" ",e.Dn7(1,1,n.getDynamicValue(null==n.customerComponentList[t]?null:n.customerComponentList[t].label,n.leadData)[0],0,25),"... ")}}function ro(i,o){if(1&i&&(e.ynx(0),e.YNc(1,ao,4,1,"ng-container",168),e.YNc(2,so,4,5,"ng-template",null,391,e.W1O),e.BQk()),2&i){const t=e.MAs(3),n=e.oxw(2).index,a=e.oxw(2);e.xp6(1),e.Q6J("ngIf",a.isExpanded(n))("ngIfElse",t)}}function lo(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw(2).index,n=e.oxw(2);e.xp6(1),e.hij(" ",n.getDynamicValue(null==n.customerComponentList[t]?null:n.customerComponentList[t].label,n.leadData)[0]," ")}}function co(i,o){if(1&i&&(e.ynx(0),e._uU(1),e._UZ(2,"br"),e.BQk()),2&i){const t=o.$implicit;e.xp6(1),e.hij(" ",t,"")}}function po(i,o){if(1&i){const t=e.EpF();e.ynx(0),e.YNc(1,co,3,1,"ng-container",133),e.TgZ(2,"a",392),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).index,s=e.oxw(2);return e.KtG(s.toggleExpand(a+1))}),e._uU(3,"Read Less"),e.qZA(),e.BQk()}if(2&i){const t=e.oxw(4).index,n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.splitText(n.getDynamicValue(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label,n.leadData)[0]))}}function _o(i,o){if(1&i){const t=e.EpF();e._uU(0),e.ALo(1,"slice"),e.TgZ(2,"a",392),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).index,s=e.oxw(2);return e.KtG(s.toggleExpand(a+1))}),e._uU(3,"Read More"),e.qZA()}if(2&i){const t=e.oxw(4).index,n=e.oxw(2);e.hij(" ",e.Dn7(1,1,n.getDynamicValue(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label,n.leadData)[0],0,25),"... ")}}function go(i,o){if(1&i&&(e.ynx(0),e.YNc(1,po,4,1,"ng-container",168),e.YNc(2,_o,4,5,"ng-template",null,393,e.W1O),e.BQk()),2&i){const t=e.MAs(3),n=e.oxw(3).index,a=e.oxw(2);e.xp6(1),e.Q6J("ngIf",a.isExpanded(n+1))("ngIfElse",t)}}function ho(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw(3).index,n=e.oxw(2);e.xp6(1),e.hij(" ",n.getDynamicValue(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label,n.leadData)[0]," ")}}function uo(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"th",389),e._uU(2),e.qZA(),e.TgZ(3,"td",390),e.YNc(4,go,4,2,"ng-container",101),e.YNc(5,ho,2,1,"ng-container",101),e.qZA(),e.BQk()),2&i){const t=e.oxw(2).index,n=e.oxw(2);e.xp6(2),e.Oqu(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label),e.xp6(2),e.Q6J("ngIf",n.shouldShowSeeMore(n.getDynamicValue(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label,n.leadData)[0])),e.xp6(1),e.Q6J("ngIf",!n.shouldShowSeeMore(n.getDynamicValue(null==n.customerComponentList[t+1]?null:n.customerComponentList[t+1].label,n.leadData)[0]))}}function mo(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"tr")(2,"th",389),e._uU(3),e.qZA(),e.TgZ(4,"td",390),e.YNc(5,ro,4,2,"ng-container",101),e.YNc(6,lo,2,1,"ng-container",101),e.qZA(),e.YNc(7,uo,6,3,"ng-container",101),e.qZA(),e.BQk()),2&i){const t=e.oxw().index,n=e.oxw(2);e.xp6(3),e.Oqu(null==n.customerComponentList[t]?null:n.customerComponentList[t].label),e.xp6(2),e.Q6J("ngIf",n.shouldShowSeeMore(n.getDynamicValue(null==n.customerComponentList[t]?null:n.customerComponentList[t].label,n.leadData)[0])),e.xp6(1),e.Q6J("ngIf",!n.shouldShowSeeMore(n.getDynamicValue(null==n.customerComponentList[t]?null:n.customerComponentList[t].label,n.leadData)[0])),e.xp6(1),e.Q6J("ngIf",n.customerComponentList[t+1])}}function bo(i,o){if(1&i&&(e.ynx(0),e.YNc(1,mo,8,4,"ng-container",101),e.BQk()),2&i){const t=o.index;e.xp6(1),e.Q6J("ngIf",t%2==0)}}function fo(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",383)(1,"div",42)(2,"div",43)(3,"div",44)(4,"h5",384),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"button",46),e.NdJ("click",function(a){e.CHM(t);const s=e.oxw();return e.KtG(s.onClose(a))}),e.TgZ(8,"span",32),e._uU(9,"\xd7"),e.qZA()()(),e.TgZ(10,"div",48)(11,"div",385)(12,"table",386)(13,"tr")(14,"th",387),e._uU(15,"First Name"),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA(),e.TgZ(18,"th",387),e._uU(19,"Last Name"),e.qZA(),e.TgZ(20,"td"),e._uU(21),e.qZA()(),e.TgZ(22,"tr")(23,"th",387),e._uU(24,"Phone No."),e.qZA(),e.YNc(25,$t,3,2,"td",101),e.YNc(26,eo,2,0,"td",101),e.TgZ(27,"th",387),e._uU(28,"Alternative Phone No."),e.qZA(),e.YNc(29,oo,3,2,"td",101),e.YNc(30,no,2,0,"td",101),e.qZA(),e.YNc(31,bo,2,1,"ng-container",133),e.TgZ(32,"tr")(33,"th",387),e._uU(34," Assign Lead To "),e.qZA(),e.TgZ(35,"td",388),e._uU(36),e.qZA()()()()()()()()}if(2&i){const t=e.oxw();
1e.xp6(5),e.Oqu(e.lcZ(6,9,"Lead Information")),e.xp6(12),e.Oqu(t.leadData.firstName?t.leadData.firstName:"-"),e.xp6(4),e.Oqu(t.leadData.lastName?t.leadData.lastName:"-"),e.xp6(4),e.Q6J("ngIf",t.leadData.number),e.xp6(1),e.Q6J("ngIf",null==t.leadData.number||null==t.leadData.number),e.xp6(3),e.Q6J("ngIf",t.leadData.secondaryNumber),e.xp6(1),e.Q6J("ngIf",null==t.leadData.secondaryNumber||null==t.leadData.secondaryNumber),e.xp6(1),e.Q6J("ngForOf",t.customerComponentList),e.xp6(5),e.Oqu(t.leadData.deviceList?t.leadData.deviceList:"-")}}function xo(i,o){1&i&&(e.TgZ(0,"div",394),e._UZ(1,"i",102),e._uU(2," This field is required. "),e.qZA())}function Co(i,o){if(1&i&&(e.TgZ(0,"div",395),e._UZ(1,"i",102),e._uU(2),e.qZA()),2&i){const t=e.oxw();e.xp6(2),e.hij(" ",t.lockConfirmationError," ")}}const vo=function(){return["/connectors"]},Ao=function(i,o){return{"is-invalid":i,"invalid-border":o}},To=f.N.sandBoxTokenUrl,G=f.N.sandboxHost;class Z{renderer;connectorService;translate;commonService;webhookService;elementRef;subscriptionService;datePipe;spinner;leadService;pagerService;router;changeDetectorRef;customerComponentService;layoutService;formBuilder;sandBoxFeature="SandBox";fromDateModal=null;toDateModal=null;tomorrow=r()();isDisable=!1;fromDate;toDate;diffInDays;error;isConfiguration=!1;dateFilterMesasge="";managePermission;viewPermission;tempWindow;statusMessage;isGeneratingApiToken=!1;closeUpdateWebhookId;closewebhooklogsmodel;closewebhookresponsemodel;updateWebhookError;userRole;tokenValue;editWebhookForm;lockedInSandboxPeriodForm;isSkipExcludeNumbrsToolTipMsg="";secretTitle="";webhookTitle="";skipExcludeNumberOptionList=[{key:"Yes",value:!0},{key:"No",value:!1}];btnCreateWebhookDisable=!1;showLoader=!1;newWebhook={};isTestButton=!1;btnUpdateWebhookDisable=!1;statusCode;isTestPending=!1;isSuccessTest=!1;isFailedTest=!1;testWebhookErrorMessage;testWebhookSuccessMessage;testWebhookUrlStr="";testRequestBody=null;testResponseBody=null;isNewSanboxConfiguration=!0;isPageLoading=!0;secret;alertEmail;webhookApiSandBoxConfigurationForm;customerId;localTimeZone;dateFormat;timeFormat;dateTimeFormat;durationFormat;isSelectDate=!1;daysBeforeFromDate=r()();daysAfterFromDate=r()();daysBeforeToDate=r()();daysAfterToDate=r()();saveWebhookApiSandboxForm;isApiConfiguration=!1;isWebhookAccess;emailValidTooltip;isUpdateButton=!1;editErrorMessage;editSuccessMessage;originalText;resendWebhookForm;inputText;subscriptionType;isWebhookPopUp=!1;isTable=!1;today=r()();toTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),12,0,0);fromTimeFormat;btnDisable=!1;toTimeFormat;successMessage;fromTimeId;toTimeId;minToDate;sanboxConfiguration;webhookSelectedDate;webhookToDateModal;webhookFromDate;webhookToDate;webhookMaxToDate;webhookMaxFromDate;webhookIsTabLoaded;webhookFromTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),0,0,0);webhookToTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),12,0,0);resendFromTime;resendToTime;previousFromTime;previousToTime;webhookFromDateModal;webhookFromTimeFormat;webhookToTimeFormat;webhookMinToDate;fromCallTime;toCallTime;upperCaseDateFormat;timedateformat;start=0;length=10;currentPage=0;totalRecords=0;srNoCounterStart;logsFilterDate;isTokenInvalid=!0;apiConfiguration;apiWebhookSandboxLogs=[];isSandBoxLog=!1;formattedJson;copyBtnText="Copy to Clipboard";responsePayloads;requestedPayloads;formattedRequestJson;SandBoxServiceList=["API","Webhook"];sandBoxStatusList=["Success","Failed","Skipped"];sandboxlogStatus;isFromDateChange=!1;isToDateChange=!1;selectedService;selectedDateAfterApply;selectedStatus;selectedDateLog="";minToDateLog;sandboxlogstatusSettings={};sandboxlogServiceSettings={};isUrlNameSearch;urlName;fromDateModalLog;sandboxLeadData;isSandboxLeadData=!0;isDeletedAlLead=!1;sanboxLogCreatedDate;diffInDaysForLog;selectedDate=null;logCreatedDate;logCreatedDateX;logCreatedFromDate;logCreatedToDate;selectedDateTitle="";isCrossIcon=!1;serviceList=["API","Webhook"];serviceSettings={};versionList=["Version 2.0","Version 2.1","Version 2.2","Version 2.3"];
1versionSettings={};selectVersion;showVersionDropdown=!1;versionListOptions=[{id:"2.0",version:"Version 2.0"},{id:"2.2",version:"Version 2.2"},{id:"2.3",version:"Version 2.3"}];logUrl;isLogUrl=!1;selectedcallServiceStr="";searchColName;searchColValue;leadDataList=[];isLogTab=!1;pager={};isActionPopupClose=!1;leadData;isPagination=!1;startDateMinDate=null;startDateMaxDate=null;endDateMinDate=null;endDateMaxDate=null;mainSubscriptionEndDate=null;isDateRistrictedChange=!1;isFromDateInvalid=!1;isToDateInvalid=!1;skipExcludeNumberValue;toResendDateTime;fromResendDateTime;sandboxHost="";sandboxApiExample="";isFromDate=!1;isTODate=!1;isSearchFilter=!0;viewandBox=!1;isValidResponse=!0;fromDateInput;toDateInput;isFutureAndPastDate=!1;interval;customerComponentList=[];sandboxCongigurationList=[];activeTab="configure";managePurchasePermission=!1;viewPurchasePermission=!1;manageAvailablePermission=!1;viewAvailablePermission=!1;viewMyLead=!1;notificationMesssage;notificationCode;isLeadModuleAvailable=!1;errorMessage;expandedIndexes=new Set;isSandboxLogTab;isLockedInFromDate=!1;isLockedInToDate=!1;deleteLogInfoMsg;leadDataInfoMsg;webhookList=[];isWebhooksAvailable;logsTabPane;apiFeature="Api";webhookFeature="Webhook";isAddOrUpdateWebhook=!0;isEnable=!1;isDisableWebhook=!1;isFilterLog=!1;popTitleLableName;urlErrorMessage;selectedFutureDate;isPrerequisitesVisible=!1;isSandboxLockChecked=!1;sandboxLockConfirmText="";lockConfirmationError="";isCheckboxError=!1;isTextError=!1;dynamicDates={pastStart:r()().subtract(15,"days"),pastEnd:r()().subtract(1,"days"),futureStart:r()(),futureEnd:r()().add(14,"days"),mixedPastStart:r()().subtract(3,"days"),mixedPastEnd:r()().subtract(1,"days"),mixedFutureStart:r()(),mixedFutureEnd:r()().add(11,"days")};faqList=[{question:"What is the maximum number of days of data that can be fetched in the Sandbox?",answer:"The <strong>Sandbox Environment</strong> is a free testing environment provided to help you integrate and test Callyzer APIs and Webhooks before moving to production.<br><strong>Note:</strong> You will need a developer with technical skill who can do the API / Webhooks integration (coding and testing) into your source system / software where you need the Callyzer data. The technical details of API / Webhook can be found from Callyzer API documentation: <a href='https://developers.callyzer.co/' target='_blank' class='text-orange'>https://developers.callyzer.co/</a>",isOpen:!0},{question:"What is the 15-day lock-in period about?",answer:"As Sandbox is a free testing environment and we provide real time call log data, you must select a <strong>15-day lock-in period</strong> and you will only be able to fetch call log data within this selected 15-day lock-in period <strong>via API / Webhook</strong>.",isOpen:!0},{question:"If I am using API / Webhook in the Sandbox environment to get call log data, will I get real call log data of my team?",answer:"<strong>Yes</strong>, you can fetch real call log data of your team within the selected 15-day lock-in period by using API / Webhook in the Sandbox environment.",isOpen:!0},{question:"What is the maximum number of days of data that can be fetched in the Sandbox?",answer:"As <strong>Sandbox</strong> is a free testing environment and we provide real time call log data, you must select a <strong>15-day lock-in period</strong> and you will only be able to fetch call log data within the selected 15-day range via API.<br>Until this <strong>15-day lock-in period is going on</strong>, we will push the call log data on Webhook <strong>automatically</strong> (real time) after each call is completed, <strong>after this 15-day lock-in period is over</strong>, and still if you want to push the call log data on Webhook, you will have to <strong>manually</strong> resend the call log data by using <strong>\u201cResend Request\u201d</strong> link available.<br><strong>\u201cResend Request\u201d</strong> link will allow you to resend the call log data on Webhook between this 15-day lock-in period only, at a time you can resend call log data in a chunk of 12 hours.",isOpen:!0},{question:"Can I change the 15-day lock-in period once set?",answer:"No, once the 15-day lock-in period is set, it cannot be changed.",isOpen:!0},{question:"If I am using the API in the Sandbox environment to save / create leads, will it create real leads in Callyzer?",answer:"Yes, if you are using an <strong>API</strong> to save / create leads using the Sandbox environment, it will create <strong>real leads in Callyzer</strong> with only usage restriction that you will be able to save / create up to 10 leads in Callyzer.",isOpen:!0},{question:"What if I want to save / create more than 10 leads in Callyzer using the API in the Sandbox environment?",answer:"You will need to first delete those previous 10 leads in Callyzer that you saved / created using <strong>API</strong> in the Sandbox environment and then you can save / create other 10 leads in Callyzer.",isOpen:!0},{question:"What changes I have to make in my API / Webhook integration when I move from Sandbox environment to production environment?",answer:"When you move from Sandbox environment to production environment, you have to only change the Sandbox API token key to production API token key and the Sandbox API base URL to production API base URL.",isOpen:!0}];onGoToDateSelection(){this.isPrerequisitesVisible=!1,this.commonService.scrollToTop()}onBackToPrerequisites(){this.isPrerequisitesVisible=!0,this.commonService.scrollToTop()}toggleFaq(o){this.faqList[o].isOpen=!this.faqList[o].isOpen}get expectedLockText(){return this.fromDateModal&&this.toDateModal?`${this.datePipe.transform(this.fromDateModal.startDate,"dd-MM-yyyy")} to ${this.datePipe.transform(this.toDateModal.endDate,"dd-MM-yyyy")}`:""}onLockItClick(){this.isCheckboxError=!1,this.isTextError=!1,this.lockConfirmationError="",this.sandboxLockConfirmText="",this.isSandboxLockChecked=!1,this.isFromDateInvalid=!this.fromDateModal,this.isToDateInvalid=!this.toDateModal,!this.isFromDateInvalid&&!this.isToDateInvalid&&document.getElementById("openLockConfirmationModal")?.click()}confirmLockDates(){if(this.isCheckboxError=!this.isSandboxLockChecked,this.isTextError=this.sandboxLockConfirmText!==this.expectedLockText,""===this.sandboxLockConfirmText?this.lockConfirmationError="This field is required.":this.isTextError?this.lockConfirmationError="Please enter the exact text in order to continue."
1:this.lockConfirmationError="",!this.isCheckboxError&&!this.isTextError){document.getElementById("closeLockConfirmationModal")?.click();let o=this.fromDateModal.startDate.clone().subtract(1,"days").format("YYYY-MM-DD")+"T18:30:00",t=this.toDateModal.endDate.format("YYYY-MM-DD")+"T18:29:59";this.spinner.show(),this.connectorService.lockSanboxDateRange(o,t).subscribe({next:n=>{this.spinner.hide();let a=r()().startOf("day"),s=this.fromDateModal.startDate.clone().startOf("day");s.isSame(a)&&(this.isNewSanboxConfiguration=!1,this.getApiWebhookSanboxConnector(),this.activeTab="configure"),g().fire({title:"Locked",text:"Dates locked successfully.",icon:"success",confirmButtonColor:"#FFA500"}).then(()=>{this.changeDetectorRef.detectChanges(),s.isSame(a)?this.router.navigateByUrl("/connectors/apiWebhookSandBox"):this.router.navigateByUrl("/connectors")})},error:n=>{this.spinner.hide(),this.errorMessage=n.error?.message||"Failed to lock dates."}})}}onConfirmTextChange(){this.lockConfirmationError="",this.isTextError=!1}onCheckboxChange(){this.isCheckboxError=!1}constructor(o,t,n,a,s,p,b,q,E,I,Uo,Lo,Fo,Wo,qo,No){this.renderer=o,this.connectorService=t,this.translate=n,this.commonService=a,this.webhookService=s,this.elementRef=p,this.subscriptionService=b,this.datePipe=q,this.spinner=E,this.leadService=I,this.pagerService=Uo,this.router=Lo,this.changeDetectorRef=Fo,this.customerComponentService=Wo,this.layoutService=qo,this.formBuilder=No}ngOnInit(){var o=this;return(0,k.Z)(function*(){o.userRole=o.commonService.getCookie(_.t.COOKIE_USER_ROLE),o.initializeResendWebhookForm(),o.initializeForm(),o.initializerLockedInPeroid(),o.getNotificationMessageOnLeadSubscriptionExpired(),o.checkIfLeadModuleIsAvailable(),o.getApiWebhookSanboxConnector(),o.dropDownSetting(),o.checkPermissions(),o.setFormat(),o.webhookTitle=o.translate.instant("Webhooks facilitates communication with third-party applications by sending HTTP POST notification every time a call log is created or updated in Callyzer."),o.secretTitle=o.translate.instant("Enter a Secret for the webhook endpoint. The secret is used to validate that the webhook is from Callyzer. Do not expose the secret publicly. When your webhook secret is set, It is passed with each request under the X-Callyzer-Signature header that you need to validate at your end"),o.isSkipExcludeNumbrsToolTipMsg=o.translate.instant("Do you wish to receive webhook requests for excluded numbers or not"),o.getSandBoxLeadData(),o.setFromToTimeAndFormatAndLoadContent(),o.getDynamicCustomerComponent()})()}getNotificationMessageOnLeadSubscriptionExpired(){this.layoutService.checkAndGetNotificationMessageOnLeadSubscriptionExpired().subscribe({next:o=>{null!=o&&(this.notificationCode=o.data,this.notificationMesssage=o.message)},error:o=>{}})}getApiWebhookSanboxConnector(){const o=!!this.apiConfiguration;this.connectorService.getSanBoxConfiguration().subscribe({next:t=>{if(null!=t.data){if(this.customerId=t.data.customerId||this.commonService.getCookie(_.t.COOKIE_ENCRYPTED_ID),this.isNewSanboxConfiguration=!0,this.isPrerequisitesVisible=!0,this.fromDateModal=null,this.toDateModal=null,this.isWebhooksAvailable=!1,this.deleteLogInfoMsg="The logs will be deleted "+(t.data.setting?.no_of_days_before_delete_sandbox_logs||"")+" days after being received.",this.leadDataInfoMsg="You can add upto "+(t.data.setting?.lead_limit||"")+" leads in the sandbox environment.",null!=t.data.configDetail&&null!=t.data.configDetail){if(this.sanboxConfiguration=t.data.configDetail,this.startDateMinDate=r()(this.sanboxConfiguration.FROM_DATE),this.startDateMaxDate=r()(this.sanboxConfiguration.TO_DATE),this.isNewSanboxConfiguration=!1,this.isApiConfiguration=!1,this.startDateMinDate&&this.startDateMinDate.isAfter(r()(),"day"))return void this.router.navigate(["/notAuthorized"]);if((this.startDateMinDate.isAfter(r()(),"day")&&this.startDateMaxDate.isAfter(r()(),"day")||this.startDateMinDate.isBefore(r()(),"day")&&this.startDateMaxDate.isBefore(r()(),"day"))&&(this.isFutureAndPastDate=!0,this.webhookFromDate=this.startDateMinDate,this.startDateMinDate&&(this.resendWebhookForm.controls.webhookToDateModal.patchValue(null),this.resendWebhookForm.controls.webhookFromDateModal.patchValue(null))),null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG){this.isApiConfiguration=!1,this.isWebhooksAvailable=!0,this.webhookList=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG,this.webhookList=this.webhookList.map(s=>({...s,STATUS:!0===s.STATUS||"true"===s.STATUS||null==s.STATUS})),this.editWebhookForm.controls.url.setValue(this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].URL),this.editWebhookForm.controls.secret.setValue(this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].SECRET);let n=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].VERSION;n||(n="2.0"),this.editWebhookForm.controls.version.setValue(n);const a=!0===this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].IS_SKIP_EXCLUDE_NUM||"true"===this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].IS_SKIP_EXCLUDE_NUM;this.editWebhookForm.controls.isSkipExcludeNumber.setValue(a),null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].FROM_DATE_TIME&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].TO_DATE_TIME&&(this.resendWebhookForm.controls.webhookFromDateModal.patchValue(null),this.resendWebhookForm.controls.webhookToDateModal.patchValue(null))}else this.webhookList=[],this.subscriptionService.getCurrentSubscriptionByFeature("CallSync",this.customerId).subscribe({next:n=>{n&&n.data&&n.data.endDateTime&&(this.mainSubscriptionEndDate=r()(new Date(n.data.endDateTime)),this.resetRestrictions())}});null!=this.sanboxConfiguration.SANDBOX_API_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_API_CONFIG?(this.sandboxHost=G+"api/v<api-version>/",this.sandboxApiExample=G+"api/v2.1/call-log/history",this.isApiConfiguration=!0,this.apiConfiguration=this.sanboxConfiguration.SANDBOX_API_CONFIG[0],this.isDisable=!0,this.apiConfiguration.CREATED_DATE=r()(this.apiConfiguration.CREATED_DATE).format(this.upperCaseDateFormat)+" | "+r()(this.apiConfiguration.CREATED_DATE).format(this.timeFormat)):(this.isDisable=!1,this.apiConfiguration=null),this.resendWebhookForm.controls.webhookFromDateModal.setValue({startDate:this.startDateMinDate,endD
1ate:this.startDateMinDate}),this.resendWebhookForm.controls.webhookToDateModal.setValue({startDate:this.startDateMinDate,endDate:this.startDateMinDate})}else this.webhookList=[],this.subscriptionService.getCurrentSubscriptionByFeature("CallSync",this.customerId).subscribe({next:n=>{n&&n.data&&n.data.endDateTime&&(this.mainSubscriptionEndDate=r()(new Date(n.data.endDateTime)),this.resetRestrictions())}});this.isGeneratingApiToken&&!o&&this.apiConfiguration&&(this.successMessage="API saved successfully.",this.commonService.scrollToTop()),this.isGeneratingApiToken=!1}this.isPageLoading=!1,this.changeDetectorRef.detectChanges()},error:()=>{this.isPageLoading=!1}})}setFormat(){this.localTimeZone=this.commonService.getLocalTimeZone(),this.dateFormat=this.commonService.getDateFormat(),this.upperCaseDateFormat=this.dateFormat.toUpperCase(),this.timeFormat=this.commonService.getTimeFormat(),this.dateTimeFormat=this.commonService.getDateTimeFormat(),this.durationFormat=this.commonService.getDurationFormat(),this.timedateformat=this.upperCaseDateFormat+" "+this.timeFormat}onFromDateChanged(o,t){if(this.daysAfterFromDate=null,this.isFromDateInvalid=!1,t&&null!=o?.startDate){const n=o.startDate;let a=this.mainSubscriptionEndDate?this.mainSubscriptionEndDate.clone():null,s=n.clone().add(14,"days");this.endDateMinDate=n.clone().startOf("day"),a&&a.isBefore(s)?this.endDateMaxDate=a.clone().endOf("day"):this.endDateMaxDate=s.clone().endOf("day"),this.isDateRistrictedChange=!0,this.isLockedInFromDate=t,this.lockedInSandboxPeriodForm.controls.lockedInToDate.setValue({startDate:this.endDateMaxDate.clone(),endDate:this.endDateMaxDate.clone()}),this.toDateModal={startDate:this.endDateMaxDate.clone(),endDate:this.endDateMaxDate.clone()},this.changeDetectorRef.detectChanges()}else this.isDateRistrictedChange||this.resetRestrictions()}onToDateChanged(o,t){if(this.isToDateInvalid=!1,this.isLockedInFromDate||t||null==o?.startDate)this.isDateRistrictedChange||this.resetRestrictions();else{const n=o.endDate;let a=n.clone().subtract(14,"days").startOf("day"),s=r()().startOf("day");this.startDateMaxDate=n.clone().endOf("day"),a.isAfter(s)?this.startDateMinDate=a:this.startDateMinDate=s,this.isDateRistrictedChange=!0,this.lockedInSandboxPeriodForm.controls.lockedInFromDate.setValue({startDate:this.startDateMinDate.clone(),endDate:this.startDateMinDate.clone()}),this.fromDateModal={startDate:this.startDateMinDate.clone(),endDate:this.startDateMinDate.clone()}}}resetRestrictions(){this.isNewSanboxConfiguration?(this.startDateMinDate=r()(),this.startDateMaxDate=this.mainSubscriptionEndDate?this.mainSubscriptionEndDate.clone():null,this.endDateMinDate=r()(),this.endDateMaxDate=this.mainSubscriptionEndDate?this.mainSubscriptionEndDate.clone():null):(this.startDateMinDate=null,this.startDateMaxDate=null,this.endDateMinDate=null,this.endDateMaxDate=null)}SaveDateFilterInConnector(){if(this.isToDateInvalid=!1,null==this.lockedInSandboxPeriodForm.controls.lockedInFromDate.value&&null==this.lockedInSandboxPeriodForm.controls.lockedInFromDate.value&&null==this.lockedInSandboxPeriodForm.controls.lockedInFromDate.value.startDate&&null==this.lockedInSandboxPeriodForm.controls.lockedInFromDate.value.startDate&&(this.isFromDateInvalid=!0),null==this.lockedInSandboxPeriodForm.controls.lockedInToDate.value&&null==this.lockedInSandboxPeriodForm.controls.lockedInToDate.value&&null==this.lockedInSandboxPeriodForm.controls.lockedInToDate.value.endDate&&null==this.lockedInSandboxPeriodForm.controls.lockedInToDate.value.endDate&&(this.isToDateInvalid=!0),!this.isFromDateInvalid&&!this.isFromDateInvalid){this.isFromDateInvalid=!1,this.isToDateInvalid=!1;let o=this.fromDateModal.startDate.clone().subtract(1,"days").format("YYYY-MM-DD")+"T18:30:00",t=this.toDateModal.endDate.format("YYYY-MM-DD")+"T18:29:59";g().fire({html:"The selected dates will not be changed once locked.",text:"",icon:"warning",showCancelButton:!0,width:"550px",confirmButtonText:this.translate.instant("Yes, Lock it!"),cancelButtonText:this.translate.instant("Cancel"),customClass:{cancelButton:"swal-cancel-button"}}).then(n=>
1{n.value?this.connectorService.lockSanboxDateRange(o,t).subscribe(a=>{let s=r()().startOf("day");this.fromDateModal.startDate.clone().startOf("day").isSame(s)?(this.isConfiguration=!0,this.isNewSanboxConfiguration=!1,this.isApiConfiguration=!1,this.getApiWebhookSanboxConnector(),this.dateFilterMesasge="You have locked the period from",this.router.navigateByUrl("/connectors/apiWebhookSandBox")):this.router.navigateByUrl("/connectors")}):n.dismiss==g().DismissReason.cancel&&(this.isFromDateInvalid=!0)})}}checkPermissions(){try{const o=this.commonService.getPermission();o.includes("PER_ALL_ACCESS")||o.includes("PER_MANAGE_PURCHASED_CONNECTOR")?this.managePurchasePermission=!0:(o.includes("PER_ALL_ACCESS")||!o.includes("PER_MANAGE_PURCHASED_CONNECTOR")&&o.includes("PER_VIEW_PURCHASED_CONNECTOR"))&&(this.viewPurchasePermission=!0,this.viewAvailablePermission=!0),o.includes("PER_ALL_ACCESS")||o.includes("PER_MANAGE_AVAILABLE_CONNECTOR")?this.manageAvailablePermission=!0:o.includes("PER_ALL_ACCESS")||!o.includes("PER_MANAGE_AVAILABLE_CONNECTOR")&&o.includes("PER_VIEW_AVAILABLE_CONNECTOR")?this.viewAvailablePermission=!0:(o.includes("PER_MANAGE_MYLEAD")||o.includes("PER_VIEW_MYLEAD"))&&(this.viewMyLead=!0)}catch{}}generateToken(){this.isGeneratingApiToken=!0;if(this.tempWindow=window.open(To,"_blank","width=500,height=450,left=200,top=200"),this.tempWindow){const t=this.tempWindow.document;this.renderer.setStyle(t.body,"background-color","lightgray")}else console.error("Failed to open the temporary window."),this.isGeneratingApiToken=!1;this.pageRefresh()}pageRefresh(){setTimeout(()=>{null!=this.tempWindow.frames?this.pageRefresh():this.getApiWebhookSanboxConnector()},300)}initializeForm(){this.resetTestFlag(),this.editWebhookForm=new d.cw({url:new d.NI("",[d.kI.required]),secret:new d.NI(""),isSkipExcludeNumber:new d.NI(!0),version:new d.NI("2.3")}),this.showLoader=!1,this.btnCreateWebhookDisable=!1,this.statusMessage=null,this.statusCode=null,this.resendFromTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),0,0,0),this.resendToTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),12,0,0),this.getApiWebhookSanboxConnector(),this.setFromToTimeAndFormatAndLoadContent(),this.webhookSelectedDate={startDate:r()(new Date),endDate:r()(new Date)},this.webhookFromDateModal=this.webhookSelectedDate,this.webhookToDateModal=this.webhookSelectedDate,this.webhookFromDate=null,this.webhookToDate=null,this.isAddOrUpdateWebhook=!1,this.isFutureAndPastDate||(this.resendWebhookForm.controls.webhookFromDateModal.setValue(null),this.resendWebhookForm.controls.webhookToDateModal.setValue(null)),this.resendWebhookForm.controls.resendToTime.setValue(null),this.isTestButton=null!=this.newWebhook.url&&null!=this.newWebhook.url}redirectToRules(o){this.router.navigate(["/",...M.wq.split("/"),o.ID||"0"],{queryParams:{from:"sandbox"},state:{webhook:o}})}redirectToConfigure(o,t){const n=t?o[0]:null;this.router.navigate(["/",...M.Jm.split("/")],{queryParams:{from:"sandbox"},state:{webhookData:n}})}getSandBoxLogs(o){this.activeTab="logs",this.isSearchFilter&&this.spinner.show("sandBoxLogs");let t=this.selectedDate;this.isSandBoxLog||(this.isSandBoxLog=this.apiWebhookSandboxLogs.length>0),this.currentPage=o,this.start=(o-1)*this.length,this.isLogTab=!0,(null!=this.selectedDate||null!=this.selectedService||null!=this.logUrl||null!=this.selectedStatus||null!=this.selectVersion)&&(this.isFilterLog=!0),this.connectorService.getSandBoxLogs(this.customerId,this.start,this.length,this.logCreatedFromDate,this.logCreatedToDate,this.selectedService,this.selectedStatus,this.logUrl,this.selectVersion).subscribe({next:n=>{this.selectedDate=null==t||null==t.startDate&&null==t.startDate&&null==t.endDate&&null==t.endDate?null:t,null!=n&&null!=n.data&&(this.apiWebhookSandboxLogs=n.data,this.apiWebhookSandboxLogs=[...this.apiWebhookSandboxLogs],this.changeDetectorRef.detectChanges(),null!=this.apiWebhookSandboxLogs&&null!=this.apiWebhookSandboxLogs&&this.apiWebhookSandboxLogs.length>0&&(this.viewandBox=!0),console.log("inside get log method  "+this.viewandBox
1),null!=this.apiWebhookSandboxLogs&&null!=this.apiWebhookSandboxLogs&&this.apiWebhookSandboxLogs.length>0&&(this.isSandBoxLog=!0)),null==this.logCreatedFromDate&&null==this.logCreatedFromDate&&null==this.logCreatedToDate&&null==this.logCreatedToDate&&null==this.selectedService&&null==this.selectedService&&null==this.selectedStatus&&null==this.selectedStatus&&null==this.logUrl&&null==this.logUrl&&null==this.selectVersion&&null==this.selectVersion&&this.apiWebhookSandboxLogs.length<=0&&(this.isSandboxLogTab=!1,this.isSandBoxLog=!1,this.isLogTab=!1),this.currentPage=o,this.totalRecords=n.recordsTotal,this.srNoCounterStart=n.srNoCounterStart+1,this.setPage(o),null!=this.apiWebhookSandboxLogs&&null!=this.apiWebhookSandboxLogs&&this.apiWebhookSandboxLogs.length>0&&(this.isSandBoxLog=!0),this.apiWebhookSandboxLogs.length<=0&&null==this.selectedDate&&null==this.selectedService&&null==this.logUrl&&null==this.selectedStatus&&null==this.selectVersion?this.isFilterLog=!1:this.isFilterLog=!0,this.isLogUrl=!1,this.isSearchFilter=!0,this.isSearchFilter&&this.spinner.hide("sandBoxLogs"),this.isSandboxLogTab=!!(this.isLogTab&&!this.isPagination||this.apiWebhookSandboxLogs.length>0)}})}closeAddOrEditModel(){this.closeUpdateWebhookId.nativeElement.click(),this.editErrorMessage="",this.editSuccessMessage="",this.urlErrorMessage="",this.initializeForm(),this.initializeResendWebhookForm(),this.isAddOrUpdateWebhook=!1}checkInputText(){this.inputText!==this.originalText?this.isUpdateButton=!0:(this.isTestButton=!0,this.isSuccessTest=!1,this.btnUpdateWebhookDisable=!0,this.clearTestMessages(),this.resetTestFlag()),this.updateWebhookError=""}resetTestFlag(){this.isTestPending=!1,this.isSuccessTest=!1,this.isFailedTest=!1,this.testWebhookErrorMessage="",this.testWebhookSuccessMessage=""}saveWebhookConfiguration(o,t){null==o.isSkipExcludeNumber&&(o.isSkipExcludeNumber=!0),this.showLoader=!0,this.btnCreateWebhookDisable=!0,this.btnUpdateWebhookDisable=!0,this.isTestButton=!0,o.secret=null==o.secret||null==o.secret?"":o.secret,this.fromCallTime=this.datePipe.transform(o.fromDate,"yyyy-MM-dd")+"T"+this.datePipe.transform(this.resendFromTime,"HH:mm"),this.toCallTime=this.datePipe.transform(o.toDate,"yyyy-MM-dd")+"T"+this.datePipe.transform(this.resendToTime,"HH:mm");let n=Math.abs(r()(this.fromCallTime).diff(r()(this.toCallTime),"minutes"))>_.t.SEVEN_TWENTY_MINUTES_DURATION;if(n&&this.datePipe.transform(o.fromDate,"yyyy-MM-dd")<this.datePipe.transform(o.toDate,"yyyy-MM-dd"))return this.editErrorMessage="To Date can not greater than From Date, please provide valid date",this.btnDisable=!0,void(this.showLoader=!1);if(n&&this.datePipe.transform(o.fromDate,"yyyy-MM-dd")>this.datePipe.transform(o.toDate,"yyyy-MM-dd"))return this.editErrorMessage="From Date can not greater than To Date, please provide valid date",this.btnDisable=!0,void(this.showLoader=!1);if(n)return this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS),this.btnDisable=!0,void(this.showLoader=!1);const a=!0===o.isSkipExcludeNumber||"true"===o.isSkipExcludeNumber;this.connectorService.saveAndResendWebhookConfigForSanbox(o.url,o.secret,a,o.version,this.fromCallTime,this.toCallTime,!0,this.webhookList[0].STATUS).subscribe({next:s=>{this.isFailedTest=!1,this.closeAddOrEditModel(),this.getApiWebhookSanboxConnector(),this.showLoader=!1},error:s=>{let p=s.error?.message||s.error?.data?.message||s.error?.data?.errorMessage;this.editErrorMessage=p,this.showLoader=!1,this.btnDisable=!1,setTimeout(()=>{this.closeUpdateWebhookId.nativeElement.click(),this.editErrorMessage=""},3e3)}})}clearTestMessages(){this.statusCode=null,this.statusMessage="",this.testRequestBody=null,this.testResponseBody=null}initializeResendWebhookForm(){this.resendWebhookForm=new d.cw({webhookFromDateModal:new d.NI(null,[d.kI.required]),webhookToDateModal:new d.NI(null,[d.kI.required]),webhookFromTimeInputModal:new d.NI("",[d.kI.required]),resendToTime:new d.NI("",[d.kI.required]),webhookToTimeInputModal:new d.NI("",[d.kI.required]),selectedWebhook:new d.NI("",[d.kI.required])}),this.showLoader=!1,this.btnCreateWebhookDisable=!1,this.isWebhookPopUp=!1}onFromTimeChange(o){this.webhookFromDate=this.fromResendDateTime,null==o?this.setDeafultFromTime():(this.fromResendDateTime=r()(this.webhookFromDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(o,"HH:mm"),this.webhookFromTimeFormat=this.datePipe.transform(o,"hh:mm a")),null!=this.resendFromTime&&null!=this.resendToTime&&(this.btnDisable=!1,null!=this.resendFromTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage="")))}cancelFromTimePicker(){this.fromTimeId.nativeElement.click(),this.resendFromTime=this.previousFromTime,this.webhookFromTimeFormat=this.datePipe.transform(this.previousFromTime,"hh:mm a")}setFromTime(){this.fromTimeId.nativeElement.click(),this.onFromTimeChange(this.resendFromTime),null!=this.resendFromTime&&null!=this.resendToTime&&(this.btnDisable=!1,null!=this.resendToTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),null==this.webhookToDate&&(this.btnDisable=!0,this.editErrorMessage="To Date is required."),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage="")))}closeMessageAlert(){this.successMessage="",this.error=""}cancelToTimePicker(){this.toTimeId.nativeElement.click(),this.resendToTime=this.previousToTime,this.webhookToTimeFormat=this.datePipe.transform(this.previousToTime,"hh:mm a")}onFromDateFormChanged(o){this.closeMessageAlert(),o&&null!=o.startDate&&(this.webhookMinToDate=o.startDate,this.webhookFromDate=r()(o.startDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.resendFromTime,"HH:mm"),this.webhookFromTimeFormat=this.datePipe.transform(this.resendFromTime,"hh:mm a"),this.fromResendDateTime=this.webhookFromDate,this.toResendDateTime=this.webhookToDate),o&&null!=o.startDate&&null!=o.endDate&&(this.btnDisable=!1,null!=this.webhookToDate?this.diffInDays=Math.abs(r()(this.webhookFromDate).diff(r()(this.webhookToDate),"minutes")):(this.btnDisable=!0,this.editErrorMessage="To Date is required."),this.webhookFromDate>this.webhookToDate?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage=""))}onToDateFormChanged(o){this.closeMessageAlert(),null!=o&&null!=o.endDate&&(this.webhookMinToDate=o.value,this.webhookToDate=r()(o.endDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.resendToTime,"HH:mm"),this.webhookToTimeFormat=this.datePipe.transform(this.resendToTime,"hh:mm a"),this.fromResendDateTime=this.webhookFromDate,this.toResendDateTime=this.webhookToDate),null!=o&&null!=o.startDate&&null!=o.endDate&&(this.btnDisable=!1,null!=this.webhookToDate&&(this.diffInDays=Math.abs(r()(this.webhookFromDate).diff(r()(this.webhookToDate),"minutes"))),null==this.webhookFromDate&&(this.btnDisable=!0,this.editErrorMessage="From Date is required."),null!=this.webhookFromDate&&this.webhookFromDate>this.webhookToDate?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage=""))}setDeafultFromTime(){null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]&&(this.webhookFromTimeFormat=this.datePipe.transform(this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].FROM_DATE_TIME,"hh:mm a")),this.fromResendDateTime=r()(this.fromResendDateTime).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.resendFromTime,"HH:mm"),this.fromTimeFormat=this.datePipe.transform(this.resendFromTime,"hh:mm a"),null!=this.resendFromTime&&null!=this.resendToTime&&(this.btnDisable=!1,null!=this.resendFromTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage="")))}setDeafultToTime(){null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]?(this.resendToTime=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]?.TO_DATE_TIME,this.webhookToTimeFormat=this.datePipe.transform(this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0].TO_DATE_TIME,"hh:mm a")):(this.resendToTime=new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate(),12,0,0),this.webhookToTimeFormat=this.datePipe.transform(this.resendToTime,"hh:mm a")),this.toResendDateTime=r()(this.webhookToDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.resendToTime,"HH:mm"),this.resendWebhookForm.controls.resendToTime.setValue(this.datePipe.transform(this.resendToTime,"HH:mm")),this.toTimeFormat=this.datePipe.transform(this.resendToTime,"hh:mm a"),this.changeDetectorRef.detectChanges(),null!=this.resendFromTime&&null!=this.resendToTime&&(this.btnDisable=!1,null!=this.resendFromTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage="")))}setToTime(){this.toTimeId.nativeElement.click(),this.onToTimeChange(this.resendToTime),null!=this.resendFromTime&&null!=this.resendToTime&&(this.btnDisable=!1,null!=this.resendFromTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),null==this.webhookFromDate&&(this.btnDisable=!0,this.editErrorMessage="From Date is required."),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage="")))}onToTimeChange(o){this.webhookToDate=this.toResendDateTime,this.changeDetectorRef.detectChanges(),null==o?this.setDeafultToTime():(this.toResendDateTime=r()(this.webhookToDate).format("YYYY-MM-DD")+"T"+this.datePipe.transform(this.resendToTime,"HH:mm"),this.resendWebhookForm.controls.resendToTime.setValue(this.datePipe.transform(o,"HH:mm")),this.webhookToTimeFormat=this.datePipe.transform(o,"hh:mm a"),null!=this.resendToTime&&null!=this.toResendDateTime&&(this.btnDisable=!1,null!=this.resendToTime&&(this.diffInDays=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"minutes")),this.fromResendDateTime>this.toResendDateTime?(this.btnDisable=!0,this.editErrorMessage="From Date can not greater than To Date, please provide valid date"):this.diffInDays>_.t.SEVEN_TWENTY_MINUTES_DURATION?(this.btnDisable=!0,this.editErrorMessage=this.translate.instant(_.t.ERROR_MAX_12_HOURS)):(this.btnDisable=!1,this.editErrorMessage=""))))}setFromToTimeAndFormatAndLoadContent(){null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG&&null!=this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0]&&this.sanboxConfiguration.SANDBOX_WEBHOOK_CONFIG[0],this.webhookSelectedDate={startDate:r()(new Date),endDate:r()(new Date)},this.webhookFromDateModal=this.webhookSelectedDate,this.webhookToDateModal=this.webhookSelectedDate,this.webhookFromTimeFormat=this.datePipe.transform(this.resendFromTime,"hh:mm a"),this.webhookToTimeFormat=this.datePipe.transform(this.resendToTime,"hh:mm a"),this.webhookMaxToDate=new Date,this.webhookMaxFromDate=new Date,this.webhookMinToDate=null,this.webhookIsTabLoaded=[],this.fromDate=r()(new Date).format("YYYY-MM-DD")+"T00:00:00",this.fromResendDateTime=r()(new Date).format("YYYY-MM-DD")+"T00:00:00",this.toDate=r()(new Date).format("YYYY-MM-DD")+"T12:0:0",this.toResendDateTime=r()(new Date).format("YYYY-MM-DD")+"T12:0:0"}deleteApiToken(){g().fire({iconHtml:'<i class="las la-trash" style="color: #555555;padding-right: 0px;"></i>',title:"Are you sure you want to delete this Access Key Permanently?",html:'<i class="las la-exclamation-triangle" style="color: red; padding-top: 3px;"></i>
1 This action can\'t be undo.',text:"",icon:"warning",showCancelButton:!0,confirmButtonText:this.translate.instant("Yes, delete it")+"!",cancelButtonText:this.translate.instant(" No, keep it"),confirmButtonColor:"#FFA500"}).then(o=>{o.value?(this.tokenValue=null,this.isTokenInvalid=!1,this.deleteSandboxConfiguration(this.apiFeature)):(o.dismiss,g().DismissReason.cancel)})}deleteSandboxConfiguration(o){this.connectorService.deleteTokenForSandBoxApiAndWebhook(o).subscribe(t=>{this.successMessage=t.message,this.commonService.scrollToTop(),this.initializeForm(),this.getApiWebhookSanboxConnector(),g().fire({title:"Removed",text:t.message||"Deleted successfully.",icon:"success",confirmButtonColor:"#FFA500"})},t=>{this.error=t.data||t.message})}getRequestedPayload(o){this.formattedRequestJson=null,this.spinner.show("sandBoxLogs"),this.connectorService.getSandBoxPayload("request",o).subscribe({next:t=>{this.spinner.hide("sandBoxLogs"),this.formattedRequestJson=t.data},error:t=>{this.spinner.hide("sandBoxLogs"),this.formattedRequestJson=""}})}copyLinkToClipboard(){const o=document.getElementById("data");if(!o)return void console.error("Element with ID 'data' not found.");const t=o.innerText;navigator.clipboard?navigator.clipboard.writeText(t).then(()=>{this.copyBtnText="Copied!",setTimeout(()=>{const n=document.getElementById("closewebhooklogsmodel");n&&(this.copyBtnText="Copy to Clipboard",n.click())},3e3)}).catch(n=>{console.error("Failed to copy text to clipboard:",n)}):console.error("Clipboard API is not supported in this browser.")}onClose(o){this.copyBtnText="Copy to Clipboard"}sortEmployeeJsonLog(o){return o[0]=this.sortLogsBasedOnEmployeeKeys(o[0]),o}sortLogsBasedOnEmployeeKeys(o){const t=["employeeName","employee_name","emp_name","employeeCode","employee_code","emp_code","countryCode","employee_country_code","emp_country_code","employeeNumber","employee_number","emp_number","employeeTags","employee_tags","emp_tags","logs","call_logs"],n={};for(const a of t)n[a]=o[a];return o=n}sortJsonObject(o){const t=Object.keys(o[0]).sort(),n={};for(const a of t)n[a]=o[0][a];return o[0]=n,o}getResponsePayload(o){this.responsePayloads=null,this.spinner.show("sandBoxLogs"),this.connectorService.getSandBoxPayload("response",o).subscribe({next:t=>{this.spinner.hide("sandBoxLogs");let n=t.data;n?n.response&&'"OK"'===JSON.stringify(n.response)?this.responsePayloads="OK":this.responsePayloads=n:this.responsePayloads=""},error:t=>{this.spinner.hide("sandBoxLogs"),this.responsePayloads=""}})}resetAccessDateFilter(o){this.fromDateModal=null,this.toDateModal=null,this.lockedInSandboxPeriodForm.controls.lockedInFromDate.setValue(null),this.lockedInSandboxPeriodForm.controls.lockedInToDate.setValue(null),this.resetRestrictions(),this.isFromDateInvalid=o,this.isToDateInvalid=o,this.isLockedInFromDate=!1}onSelectDateChanged(o,t){this.minToDateLog=o.value,(null!=o.startDate||null!=o.startDate)&&(this.selectedDateLog=r()(o.startDate).format("YYYY-MM-DD"),this.isSearchFilter=t,this.getSandBoxLogs(1))}dropDownSetting(){this.sandboxlogstatusSettings={singleSelection:!0,idField:"id",textField:"deviceName"},this.serviceSettings={singleSelection:!0,idField:"id",textField:"serviceName"},this.versionSettings={singleSelection:!0,idField:"id",textField:"version"}}onDeSelectStatus(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}onDeSelectAllStatus(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}onSelectStatus(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}
1onSelectAllStatus(o,t){this.sandboxlogStatus=o,this.getSandBoxLogs(1)}onDeSelectService(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}onDeSelectAllService(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}onSelectService(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}onSelectAllServices(o,t){this.sandboxlogStatus=o,this.isSearchFilter=t,this.getSandBoxLogs(1)}searchForUrl(o){this.isSearchFilter=o,this.getSandBoxLogs(1)}deleteLeads(){if(this.isLeadModuleAvailable){let o=this.leadDataList.map(t=>t.id).join(",");g().fire({iconHtml:'<i class="las la-trash" style="color: #555555;padding-right: 0px;"></i>',title:this.translate.instant("Permanent Delete")+" !",html:" Leads will not be restored once deleted. <br> <br> Are you sure you want to delete all leads permanently?",icon:"warning",showCancelButton:!0,width:"650px",confirmButtonText:this.translate.instant("Yes, delete it")+"!",cancelButtonText:this.translate.instant("No, keep it")}).then(t=>{t.value?(this.spinner.show("sandBoxLogs"),this.leadService.deleteLead(o,!0).subscribe({next:n=>{this.isSandBoxLog=!1,this.isDeletedAlLead=!0,this.getSandBoxLeadData(),this.viewandBox=!0,this.getApiWebhookSanboxConnector(),this.isSandBoxLog=!0;const a=document.getElementById("home-tab");a&&a.click(),this.spinner.hide("sandBoxLogs")}})):(t.dismiss,g().DismissReason.cancel)})}else this.errorMessage=_.t.SUBSCRIPTION_EXPIRED_ERROR_MESSAGE,this.commonService.scrollToTop()}openDatepicker(){this.sanboxLogCreatedDate.nativeElement.click()}onSearchDateChanged(o,t){if(null!=o&&null!=o.startDate&&null!=o.endDate){if(this.diffInDaysForLog=Math.abs(r()(this.fromResendDateTime).diff(r()(this.toResendDateTime),"days")),this.diffInDaysForLog>_.t.SIX_MONTHS_DURATION)return this.error=this.translate.instant(_.t.ERROR_MAX_180_DAYS),void(this.isCrossIcon=!0);let n=null;null==o.startDate||null==o.endDate||t?this.clear():(this.logCreatedFromDate=r()(o.startDate).format("YYYY-MM-DD"),this.logCreatedToDate=r()(o.endDate).format("YYYY-MM-DD"),this.selectedDate=o,n=o,this.logCreatedDate=o,this.selectedDateTitle=this.datePipe.transform(o.startDate,this.dateFormat)+" - "+this.datePipe.transform(o.endDate,this.dateFormat),this.isCrossIcon=!0,this.getSandBoxLogs(1),this.selectedDate=null==n||null==n.startDate&&null==n.startDate&&null==n.endDate&&null==n.endDate?null:n,this.changeDetectorRef.detectChanges()),this.isSearchFilter=t}}clear(){this.selectedDate=null,this.fromResendDateTime=null,this.toResendDateTime=null,this.selectedDateTitle=null,this.isCrossIcon=!1}onServiceDeSelect(o,t){this.isSearchFilter=t,this.getSandBoxLogs(1)}onsServiceSelect(o,t){this.isSearchFilter=t,this.getSandBoxLogs(1)}searchURL(o){this.isSearchFilter=o,this.getSandBoxLogs(1)}clearDateFilter(){this.logCreatedFromDate=null,this.logCreatedToDate=null,this.selectedDate=null,this.changeDetectorRef.detectChanges(),this.selectedDateTitle=null,this.isCrossIcon=!1,this.getSandBoxLogs(1)}getSandBoxLeadData(){this.viewandBox=!1,this.searchColName=[],this.searchColValue=[],this.searchColName.push("capturedBy"),this.searchColValue.push("SandBox"),this.spinner.show("sandBoxAccount"),this.connectorService.getSandBoxSaveLeadData(this.searchColName,this.searchColValue).subscribe({next:o=>{this.leadDataList=o.data,this.isSandboxLogTab&&this.isSandBoxLog&&this.isLogTab?(this.getSandBoxLogs(1),this.isSandBoxLog=!0):this.viewandBox=!1,this.spinner.hide("sandBoxAccount")}}),this.getDynamicCustomerComponent()}setPage(o){this.pager=this.pagerService.getPager(this.totalRecords,o,this.length)}copyApiToken(){if(!this.apiConfiguration.TOKEN)return void console.error("Element with ID 'data' not found.");const t=this.apiConfiguration.TOKEN;navigator.clipboard?navigator.clipboard.writeText(t).then(()=>{this.copyBtnText="Copied!",setTimeout(()=>{const n=document.getElementById("closewebhooklogsmodel");n&&(this.copyBtnText="Copy to Clipboard",n.click())},1e3)}).catch(n=>{console.error("Failed to copy text to clipboard:",n)}):console.error("Clipboard API is not supported in this browser.")}
1onCloseActionPopup(o){this.isActionPopupClose=o}openActionPop(o,t){this.isActionPopupClose=t,this.leadData=o}onTestLeads(o){this.getSandBoxLeadData(),this.isPagination=o,this.isLogTab=o,this.activeTab="test-leads"}onDeSelectVersion(o,t){this.isSearchFilter=t,this.getSandBoxLogs(1)}onSelectVersion(o,t){this.isSearchFilter=t,this.getSandBoxLogs(1)}getDynamicCustomerComponent(){this.customerComponentService.getAllCustomerComponents().subscribe(o=>{this.spinner.hide("sp3"),this.customerComponentList=o.data})}getDynamicValue(o,t){const n=this.customerComponentList.reduce((s,p)=>(p.label===o&&s.push(p.modelName),s),[]);if(!(n&&n.length>0))return"-";const a=n.map(s=>t.dynamicProperties[s]||"-");return"-"!=a[0]?a:"-"}isActiveTab(o){return this.activeTab===o}closeWebhookSuccessTestPopUp(){setTimeout(()=>{this.resetTestFlag(),this.closeAddOrEditModel(),this.clearTestMessages(),this.isWebhookPopUp=!1},2e3)}initializerLockedInPeroid(){this.lockedInSandboxPeriodForm=new d.cw({lockedInFromDate:new d.NI("",[d.kI.required]),lockedInToDate:new d.NI("",[d.kI.required])}),this.isFromDateInvalid=this.isFromDateInvalid}getChunkedProperties(){let o=[];for(let t=0;t<this.leadData.dynamicProperties.length;t+=4)o.push(this.leadData.dynamicProperties.slice(t,t+4));return o}closeNotificationBeltMessageAlert(){this.commonService.setCookie(_.t.IS_LEAD_NOTIFICATION_CLOSE,"true",86400),this.notificationCode=null,this.notificationMesssage=""}checkIfLeadModuleIsAvailable(){this.layoutService.checkIfLeadModuleAvailableForCustomer().subscribe(o=>{1==o.data?this.isLeadModuleAvailable=!0:this.isLeadModuleAvailable=!1})}closeErrorMessageAlert(){this.errorMessage=""}toggleExpand(o){this.expandedIndexes.has(o)?this.expandedIndexes.delete(o):this.expandedIndexes.add(o)}isExpanded(o){return this.expandedIndexes.has(o)}shouldShowSeeMore(o){return o&&o.length>25}splitText(o){const n=[];for(let a=0;a<o.length;a+=25)n.push(o.substring(a,a+25));return n}onCLickConfigureTab(o){this.isLogTab=o,this.activeTab="configure"}addOrEditWebhook(o,t){(!this.webhookList||0===this.webhookList.length||null==this.webhookList[0])&&((this.webhookList=this.webhookList||[])[0]=this.webhookList[0]||{},this.webhookList[0].STATUS=!0);const n=r()().format("YYYY-MM-DDTHH:mm:ss"),a=this.fromCallTime||n,s=this.toCallTime||n,p=!0===o.isSkipExcludeNumber||"true"===o.isSkipExcludeNumber;this.connectorService.saveAndResendWebhookConfigForSanbox(o.url,o.secret,p,o.version,a,s,t,this.webhookList[0].STATUS).subscribe({next:b=>{this.successMessage=b.message,this.commonService.scrollToTop(),this.isFailedTest=!1,this.showLoader=!1,this.closeAddOrEditModel()},error:b=>{this.editErrorMessage=b?.error?.message}})}confirmationForEnableOrDisableStatus(o,t){var a,s,p,n=this;const b=!0===t||"true"===t;b?(a="Are you sure you want to disable the Webhook",s="Yes, disable it",p="No, keep it"):(a="Are you sure you want to enable the Webhook",s="Yes, enable it",p="No, keep it"),g().fire({title:this.translate.instant(a)+"?",text:"",icon:"warning",allowOutsideClick:!1,allowEscapeKey:!1,showCancelButton:!0,width:"550px",confirmButtonText:this.translate.instant(s),cancelButtonText:this.translate.instant(p)}).then(function(){var q=(0,k.Z)(function*(E){if(E.value){const I=!b;n.webhookList&&n.webhookList[0]&&(n.webhookList[0].STATUS=I),o.STATUS=I,n.addOrEditWebhook(o,!1)}else n.webhookList&&n.webhookList[0]&&(n.webhookList[0].STATUS=b),o.STATUS=b,n.changeDetectorRef.detectChanges()});return function(E){return q.apply(this,arguments)}}())}resendData(o,t){_.t.URL_VALIDATION.test(o.url)?(this.urlErrorMessage="",t?(this.isAddOrUpdateWebhook=!1,o.fromDate=this.resendWebhookForm.controls.webhookFromDateModal.value.startDate,o.toDate=this.resendWebhookForm.controls.webhookToDateModal.value.startDate,this.saveWebhookConfiguration(o,t)):this.addOrEditWebhook(o,t),this.isWebhookPopUp=!0):this.urlErrorMessage="Please enter valid URL"}addOrUpdateWebhook(o,t){if(this.isWebhookPopUp=!0,this.btnDisable=!1,this.webhookList&&0!==this.webhookList.length){const a=this.webhookList[0].VERSION||"2.0";"2.3"===a?(this.editWebhookForm.controls.version.setValue("2.3"),this.showVersionDropdown=!1):(this.editWebhookForm.controls.version.setValue(a),this.showVersionDropdown=!0)}else this.editWebhookForm.controls.version.setValue("2.3"),this.showVersionDropdown=!1;this.popTitleLableName=t?"Webhook Setup":"Resend Request",this.isAddOrUpdateWebhook=t,this.isDisableWebhook=!t,this.isWebhookPopUp=!0,this.changeDetectorRef.detectChanges()}deleteSandboxWebhookConfiguration(){g().fire({iconHtml:'<i class="las la-trash" style="color: #555555;padding-right: 0px;"></i>',title:this.translate.instant("Are you sure you want to delete this Webhook Permanently")+" ?",html:'<i class="las la-exclamation-triangle" style="color: red; padding-top: 3px;"></i>
1 This action can\'t be undo.',icon:"warning",showCancelButton:!0,width:"550px",confirmButtonText:this.translate.instant("Yes, delete it")+"!",cancelButtonText:this.translate.instant("No, keep it"),confirmButtonColor:"#FFA500"}).then(o=>{o.value?(this.initializeForm(),this.deleteSandboxConfiguration(this.webhookFeature)):(o.dismiss,g().DismissReason.cancel)})}clearLogsConfirmation(){g().fire({iconHtml:'<i class="las la-trash" style="color: #555555;padding-right: 0px;"></i>',title:this.translate.instant("Are you sure you want to clear Sandbox logs permanently")+"?",html:'<i class="las la-exclamation-triangle" style="color: red; padding-top: 3px;"></i> This action cannot be undone.',text:"",icon:"warning",showCancelButton:!0,width:"550px",confirmButtonText:this.translate.instant("Yes, clear them")+"!",cancelButtonText:this.translate.instant("No, keep them"),confirmButtonColor:"#FFA500"}).then(o=>{o.value&&(this.spinner.show("sandBoxLogs"),this.connectorService.clearLogs("SandBox").subscribe({next:t=>{this.spinner.hide("sandBoxLogs"),g().fire({title:"Cleared",text:t.message||"Sandbox logs cleared successfully.",icon:"success",confirmButtonColor:"#FFA500"}),this.getSandBoxLogs(1)},error:t=>{this.spinner.hide("sandBoxLogs"),g().fire({title:"Error",text:t.error?.message||"Failed to clear sandbox logs.",icon:"error",confirmButtonColor:"#FFA500"})}}))})}testWebhookUrl(o){this.resetTestFlag(),this.clearTestMessages(),this.isTestPending=!0,this.testWebhookUrlStr=o.URL;var t=o.URL,n=o.SECRET?o.SECRET:"";return new Promise(a=>{this.webhookService.testSampleWebhookUrl(t,n,o.VERSION).subscribe(s=>{if(this.testRequestBody=s.request||{type:"SAMPLE_EVENT",operator:"IS",value:{sample:"payload"}},s&&"OK"===s.statusCode){this.isTestPending=!1,this.isSuccessTest=!0,this.isFailedTest=!1,this.addOrUpdateWebhook(o,!1);let p=s.body||s;if("string"==typeof p)try{p=JSON.parse(p)}catch{}this.testResponseBody=p,this.statusCode="200 OK",this.btnUpdateWebhookDisable=!1,a(!0)}else{this.isTestPending=!1,this.isFailedTest=!0,this.isSuccessTest=!1;let p=s.body||s;if("string"==typeof p)try{p=JSON.parse(p)}catch{}this.testResponseBody=p,this.statusCode=s&&s.statusCode&&"400"!==s.statusCode&&400!==s.statusCode?s.statusCode:"400 Bad Request",a(!1)}})})}static \u0275fac=function(t){return new(t||Z)(e.Y36(e.Qsj),e.Y36(x.v),e.Y36(m.sK),e.Y36(h.v),e.Y36(u.U),e.Y36(e.SBq),e.Y36(w.F),e.Y36(c.uU),e.Y36(A.t2),e.Y36(U.y),e.Y36(L.e),e.Y36(C.F0),e.Y36(e.sBO),e.Y36(B.R),e.Y36(V.P),e.Y36(d.qu))};static \u0275cmp=e.Xpm({type:Z,selectors:[["app-api-webhook-sandbox-connector"]],viewQuery:function(t,n){if(1&t&&(e.Gf($,5),e.Gf(ee,5),e.Gf(te,5),e.Gf(oe,5),e.Gf(ne,5),e.Gf(ie,5),e.Gf(ae,5),e.Gf(se,5),e.Gf(re,5)),2&t){let a;e.iGM(a=e.CRH())&&(n.closeUpdateWebhookId=a.first),e.iGM(a=e.CRH())&&(n.closewebhooklogsmodel=a.first),e.iGM(a=e.CRH())&&(n.closewebhookresponsemodel=a.first),e.iGM(a=e.CRH())&&(n.fromTimeId=a.first),e.iGM(a=e.CRH())&&(n.toTimeId=a.first),e.iGM(a=e.CRH())&&(n.sanboxLogCreatedDate=a.first),e.iGM(a=e.CRH())&&(n.fromDateInput=a.first),e.iGM(a=e.CRH())&&(n.toDateInput=a.first),e.iGM(a=e.CRH())&&(n.logsTabPane=a.first)}},decls:300,vars:105,consts:[[1,"content","setting-page"],[1,"row"],[1,"col-12"],["class","alert alert-theme alert-dismissible fade show alert-inner-border","role","alert",4,"ngIf"],["class","alert alert-dismissible fade show","role","alert",3,"ngClass",4,"ngIf"],[1,"custom-card"],[1,"custom-card-header","d-flex","justify-content-between","align-items-center"],[1,"mb-0","px-0","title"],[1,"d-flex","d-sm-block","px-0","align-items-center"],["href","https://developers.callyzer.co/","target","_blank",1,"change_link","mb-0","mr-3","d-inline-block"],["href","javascript:void(0)",1,"btn","btn-outline-theme","btn-space-right","ml-auto","text-nowrap",3,"routerLink"],[1,"las","la-angle-left",2,"position","relative","top","1px"],[1,"sandbox-wrapper","custom-card-header-sandbox","pt-0"],["class","tabs-block",4,"ngIf"],["class","p-2",4,"ngIf"],["class","modal fade","id","addNewWebhook","tabindex","-1","role","dialog","aria-hidden","true",4,"ngIf"],["data-toggle","modal","data-target","#testWebhook","data-backdrop","static"],["testForEnable",""],["type","button","id","closeUpdateWebhookId","data-dismiss","modal","aria-label","Close",1,"close"],["closeTestForEnable",""],["id","testWebhook","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["testWebhook",""],["role","document",1,"modal-dialog","modal
1-dialog-centered","modal-lg"],[1,"modal-content","testwebhook"],[1,"modal-body","testWebhook"],["tabindex","-1","class","alert alert-dismissible text-left",3,"ngClass",4,"ngIf"],[1,"test-header-info","position-relative"],[1,"webhook-url-display"],[2,"font-weight","600"],[1,"url-input-box"],["class","overall-test-result","style","display: flex; align-items: center; gap: 10px;",4,"ngIf"],["type","button","id","closeUpdateWebhookId","data-dismiss","modal","aria-label","Close",1,"close","test-webhook-close",3,"click"],["aria-hidden","true"],[1,"test-container"],[1,"test-panel"],[1,"panel-header"],[1,"panel-title"],[1,"panel-sub-title"],["class","json-view",4,"ngIf"],["class","status-badge",3,"ngClass",4,"ngIf"],["class","status-badge",4,"ngIf"],["id","requestLogsPopup","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","custom-modal-dialog","modal-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","id","closewebhooklogsmodel","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["closewebhooklogsmodel",""],[1,"modal-body"],["id","data",1,"json-container","display-input-box"],[1,"modal-footer"],["type","submit",1,"btn","btn-theme",3,"disabled","click"],["type","button","data-dismiss","modal",1,"btn","btn-theme-black",3,"click"],["id","sandBoxResponsePopup","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["type","button","id","closewebhookresponsemodel","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["closewebhookresponsemodel",""],["class","modal fade show lead-info-modal","id","viewActionPopUp","tabindex","-1","role","dialog","aria-hidden","true","style","display: block;",4,"ngIf"],["id","callLogSyncBehaviorModal","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-lg","modal-dialog-centered"],[1,"modal-header","call-sync-modal-header"],[1,"modal-title","font-weight-bold"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],[1,"modal-body","pt-0"],[1,"sync-scenario-wrapper"],[1,"section-title"],[1,"prerequisites-list"],[1,"sync-scenario-wrapper","mt-4"],[1,"no-tick"],[1,"prerequisites-list","mt-2"],[1,"single-tick"],["id","lockConfirmationModal","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal-dialog-centered"],[1,"modal-content","border-0"],[1,"modal-body","p-0","text-center"],[1,"modal-icon-wrapper","mb-2"],["width","96","height","96","viewBox","0 0 96 96","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["width","95.9188","height","95.9188","rx","4","fill","url(#pattern0_19359_16806)"],["id","pattern0_19359_16806","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0_19359_16806","transform","translate(-0.09375 -0.208333) scale(0.00520833)"],["id","image0_19359_16806","width","232","height","244","preserveAspectRatio","none",0,"xlink","href","data:image/png;base64,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"],[1,"confirmation-content","text-left","mb-2"],[1,"custom-control","custom-checkbox","d-flex","align-items-start","mb-1"],["type","checkbox","id","lockCheckbox",1,"custom-control-input",3,"ngModel","ngModelChange"],["for","lockCheckbox",1,"custom-control-label","pl-2"],[1,"prerequisites-list","pl-4","mb-1"],[1,"mb-1"],["class","error-text text-left","style","margin-left: 20px; font-size: 14px; color: #FF0000; font-weight: 300; font-style: Light; line-height: 100%;",4,"ngIf"],[1,"type-confirmation-wrapper","text-center","mt-1"],[1,"mb-2",2,"font-weight","300","font-style","Light","font-size","16px","line-height","100%","text-align","center","color","#353535C7"],[2,"font-weight","700","font-style","Italic"],[2,"color","#fa0000"],[1,"form-group","px-4"],["type","text","placeholder","Type Here",1,"form-control","text-center","mx-auto",2,"border","1px solid #54545480","max-width","251px","border-radius","4px","font-size","16px","font-weight","700","color","#353535C7","padding","6px 10px","height","31px",3,"ngModel","ngClass","ngModelChange"],["class","mt-1","style","font-size: 14px; color: #FF0000; font-weight: 300; font-style: Light; line-height: 100%;",4,"ngIf"],[1,"modal-buttons","d-flex","justify-content-center"],["type","button",1,"btn","btn-theme","mr-2",3,"click"],["type","button","id","closeLockConfirmationModal","data-dismiss","modal",1,"btn","btn-theme-black"],["role","alert",1,"alert","alert-theme","alert-dismissible","fade","show","alert-inner-border"],["aria-hidden","true",1,"subscription-msg-margin"],["type","button","data-dismiss","alert","aria-label","Close",1,"close",3,"click"],["role","alert",1,"alert","alert-dismissible","fade","show",3,"ngClass"],[4,"ngIf"],[1,"las","la-exclamation-triangle"],[1,"tabs-block"],["id","myTab","role","tablist",1,"d-flex","nav","nav-tabs","mb-0"],[1,"nav-item","d-flex"],["id","configure-tab","data-toggle","tab","href","#configure","role","tab","aria-controls","configure","aria-selected","true",1,"nav-link","active",3,"click"],["id","logs-tab","data-toggle","tab","href","#logs","role","tab","aria-controls","logs","aria-selected","false",1,"nav-link",3,"click"],[1,"nav-item"],["id","test-leads-tab","data-toggle","tab","href","#test-leads","role","tab","aria-controls","test-leads","aria-selected","false",1,"nav-link",3,"click"],[1,"tab-content","px-1"],["class","tab-pane show active fade","id","configure","role","tabpanel","aria-labelledby","configure-tab",4,"ngIf"],["class","tab-pane show active fade custom-tab-pane px-0","id","logs","role","tabpanel",4,"ngIf"],["class","tab-pane show active fade custom-tab-pane px-0","id","test-leads","role","tabpanel",4,"ngIf"],["id","configure","role","tabpanel","aria-labelledby","configure-tab",1,"tab-pane","show","active","fade"],[1,"sandbox-content-header-wrapper","d-flex","justify-content-between","align-items-xl-center","flex-xl-row","flex-column"],[1,"sandbox-content-wraning-wrapper","d-flex","align-items-sm-center","align-items-start","mb-2","mb-xl-0"],[1,"las","la-info-circle","text-theme","mr-1"],[1,"warning-text"],[1,"d-flex","justify-content-end","mb-3","p-0"],["class","button-block mb-sm-0 mb-2 fit-content-height",4,"ngIf"],[1,"sandbox-api-key-wrapper"],[1,"d-flex","mt-4","justify-content-end"],["class","api-key-card-wrapper mt-0",3,"ngClass",4,"ngIf"],[1,"w-75","ml-3"],[1,"table-responsive","manage-emp","webhook-tabs"],[1,"table","table-bordered","mb-0"],[2,"width","35%","text-align","center"],[2,"width","15%","text-align","center"],[2,"width","10%","text-align","center"],[2,"width","14%","text-align","center"],[2,"width","13%","text-align","center"],[2,"width","13%","min-width","85px","text-align","center"],[4,"ngFor","ngForOf"],[1,"sandbox-faq-wrapper","mt-5"],[1,"faq-heading"],[1,"faq-list","mt-3"],["class","faq-item",4,"ngFor","ngForOf"],[1,"button-block","mb-sm-0","mb-2","fit-content-height"],["class","btn btn-theme",3,"click",4,"ngIf"],["class","btn btn-theme space-adjust","data-target","#addNewWebhook","data-toggle","modal","data-backdrop","static",3,"click",4,"ngIf"],[1,"btn","btn-theme",3,"click"],[1,"las","la-
1plus"],["data-target","#addNewWebhook","data-toggle","modal","data-backdrop","static",1,"btn","btn-theme","space-adjust",3,"click"],[1,"las","la-undo-alt"],[1,"api-key-card-wrapper","mt-0",3,"ngClass"],["class","generate-api-key",3,"click",4,"ngIf"],["class","d-flex justify-content-center align-items-center position-relative h-100",4,"ngIf"],[1,"api-key-heading"],[1,"api-key-card-inner","d-flex","flex-column","justify-content-between","p-2","mt-2"],[1,"api-key-card-body"],[1,"api-key-body-header","d-flex","justify-content-between"],[1,"las","la-copy","cursor-pointer","custom-trash-removex",3,"appTooltip","click"],[1,"card-page-link"],[2,"font-weight","bold"],["target","_blank",1,"host-text",3,"href"],[2,"font-size","smaller","color","gray"],[1,"created-date-wrapper","mb-0"],[1,"created-on",2,"font-weight","bold"],[1,"created-date"],["class","api-key-footer d-flex justify-content-end",4,"ngIf"],[1,"api-key-footer","d-flex","justify-content-end"],["type","button",1,"btn","remove-btn",3,"click"],["_ngcontent-cul-c46","",1,"las","la-trash-alt","custom-trash-remove"],[1,"generate-api-key",3,"click"],[1,"custom-cursop-pointer"],[1,"d-flex","justify-content-center","align-items-center","position-relative","h-100"],[1,"pb-0"],[4,"ngIf","ngIfElse"],["oldLogic",""],[2,"text-align","center",3,"ngClass"],[1,"of_switch","manageCutomerSwitch"],[1,"switch"],["type","checkbox",3,"ngModel","ngModelOptions","click","ngModelChange"],[1,"slider","round"],[1,"text-center"],[1,"dropdown","action-dropdown"],["data-toggle","dropdown",1,"las","la-ellipsis-v","dropdown-toggle","dt-cursor"],[1,"dropdown-menu"],[3,"ngIf"],["href","javascript:void(0)",1,"dropdown-item",3,"click"],[1,"las","la-pen"],[1,"las","la-edit"],["href","javascript:void(0)","data-toggle","modal","data-target","#testWebhook","data-backdrop","static",1,"dropdown-item","pd-rgt-21",3,"click"],[1,"las","la-paper-plane"],["href","javascript:void(0)","class","dropdown-item",3,"click",4,"ngIf"],[1,"las","la-trash-alt"],["class","text-center text-theme fw-semibold custom-sandbox-add-webhook pt-5 pb-5","colspan","6",4,"ngIf"],["class","text-center fw-semibold custom-sandbox-add-webhook pt-5 pb-5","data-toggle","modal","data-backdrop","static","colspan","6",4,"ngIf"],["colspan","6",1,"text-center","text-theme","fw-semibold","custom-sandbox-add-webhook","pt-5","pb-5"],[1,"add-webhook",3,"click"],["data-toggle","modal","data-backdrop","static","colspan","6",1,"text-center","fw-semibold","custom-sandbox-add-webhook","pt-5","pb-5"],[1,"faq-item"],[1,"faq-question","d-flex","justify-content-between","align-items-center","cursor-pointer",3,"click"],[1,"mb-0"],["class","faq-answer",3,"innerHTML",4,"ngIf"],[1,"faq-answer",3,"innerHTML"],["id","logs","role","tabpanel",1,"tab-pane","show","active","fade","custom-tab-pane","px-0"],["bdOpacity","1","color","#000","name","sandBoxLogs","type","ball-spin-clockwise",3,"fullScreen"],[1,"panel-body","p-0","px-1"],[1,"logs-table-wrapper"],[1,"table-warning-wrapper","d-flex","align-items-center","justify-content-between"],[1,"d-flex","align-items-center"],[1,"las","la-info-circle","text-theme"],[1,"table-warning-text"],["class","btn btn-theme ml-auto d-flex align-items-center",3,"click",4,"ngIf"],[1,"col-md-12","px-0"],[1,"table-responsive","manage-emp","fixed-height-table"],[2,"width","15%","min-width","85px","text-align","center"],["class","row m-0 mt-3",4,"ngIf"],[1,"btn","btn-theme","ml-auto","d-flex","align-items-center",3,"click"],[1,"las","la-trash-alt","mr-1"],[1,"lw_200"],[1,"input-group","daterangepicker-block","deleteIcon-wrapper"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"form-control",2,"background-color","#ffffff",3,"title","placeholder","showDropdowns","showClearButton","linkedCalendars","maxDate","locale","ngModel","autoApply","ngModelChange"],["sanboxLogCreatedDate",""],[1,"deleteIcontbl-searchBox"],["class","las la-times-circle dt-cursor",3,"click",4,"ngIf"],["class","las la-calendar ngx-daterangepicker-action dt-cursor",3,"click",4,"ngIf"],[1,"sftp-logs-status-header"],[3,"settings","data","placeholder","ngModel","ngModelChange","onDeSelect","onSelect"],[1,"searchBox-Wrapper"],["type","text",1,"form-control",3,"ngModel","placeholder","ngModelChange","keyup.enter","keyup"],[1,"searchIcon"],[3,"ngClass"],[1,"searchBox-Wrapper","sftp-logs-status-header"],[3,"settings","placeholder","data","ngModel","ngModelChange","onDeSelect","onSelect"],[1,"lw_200","sftp-logs-status-header","search-status"],[1,"las","la-times-circle","dt-cursor",3,"click"],[1,"las","la-calendar","ngx-daterangepicker-action","dt-cursor",3,"click"],["colspan","8"],[1,"d-flex","align-items-center","justify-content-center","flex-column","py-5"],["src","assets/img/noPresentLogs.svg","alt","No Logs",1,"mb-4"],[1,"no-data-availabel","mb-2"],[1,"no-data-availabel"],[1,"d-flex","align-items-center","justify-content-center","flex-column"],[1,"text-center","text-nowrap"],["data-target","#requestLogsPopup","requestLogsPopup","","data-toggle","modal","data-backdrop","static",1,"view-btn",3,"click"],[1,"las","la-eye"],["class","badge badge-success",4,"ngIf"],["class","badge badge-skipped",4,"ngIf"],["class","badge badge-fail",4,"ngIf"],["class","view-btn ","data-target","#sandBoxResponsePopup","sandBoxResponsePopup","","data-toggle","modal","data-backdrop","static",3,"click",4,"ngIf"],[1,"badge","badge-success"],[1,"badge","badge-skipped"],[1,"badge","badge-fail"],["data-target","#sandBoxResponsePopup","sandBoxResponsePopup","","data-toggle","modal","data-backdrop","static",1,"view-btn",3,"click"],["colspan","8",1,"text-center"],[1,"row","m-0","mt-3"],["logsTabPane",""],[1,"col-xl-6","col-lg-6","col-md-6","col-sm-6","col-6"],[1,"p_20"],[1,"table-footer-pagination"],[1,"list-inline"],[1,"list-inline-item"],[1,"list-inline","mb-0","pagination-page","d-flex","align-items-center"],["href","javascript:void(0)","class","d-none d-md-inline-block",3,"click",4,"ngIf"],["class","dt-disable d-none d-md-inline-block",4,"ngIf"],["href","javascript:void(0)","class","d-flex d-md-inline-block align-items-center mr-2 mr-md-0",3,"click",4,"ngIf"],["class","dt-disable d-flex d-md-inline-block align-items-center mr-2 mr-md-0",4,"ngIf"],["class","list-inline-item d-none d-md-inline-block",4,"ngFor","ngForOf"],["href","javascript:void(0)","class","d-flex d-md-inline-block align-items-center ml-2 ml-md-0",3,"click",4,"ngIf"],["class","dt-disable d-flex d-md-inline-block align-items-center ml-2 ml-md-0",4,"ngIf"],["href","javascript:void(0)",1,"d-none","d-md-inline-block",3,"click"],[1,"las","la-caret-left"],[1,"dt-disable","d-none","d-md-inline-block"],["href","javascript:void(0)",1,"d-flex","d-md-inline-block","align-items-center","mr-2","mr-md-0",3,"click"],[1,"las","la-angle-left"],[1,"d-block","d-md-none","pagination-text"],[1,"dt-disable","d-flex","d-md-inline-block","align-items-center","mr-2","mr-md-0"],[1,"list-inline-item","d-none","d-md-inline-block"],["href","javascript:void(0)",3,"ngClass","click"],["href","javascript:void(0)",1,"d-flex","d-md-inline-block","align-items-center","ml-2","ml-md-0",3,"click"],[1,"las","la-angle-right"],[1,"dt-disable","d-flex","d-md-inline-block","align-items-center","ml-2","ml-md-0"],[1,"las","la-caret-right"],["id","test-leads","role","tabpanel",1,"tab-pane","show","active","fade","custom-tab-pane","px-0"],["bdOpacity","1","color","#000","name","sandBoxAccount","type","ball-spin-clockwise","size","medium",3,"fullScreen"],[1,"table-note-wrapper","d-flex","justify-content-md-between","align-items-md-center","flex-column","flex-md-row"],[1,"table-note-text","mb-3"],[1,"mr-1"],["class","btn btn-theme ng-star-inserted ml-auto mb-2 mt-md-1",3,"click",4,"ngIf"],[1,"table-responsive","manage-emp","test-leads"],[1,"btn","btn-theme","ng-star-inserted","ml-auto","mb-2","mt-md-1",3,"click"],[1,"las","la-trash-alt","custom-trash"],["colspan","6"],["src","assets/img/noTestLeads.svg","alt","No Leads",1,"mb-4"],["data-target","#viewActionPopUp","data-toggle","modal",1,"view-request-wrapper",3,"click"],[1,"las","la-eye","mr-1"],[1,"p-2"],["class","prerequisites-screen-wrapper",4,"ngIf"],["class","date-selection-screen-wrapper",4,"ngIf"],[1,"prerequisites-screen-wrapper"],[1,"prerequisites-section","mb-4"],[1,"section-text"],["href","javascript:void(0)","data-toggle","modal","data-target","#callLogSyncBehaviorModal",1,"text-orange","ml-1"],[1,"usage-guidelines-section","mb-4"],[1,"usage-guidelines-list"],[1,"d-flex","justify-content-center"],["type","button",1,"btn","btn-theme","px-4","mt-3",3,"click"],[1,"date-selection-screen-wrapper"],[1,"date-selection-header","mb-3"],[1,"date-selection-title"],[1,"filter-wrapper"],[1,"row","m-0"],[1,"col-12","col-sm-7","col-md-4","pl-0"],[3,"formGroup"],[1,"row","m-0","h-100"],[1,"col-6","pl-0"],["for","from-date",1,"font-weight-normal"],["type","text","ngxDaterangepickerMd","","readonly","true","containerClass","errorTooltip","id","from-date",1,"form-control","for-datePicker",3,"singleDatePicker","placeholder","showDropdowns","autoApply","ngModel","linkedCalendars","locale","minDate","maxDate","formControl","tooltip","ngModelChange"],["fromDateInput",""],["for","to-date",1,"font-weight-normal"],["type","text","ngxDaterangepickerMd","","readonly","true","containerClass","errorTooltip","id","to-date","required","",1,"form-control","for-datePicker",3,"singleDatePicker","placeholder","showDropdowns","autoApply","ngModel","linkedCalendars","locale","formControl","minDate","maxDate","tooltip","ngModelChange"],["toDateInput",""],["class","col-12 col-sm-5 col-md-5 pl-0 align-self-center",4,"ngIf"],[1,"sandbox-note-list-wrapper","mt-3"],[1,"note-heading","mb-0"],[1,"sandbox-note-list"],[1,"sandbox-note-list-item"],[1,"col-12","col-sm-5","col-md-5","pl-0","align-self-center"],[1,"h-100","my-3","mt-4"],["type","button",1,"btn","btn-outline-theme","mr-3",3,"click"],["type","button",1,"btn","btn-theme","custom-btn",3,"click"],["type","button","id","openLockConfirmationModal","data-toggle","modal","data-target","#lockConfirmationModal","data-backdrop","static",1,"d-none"],["id","addNewWebhook","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-md"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["closeUpdateWebhookId",""],[1,"form-horizontal",3,"formGroup"],["add","ngForm"],[1,"col-lg-12"],[1,"form-group","custom-indiamart-input-group",3,"ngClass"],[1,"col-xs-4","control-label"],[2,"color","red","padding-left","5px"],[1,"col-xs-6"],["type","text","trim","blur","formControlName","url","containerClass","errorTooltip","required","",1,"form-control","custom-indiamart-input",3,"placeholder","ngClass","disabled","tooltip","input"],[1,"las","la-info-circle","text-theme","custom-icon",2,"padding-left","3px",3,"appTooltip"],["type","text","maxlength","50","formControlName","secret","trim","blur",1,"form-control","custom-indiamart-input",3,"disabled","placeholder","input"],["class","form-group custom-indiamart-input-group",3,"ngClass",4,"ngIf"],[1,"form-group","custom-indiamart-input",3,"ngClass"],["formControlName","isSkipExcludeNumber","dropdownPosition","top",1,"dt-cursor",3,"addTag","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"sandbok-webhook-modal-footer"],["type","submit","class","btn btn-theme mr-2 webhook-save-btn",3,"disabled","click",4,"ngIf"],["tabindex","-1",1,"alert","alert-dismissible","text-left",3,"ngClass"],["href","#","data-dismiss","alert","aria-label","close",1,"close",3,"click"],["formControlName","version",1,"dt-cursor",3,"clearable","searchable","placeholder"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],[3,"value"],[1,"form-group"],[1,"col-xs-6","control-label"],[1,"row","no-gutters","position-relative"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-5","col-5","reminder-date-input","px-1"],[1,"row","no-gutters"],[1,"col-xl-7","col-lg-7","col-md-7","col-sm-7","col-7"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"connector-view-input",3,"singleDatePicker","placeholder","showDropdowns","autoApply","linkedCalendars","locale","minDate","disabled","maxDate","formControl","ngModelChange"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-5","col-5"],[1,"24hr-example"],["fromTimeTemplate",""],["type","text","id","fromTimeId","readonly","true","placement","bottom",1,"date-time-picker","for-timePicker","connector-view-input",3,"value","popover","outsideClick","click"],["fromTimeId",""],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-5","col-5","reminder-date-input","px-1","ml-5"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"connector-view-input",3,"singleDatePicker","placeholder","showDropdowns","autoApply","linkedCalendars","minDate","maxDate","locale","disabled","formControl","ngModelChange"],[1,"col-xl-5","col-lg-5","col-md-5","col-sm-5","col-5","time-input"],["toTimeTemplate",""],["type","text","id","toTimeId","readonly","true","placement","bottom",1,"date-time-picker","for-timePicker","connector-view-input",3,"value","popover","outsideClick","click"],["toTimeId",""],[3,"minuteStep","showMeridian","ngModel","ngModelOptions","click","ngModelChange"],[1,"list-inline","mb-0","text-center"],["type","button",1,"btn","btn-theme","time-pick-btn",3,"click"],["type","button",1,"btn","btn-theme-black","time-pick-btn",3,"click"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"connector-view-input",3,"singleDatePicker","placeholder","showDropdowns","minDate","maxDate","autoApply","linkedCalendars","locale","formControl","disabled","change"],["type","text","ngxDaterangepickerMd","","readonly","true",1,"connector-view-input",3,"singleDatePicker","placeholder","showDropdowns","autoApply","linkedCalendars","minDate","maxDate","disabled","locale","formControl","ngModelChange"],["type","submit",1,"btn","btn-theme","mr-2","webhook-save-btn",3,"disabled","click"],["class","las la-spinner la-spin",4,"ngIf"],[1,"las","la-spinner","la-spin"],[1,"overall-test-result",2,"display","flex","align-items","center","gap","10px"],[1,"progressbarTest",2,"width","100px","margin-bottom","0"],[1,"json-view"],[1,"status-badge",3,"ngClass"],[1,"status-badge"],["id","viewActionPopUp","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade","show","lead-info-modal",2,"display","block"],[1,"modal-title","w-100","text-center"],[1,"table-responsive"],[1,"table","call_table"],[1,"lead-table-text"],[1,""],[1,"lead-table-text","wrap-text"],[1,"wrap-text"],["truncatedText1",""],["href","javascript:void(0)",1,"text-theme",3,"click"],["truncatedText2",""],[1,"error-text","text-left",2,"margin-left","20px","font-size","14px","color","#FF0000","font-weight","300","font-style","Light","line-height","100%"],[1,"mt-1",2,"font-size","14px","color","#FF0000","font-weight","300","font-style","Light","line-height","100%"]],template:function(t,n){1&t&&(e.TgZ(0,"section",0)(1,"div",1)(2,"div",2),e.YNc(3,le,6,1,"div",3),e.YNc(4,pe,6,6,"div",4),e.TgZ(5,"div",5)(6,"div",6)(7,"h5",7),e._uU(8,"API & Webhook Sandbox Configuration"),e.qZA(),e.TgZ(9,"div",8)(10,"a",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"a",10),e._UZ(14,"i",11),e._uU(15),e.ALo(16,"translate"),e.qZA()()(),e.TgZ(17,"div",12)(18,"div"),e.YNc(19,mt,15,9,"div",13),e.YNc(20,At,3,2,"div",14),e.YNc(21,Nt,55,58,"div",15),e.TgZ(22,"div",16,17),e._UZ(24,"button",18,19),e.qZA(),e.TgZ(26,"div",20,21)(28,"div",22)(29,"div",23)(30,"div",24),e.YNc(31,Yt,5,6,"div",25),e.TgZ(32,"div",26)(33,"div",27)(34,"span",28),e._uU(35,"Webhook URL :"),e.qZA(),e.TgZ(36,"div",29),e._uU(37),e.qZA()(),e.YNc(38,Jt,5,2,"div",30),e.YNc(39,Kt,4,0,"div",30),e.TgZ(40,"button",31,19),e.NdJ("click",function(){return n.closeAddOrEditModel()}),e.TgZ(42,"span",32),e._uU(43,"\xd7"),e.qZA()()(),e.TgZ(44,"div",33)(45,"div",34)(46,"div",35)(47,"span",36),e._uU(48,"Request"),e.qZA(),e.TgZ(49,"span",37),e._uU(50,"HTTP Method : POST"),e.qZA()(),e.YNc(51,Qt,3,3,"pre",38),e.YNc(52,Ht,1,0,"div",38),e.qZA(),e.TgZ(53,"div",34)(54,"div",35)(55,"span",36),e._uU(56,"Response"),e.qZA(),e.YNc(57,Gt,4,2,"span",39),e.YNc(58,jt,2,0,"span",40),e.qZA(),e.YNc(59,Vt,3,3,"pre",38),e.YNc(60,zt,1,0,"div",38),e.qZA()()()()()(),e.TgZ(61,"div",41)(62,"div",42)(63,"div",43)(64,"div",44)(65,"h5",45),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.TgZ(68,"button",46,47),e.NdJ("click",function(){return n.closeAddOrEditModel()}),e.TgZ(70,"span",32),e._uU(71,"\xd7"),e.qZA()()(),e.TgZ(72,"div",48)(73,"div",49)(74,"code")(75,"p"),e._uU(76),e.ALo(77,"json"),e.qZA()()()(),e.TgZ(78,"div",50)(79,"button",51),e.NdJ("click",function(){return n.copyLinkToClipboard()}),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.TgZ(82,"button",52),e.NdJ("click",function(s){return n.onClose(s)})("click",function(){return n.closeAddOrEditModel()}),e._uU(83),e.ALo(84,"translate"),e.qZA()()()()()(),e.TgZ(85,"div",53)(86,"div",42)(87,"div",43)(88,"div",44)(89,"h5",45),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.TgZ(92,"button",54,55),e.NdJ("click",function(){return n.closeAddOrEditModel()}),e.TgZ(94,"span",32),e._uU(95,"\xd7"),e.qZA()()(),e.TgZ(96,"div",48)(97,"div",49)(98,"code"),e._uU(99),e.ALo(100,"json"),e.qZA()()(),e.TgZ(101,"div",50)(102,"button",52),e.NdJ("click",function(s){return n.onClose(s)})("click",function(){return n.closeAddOrEditModel()}),e._uU(103),e.ALo(104,"translate"),e.qZA()()()()(),e.YNc(105,fo,37,11,"div",56),e.TgZ(106,"div",57)(107,"div",58)(108,"div",43)(109,"div",59)(110,"h5",60),e._uU(111,"Call Log Data Sync Behavior"),e.qZA(),e.TgZ(112,"button",61)(113,"span",32),e._uU(114,"\xd7"),e.qZA()()(),e.TgZ(115,"div",62)(116,"p"),e._uU(117,"Data will sync only for the selected date range, depending on whether the dates fall in the past, the future, or both."),e.qZA(),e.TgZ(118,"div",63)(119,"h6",64),e._uU(120,"What if Past Dates are selected ?"),e.qZA(),e.TgZ(121,"ul",65)(122,"li"),e._uU(123,"For "),e.TgZ(124,"strong"),e._uU(125,"Webhook"),e.qZA(),e._uU(126,", real-time call logs will not be sent to the "),e.TgZ(127,"strong"),e._uU(128,"Webhook URL"),e.qZA(),e._uU(129,". You will need to manually resend the call log data using the "),e.TgZ(130,"strong"),e._uU(131,"\u201cResend Request\u201d"),e.qZA(),e._uU(132," link provided."),e._UZ(133,"br"),e.TgZ(134,"strong"),e._uU(135,"For example:"),e.qZA(),e._uU(136," If your selected date range is "),e.TgZ(137,"strong"),e._uU(138),e.ALo(139,"date"),e.ALo(140,"date"),e.qZA(),e._uU(141,", all data must be manually retrieved using the "),e.TgZ(142,"strong"),e._uU(143,"\u201cResend Request\u201d"),e.qZA(),e._uU(144," link."),e.qZA(),e.TgZ(145,"li"),e._uU(146,"For "),e.TgZ(147,"strong"),e._uU(148,"API"),e.qZA(),e._uU(149,", you will be "),e.TgZ(150,"strong"),e._uU(151,"able to fetch the data"),e.qZA(),e._uU(152," within the "),e.TgZ(153,"strong"),e._uU(154,"locked-in period"),e.qZA(),e._uU(155,"."),e.qZA()()(),e.TgZ(156,"div",63)(157,"h6",64),e._uU(158,"What if Future Dates are selected ?"),e.qZA(),e.TgZ(159,"ul",65)(160,"li"),e._uU(161,"For "),e.TgZ(162,"strong"),e._uU(163,"Webhook,"),e.qZA(),e._uU(164," real-time call logs will "),e.TgZ(165,"strong"),e._uU(166,"automatically be sent to the Webhook URL"),e.qZA(),e._uU(167," during the locked-in period. When call logs are synced, the same data will also be "),e.TgZ(168,"strong"),e._uU(169,"available via the Webhook"),e.qZA(),e._uU(170," in real time."),e.qZA(),e.TgZ(171,"li"),e._uU(172,"However, you can still use the "),e.TgZ(173,"strong"),e._uU(174,"\u201cResend Request\u201d"),e.qZA(),e._uU(175," feature if you want to resend the call logs to your Webhook URL."),e._UZ(176,"br"),e.TgZ(177,"strong"),e._uU(178,"For example:"),e.qZA(),e._uU(179," If your selected date range is "),e.TgZ(180,"strong"),e._uU(181),e.ALo(182,"date"),e.ALo(183,"date"),e.qZA(),e._uU(184,", the data will automatically sync as each date occurs."),e.qZA(),e.TgZ(185,"li"),e._uU(186,"For "),e.TgZ(187,"strong"),e._uU(188,"API"),e.qZA(),e._uU(189,", you will be "),e.TgZ(190,"strong"),e._uU(191,"able to fetch the data"),e.qZA(),e._uU(192," within the "),e.TgZ(193,"strong"),e._uU(194,"locked-in period"),e.qZA(),e._uU(195,"."),e.qZA()()(),e.TgZ(196,"div",66)(197,"h6",64),e._uU(198,"What if Past + Future dates are selected ?"),e.qZA(),e.TgZ(199,"ul",65)(200,"li"),e._uU(201,"If the selected range includes both past and future dates, the behavior will differ for each."),e.qZA(),e.TgZ(202,"li",67),e._uU(203,"For Webhook: "),e.TgZ(204,"ul",68)(205,"li"),e._uU(206,"For "),e.TgZ(207,"strong"),e._uU(208,"Past dates"),e.qZA(),e._uU(209,", you will need to manually resend the call log data using the "),e.TgZ(210,"strong"),e._uU(211,"\u201cResend Request\u201d"),e.qZA(),e._uU(212," link."),e.qZA(),e.TgZ(213,"li"),e._uU(214,"For "),e.TgZ(215,"strong"),e._uU(216,"Future dates"),e.qZA(),e._uU(217,", real-time call logs will be sent to the Webhook URL during the locked-in period. When call logs are synced, the same data will also be available via the Webhook in real time."),e.qZA(),e.TgZ(218,"li",67)(219,"strong"),e._uU(220,"For example:"),e.qZA(),e._uU(221," If the selected date range is "),e.TgZ(222,"strong"),e._uU(223),e.ALo(224,"date"),e.ALo(225,"date"),e.qZA(),e._uU(226,": "),e.TgZ(227,"ul",68)(228,"li",69),e._uU(229,"Data from "),e.TgZ(230,"strong"),e._uU(231),e.ALo(232,"date"),e.ALo(233,"date"),e.qZA(),e._uU(234,", must be manually retrieved using the "),e.TgZ(235,"strong"),e._uU(236,"\u201cResend Request\u201d"),e.qZA(),e._uU(237," link."),e.qZA(),e.TgZ(238,"li",69),e._uU(239,"Data from "),e.TgZ(240,"strong"),e._uU(241),e.ALo(242,"date"),e.ALo(243,"date"),e.qZA(),e._uU(244,", will automatically be sent to the Webhook URL during the locked-in period as each date occurs."),e.qZA()()()()(),e.TgZ(245,"li"),e._uU(246,"For API, you will be able to fetch the data within the locked-in period."),e.qZA()()()()()()(),e.TgZ(247,"div",70)(248,"div",71)(249,"div",72)(250,"div",73)(251,"div",74),e.O4$(),e.TgZ(252,"svg",75),e._UZ(253,"rect",76),e.TgZ(254,"defs")(255,"pattern",77),e._UZ(256,"use",78),e.qZA(),e._UZ(257,"image",79),e.qZA()()(),e.kcU(),e.TgZ(258,"div",80)(259,"div",81)(260,"input",82),e.NdJ("ngModelChange",function(s){return n.isSandboxLockChecked=s})("ngModelChange",function(){return n.onCheckboxChange()}),e.qZA(),e.TgZ(261,"label",83),e._uU(262," I confirm that "),e.TgZ(263,"span"),e._uU(264,"*"),e.qZA()()(),e.TgZ(265,"ul",84)(266,"li",85),e._uU(267," I have a "),e.TgZ(268,"strong"),e._uU(269,"developer with the required expertise"),e.qZA(),e._uU(270," to complete the "),e.TgZ(271,"strong"),e._uU(272,"API/Webhook integration"),e.qZA(),e._uU(273," with my source system. "),e.qZA(),e.TgZ(274,"li"),e._uU(275," The selected "),e.TgZ(276,"strong"),e._uU(277),e.ALo(278,"date"),e.ALo(279,"date"),e.qZA(),e._uU(280," and understand that "),e.TgZ(281,"strong"),e._uU(282,"once locked, the dates cannot be changed."),e.qZA()()(),e.YNc(283,xo,3,0,"div",86),e.qZA(),e.TgZ(284,"div",87)(285,"p",88),e._uU(286,"Please type "),e.TgZ(287,"strong",89),e._uU(288),e.qZA(),e._uU(289," to confirm "),e.TgZ(290,"span",90),e._uU(291,"*"),e.qZA()(),e.TgZ(292,"div",91)(293,"input",92),e.NdJ("ngModelChange",function(s){return n.sandboxLockConfirmText=s})("ngModelChange",function(){return n.onConfirmTextChange()}),e.qZA(),e.YNc(294,Co,3,1,"div",93),e.qZA()(),e.TgZ(295,"div",94)(296,"button",95),e.NdJ("click",function(){return n.confirmLockDates()}),e._uU(297,"Yes, Lock it!"),e.qZA(),e.TgZ(298,"button",96),e._uU(299,"Cancel"),e.qZA()()()()()()()()()()()),2&t&&(e.xp6(3),e.Q6J("ngIf",null!=n.notificationCode&&"ALERT"==n.notificationCode&&null!=n.notificationMesssage),e.xp6(1),e.Q6J("ngIf",n.errorMessage&&n.errorMessage.length>0||n.successMessage&&n.successMessage.length>0),e.xp6(7),e.hij("",e.lcZ(12,47,"View API Document")," "),e.xp6(2),e.Q6J("routerLink",e.DdM(101,vo)),e.xp6(2),e.hij(" ",e.lcZ(16,49,"Back")," "),e.xp6(4),e.Q6J("ngIf",!n.isPageLoading&&!n.isNewSanboxConfiguration),e.xp6(1),e.Q6J("ngIf",!n.isPageLoading&&n.isNewSanboxConfiguration),e.xp6(1),e.Q6J("ngIf",n.isWebhookPopUp),e.xp6(10),e.Q6J("ngIf",n.testWebhookErrorMessage&&n.testWebhookErrorMessage.length>0||n.testWebhookSuccessMessage&&n.testWebhookSuccessMessage.length>0),e.xp6(6),e.Oqu(n.testWebhookUrlStr),e.xp6(1),e.Q6J("ngIf",!n.isTestPending&&(n.isSuccessTest||n.isFailedTest)),e.xp6(1),e.Q6J("ngIf",n.isTestPending),e.xp6(12),e.Q6J("ngIf",!n.isTestPending),e.xp6(1),e.Q6J("ngIf",n.isTestPending),e.xp6(5),e.Q6J("ngIf",!n.isTestPending),e.xp6(1),e.Q6J("ngIf",n.isTestPending),e.xp6(1),e.Q6J("ngIf",!n.isTestPending),e.xp6(1),e.Q6J("ngIf",n.isTestPending),e.xp6(6),e.Oqu(e.l
1cZ(67,51,"Request Logs")),e.xp6(10),e.Oqu(e.lcZ(77,53,n.formattedRequestJson)),e.xp6(3),e.Q6J("disabled","Copied!"==n.copyBtnText),e.xp6(1),e.hij(" ",e.lcZ(81,55,n.copyBtnText)," "),e.xp6(3),e.Oqu(e.lcZ(84,57,"Cancel")),e.xp6(7),e.Oqu(e.lcZ(91,59,"Response")),e.xp6(9),e.Oqu(e.lcZ(100,61,n.responsePayloads)),e.xp6(4),e.Oqu(e.lcZ(104,63,"Cancel")),e.xp6(2),e.Q6J("ngIf",n.isActionPopupClose),e.xp6(33),e.AsE("",e.xi3(139,65,n.dynamicDates.pastStart.toDate(),"MMMM dd")," \u2013 ",e.xi3(140,68,n.dynamicDates.pastEnd.toDate(),"MMMM dd"),""),e.xp6(43),e.AsE("",e.xi3(182,71,n.dynamicDates.futureStart.toDate(),"MMMM dd")," \u2013 ",e.xi3(183,74,n.dynamicDates.futureEnd.toDate(),"MMMM dd"),""),e.xp6(42),e.AsE("",e.xi3(224,77,n.dynamicDates.mixedPastStart.toDate(),"MMMM dd")," \u2013 ",e.xi3(225,80,n.dynamicDates.mixedFutureEnd.toDate(),"MMMM dd"),""),e.xp6(8),e.AsE("",e.xi3(232,83,n.dynamicDates.mixedPastStart.toDate(),"MMMM dd")," \u2013 ",e.xi3(233,86,n.dynamicDates.mixedPastEnd.toDate(),"MMMM dd"),""),e.xp6(10),e.AsE("",e.xi3(242,89,n.dynamicDates.mixedFutureStart.toDate(),"MMMM dd")," \u2013 ",e.xi3(243,92,n.dynamicDates.mixedFutureEnd.toDate(),"MMMM dd"),""),e.xp6(18),e.ekj("input-error",!1===n.isSandboxLockChecked&&n.isCheckboxError),e.xp6(1),e.Q6J("ngModel",n.isSandboxLockChecked),e.xp6(17),e.AsE("date range (",e.xi3(278,95,null==n.fromDateModal?null:n.fromDateModal.startDate.toDate(),"MMMM d, yyyy")," \u2013 ",e.xi3(279,98,null==n.toDateModal?null:n.toDateModal.endDate.toDate(),"MMMM d, yyyy"),")"),e.xp6(6),e.Q6J("ngIf",!1===n.isSandboxLockChecked&&n.isCheckboxError),e.xp6(5),e.Oqu(n.expectedLockText),e.xp6(5),e.Q6J("ngModel",n.sandboxLockConfirmText)("ngClass",e.WLB(102,Ao,n.isTextError,n.isTextError)),e.xp6(1),e.Q6J("ngIf",n.isTextError))},dependencies:[c.mk,c.sg,c.O5,d._Y,d.Fj,d.Wl,d.JJ,d.JL,d.Q7,d.nD,d.On,d.oH,d.sg,d.u,R.mh,F.w9,F.jq,z.i9,X.i,A.Ro,Y.OP,J.SP,K.EV,Q.k5,C.rH,c.gd,c.Ts,c.OU,c.uU,m.X$],styles:[".crm-card[_ngcontent-%COMP%]{background:#FFFFFF;border:1px solid #D6D6D6;border-radius:5px;padding:1em;margin:1em 0;display:flex;width:100%}.crm-card.active[_ngcontent-%COMP%]{border-color:orange}.sandbox-card-body[_ngcontent-%COMP%]   .date-filter-block[_ngcontent-%COMP%]   .start-date[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{padding:6px 10px!important}.date-filter-block[_ngcontent-%COMP%]   .select-tag[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .select-emp[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .select-call-type[_ngcontent-%COMP%]{width:25%;display:inline-block;padding-right:18px}.date-filter-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:end;padding:0}.date-filter-block[_ngcontent-%COMP%]   .start-date[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .select-emp[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .button-block[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .button-block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:unset}.select-emp[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .input-type-date[_ngcontent-%COMP%]{color:#2f2f39;width:100%;position:relative;display:inline-block;outline:none;padding:5px 10px;font-size:14px;transition:all .5s ease-out;border-radius:3px;background-color:#fff;border:1px solid #dfdfdf}.export-csv[_ngcontent-%COMP%]:hover{color:orange;transition:all .5s ease-in-out;cursor:pointer}.error-text[_ngcontent-%COMP%]{color:red}.export-csv[_ngcontent-%COMP%]{right:0;position:absolute}.webhooklog-header[_ngcontent-%COMP%]{padding-top:10px;margin-bottom:-17px;display:flex;flex-direction:row}.date-filter-block[_ngcontent-%COMP%]   .select-emp.select-emp-dropdown[_ngcontent-%COMP%]{width:50%}@media screen and (max-width: 575px){.date-filter-block[_ngcontent-%COMP%]   .start-date[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .select-emp[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .button-block[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .button-block[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .date-filter-block[_ngcontent-%COMP%]   .select-emp.select-emp-dropdown[_ngcontent-%COMP%]{width:100%}}.sandbox-content-wraning-wrapper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:400;line-height:17px}.sandbox-content-btns-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:Karla;font-size:14px;font-weight:700;line-height:16px;text-align:left;color:orange;text-decoration:underline}.sandbox-content-btns-wrapper[_ngcontent-%COMP%]   .btn-theme[_ngcontent-%COMP%]   .la-paper-plane[_ngcontent-%COMP%]{transform:rotate(-45deg)}.api-key-card-wrapper[_ngcontent-%COMP%]{border:1px solid #dee2e6;border-radius:5px;padding:10px;width:450px;margin-top:20px;min-height:150px}.custom-border-color[_ngcontent-%COMP%]{border:1px solid #FFA500}.api-key-card-wrapper[_ngcontent-%COMP%]   .api-key-heading[_ngcontent-%COMP%]{font-family:Karla;font-size:18px;font-weight:500;line-height:20px;text-align:left;color:#2f2f39}.generate-api-key[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;align-items:center;justify-content:center;font-family:Karla;font-weight:700;font-size:16px;line-height:100%;letter-spacing:0%;text-decoration:underline;text-underline-offset:0%;color:orange}.api-key-card-inner[_ngcontent-%COMP%]{box-shadow:0 0 14px #23739126;border-radius:5px}.api-key-body-header[_ngcontent-%COMP%]{margin-bottom:12px}.api-key-body-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left;color:#817b7b}.card-page-link[_ngcontent-%COMP%]{font-family:Karla;font-size:14px;font-weight:500;line-height:16px;color:#4f4f4f;margin-bottom:12px}.card-page-link[_ngcontent-%COMP%]   .host-text[_ngcontent-%COMP%]{font-family:500;color:#00f;text-decoration:underline}.created-date-wrapper[_ngcontent-%COMP%]{margin-bottom:12px}.created-date-wrapper[_ngcontent-%COMP%]   .created-on[_ngcontent-%COMP%]{font-family:Lato;font-size:14px;font-weight:500;line-height:16.8px;text-align:left;color:#4f4f4f}.created-date-wrapper[_ngcontent-%COMP%]   .created-date[_ngcontent-%COMP%]{font-family:Lato;font-size:14px;font-weight:500;line-height:16.8px;text-align:left;color:#8f8e8e}.api-key-footer[_ngcontent-%COMP%]   .remove-btn[_ngcontent-%COMP%]{border:none;background-color:transparent;font-family:Lato;font-size:14px;font-weight:400;line-height:16.8px;text-align:left;color:orange;box-shadow:unset;padding:unset}.api-key-footer[_ngcontent-%COMP%]   .remove-btn[_ngcontent-%COMP%]:focus{box-shadow:unset}.filter-wrapper[_ngcontent-%COMP%]   .filter-item-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:Karla;font-size:16px;font-weight:700;line-height:18.7px;text-align:left;color:#000}.filter-wrapper[_ngcontent-%COMP%]   .filter-item-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:red}.table-warning-wrapper[_ngcontent-%COMP%]{margin-bottom:18px}.logs-table-wrapper[_ngcontent-%COMP%]   .table-warning-wrapper[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:2px;font-size:16px;margin-bottom:.5px}.logs-table-wrapper[_ngcontent-%COMP%]   .table-warning-wrapper[_ngcontent-%COMP%]   .table-warning-text[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:500;line-height:17px;text-align:left;color:#000000ab;margin-left:5px}.logs-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]{border:1px solid #DFDFDF;border-radius:3px}.logs-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Karla;font-size:12px;font-weight:400;line-height:14.03px;text-align:left;color:#636363}.logs-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px;line-height:11px;color:#636363}.status-label[_ngcontent-%COMP%]{border-radius:3px;font-family:Karla;font-size:12px;font-weight:400;line-height:14.03px;text-align:center;color:#fff;padding:5px 8px}.status-label.success-label-wrapper[_ngcontent-%COMP%]{background-color:#9c0}.status-label.skipped-label-wrapper[_ngcontent-%COMP%]{background-color:orange}.status-label.ignored-label-wrapper[_ngcontent-%COMP%]{background-color:#949494}.status-label.failed-label-wrapper[_ngcontent-%COMP%]{background-color:#eb7474}.table-note-text[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:400;line-height:17.54px;text-align:left;color:#000}.logs-table-wrapper[_ngcontent-%COMP%]   .test-leads[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]{background-color:transparent;border:none;text-align:center;color:#2f2f39}.logs-table-wrapper[_ngcontent-%COMP%]   .test-leads[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]:focus{outline:unset}.logs-table-wrapper[_ngcontent-%COMP%]   .test-leads[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .view-request-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Karla;font-size:13px;font-weight:400;line-height:15.2px}.sandbox-note-list-wrapper[_ngcontent-%COMP%]   .sandbox-note-list[_ngcontent-%COMP%]{padding-left:23px}.sandbox-note-list-wrapper[_ngcontent-%COMP%]   .note-heading[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:700;line-height:17.54px;text-align:left;color:orange}.sandbox-note-list-wrapper[_ngcontent-%COMP%]   .sandbox-note-list[_ngcontent-%COMP%]   .sandbox-note-list-item[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:400;line-height:17.54px;text-align:left;color:orange}.webhook-verticle-line[_ngcontent-%COMP%]{position:absolute;
1left:0;height:100%;width:1px;background-color:#d4dae0}@media (max-width:767px){.webhook-verticle-line[_ngcontent-%COMP%]{position:absolute;left:0;height:1px;width:93%;background-color:#d4dae0;top:-18px;right:0;margin:auto}}.reminder-date-container[_ngcontent-%COMP%]{position:absolute}.reminder-date-picker[_ngcontent-%COMP%]{position:relative}.reminder-time-picker[_ngcontent-%COMP%]{position:absolute}.date-filter-block[_ngcontent-%COMP%]{padding:15px 20px;border-bottom:1px solid #d4dae0}.date-filter-block.toggle-filter[_ngcontent-%COMP%]{display:none}.date-filter-block[_ngcontent-%COMP%]   .reminder-date[_ngcontent-%COMP%]{width:80.3%;display:inline-block;padding-right:10px}.reminder-date-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}#fromTimeId[_ngcontent-%COMP%], #toTimeId[_ngcontent-%COMP%]{border-right:1px solid #dfdfdf}.reminder-time-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;position:relative;bottom:0}.time-input[_ngcontent-%COMP%]{height:34px}.reminder-close-icon.la-times-circle[_ngcontent-%COMP%]{position:absolute;right:4px;top:10px}.w12[_ngcontent-%COMP%]{display:inline-block;width:12%!important}.w-16[_ngcontent-%COMP%]{display:inline-block;width:13%!important}.left-timepicker[_ngcontent-%COMP%]{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;text-align:end}.timepicker-single[_ngcontent-%COMP%]{border-right:1px solid #dfdfdf;border-top-right-radius:3px;border-bottom-right-radius:3px;text-align:left}.right-timepicker[_ngcontent-%COMP%]{border-left:0;padding-left:2px}.for-timePicker[_ngcontent-%COMP%]{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;height:34px;font-size:13px}.date-picker[_ngcontent-%COMP%]{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.response-container[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:10px;margin:10px;border-radius:5px;font-family:Courier New,Courier,monospace}.response-code[_ngcontent-%COMP%], .response-body[_ngcontent-%COMP%]{color:#c71585}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]{width:100%!important;margin:0!important;padding:0!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .switch[_ngcontent-%COMP%]{position:relative!important;display:inline-block!important;width:35px!important;height:11px!important;margin:11px 0 0!important;padding:0!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0!important;width:0!important;height:0!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{position:absolute!important;cursor:pointer!important;inset:0!important;background-color:#b9b9b9!important;transition:.4s!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]:before{content:\"\"!important;position:absolute!important;top:-3px!important;left:0!important;width:17px!important;height:17px!important;border-radius:50%!important;transition:left .25s!important;border:1px solid #b9b9b9!important;margin:0!important;box-shadow:0 0 10px #0000001a!important;background:rgb(227,227,227)!important;background:linear-gradient(to bottom,rgba(227,227,227,1) 0%,rgba(232,232,232,1) 15%,rgba(251,251,251,1) 49%,rgba(255,255,255,1) 61%,rgba(255,255,255,1) 70%,rgba(245,245,245,1) 83%,rgba(241,241,241,1) 100%)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#e3e3e3\",endColorstr=\"#f1f1f1\",GradientType=0)!important;transition:.4s!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#ffe87d!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translate(20px)!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .slider.round[_ngcontent-%COMP%]{border-radius:34px!important}.webhook-tabs[_ngcontent-%COMP%]   .of_switch[_ngcontent-%COMP%]   .slider.round[_ngcontent-%COMP%]:before{border-radius:50%!important}.webhook-tabs[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{width:35px!important}.pointer-events-none[_ngcontent-%COMP%]{pointer-events:none;cursor:not-allowed}.cursor-disabled[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}
1.progressbar[_ngcontent-%COMP%]{color:#fff;height:8px;text-align:left;font-size:20px;border-radius:15px}.failed-webhook[_ngcontent-%COMP%]   .progressbar[_ngcontent-%COMP%]{background-color:#f22e18;margin-bottom:8px}.failed-webhook[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .failed-webhook[_ngcontent-%COMP%]   .la-exclamation-circle[_ngcontent-%COMP%]{color:#f22e18}.failed-webhook[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px;color:#636363}.pending-webhook[_ngcontent-%COMP%]   .progressbarTest[_ngcontent-%COMP%]{background:linear-gradient(to right,#ffa500 0%,#ffa500 30%,#c7c7c7 30%,#c7c7c7 100%)}.pending-webhook[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px;color:#636363}.success-webhook[_ngcontent-%COMP%]   .progressbar[_ngcontent-%COMP%]{background-color:#9c0;margin-bottom:8px}.success-webhook[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .success-webhook[_ngcontent-%COMP%]   .la-check-circle[_ngcontent-%COMP%]{color:#9c0}.success-webhook[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px;color:#636363}.success-content[_ngcontent-%COMP%]{padding-bottom:10px}.sucess-lable[_ngcontent-%COMP%]{display:inline-block;padding-left:4px;margin-bottom:1px}.view-btn[_ngcontent-%COMP%]{background-color:#f9f9f9;color:#636363;font-size:12px;line-height:14px;font-weight:500;border:1px solid #DFDFDF;border-radius:3px;padding:3px 6px;display:inline-flex;justify-content:center;align-items:center}.view-btn[_ngcontent-%COMP%]   .las.la-eye[_ngcontent-%COMP%]{margin-right:4px;color:#636363;font-size:13px;font-style:normal;font-weight:400;line-height:normal}.filter-wrapper[_ngcontent-%COMP%]   .filter-item-wrapper.form-group[_ngcontent-%COMP%]   .form-control.for-datePicker[_ngcontent-%COMP%]{border-right:1px solid #dfdfdf!important}.json-container[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;overflow-x:auto;white-space:pre-wrap}.display-input-box[_ngcontent-%COMP%]{border:1px solid #D9D9D9;border-radius:5px;overflow-y:auto;padding:10px}.display-input-box[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;border-radius:5px}.display-input-box[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.display-input-box[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#D9D9D9;border-radius:5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.invalid-border[_ngcontent-%COMP%]{border:1px solid red}.swal2-shown[_ngcontent-%COMP%]   .swal2-styled.swal2-confirm.swal2-shown.swal-cancel-button[_ngcontent-%COMP%]{background-color:#404040}.lead-table-text[_ngcontent-%COMP%]{text-align:left}.lead-info-modal[_ngcontent-%COMP%]   .custom-modal-dialog[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:Karla;font-size:32px;font-weight:700;line-height:37.41px;text-align:left;text-underline-position:from-font;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;color:#000}.content.setting-page[_ngcontent-%COMP%]   .custom-card[_ngcontent-%COMP%]{min-height:calc(100vh - 172px)}.lock-error[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .filter-wrapper[_ngcontent-%COMP%]   .filter-item-wrapper.form-group.lock-error[_ngcontent-%COMP%]   input.form-control.for-datePicker[_ngcontent-%COMP%]{border:1px solid red!important;border-radius:3px!important}.row.no-gutters.connector-view[_ngcontent-%COMP%]{cursor:not-allowed!important}.pointer-events-none[_ngcontent-%COMP%]{pointer-events:none!important;cursor:not-allowed!important}.connector-view-wrapper[_ngcontent-%COMP%]{pointer-events:none!important}.view-permission-custom[_ngcontent-%COMP%]{background-color:#f3efef}.connector-view[_ngcontent-%COMP%]   .connector-view-input[_ngcontent-%COMP%]{background-color:#f3efef!important;pointer-events:none!important;cursor:not-allowed!important}.connector-view-date[_ngcontent-%COMP%]   .connector-view-input[_ngcontent-%COMP%]{background-color:#f3efef!important;cursor:not-allowed!important}.cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed!important}.input-not-allowed[_ngcontent-%COMP%]{background-color:#f3efef!important;pointer-events:none!important}
1.wrap-text[_ngcontent-%COMP%]{max-width:200px;white-space:normal;word-wrap:break-word;overflow-wrap:break-word}.la-info-circle[_ngcontent-%COMP%]{font-size:20px}.custom-btn[_ngcontent-%COMP%]{border:1px!important}.custom-trash[_ngcontent-%COMP%]{font-size:large}.custom-card-header-sandbox[_ngcontent-%COMP%]{padding:12px 10px}.custom-trash-remove[_ngcontent-%COMP%]{font-size:medium}.tab-pane.active[_ngcontent-%COMP%]{display:block}.badge-success[_ngcontent-%COMP%]{background:#9C0}.badge-fail[_ngcontent-%COMP%]{color:#fff;border-radius:3px;background:#EB7474}.badge-skipped[_ngcontent-%COMP%]{color:#fff;border-radius:3px;background:#949494}.custom-plus-icon[_ngcontent-%COMP%]{position:relative;top:2px}.custom-sandbox-icon-font-size[_ngcontent-%COMP%]{font-size:20px}.sandbox-dropdown-select[_ngcontent-%COMP%]   .multiselect-dropdown[_ngcontent-%COMP%]   .dropdown-btn[_ngcontent-%COMP%]{background:red!important}.search-status[_ngcontent-%COMP%]{min-width:200px}.custom-webhook-btn[_ngcontent-%COMP%]{padding:12px}.no-data-availabel[_ngcontent-%COMP%]{font-family:karla;font-weight:400;font-size:15px;line-height:100%;letter-spacing:0%;color:#636363}.custom-sandbox-add-webhook[_ngcontent-%COMP%]{cursor:pointer}.sandbok-webhook-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.webhook-save-btn[_ngcontent-%COMP%]{width:11.5em}.add-webhook[_ngcontent-%COMP%]{font-family:Karla;font-weight:700;font-size:16px;line-height:100%;letter-spacing:0%;text-decoration:underline;text-underline-offset:0%;color:orange}.custom-cursop-pointer[_ngcontent-%COMP%]{cursor:pointer}.custom-disable[_ngcontent-%COMP%]{cursor:not-allowed}.custom-disable[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .ng-select[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .box-border[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .access-token-formgroup[_ngcontent-%COMP%], .custom-disable[_ngcontent-%COMP%]   .switch[_ngcontent-%COMP%]{background-color:#f3efef!important;pointer-events:none!important}.custom-disable[_ngcontent-%COMP%]   .access-token-icon[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:not-allowed!important}.custom-disable.of_switch[_ngcontent-%COMP%]   .slider.round[_ngcontent-%COMP%]:before, .custom-disable.of_switch[_ngcontent-%COMP%]   .slider[_ngcontent-%COMP%]{cursor:not-allowed!important}.disable-bg-color[_ngcontent-%COMP%]{background-color:#f9d21e47!important}.custom-trash-removex[_ngcontent-%COMP%]{font-size:15px}  .text-orange{color:orange!important;font-weight:700;text-decoration:underline}.date-selection-screen-wrapper[_ngcontent-%COMP%]{background:#fff;padding:0}.section-title[_ngcontent-%COMP%]{font-family:Karla;font-weight:600;font-style:SemiBold;font-size:20px;leading-trim:NONE;line-height:100%;letter-spacing:0%;color:#2f2f39;margin-top:10px;margin-bottom:8px;background-color:#f8f8f8;padding:13px;position:relative}.section-title[_ngcontent-%COMP%]:before{content:\"\";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:orange;border-radius:0}.section-text[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:26px;color:#545454;letter-spacing:0%;padding-left:20px;margin-bottom:8px}.prerequisites-list[_ngcontent-%COMP%], .usage-guidelines-list[_ngcontent-%COMP%]{padding-left:50px;margin-bottom:24px}.prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .usage-guidelines-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:25px;letter-spacing:0%;color:#545454;margin-bottom:6px;position:relative;list-style:none}.prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before, .usage-guidelines-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:20px;height:14px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='14' viewBox='0 0 20 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8.5L5 11.5L12 4.5M6 8.5L9 11.5L16 4.5' stroke='%23FFA500' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;margin-left:-25px;margin-right:8px;vertical-align:-2px}.prerequisites-list[_ngcontent-%COMP%]   li.no-tick[_ngcontent-%COMP%]:before{display:none}.prerequisites-list[_ngcontent-%COMP%]   li.single-tick[_ngcontent-%COMP%]:before, .usage-guidelines-list[_ngcontent-%COMP%]   li.single-tick[_ngcontent-%COMP%]:before{content:\"\"!important;width:20px;height:14px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='14' viewBox='0 0 20 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8.5L5 11.5L12 4.5M6 8.5L9 11.5L16 4.5' stroke='%23FFA500' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;margin-left:-25px;margin-right:8px;vertical-align:-2px}.sub-point[_ngcontent-%COMP%]{display:block;margin-top:5px;color:#636363;font-size:14px}.prerequisites-screen-wrapper[_ngcontent-%COMP%]   .d-flex.justify-content-center[_ngcontent-%COMP%]{margin-top:20px}.faq-heading[_ngcontent-%COMP%]{font-family:Karla;font-weight:700;font-style:Bold;font-size:20px;leading-trim:NONE;line-height:25px;letter-spacing:0%;color:#2f2f39;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #d9d9d9}.faq-item[_ngcontent-%COMP%]{border:1px solid #DFDFDF;border-radius:3px;overflow:hidden;background:#FFFFFF!important;box-shadow:0 2px 7px 1px #00000040;margin-bottom:24px}.faq-question[_ngcontent-%COMP%]{padding:10px 10px 7px;background-color:#f8f8f8;border-bottom:1px solid #D8D8D8;cursor:pointer}.faq-question[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{font-family:Karla;font-weight:700;font-style:Bold;font-size:16px;leading-trim:NONE;line-height:25px;letter-spacing:0%;color:#636363;margin-bottom:0}.faq-answer[_ngcontent-%COMP%]{padding:12px;font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:25px;letter-spacing:0%;color:#545454}.sync-scenario-wrapper[_ngcontent-%COMP%]{background:transparent;padding:0;margin-top:20px}#lockConfirmationModal[_ngcontent-%COMP%]   .custom-checkbox[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:28px;letter-spacing:0%;color:#545454;cursor:pointer}#lockConfirmationModal[_ngcontent-%COMP%]   .custom-checkbox[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fa0000}#lockConfirmationModal[_ngcontent-%COMP%]   .custom-checkbox.input-error[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]:before{border-color:red}#lockConfirmationModal[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{height:45px;font-weight:700;font-family:Karla}.date-selection-header[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{font-family:Karla;font-size:16px;font-weight:500;color:#2f2f39;margin-top:13px;margin-bottom:16px}.date-selection-title[_ngcontent-%COMP%]{font-family:Karla;font-size:15px;font-weight:600;color:#2f2f39;margin-top:0;margin-bottom:10px;padding:0;background:none!important}.date-selection-title[_ngcontent-%COMP%]:before{display:none!important}.modal-icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center}
1.warning-circle[_ngcontent-%COMP%]{width:93px!important;height:93px!important;border:2px solid #FFA500;border-radius:50%;display:flex;align-items:center;justify-content:center;color:orange;font-size:42px!important;font-weight:300}.confirmation-list[_ngcontent-%COMP%]{list-style:none;font-size:14px}.confirmation-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#636363;line-height:1.4}.text-warning[_ngcontent-%COMP%]{color:orange!important}.modal-content[_ngcontent-%COMP%]{box-shadow:0 0 20px #0000001a;border-radius:10px}.modal-body[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]{font-weight:700;font-size:15px}.mt-n2[_ngcontent-%COMP%]{margin-top:-.5rem!important}.invalid-border[_ngcontent-%COMP%]{border:1px solid red!important}.error-text[_ngcontent-%COMP%]{color:red;font-size:14px;margin-top:5px;display:block}#lockConfirmationModal[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{max-width:521px}#lockConfirmationModal[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]{border-radius:4px!important;padding:15px}#lockConfirmationModal[_ngcontent-%COMP%]   .btn-outline-theme[_ngcontent-%COMP%], #lockConfirmationModal[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]{background-color:#4b5563!important;color:#fff!important;padding:4px 12px!important;font-size:11px!important;font-weight:600!important;border-radius:4px!important;border:none!important}#lockConfirmationModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:28px;letter-spacing:0%;color:#545454;margin-bottom:7px!important}#lockConfirmationModal[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:28px;letter-spacing:0%;color:#545454}#lockConfirmationModal[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]::placeholder{font-family:Karla;font-weight:300;font-style:Light;font-size:14px;leading-trim:NONE;line-height:100%;letter-spacing:0%;text-align:center;color:#35353578}.call-sync-modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #DFDFDF!important;padding-block:22px 17px!important;margin-inline:14px}.call-sync-modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:Karla;font-weight:600;font-style:SemiBold;font-size:25px;leading-trim:NONE;line-height:100%;letter-spacing:0%;color:#2f2f39;margin-bottom:0}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:28px!important;font-weight:300!important;color:#636363!important;text-shadow:none!important;opacity:.8!important;margin:-1.25rem -1.5rem -1.25rem auto!important}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover{color:#2f2f39!important;opacity:1!important}.modal-buttons[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]{background-color:#404040!important;border:none!important;color:#fff!important;border-radius:4px!important}.modal-buttons[_ngcontent-%COMP%]   .btn-theme[_ngcontent-%COMP%]{background-color:orange!important;border:none!important;color:#fff!important;border-radius:4px!important}.modal-buttons[_ngcontent-%COMP%]   .btn-theme[_ngcontent-%COMP%]:hover{background-color:#e69500!important}.modal-content[_ngcontent-%COMP%]{border-radius:8px!important;overflow:visible}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:14px 30px!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:30px;letter-spacing:0%;color:#545454;margin-bottom:10px}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .sync-scenario-wrapper[_ngcontent-%COMP%]{margin-top:16px!important;margin-bottom:8px!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:8px!important;padding:10px 14px 10px 20px!important;font-family:Karla;font-weight:700;font-style:Bold;font-size:18px;leading-trim:NONE;line-height:100%;letter-spacing:0%;color:#2f2f39}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .section-text[_ngcontent-%COMP%], #callLogSyncBehaviorModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:Karla;font-weight:400;font-style:Regular;font-size:16px;leading-trim:NONE;line-height:30px;letter-spacing:0%;color:#545454;margin-bottom:0!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:2px!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:unset!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]{margin-bottom:10px!important;padding-left:40px!important}#callLogSyncBehaviorModal[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]{padding-left:25px!important}.prerequisites-section[_ngcontent-%COMP%], .usage-guidelines-section[_ngcontent-%COMP%]{max-width:1035px}.change_link[_ngcontent-%COMP%]{margin-right:13px}
1.confirmation-content[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]{margin-left:10px;max-width:95%}.modal-buttons[_ngcontent-%COMP%]{margin-block:12px 5px}.confirmation-content[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]:after{height:15px;width:14px}.confirmation-content[_ngcontent-%COMP%]   .prerequisites-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{margin-right:unset}.webhook-url-display[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-family:Karla;font-weight:600;font-style:SemiBold;font-size:15px;leading-trim:NONE;line-height:20px;letter-spacing:0px;color:#2f2f39}.url-input-box[_ngcontent-%COMP%]{background:#F3EFEF;padding:8px 16px;border-radius:8px;color:#717182;font-size:14px;min-height:34px;text-overflow:ellipsis;overflow:hidden}.overall-test-result[_ngcontent-%COMP%]{font-weight:600;font-style:SemiBold;font-size:14px;leading-trim:NONE;line-height:100%;letter-spacing:0%;text-align:center;color:#5d5d5d}.test-container[_ngcontent-%COMP%]{display:flex;gap:20px;padding:0 24px 24px;flex-wrap:wrap}.test-panel[_ngcontent-%COMP%]{flex:0 0 calc(50% - 10px);border:1px solid #e0e0e0;border-radius:10px;overflow:hidden;background:#fff}.panel-header[_ngcontent-%COMP%]{background:#fff;padding:10px 16px;border-radius:10px 10px 0 0;border-bottom:1px solid #E5E7EB;display:flex;gap:8px;justify-content:space-between;align-items:center;min-height:52px;flex-wrap:wrap}.panel-title[_ngcontent-%COMP%]{font-weight:600;font-style:Semi Bold;font-size:15px;leading-trim:NONE;line-height:27px;letter-spacing:0px;color:#101828}.panel-sub-title[_ngcontent-%COMP%]{font-weight:600;font-style:SemiBold;font-size:14px;leading-trim:NONE;line-height:100%;letter-spacing:0%;color:#5d5d5d}.json-view[_ngcontent-%COMP%]{background:#F9FAFB;color:#f54900;padding:15px;max-height:250px;min-height:150px;overflow-y:auto;font-weight:400;font-style:Regular;font-size:14px;leading-trim:NONE;line-height:22.75px;letter-spacing:0px;margin:0;height:calc(100% - 52px)}.json-view[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.json-view[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#D9D9D9;border-radius:10px}.json-view[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent}.status-badge[_ngcontent-%COMP%]{font-weight:600;font-style:SemiBold;font-size:14px;leading-trim:NONE;line-height:100%;letter-spacing:0%;text-align:center;color:#5d5d5d}.status-success[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], .overall-test-result[_ngcontent-%COMP%]   .status-success[_ngcontent-%COMP%]{color:#1daa61}.status-failed[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], .overall-test-result[_ngcontent-%COMP%]   .status-failed[_ngcontent-%COMP%]{color:#c63131}.result-success[_ngcontent-%COMP%]{color:#28a745}.result-failed[_ngcontent-%COMP%]{color:#dc3545}.test-webhook-close[_ngcontent-%COMP%]{position:absolute;top:10px;right:15px}@media (max-width:991px){.test-container[_ngcontent-%COMP%]{flex-direction:column}.test-panel[_ngcontent-%COMP%]{width:100%}}.pd-rgt-21[_ngcontent-%COMP%]{padding-right:21px!important}.progressbarTest[_ngcontent-%COMP%]{color:#fff;padding:1%;text-align:right;font-size:20px;border-radius:15px;width:100%;margin-bottom:8px;height:8px;background:linear-gradient(to right,#ffa500 0%,#ffa500 30%,#c7c7c7 30%,#c7c7c7 100%)}.modal-body.testWebhook[_ngcontent-%COMP%]{padding:0rem}.test-header-info[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:15px 50px 15px 15px;border-bottom:1px solid #E5E7EB;margin-bottom:10px;flex-wrap:wrap;gap:8px}.test-modal-content[_ngcontent-%COMP%]{border-radius:12px;border:none;box-shadow:0 10px 30px #0000001a}.table-responsive.webhook-tabs[_ngcontent-%COMP%]{min-height:250px}"]})}const ko=[{path:"",component:Z}],Mo=C.Bz.forChild(ko);var j=l(80529),Do=l(21256),wo=l(94954),Oo=l(54333),Po=l(78791),So=l(21094),Zo=l(29141),yo=l(10266),Eo=l(20978);const Io={fullPickerInput:"DD MMM YYYY, HH:mm",parseInput:"LL LT",datePickerInput:"LL",timePickerInput:"LT",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"};class y{static \u0275fac=function(t){return new(t||y)};static \u0275mod=e.oAB({type:y});static \u0275inj=e.cJS({providers:[_.t,(0,So.e$)()],imports:[c.ez,d.u5,d.UX,j.JF,R.J7,F.A0,Do.m,A.ef,Y.ZQ.forRoot(),Oo.JX,J.n1,Po.o,Zo.ez,yo.AV,K.Db.forRoot(),Q.UU.forRoot(),wo.VI.forChild(),m.aw.forRoot({loader:{provide:m.Zw,useFactory:Eo.HttpLoaderFactory,deps:[j.eN]}}),Mo]})}},20978:(N,T,l)=>{l.r(T),l.d(T,{HttpLoaderFactory:()=>O,ShareWithEmployeeModule:()=>g});var c=l(36895),C=l(24006),k=l(21256),v=l(19832),r=l(43056),_=l(20388),M=l(94650);function O(f){return new v.w(f)}class g{static \u0275fac=function(e){return new(e||g)};static \u0275mod=M.oAB({type:g});static \u0275inj=M.cJS({imports:[c.ez,r.UU.forRoot(),_.zk.forRoot(),
1C.u5,C.UX,k.m]})}},43056:(N,T,l)=>{l.d(T,{UU:()=>x,k5:()=>e});var c=l(94650),C=l(82381),k=l(21607),v=l(65987),r=l(36895),_=l(5963);function M(m,h){if(1&m&&(c.TgZ(0,"h3",3),c._uU(1),c.qZA()),2&m){const u=c.oxw();c.xp6(1),c.Oqu(u.title)}}class g{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}}g.\u0275fac=function(h){return new(h||g)},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"});class f{constructor(h){this._placement="top",Object.assign(this,h)}set placement(h){this._bsVersions.isBs5?this._placement=v.Bz[h]:this._placement=h}get _bsVersions(){return(0,k.Wl)()}checkMarginNecessity(){return(0,v.lx)(this._placement)}}f.\u0275fac=function(h){return new(h||f)(c.Y36(g))},f.\u0275cmp=c.Xpm({type:f,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block","position","absolute"],hostVars:7,hostBindings:function(h,u){2&h&&(c.uIk("id",u.popoverId),c.Tol("popover in popover-"+u._placement+" bs-popover-"+u._placement+" "+u._placement+" "+u.containerClass+" "+u.checkMarginNecessity()),c.ekj("show",!u._bsVersions.isBs3)("bs3",u._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:["*"],decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(h,u){1&h&&(c.F$t(),c._UZ(0,"div",0),c.YNc(1,M,2,1,"h3",1),c.TgZ(2,"div",2),c.Hsn(3),c.qZA()),2&h&&(c.xp6(1),c.Q6J("ngIf",u.title))},dependencies:[r.O5],styles:[".popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-4px}[_nghost-%COMP%]   .popover-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0});let d=0;class e{constructor(h,u,w,A,U,L){this._elementRef=u,this._renderer=w,this._positionService=L,this.popoverId=d++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=U.createLoader(u,A,w).provide({provide:g,useValue:h}),Object.assign(this,h),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,typeof window<"u"&&u.nativeElement.addEventListener("click",function(){try{u.nativeElement.focus()}catch{return}})}get isOpen(){return this._popover.isShown}set isOpen(h){h?this.show():this.hide()}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}});const h=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(f).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},u=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const w=(0,_.H)(this.delay).subscribe(()=>{h(),u()});this.triggers&&(0,k.AL)(this.triggers).forEach(A=>{A.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,A.close,()=>{w.unsubscribe(),u()}))})}else h()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}}e.\u0275fac=function(h){return new(h||e)(c.Y36(g),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.s_b),c.Y36(C.oj),c.Y36(v.sA))},e.\u0275dir=c.lG2({type:e,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",boundariesElement:"boundariesElement",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",container:"container",containerClass:"containerClass",isOpen:"isOpen",delay:"delay"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]});class x{static forRoot(){return{ngModule:x,providers:[C.oj,v.sA]}}}x.\u0275fac=function(h){return new(h||x)},x.\u0275mod=c.oAB({type:x}),x.\u0275inj=c.cJS({imports:[r.ez]})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.