PageSourceSearch

https://unstop.com/chunk-OKK3M3WO.js

js unstop.com collected 2026-09-24 17:15:37 UTC 82,374 bytes, 1 lines download raw bytes

1import{a as xe,b as Me,e as ye}from"./chunk-RCQNUV33.js";import{J as q,V as ft}from"./chunk-ZGTDWVWP.js";import{a as Ce}from"./chunk-GIGYDHE3.js";import{a as fe}from"./chunk-NE3PN4AS.js";import{a as ht}from"./chunk-DJNIYRPO.js";import{b as qt}from"./chunk-M3FGSPES.js";import{a as he}from"./chunk-ZBRXLKJX.js";import{a as ce}from"./chunk-XQTT574X.js";import{a as pe,b as ut}from"./chunk-PLD37K76.js";import{a as _e,b as ue}from"./chunk-XFT76LM3.js";import"./chunk-VDHMNIPW.js";import{a as de,b as ge,c as me}from"./chunk-ZIPUIG2E.js";import"./chunk-LS62P27S.js";import{a as dt,b as gt,c as mt,e as _t}from"./chunk-7NJJ2OR6.js";import{a as Xt,b as te}from"./chunk-COB7JTXP.js";import{a as U,b as j}from"./chunk-B7MEV2DH.js";import"./chunk-HHQ3DLDR.js";import{a as le}from"./chunk-EAMPIGF2.js";import{b as ie}from"./chunk-EWMPMGKE.js";import{a as ne}from"./chunk-7NLDXUER.js";import"./chunk-KYDX7PLZ.js";import{a as ee}from"./chunk-M3EMDAFZ.js";import{a as re,b as se}from"./chunk-UKCZCKF3.js";import"./chunk-NJY6F3LT.js";import{d as oe}from"./chunk-NYVKXIEZ.js";import"./chunk-DCKGCHBL.js";import{b as Jt}from"./chunk-GHXZGKMT.js";import"./chunk-GQBR7ALB.js";import"./chunk-V3LPMSAU.js";import"./chunk-57P7T2RM.js";import"./chunk-7RWCIHFI.js";import"./chunk-TZPNXZD6.js";import"./chunk-FO7KVHCD.js";import"./chunk-DTHTIZ5C.js";import{B as ae}from"./chunk-DLBWLLE6.js";import"./chunk-YAUIJJXG.js";import"./chunk-NKG7VJI6.js";import"./chunk-SM333LUT.js";import"./chunk-GGQDMCFC.js";import"./chunk-KZOGQMYZ.js";import"./chunk-TWZBNSN4.js";import"./chunk-55MTUKAX.js";import{a as pt}from"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-WEDN5HGH.js";import"./chunk-BYHBQABE.js";import"./chunk-XWGGXTBH.js";import"./chunk-GWP52JAF.js";import"./chunk-SBK5GHAF.js";import"./chunk-FPPRR53P.js";import"./chunk-3UVVCPIT.js";import"./chunk-HNY54GY7.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-G2NZI5V3.js";import"./chunk-62DYWMYT.js";import{a as jt}from"./chunk-NTCDGAR3.js";import"./chunk-UMK6AGIS.js";import"./chunk-PBAOXUCO.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import{j as Bt,l as Yt,m as $t,o as Ut}from"./chunk-WX25E2HZ.js";import{b as Nt}from"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as R,b as A}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import{a as at,b as rt,c as st,d as lt,e as ct}from"./chunk-7KBFIBUW.js";import"./chunk-JYXQ74JV.js";import"./chunk-7A7LFYDL.js";import"./chunk-IQBBAARC.js";import"./chunk-CWWNL6ZE.js";import"./chunk-FSAIB72R.js";import{L as Kt,i as Ht,o as Zt}from"./chunk-X474JN3X.js";import{b as Qt}from"./chunk-OLSNRRTA.js";import{j as Gt}from"./chunk-GJNXMHJK.js";import"./chunk-ROYL3S4H.js";import"./chunk-XWMJJGBF.js";import{a as Wt}from"./chunk-5G7452JJ.js";import"./chunk-O6NNHBDA.js";import{h as Vt}from"./chunk-VK3ZU6WP.js";import{G as E,o as $,p as k}from"./chunk-BRHCVEVW.js";import{Ed as Et,Fd as Rt,Gd as At,Ic as F,Jc as I,Lc as G,Ld as K,Mc as Q,Me as T,Nc as H,Ob as a,Oc as c,Pc as o,Qa as u,Qc as r,Qd as zt,Ra as h,Rc as _,Sd as Y,Tb as X,Td as Lt,Vc as L,Wc as V,Zc as P,_a as b,ac as v,ae as Ct,be as xt,ed as C,hc as D,hd as d,ld as tt,mc as m,md as et,me as y,nd as nt,ne as ot,sd as Z,td as B,ue as N,vd as kt,wd as l,xd as M,yd as f,zd as it}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import{a as O,b as J}from"./chunk-IP4IO47A.js";T();T();T();T();var ze=["chartCanvas"];function Le(i,p){if(i&1){let t=P();o(0,"un-dropdown-item",10),C("click",function(){let n=u(t).$implicit,s=d(2);return h(s.changeParticipantFilter(n))}),l(1),r()}if(i&2){let t=p.$implicit;a(),f(" ",t.name," ")}}function Ve(i,p){if(i&1&&(o(0,"un-dropdown",6)(1,"button",7)(2,"strong"),l(3),r(),_(4,"un-icon",8),r(),o(5,"un-dropdown-select"),m(6,Le,2,1,"un-dropdown-item",9),r()()),i&2){let t,e=d();c("dropdownPosition","bottom-left")("width",140),a(3),f("",(t=e.participantFilter())==null?null:t.name," Participants"),a(),c("icon","chevron_down.svg")("size",14),a(2),c("ngForOf",e.ParticipantFilters)}}function Ne(i,p){i&1&&(o(0,"div",14),_(1,"un-icon",8),o(2,"p"),l(3,"No data available"),r(),o(4,"span"),l(5,"Participant data will appear here once available"),r()()),i&2&&(a(),c("icon","chart.svg")("size",48))}function Be(i,p){if(i&1&&(o(0,"div",11),_(1,"canvas",12,0),m(3,Ne,6,2,"div",13),r()),i&2){let t=d();Z("height",t.config.height||320,"px"),a(),B("hidden",!t.hasData()),a(2),c("ngIf",!t.hasData())}}function Ye(i,p){if(i&1&&(o(0,"div",14),_(1,"un-icon",8),o(2,"p"),l(3,"No data available"),r(),o(4,"span"),l(5,"Participant data will appear here once available"),r()()),i&2){let t=d();Z("height",t.config.height||320,"px"),a(),c("icon","chart.svg")("size",48)}}q.register(...ft);var Pe=(()=>{class i{changeParticipantFilter(t){this.participantFilter.set(t),this.participantFilterChange.emit(t)}constructor(){this.config={},this.title="Participants",this.dropdownLabel="Total Participants",this.isGenderEnabled=!0,this.participantFilterChange=new X,this.chart=null,this.defaultConfig={responsive:!0,maintainAspectRatio:!1,height:320},this.mergedConfig=y(()=>O(O({},this.defaultConfig),this.config)),this.ParticipantFilters=[{name:"Total",value:"total"},{name:"Male",value:"male"},{name:"Female",value:"female"},{name:"Others",value:"others"},{name:"Not Specified",value:"not_specified"}],this.participantFilter=b(this.ParticipantFilters[0]),this.hasData=y(()=>{let t=this.chartData();return t&&t.labels.length>0&&t.values.length>0}),ot(()=>{let t=this.chartData();if(!t||t.labels.length===0){this.chart&&this.destroyChart();return}this.chart&&this.updateChart(t)},{allowSignalWrites:!0})}ngOnInit(){}ngAfterViewInit(){if(!this.isGenderEnabled)return;let t=this.chartData();t&&t.labels.length>0&&this.initializeChart()}ngOnDestroy(){this.destroyChart()}initializeChart(){let t=this.chartCanvas?.nativeElement?.getContext("2d");if(!t){console.error("Failed to get canvas context");return}let e=this.chartData();if(!e||e.labels.length===0){console.warn("No data available for chart initialization");return}let n=this.buildChartConfiguration(e);this.chart=new q(t,n)}buildChartConfiguration(t){let e=this.calculateYAxisMax(t.values),n=this.calculateStepSize(e);return{type:"line",data:{labels:t.labels,datasets:[{label:this.dropdownLabel,data:t.values,borderColor:"#3b82f6",backgroundColor:"transparent",borderWidth:2.5,tension:.4,pointRadius:4,pointHoverRadius:6,pointBackgroun
1dColor:"#3b82f6",pointBorderColor:"#fff",pointBorderWidth:2}]},options:{responsive:this.mergedConfig().responsive,maintainAspectRatio:this.mergedConfig().maintainAspectRatio,plugins:{legend:{display:!1},tooltip:{enabled:!0,backgroundColor:"#1f2937",titleColor:"#fff",bodyColor:"#fff",padding:12,displayColors:!1,callbacks:{label:s=>`${s.parsed.y.toLocaleString()} participants`}}},scales:{x:{grid:{display:!1},border:{display:!1},ticks:{color:"#6b7280",font:{size:13}}},y:{type:"linear",min:0,suggestedMax:e,ticks:{stepSize:n,color:"#6b7280",font:{size:13},callback:s=>typeof s=="number"?s.toLocaleString():s},grid:{color:"#f3f4f6",drawBorder:!1},border:{display:!1}}}}}}updateChart(t){if(!this.chart)return;if(!t||t.labels.length===0){this.destroyChart();return}this.chart.data.labels=t.labels,this.chart.data.datasets[0].data=t.values;let e=this.calculateYAxisMax(t.values),n=this.calculateStepSize(e);if(this.chart.options.scales?.y){let s=this.chart.options.scales.y;s.suggestedMax=e,s.ticks&&(s.ticks.stepSize=n)}this.chart.update("active")}validateChartData(t){return!!(t&&Array.isArray(t.labels)&&Array.isArray(t.values)&&t.labels.length===t.values.length)}calculateYAxisMax(t){if(!t||t.length===0)return 10;let e=Math.max(...t,0);if(e===0)return 10;let n;e<10?n=2:e<100?n=10:e<1e3?n=100:e<1e4?n=1e3:e<1e5?n=5e3:n=1e4;let g=Math.ceil(e/n)*n*1.2;return Math.ceil(g/n)*n}calculateStepSize(t){return t<=10||t<=20?2:t<=50?5:t<=100?10:t<=200?20:t<=500?50:t<=1e3?100:t<=2e3?200:t<=5e3?500:t<=1e4?1e3:t<=5e4?5e3:t<=1e5?1e4:2e4}destroyChart(){this.chart&&(this.chart.destroy(),this.chart=null)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-participants-chart"]],viewQuery:function(e,n){if(e&1&&tt(ze,5),e&2){let s;et(s=nt())&&(n.chartCanvas=s.first)}},inputs:{chartData:"chartData",config:"config",title:"title",dropdownLabel:"dropdownLabel",isGenderEnabled:"isGenderEnabled"},outputs:{participantFilterChange:"participantFilterChange"},decls:7,vars:4,consts:[["chartCanvas",""],[1,"chart-container"],[1,"header"],[3,"dropdownPosition","width",4,"ngIf"],["class","chart-wrapper",3,"height",4,"ngIf"],["class","no-data-message",3,"height",4,"ngIf"],[3,"dropdownPosition","width"],["unButton","","unButtonBorder","","unButtonCircle","","unButtonSmall","","unButtonIconRight",""],[3,"icon","size"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"chart-wrapper"],["aria-label","Participants chart"],["class","no-data-message",4,"ngIf"],[1,"no-data-message"]],template:function(e,n){e&1&&(o(0,"div",1)(1,"div",2)(2,"h3"),l(3),r(),m(4,Ve,7,6,"un-dropdown",3),r(),m(5,Be,4,5,"div",4)(6,Ye,6,4,"div",5),r()),e&2&&(a(3),M(n.title),a(),c("ngIf",n.isGenderEnabled),a(),c("ngIf",n.isGenderEnabled),a(),c("ngIf",!n.isGenderEnabled))},dependencies:[E,$,k,j,U,A,R,_t,mt,dt,gt],styles:["[_nghost-%COMP%]{display:block}.chart-container[_ngcontent-%COMP%]{background:var(--grey-00);border-radius:16px;padding:20px;border:1px solid var(--stroke-primary)}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;height:32px}.header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:0;font-weight:500;font-size:14px;color:var(--text-primary)}canvas.hidden[_ngcontent-%COMP%]{display:none}.no-data-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#9ca3af;text-align:center;padding:2rem}.no-data-message[_ngcontent-%COMP%]   un-icon[_ngcontent-%COMP%]{margin-bottom:1rem;opacity:.5}.no-data-message[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#6b7280}.no-data-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.875rem;color:#9ca3af}.chart-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}@media (max-width: 640px){.header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}}"]})}}return i})();T();T();var $e=["chartCanvas"];function Ue(i,p){i&1&&(o(0,"div",7)(1,"div",8),_(2,"span",9),o(3,"span",10),l(4,"Complete Reg."),r()(),o(5,"div",8),_(6,"span",11),o(7,"span",10),l(8,"Incomplete Reg."),r()()())}function je(i,p){i&1&&(o(0,"div",12),_(1,"un-icon",13),o(2,"p"),l(3,"No data available"),r(),o(4,"span"),l(5,"Domain registration data will appear here once available"),r()()),i&2&&(a(),c("icon","chart.svg")("size",48))}q.register(...ft);var be=(()=>{class i{constructor(){this.config={},this.title="Domains",this.showLegend=!0,this.chart=null,this.defaultConfig={responsive:!0,maintainAspectRatio:!1,height:450},this.mergedConfig=y(()=>O(O({},this.defaultConfig),this.config)),this.hasData=y(()=>{let t=this.chartData();if(!t||!Array.isArray(t.labels)||t.labels.length===0)return!1;let e=t.completeRegistrations||[],n=t.incompleteRegistrations||[];return[...e,...n].some(g=>g>0)}),ot(()=>{let t=this.chartData();if(!this.hasData()){this.chart&&this.destroyChart();return}this.chart?this.updateChart(t):this.initializeChart()},{allowSignalWrites:!0})}ngOnInit(){}ngOnDestroy(){this.destroyChart()}initializeChart(){let t=this.chartCanvas?.nativeElement?.getContext("2d");if(!t){console.error("Failed to get canvas context");return}let e=this.chartData();if(!e||!this.hasData()){console.warn("No data available for domains chart initialization");return}if(!this.validateChartData(e)){console.error("Invalid chart data provided");return}let n=this.buildChartConfiguration(e);this.chart=new q(t,n)}buildChartConfiguration(t){let e=this.calculateDynamicScale(t);return{type:"bar",data:{labels:t.labels,datasets:[{label:"Complete Reg.",data:t.completeRegistrations,backgroundColor:"#4d9dee",borderRadius:0,borderSkipped:!1},{label:"Incomplete Reg.",data:t.incompleteRegistrations,backgroundColor:"#bfdcf9",borderRadius:0,borderSkipped:!1}]},options:{responsive:this.mergedConfig().responsive,maintainAspectRatio:this.mergedConfig().maintainAspectRatio,scales:{x:{stacked:!0,grid:{display:!1},border:{display:!1},ticks:{color:"#6b7280",font:{size:12}}},y:{stacked:!0,min:e.suggestedMin,max:e.max,ticks:{stepSize:e.stepSize,color:"#6b7280",font:{size:14},callback:n=>{let s=Number(n);return s>
1=1e3?s.toLocaleString():s.toString()}},grid:{color:"#f3f4f6",drawBorder:!1},border:{display:!1}}},plugins:{legend:{display:!1},tooltip:this.buildTooltipConfig()}}}}buildTooltipConfig(){return{enabled:!0,backgroundColor:"#1f2937",padding:16,cornerRadius:12,titleColor:"#ffffff",bodyColor:"#ffffff",bodySpacing:8,titleFont:{size:14,weight:"normal"},bodyFont:{size:14,weight:"normal"},displayColors:!0,boxWidth:12,boxHeight:12,boxPadding:6,usePointStyle:!0,mode:"index",intersect:!1,callbacks:{title:t=>{let e=t[0].dataIndex,n=t[0].chart.data.datasets,s=n[0].data[e],g=n[1].data[e];return`Total Registrations: ${(s+g).toLocaleString()}`},label:t=>{let e=t.parsed.y||0,n=t.dataset.label||"";return` ${e.toLocaleString()}`},labelColor:t=>({borderColor:t.dataset.backgroundColor,backgroundColor:t.dataset.backgroundColor,borderWidth:2,borderRadius:6})}}}updateChart(t){if(!this.chart)return;if(!this.hasData()){this.destroyChart();return}if(!this.validateChartData(t))return;let e=this.calculateDynamicScale(t);this.chart.data.labels=t.labels,this.chart.data.datasets[0].data=t.completeRegistrations,this.chart.data.datasets[1].data=t.incompleteRegistrations,this.chart.options.scales?.y&&(this.chart.options.scales.y.max=e.max,this.chart.options.scales.y.min=e.suggestedMin,this.chart.options.scales.y.ticks=J(O({},this.chart.options.scales.y.ticks),{stepSize:e.stepSize})),this.chart.update("active")}validateChartData(t){return!!(t&&Array.isArray(t.labels)&&Array.isArray(t.completeRegistrations)&&Array.isArray(t.incompleteRegistrations)&&t.labels.length===t.completeRegistrations.length&&t.labels.length===t.incompleteRegistrations.length)}calculateDynamicScale(t){let e=t.labels.map((W,z)=>(t.completeRegistrations[z]||0)+(t.incompleteRegistrations[z]||0)),n=Math.max(...e,0);if(n===0)return{max:10,stepSize:2,suggestedMin:0};let s=Math.pow(10,Math.floor(Math.log10(n))),g,x;n<=10?(g=1,x=Math.ceil(n/2)*2):n<=50?(g=5,x=Math.ceil(n/10)*10):n<=100?(g=10,x=Math.ceil(n/20)*20):n<=500?(g=50,x=Math.ceil(n/100)*100):n<=1e3?(g=100,x=Math.ceil(n/200)*200):n<=5e3?(g=500,x=Math.ceil(n/1e3)*1e3):n<=1e4?(g=1e3,x=Math.ceil(n/2e3)*2e3):n<=5e4?(g=5e3,x=Math.ceil(n/1e4)*1e4):(g=s/2,x=Math.ceil(n/s)*s);let w=x*.15;return x=Math.ceil((x+w)/g)*g,{max:x,stepSize:g,suggestedMin:0}}destroyChart(){this.chart&&(this.chart.destroy(),this.chart=null)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-domains-chart"]],viewQuery:function(e,n){if(e&1&&tt($e,7),e&2){let s;et(s=nt())&&(n.chartCanvas=s.first)}},inputs:{chartData:"chartData",config:"config",title:"title",showLegend:"showLegend"},decls:9,vars:7,consts:[["chartCanvas",""],[1,"chart-container"],[1,"header"],["class","legend",4,"ngIf"],[1,"chart-wrapper"],["aria-label","Domains registrations chart"],["class","no-data-message",4,"ngIf"],[1,"legend"],[1,"legend-item"],["aria-hidden","true",1,"legend-dot","complete"],[1,"legend-label"],["aria-hidden","true",1,"legend-dot","incomplete"],[1,"no-data-message"],[3,"icon","size"]],template:function(e,n){e&1&&(o(0,"div",1)(1,"div",2)(2,"h3"),l(3),r(),m(4,Ue,9,0,"div",3),r(),o(5,"div",4),_(6,"canvas",5,0),m(8,je,6,2,"div",6),r()()),e&2&&(a(3),M(n.title),a(),c("ngIf",n.showLegend&&n.hasData()),a(),Z("height",n.config.height||450,"px"),a(),B("hidden",!n.hasData()),a(2),c("ngIf",!n.hasData()))},dependencies:[E,k,A,R],styles:["[_nghost-%COMP%]{display:block}.chart-container[_ngcontent-%COMP%]{background:var(--grey-00);border-radius:16px;padding:20px;border:1px solid var(--stroke-primary)}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;height:32px}.header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:0;font-weight:500;font-size:14px;color:var(--text-primary)}.legend[_ngcontent-%COMP%]{display:flex;gap:2rem;align-items:center}.legend-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem}.legend-dot[_ngcontent-%COMP%]{width:.875rem;height:.875rem;border-radius:50%;flex-shrink:0}.legend-dot.complete[_ngcontent-%COMP%]{background-color:#3b82f6}.legend-dot.incomplete[_ngcontent-%COMP%]{background-color:#bfdbfe}.legend-label[_ngcontent-%COMP%]{font-size:1rem;color:#6b7280;font-weight:500;white-space:nowrap}.chart-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}canvas.hidden[_ngcontent-%COMP%]{display:none}.no-data-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#9ca3af;text-align:center;padding:2rem}.no-data-message[_ngcontent-%COMP%]   un-icon[_ngcontent-%COMP%]{margin-bottom:1rem;opacity:.5}.no-data-message[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#6b7280}.no-data-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.875rem;color:#9ca3af}@media (max-width: 767px){.header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.legend[_ngcontent-%COMP%]{gap:1rem}.title[_ngcontent-%COMP%]{font-size:1.5rem}}"]})}}return i})();T();var We=()=>[1,2,3,4],ve=()=>({height:200,responsive:!0}),Ge=i=>[i];function Qe(i,p){if(i&1){let t=P();o(0,"un-dropdown-item",10),C("click",function(){let n=u(t).$implicit,s=d();return h(s.changePassingYear(n))}),l(1),r()}if(i&2){let t=p.$implicit;a(),f(" ",t.name," ")}}function He(i,p){if(i&1){let t=P();o(0,"un-dropdown-item",10),C("click",function(){let n=u(t).$implicit,s=d();return h(s.changeDateFilter(n))}),l(1),r()}if(i&2){let t=p.$implicit;a(),f(" ",t.name," ")}}function Ze(i,p){i&1&&(o(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),_(4,"div",15)(5,"div",15)(6,"div",15)(7,"div",15),r(),o(8,"span",16),l(9,"Loading"),r()()()())}function Ke(i,p){if(i&1&&(o(0,"div",18)(1,"div",22),_(2,"un-icon",23),r(),o(3,"div",24)(4,"h1"),l(5),r(),o(6,"p"),l(7),r()()()),i&2){let t=p.$index,e=d(2);a(2),c("icon",e.cardIcons()[t])("size",28)("color",Lt(5,Ge,e.cardColors()[t])),a(3),M(e.cardValues()[t]),a(2),M(e.cardTitle()[t])}}function Je(i,p){if(i&1){let t=P();L(0),o(1,"div",17),Q(2,Ke,8,7,"div",18,G),r(),o(4,"div",19)(5,"app-participants-chart",20),C("participantFilterChange",function(n){u(t);let s=d();return h(s.onParticipantFilterChange(n))}),r(),_(6,"app-domains-chart",21),r(),V()}if(i&2){let t=d();a(2),H(Y(9,We)),a(3),c("config",Y(10,ve))("chartData",t.participantsData)("title","Participants")("dropdownLabel","Total Participants")("isGenderEnabled",t.isGenderEnabled()),a(),c("config",Y(11,ve))("chartData",t.domainsData)("title","Domains")("showLegend",!0)}}function Xe(i,p){if(i&1){let t=P();o(0,"un-modal",25),C("closeModal",function(){u(t);let n=d();return h(n.customDateRangeModal=!1)}),o(1,"un-modal-header",26)(2,"h2"),l(3,"Custom Date Range"),r(),o(4,"span",27),C("click",function(){u(t);let n=d();return h(n.customDateRangeModal=!1)}),l(5," close "),r()(),o(6,"un-modal-content")(7,"app-start-end-date-time-input",28),C("errorStateStatus",function(n){u(t);let s=d();return h(s.setDateError(n))})("startDateChange",function(n){u(t);let s=d();return h(s.onChangeDateRangeFilter("start_date",n))})("endDateChange",function(n){u(t);let s=d();return h(s.onChangeDateRangeFilter("end_date",n))}),r()(),o(8,"un-modal-footer")(9,"button",29),l(10,"Cancel"),r(),o(11,"button",30),C("click",function(){u(t);let n=d();return h(n.saveCustomDateRange())}),l(12,"save"),r()()()}if(i&2){let t=d();c("size","sm")("position","center")("mobileSlide","right")("fontColor","blue_color"),a(),c("withIcon","icon"),a(6),kt("col s12"),c("startDate",t.customDateStartDate)("endDate",t.customDateEndDate)("hideEndDate",!0)("rangeType",!0)}}var Se=(()=>{class i{constructor(){this.datePipe=new pt,this.stats=N(),this.opportunityType=N(),this.participationType=N(),this.isLoading=N(!1),this.isGenderEnabled=N(!0),this.filterChange=new X,this.cardColors=y(()=>["secondary-500","pink-500","green-500","orange-500"]),this.cardIcons=y(()=>["company_black.svg","user_star.svg","user-group.svg","group.svg"]),this.cardTitle=y(()=>{let t=this.opportunityType(),e=this.participationType();return t==="jobs"||e===1?["Total Organizations","Total Applications","Complete Applications","Incomplete Applications"]:["Total Organizations","Total Participants","Total Teams","Incomplete Teams"]}),this.cardValues=y(()=>{let t=this.stats(),e=this.opportunityType(),n=this.participationType();return e==="jobs"||n===1?[t?.totalOrganisations??0,t?.totalPlayers??0,t?.completeRegistrations?.complete_count??0,t?.incompleteRegistrations??0]:[t?.totalOrganisations??0,t?.totalPlayers??0,t?.totalTeams??0,t?.incompleteRegistrations??0]}),this.passingYears=N([]),this.passingYearOptions=y(()=>{let t=this.passingYears()||[],e=[{name:"All",value:null}];return t.forEach(n=>{e.push({name:String(n),value:n})}),e}),this.dateFilterOptions=[{name:"All time",value:{startDate:new Date(1970,0,1),endDate:new Date}},{name:"Last 14 days",value:{startDate:this.getDateDaysAgo(14),endDate:new Date}},{name:"Last 3 months",value:{startDate:this.getDateMonthsAgo(3),endDate:new Date}},{name:"Last 12 months",value:{startDate:this.getDateMonthsAgo(12),endDate:new Date}},{name:"Custom date",value:null}],this.passingYearFilter=b({name:"All",value:null}),this.dateFilter=b(this.dateFilterOptions[0]),this.participantTypeFilter=b("total"),this.domainRegCounts=y(()=>{let t=this.stats();return t?.registrations?.stats?this.calculateDomainCounts(t.registrations.stats):this.getEmptyDomainCounts()}),this.participantsData=y(()=>{let t=this.stats();
1if(!t?.regnMonthlyCounts||t?.regnMonthlyCounts.length===0)return{labels:[],values:[]};let e=this.filterDataByDate(t.regnMonthlyCounts),n=this.participantTypeFilter();return{labels:e.map(s=>s?.month_name?.split(" ")[0]??""),values:e.map(s=>{switch(n){case"male":return s?.male_total??0;case"female":return s?.female_total??0;case"others":return s?.other_total??0;case"not_specified":return s?.not_assigned_total??0;case"total":default:return s?.total??0}})}}),this.domainsData=y(()=>{let t=this.domainRegCounts();return{labels:["Management","Engineering","Arts","Medicine","Law","Not Specified","Others"],completeRegistrations:[t.completed.Management,t.completed.Engineering,t.completed.Arts,t.completed.Medicine,t.completed.Law,t.completed.CourseNotSpecified,t.completed.Others],incompleteRegistrations:[t.incomplete.Management,t.incomplete.Engineering,t.incomplete.Arts,t.incomplete.Medicine,t.incomplete.Law,t.incomplete.CourseNotSpecified,t.incomplete.Others]}}),this.customDateStartDate=null,this.customDateEndDate=null,this.customDateRangeModal=!1}ngOnInit(){}setDateError(t){console.log("date error - ",t)}onChangeDateRangeFilter(t,e){t==="start_date"?(console.log("start date - ",e),this.customDateStartDate=e):t==="end_date"&&(console.log("end date - ",e),this.customDateEndDate=e)}saveCustomDateRange(){if(this.customDateStartDate&&this.customDateEndDate){let t=new Date(this.customDateStartDate),e=new Date(this.customDateEndDate);this.setCustomDateRange(t,e),this.customDateRangeModal=!1,this.emitFilterChange()}}onParticipantFilterChange(t){this.participantTypeFilter.set(t.value)}changePassingYear(t){this.passingYearFilter.set(t),this.emitFilterChange()}changeDateFilter(t){if(t.name==="Custom date"){this.customDateRangeModal=!0,console.log("Open date picker for custom date selection");return}this.dateFilter.set(t),this.customDateStartDate=null,this.customDateEndDate=null,this.emitFilterChange()}setCustomDateRange(t,e){let n=new Date(t),s=new Date(e),g={name:this.datePipe.transform(n.toISOString(),["C"])+" - "+this.datePipe.transform(s.toISOString(),["C"]),value:{startDate:t,endDate:e}};this.dateFilter.set(g)}emitFilterChange(){let t={passingYear:this.passingYearFilter().value,dateRange:this.dateFilter().value,dateRangeName:this.dateFilter().name};this.filterChange.emit(t)}getEmptyDomainCounts(){let t={Management:0,Engineering:0,WorkingProfessionals:0,Arts:0,Others:0,Medicine:0,Law:0,CourseNotSpecified:0};return J(O({},t),{completed:O({},t),incomplete:O({},t)})}calculateDomainCounts(t){let e=t.reg_total??0,n=t.reg_management??0,s=t.reg_engineering??0,g=t.reg_arts??0,x=t.reg_working_professional??0,w=t.reg_course_pursuing_others??0,W=t.reg_medicine??0,z=t.reg_law??0,Pt=t.reg_course_pursuing_not_specified??0,zn=t.reg_fresher??0,S=t.incomplete??{},bt=S.reg_engineering_incomplete??0,vt=S.reg_management_incomplete??0,St=S.reg_working_professional_incomplete??0,wt=S.reg_arts_incomplete??0,Dt=S.reg_course_pursuing_others_incomplete??0,Ft=S.reg_medicine_incomplete??0,It=S.reg_law_incomplete??0,Tt=S.reg_course_pursuing_not_specified_incomplete??0,Ln=S.reg_fresher_incomplete??0,we=Math.max(0,s-bt),De=Math.max(0,n-vt),Fe=Math.max(0,x-St),Ie=Math.max(0,g-wt),Te=Math.max(0,w-Dt),ke=Math.max(0,W-Ft),Ee=Math.max(0,z-It),Re=Math.max(0,Pt-Tt);return{Management:n,Engineering:s,WorkingProfessionals:x,Arts:g,Others:w,Medicine:W,Law:z,CourseNotSpecified:Pt,completed:{Management:De,Engineering:we,WorkingProfessionals:Fe,Arts:Ie,Others:Te,Medicine:ke,Law:Ee,CourseNotSpecified:Re},incomplete:{Management:vt,Engineering:bt,WorkingProfessionals:St,Arts:wt,Others:Dt,Medicine:Ft,Law:It,CourseNotSpecified:Tt}}}getDateDaysAgo(t){let e=new Date;return e.setDate(e.getDate()-t),e}getDateMonthsAgo(t){let e=new Date;return e.setMonth(e.getMonth()-t),e}filterDataByDate(t){return!t||!Array.isArray(t)?[]:[...t]}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-opportunity-registration-stats"]],inputs:{stats:[1,"stats"],opportunityType:[1,"opportunityType"],participationType:[1,"participationType"],isLoading:[1,"isLoading"],isGenderEnabled:[1,"isGenderEnabled"],passingYears:[1,"passingYears"]},outputs:{filterChange:"filterChange"},decls:24,vars:15,consts:[[1,"reg-stats-container"],[1,"head"],[1,"actions"],[3,"dropdownPosition","width"],["unButton","","unButtonBorder","","unButtonCircle","","unButtonSmall","","unButtonIconRight",""],[3,"icon","size"],[3,"click",4,"ngFor","ngForOf"],["class","stats-loader-container",4,"ngIf"],[4,"ngIf"],[3,"size","position","mobileSlide","fontColor","closeModal",4,"ngIf"],[3,"click"],[1,"stats-loader-container"],[1,"round-preloader","center-align"],[1,"loader-wrapper"],[1,"loading","mb-5","mt-15"],[1,"loading-bar"],[1,"font-12","f-weight-600"],[1,"data-cards"],[1,"data-card"],[1,"dashboard"],[3,"participantFilterChange","config","chartData","title","dropdownLabel","isGenderEnabled"],[3,"config","chartData","title","showLegend"],[1,"data-icon"],[3,"icon","size","color"],[1,"data-values"],[3,"closeModal","size","position","mobileSlide","fontColor"],[3,"withIcon"],[1,"close","material-icons",3,"click"],[3,"errorStateStatus","startDateChange","endDateChange","startDate","endDate","hideEndDate","rangeType"],["unButton",""],["unButton","",3,"click"]],template:function(e,n){if(e&1&&(o(0,"div",0)(1,"div",1)(2,"h2"),l(3,"Registration Stats"),r(),o(4,"div",2)(5,"un-dropdown",3)(6,"button",4),l(7," Passing year: "),o(8,"strong"),l(9),r(),_(10,"un-icon",5),r(),o(11,"un-dropdown-select"),m(12,Qe,2,1,"un-dropdown-item",6),r()(),o(13,"un-dropdown",3)(14,"button",4),l(15," Date: "),o(16,"strong"),l(17),r(),_(18,"un-icon",5),r(),o(19,"un-dropdown-select"),m(20,He,2,1,"un-dropdown-item",6),r()()()(),m(21,Ze,10,0,"div",7)(22,Je,7,12,"ng-container",8),r(),m(23,Xe,13,11,"un-modal",9)),e&2){let s,g;a(5),c("dropdownPosition","bottom-left")("width",200),a(4),M((s=n.passingYearFilter())==null?null:s.name),a(),c("icon","chevron_down.svg")("size",14),a(2),c("ngForOf",n.passingYearOptions()),a(),c("dropdownPosition","bottom-right")("width",200),a(4),M((g=n.dateFilter())==null?null:g.name),a(),c("icon","chevron_down.svg")("size",14),a(2),c("ngForOf",n.dateFilterOptions),a(),c("ngIf",n.isLoading()),a(),c("ngIf",!n.isLoading()),a(),c("ngIf",n.customDateRangeModal)}},dependencies:[E,$,k,Pe,be,j,U,A,R,_t,mt,dt,gt,le,ie,ct,at,rt,st,lt,ut],styles:["[_nghost-%COMP%]{display:block}.stats-loader-container[_ngcontent-%COMP%]{height:405px;display:flex;align-items:center;justify-content:center}.reg-stats-container[_ngcontent-%COMP%]{padding:20px;background:var(--grey-00);border-radius:16px;width:100%;margin-bottom:6px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;margin-bottom:20px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:0;color:var(--text-primary);font-weight:600;font-size:24px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;align-items:center;gap:10px;justify-self:end}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));width:100%;gap:20px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:12px;border:1px solid var(--stroke-primary);border-radius:16px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-icon[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:12px;display:grid;place-items:center}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]:nth-child(1)   .data-icon[_ngcontent-%COMP%]{border:1px solid var(--secondary-300);background:var(--secondary-50)}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]:nth-child(2)   .data-icon[_ngcontent-%COMP%]{border:1px solid var(--pink-300);background:var(--pink-50)}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]:nth-child(3)   .data-icon[_ngcontent-%COMP%]{border:1px solid var(--green-300);background:var(--green-50)}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]:nth-child(4)   .data-icon[_ngcontent-%COMP%]{border:1px solid var(--orange-300);background:var(--orange-50)}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-values[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:600;font-size:28px;color:var(--text-primary);margin-bottom:8px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-values[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:14px;margin-bottom:0;color:var(--text-secondary)}.dashboard[_ngcontent-%COMP%]{margin-top:20px;
1display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%}app-participants-chart[_ngcontent-%COMP%], app-domains-chart[_ngcontent-%COMP%]{width:100%;display:block}@media (max-width: 1200px){.dashboard[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 767px){.reg-stats-container[_ngcontent-%COMP%]{padding:16px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:16px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px}.reg-stats-container[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{justify-self:start}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 480px){.reg-stats-container[_ngcontent-%COMP%]{padding:12px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]{grid-template-columns:auto;padding:10px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-icon[_ngcontent-%COMP%]{width:48px;height:48px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-values[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px}.reg-stats-container[_ngcontent-%COMP%]   .data-cards[_ngcontent-%COMP%]   .data-card[_ngcontent-%COMP%]   .data-values[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:12px}}"]})}}return i})();T();var tn=()=>["grey-00"];function en(i,p){i&1&&_(0,"app-loaders",4),i&2&&c("type","circle-text")}function nn(i,p){if(i&1&&(o(0,"a",13),l(1),r()),i&2){let t=d(3);c("routerLink",K("/",t.opportunity==null?null:t.opportunity.public_url)),a(),f(" ",t.opportunity.title," ")}}function on(i,p){if(i&1&&(o(0,"a",13),l(1),r()),i&2){let t=d(3);c("routerLink",K("/",t.opportunity==null?null:t.opportunity.public_url)),a(),M(t.opportunity==null?null:t.opportunity.title)}}function an(i,p){if(i&1&&(L(0),o(1,"p"),l(2),r(),V()),i&2){let t=d(3);a(2),M(t.opportunity==null||t.opportunity.festival==null?null:t.opportunity.festival.name)}}function rn(i,p){if(i&1){let t=P();L(0),o(1,"button",16),C("click",function(){u(t);let n=d(3);return h(n.downloadStats())}),l(2," Download "),_(3,"un-icon",14),r(),V()}i&2&&(a(3),c("icon","download.svg")("size",24))}function sn(i,p){if(i&1&&(o(0,"div",25),l(1),r()),i&2){let t=d(3);a(),M(t.getTotalAppliedFilters)}}function ln(i,p){i&1&&_(0,"app-loading-grid",4),i&2&&c("type","tableGrid")}function cn(i,p){i&1&&l(0," No registrations to show! ")}function pn(i,p){if(i&1&&(l(0," No registrations for "),o(1,"span",52),l(2),r(),l(3," category. ")),i&2){let t=d(5);a(2),f(" ",t.activeTab==="mba"?"Management":t.activeTab," ")}}function dn(i,p){if(i&1&&(o(0,"un-alerts",4)(1,"div"),F(2,cn,1,0)(3,pn,4,1),r()()),i&2){let t=d(4);c("type","warning"),a(2),I(t.activeTab==="all"?2:3)}}function gn(i,p){if(i&1&&(o(0,"tr")(1,"td",53)(2,"div",54),l(3),r()(),o(4,"td",53)(5,"div",54),l(6),r()(),o(7,"td")(8,"div",55)(9,"p"),l(10),r()()()()),i&2){let t=p.$implicit,e=p.index,n=d(4);a(3),f(" ",n.from+e,". "),a(3),f(" ",t.organisation_id||"--"," "),a(4),M(t.organisation||"Draft Registrations")}}function mn(i,p){if(i&1&&(o(0,"th",56),l(1),r()),i&2){let t=p.$implicit;a(),f(" YEAR ",t," ")}}function _n(i,p){i&1&&(o(0,"span"),l(1,"-"),r())}function un(i,p){if(i&1&&(o(0,"div",59)(1,"strong"),l(2),r(),o(3,"span"),l(4),r()()),i&2){let t=d().$implicit,e=d().$implicit;a(2),M(e["passing_out_year"+t+"_p_count"]),a(2),f("(",e["passing_out_year"+t+"_t_count"],")")}}function hn(i,p){if(i&1&&(o(0,"td",53)(1,"div",54),m(2,_n,2,0,"span",2)(3,un,5,2,"div",58),r()()),i&2){let t=p.$implicit,e=d().$implicit;a(2),c("ngIf",!e["passing_out_year"+t+"_p_count"]),a(),c("ngIf",e["passing_out_year"+t+"_p_count"])}}function fn(i,p){i&1&&(o(0,"span"),l(1,"-"),r())}function Cn(i,p){if(i&1&&(o(0,"div",59)(1,"p"),l(2),r(),o(3,"p"),l(4),r()()),i&2){let t=d().$implicit;a(2),M(t.p_not_specified),a(2),f("(",t.t_not_specified,")")}}function xn(i,p){if(i&1&&(o(0,"tr"),m(1,hn,4,2,"td",57),o(2,"td",53)(3,"div",54),m(4,fn,2,0,"span",2)(5,Cn,5,2,"div",58),r()()()),i&2){let t=p.$implicit,e=d(4);a(),c("ngForOf",e.availableYears),a(3),c("ngIf",!t.p_not_specified),a(),c("ngIf",t.p_not_specified)}}function Mn(i,p){if(i&1&&(o(0,"tr")(1,"td",53)(2,"div",54),l(3),r()(),o(4,"td",53)(5,"div",54),l(6),r()()()),i&2){let t=p.$implicit;a(3),f(" ",t.total_p_count," "),a(3),f(" ",t.total_t_count," ")}}function yn(i,p){if(i&1&&(o(0,"th",60),l(1),_(2,"br"),l(3," Year "),_(4,"br"),l(5),r()),i&2){let t=p.$implicit,e=d(4);a(),f(" ",t," "),a(4),f(" (",(e.statsCounts==null||e.statsCounts.totalPassingOutYear==null?null:e.statsCounts.totalPassingOutYear["passing_out_year"+t+"_p_count"])||"-",") ")}}function On(i,p){i&1&&(o(0,"span"),l(1,"-"),r())}function Pn(i,p){if(i&1&&(o(0,"span"),l(1),r()),i&2){let t=d().$implicit,e=d().$implicit;a(),it(" ",e["passing_out_year"+t+"_p_count"]," (",e["passing_out_year"+t+"_t_count"],") ")}}function bn(i,p){if(i&1&&(o(0,"span",63),m(1,On,2,0,"span",2)(2,Pn,2,2,"span",2),r()),i&2){let t=p.$implicit,e=d().$implicit;a(),c("ngIf",!e["passing_out_year"+t+"_p_count"]),a(),c("ngIf",e["passing_out_year"+t+"_p_count"])}}function vn(i,p){i&1&&(o(0,"span"),l(1,"-"),r())}function Sn(i,p){if(i&1&&(o(0,"span"),l(1),r()),i&2){let t=d().$implicit;a(),it(" ",t.p_not_specified," (",t.t_not_specified,") ")}}function wn(i,p){if(i&1&&(o(0,"tr")(1,"td",53),l(2),r(),o(3,"td",53),l(4),r(),o(5,"td"),l(6),r(),o(7,"td",53),m(8,bn,3,2,"span",61),r(),o(9,"td",53),m(10,vn,2,0,"span",2)(11,Sn,2,2,"span",2),r(),o(12,"td",62),l(13),r(),o(14,"td",53),l(15),r()()),i&2){let t=p.$implicit,e=p.index,n=d(4);a(2),f("",n.from+e,"."),a(2),M(t.organisation_id||"--"),a(2),M(t.organisation||"Draft Registrations"),a(2),c("ngForOf",n.availableYears),a(2),c("ngIf",!t.p_not_specified),a(),c("ngIf",t.p_not_specified),a(2),f(" ",t.total_p_count," "),a(2),f(" ",t.total_t_count," ")}}function Dn(i,p){if(i&1){let t=P();L(0),F(1,dn,4,2,"un-alerts",4),o(2,"div",28)(3,"div",29)(4,"div",30)(5,"table")(6,"thead")(7,"tr")(8,"th",31),l(9," # "),r(),o(10,"th",32),l(11," ID "),r(),o(12,"th",33),l(13,"ORGANIZATIONS"),o(14,"un-icon",34),C("click",function(n){u(t);let s=d(3);return h(s.sortBy("organisation",n))}),r()()()(),o(15,"tbody"),m(16,gn,11,3,"tr",35),r()()(),o(17,"div",36)(18,"table")(19,"thead")(20,"p",37),l(21,"Passing Years - Participants(Teams)"),r(),o(22,"tr"),m(23,mn,2,1,"th",38),o(24,"th",39),l(25," NOT SPECIFIED YEAR "),r()()(),o(26,"tbody"),m(27,xn,6,3,"tr",35),r()()(),o(28,"div",40)(29,"table")(30,"thead")(31,"tr")(32,"th",41)(33,"div",42),l(34," PLAYERS "),o(35,"un-icon",34),C("click",function(n){u(t);let s=d(3);return h(s.sortBy("player",n))}),r(),l(36),r()(),o(37,"th",41)(38,"div",42),l(39," TEAMS "),o(40,"un-icon",34),C("click",function(n){u(t);let s=d(3);return h(s.sortBy("team",n))}),r(),l(41),r()()()(),o(42,"tbody"),m(43,Mn,7,2,"tr",35),r()()()(),o(44,"div",43)(45,"div",44)(46,"table")(47,"thead")(48,"tr")(49,"th",45),l(50," # "),r(),o(51,"th",46),l(52," ID "),r(),o(53,"th",47),l(54,"Organisation Name"),r(),m(55,yn,6,2,"th",48),o(56,"th",49),l(57," Not Specified "),_(58,"br"),l(59," Year "),_(60,"br"),l(61),r(),o(62,"th",50),l(63," Players "),_(64,"br"),l(65),r(),o(66,"th",51),l(67," Teams "),_(68,"br"),l(69),r()()(),o(70,"tbody"),m(71,wn,16,8,"tr",35),r()()()()(),V()}if(i&2){let t=d(3);a(),I((t.registrationStats==null?null:t.registrationStats.length)<1?1:-1),a(13),c("icon","sorting_arrows.svg")("size",16),a(2),c("ngForOf",t.registrationStats),a(7),c("ngForOf",t.availableYears),a(4),c("ngForOf",t.registrationStats),a(8),c("icon","sorting_arrows.svg")("size",16),a(),f(" (",t.totalRegistration||"-",") "),a(4),c("icon","sorting_arrows.svg")("size",16),a(),f(" \xA0 (",t.totalTeams||"-",") "),a(2),c("ngForOf",t.registrationStats),a(12),c("ngForOf",t.availableYears),a(6),f(" (",(t.statsCounts==null||t.statsCounts.totalPassingOutYear==null?null:t.statsCounts.totalPassingOutYear.p_not_specified)||"-",") "),a(4),f(" (",t.totalRegistration||"-",") "),a(4),f(" (",t.totalTeams||"-",") "),a(2),c("ngForOf",t.registrationStats)}}function Fn(i,p){if(i&1){let t=P();o(0,"div",6)(1,"div",7)(2,"div",8)(3,"div",9),l(4),o(5,"a",10),_(6,"d2c-img",11),r()(),o(7,"div",12)(8,"h1"),F(9,nn,2,3,"a",13),F(10,on,2,3,"a",13),r(),m(11,an,3,1,"ng-container",2),o(12,"span",13),l(13),r(),o(14,"p"),_(15,"un-icon",14),l(16),Ct(17,"d2cDate"),Ct(18,"d2cDate"),r()(),o(19,"div",15)(20,"button",16),C("click",function(){u(t);let n=d(2);return h(n.copyPublicUrl())}),l(21," Copy Public URL "),_(22,"un-icon",14),r(),m(23,rn,4,2,"ng-container",2),r()(),o(24,"a
1pp-opportunity-registration-stats",17),C("filterChange",function(n){u(t);let s=d(2);return h(s.onFilterChange(n))}),r(),o(25,"div",18)(26,"div",19)(27,"h1"),l(28,"All Registrations"),r(),o(29,"div",20)(30,"div",21)(31,"un-input",22),At("ngModelChange",function(n){u(t);let s=d(2);return Rt(s.searchTerm,n)||(s.searchTerm=n),h(n)}),C("iconRightEvent",function(){u(t);let n=d(2);return h(n.searchTerm="")}),r()(),o(32,"button",23),C("click",function(){u(t);let n=d(2);return h(n.openFilterModal())}),o(33,"div",24),_(34,"un-icon",14),l(35," Filters "),F(36,sn,2,1,"div",25),r()()()(),m(37,ln,1,1,"app-loading-grid",1)(38,Dn,72,18,"ng-container",2),o(39,"div",26)(40,"app-pagination",27,0),C("responseAllData",function(n){u(t);let s=d(2);return h(s.getAllValue(n))})("statsChange",function(n){u(t);let s=d(2);return h(s.statsChange(n))}),r()()()()()}if(i&2){let t=d(2);a(4),f(" ",t.opportunity==null?null:t.opportunity.logo_url2," "),a(),c("routerLink",K("/",t.opportunity==null?null:t.opportunity.public_url)),a(),c("url",t.opportunity==null?null:t.opportunity.logo_url2)("fallBackUrl",t.opportunity==null?null:t.opportunity.logoUrl)("type",t.opportunity==null?null:t.opportunity.type)("alt",t.opportunity==null?null:t.opportunity.title),a(3),I((t.opportunity==null?null:t.opportunity.id)>51072?9:-1),a(),I((t.opportunity==null?null:t.opportunity.id)<=51072?10:-1),a(),c("ngIf",t.opportunity==null?null:t.opportunity.festival),a(),c("routerLink",K("/",t.opportunity==null||t.opportunity.organisation==null?null:t.opportunity.organisation.public_url)),a(),M(t.opportunity==null||t.opportunity.organisation==null?null:t.opportunity.organisation.name),a(2),c("icon","calendar_month.svg")("size",16),a(),it(" ",xt(17,52,t.opportunity==null?null:t.opportunity.start_date)," - ",xt(18,54,t.opportunity==null?null:t.opportunity.end_date)," "),a(6),c("icon","content_copy.svg")("size",24),a(),c("ngIf",!t.isSubmissionStats),a(),c("stats",t.statsCounts)("isLoading",t.isLoadingStats())("opportunityType",t.opportunity==null?null:t.opportunity.type)("participationType",(t.opportunity==null||t.opportunity.regnRequirements==null?null:t.opportunity.regnRequirements.max_team_size)===1?1:2)("passingYears",t.availableYears)("isGenderEnabled",(t.opportunity==null||t.opportunity.regnRequirements==null||t.opportunity.regnRequirements.core_req_fields==null||t.opportunity.regnRequirements.core_req_fields.gender==null?null:t.opportunity.regnRequirements.core_req_fields.gender.required)!==!1),a(7),c("type","text")("fontSize","default")("size","medium"),Et("ngModel",t.searchTerm),c("placeholder","Search By Name")("iconLeft","search.svg")("iconRight",t.searchTerm?"close.svg":""),a(3),c("icon","filter_alt.svg")("size",24),a(2),I(t.getTotalAppliedFilters?36:-1),a(),c("ngIf",!t.registrationStats),a(),c("ngIf",t.registrationStats),a(2),c("perPageResult",t.perPageResults)("resultUrl",t.url)("returnFieldName","data")("filters",t.filters)("refreshOnChanges",!0)("reinitCount",t.reinitCount)("queryString",t.queryString)("searchTerm",t.searchTerm)("refreshOnChanges",!0)("directPaging",!1)("currentPage",t.currentPage)("queryParams",t.queryParams)("updateCurrentPageOnPerPageChange",!1)("scrollTo","pdng")}}function In(i,p){if(i&1&&(L(0),m(1,Fn,42,56,"div",5),V()),i&2){let t=d();a(),c("ngIf",t.opportunity)}}function Tn(i,p){i&1&&(o(0,"div",79),l(1),r()),i&2&&(a(),M(1))}function kn(i,p){if(i&1){let t=P();o(0,"div",78),C("click",function(){let n=u(t).$implicit,s=d(2);return h(s.changeSelectedFilter(n))}),o(1,"p"),l(2),r(),F(3,Tn,2,1,"div",79),r()}if(i&2){let t=p.$implicit,e=d(2);B("active-card",e.selectedFilter()===t),a(2),M(t==null?null:t.name),a(),I(t!=null&&t.filterApplied?3:-1)}}function En(i,p){if(i&1&&(o(0,"un-radio",80),l(1),r()),i&2){let t=d().$implicit,e=d(2);c("value",t)("checked",e.currentPanelFilter==t),a(),f(" ",t," ")}}function Rn(i,p){if(i&1&&F(0,En,2,3,"un-radio",80),i&2){let t=p.$implicit;I(t?0:-1)}}function An(i,p){if(i&1){let t=P();o(0,"un-modal",64),C("closeModal",function(){u(t);let n=d();return h(n.filterModalOpen=!1)}),o(1,"un-modal-header",65)(2,"h2"),l(3,"Filters"),r(),o(4,"span",66),C("click",function(){u(t);let n=d();return h(n.filterModalOpen=!1)}),l(5," close "),r()(),o(6,"un-modal-content")(7,"div",67)(8,"div",68),Q(9,kn,4,4,"div",69,G),r(),o(11,"div",70)(12,"div",71)(13,"h2"),l(14),r()(),o(15,"div",72)(16,"un-radio-group",73),C("ngModelChange",function(n){u(t);let s=d();return h(s.setSelectedFilterValue(n))}),Q(17,Rn,1,1,null,null,G),r()()()()(),o(19,"un-modal-footer")(20,"button",74),C("click",function(){u(t);let n=d();return h(n.clearAllFilter())}),o(21,"span",75),l(22,"Clear All"),r()(),o(23,"button",76),C("click",function(){u(t);let n=d();return h(n.applyFilters())}),l(24,"Apply Filter "),_(25,"un-icon",77),r()()()}if(i&2){let t,e=d();c("size","md")("position","center")("mobileSlide","right")("fontColor","blue_color"),a(),c("withIcon","icon"),a(8),H(e.panelFilter()),a(5),M((t=e.selectedFilter())==null?null:t.name),a(2),c("size","large")("ngModel",e.getSelectedFilterValue()),a(),H(e.selectedFilter().filters),a(8),c("icon","arrows_right.svg")("size",24)("color",Y(11,tn))}}var Oo=(()=>{class i{get getTotalAppliedFilters(){return this.panelFilter().filter(t=>t.filterApplied).length}constructor(t,e,n,s,g,x,w,W,z){this.route=t,this.router=e,this.store=n,this.titleService=s,this.opportunityService=g,this.localStorageService=x,this.clipboardService=w,this.toastService=W,this.http=z,this.activeTab="all",this.adminUser=!1,this.userLoggedIn=!1,this.perPageResults=75,this.dropdown=!1,this.url="",this.reinitCount=1,this.currentPage=1,this.searchTerm="",this.searchKeyword="",this.showByDefault=!0,this.queryString="",this.currentTab="",this.associationId=0,this.organisationSort={status:!1,t
1ype:"organisation",order:"none",icon:"unfold_more"},this.registrationCountSort={status:!0,type:"registration",order:"desc",icon:"expand_more"},this.stat={total:0,mba:0,eng:0,others:0,working_professionals:0,art_and_science:0,school:0},this.currentSort="",this.sortOrder=!1,this.queryParams=[],this.isSubmissionStats=!1,this.type="reg",this.filterModalOpen=!1,this.panelFilter=b([{name:"Domain",filterApplied:"",filters:[]},{name:"Round",filterApplied:"",filters:[]},{name:"Status",filterApplied:"",filters:[]}]),this.selectedFilter=b(this.panelFilter()[0]),this.currentDomainFilter="All",this.currentRoundFilter="All",this.currentStatusFilter="All",this.tempDomainFilter="All",this.tempRoundFilter="All",this.tempStatusFilter="All",this.tempUserTypeFilter="All",this.currentUserTypeFilter="All",this.isLoadingStats=b(null),this.availableYears=[]}ngOnInit(){this.getCurrentUser(),this.route.queryParams.subscribe(t=>{this.opportunityId=t.id,this.opportunityId=atob(this.opportunityId),this.getOpportunity(this.opportunityId),t.roundId?(this.type="submission",this.associationId=t.roundId,this.associationId=atob(this.associationId),this.url="/api/competition/"+this.associationId+"/college-wise-submissions",this.isSubmissionStats=!0):(this.type="reg",this.url="/api/competition/"+this.opportunityId+"/college-wise-registrations"),this.getRegStatsCounts(),console.log("url ",this.url)}),this.titleService.setTitle("View Registration Stats")}get statsDataForChart(){return this.statsCounts?{totalOrganisations:this.statsCounts.totalOrganisations||0,totalPlayers:this.statsCounts.totalPlayers||0,totalTeams:this.statsCounts.totalTeams||0,incompleteRegistrations:this.statsCounts.incompleteRegistrations||0,regnMonthlyCounts:this.statsCounts.regnMonthlyCounts||[],registrations:{stats:this.statsCounts.registrations?.stats||{}}}:null}changeSelectedFilter(t){this.selectedFilter.set(t)}getSelectedFilterValue(){return this.selectedFilter().name==="Domain"?this.tempDomainFilter||"All":this.selectedFilter().name==="Round"?this.tempRoundFilter||"All":this.selectedFilter().name==="User Type"?this.tempUserTypeFilter||"All":this.tempStatusFilter||"All"}setSelectedFilterValue(t){this.selectedFilter().name==="Domain"?this.tempDomainFilter=t:this.selectedFilter().name==="Round"?this.tempRoundFilter=t:this.selectedFilter().name==="User Type"?this.tempUserTypeFilter=t:this.tempStatusFilter=t}applyFilters(){if(this.currentDomainFilter=this.tempDomainFilter,this.currentRoundFilter=this.tempRoundFilter,this.currentStatusFilter=this.tempStatusFilter,this.currentUserTypeFilter=this.tempUserTypeFilter,this.currentDomainFilter!=="All"){let t=this.currentDomainFilter;t==="Management"&&(t="mba"),t==="Arts & Science"&&(t="art_and_science"),t==="Medicine"&&(t="medicine"),t==="Law"&&(t="law"),t==="Not Specified"&&(t="not_specified"),this.filterStats(t.toLowerCase()),this.updatePanelFilterApplied("Domain",!0)}else this.filterStats(),this.updatePanelFilterApplied("Domain",!1);this.currentRoundFilter!=="All"?(this.opportunity.rounds.forEach(t=>{t.details[0].title===this.currentRoundFilter&&this.filterRound(t.id)}),this.updatePanelFilterApplied("Round",!0)):(this.filterRound(0),this.updatePanelFilterApplied("Round",!1)),this.currentStatusFilter!=="All"?(this.filterRegnStatus(this.currentStatusFilter.toLowerCase()),this.updatePanelFilterApplied("Status",!0)):(this.filterRegnStatus("all"),this.updatePanelFilterApplied("Status",!1)),this.currentUserTypeFilter!=="All"?this.updatePanelFilterApplied("User Type",!0):this.updatePanelFilterApplied("User Type",!1),this.filterModalOpen=!1}updatePanelFilterApplied(t,e){let n=this.panelFilter(),s=n.findIndex(g=>g.name===t);s!==-1&&(n[s].filterApplied=e?"true":"",this.panelFilter.set([...n]))}clearAllFilter(){this.currentDomainFilter="All",this.currentRoundFilter="All",this.currentStatusFilter="All",this.currentUserTypeFilter="All",this.tempDomainFilter="All",this.tempRoundFilter="All",this.tempStatusFilter="All",this.tempUserTypeFilter="All",this.activeTab="all",this.associationId=0,this.regnStatus="all",this.queryString="",this.filters={};let t=this.panelFilter();
1t.forEach(e=>{e.filterApplied=""}),this.panelFilter.set([...t]),this.queryParams=[],this.selectedFilter.set(this.panelFilter()[0]),this.reinitCount++,this.filterModalOpen=!1,this.filterStats()}openFilterModal(){this.tempDomainFilter=this.currentDomainFilter||"All",this.tempRoundFilter=this.currentRoundFilter||"All",this.tempStatusFilter=this.currentStatusFilter||"All",this.filterModalOpen=!0}onFilterChange(t){console.log("Filter change event:",t);let e={associationId:this.associationId||0,domain:"all",regn_status:"all",user_type:null};if(t.passingYear!==null&&(e.passing_out_year=t.passingYear),t.dateRange&&t.dateRangeName!=="All time"){let n=this.formatDate(t.dateRange.startDate),s=this.formatDate(t.dateRange.endDate);e.regn_date_range=`${n},${s}`}this.getRegStatsCountsWithFilters(e)}formatDate(t){let e=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),s=String(t.getDate()).padStart(2,"0");return`${e}-${n}-${s}`}getRegStatsCountsWithFilters(t={}){let e=O({associationId:this.associationId||0,domain:"all",regn_status:"all",user_type:null},t),n=Object.keys(e).map(g=>`${g}=${encodeURIComponent(e[g])}`).join("&"),s=`/api/competition/${this.opportunityId}/registrations-count-stats?${n}`;console.log("Fetching stats with URL:",s),this.isLoadingStats.set(!0),this.http.get(s).subscribe(g=>{this.statsCounts=g?.data,console.log("Updated stats counts:",this.statsCounts),console.log("Stats data for charts:",this.statsDataForChart),this.isLoadingStats.set(!1)},g=>{console.error("Error fetching stats:",g),this.toastService.toast("Failed to fetch statistics",3e3,"red"),this.isLoadingStats.set(!1)})}getRegStatsCounts(){this.getRegStatsCountsWithFilters()}getCurrentUser(){this.store.select(Qt).subscribe(t=>{if(t&&this.localStorageService.getEncItem("currentUser")){let n=this.localStorageService.getEncItem("currentUser");this.userLoggedIn=!0,n.userRole&&n.userRole.length>0&&n.userRole.forEach(s=>{s.name=="admin"&&(this.adminUser=!0)})}})}getOpportunity(t){this.opportunityService.getOpportunity(t).subscribe(e=>{this.opportunity=e.data.competition,console.log("Rec. Opp:",this.opportunity),this.initializePanelFilter()})}initializePanelFilter(){let t=this.opportunity?.rounds?.map(e=>e.details[0].title)||[];this.panelFilter.set([{name:"Domain",filterApplied:"",filters:["All","Management","Engineering","Arts & Science","Medicine","Law","Not Specified","Others"]},{name:"User Type",filterApplied:"",filters:["All","College Students","School Students","Freshers","Working Professionals","Not Specified","Others"]},{name:"Round",filterApplied:"",filters:["All",...t]},{name:"Status",filterApplied:"",filters:["All","Complete","Incomplete",this.opportunity?.visibility=="both"?"Draft":""]}]),this.selectedFilter.set(this.panelFilter()[0])}getRegistrationStats(t){console.log(t),t.status?this.associationId?this.opportunityService.getCollegeWiseSubmissions(this.associationId,this.opportunityId,t.type,t.order).subscribe(e=>{this.getAllValue(e)}):this.opportunityService.getCollegeWiseRegistration(this.opportunity.id,t.type,t.order).subscribe(e=>{this.getAllValue(e)}):this.associationId?this.opportunityService.getCollegeWiseSubmissions(this.associationId,this.opportunityId).subscribe(e=>{this.getAllValue(e)}):this.opportunityService.getCollegeWiseRegistration(this.opportunity.id).subscribe(e=>{this.getAllValue(e)})}filterStats(t){let e=this.currentDomainFilter!=="All"?this.currentDomainFilter.toLowerCase():null,n=this.currentStatusFilter!=="All"?this.currentStatusFilter.toLowerCase():null,s=this.getMappedDomainData(e);e=s.domain;let g=s.userTypeId??this.getUserTypeIdFromFilter(this.currentUserTypeFilter),x=this.getRoundIdFromFilter(this.currentRoundFilter);this.activeTab=e||"all",this.queryString=this.buildFilterQueryString(e,g,x,n),this.opportunityService.getCollegeWiseRegistration(this.opportunity.id,null,null,e,g,x,n).subscribe(w=>{this.getAllValue(w)})}getMappedDomainData(t){if(!t)return{domain:null,userTypeId:null};let e={management:"mba","arts & science":"art_and_science","not specified":"not_specified",medicine:"medicine",law:"law",others:"others"};if(e[t])return{domain:e[t],userTypeId:null};let n={school:4,corporates:2,freshers:5};return n[t]?{domain:null,userTypeId:n[t]}:{domain:t,userTypeId:null}}getUserTypeIdFromFilter(t){if(!t||t==="All")return null;let e=t.toLowerCase();return e.includes("college")?1:e.includes("working")||e.includes("corporate")?2:e.includes("school")?4:e.includes("fresher")?5:e.includes("not specified")?"not_specified":e.includes("others")?"others":null}getRoundIdFromFilter(t){if(!t||t==="All")return null;let e=this.opportunity?.rounds?.find(n=>n.details[0].title===t);return e?e.id:null}buildFilterQueryString(t,e,n,s){let g=[];return t&&g.push(`domain=${t}`),e&&g.push(`user_type=${e}`),n&&g.push(`associationId=${n}`),s&&g.push(`regn_status=${s}`),g.join("&")}setSort(t){switch(t!==this.organisationSort&&(this.organisationSort.status=!1,this.organisationSort.order="none",this.organisationSort.icon="unfold_more"),t!==this.registrationCountSort&&(this.registrationCountSort.status=!1,this.registrationCountSort.order="none",this.registrationCountSort.icon="unfold_more"),t.order){case"none":t.order="asc",t.status=!0,t.icon="expand_less";break;case"asc":t.order="desc",t.status=!0,t.icon="expand_more";break;
1case"desc":t.order="none",t.status=!1,t.icon="unfold_more";break}this.getRegistrationStats(t)}switchTo(t){this.currentTab=="stats"&&this.getRegistrationStats(this.registrationCountSort)}PlayersCount(t){return this.stat={total:0,mba:0,eng:0,others:0,working_professionals:0,art_and_science:0,school:0},new Promise(e=>{t.forEach(n=>{this.stat.total+=n.total_t_count,n.user_type==2?this.stat.working_professionals+=n.total_t_count:n.course_pursuing==1?this.stat.mba+=n.total_t_count:n.course_pursuing==2?this.stat.eng+=n.total_t_count:n.course_pursuing==3?this.stat.art_and_science+=n.total_t_count:n.user_type==4?this.stat.school+=n.total_t_count:this.stat.others+=n.total_t_count}),e(this.stat)})}copyPublicUrl(){let e=window.location.hostname+"/"+this.opportunity.public_url;this.clipboardService.copyFromContent(e),this.toastService.toast("URL Copied Successfully",1e3,"green")}getAllValue(t){this.registrationStats=t?.data?.data,this.totalRegistration=t?.totalPlayers,this.totalTeams=t?.totalTeams,this.availableYears.length===0&&(t?.passing_years?this.availableYears=t.passing_years:this.availableYears=[2024,2025,2026,2027,2028,2029]),this.from=t.data.from,this.calculateTotalTeamAndPlayers()}statsChange(t){this.currentPage=t.currentPage,this.from=t.from}changePerPageResults(t){let e=t.value;this.perPageResults=e,this.reinitCount++,console.log(e)}downloadStats(){this.opportunityService.downloadOpportunityRegistrations(this.opportunity.id).subscribe(t=>{console.log(t),this.downloadFile(t)})}downloadFile(t){let e=new Blob([t],{type:"text/csv"}),n=window.URL.createObjectURL(e);window.open(n,"_blank")}sortBy(t,e){this.sortOrder=!this.sortOrder,this.currentSort!=t&&(this.sortOrder=!0),this.currentSort=t,this.queryString="sort_by="+t+"&sort_order="+this.sortOrder}filterRegnStatus(t){this.regnStatus=t;let e=this.queryParams.find(n=>n.property=="regn_status");e?e.value=this.regnStatus:this.queryParams.push({property:"regn_status",value:this.regnStatus}),this.reinitCount++}filterRound(t){this.associationId=t;let e=this.queryParams.find(n=>n.property=="associationId");e?e.value=this.associationId>0?this.associationId:0:this.queryParams.push({property:"associationId",value:this.associationId>0?this.associationId:0}),this.reinitCount++}calculateTotalTeamAndPlayers(){this.registrationStats&&(this.registrationStats=this.registrationStats.map(t=>{let e=0,n=0;return this.availableYears.forEach(s=>{e+=t[`passing_out_year${s}_p_count`]||0,n+=t[`passing_out_year${s}_t_count`]||0}),e+=t.p_not_specified||0,n+=t.t_not_specified||0,t.total_players=e,t.total_teams=n,t}))}static{this.\u0275fac=function(e){return new(e||i)(v(Bt),v(Yt),v(Gt),v(Nt),v(ht),v(Wt),v(ee),v(jt),v(Vt))}}static{this.\u0275cmp=D({type:i,selectors:[["app-opportunity-stat"]],features:[zt([ht])],decls:3,vars:3,consts:[["paginator",""],[3,"type",4,"ngIf"],[4,"ngIf"],[3,"size","position","mobileSlide","fontColor","closeModal",4,"ngIf"],[3,"type"],["class","pdng",4,"ngIf"],[1,"pdng"],[1,"un-container"],[1,"title-header"],[1,"opp-logo"],[1,"logo-img",3,"routerLink"],[3,"url","fallBackUrl","type","classString","alt"],[1,"opp-title-details"],[3,"routerLink"],[3,"icon","size"],[1,"opp-actions"],["unButton","","unButtonFlat","",3,"click"],[3,"filterChange","stats","isLoading","opportunityType","participationType","passingYears","isGenderEnabled"],[1,"registrations-data-container"],[1,"registration-grid-header"],[1,"grid-actions"],[1,"search-container"],["rounded","",3,"ngModelChange","iconRightEvent","type","fontSize","size","ngModel","placeholder","iconLeft","iconRight"],["unButton","","unButtonCircle","","unButtonBorder","",3,"click"],[1,"align-center","gap6"],[1,"filter-count"],[1,"mt-20"],[3,"responseAllData","statsChange","perPageResult","resultUrl","returnFieldName","filters","refreshOnChanges","reinitCount","queryString","searchTerm","directPaging","currentPage","queryParams","updateCurrentPageOnPerPageChange","scrollTo"],[1,"d2c_table"],[1,"table-wrapper","desktop-table"],[1,"fixed-columns"],[1,"center-align",2,"width","60px"],[1,"center-align",2,"width","80px"],[1,"align-center","gap6",2,"width","300px"],["asBtn","",3,"click","icon","size"],[4,"ngFor","ngForOf"],[1,"scrollable-columns"],[1,"scroll-sub-heading"],["class","center-align","style","min-width: 100px; padding-top: 35px;",4,"ngFor","ngForOf"],[1,"center-align",2,"min-width","120px","padding-top","35px"],[1,"fixed-right-columns"],[1,"center-align",2,"width","100px"],[1,"j-center",2,"flex-wrap","wrap"],[1,"mobile-table"],[1,"table-scroll-container"],[1,"center-align",2,"min-width","40px"],[1,"center-align",2,"min-width","60px"],[2,"min-width","180px"],["class","center-align","style","min-width: 90px",4,"ngFor","ngForOf"],[1,"center-align",2,"min-width","110px"],[1,"center-align","players_bg",2,"min-width","80px"],[1,"center-align",2,"min-width","80px"],[1,"transform-capitalize","f-weight-600"],[1,"center-align"],[1,"t-data"],[1,"org-name-details","align-center"],[1,"center-align",2,"min-width","100px","padding-top","35px"],["class","center-align",4,"ngFor","ngForOf"],["class","sc-t-data",4,"ngIf"],[1,"sc-t-data"],[1,"center-align",2,"min-width","90px"],["class","d-block mb-1",4,"ngFor","ngForOf"],[1,"center-align","grey","lighten-3"],[1,"d-block","mb-1"],[3,"closeModal","size","position","mobileSlide","fontColor"],[3,"withIcon"],[1,"close","material-icons",3,"click"],[1,"filter-container"],[1,"left-sidebar"],[1,"filter-card",3,"active-card"],[1,"right-section"],[1,"filter-header"],[1,"filter-area"],["type","default","iconPosition","","radioStyle","''","alignForMobile","top",1,"radio-grid",3,"ngModelChange","size","ngModel"],["unButton","","unButtonFlat","",1,"clear-button",3,"click"],[1,"red-700-text"],["unButton","","unButtonIconRight","","unButtonCircle","",3,"click"],[3,"icon","size","color"],[1,"filter-card",3,"click"],[1,"filter-count","ml-auto"],["type","",3,"value","checked"]],template:function(e,n){e&1&&m(0,en,1,1,"app-loaders",1)(1,In,2,1,"ng-container",2)(2,An,26,12,"un-modal",3),e&2&&(c("ngIf",!n.opportunity||n.isLoadingStats()===null),a(),c("ngIf",n.opportunity||n.isLoadingStats()===!1),a(),c("ngIf",n.filterModalOpen))},dependencies:[E,$,k,Ut,$t,Ce,fe,se,re,ae,oe,he,ce,Kt,Ht,Zt,Se,A,R,j,U,te,Xt,ct,at,rt,st,lt,me,de,ge,Jt,ut,pe,ue,_e,pt],styles:['.opp-logo[_ngcontent-%COMP%]{z-index:9;height:inherit;width:inherit;display:flex;align-items:center;justify-content:center;overflow:hidden}.opp-logo[_ngcontent-%COMP%]   d2c-img[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;align-items:center;justify-content:center}.opp-logo.absolute[_ngcontent-%COMP%]   .blured-logo[_ngcontent-%COMP%]{display:none}.opp-logo.absolute[_ngcontent-%COMP%]   img.logo-attach[_ngcontent-%COMP%]{max-width:130px!important;max-height:72px!important;box-shadow:3px 4px 18px #00000073;border-radius:4px!important}.banner-wrapper[_ngcontent-%COMP%]{position:relative;overflow:hidden;min-height:30vh;background:#f3f3f3}@media (max-width: 767px){.banner-wrapper[_ngcontent-%COMP%]{min-height:0px}}.banner-wrapper[_ngcontent-%COMP%]   .bg-blur-image[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;-webkit-filter:blur(10px);filter:blur(10px)}.title_sect[_ngcontent-%COMP%]{padding:30px 0}.title_sect[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]{align-items:center}.title_sect[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:120px;height:120px;
1display:flex;border-radius:8px;align-items:center;justify-content:center;box-shadow:0 6px 65px #27497d17}.title_sect[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]     img{max-width:90%;max-height:90%}.title_sect[_ngcontent-%COMP%]   .cptn[_ngcontent-%COMP%]{width:calc(100% - 120px);padding-left:20px}.title_sect[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:500;color:var(--primary-700);font-size:22px;margin-bottom:0;line-height:27px;transition:.3s}.title_sect[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.title_sect[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]:hover{color:var(--blue-700)}.title_sect[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--primary-700);font-size:16px;font-weight:500;transition:.3s;display:inline-block;margin-top:12px}.title_sect[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{color:var(--blue-700)}@media (max-width: 767px){.title_sect[_ngcontent-%COMP%]{padding:20px 0}.title_sect[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:90px;height:90px;box-shadow:0 4px 48px #27497d26}.title_sect[_ngcontent-%COMP%]   .cptn[_ngcontent-%COMP%]{width:calc(100% - 90px);padding-left:15px}.title_sect[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:14px;line-height:19px}.title_sect[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px;margin-top:5px}}.pdng[_ngcontent-%COMP%]{background:#f6f7f8;padding:10px 0}@media (max-width: 767px){.pdng[_ngcontent-%COMP%]{padding:30px 0}}.hdr[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:50px}.hdr[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;margin-bottom:0}.hdr[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:5px;font-weight:500}@media (max-width: 767px){.hdr[_ngcontent-%COMP%]{flex-wrap:wrap;margin-bottom:30px}.hdr[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:100%;margin-bottom:15px}}.title-header[_ngcontent-%COMP%]{padding:20px;border-radius:16px;background:var(--grey-00);width:100%;margin-bottom:6px;display:flex;align-items:flex-start;gap:16px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]{border-radius:22px;padding:11px;border:1px solid var(--stroke-primary);max-width:100px;max-height:100px;flex-shrink:0}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{width:75px;height:75px;border-radius:12px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]{flex:1;min-width:0}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:6px;margin-top:0;font-weight:600;font-size:28px;color:var(--text-primary);word-break:break-word}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--text-primary);text-decoration:none}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:var(--blue-700)}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--text-secondary);font-weight:400;font-size:14px;display:block;word-break:break-word}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{color:var(--blue-700);cursor:pointer}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:0;font-weight:400;font-size:12px;color:var(--text-primary);display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{white-space:nowrap}@media (max-width: 1024px){.title-header[_ngcontent-%COMP%]{padding:16px;gap:12px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]{max-width:90px;max-height:90px;padding:9px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{width:70px;height:70px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px;margin-bottom:4px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:13px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:11px;margin-top:8px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]{gap:8px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:8px 12px!important;font-size:13px!important}}@media (max-width: 767px){.title-header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;padding:14px;gap:12px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]{align-self:flex-start;max-width:80px;max-height:80px;padding:8px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{width:65px;height:65px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]{width:100%}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;line-height:1.3}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:11px;margin-top:8px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]{width:100%;margin-left:0;gap:10px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex:1;padding:10px 8px!important;font-size:12px!important;min-height:36px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   un-icon[_ngcontent-%COMP%]{font-size:18px!important}}@media (max-width: 767px){.title-header[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:12px;gap:10px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]{align-self:center;max-width:70px;max-height:70px;padding:7px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{width:55px;height:55px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]{width:100%;text-align:center}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:16px;line-height:1.25;word-break:break-word}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:11px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:10px;margin-top:6px;justify-content:center}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]{width:100%;margin-left:0;gap:8px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;padding:10px 8px!important;font-size:11px!important;min-height:36px;display:flex;align-items:center;justify-content:center;gap:6px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   un-icon[_ngcontent-%COMP%]{font-size:16px!important}}@media (max-width: 375px){.title-header[_ngcontent-%COMP%]{padding:10px;gap:8px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]{max-width:60px;max-height:60px;padding:6px}.title-header[_ngcontent-%COMP%]   .opp-logo[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{width:48px;height:48px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:14px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:10px}.title-header[_ngcontent-%COMP%]   .opp-title-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:9px}.title-header[_ngcontent-%COMP%]   .opp-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:8px 6px!important;font-size:10px!important}}.filter-area[_ngcontent-%COMP%]{padding:1rem}.radio-grid[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (max-width: 640px){.radio-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.registrations-data-container[_ngcontent-%COMP%]{padding:20px;background:var(--grey-00);border-radius:16px}.registrations-data-container[_ngcontent-%COMP%]   .registration-grid-header[_ngcontent-%COMP%]{margin-bottom:20px}.registrations-data-container[_ngcontent-%COMP%]   .registration-grid-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:600;font-size:24px;color:var(--text-primary);margin-bottom:20px}.registrations-data-container[_ngcontent-%COMP%]   .registration-grid-header[_ngcontent-%COMP%]   .grid-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.registrations-data-container[_ngcontent-%COMP%]   .registration-grid-header[_ngcontent-%COMP%]   .grid-actions[_ngcontent-%COMP%]   .search-container[_ngcontent-%COMP%]{max-width:260px}.filter-count[_ngcontent-%COMP%]{width:20px;height:20px;
1display:flex;align-items:center;justify-content:center;border-radius:25px;background:var(--blue-700);color:var(--grey-00)}.drop-down[_ngcontent-%COMP%]{margin-left:15px}.drop-down[_ngcontent-%COMP%]     mat-select{height:40px;min-width:150px;border-radius:4px;border:1.5px solid #d8d8d8;overflow:hidden;background:var(--grey-00)}.drop-down[_ngcontent-%COMP%]     .mat-mdc-select-trigger{padding:0 10px;height:40px!important;border:none}.heading-div[_ngcontent-%COMP%]{margin-bottom:30px;display:flex;align-items:center;justify-content:center;border-radius:50px;box-shadow:2px 2px 5px #0000001a;background:var(--grey-00)}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#27497dd9;padding:16px 20px;font-size:14px;font-weight:500;line-height:normal;cursor:pointer;transition:.3s;position:relative}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:10px solid var(--blue-700);border-left:10px solid transparent;border-right:10px solid transparent;left:0;bottom:-10px;z-index:9;right:0;margin:auto;width:11px;display:none}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover{color:var(--blue-700)}.heading-div[_ngcontent-%COMP%]   div.active[_ngcontent-%COMP%]{background:var(--blue-700);color:var(--grey-00)}.heading-div[_ngcontent-%COMP%]   div.active[_ngcontent-%COMP%]:after{display:block}@media (max-width: 767px){.heading-div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch;border-radius:0;margin:0 -15px 20px;justify-content:flex-start}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:13px 10px;font-size:13px}.heading-div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:after{display:none!important}}.truncate-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px;display:block}.org-name-details[_ngcontent-%COMP%]{max-width:300px;height:60px;white-space:pre-wrap}.org-name-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:6px;color:var(--text-primary);font-weight:500;font-size:14px;overflow:hidden;text-overflow:ellipsis;display:block}.org-name-details[_ngcontent-%COMP%]   .org-tag[_ngcontent-%COMP%]{font-weight:400;font-size:12px;color:var(--text-secondary);padding:6px;border:1px solid var(--stroke-primary);border-radius:25px;display:inline-block}.t-data[_ngcontent-%COMP%]{width:100%;font-weight:400;font-size:14px;color:var(--text-primary);height:60px;display:flex;align-items:center;justify-content:center}.sc-t-data[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:var(--text-primary);margin-bottom:0}.sc-t-data[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:nth-child(2){color:var(--text-secondary)}.scroll-sub-heading[_ngcontent-%COMP%]{position:absolute;top:8px;z-index:100;font-size:12px;color:var(--text-secondary);margin-left:18px}.d2c_table[_ngcontent-%COMP%]   .grey.lighten-3[_ngcontent-%COMP%]{background-color:#1077d612!important}.d2c_table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background:var(--blue-50)}.d2c_table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background:var(--grey-00);font-weight:400!important}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]{display:flex;position:relative;border:1px solid var(--stroke-primary);border-radius:16px;overflow:hidden;background:var(--grey-00)}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]{display:none}.d2c_table[_ngcontent-%COMP%]   .fixed-columns[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .fixed-right-columns[_ngcontent-%COMP%]{flex-shrink:0;background:var(--grey-00);z-index:2}.d2c_table[_ngcontent-%COMP%]   .fixed-columns[_ngcontent-%COMP%]{box-shadow:2px 0 4px #0000001a}.d2c_table[_ngcontent-%COMP%]   .fixed-right-columns[_ngcontent-%COMP%]{box-shadow:-2px 0 4px #0000001a}.d2c_table[_ngcontent-%COMP%]   .scrollable-columns[_ngcontent-%COMP%]{flex:1;overflow-x:auto;overflow-y:hidden;min-width:0}.d2c_table[_ngcontent-%COMP%]   .scrollable-columns[_ngcontent-%COMP%]::-webkit-scrollbar{height:8px}.d2c_table[_ngcontent-%COMP%]   .scrollable-columns[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.d2c_table[_ngcontent-%COMP%]   .scrollable-columns[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.d2c_table[_ngcontent-%COMP%]   .scrollable-columns[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;border:none}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 8px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--stroke-primary)}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:var(--blue-50);color:var(--text-primary);font-weight:600;position:sticky;top:0;z-index:1;height:66px;vertical-align:middle}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:var(--text-primary)}.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child   td[_ngcontent-%COMP%]{border-bottom:none}.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]{overflow-x:auto;border:1px solid var(--stroke-primary);border-radius:16px;background:var(--grey-00)}.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]::-webkit-scrollbar{height:8px}.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;border:none}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:10px 8px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--stroke-primary)}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:var(--blue-50);color:var(--text-primary);font-weight:600;position:sticky;top:0;z-index:1}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:var(--text-primary)}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child   td[_ngcontent-%COMP%]{border-bottom:none}.d2c_table[_ngcontent-%COMP%]   .center-align[_ngcontent-%COMP%]{text-align:center!important}@media (max-width: 1024px){.d2c_table[_ngcontent-%COMP%]   .desktop-table[_ngcontent-%COMP%]{display:none}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]{display:block}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:8px 6px;font-size:13px}}@media (max-width: 767px){.d2c_table[_ngcontent-%COMP%]   .table-scroll-container[_ngcontent-%COMP%]{border-radius:12px}.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:8px 5px;font-size:12px}}@media (max-width: 480px){.d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .d2c_table[_ngcontent-%COMP%]   .mobile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:6px 4px;font-size:11px}}
1.sort-icon[_ngcontent-%COMP%]{font-size:14px;cursor:pointer;color:var(--grey-00);margin-left:5px}.sort-icon[_ngcontent-%COMP%]:before{filter:brightness(0) invert(1)}@media (max-width: 767px){.sort-icon[_ngcontent-%COMP%]{position:static;margin:0 5px 0 0;color:var(--primary-700)}.sort-icon[_ngcontent-%COMP%]:before{filter:brightness(1) invert(0)}}.search-filters[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.search-filters[_ngcontent-%COMP%]   .round-drop[_ngcontent-%COMP%]{width:250px}.search-filters.round[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:calc(100% - 480px)}.search-filters[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background:var(--grey-00);padding:0 10px}.search-filters[_ngcontent-%COMP%]   .mat-mdc-select-trigger[_ngcontent-%COMP%]{background:var(--grey-00)}.search-filters[_ngcontent-%COMP%]   .input_fields_bdr[_ngcontent-%COMP%]{padding:0 10px}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.filter-container[_ngcontent-%COMP%]{display:flex;gap:20px;width:100%;height:350px}.filter-container[_ngcontent-%COMP%]   .left-sidebar[_ngcontent-%COMP%]{padding-right:15px;border-right:1px solid var(--stroke-primary)}.filter-container[_ngcontent-%COMP%]   .left-sidebar[_ngcontent-%COMP%]   .filter-card[_ngcontent-%COMP%]{width:170px;height:48px;display:flex;align-items:center;padding:10px;border-radius:8px;margin-bottom:10px}.filter-container[_ngcontent-%COMP%]   .left-sidebar[_ngcontent-%COMP%]   .filter-card[_ngcontent-%COMP%]:hover{background:var(--blue-100);cursor:pointer}.filter-container[_ngcontent-%COMP%]   .left-sidebar[_ngcontent-%COMP%]   .filter-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px;margin-bottom:0;color:var(--text-primary)}.filter-container[_ngcontent-%COMP%]   .left-sidebar[_ngcontent-%COMP%]   .active-card[_ngcontent-%COMP%]{background:var(--blue-100)}.filter-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]{width:100%}.filter-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--stroke-primary)}.filter-container[_ngcontent-%COMP%]   .right-section[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-weight:500;font-size:16px;margin-bottom:0;color:var(--text-primary)}.filter-area[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;gap:20px}.clear-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:6px}'],data:{animation:[ne,ye,xe,Me,qt]}})}}return i})();export{Oo as OpportunityStatComponent};

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.