PageSourceSearch

https://hou.la/chunk-VX4ID2EE.js

js hou.la collected 2026-09-25 03:32:23 UTC 41,591 bytes, 1 lines download raw bytes

1import{a as he,b as ue}from"./chunk-DNNP3KLJ.js";import{a as pe}from"./chunk-HVLO3SGC.js";import"./chunk-TKJJQVX7.js";import{a as oe,b as ae}from"./chunk-LAPCUU4J.js";import{a as se}from"./chunk-RH57MTTG.js";import{f as de}from"./chunk-B3QJM2RM.js";import"./chunk-M6OZBIKI.js";import"./chunk-XQLXGKEK.js";import"./chunk-IXD6ECVB.js";import"./chunk-RRCBQ55K.js";import"./chunk-DQRROS2B.js";import"./chunk-EONF3GVN.js";import"./chunk-5LMG4TVJ.js";import"./chunk-Z2TVBXTG.js";import"./chunk-WRHHAZEI.js";import{a as ge}from"./chunk-QIOURN4K.js";import"./chunk-KYVCMV2E.js";import"./chunk-HWZZ5RQT.js";import"./chunk-ZNR7QNVV.js";import"./chunk-JCFONIMH.js";import"./chunk-WGAXTYG2.js";import"./chunk-U3Z5BGA7.js";import{c as le,d as y}from"./chunk-G6MDBWTL.js";import{a as _e}from"./chunk-7EBRP4XA.js";import{b as ce}from"./chunk-M6YDMVQ7.js";import{a as me}from"./chunk-OTMVSU27.js";import{b as re}from"./chunk-VRHU7RMY.js";import{a as X}from"./chunk-EB6TJ75L.js";import"./chunk-QI7CEGT6.js";import"./chunk-6ND7557V.js";import{D as q}from"./chunk-FOJCKIWO.js";import"./chunk-6DXFCF2C.js";import{a as ie}from"./chunk-NBMUSEX4.js";import{a as ee,b as te}from"./chunk-3AIY57KH.js";import"./chunk-AB6CKZTE.js";import"./chunk-H66TAOKK.js";import"./chunk-Z64D265S.js";import"./chunk-K5O3OQFW.js";import"./chunk-2DRXLVRR.js";import{e as ne}from"./chunk-RQJZECR4.js";import"./chunk-G3G5OK6Q.js";import"./chunk-AERMLNF3.js";import"./chunk-QHMYZ6SM.js";import"./chunk-PJPLTBJX.js";import"./chunk-DLIVM562.js";import"./chunk-CV2ZWZQE.js";import"./chunk-H4HD3LNW.js";import{ja as Q}from"./chunk-AQEWHUN5.js";import{d as Z,e as J}from"./chunk-YQZAETCE.js";import{o as U,s as $,x as Y}from"./chunk-EO42E46J.js";import"./chunk-3QVSKJ3X.js";import{G as z,I as j,p as G,r as F,s as K}from"./chunk-ERUCNOOT.js";import{$b as w,Fc as N,Ic as H,Jb as c,Kb as V,Lb as E,Mb as L,Qb as B,Qc as d,Rc as p,Sc as O,Uc as I,Vb as n,Wb as o,Xb as _,Yb as W,Zb as R,_a as D,db as t,fc as b,gc as g,ib as S,la as h,ma as u,sb as P,sc as M,tc as l,uc as x,vc as m,wa as A,wc as k,yb as v}from"./chunk-DBE7WQEG.js";import{g as f}from"./chunk-W7GRJBO5.js";var ve=(r,i)=>({"table-danger-soft":r,"log-row-expanded":i});function xe(r,i){if(r&1&&_(0,"app-widget-loading",4),r&2){let e=g();L("dark"),c("loading",e.loading)("loadingError",!!e.error)}}function fe(r,i){if(r&1){let e=w();n(0,"app-widget-api-error",5),b("retry",function(){h(e);let a=g();return u(a.loadAll())}),o()}}function Ee(r,i){r&1&&(n(0,"span",80),d(1,"translate"),_(2,"span",81),n(3,"span"),l(4,"LIVE"),o()()),r&2&&c("pTooltip",p(1,1,"MANAGER.STATS.LIVE_TOOLTIP"))}function we(r,i){if(r&1&&(n(0,"div",74),v(1,Ee,5,3,"span",75),n(2,"span",76),d(3,"translate"),_(4,"i",77),n(5,"span"),l(6),d(7,"number"),o()(),n(8,"span",78),d(9,"translate"),_(10,"i",79),n(11,"span"),l(12),d(13,"number"),o()()()),r&2){let e=g(3);t(),c("ngIf",e.sseConnected),t(),c("pTooltip",p(3,5,"MANAGER.WEBHOOK_DETAILS.DELIVERED_PERIOD")),t(4),x(p(7,7,e.periodTotalDelivered)),t(2),c("pTooltip",p(9,9,"MANAGER.WEBHOOK_DETAILS.FAILED_PERIOD")),t(4),x(p(13,11,e.periodTotalFailed))}}function Se(r,i){if(r&1){let e=w();n(0,"div",82)(1,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeChartPeriod(15))}),l(2," 15j "),o(),n(3,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeChartPeriod(30))}),l(4," 30j "),o(),n(5,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeChartPeriod(90))}),l(6," 90j "),o()()}if(r&2){let e=g(3);t(),E("active",e.chartPeriod===15),t(2),E("active",e.chartPeriod===30),t(2),E("active",e.chartPeriod===90)}}function Ce(r,i){if(r&1){let e=w();n(0,"div",82)(1,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeHourlyPeriod("24h"))}),l(2," 24h "),o(),n(3,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeHourlyPeriod("48h"))}),l(4," 48h "),o(),n(5,"button",83),b("click",function(){h(e);let a=g(3);return u(a.changeHourlyPeriod("7d"))}),l(6," 7j "),o()()}if(r&2){let e=g(3);t(),E("active",e.hourlyPeriod==="24h"),t(2),E("active",e.hourlyPeriod==="48h"),t(2),E("active",e.hourlyPeriod==="7d")}}function ke(r,i){if(r&1){let e=w();n(0,"div",57)(1,"div",58)(2,"span",59),_(3,"i",60),l(4),d(5,"translate"),o(),v(6,we,14,13,"div",61),o(),n(7,"div",62)(8,"div",63)(9,"div",64)(10,"button",65),b("
1click",function(){h(e);let a=g(2);return u(a.switchView("daily"))}),_(11,"i",66),n(12,"span"),l(13),d(14,"translate"),o()(),n(15,"button",65),b("click",function(){h(e);let a=g(2);return u(a.switchView("hourly"))}),_(16,"i",67),n(17,"span"),l(18),d(19,"translate"),o()()(),v(20,Se,7,6,"div",68)(21,Ce,7,6,"div",68),o(),n(22,"div",69)(23,"span",70),d(24,"translate"),_(25,"i",71),n(26,"span"),l(27),o()(),n(28,"button",72),d(29,"translate"),b("click",function(){h(e);let a=g(2);return u(a.downloadExport())}),_(30,"i",73),o()()()()}if(r&2){let e=g(2);t(4),m(" ",p(5,14,"MANAGER.WEBHOOK_DETAILS.DELIVERIES")," "),t(2),c("ngIf",e.webhook),t(4),E("active",e.viewMode==="daily"),t(3),x(p(14,16,"MANAGER.STATS.DAY")),t(2),E("active",e.viewMode==="hourly"),t(3),x(p(19,18,"MANAGER.STATS.HOUR")),t(2),c("ngIf",e.viewMode==="daily"),t(),c("ngIf",e.viewMode==="hourly"),t(2),c("ngClass",e.successRate>=90?"stats-badge-success":e.successRate>=50?"stats-badge-warning":"stats-badge-danger")("pTooltip",p(24,20,"MANAGER.WEBHOOK_DETAILS.GLOBAL_SUCCESS_RATE")),t(4),m("",e.successRate,"%"),t(),c("pTooltip",p(29,22,"MANAGER.STATS.EXPORT_CSV"))}}function ye(r,i){r&1&&(n(0,"div",84)(1,"div",85),l(2),d(3,"translate"),o()()),r&2&&(t(2),m(" ",p(3,1,"MANAGER.STATS.NO_DATA")," "))}function Me(r,i){if(r&1&&(n(0,"div",86),_(1,"app-widget-chart",87),o()),r&2){let e=g(2);t(),c("tooltip",!0)("responsive",!0)("data",e.chartData)}}function Oe(r,i){r&1&&(n(0,"span",59),_(1,"i",88),l(2),d(3,"translate"),o()),r&2&&(t(2),m(" ",p(3,1,"MANAGER.WEBHOOK_DETAILS.DISTRIBUTION")," "))}function Ie(r,i){if(r&1&&(n(0,"div",94),_(1,"span",95),n(2,"span",96),l(3),o(),n(4,"span",97),l(5),d(6,"number"),o()()),r&2){let e=i.$implicit,s=i.index,a=g(3);t(),V("background-color",a.doughnutData.datasets[0].backgroundColor[s]),t(2),x(e),t(2),x(p(6,4,a.doughnutData.datasets[0].data[s]))}}function Te(r,i){if(r&1&&(n(0,"div",89)(1,"div",90),_(2,"app-widget-chart",91),o(),n(3,"div",92),v(4,Ie,7,6,"div",93),o()()),r&2){let e=g(2);t(2),c("data",e.doughnutData),t(2),c("ngForOf",e.doughnutData.labels)}}function Ae(r,i){r&1&&(n(0,"div",98),_(1,"i",99),l(2),d(3,"translate"),o()),r&2&&(t(2),m(" ",p(3,1,"MANAGER.WEBHOOK_DETAILS.NO_DATA")," "))}function De(r,i){r&1&&(n(0,"span",59),_(1,"i",100),l(2," Configuration "),o())}function Pe(r,i){if(r&1&&(n(0,"span",101),l(1),o()),r&2){let e=i.$implicit,s=g(2);t(),m(" ",s.getEventShortLabel(e)," ")}}function Ve(r,i){if(r&1&&(n(0,"tr")(1,"td",42),l(2),d(3,"translate"),o(),n(4,"td")(5,"code"),l(6),o()()()),r&2){let e=g(2);t(2),m(" ",p(3,2,"MANAGER.WEBHOOK_DETAILS.LINK_FILTER")," "),t(4),x(e.webhook.linkId)}}function Le(r,i){if(r&1&&(n(0,"tr")(1,"td",42),l(2),d(3,"translate"),o(),n(4,"td")(5,"code"),l(6),o()()()),r&2){let e=g(2);t(2),m(" ",p(3,2,"MANAGER.WEBHOOK_DETAILS.TAG_FILTER")," "),t(4),x(e.webhook.tagId)}}function Be(r,i){r&1&&(n(0,"span",59),_(1,"i",102),l(2),d(3,"translate"),o()),r&2&&(t(2),m(" ",p(3,1,"MANAGER.WEBHOOK_DETAILS.SECURITY_GDPR")," "))}function We(r,i){if(r&1&&(n(0,"code",103),l(1),o()),r&2){let e=g(2);t(),x(e.secretValue)}}function Re(r,i){r&1&&(n(0,"span",104),l(1,"\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF\u25CF"),o())}function Ne(r,i){if(r&1){let e=w();n(0,"div",57)(1,"div",58)(2,"span",59),_(3,"i",105),l(4),d(5,"translate"),o(),n(6,"div",74)(7,"span",106),l(8),d(9,"number"),o()()(),n(10,"div",62)(11,"div",63)(12,"div",82)(13,"button",83),b("click",function(){h(e);let a=g(2);return u(a.filterLogs(void 0))}),l(14),d(15,"translate"),o(),n(16,"button",83),b("click",function(){h(e);let a=g(2);return u(a.filterLogs(!0))}),_(17,"i",107),l(18),d(19,"translate"),o(),n(20,"button",83),b("click",function(){h(e);let a=g(2);return u(a.filterLogs(!1))}),_(21,"i",108),l(22),d(23,"translate"),o()()(),n(24,"div",69)(25,"button",72),d(26,"translate"),b("click",function(){h(e);let a=g(2);return u(a.downloadExport())}),_(27,"i",73),o()()()()}if(r&2){let e=g(2);t(4),m(" ",p(5,13,"MANAGER.WEBHOOK_DETAILS.DELIVERY_LOGS")," "),t(4),k(" ",p(9,15,e.logsTotal)," r\xE9sultat",e.logsTotal>1?"s":""," "),t(5),E("active",e.filterSuccess===void 0),t(),m(" ",p(15,17,"MANAGER.WEBHOOK_DETAILS.ALL")," "),t(2),E("active",e.filterSuccess===!0),t(2),m("",p(19,19,"MANAGER.WEBHOOK_DETAILS.SUCCESS")," "),t(2),E("active",e.filterSuccess===!1),t(2),m("",p(23,21,"MANAGER.WEBHOOK_DETAILS.FAILURES")," "),t(3),c("pTooltip",p(26,23,"MANAGER.STATS.EXPORT_CSV"))}}function He(r,i){if(r&1&&(n(0,"pre",130),l(1),o()),r&2){let e=g(2).$implicit,s=g(3);t(),x(s.formatJson(e.responseHeaders))}}function Ge(r,i){if(r&1&&(n(0,"pre",137),l(1),o()),r&2){let e=g(2).$implicit;t(),x(e.responseBody)}}function Fe(r,i){if(r&1&&(n(0,"div",138),_(1,"i",139),l(2),o()),r&2){let e=g(2).$implicit;t(2),m("",e.errorMessage," ")}}function Ke(r,i){if(r&1&&(n(0,"tr",122)(1,"td",123)(2,"div",124)(3,"div",125)(4,"div",126)(5,"div",127)(6,"div",128),_(7,"i",129),l(8),d(9,"translate"),o(),n(10,"pre",130),l(11),o()()(),n(12,"div",126)(13,"div",127)(14,"div",128),_(15,"i",131),l(16),d(17,"translate"),o(),n(18,"div",132)(19,"span",133),l(20),o(),n(21,"span",111),l(22),o()(),v(23,He,2,1,"pre",134)(24,Ge,2,1,"pre",135)(25,Fe,3,1,"div",136),o()()()()()()),r&2){let e=g().$implicit,s=g(3);t(8),m("",p(9,9,"MANAGER.WEBHOOK_DETAILS.PAYLOAD_SENT")," "),t(3),x(s.formatJson(e.payload)),t(5),m("",p(17,11,"MANAGER.WEBHOOK_DETAILS.RESPONSE")," "),t(3),c("ngClass",e.httpStatus&&e.httpStatus<300?"bg-success":"bg-danger"),t(),m(" HTTP ",e.httpStatus||"\u2014"," "),t(2),x(e.responseTimeMs?e.responseTimeMs+"ms":""),t(),c("ngIf",e.responseHeaders),t(),c("ngIf",e.responseBody),t(),c("ngIf",e.errorMessage)}}function ze(r,i){if(r&1){let e=w();W(0),n(1,"tr",114),b("click",function(){let a=h(e).$implicit,C=g(3);return u(C.toggleLogDetail(a))}
1),n(2,"td",115),_(3,"i",116),o(),n(4,"td",117),l(5),o(),n(6,"td")(7,"span",118),l(8),o()(),n(9,"td"),_(10,"i",43),o(),n(11,"td")(12,"span",119),l(13),o()(),n(14,"td",117),l(15),o(),n(16,"td",115),l(17),o(),n(18,"td",120),l(19),o()(),v(20,Ke,26,13,"tr",121),R()}if(r&2){let e=i.$implicit,s=g(3);t(),c("ngClass",H(12,ve,!e.success,s.expandedLogId===e.id)),t(2),c("ngClass",s.expandedLogId===e.id?"pi-chevron-down":"pi-chevron-right"),t(2),m(" ",s.formatLogDate(e.createdAt)," "),t(3),x(s.getEventShortLabel(e.event)),t(2),c("ngClass",e.success?"pi-check-circle text-success":"pi-times-circle text-danger"),t(2),c("ngClass",e.httpStatus&&e.httpStatus<300?"bg-success":"bg-danger"),t(),m(" ",e.httpStatus||"\u2014"," "),t(2),m(" ",e.responseTimeMs?e.responseTimeMs+"ms":"\u2014"," "),t(2),m(" ",e.attempt||1," "),t(),c("pTooltip",e.errorMessage||""),t(),m(" ",e.errorMessage||"\u2014"," "),t(),c("ngIf",s.expandedLogId===e.id)}}function je(r,i){if(r&1&&(n(0,"div")(1,"div",109)(2,"table",110)(3,"thead")(4,"tr",111),_(5,"th",112),n(6,"th"),l(7),d(8,"translate"),o(),n(9,"th"),l(10),d(11,"translate"),o(),n(12,"th"),l(13),d(14,"translate"),o(),n(15,"th"),l(16,"HTTP"),o(),n(17,"th"),l(18),d(19,"translate"),o(),n(20,"th"),l(21),d(22,"translate"),o(),n(23,"th"),l(24),d(25,"translate"),o()()(),n(26,"tbody"),v(27,ze,21,15,"ng-container",113),o()()()()),r&2){let e=g(2);t(7),m(" ",p(8,7,"MANAGER.WEBHOOK_DETAILS.LOG_DATE")," "),t(3),m(" ",p(11,9,"MANAGER.WEBHOOK_DETAILS.LOG_EVENT")," "),t(3),m(" ",p(14,11,"MANAGER.WEBHOOK_DETAILS.LOG_STATUS")," "),t(5),m(" ",p(19,13,"MANAGER.WEBHOOK_DETAILS.LOG_TIME")," "),t(3),m(" ",p(22,15,"MANAGER.WEBHOOK_DETAILS.LOG_ATTEMPT")," "),t(3),m(" ",p(25,17,"MANAGER.WEBHOOK_DETAILS.LOG_ERROR")," "),t(3),c("ngForOf",e.logs)}}function Ue(r,i){r&1&&(n(0,"div",98),_(1,"i",141),l(2),d(3,"translate"),o()),r&2&&(t(2),m(" ",p(3,1,"MANAGER.WEBHOOK_DETAILS.NO_LOGS")," "))}function $e(r,i){if(r&1&&v(0,Ue,4,3,"div",140),r&2){let e=g(2);c("ngIf",!e.logsLoading)}}function Ye(r,i){if(r&1){let e=w();n(0,"div",142)(1,"small",42),l(2),o(),n(3,"div",82)(4,"button",143),b("click",function(){h(e);let a=g(2);return u(a.changePage(-1))}),_(5,"i",144),o(),n(6,"button",143),b("click",function(){h(e);let a=g(2);return u(a.changePage(1))}),_(7,"i",145),o()()()}if(r&2){let e=g(2);t(2),k(" Page ",e.logsPage," / ",e.logsTotalPages," "),t(2),c("disabled",e.logsPage<=1),t(2),c("disabled",e.logsPage>=e.logsTotalPages)}}function Ze(r,i){if(r&1){let e=w();n(0,"div",6)(1,"a",7),_(2,"i",8),l(3),d(4,"translate"),o(),n(5,"div",9)(6,"div",10)(7,"div",11)(8,"a",12),_(9,"i",13),l(10),o(),n(11,"div",14)(12,"span"),l(13),o(),n(14,"span",15),l(15),d(16,"translate"),d(17,"translate"),o()()()(),n(18,"div",16)(19,"div",17)(20,"small",18),d(21,"translate"),_(22,"i",19),n(23,"span"),l(24),o()(),n(25,"small",18),d(26,"translate"),_(27,"i",20),n(28,"span"),l(29),o()(),n(30,"div",21)(31,"button",22),d(32,"translate"),b("click",function(){h(e);let a=g();return u(a.testWebhook())}),_(33,"i",23),o(),n(34,"button",24),d(35,"translate"),d(36,"translate"),b("click",function(){h(e);let a=g();return u(a.toggleEnabled())}),_(37,"i",25),o(),n(38,"button",24),d(39,"translate"),b("click",function(){h(e);let a=g();return u(a.openEditDialog())}),_(40,"i",26),o(),n(41,"button",27),d(42,"translate"),b("click",function(a){h(e);let C=g();return u(C.confirmDelete(a))}),_(43,"i",28),o()()(),n(44,"div"),l(45),d(46,"translate"),d(47,"localizedDate"),o()()(),n(48,"p-panel"),v(49,ke,31,24,"ng-template",29),n(50,"div",30),v(51,ye,4,3,"div",31)(52,Me,2,3,"div",32),o()(),n(53,"div",33)(54,"div",34)(55,"div",35)(56,"p-panel"),v(57,Oe,4,3,"ng-template",29)(58,Te,5,2,"div",36)(59,Ae,4,3,"ng-template",null,0,I),o()(),n(61,"div",35)(62,"p-panel"),v(63,De,3,0,"ng-template",29),n(64,"div",37)(65,"table",38)(66,"tbody")(67,"tr")(68,"td",39),l(69),d(70,"translate"),o(),n(71,"td"),v(72,Pe,2,1,"span",40),o()(),v(73,Ve,7,4,"tr",41)(74,Le,7,4,"tr",41),n(75,"tr")(76,"td",42),l(77),d(78,"translate"),o(),n(79,"td"),l(80),o()(),n(81,"tr")(82,"td",42),l(83),d(84,"translate"),o(),n(85,"td"),l(86),d(87,"number"),o()(),n(88,"tr")(89,"td",42),l(90),d(91,"translate"),o(),n(92,"td"),l(93),o()()()()()()(),n(94,"div",35)(95,"p-panel"),v(96,Be,4,3,"ng-template",29),n(97,"div",37)(98,"table",38)(99,"tbody")(100,"tr")(101,"td",39),l(102),d(103,"translate"),o(),n(104,"td"),_(105,"i",43),l(106),d(107,"translate"),d(108,"translate"),o()(),n(109,"tr")(110,"td",42),l(111),d(112,"translate"),o(),n(113,"td"),_(114,"i",43),l(115),d(116,"translate"),d(117,"translate"),o()(),n(118,"tr")(119,"td",42),l(120),d(121,"translate"),o(),n(122,"td")(123,"span",44),l(124),o()()(),n(125,"tr")(126,"td",42),l(127),d(128,"translate"),o(),n(129,"td",45),l(130),o()(),n(131,"tr")(132,"td",42),l(133),d(134,"translate"),o(),n(135,"td",45),l(136),o()()()(),_(137,"hr",46),n(138,"div",47),l(139),d(140,"translate"),o(),n(141,"div",14),v(142,We,2,1,"code",48)(143,Re,2,0,"span",49),n(144,"button",50),d(145,"translate"),d(146,"translate"),b("click",function(){h(e);let a=g();return u(a.toggleSecret())}),_(147,"i",51),o(),n(148,"button",52),d(149,"translate"),b("click",function(){h(e);let a=g();return u(a.regenerateSecret())}),_(150,"i",53),o()()()()()()(),n(151,"p-panel",54),v(152,Ne,28,25,"ng-template",29)(153,je,28,19,"div",55)(154,$e,1,1,"ng-template",null,1,I)(156,Ye,8,4,"div",56),o()()}if(r&2){let e=M(60),s=M(155),a=g();t(),c("routerLink","/studio/webhooks"),t(2),m("",p(4,56,"MANAGER.WEBHOOK_DETAILS.BACK")," "),t(5),c("href",a.webhook.url,D),t(2),m(" ",a.webhook.url," "),t(3),x(a.webhook.name),t(),c("ngClass",a.webhook.enabled?"bg-success":"bg-danger"),t(),m(" ",a.webhook.enabled?p(16,58,"MANAGER.WEBHOOKS.ACTIVE"):p(17,60,"MANAGER.WEBHOOKS.DISABLED")," "),t(5),c("pTooltip",p(21,62,"MANAGER.WEBHOOK_DETAILS.TOTAL_DELIVERED")),t(4),x(a.webhook.totalDelivered),t(),c("pTooltip",p(26,64,"MANAGER.WEBHOOK_DETAILS.TOTAL_FAILED")),t(4),x(a.webhook.totalFailed),t(2),c("disabled",a.testing)("pTooltip",p(32,66,"MANAGER.WEBHOOKS.TEST")),t(3),c("pTooltip",a.webhook.enabled?p(35,68,"MANAGER.WEBHOOKS.DISABLE"):p(36,70,"MANAGER.WEBHOOKS.ENABLE")),t(3),c("ngClass",a.webhook.enabled?"pi-pause":"pi-play"),t(),c("pTooltip",p(39,72,"MANAGER.WEBHOOKS.EDIT")),t(3),c("pTooltip",p(42,74,"MANAGER.WEBHOOKS.DELETE")),t(4),k(" ",p(46,76,"MANAGER.WEBHOOK_DETAILS.CREATED_ON")," ",O(47,78,a.webhook.createdAt,"dd MMM yyyy")," "),t(6),c("ngIf",!a.chartData),t(),c("ngIf",a.chartData),t(6),c("ngIf",a.doughnutData)("ngIfElse",e),t(11),m(" ",p(70,81,"MANAGER.WEBHOOK_DETAILS.EVENTS")," "),t(3),c("ngForOf",a.webhook.events),t(),c("ngIf",a.webhook.linkId),t(),c("ngIf",a.webhook.tagId),t(3),m(" ",p(78,83,"MANAGER.WEBHOOK_DETAILS.BATCH")," "),t(3),k(" ",a.webhook.batchSize," / ",a.webhook.batchDelayMs,"ms "),t(3),m(" ",p(84,85,"MANAGER.WEBHOOK_DETAILS.SAMPLING")," "),t(3),m(" ",O(87,87,a.webhook.samplingRate,"1.0-0"),"% "),t(4),m(" ",p(91,90,"MANAGER.WEBHOOK_DETAILS.CREATED_AT")," "),t(3),x(a.formatDate(a.webhook.createdAt)),t(9),m(" ",p(103,92,"MANAGER.WEBHOOK_DETAILS.ANONYMIZE_IP")," "),t(3),c("ngClass",a.webhook.anonymizeIp?"pi-check text-success":"pi-times text-danger"),t(),m(" ",a.webhook.anonymizeIp?p(107,94,"MANAGER.WEBHOOK_DETAILS.YES"):p(108,96,"MANAGER.WEBHOOK_DETAILS.NO")," "),t(5),m(" ",p(112,98,"MANAGER.WEBHOOK_DETAILS.EXCLUDE_CITY")," "),t(3),c("ngClass",a.webhook.excludeGeoCity?"pi-check text-success":"pi-times text-danger"),t(),m(" ",a.webhook.excludeGeoCity?p(116,100,"MANAGER.WEBHOOK_DETAILS.YES"):p(117,102,"MANAGER.WEBHOOK_DETAILS.NO")," "),t(5),m(" ",p(121,104,"MANAGER.WEBHOOK_DETAILS.CONSECUTIVE_FAILURES")," "),t(3),c("ngClass",a.webhook.consecutiveFailures>0?"text-danger fw-bold":"text-success"),t(),m(" ",a.webhook.consecutiveFailures," "),t(3),m(" ",p(128,106,"MANAGER.WEBHOOK_DETAILS.LAST_DELIVERY")," "),t(3),m(" ",a.formatDate(a.webhook.lastDeliveredAt)," "),t(3),m(" ",p(134,108,"MANAGER.WEBHOOK_DETAILS.LAST_FAILURE")," "),t(3),m(" ",a.formatDate(a.webhook.lastFailedAt)," "),t(3),m(" ",p(140,110,"MANAGER.WEBHOOK_DETAILS.HMAC_SECRET")," "),t(3),c("ngIf",a.secretVisible),t(),c("ngIf",!a.secretVisible),t(),c("pTooltip",a.secretVisible?p(145,112,"MANAGER.WEBHOOK_DETAILS.HIDE"):p(146,114,"MANAGER.WEBHOOK_DETAILS.SHOW")),t(3),c("ngClass",a.secretVisible?"pi-eye-slash":"pi-eye"),t(),c("pTooltip",p(149,116,"MANAGER.WEBHOOK_DETAILS.REGENERATE")),t(5),c("ngIf",a.logs.length>0)("ngIfElse",s),t(3),c("ngIf",a.logsTotalPages>1)}}
1var be=class r{constructor(i,e,s,a,C,T,Je){this.route=i;this.webhookService=e;this.toastService=s;this.dialogService=a;this.confirmService=C;this.ngZone=T;this.dateFormat=Je}webhook=null;loading=!0;error=null;webhookId="";ref;chartData=null;chartPeriod=30;doughnutData=null;viewMode="daily";hourlyPeriod="24h";loadingHourly=!1;chartColors=["#3b82f6","#22c55e","#f59e0b","#ef4444","#8b5cf6","#ec4899","#06b6d4","#84cc16","#f97316","#6366f1"];secretVisible=!1;secretValue="";logs=[];logsLoading=!1;logsPage=1;logsTotal=0;logsTotalPages=0;filterSuccess;expandedLogId=null;testing=!1;eventSource=null;sseConnected=!1;periodTotalDelivered=0;periodTotalFailed=0;ngOnInit(){this.webhookId=this.route.snapshot.paramMap.get("id")||"",this.webhookId&&this.loadAll()}ngOnDestroy(){this.ref?.close(),this.eventSource&&(this.eventSource.close(),this.eventSource=null)}loadAll(){return f(this,null,function*(){this.loading=!0;try{this.webhook=yield this.webhookService.getOne(this.webhookId),yield Promise.all([this.loadChart(),this.loadEventDistribution(),this.loadLogs()]),this.startStatsStream()}catch(i){this.error=i?.error?.message||"Webhook introuvable"}finally{this.loading=!1}})}startStatsStream(){!this.webhookId||typeof window>"u"||(this.eventSource&&this.eventSource.close(),this.eventSource=this.webhookService.getStatsStream(this.webhookId,i=>{this.ngZone.run(()=>{this.sseConnected=!0,i.webhook&&(this.webhook=i.webhook),i.stats&&this.viewMode==="daily"&&this.chartPeriod===30&&this.updateChartFromSSE(i.stats),i.distribution&&this.updateDoughnutFromSSE(i.distribution),i.logs&&this.logsPage===1&&this.filterSuccess===void 0&&(this.logs=i.logs),i.logsTotal!==void 0&&this.logsPage===1&&this.filterSuccess===void 0&&(this.logsTotal=i.logsTotal,this.logsTotalPages=Math.ceil(i.logsTotal/20))})},()=>{this.ngZone.run(()=>{this.sseConnected=!1})}))}updateChartFromSSE(i){let e=getComputedStyle(document.documentElement);this.periodTotalDelivered=i.reduce((s,a)=>s+a.delivered,0),this.periodTotalFailed=i.reduce((s,a)=>s+a.failed,0),this.chartData={labels:i.map(s=>new Date(s.date).toLocaleDateString("fr-FR",{day:"numeric",month:"short"})),datasets:[{type:"bar",label:"Livr\xE9s",backgroundColor:e.getPropertyValue("--bs-primary")||"#3b82f6",data:i.map(s=>s.delivered),minBarLength:1},{type:"bar",label:"\xC9chou\xE9s",backgroundColor:e.getPropertyValue("--bs-danger")||"#dc3545",data:i.map(s=>s.failed),minBarLength:0}]}}updateDoughnutFromSSE(i){if(i.length===0){this.doughnutData=null;return}this.doughnutData={labels:i.map(e=>this.getEventShortLabel(e.event)),datasets:[{data:i.map(e=>e.count),backgroundColor:i.map((e,s)=>this.chartColors[s%this.chartColors.length])}]}}loadChart(){return f(this,null,function*(){try{let i=yield this.webhookService.getDeliveryStatsByDay(this.webhookId,this.chartPeriod);this.updateChartFromSSE(i)}catch{this.chartData=null}})}loadEventDistribution(){return f(this,null,function*(){try{let i=yield this.webhookService.getEventDistribution(this.webhookId);this.updateDoughnutFromSSE(i)}catch{this.doughnutData=null}})}changeChartPeriod(i){return f(this,null,function*(){this.chartPeriod=i,yield this.loadChart()})}switchView(i){this.viewMode!==i&&(this.viewMode=i,i==="daily"?this.loadChart():this.loadHourlyChart())}loadHourlyChart(){return f(this,null,function*(){this.loadingHourly=!0;try{let i=yield this.webhookService.getDeliveryStatsByHour(this.webhookId,this.hourlyPeriod);this.updateHourlyChart(i)}catch{this.chartData=null}finally{this.loadingHourly=!1}})}changeHourlyPeriod(i){return f(this,null,function*(){this.hourlyPeriod=i,yield this.loadHourlyChart()})}updateHourlyChart(i){let e=getComputedStyle(document.documentElement);this.periodTotalDelivered=i.reduce((s,a)=>s+a.delivered,0),this.periodTotalFailed=i.reduce((s,a)=>s+a.failed,0),this.chartData={labels:i.map(s=>{let a=new Date(s.hour),C=a.toLocaleDateString("fr-FR",{day:"2-digit",month:"2-digit"}),T=a.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"});return`${C} ${T}`}),datasets:[{type:"bar",label:"Livr\xE9s",backgroundColor:e.getPropertyValue("--bs-primary")||"#3b82f6",data:i.map(s=>s.delivered),minBarLength:1},{type:"bar",label:"\xC9chou\xE9s",backgroundColor:e.getPropertyValue("--bs-danger")||"#dc3545",data:i.map(s=>s.failed),minBarLength:0}]}}loadLogs(){return f(this,null,function*(){this.logsLoading=!0;try{let i=yield this.webhookService.getLogs(this.webhookId,this.logsPage,20,this.filterSuccess);this.logs=i.logs,this.logsTotal=i.total,this.logsTotalPages=i.totalPages}catch{this.toastService.add({severity:"error",summary:"Erreur",detail:"Impossible de charger les logs",life:3e3})}finally{this.logsLoading=!1}})}filterLogs(i){return f(this,null,function*(){this.filterSuccess=i,this.logsPage=1,yield this.loadLogs()})}changePage(i){return f(this,null,function*(){this.logsPage+=i,yield this.loadLogs()})}toggleLogDetail(i){this.expandedLogId=this.expandedLogId===i.id?null:i.id}testWebhook(){return f(this,null,function*(){if(this.webhook){this.testing=!0,this.toastService.add({severity:"info",summary:"Test en cours...",detail:`Envoi vers ${this.webhook.url}`,life:2e3});try{let i=yield this.webhookService.test(this.webhookId);i.success?this.toastService.add({severity:"success",summary:"Test r\xE9ussi",detail
1:`HTTP ${i.httpStatus} \u2014 ${i.responseTimeMs}ms`,life:5e3}):this.toastService.add({severity:"error",summary:"Test \xE9chou\xE9",detail:i.errorMessage||`HTTP ${i.httpStatus}`,life:5e3}),yield Promise.all([this.loadLogs(),this.loadChart()])}catch(i){this.toastService.add({severity:"error",summary:"Erreur",detail:i?.error?.message||"Erreur r\xE9seau",life:5e3})}finally{this.testing=!1}}})}toggleEnabled(){return f(this,null,function*(){if(this.webhook)try{this.webhook.enabled?(yield this.webhookService.disable(this.webhookId),this.toastService.add({severity:"warn",summary:"D\xE9sactiv\xE9",life:3e3})):(yield this.webhookService.enable(this.webhookId),this.toastService.add({severity:"success",summary:"Activ\xE9",life:3e3})),this.webhook=yield this.webhookService.getOne(this.webhookId)}catch(i){this.toastService.add({severity:"error",summary:"Erreur",detail:i?.error?.message||"Erreur",life:5e3})}})}openEditDialog(){this.webhook&&(this.ref=this.dialogService.open(ue,{header:"Modifier le webhook",width:"600px",modal:!0,dismissableMask:!0,contentStyle:{"padding-top":"1.5rem"},data:{webhook:this.webhook}}),this.ref.onClose.subscribe(i=>f(this,null,function*(){i&&(this.webhook=yield this.webhookService.getOne(this.webhookId))})))}confirmDelete(i){return f(this,null,function*(){if(!(!this.webhook||!(yield this.confirmService.confirm({message:"Supprimer d\xE9finitivement ce webhook ?",header:"Supprimer",severity:"danger",acceptLabel:"Supprimer",rejectLabel:"Annuler"}))))try{yield this.webhookService.deleteAsync(this.webhookId),this.toastService.add({severity:"success",summary:"Supprim\xE9",life:3e3}),window.history.back()}catch(s){this.toastService.add({severity:"error",summary:"Erreur",detail:s?.error?.message||"Erreur",life:5e3})}})}toggleSecret(){return f(this,null,function*(){if(this.secretVisible){this.secretVisible=!1,this.secretValue="";return}try{let i=yield this.webhookService.getSecret(this.webhookId);this.secretValue=i.secret,this.secretVisible=!0}catch{this.toastService.add({severity:"error",summary:"Erreur",detail:"Impossible de r\xE9cup\xE9rer le secret",life:3e3})}})}regenerateSecret(){return f(this,null,function*(){try{let i=yield this.webhookService.regenerateSecret(this.webhookId);this.secretValue=i.secret,this.secretVisible=!0,this.toastService.add({severity:"warn",summary:"Secret r\xE9g\xE9n\xE9r\xE9",detail:"Pensez \xE0 mettre \xE0 jour votre serveur",life:5e3})}catch{this.toastService.add({severity:"error",summary:"Erreur",detail:"Impossible de r\xE9g\xE9n\xE9rer",life:3e3})}})}get successRate(){if(!this.webhook)return 100;let i=this.webhook.totalDelivered+this.webhook.totalFailed;return i===0?100:Math.round(this.webhook.totalDelivered/i*100)}get totalDeliveries(){return this.webhook?this.webhook.totalDelivered+this.webhook.totalFailed:0}getEventShortLabel(i){return{"link.clicked":"Clic","link.created":"Cr\xE9\xE9","link.updated":"Modifi\xE9","link.deleted":"Supprim\xE9","link.health_changed":"Sant\xE9","link.safety_changed":"S\xE9curit\xE9","link.expired":"Expir\xE9","link.password_attempt":"Mot de passe","profile.visited":"Profil visit\xE9","profile.link_clicked":"Profil clic",test:"Test"}[i]||i}formatDate(i){return this.dateFormat.formatDateShort(i)}formatLogDate(i){return this.dateFormat.formatLogDate(i)}formatJson(i){if(!i)return"\u2014";try{return JSON.stringify(i,null,2)}catch{return String(i)}}getLogsExportUrl(){return this.webhookService.getLogsExportUrl(this.webhookId)}downloadExport(){return f(this,null,function*(){try{yield this.webhookService.downloadLogsExport(this.webhookId)}catch{this.toastService.add({severity:"error",summary:"Erreur",detail:"Impossible de t\xE9l\xE9charger le CSV",life:3e3})}})}static \u0275fac=function(e){return new(e||r)(S(U),S(he),S(X),S(y),S(ge),S(A),S(_e))};static \u0275cmp=P({type:r,selectors:[["app-view-manager-webhook-details"]],features:[N([y])],decls:3,vars:3,consts:[["noDoughnut",""],["noLogs",""],[3,"loading","loadingError","style",4,"ngIf"],["class","webhook-details",4,"ngIf"],[3,"loading","loadingError"],[3,"retry"],[1,"webhook-details"],[1,"btn","btn-sm","pe-1","ps-0","text-light","d-flex","align-items-center",3,"routerLink"],[1,"pi","pi-arrow-left","me-2"],[1,"row","mb-3"],[1,"col","align-items-center","d-flex","align-items-stretch","flex-column","justify-content-center"],[1,"user-select-none"],["target","_blank",1,"text-decoration-none","text-warning",3,"href"],[1,"pi","pi-link"],[1,"d-flex","align-items-center","gap-2"],[1,"badge","rounded-pill",3,"ngClass"],[1,"col-auto","user-select-none","text-light","fs-6","d-flex","flex-column","justify-content-end","align-items-end"],[1,"d-flex","justify-content-end","align-items-center","gap-3","mb-2"],["tooltipPosition","top",1,"d-flex","align-items-center","text-muted",3,"pTooltip"],[1,"pi","pi-check-circle","me-1"],[1,"pi","pi-times-circle","me-1"],[1,"webhook-action-pill"],["tooltipPosition","top",1,"action-pill-btn",3,"click","disabled","pTooltip"],[1,"pi","pi-send","fs-6"],["tooltipPosition","top",1,"action-pill-btn",3,"click","pTooltip"],[1,"pi","fs-6",3,"ngClass"],[1,"pi","pi-pencil","fs-6"],["tooltipPosition","top",1,"action-pill-btn","action-pill-btn--danger",3,"click","pTooltip"],[1,"pi","pi-trash","fs-6"],["pTemplate","header"],[2,"min-height","300px"],["class","py-2",4,"ngIf"],["class","d-flex align-items-end h-100 w-100",4,"ngIf"],[1,"detailed-stats-section","mt-3"],[1,"row","g-3","mb-3"],[1,"col-12","col-md-6","col-lg-4"],["class","stats-donut-wrapper",4,"ngIf","ngIfElse"],[1,"stats-panel-body"],[1,"table","table-sm","table-borderless","mb-0"],[1,"text-muted",2,"width","140px"],["class","badge bg-light text-dark me-1 mb-1",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"text-muted"],[1,"pi",3,"ngClass"],[3,"ngClass"],[1,"small"],[1,"my-2"],[1,"small","fw-semibold","mb-2"],["class","bg-light p-1 rounded flex-grow-1 text-break small",4,"ngIf"],["class","text-muted flex-grow-1 small",4,"ngIf"],["tooltipPosition","left",1,"btn","btn-sm","btn-outline-secondary","py-0","px-1",3,"click","pTooltip"],[1,"pi","small",3,"ngClass"],["tooltipPosition","left",1,"btn","btn-sm","btn-outline-warning","py-0","px-1",3,"click","pTooltip"],[1,"pi","pi-refresh","small"],[1,"mt-3"],[4,"ngIf","ngIfElse"],["class","d-flex justify-content-between align-items-center mt-3 px-3 pb-2",4,"ngIf"],[1,"stats-header","w-100"],[1,"stats-header-top"],[1,"stats-title"],[1,"pi","pi-chart-bar"],["class","stats-badges",4,"ngIf"],[1,"stats-header-control
1s"],[1,"stats-controls-left"],[1,"stats-view-toggle"],["type","button",1,"stats-toggle-btn",3,"click"],[1,"pi","pi-calendar"],[1,"pi","pi-clock"],["class","stats-period-selector",4,"ngIf"],[1,"stats-controls-right"],["tooltipPosition","bottom",1,"stats-badge",3,"ngClass","pTooltip"],[1,"pi","pi-percentage"],["type","button","tooltipPosition","left",1,"stats-export-btn",3,"click","pTooltip"],[1,"pi","pi-download"],[1,"stats-badges"],["class","stats-badge stats-badge-live","tooltipPosition","bottom",3,"pTooltip",4,"ngIf"],["tooltipPosition","bottom",1,"stats-badge","stats-badge-primary",3,"pTooltip"],[1,"pi","pi-check-circle"],["tooltipPosition","bottom",1,"stats-badge","stats-badge-danger",3,"pTooltip"],[1,"pi","pi-times-circle"],["tooltipPosition","bottom",1,"stats-badge","stats-badge-live",3,"pTooltip"],[1,"live-dot"],[1,"stats-period-selector"],["type","button",1,"stats-period-btn",3,"click"],[1,"py-2"],[1,"alert","alert-warning","p-2","fs-6","text-center","user-select-none"],[1,"d-flex","align-items-end","h-100","w-100"],["type","bar","height","280",1,"w-100",3,"tooltip","responsive","data"],[1,"pi","pi-chart-pie"],[1,"stats-donut-wrapper"],[1,"stats-donut-chart"],["type","doughnut","height","120",3,"data"],[1,"stats-donut-legend"],["class","stats-donut-legend-item",4,"ngFor","ngForOf"],[1,"stats-donut-legend-item"],[1,"stats-donut-dot"],[1,"stats-donut-label"],[1,"stats-donut-value"],[1,"text-center","text-muted","py-4"],[1,"pi","pi-chart-pie","fs-1","mb-2","d-block"],[1,"pi","pi-cog"],[1,"badge","bg-light","text-dark","me-1","mb-1"],[1,"pi","pi-shield"],[1,"bg-light","p-1","rounded","flex-grow-1","text-break","small"],[1,"text-muted","flex-grow-1","small"],[1,"pi","pi-list"],[1,"stats-badge","stats-badge-muted"],[1,"pi","pi-check-circle","text-success","me-1",2,"font-size","0.75rem"],[1,"pi","pi-times-circle","text-danger","me-1",2,"font-size","0.75rem"],[1,"table-responsive"],[1,"table","table-sm","mb-0"],[1,"text-muted","small"],[2,"width","30px"],[4,"ngFor","ngForOf"],[1,"log-row",3,"click","ngClass"],[1,"text-center"],[1,"pi","log-expand-icon",3,"ngClass"],[1,"text-nowrap","small"],[1,"badge","bg-light","text-dark"],[1,"badge",3,"ngClass"],["tooltipPosition","left",1,"small","text-danger","text-truncate",2,"max-width","200px",3,"pTooltip"],["class","log-detail-row",4,"ngIf"],[1,"log-detail-row"],["colspan","8",1,"p-0"],[1,"log-detail-content"],[1,"row","g-3"],[1,"col-12","col-md-6"],[1,"log-detail-section"],[1,"log-detail-label"],[1,"pi","pi-send","me-1"],[1,"log-detail-code"],[1,"pi","pi-server","me-1"],[1,"log-detail-meta","mb-2"],[1,"badge","me-2",3,"ngClass"],["class","log-detail-code",4,"ngIf"],["class","log-detail-code mt-2",4,"ngIf"],["class","text-danger small mt-2",4,"ngIf"],[1,"log-detail-code","mt-2"],[1,"text-danger","small","mt-2"],[1,"pi","pi-exclamation-triangle","me-1"],["class","text-center text-muted py-4",4,"ngIf"],[1,"pi","pi-inbox","fs-1","mb-2","d-block"],[1,"d-flex","justify-content-between","align-items-center","mt-3","px-3","pb-2"],["type","button",1,"stats-period-btn",3,"click","disabled"],[1,"pi","pi-chevron-left"],[1,"pi","pi-chevron-right"]],template:function(e,s){e&1&&v(0,xe,1,4,"app-widget-loading",2)(1,fe,1,0,"app-widget-api-error")(2,Ze,157,118,"div",3),e&2&&(c("ngIf",s.loading),t(),B(!s.loading&&s.error?1:-1),t(),c("ngIf",!s.loading&&s.webhook))},dependencies:[j,G,F,K,z,Y,$,q,ne,Q,ce,te,ee,de,re,ae,oe,le,ie,me,pe,J,Z,se],styles:[".webhook-details[_ngcontent-%COMP%]   code[_ngcontent-%COMP%]{font-size:.85em}.webhook-details[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{font-weight:500}.webhook-details[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:600;border-bottom-width:2px}.webhook-details[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:middle}.webhook-action-pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;border:1px solid rgba(0,0,0,.1);border-radius:20px;background:#ffffffd9;overflow:hidden;box-shadow:0 1px 3px #0000000f}.action-pill-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#6c757d;width:32px;height:28px;cursor:pointer;font-size:.8rem;transition:all .2s ease}.action-pill-btn[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid rgba(0,0,0,.08)}.action-pill-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#0000000d;color:#333}.action-pill-btn[_ngcontent-%COMP%]:disabled{opacity:.35;cursor:not-allowed}.action-pill-btn--danger[_ngcontent-%COMP%]:hover:not(:disabled){background:#ef444414;color:#ef4444}.stats-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;width:100%}.stats-header-top[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stats-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:1rem;color:var(--bs-primary);-webkit-user-select:none;user-select:none}.stats-title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.1rem}.stats-badges[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.stats-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:6px;font-size:.8rem;font-weight:600;-webkit-user-select:none;user-select:none;transition:all .2s ease}.stats-badge[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.85rem}.stats-badge.stats-badge-primary[_ngcontent-%COMP%]{background-color:var(--bs-primary);color:#fff}.stats-badge.stats-badge-success[_ngcontent-%COMP%]{background-color:var(--bs-success);color:#fff}.stats-badge.stats-badge-warning[_ngcontent-%COMP%]{background-color:var(--bs-warning);color:#333}.stats-badge.stats-badge-danger[_ngcontent-%COMP%]{background-color:var(--bs-danger);color:#fff}.stats-badge.stats-badge-muted[_ngcontent-%COMP%]{background-color:#f1f5f9;color:#64748b}
1.stats-badge.stats-badge-live[_ngcontent-%COMP%]{background-color:#dc3545;color:#fff;gap:6px;font-size:.7rem;letter-spacing:.5px;text-transform:uppercase}.live-dot[_ngcontent-%COMP%]{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#fff;animation:_ngcontent-%COMP%_live-pulse 1.5s ease-in-out infinite}@keyframes _ngcontent-%COMP%_live-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}.stats-header-controls[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stats-controls-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stats-controls-right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.stats-period-selector[_ngcontent-%COMP%]{display:inline-flex;border-radius:6px;overflow:hidden;border:1px solid #dee2e6;background:#fff}.stats-view-toggle[_ngcontent-%COMP%]{display:inline-flex;border-radius:6px;overflow:hidden;border:1px solid var(--bs-primary);background:#fff}.stats-toggle-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:none;background:transparent;color:var(--bs-primary);font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.stats-toggle-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.9rem}.stats-toggle-btn[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid var(--bs-primary)}.stats-toggle-btn[_ngcontent-%COMP%]:hover:not(.active){background:#3b82f61a}.stats-toggle-btn.active[_ngcontent-%COMP%]{background:var(--bs-primary);color:#fff}.stats-period-btn[_ngcontent-%COMP%]{padding:6px 14px;border:none;background:transparent;color:#666;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease}.stats-period-btn[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid #dee2e6}.stats-period-btn[_ngcontent-%COMP%]:hover:not(.active):not(:disabled){background:#f8f9fa;color:#333}.stats-period-btn.active[_ngcontent-%COMP%]{background:#f1f5f9;color:var(--bs-primary);font-weight:600}.stats-period-btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:not-allowed}.stats-export-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:6px;border:1px solid #dee2e6;background:#fff;color:#666;cursor:pointer;transition:all .2s ease;text-decoration:none}.stats-export-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1rem}.stats-export-btn[_ngcontent-%COMP%]:hover{background:#f8f9fa;color:var(--bs-primary);border-color:var(--bs-primary)}.detailed-stats-section[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{align-items:stretch}.detailed-stats-section[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]{display:flex}.detailed-stats-section[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]     p-panel{width:100%}.detailed-stats-section[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]     p-panel .p-panel{height:100%;display:flex;flex-direction:column}.detailed-stats-section[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]     p-panel .p-panel-content{flex:1}.stats-panel-body[_ngcontent-%COMP%]{max-height:250px;overflow-y:auto;overflow-x:hidden}.stats-donut-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;padding:8px}.stats-donut-chart[_ngcontent-%COMP%]{flex:0 0 120px;width:120px;height:120px}.stats-donut-legend[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.stats-donut-legend-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:.85rem}.stats-donut-dot[_ngcontent-%COMP%]{flex-shrink:0;width:10px;height:10px;border-radius:2px}.stats-donut-label[_ngcontent-%COMP%]{flex:1;min-width:0;color:#334155}.stats-donut-value[_ngcontent-%COMP%]{flex-shrink:0;font-weight:600;color:#64748b}.log-row[_ngcontent-%COMP%]{cursor:pointer;transition:background-color .15s ease}.log-row[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.log-row.log-row-expanded[_ngcontent-%COMP%]{background-color:#f1f5f9}.log-expand-icon[_ngcontent-%COMP%]{font-size:.7rem;color:#94a3b8;transition:transform .2s ease}.table-danger-soft[_ngcontent-%COMP%]{--bs-table-bg: rgba(220, 53, 69, .04)}.log-detail-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background-color:#f8fafc;border-top:1px dashed #e2e8f0}.log-detail-content[_ngcontent-%COMP%]{padding:16px 24px;animation:_ngcontent-%COMP%_slideDown .2s ease}@keyframes _ngcontent-%COMP%_slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:500px}}.log-detail-section[_ngcontent-%COMP%]{margin-bottom:8px}.log-detail-label[_ngcontent-%COMP%]{font-weight:600;font-size:.8rem;color:#475569;margin-bottom:8px;display:flex;align-items:center}.log-detail-meta[_ngcontent-%COMP%]{display:flex;align-items:center}.log-detail-code[_ngcontent-%COMP%]{background:#1e293b;color:#e2e8f0;padding:12px;border-radius:6px;font-size:.78rem;line-height:1.5;max-height:200px;overflow:auto;margin:0;white-space:pre-wrap;word-break:break-word}@media (max-width: 576px){.stats-header-top[_ngcontent-%COMP%], .stats-header-control
1s[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.stats-controls-left[_ngcontent-%COMP%], .stats-controls-right[_ngcontent-%COMP%]{width:100%;justify-content:flex-start}.stats-toggle-btn[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none}.stats-donut-wrapper[_ngcontent-%COMP%]{flex-direction:column}.stats-donut-chart[_ngcontent-%COMP%]{flex:none}.log-detail-content[_ngcontent-%COMP%]{padding:12px}}"]})};export{be as ViewManagerWebhookDetailsComponent};

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.