PageSourceSearch

https://dashboard.meetzy.es/248.7856c12dce57f548.js

js meetzy.es collected 2026-10-09 21:25:35 UTC 39,226 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmeetzy_dashboard=self.webpackChunkmeetzy_dashboard||[]).push([[248],{24248:(O,u,l)=>{l.r(u),l.d(u,{UserActivityComponent:()=>U});var p=l(89204),d=l(60316),c=l(496),e=l(68559),h=l(3366);const _=()=>[1,2,3,4,5];function f(i,o){if(1&i&&(e.j41(0,"option",50),e.EFF(1),e.k0s()),2&i){const t=o.$implicit;e.Y8G("value",t.value),e.R7$(),e.JRh(t.label)}}function b(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",58),e.bIt("click",function(){const s=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.selectAccount(s))}),e.EFF(1),e.k0s()}if(2&i){const t=o.$implicit,n=e.XpG(2);e.Y8G("ngClass",n.getAccountItemClass(n.filterAccountId===t.id)),e.R7$(),e.SpI(" ",t.name," ")}}function C(i,o){if(1&i&&(e.j41(0,"div",59),e.EFF(1," No se encontraron cuentas "),e.k0s()),2&i){const t=e.XpG(2);e.Y8G("ngClass",t.mutedSmallClass)}}function v(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",51)(1,"div",52)(2,"input",53),e.mxI("ngModelChange",function(s){e.eBV(t);const a=e.XpG();return e.DH7(a.accountSearchQuery,s)||(a.accountSearchQuery=s),e.Njj(s)}),e.bIt("click",function(s){return e.eBV(t),e.Njj(s.stopPropagation())}),e.k0s()(),e.j41(3,"div",54)(4,"div",55),e.bIt("click",function(){e.eBV(t);const s=e.XpG();return e.Njj(s.selectAccount(null))}),e.EFF(5," Todas las cuentas "),e.k0s(),e.DNE(6,b,2,2,"div",56)(7,C,2,1,"div",57),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("ngClass",t.panelClass),e.R7$(),e.Y8G("ngClass",t.dividerBorderClass),e.R7$(),e.R50("ngModel",t.accountSearchQuery),e.Y8G("ngClass",t.inputClass),e.R7$(2),e.Y8G("ngClass",t.getAccountItemClass(!t.filterAccountId)),e.R7$(2),e.Y8G("ngForOf",t.getFilteredCompanies()),e.R7$(),e.Y8G("ngIf",0===t.getFilteredCompanies().length)}}function y(i,o){if(1&i&&(e.j41(0,"option",50),e.EFF(1),e.k0s()),2&i){const t=o.$implicit,n=e.XpG();e.Y8G("value",t.value),e.R7$(),e.E5c("",n.getPageLabel(t.value)," \u2014 ",t.value," (",t.count,")")}}function k(i,o){if(1&i&&(e.j41(0,"option",50),e.EFF(1),e.k0s()),2&i){const t=o.$implicit;e.Y8G("value",t.value),e.R7$(),e.Lme("",t.value," (",t.count,")")}}function x(i,o){if(1&i){const t=e.RV6();e.j41(0,"button",60),e.bIt("click",function(){const s=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.applyDatePreset(s.key))}),e.EFF(1),e.k0s()}if(2&i){const t=o.$implicit,n=e.XpG();e.Y8G("ngClass",n.getDatePresetClass(t)),e.R7$(),e.SpI(" ",t.label," ")}}function F(i,o){if(1&i){const t=e.RV6();e.j41(0,"span",65),e.EFF(1),e.j41(2,"button",66),e.bIt("click",function(){const s=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.removeChip(s.key))}),e.qSk(),e.j41(3,"svg",67),e.nrm(4,"path",68),e.k0s()()()}if(2&i){const t=o.$implicit,n=e.XpG(2);e.Y8G("ngClass",n.isDarkMode()?"bg-amber-900/20 text-amber-300 ring-amber-400/30":"bg-amber-50 text-amber-700 ring-amber-600/20"),e.R7$(),e.SpI(" ",t.label," "),e.R7$(),e.Y8G("ngClass",n.isDarkMode()?"hover:bg-amber-800/40":"hover:bg-amber-200/60"),e.BMQ("aria-label","Quitar filtro "+t.label)}}function w(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",61)(1,"span",62),e.EFF(2,"Filtros activos:"),e.k0s(),e.DNE(3,F,5,4,"span",63),e.j41(4,"button",64),e.bIt("click",function(){e.eBV(t);const s=e.XpG();return e.Njj(s.resetFilters())}),e.EFF(5," Limpiar todo "),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",t.labelClass),e.R7$(2),e.Y8G("ngForOf",t.getActiveChips()),e.R7$(),e.Y8G("ngClass",t.labelClass)}}function R(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",69)(1,"div",70)(2,"div",71),e.qSk(),e.j41(3,"svg",72),e.nrm(4,"path",73),e.k0s()(),e.joV(),e.j41(5,"div",13)(6,"h3",74),e.EFF(7,"No se ha podido cargar la actividad"),e.k0s(),e.j41(8,"p",75),e.EFF(9),e.k0s()(),e.j41(10,"button",76),e.bIt("click",function(){e.eBV(t);const s=e.XpG();return e.Njj(s.retryLoad())}),e.EFF(11," Reintentar "),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"bg-red-900/20 border-red-800/60":"bg-red-50 border-red-200"),e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"bg-red-900/40":"bg-red-100"),e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"text-red-400":"text-red-600"),e.R7$(3),e.Y8G("ngClass",t.isDarkMode()?"text-red-300":"text-red-800"),e.R7$(2),e.Y8G("ngClass",t.isDarkMode()?"text-red-400":"text-red-600"),e.R7$(),e.JRh(t.error),e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"text-red-300 bg-red-900/40 hover:bg-red-900/60":"text-red-700 bg-red-100 hover:bg-red-200")}}function D(i,o){1&i&&(e.j41(0,"div",80),e.nrm(1,"div",81)(2,"div",82)(3,"div",83)(4,"div",84)(5,"div",85),e.k0s())}function M(i,o){if(1&i&&(e.j41(0,"div",77)(1,"div",78)(2,"div",77),e.DNE(3,D,6,0,"div",79),e.k0s()()()),2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",t.panelClass),e.R7$(2),e.Y8G("ngForOf",e.lJ4(2,_))}}function G(i,o){if(1&i){const t=e.RV6();e.j41(0,"button",92),e.bIt("click",function(){e.eBV(t);const s=e.XpG(2);return e.Njj(s.resetFilters())}),e.EFF(1," Limpiar filtros "),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("ngClass",t.subtleBtnClass)}}function A(i,o){if(1&i&&(e.j41(0,"div",69)(1,"div",86)(2,"div",87),e.qSk(),e.j41(3,"svg",88),e.nrm(4,"path",6)(5,"path",7),e.k0s()(),e.joV(),e.j41(6,"h3",89),e.EFF(7),e.k0s(),e.j41(8,"p",90),e.EFF(9),e.k0s(),e.DNE(10,G,2,1,"button",91),e.k0s()()),2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",t.panelClass),e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"from-gray-700 to-gray-800":"from-gray-100 to-gray-50"),e.R7$(),e.Y8G("ngClass",t.isDarkMode()?"text-gray-500":"text-gray-300"),e.R7$(3),e.Y8G("ngClass",t.headingClass),e.R7$(),e.SpI(" ",t.getActiveChips().length>0?"No hay eventos para estos filtros":"No activity recorded yet"," "),e.R7$(),e.Y8G("ngClass",t.secondaryTextClass),e.R7$(),e.SpI(" ",t.getActiveChips().length>0?"Prueba a ampliar el rango de fechas o quitar alguno de los filtros activos.":"User activity events will appear here as users navigate the dashboard."," "),e.R7$(),e.Y8G("ngIf",t.getActiveChips().length>0)}}function E(i,o){if(1&i&&(e.j41(0,"span",119),e.EFF(1),e.k0s()),2&i){const t=e.XpG().$implicit,n=e.XpG(2);e.Y8G("ngClass",n.mutedSmallClass),e.R7$(),e.SpI("Member ID: ",t.member_id,"")}}function j(i,o){if(1&i&&(e.qex(0),e.j41(1,"span",111),e.EFF(2),e.k0s(),e.j41(3,"span",120),e.EFF(4),e.k0s(),e.bVm()),2&i){const t=e.XpG().$implicit,n=e.XpG(2);e.R7$(),e.Y8G("ngClass",n.bodyTextClass),e.R7$(),e.JRh(n.getDetailParts(t).pageLabel),e.R7$(),e.Y8G("ngClass",n.mutedSmallClass),e.R7$(),e.JRh(n.getDetailParts(t).pagePath)}}function $(i,o){if(1&i&&(e.j41(0,"span",123),e.EFF(1),e.k0s()),2&i){const t=o.ngIf,n=e.XpG(2).$implicit,s=e.XpG(2);e.Y8G("ngClass",s.subtleBtnClass),e.BMQ("title",s.getDetailParts(n).pagePath),e.R7$(),e.SpI(" ",t," ")}}function T(i,o){if(1&i&&(e.j41(0,"div",121),e.DNE(1,$,2,3,"span",122),e.j41(2,"span",9),e.EFF(3),e.k0s()()),2&i){const t=e.XpG().$implicit,n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.getDetailParts(t).pageLabel),e.R7$(),e.Y8G("ngClass",n.bodyTextClass),e.R7$(),e.JRh(n.getDetailParts(t).text)}}function I(i,o){if(1&i&&(e.j41(0,"tr",109)(1,"td",110)(2,"span",111),e.EFF(3),e.k0s(),e.DNE(4,E,2,2,"span",112),e.k0s(),e.j41(5,"td",113)(6,"span",114),e.EFF(7),e.k0s()(),e.j41(8,"td",113)(9,"span",114),e.EFF(10),e.k0s()(),e.j41(11,"td",115),e.DNE(12,j,5,4,"ng-container",116)(13,T,4,3,"ng-template",null,0,e.C5r),e.k0s(),e.j41(15,"td",117)(16,"span",118),e.EFF(17),e.k0s()()()),2&i){const t=o.$implicit,n=e.sdS(14),s=e.XpG(2);e.Y8G("ngClass",s.isDarkMode()?"border-gray-700/60 hover:bg-gray-700/30":"border-gray-50 hover:bg-gray-50/50"),e.R7$(2),e.Y8G("ngClass",s.strongTextClass),e.R7$(),e.JRh(t.user_email),e.R7$(),e.Y8G("ngIf",t.member_id),e.R7$(2),e.Y8G("ngClass",s.getRoleBadgeClass(t.user_role)),e.R7$(),e.SpI(" ",t.user_role," "),e.R7$(2),e.Y8G("ngClass",s.getEventTypeBadgeClass(t.event_type)),e.R7$(),e.SpI(" ","page_view"===t.event_type?"Page View":"button_click"===t.event_type?"Button Click":t.event_type," "),e.R7$(2),e.Y8G("ngIf","page_view"===t.event_type)("ngIfElse",n),e.R7$(4),e.Y8G("ngClass",s.secondaryTextClass),e.R7$(),e.JRh(s.formatDate(t.created_time))}}function Y(i,o){if(1&i){const t=e.RV6();e.j41(0,"button",128),e.bIt("click",function(){const s=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.goToPage(s))}),e.EFF(1),e.k0s()}if(2&i){const t=o.$implicit,n=e.XpG(3);e.Y8G("ngClass",t===n.page?"bg-amber-500 text-white shadow-md shadow-amber-500/20":n.isDarkMode()?"text-gray-300 hover:bg-gray-700":"text-gray-600 hover:bg-gray-100"),e.R7$(),e.SpI(" ",t," ")}}function P(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",124)(1,"button",125),e.bIt("click",function(){e.eBV(t);const s=e.XpG(2);return e.Njj(s.prevPage())}),e.EFF(2," Previous "),e.k0s(),e.j41(3,"div",126),e.DNE(4,Y,2,2,"button",127),e.k0s(),e.j41(5,"button",125),e.bIt("click",function(){e.eBV(t);const s=e.XpG(2);return e.Njj(s.nextPage())}),e.EFF(6," Next "),e.k0s()()}if(2&i){const t=e.XpG(2);e.Y8G("ngClass",t.dividerBorderClass),e.R7$(),e.Y8G("disabled",t.page<=1)("ngClass",t.subtleBtnClass),e.R7$(3),e.Y8G("ngForOf",t.getPageNumbers()),e.R7$(),e.Y8G("disabled",t.page>=t.pages)("ngClass",t.subtleBtnClass)}}function B(i,o){if(1&i){const t=e.RV6();e.j41(0,"div",2)(1,"div",93)(2,"div",94)(3,"span",9),e.EFF(4," Showing "),e.j41(5,"span",95),e.EFF(6),e.k0s(),e.EFF(7," to "),e.j41(8,"span",95),e.EFF(9),e.k0s(),e.EFF(10," of "),e.j41(11,"span",95),e.EFF(12),e.k0s(),e.EFF(13," events "),e.k0s(),e.j41(14,"label",96)(15,"span",97),e.EFF(16,"Show admins"),e.k0s(),e.j41(17,"button",98),e.bIt("click",function(){e.eBV(t);const s=e.XpG();return e.Njj(s.toggleAdmins())}),e.nrm(18,"span",99),e.k0s()()(),e.j41(19,"div",100)(20,"table",101)(21,"thead")(22,"tr",102)(23,"th",103),e.EFF(24,"Email"),e.k0s(),e.j41(25,"th",104),e.EFF(26,"Role"),e.k0s(),e.j41(27,"th",104),e.EFF(28,"Event Type"),e.k0s(),e.j41(29,"th",105),e.EFF(30,"Detail"),e.k0s(),e.j41(31,"th",106),e.EFF(32,"Date"),e.k0s()()(),e.j41(33,"tbody"),e.DNE(34,I,18,12,"tr",107),e.k0s()()(),e.DNE(35,P,7,6,"div",108),e.k0s()()}if(2&i){const t=e.XpG();e.AVh("visible",t.animateIn),e.R7$(),e.Y8G("ngClass",t.panelClass),e.R7$(),e.Y8G("ngClass",t.dividerBorderClass),e.R7$(),e.Y8G("ngClass",t.secondaryTextClass),e.R7$(2),e.Y8G("ngClass",t.bodyTextClass),e.R7$(),e.JRh((t.page-1)*t.limit+1),e.R7$(2),e.Y8G("ngClass",t.bodyTextClass),e.R7$(),e.JRh(t.page*t.limit>t.total?t.total:t.page*t.limit),e.R7$(2),e.Y8G("ngClass",t.bodyTextClass),e.R7$(),e.JRh(t.total),e.R7$(3),e.Y8G("ngClass",t.getShowAdminsLabelClass()),e.R7$(2),e.Y8G("ngClass",t.excludeAdmins?t.isDarkMode()?"bg-gray-600":"bg-gray-200":"bg-amber-500"),e.BMQ("aria-checked",!t.excludeAdmins),e.R7$(),e.Y8G("ngClass",t.excludeAdmins?"translate-x-0":"translate-x-4"),e.R7$(4),e.Y8G("ngClass",t.isDarkMode()?"border-gray-700 bg-gray-900/40":"border-gray-100 bg-gray-50/50"),e.R7$(),e.Y8G("ngClass",t.labelClass),e.R7$(2),e.Y8G("ngClass",t.labelClass),e.R7$(2),e.Y8G("ngClass",t.labelClass),e.R7$(2),e.Y8G("ngClass",t.labelClass),e.R7$(2),e.Y8G("ngClass",t.labelClass),e.R7$(3),e.Y8G("ngForOf",t.events),e.R7$(),e.Y8G("ngIf",t.pages>1)}}const g={"/":"Inicio","/login":"Login","/pricing":"Precios","/tickets":"Tickets","/tickets-legacy":"Tickets (sistema antiguo)","/generator":"Generador de agentes","/insights":"Insights","/marketing":"Marketing","/integrations":"Integraciones","/calls":"Llamadas","/calls-old":"Llamadas (cl\xe1sico)","/calls/reporting":"Informes de llamadas","/call-logs":"Registro de llamadas","/stats":"Estad\xedsticas","/trends":"Tendencias","/evaluation-trends":"Tendencias de evaluaci\xf3n","/playbooks":"Playbooks","/agents":"Agentes","/agents-v2":"Agentes","/agents-old":"Agentes (cl\xe1sico)","/agents/voices":"Voces","/playbook-generator":"Generador de playbooks","/simulator":"Simulador","/cost-calculator":"Calculadora de costes","/phones":"Tel\xe9fonos","/crm":"CRM","/crm/import-contacts":"Importar contactos","/crm/segments":"Segmentos","/advanced-editor":"Editor avanzado","/user-activity":"Actividad de usuarios","/whatsapp/templates":"Plantillas WhatsApp","/members":"Miembros","/companies":"Empresas","/token-manager"
1:"Gestor de tokens","/token":"Token"};let U=(()=>{class i{isDarkMode(){return this._isDarkMode}initDarkModeObserver(){this._isDarkMode=document.documentElement.classList.contains("dark"),this.darkModeObserver=new MutationObserver(()=>{this._isDarkMode=document.documentElement.classList.contains("dark")}),this.darkModeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}ngOnDestroy(){this.darkModeObserver?.disconnect()}get labelClass(){return this.isDarkMode()?"text-gray-500":"text-gray-400"}get panelClass(){return this.isDarkMode()?"bg-gray-800 border-gray-700":"bg-white border-gray-200/60"}get inputClass(){return this.isDarkMode()?"border-gray-600 bg-gray-900 text-gray-100 placeholder:text-gray-500":"border-gray-200 bg-white text-gray-800 placeholder:text-gray-400"}get iconMutedClass(){return this.isDarkMode()?"text-gray-500":"text-gray-400"}get subtleBtnClass(){return this.isDarkMode()?"text-gray-300 bg-gray-700 hover:bg-gray-600":"text-gray-600 bg-gray-100 hover:bg-gray-200"}get sortToggleBtnClass(){return this.isDarkMode()?"border-gray-600 bg-gray-900 text-gray-400 hover:bg-gray-700":"border-gray-200 bg-white text-gray-500 hover:bg-gray-50"}get dividerBorderClass(){return this.isDarkMode()?"border-gray-700":"border-gray-100"}get mutedSmallClass(){return this.isDarkMode()?"text-gray-500":"text-gray-400"}get secondaryTextClass(){return this.isDarkMode()?"text-gray-400":"text-gray-500"}get bodyTextClass(){return this.isDarkMode()?"text-gray-300":"text-gray-600"}get strongTextClass(){return this.isDarkMode()?"text-gray-100":"text-gray-800"}get headingClass(){return this.isDarkMode()?"text-gray-100":"text-gray-900"}get colorScheme(){return this.isDarkMode()?"dark":"light"}getShowAdminsLabelClass(){return this.excludeAdmins?this.isDarkMode()?"text-gray-500":"text-gray-400":this.isDarkMode()?"text-gray-200":"text-gray-700"}getDatePresetClass(t){return this.activeDatePreset===t.key?"bg-amber-500 text-white shadow-sm shadow-amber-500/30":this.subtleBtnClass}constructor(t){this.apiService=t,this.events=[],this.loading=!0,this.animateIn=!1,this.error=null,this.filterSearch="",this.filterEventType="",this.filterPagePath="",this.filterButtonDetail="",this.filterMemberId="",this.filterAccountId="",this.filterFrom="",this.filterTo="",this.companies=[],this.showAccountDropdown=!1,this.accountSearchQuery="",this.excludeAdmins=!0,this.sortBy="created_time",this.sortDir="desc",this.appliedFilters={},this.activeDatePreset=null,this.datePresets=[{key:"today",label:"Hoy"},{key:"yesterday",label:"Ayer"},{key:"7d",label:"7 d\xedas"},{key:"30d",label:"30 d\xedas"},{key:"month",label:"Este mes"}],this.sortOptions=[{value:"created_time",label:"Fecha"},{value:"user_email",label:"Email"},{value:"event_type",label:"Tipo de evento"},{value:"user_role",label:"Rol"}],this.availablePages=[],this.availableActions=[],this.page=1,this.limit=50,this.total=0,this.pages=0,this._isDarkMode=!1}ngOnInit(){this.initDarkModeObserver(),this.loadEvents(),this.loadFilterOptions(),this.loadCompanies(),setTimeout(()=>this.animateIn=!0,50)}loadFilterOptions(){var t=this;return(0,p.A)(function*(){try{const n=yield t.apiService.getUserEventFilters();t.availablePages=n.pages||[],t.availableActions=n.actions||[]}catch(n){console.error("Error loading user event filter options:",n)}})()}loadCompanies(){var t=this;return(0,p.A)(function*(){try{t.companies=yield t.apiService.getCompanies()}catch(n){console.error("Error loading companies:",n)}})()}onDocumentClick(t){this.showAccountDropdown&&(t.target.closest(".account-filter-container")||(this.showAccountDropdown=!1,this.accountSearchQuery=""))}toggleAccountDropdown(t){t&&t.stopPropagation(),this.showAccountDropdown=!this.showAccountDropdown,this.showAccountDropdown&&(this.accountSearchQuery="")}selectAccount(t){this.filterAccountId=t?t.id:"",this.showAccountDropdown=!1,this.accountSearchQuery="",this.applyFilters()}getFilteredCompanies(){if(!this.accountSearchQuery.trim())return this.companies;const t=this.accountSearchQuery.toLowerCase();return this.companies.filter(n=>(n.name||"").toLowerCase().includes(t))}getSelectedAccountName(){if(!this.filterAccountId)return"Todas las cuentas";const t=this.companies.find(n=>n.id===this.filterAccountId);return t?t.name:this.filterAccountId}
1getAccountItemClass(t){return t?this.isDarkMode()?"bg-amber-900/20 text-amber-300 font-medium":"bg-amber-50 text-amber-700 font-medium":this.isDarkMode()?"text-gray-300 hover:bg-gray-700/60":"text-gray-700 hover:bg-gray-50"}loadEvents(){var t=this;return(0,p.A)(function*(){t.loading=!0,t.error=null;const n={search:t.filterSearch||void 0,event_type:t.filterEventType||void 0,page_path:t.filterPagePath||void 0,button_detail:t.filterButtonDetail||void 0,member_id:t.filterMemberId||void 0,account_id:t.filterAccountId||void 0,from:t.filterFrom||void 0,to:t.filterTo||void 0,exclude_admins:t.excludeAdmins,sort_by:t.sortBy,sort_dir:t.sortDir,page:t.page,limit:t.limit};try{const s=yield t.apiService.getUserEvents(n);t.events=s.data||[],t.total=s.pagination?.total||0,t.pages=s.pagination?.pages||0,t.page=s.pagination?.page||1,t.appliedFilters=t.buildAppliedFiltersSnapshot()}catch(s){console.error("Error loading user events:",s),t.events=[],t.total=0,t.pages=0,t.error="No se han podido cargar los eventos. Comprueba tu conexi\xf3n e int\xe9ntalo de nuevo."}t.loading=!1})()}buildAppliedFiltersSnapshot(){const t={};return this.filterSearch&&(t.search=this.filterSearch),this.filterEventType&&(t.event_type=this.filterEventType),this.filterPagePath&&(t.page_path=this.filterPagePath),this.filterButtonDetail&&(t.button_detail=this.filterButtonDetail),this.filterMemberId&&(t.member_id=this.filterMemberId),this.filterAccountId&&(t.account_id=this.filterAccountId),this.filterFrom&&(t.from=this.filterFrom),this.filterTo&&(t.to=this.filterTo),this.excludeAdmins||(t.exclude_admins="false"),t}applyFilters(){this.page=1,this.loadEvents()}retryLoad(){this.loadEvents()}toggleAdmins(){this.excludeAdmins=!this.excludeAdmins,this.page=1,this.loadEvents()}toggleSortDir(){this.sortDir="asc"===this.sortDir?"desc":"asc",this.applyFilters()}onSortByChange(){this.applyFilters()}applyDatePreset(t){const n=new Date,s=S=>S.toISOString().slice(0,10);let a=new Date(n),r=new Date(n);switch(t){case"today":break;case"yesterday":a.setDate(n.getDate()-1),r.setDate(n.getDate()-1);break;case"7d":a.setDate(n.getDate()-6);break;case"30d":a.setDate(n.getDate()-29);break;case"month":a=new Date(n.getFullYear(),n.getMonth(),1)}this.filterFrom=s(a),this.filterTo=s(r),this.activeDatePreset=t,this.applyFilters()}onManualDateChange(){this.activeDatePreset=null}resetFilters(){this.filterSearch="",this.filterEventType="",this.filterPagePath="",this.filterButtonDetail="",this.filterMemberId="",this.filterAccountId="",this.filterFrom="",this.filterTo="",this.excludeAdmins=!0,this.sortBy="created_time",this.sortDir="desc",this.activeDatePreset=null,this.page=1,this.loadEvents()}getActiveChips(){const t=[],n=this.appliedFilters;if(n.search&&t.push({key:"search",label:`B\xfasqueda: "${n.search}"`}),n.event_type&&t.push({key:"event_type",label:"Tipo: "+("page_view"===n.event_type?"Page View":"Button Click")}),n.page_path&&t.push({key:"page_path",label:`P\xe1gina: ${n.page_path}`}),n.button_detail&&t.push({key:"button_detail",label:`Acci\xf3n: ${n.button_detail}`}),n.member_id&&t.push({key:"member_id",label:`Member ID: ${n.member_id}`}),n.account_id){const s=this.companies.find(a=>a.id===n.account_id);t.push({key:"account_id",label:`Cuenta: ${s?s.name:n.account_id}`})}return n.from&&t.push({key:"from",label:`Desde: ${n.from}`}),n.to&&t.push({key:"to",label:`Hasta: ${n.to}`}),"false"===n.exclude_admins&&t.push({key:"exclude_admins",label:"Incluyendo admins"}),t}removeChip(t){switch(t){case"search":this.filterSearch="";break;case"event_type":this.filterEventType="";break;case"page_path":this.filterPagePath="";break;case"button_detail":this.filterButtonDetail="";break;case"member_id":this.filterMemberId="";break;case"account_id":this.filterAccountId="";break;case"from":this.filterFrom="",this.activeDatePreset=null;break;case"to":this.filterTo="",this.activeDatePreset=null;break;case"exclude_admins":this.excludeAdmins=!0}this.applyFilters()}goToPage(t){t<1||t>this.pages||(this.page=t,this.loadEvents())}prevPage(){this.goToPage(this.page-1)}nextPage(){this.goToPage(this.page+1)}getPageNumbers(){const t=[],n=Math.max(1,this.page-2),s=Math.min(this.pages,this.page+2);for(let a=n;a<=s;a++)t.push(a);return t}
1formatDate(t){return t?new Date(t).toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}):""}getDetailParts(t){const n=t?.event_detail||"";if("page_view"===t?.event_type)return{pageLabel:this.getPageLabel(n),pagePath:n,text:""};const s=n.indexOf(" ::: ");if(-1===s)return{pageLabel:null,pagePath:null,text:n};const a=n.substring(0,s),r=n.substring(s+5);return{pageLabel:this.getPageLabel(a),pagePath:a,text:r}}getPageLabel(t){if(!t)return t;const n=t.split("?")[0].split("#")[0];if(g[n])return g[n];const s=Object.keys(g).filter(a=>"/"!==a&&n.startsWith(a)).sort((a,r)=>r.length-a.length)[0];return s?g[s]:n}getEventTypeBadgeClass(t){const n=this.isDarkMode();return"page_view"===t?n?"bg-blue-900/20 text-blue-300 ring-blue-400/30":"bg-blue-50 text-blue-700 ring-blue-600/20":"button_click"===t?n?"bg-amber-900/20 text-amber-300 ring-amber-400/30":"bg-amber-50 text-amber-700 ring-amber-600/20":n?"bg-gray-700/40 text-gray-300 ring-gray-500/30":"bg-gray-50 text-gray-700 ring-gray-600/20"}getRoleBadgeClass(t){const n=this.isDarkMode();return"member"===t?n?"bg-purple-900/20 text-purple-300 ring-purple-400/30":"bg-purple-50 text-purple-700 ring-purple-600/20":n?"bg-emerald-900/20 text-emerald-300 ring-emerald-400/30":"bg-emerald-50 text-emerald-700 ring-emerald-600/20"}static{this.\u0275fac=function(n){return new(n||i)(e.rXU(h.G))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-user-activity"]],hostBindings:function(n,s){1&n&&e.bIt("click",function(r){return s.onDocumentClick(r)},!1,e.EBC)},standalone:!0,features:[e.aNF],decls:93,vars:58,consts:[["clickDetail",""],[1,"w-full","px-4","sm:px-6","lg:px-8","py-8","space-y-6"],[1,"fade-in-up"],[1,"flex","items-center","gap-4","mb-2"],[1,"w-12","h-12","rounded-xl","bg-gradient-to-br","from-amber-500","to-orange-400","flex","items-center","justify-center","text-white","shadow-lg"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M15 12a3 3 0 11-6 0 3 3 0 016 0z"],["stroke-linecap","round","stroke-linejoin","round","d","M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"],[1,"text-2xl","font-bold",3,"ngClass"],[1,"text-sm",3,"ngClass"],[1,"fade-in-up","relative","z-30"],["data-track-zone","Filtros de actividad",1,"rounded-2xl","border","shadow-sm","p-5","space-y-4",3,"ngClass"],[1,"flex","flex-col","lg:flex-row","lg:items-end","gap-4"],[1,"flex-1"],[1,"block","text-xs","font-semibold","uppercase","tracking-wider","mb-2",3,"ngClass"],[1,"relative"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"absolute","left-3","top-1/2","-translate-y-1/2","h-4","w-4",3,"ngClass"],["stroke-linecap","round","stroke-linejoin","round","d","M21 21l-4.35-4.35M17 10.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"],["type","text","placeholder","Email, p\xe1gina o bot\xf3n...",1,"w-full","pl-9","pr-3","py-2","border","rounded-lg","text-sm","focus:ring-2","focus:ring-amber-500/20","focus:border-amber-400","outline-none","transition-all",3,"ngModelChange","keyup.enter","ngModel","ngClass"],[1,"w-full","lg:w-44"],[1,"w-full","px-3","py-2","border","rounded-lg","text-sm","focus:ring-2","focus:ring-amber-500/20","focus:border-amber-400","outline-none","transition-all",3,"ngModelChange","ngModel","ngClass"],["value",""],["value","page_view"],["value","button_click"],[1,"w-full","lg:w-40"],[3,"value",4,"ngFor","ngForOf"],["type","button",1,"h-[38px]","w-[38px]","flex","items-center","justify-center","rounded-lg","border","transition-all",3,"click","ngClass"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4","transition-transform"],["stroke-linecap","round","stroke-linejoin","round","d","M19 9l-7 7-7-7"],[1,"w-full","lg:w-64"],[1,"relative","account-filter-container"],["type","button",1,"w-full","px-3","py-2","border","rounded-lg","text-sm","text-left","focus:ring-2","focus:ring-amber-500/20","focus:border-amber-400","outline-none","transition-all","flex","items-center","justify-between","gap-2",3,"click","ngClass"],[1,"truncate"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4","flex-shrink-0","transition-transform",3,"ngClass"],["class","absolute z-20 top-full mt-1 w-full rounded-lg shadow-lg border max-h-64 overflow-hidden",3,"ngClass",4,"ngIf"],[1,"w-full","lg:flex-1"],[1,"w-full","lg:w-56"],["type","text","placeholder","ID de cuenta...",1,"w-full","px-3","py-2","border","rounded-lg","text-sm","focus:ring-2","focus:ring-amber-500/20","focus:border-amber-400","outline-none","transition-all",3,"ngModelChange","keyup.enter","ngModel","ngClass"],[1,"flex","flex-col","gap-2"],[1,"block","text-xs","font-semibold","uppercase","tracking-wider",3,"ngClass"],[1,"flex","flex-wrap","gap-1.5"],["type","button","class","px-3 py-1 rounded-full text-xs font-medium transition-all",3,"ngClass","click",4,"ngFor","ngForOf"],["type","date",1,"px-3","py-2","border","rounded-lg","text-sm","focus:ring-2","focus:ring-amber-500/20","focus:border-amber-400","outline-none","transition-all",3,"ngModelChange","ngModel","ngClass"],[1,"flex","gap-2","lg:ml-auto"],[1,"px-5","py-2","rounded-xl","text-sm","font-semibold","text-white","bg-gradient-to-r","from-amber-500","to-orange-400","shadow-md","shadow-amber-500/20","hover:shadow-lg","hover:shadow-amber-500/30","transition-all",3,"click"],[1,"px-4","py-2","rounded-xl","text-sm","font-medium","transition-all",3,"click","ngClass"],["class","flex flex-wrap items-center gap-2 fade-in-up visible",4,"ngIf"],["class","fade-in-up visible",4,"ngIf"],["class","space-y-4",4,"ngIf"],["class","fade-in-up",3,"visible",4,"ngIf"],[3,"value"],[1,"absolute","z-20","top-full","mt-1","w-full","rounded-lg","shadow-lg","border","max-h-64","overflow-hidden",3,"ngClass"],[1,"p-1.5","border-b",3,"ngClass"],["type","text","placeholder","Buscar cuenta...",1,"w-full","h-8","px-2.5","border","rounded","text-xs","focus:ring-1","focus:ring-amber-500/40","focus:border-amber-400","outline-none","transition-all",3,"ngModelChange","click","ngModel","ngClass"],[1,"max-h-52","overflow-y-auto","py-1"],[1,"px-3","py-2","cursor-pointer","transition-colors","text-xs",3,"click","ngClass"],["class","px-3 py-2 cursor-pointer transition-colors text-xs truncate",3,"ngClass","click",4,"ngFor","ngForOf"],["class","px-3 py-2 text-center text-xs",3,"ngClass",4,"ngIf"],[1,"px-3","py-2","cursor-pointer","transition-colors","text-xs","truncate",3,"click","ngClass"],[1,"px-3","py-2","text-center","text-xs",3,"ngClass"],["type","button",1,"px-3","py-1","rounded-full","text-xs","font-medium","transition-all",3,"click","ngClass"],[1,"flex","flex-wrap","items-center","gap-2","fade-in-up","visible"],[1,"text-xs","font-semibold","uppercase","tracking-wider",3,"ngClass"],["class","inline-flex items-center gap-1.5 pl-3 pr-2 py-1 rounded-full text-xs font-medium ring-1 ring-inset",3,"ngClass",4,"ngFor","ngForOf"],["type","button",1,"text-xs","font-medium","underline","underline-offset-2","ml-1",3,"click","ngClass"],[1,"inline-flex","items-center","gap-1.5","pl-3","pr-2","py-1","rounded-full","text-xs","font-medium","ring-1","ring-inset",3,"ngClass"],["type","button",1,"rounded-full","p-0.5","transition-colors",3,"click","ngClass"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2.5",1,"h-3","w-3"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"fade-in-up","visible"],[1,"rounded-2xl","p-6","flex","items-center","gap-4","border",3,"ngClass"],[1,"w-10","h-10","rounded-xl","flex","items-center","justify-center","flex-shrink-0",3,"ngClass"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5",3,"ngClass"],["stroke-linecap","round","stroke-linejoin","round","d","M12 9v3.75m9-.75
1a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"],[1,"text-sm","font-semibold",3,"ngClass"],[1,"text-sm","mt-0.5",3,"ngClass"],[1,"px-4","py-2","rounded-lg","text-sm","font-semibold","transition-all","flex-shrink-0",3,"click","ngClass"],[1,"space-y-4"],[1,"rounded-2xl","border","shadow-sm","p-6",3,"ngClass"],["class","flex items-center gap-4",4,"ngFor","ngForOf"],[1,"flex","items-center","gap-4"],[1,"shimmer","h-4","w-48","rounded-lg"],[1,"shimmer","h-4","w-20","rounded-lg"],[1,"shimmer","h-4","w-24","rounded-lg"],[1,"shimmer","h-4","w-64","rounded-lg","flex-1"],[1,"shimmer","h-4","w-36","rounded-lg"],[1,"rounded-2xl","border","shadow-sm","p-16","text-center",3,"ngClass"],[1,"w-20","h-20","mx-auto","mb-6","rounded-2xl","bg-gradient-to-br","flex","items-center","justify-center",3,"ngClass"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"h-10","w-10",3,"ngClass"],[1,"text-lg","font-semibold","mb-2",3,"ngClass"],[1,"max-w-md","mx-auto",3,"ngClass"],["class","mt-5 px-4 py-2 rounded-xl text-sm font-medium transition-all",3,"ngClass","click",4,"ngIf"],[1,"mt-5","px-4","py-2","rounded-xl","text-sm","font-medium","transition-all",3,"click","ngClass"],[1,"rounded-2xl","border","shadow-sm","overflow-hidden",3,"ngClass"],[1,"px-6","py-4","border-b","flex","items-center","justify-between",3,"ngClass"],[1,"font-semibold",3,"ngClass"],[1,"inline-flex","items-center","gap-2","cursor-pointer","select-none"],[1,"text-xs","font-medium",3,"ngClass"],["type","button","role","switch",1,"relative","inline-flex","h-5","w-9","flex-shrink-0","rounded-full","border-2","border-transparent","transition-colors","duration-200","ease-in-out","focus:outline-none",3,"click","ngClass"],[1,"pointer-events-none","inline-block","h-4","w-4","transform","rounded-full","bg-white","shadow","ring-0","transition","duration-200","ease-in-out",3,"ngClass"],[1,"overflow-x-auto"],[1,"w-full"],[1,"border-b",3,"ngClass"],[1,"text-left","text-xs","font-semibold","uppercase","tracking-wider","py-3","pl-6",3,"ngClass"],[1,"text-center","text-xs","font-semibold","uppercase","tracking-wider","py-3",3,"ngClass"],[1,"text-left","text-xs","font-semibold","uppercase","tracking-wider","py-3",3,"ngClass"],[1,"text-right","text-xs","font-semibold","uppercase","tracking-wider","py-3","pr-6",3,"ngClass"],["class","border-b transition-colors",3,"ngClass",4,"ngFor","ngForOf"],["data-track-zone","Paginaci\xf3n de actividad","class","px-6 py-4 border-t flex items-center justify-between",3,"ngClass",4,"ngIf"],[1,"border-b","transition-colors",3,"ngClass"],[1,"py-3.5","pl-6"],[1,"text-sm","font-medium",3,"ngClass"],["class","block text-xs mt-0.5",3,"ngClass",4,"ngIf"],[1,"py-3.5","text-center"],[1,"inline-flex","items-center","px-2.5","py-0.5","rounded-full","text-xs","font-medium","ring-1","ring-inset",3,"ngClass"],[1,"py-3.5"],[4,"ngIf","ngIfElse"],[1,"py-3.5","pr-6","text-right"],[1,"text-sm","whitespace-nowrap",3,"ngClass"],[1,"block","text-xs","mt-0.5",3,"ngClass"],[1,"block","text-xs","font-mono","mt-0.5",3,"ngClass"],[1,"flex","flex-wrap","items-center","gap-2"],["class","inline-flex items-center px-2 py-0.5 rounded-md text-xs font-medium whitespace-nowrap",3,"ngClass",4,"ngIf"],[1,"inline-flex","items-center","px-2","py-0.5","rounded-md","text-xs","font-medium","whitespace-nowrap",3,"ngClass"],["data-track-zone","Paginaci\xf3n de actividad",1,"px-6","py-4","border-t","flex","items-center","justify-between",3,"ngClass"],[1,"px-4","py-2","rounded-lg","text-sm","font-medium","transition-all","disabled:opacity-40","disabled:cursor-not-allowed",3,"click","disabled","ngClass"],[1,"flex","items-center","gap-1"],["class","w-9 h-9 rounded-lg text-sm font-medium transition-all",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"w-9","h-9","rounded-lg","text-sm","font-medium","transition-all",3,"click","ngClass"]],template:function(n,s){1&n&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),e.qSk(),e.j41(4,"svg",5),e.nrm(5,"path",6)(6,"path",7),e.k0s()(),e.joV(),e.j41(7,"div")(8,"h1",8),e.EFF(9,"User Activity"),e.k0s(),e.j41(10,"p",9),e.EFF(11,"Track page views and button clicks across all users"),e.k0s()()()(),e.j41(12,"div",10)(13,"div",11)(14,"div",12)(15,"div",13)(16,"label",14),e.EFF(17,"Buscar"),e.k0s(),e.j41(18,"div",15),e.qSk(),e.j41(19,"svg",16),e.nrm(20,"path",17),e.k0s(),e.joV(),e.j41(21,"input",18),e.mxI("ngModelChange",function(r){return e.DH7(s.filterSearch,r)||(s.filterSearch=r),r}),e.bIt("keyup.enter",function(){return s.applyFilters()}),e.k0s()()(),e.j41(22,"div",19)(23,"label",14),e.EFF(24,"Event Type"),e.k0s(),e.j41(25,"select",20),e.mxI("ngModelChange",function(r){return e.DH7(s.filterEventType,r)||(s.filterEventType=r),r}),e.j41(26,"option",21),e.EFF(27,"All"),e.k0s(),e.j41(28,"option",22),e.EFF(29,"Page View"),e.k0s(),e.j41(30,"option",23),e.EFF(31,"Button Click"),e.k0s()()(),e.j41(32,"div",24)(33,"label",14),e.EFF(34,"Ordenar por"),e.k0s(),e.j41(35,"select",20),e.mxI("ngModelChange",function(r){return e.DH7(s.sortBy,r)||(s.sortBy=r),r}),e.bIt("ngModelChange",function(){return s.onSortByChange()}),e.DNE(36,f,2,2,"option",25),e.k0s()(),e.j41(37,"button",26),e.bIt("click",function(){return s.toggleSortDir()}),e.qSk(),e.j41(38,"svg",27),e.nrm(39,"path",28),e.k0s()()(),e.joV(),e.j41(40,"div",12)(41,"div",29)(42,"label",14),e.EFF(43,"Cuenta / Cliente"),e.k0s(),e.j41(44,"div",30)(45,"button",31),e.bIt("click",function(r){return s.toggleAccountDropdown(r)}),e.j41(46,"span",32),e.EFF(47),e.k0s(),e.qSk(),e.j41(48,"svg",33),e.nrm(49,"path",28),e.k0s()(),e.DNE(50,v,8,7,"div",34),e.k0s()(),e.joV(),e.j41(51,"div",35)(52,"label",14),e.EFF(53,"P\xe1gina visitada"),e.k0s(),e.j41(54,"select",20),e.mxI("ngModelChange",function(r){return e.DH7(s.filterPagePath,r)||(s.filterPagePath=r),r}),e.j41(55,"option",21),e.EFF(56,"Todas las p\xe1ginas"),e.k0s(),e.DNE(57,y,2,4,"option",25),e.k0s()(),e.j41(58,"div",35)(59,"label",14),e.EFF(60,"Bot\xf3n / acci\xf3n"),e.k0s(),e.j41(61,"select",20),e.mxI("ngModelChange",function(r){return e.DH7(s.filterButtonDetail,r)||(s.filterButtonDetail
1=r),r}),e.j41(62,"option",21),e.EFF(63,"Todas las acciones"),e.k0s(),e.DNE(64,k,2,3,"option",25),e.k0s()(),e.j41(65,"div",36)(66,"label",14),e.EFF(67,"Member ID"),e.k0s(),e.j41(68,"input",37),e.mxI("ngModelChange",function(r){return e.DH7(s.filterMemberId,r)||(s.filterMemberId=r),r}),e.bIt("keyup.enter",function(){return s.applyFilters()}),e.k0s()()(),e.j41(69,"div",12)(70,"div",38)(71,"label",39),e.EFF(72,"Rango de fechas"),e.k0s(),e.j41(73,"div",40),e.DNE(74,x,2,2,"button",41),e.k0s()(),e.j41(75,"div")(76,"label",14),e.EFF(77,"From"),e.k0s(),e.j41(78,"input",42),e.mxI("ngModelChange",function(r){return e.DH7(s.filterFrom,r)||(s.filterFrom=r),r}),e.bIt("ngModelChange",function(){return s.onManualDateChange()}),e.k0s()(),e.j41(79,"div")(80,"label",14),e.EFF(81,"To"),e.k0s(),e.j41(82,"input",42),e.mxI("ngModelChange",function(r){return e.DH7(s.filterTo,r)||(s.filterTo=r),r}),e.bIt("ngModelChange",function(){return s.onManualDateChange()}),e.k0s()(),e.j41(83,"div",43)(84,"button",44),e.bIt("click",function(){return s.applyFilters()}),e.EFF(85," Apply "),e.k0s(),e.j41(86,"button",45),e.bIt("click",function(){return s.resetFilters()}),e.EFF(87," Reset "),e.k0s()()()()(),e.DNE(88,w,6,3,"div",46)(89,R,12,7,"div",47)(90,M,4,3,"div",48)(91,A,11,8,"div",47)(92,B,36,23,"div",49),e.k0s()),2&n&&(e.R7$(),e.AVh("visible",s.animateIn),e.R7$(7),e.Y8G("ngClass",s.headingClass),e.R7$(2),e.Y8G("ngClass",s.secondaryTextClass),e.R7$(2),e.AVh("visible",s.animateIn),e.R7$(),e.Y8G("ngClass",s.panelClass),e.R7$(3),e.Y8G("ngClass",s.labelClass),e.R7$(3),e.Y8G("ngClass",s.iconMutedClass),e.R7$(2),e.R50("ngModel",s.filterSearch),e.Y8G("ngClass",s.inputClass),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.R50("ngModel",s.filterEventType),e.Y8G("ngClass",s.inputClass),e.R7$(8),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.R50("ngModel",s.sortBy),e.Y8G("ngClass",s.inputClass),e.R7$(),e.Y8G("ngForOf",s.sortOptions),e.R7$(),e.Y8G("ngClass",s.sortToggleBtnClass),e.BMQ("title","asc"===s.sortDir?"Ascendente":"Descendente"),e.R7$(),e.AVh("rotate-180","asc"===s.sortDir),e.R7$(4),e.Y8G("ngClass",s.labelClass),e.R7$(3),e.Y8G("ngClass",s.inputClass),e.R7$(2),e.JRh(s.getSelectedAccountName()),e.R7$(),e.AVh("rotate-180",s.showAccountDropdown),e.Y8G("ngClass",s.iconMutedClass),e.R7$(2),e.Y8G("ngIf",s.showAccountDropdown),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.R50("ngModel",s.filterPagePath),e.Y8G("ngClass",s.inputClass),e.R7$(3),e.Y8G("ngForOf",s.availablePages),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.R50("ngModel",s.filterButtonDetail),e.Y8G("ngClass",s.inputClass),e.R7$(3),e.Y8G("ngForOf",s.availableActions),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.R50("ngModel",s.filterMemberId),e.Y8G("ngClass",s.inputClass),e.R7$(3),e.Y8G("ngClass",s.labelClass),e.R7$(3),e.Y8G("ngForOf",s.datePresets),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.xc7("color-scheme",s.colorScheme),e.R50("ngModel",s.filterFrom),e.Y8G("ngClass",s.inputClass),e.R7$(2),e.Y8G("ngClass",s.labelClass),e.R7$(2),e.xc7("color-scheme",s.colorScheme),e.R50("ngModel",s.filterTo),e.Y8G("ngClass",s.inputClass),e.R7$(4),e.Y8G("ngClass",s.subtleBtnClass),e.R7$(2),e.Y8G("ngIf",!s.loading&&s.getActiveChips().length>0),e.R7$(),e.Y8G("ngIf",!s.loading&&s.error),e.R7$(),e.Y8G("ngIf",s.loading),e.R7$(),e.Y8G("ngIf",!s.loading&&!s.error&&0===s.events.length),e.R7$(),e.Y8G("ngIf",!s.loading&&!s.error&&s.events.length>0))},dependencies:[d.MD,d.YU,d.Sq,d.bT,c.YN,c.xH,c.y7,c.me,c.wz,c.BC,c.vS],styles:["[_nghost-%COMP%]{display:block}.fade-in-up[_ngcontent-%COMP%]{opacity:0;transform:translateY(20px);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}.fade-in-up.visible[_ngcontent-%COMP%]{opacity:1;transform:translateY(0)}.fade-in-up[_ngcontent-%COMP%]:nth-child(1){transition-delay:0ms}.fade-in-up[_ngcontent-%COMP%]:nth-child(2){transition-delay:80ms}.fade-in-up[_ngcontent-%COMP%]:nth-child(3){transition-delay:.16s}.fade-in-up[_ngcontent-%COMP%]:nth-child(4){transition-delay:.24s}.shimmer[_ngcontent-%COMP%]{background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb,#f3f4f6 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}.dark[_nghost-%COMP%]   .shimmer[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   .shimmer[_ngcontent-%COMP%]{background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}\n\n/*# sourceMappingURL=user-activity.component.css.map*/"]})}}return i})()}}]);
2//# sourceMappingURL=248.7856c12dce57f548.js.map

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.