PageSourceSearch

https://app.waitwhile.com/chunk-BHJKZHME.js

js waitwhile.com collected 2026-09-24 08:48:34 UTC 40,781 bytes, 9 lines download raw bytes

1import{Dc as j,Hc as Y,cd as We,db as Ie,dd as be,fd as Ae,gd as Me,pa as De,re as vt,se as Tt,ta as $e,te as Le,ue as Oe,v as xe,we as Fe,ye as Be}from"./chunk-6QDVQ5WV.js";import{$a as V,Ba as st,Bn as _e,Bp as Ce,Bu as Ee,Ca as x,Cc as ee,Co as J,D as W,Db as Kt,Do as Ct,Ed as ne,Em as me,F as kt,Fl as de,H as Vt,Ha as w,Hc as ie,Ia as I,Ib as r,Ja as _,Jb as p,K as tt,Kb as b,Kd as B,Kn as ue,Lf as le,Ma as Ut,Mb as Zt,N as G,Na as Ht,O as Pt,Oa as c,On as he,Pa as d,Pd as wt,Q as Rt,Qa as s,Ra as E,Sc as ae,Sn as fe,V as zt,Va as q,Vt as ve,W as rt,Wa as K,Wb as O,We as re,Wn as ht,Xa as M,Xn as ft,Xp as Se,Yb as Qt,Ym as we,Z as f,Za as Xt,Zt as X,_a as jt,_b as pt,ac as dt,bb as Z,c as it,cb as Q,cg as Dt,cu as Te,du as ye,eo as gt,ev as Re,fb as m,gl as ut,i as y,kq as St,l as h,la as Gt,m as k,me as xt,nd as mt,ob as L,pb as ct,pm as et,qb as Yt,qd as oe,sa as o,sg as se,tb as T,tc as Jt,tg as _t,ub as D,ug as ce,vb as at,vg as pe,xb as qt,ya as $,yc as te,yp as ge,za as lt}from"./chunk-6VDOBKBI.js";import"./chunk-UNNH6OJB.js";import{a as P,b as z}from"./chunk-HE2D45TV.js";var Ne={locationData:!1,compareLocationData:!1,resourcesData:!1,servicesData:!1,usersData:!1},F=(()=>{class e{updateLoadingState(t,i){return n=>n.pipe(Rt(()=>this.setLoadingState(t,i)),kt(()=>this.setLoadingState(t,!1)))}constructor(){this.analyticsRx=f(ye),this.datePipe=f(Qt),this.locationRx=f(X),this.dateRangeSub=new it(null),this.dateRange$=this.dateRangeSub.asObservable(),this.compareDateRangeSub=new it(null),this.compareDateRange$=this.compareDateRangeSub.asObservable(),this.loadingStateSub=new it(Ne),this.loadingState$=this.loadingStateSub.asObservable(),this.loading$=this.loadingState$.pipe(h(t=>Object.values(z(P({},t),{compareLocationData:!1})).some(i=>i===!0))),this.compareLoading$=this.loadingState$.pipe(h(t=>t.compareLocationData)),this.lastUpdatedSub=new it(null),this.lastUpdated$=this.lastUpdatedSub.asObservable(),this.hoursOfDay=[...Array(24).keys()],this.setLoadingState=(t,i)=>{this.loadingStateSub.next(z(P({},this.loadingStateSub.value),{[t]:i}))},this.reportingGroupKeyAndValue$=this.locationRx.locationId$.pipe(h(t=>({key:"locationId",value:[t]}))),this.locationData$=k([this.dateRange$,this.reportingGroupKeyAndValue$]).pipe(this.updateLoadingState("locationData",!0),G(([t,i])=>J(t)?this.analyticsRx.getRealtimeReportData(t.start,t.end,i.key,i.value,"location"):y(null)),this.updateLoadingState("locationData",!1),tt({refCount:!0,bufferSize:1}),Rt(t=>this.lastUpdatedSub.next(this.datePipe.transform(t?.updated??new Date(2e3,0,1,0,0),"shortTime")))),this.compareLocationData$=k([this.compareDateRange$,this.reportingGroupKeyAndValue$]).pipe(this.updateLoadingState("compareLocationData",!0),G(([t,i])=>J(t)?this.analyticsRx.getRealtimeReportData(t.start,t.end,i.key,i.value,"location"):y(null)),this.updateLoadingState("compareLocationData",!1),tt({refCount:!0,bufferSize:1})),this.resourcesData$=k([this.dateRange$,this.reportingGroupKeyAndValue$]).pipe(this.updateLoadingState("resourcesData",!0),G(([t,i])=>J(t)?this.analyticsRx.getRealtimeReportData(t.start,t.end,i.key,i.value,"resource"):y(null)),this.updateLoadingState("resourcesData",!1),tt({refCount:!0,bufferSize:1})),this.servicesData$=k([this.dateRange$,this.reportingGroupKeyAndValue$]).pipe(this.updateLoadingState("servicesData",!0),G(([t,i])=>J(t)?this.analyticsRx.getRealtimeReportData(t.start,t.end,i.key,i.value,"service"):y(null)),this.updateLoadingState("servicesData",!1),tt({refCount:!0,bufferSize:1})),this.usersData$=k([this.dateRange$,this.reportingGroupKeyAndValue$]).pipe(this.updateLoadingState("usersData",!0),G(([t,i])=>J(t)?this.analyticsRx.getRealtimeReportData(t.start,t.end,i.key,i.value,"updatedBy"):y(null)),this.updateLoadingState("usersData",!1),tt({refCount:!0,bufferSize:1})),this.subscribeToLocationChanges()}setDateRange(t){this.dateRangeSub.next(t),this.compareDateRangeSub.next(this.getCompareDateRange(t))}subscribeToLocationChanges(){this.locationRx.nullableLocationId$.pipe(Vt()).subscribe(([t,i])=>{t!==i&&this.loadingStateSub.next(Ne)})}getCompareDateRange(t){if(J(t)){let i=le(t.end,t.start);return{start:Dt(t.start,i+1),end:Dt(t.end,i+1)}}return null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ge(e,a){e&1&&E(0,"ww-chart",1),e&2&&c("options",a)}var Wt=(()=>{class e{constructor(){this.realtimeService=f(F),this.chartInputs=f(vt),this.title$=y($localize`Visit creator`),this.tooltip$=y($localize`In the Visit creator pie chart, you'll find a breakdown of the visits that were created by staff vs guests`),this.loading$=this.realtimeService.loading$,this.dataMap$=this.realtimeService.locationData$.pipe(h(t=>this.createDataMap(t)),W((t,i)=>B(t,i))),this.chart$=this.dataMap$.pipe(h(t=>this.createChart([t.api,t.guest,t.staff],t.legendItems)))}createDataMap(t){let i=t?.data?.[0],n=(i?.numRegistrationsByAgent?.api??0)+(i?.numRegistrationsByAgent?.guest??0)+(i?.numRegistrationsByAgent?.staff??0)>0;if(!i||!n)return{hasData:!1,legendItems:[],dateRange:"",columns:[],rows:[],pluckCellLabel:null,api:0,guest:0,staff:0};let l=[{key:"name",label:$localize`Type`},{key:"count",label:$localize`Count`}],C=[{color:j(0),key:"api",label:$localize`API`},{color:j(1),key:"guest",label:$localize`Guest`},{color:j(2),key:"staff",label:$localize`Staff`}];return{api:i.numRegistrationsByAgent.api,guest:i.numRegistrationsByAgent.guest,staff:i.numRegistrationsByAgent.staff,hasData:n,legendItems:C,dateRange:`${t.fromDate}-${t.toDate}`,columns:l,rows:[{name:$localize`API`,count:i.numRegistrationsByAgent.api},{name:$localize`Guest`,count:i.numRegistrationsByAgent.guest},{name:$localize`Staff`,count:i.numRegistrationsByAgent.staff}],pluckCellLabel:v=>l.reduce((S,R)=>z(P({},S),{[R.key]:v[R.key]}),{})}}createChart(t,i){let n=wt(t);return this.chartInputs.extend({chart:{parentHeightOffset:0,height:140,animations:{enabled:!0,speed:400,animateGradually:{enabled:!0,delay:400/2}}},responsive:[],colors:i.map(l=>l.color),series:t,labels:i.map(l=>l.label),legend:{show:!1},dataLabels:{enabled:!1},tooltip:{enabled:!0,y:{formatter:l=>`${Math.round(l/n*100)}%`}},plotOptions:{pie:{expandOnClick:!1}}},this.chartInputs.donut)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime-creator"]],hostAttrs:[1,"ww-stats-realtime-creator"],standalone:!1,decls:7,vars:17,consts:[[3,"chartTitle","tooltip","loading","dataMap","isFullscreen","showTable"],["preset","donut",3,"options"]],template:function(i,n){if(i&1&&(d(0,"ww-chart-layout",0),r(1,"async"),r(2,"async"),r(3,"async"),r(4,"async"),w(5,Ge,1,1,"ww-chart",1),r(6,"async"),s()),i&2){let l;c("chartTitle",p(1,7,n.title$))("tooltip",p(2,9,n.tooltip$))("loading",p(3,11,n.loading$))("dataMap",p(4,13,n.dataMap$))("isFullscreen",!1)("showTable",!1),o(5),_((l=p(6,15,n.chart$))?5:-1,l)}},dependencies:[Tt,Y,O],encapsulation:2,changeDetection:0})}}return e})();function He(e,a){e&1&&E(0,"ww-chart",1),e&2&&c("options",a)}var bt=(()=>{class e{constructor(){this.realtimeService=f(F),this.chartInputs=f(vt),this.title$=y($localize`Dropoffs`),this.tooltip$=y($localize`A pie chart showing the breakdown of the number of dropped-off visits.\r\n\r\nDropped-off visits include:\r\n- Cancelled visits.\r\n- No-showed visits.\r\n- Removed visits. (Removed visits represent deleted visits)`),this.loading$=this.realtimeService.loading$,this.dataMap$=this.realtimeService.locationData$.pipe(h(t=>this.createDataMap(t)),W((t,i)=>B(t,i))),this.chart$=this.dataMap$.pipe(h(t=>this.createChart([t.cancelled,t.noShow,t.removed],t.legendItems)))}createDataMap(t){let i=t?.data?.[0],n=(i?.numDropoffByType?.cancelled??0)+(i?.numDropoffByType?.noShow??0)+(i?.numDropoffByType?.removed??0)>0;if(!i||!n)return{hasData:!1,legendItems:[],dateRange:"",columns:[],rows:[],pluckCellLabel:null,cancelled:0,noShow:0,removed:0};let l=[{key:"name",label:$localize`Type`},{key:"count",label:$localize`Count`}],C=[{color:j(3),key:"cancelled",label:$localize`Cancelled`},{color:j(4),key:"no-show",label:$localize`No-shows`},{color:j(5),key:"removed",label:$localize`Removed`}];return{cancelled:i.numDropoffByType.cancelled,noShow:i.numDropoffByType.noShow,removed:i.numDropoffByType.removed,hasData:n,legendItems:C,dateRange:`${t.fromDate}-${t.toDate}`,columns:l,rows:[{name:$localize`Cancelled`,count:i.numDropoffByType.cancelled},{name:$localize`No-shows`,count:i.numDropoffByType.noShow},{name:$localize`Removed`,count:i.numDropoffByType.removed}],pluckCellLabel:v=>l.reduce((S,R)=>z(P({},S),{[R.key]:v[R.key]}),{})}}createChart(t,i){let n=wt(t);return this.chartInputs.extend({chart:{parentHeightOffset:0,height:140,animations:{enabled:!0,speed:400,animateGradually:{enabled:!0,delay:400/2}}},responsive:[],colors:i.map(l=>l.color),series:t,labels:i.map(l=>l.label),legend:{show:!1},dataLabels:{enabled:!1},tooltip:{enabled:!0,y:{formatter:l=>`${Math.round(l/n*100)}%`}},plotOptions:{pie:{expandOnClick:!1}}},this.chartInputs.donut)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime-dropoffs"]
1],hostAttrs:[1,"ww-stats-realtime-dropoffs"],standalone:!1,decls:7,vars:17,consts:[[3,"chartTitle","tooltip","loading","dataMap","isFullscreen","showTable"],["preset","donut",3,"options"]],template:function(i,n){if(i&1&&(d(0,"ww-chart-layout",0),r(1,"async"),r(2,"async"),r(3,"async"),r(4,"async"),w(5,He,1,1,"ww-chart",1),r(6,"async"),s()),i&2){let l;c("chartTitle",p(1,7,n.title$))("tooltip",p(2,9,n.tooltip$))("loading",p(3,11,n.loading$))("dataMap",p(4,13,n.dataMap$))("isFullscreen",!1)("showTable",!1),o(5),_((l=p(6,15,n.chart$))?5:-1,l)}},dependencies:[Tt,Y,O],encapsulation:2,changeDetection:0})}}return e})();function je(e,a){e&1&&(d(0,"ww-metric-summary"),V(1,1),s())}function Ye(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,2),r(2,"number"),s()),e&2){let t=m();o(2),Z(b(2,1,t.currentBookings,"1.0-0")),Q(1)}}function qe(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"number"),s(),w(4,je,2,0,"ww-metric-summary")(5,Ye,3,4,"ww-metric-summary"),K()),e&2){let t=a;o(2),D(b(3,2,t.bookings,"1.0-0")),o(2),_(t.currentBookings<1?4:5)}}function Ke(e,a){e&1&&M(0)}function Ze(e,a){if(e&1&&x(0,Ke,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function Qe(e,a){if(e&1&&(d(0,"ww-section",12)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,qe,6,5,"ng-container"),r(6,"async"),I(7,Ze,1,1,"ng-container"),s()()()),e&2){let t,i=m();o(),c("padding","none"),o(2),c("tooltip",i.tooltipBookings),o(),D(i.titleBookings),o(),_((t=p(6,4,i.dataMap$))?5:7,t)}}function Je(e,a){e&1&&M(0)}function ti(e,a){if(e&1&&x(0,Je,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function ei(e,a){e&1&&(d(0,"ww-metric-summary"),V(1,3),s())}function ii(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,4),r(2,"number"),s()),e&2){let t=m();o(2),Z(b(2,1,t.currentWaitlisted,"1.0-0")),Q(1)}}function ai(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"number"),s(),w(4,ei,2,0,"ww-metric-summary")(5,ii,3,4,"ww-metric-summary"),K()),e&2){let t=a;o(2),D(b(3,2,t.waitlisted,"1.0-0")),o(2),_(t.currentWaitlisted<1?4:5)}}function oi(e,a){e&1&&M(0)}function ni(e,a){if(e&1&&x(0,oi,1,0,"ng-container",20),e&2){m(3);let t=L(15);c("wwOutlet",t)}}function ri(e,a){if(e&1&&(w(0,ai,6,5,"ng-container"),r(1,"async"),I(2,ni,1,1,"ng-container")),e&2){let t,i=m(2);_((t=p(1,1,i.dataMap$))?0:2,t)}}function li(e,a){if(e&1&&(d(0,"ww-section",13)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,ti,1,1,"ng-container"),r(6,"async"),I(7,ri,3,3),s()()()),e&2){let t=m();o(),c("padding","none"),o(2),c("tooltip",t.tooltipWaitlisted),o(),D(t.titleWaitlisted),o(),_(p(6,4,t.loading$)?5:7)}}function si(e,a){e&1&&M(0)}function ci(e,a){if(e&1&&x(0,si,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function pi(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,5),r(2,"number"),s()),e&2){let t=m();o(2),Z(b(2,1,t.serveRate,"1.0-0")),Q(1)}}function di(e,a){e&1&&(d(0,"ww-metric-summary"),V(1,6),s())}function mi(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"number"),s(),w(4,pi,3,4,"ww-metric-summary")(5,di,2,0,"ww-metric-summary"),K()),e&2){let t=a;o(2),D(b(3,2,t.served,"1.0-0")),o(2),_(t.serveRate!==null?4:5)}}function wi(e,a){e&1&&M(0)}function _i(e,a){if(e&1&&x(0,wi,1,0,"ng-container",20),e&2){m(3);let t=L(15);c("wwOutlet",t)}}function ui(e,a){if(e&1&&(w(0,mi,6,5,"ng-container"),r(1,"async"),I(2,_i,1,1,"ng-container")),e&2){let t,i=m(2);_((t=p(1,1,i.dataMap$))?0:2,t)}}function hi(e,a){if(e&1&&(d(0,"ww-section",14)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,ci,1,1,"ng-container"),r(6,"async"),I(7,ui,3,3),s()()()),e&2){let t=m();o(),c("padding","none"),o(2),c("tooltip",t.tooltipServing),o(),D(t.titleServing),o(),_(p(6,4,t.loading$)?5:7)}}function fi(e,a){e&1&&M(0)}function gi(e,a){if(e&1&&x(0,fi,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function Ci(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,7),r(2,"duration"),s()),e&2){let t=m();o(2),Z(b(2,1,t.maxWaitDuration,"medium")),Q(1)}}function Si(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"duration"),s(),w(4,Ci,3,4,"ww-metric-summary"),K()),e&2){let t=a;o(2),D(t.avgWaitDuration!==null?b(3,2,t.avgWaitDuration,"short"):"-"),o(2),_(t.maxWaitDuration!==null?4:-1)}}function vi(e,a){e&1&&M(0)}function Ti(e,a){if(e&1&&x(0,vi,1,0,"ng-container",20),e&2){m(3);let t=L(15);c("wwOutlet",t)}}function yi(e,a){if(e&1&&(w(0,Si,5,5,"ng-container"),r(1,"async"),I(2,Ti,1,1,"ng-container")),e&2){let t,i=m(2);_((t=p(1,1,i.dataMap$))?0:2,t)}}function Ei(e,a){if(e&1&&(d(0,"ww-section",15)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,gi,1,1,"ng-container"),r(6,"async"),I(7,yi,3,3),s()()()),e&2){let t=m();o(),c("padding","none"),o(2),c("tooltip",t.tooltipWaitTime),o(),D(t.titleWaitTime),o(),_(p(6,4,t.loading$)?5:7)}}function Ri(e,a){e&1&&M(0)}function xi(e,a){if(e&1&&x(0,Ri,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function Di(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,8),r(2,"duration"),s()),e&2){let t=m();o(2),Z(b(2,1,t.maxServeDuration,"medium")),Q(1)}}function $i(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"duration"),s(),w(4,Di,3,4,"ww-metric-summary"),K()),e&2){let t=a;o(2),D(t.avgServeDuration!==null?b(3,2,t.avgServeDuration,"short"):"-"),o(2),_(t.maxServeDuration?4:-1)}}function Ii(e,a){e&1&&M(0)}function Wi(e,a){if(e&1&&x(0,Ii,1,0,"ng-container",20),e&2){m(3);let t=L(15);c("wwOutlet",t)}}function bi(e,a){if(e&1&&(w(0,$i,5,5,"ng-container"),r(1,"async"),I(2,Wi,1,1,"ng-container")),e&2){let t,i=m(2);_((t=p(1,1,i.dataMap$))?0:2,t)}}function Ai(e,a){if(e&1&&(d(0,"ww-section",16)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,xi,1,1,"ng-container"),r(6,"async"),I(7,bi,3,3),s()()()),e&2){let t=m();o(),c("padding","none"),o(2),c("tooltip",t.tooltipServeDuration),o(),D(t.titleServeDuration),o(),_(p(6,4,t.loading$)?5:7)}}function Mi(e,a){e&1&&M(0)}function Li(e,a){if(e&1&&x(0,Mi,1,0,"ng-container",20),e&2){m(2);let t=L(15);c("wwOutlet",t)}}function Oi(e,a){if(e&1&&(d(0,"ww-metric-summary"),V(1,9),r(2,"number"),s()),e&2){let t=m();o(2),Z(b(2,1,t.avgLineLength,"1.0-0")),Q(1)}}function Fi(e,a){if(e&1&&(q(0),d(1,"ww-metric-value"),T(2),r(3,"number"),s(),w(4,Oi,3,4,"
1ww-metric-summary"),K()),e&2){let t=a;o(2),D(b(3,2,t.maxLineLength,"1.0-0")),o(2),_(t.avgLineLength>0?4:-1)}}function Bi(e,a){e&1&&M(0)}function Ni(e,a){if(e&1&&x(0,Bi,1,0,"ng-container",20),e&2){m(3);let t=L(15);c("wwOutlet",t)}}function ki(e,a){if(e&1&&(w(0,Fi,5,5,"ng-container"),r(1,"async"),I(2,Ni,1,1,"ng-container")),e&2){let t,i=m(2);_((t=p(1,1,i.dataMap$))?0:2,t)}}function Vi(e,a){if(e&1&&(d(0,"ww-section",17)(1,"ww-section-content",18)(2,"ww-metric")(3,"ww-metric-title",19),T(4),s(),w(5,Li,1,1,"ng-container"),r(6,"async"),I(7,ki,3,3),s()()()),e&2){let t=m();o(),c("padding","none"),o(2),c("tooltip",t.tooltipLineLength),o(),D(t.titleLineLength),o(),_(p(6,4,t.loading$)?5:7)}}function Pi(e,a){e&1&&E(0,"ww-skeleton-placeholder",21)(1,"ww-skeleton-placeholder",21),e&2&&(c("height",30)("width",75),o(),c("height",14)("width",130))}var At=(()=>{class e extends ut{constructor(){super(...arguments),this.realtimeService=f(F),this.locationRx=f(X),this.titleBookings=$localize`Bookings`,this.titleWaitlisted=$localize`Waitlisted`,this.titleServing=$localize`Serving`,this.titleWaitTime=$localize`Wait time`,this.titleServeDuration=$localize`Serve duration`,this.titleLineLength=$localize`Peak line length`,this.tooltipBookings=$localize`Bookings: The number of parties that have scheduled appointments for the dates selected. If they were a booking that later turned into waitlisted, they are counted here (not under Waitlisted parties).\r\n\r\nOngoing bookings: The number of bookings still being served`,this.tooltipWaitlisted=$localize`Waitlisted: The number of parties that were placed on the waitlist for the dates selected. Waitlisted bookings are excluded from this number and instead counted under Bookings.\r\n\r\nWaiting: The number of parties that are currently in the waitlist`,this.tooltipServing=$localize`Serving: The total number of parties that were served in the time frame selected. This include bookings, waitlisted, and directly served parties.\r\n\r\nServe rate: The percentage of visits that were served in the time range selected. While it is not common, this can be greater than 100% if enough of the served visits originally registered outside of the time window selected.`,this.tooltipWaitTime=$localize`Wait time: The average amount of time the parties were in the waitlist before being moved to the serve list.\r\n\r\nLongest wait time: The longest a single party was in the waitlist before being moved to the serve list.`,this.tooltipServeDuration=$localize`Serve duration: The average amount of time the parties were in the serving list before being moved to the completed list.\r\n\r\nLongest serve duration: The longest a single party was in the serving list before being moved to the completed list.\r\n\r\nThese durations exclude auto-completed visits`,this.tooltipLineLength=$localize`Peak line length: The maximum number of parties in the waitlist at any point in the date range selected.\r\n\r\nAvg line length: The average number of parties in the waitlist during the date range selected.`,this.showBookings$=this.locationRx.getCurrentLocation(["isBookingActive"]).pipe(h(({isBookingActive:t})=>t??!1)),this.showWaitlisted$=this.locationRx.getCurrentLocation(["isWaitlistActive"]).pipe(h(({isWaitlistActive:t})=>t??!1)),this.showServing$=k([this.showBookings$,this.showWaitlisted$]).pipe(h(([t,i])=>t||i)),this.dataMap$=this.realtimeService.locationData$.pipe(h(t=>this.createDataMap(t)),W((t,i)=>B(t,i))),this.loading$=this.realtimeService.loading$}createDataMap(t){let i=t?.data?.[0];return i?{bookings:i.totalBookings,currentBookings:i.ongoingBookings,waitlisted:i.totalWaitlist,currentWaitlisted:i.waitingNow,served:i.numServed,serveRate:i.serveRatio>0?i.serveRatio*100:null,avgWaitDuration:i.avgWaitDuration??null,maxWaitDuration:i.maxWaitDuration??null,avgServeDuration:i.avgServeDuration??null,maxServeDuration:i.maxServeDuration??null,maxLineLength:i.maxLineLength,avgLineLength:i.avgLineLength}:{bookings:0,currentBookings:0,waitlisted:0,currentWaitlisted:0,served:0,serveRate:null,avgWaitDuration:null,maxWaitDuration:null,avgServeDuration:null,maxServeDuration:null,maxLineLength:0,avgLineLength:-1}}static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=Gt(e)))(n||e)}})()}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime-overview"]],hostAttrs:[1,"ww-stats-realtime-overview"],standalone:!1,features:[st],decls:16,vars:18,consts:()=>{let t;t=$localize`No ongoing bookings`;let i;i=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: ongoing bookings`;let n;n=$localize`None waiting`;let l;l=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: waiting now`;let C;C=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION:% serve rate`;let v;v=$localize`None served yet`;let S;S=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: longest wait`;let R;R=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: longest serve duration`;let A;return A=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: avg`,[["placeholder",""],t,i,n,l,C,v,S,R,A,["wwBorderColor","mediumGrey",1,"flex","flex-col"],[1,"grid","large:grid-cols-6","small:grid-cols-3","grid-cols-2","gap-6","px-6","py-4","ww-stats-realtime-grid-divider-container"],[1,"ww-stats-realtime-overview-bookings"],[1,"ww-stats-realtime-overview-waitlisted"],[1,"ww-stats-realtime-overview-serving"],[1,"ww-stats-realtime-overview-wait-time"],[1,"ww-stats-realtime-overview-serve-duration"],[1,"ww-stats-realtime-overview-line-length"],[3,"padding"],[3,"tooltip"],[4,"wwOutlet"],[3,"height","width"]]},template:function(i,n){i&1&&(d(0,"ww-card",10)(1,"div",11),w(2,Qe,8,6,"ww-section",12),r(3,"async"),w(4,li,8,6,"ww-section",13),r(5,"async"),w(6,hi,8,6,"ww-section",14),r(7,"async"),w(8,Ei,8,6,"ww-section",15),r(9,"async"),w(10,Ai,8,6,"ww-section",16),r(11,"async"),w(12,Vi,8,6,"ww-section",17),r(13,"async"),s()(),x(14,Pi,2,4,"ng-template",null,0,Zt)),i&2&&(o(2),_(p(3,6,n.showBookings$)?2:-1),o(2),_(p(5,8,n.showWaitlisted$)?4:-1),o(2),_(p(7,10,n.showServing$)?6:-1),o(2),_(p(9,12,n.showWaitlisted$)?8:-1),o(2),_(p(11,14,n.showServing$)?10:-1),o(2),_(p(13,16,n.showWaitlisted$)?12:-1))},dependencies:[Me,We,be,Ae,we,et,de,he,ue,Se,O,pt,ce],styles:[`/*noopoverview.component-7F2PUNS
17.css.map */
2`],encapsulation:2,changeDetection:0})}}return e})();var Gi=(e,a)=>a.key;function Ui(e,a){if(e&1&&(d(0,"ww-chart-layout",0),r(1,"async"),E(2,"ww-table",1),s()),e&2){let t=a.$implicit,i=m(2);c("chartTitle",t.title)("tooltip",t.tooltip)("loading",p(1,11,i.loading$))("dataMap",t)("isFullscreen",!1)("showTable",!1),o(2),c("flex",!0)("columns",t.columns)("data",t.rows)("pluckCellLabel",t.pluckCellLabel)("selection","none")}}function Hi(e,a){e&1&&Ut(0,Ui,3,13,"ww-chart-layout",0,Gi),e&2&&Ht(a)}function Xi(e,a){if(e&1&&E(0,"ww-chart-layout",0),e&2){let t=m();c("chartTitle",t.usersTitle)("tooltip",t.usersTooltip)("loading",!0)("dataMap",null)("isFullscreen",!1)("showTable",!1)}}var Mt=(()=>{class e{constructor(){this.durationService=f(_t),this.locationRx=f(X),this.realtimeService=f(F),this.resourceRx=f(Te),this.serviceRx=f(Ee),this.usersTitle=$localize`Users`,this.usersTooltip=$localize`The Users table shows all users ordered by the users with the most to least total visits. The metrics include Total visits, Served, Waitlisted, Booking, Dropoff, Completed, Avg Wait Time, and Avg Serve time.`,this.resourcesTooltip=$localize`The Resource table shows all resources within a single resource category ordered by the most to least total visits. The metrics include Total visits, Served, Waitlisted, Booking, Dropoff, Completed, Avg Wait Time, and Avg Serve time.`,this.servicesTooltip=$localize`The Service table shows all services within a single service category ordered by the most to least total visits. The metrics include Total visits, Served, Waitlisted, Booking, Dropoff, Completed, Avg Wait Time, and Avg Serve time.`,this.showResources$=this.locationRx.getCurrentLocation(["showResources"]).pipe(h(({showResources:t})=>t),W()),this.showServices$=this.locationRx.getCurrentLocation(["showServices"]).pipe(h(({showServices:t})=>t),W()),this.baseColumns$=this.locationRx.getCurrentLocation(["isBookingActive","isWaitlistActive"]).pipe(h(({isBookingActive:t,isWaitlistActive:i})=>[t||i?{key:"numVisits",label:$localize`Total`}:null,t||i?{key:"numServed",label:$localize`Served`}:null,i?{key:"totalWaitlist",label:$localize`Waitlisted`}:null,t?{key:"totalBookings",label:$localize`Bookings`}:null,t||i?{key:"numDropoff",label:$localize`Dropoff`}:null,t||i?{key:"numCompleted",label:$localize`Completed`}:null,i?{key:"avgWaitDuration",label:$localize`Avg wait time`}:null,t||i?{key:"avgServeDuration",label:$localize`Avg serve time`}:null].filter(mt)),W((t,i)=>B(t,i))),this.loading$=this.realtimeService.loadingState$.pipe(h(t=>t.resourcesData||t.servicesData||t.usersData)),this.dataMap$=k([this.baseColumns$,this.realtimeService.usersData$,this.showResources$.pipe(G(t=>t?this.realtimeService.resourcesData$:y(null))),this.showServices$.pipe(G(t=>t?this.realtimeService.servicesData$:y(null))),this.resourceRx.resourcesById$,this.serviceRx.servicesById$]).pipe(h(([t,i,n,l,C,v])=>this.createDataMap(t,i,n,l,C,v)),W((t,i)=>B(t,i)))}localizeName(t){return t&&oe(t)&&t.toLocaleUpperCase()==="CRON"?$localize`WAITWHILE SYSTEM`:t}createReportTable(t,i,n,l,C,v,S,R){let A=[{key:"name",label:S},...l];return{key:t,hasData:n.length>0,legendItems:[],hideLegend:!0,dateRange:`${i.fromDate}-${i.toDate}`,title:v,tooltip:R,columns:A,rows:n.map(u=>({name:this.localizeName(u[C]??""),numVisits:u.numVisits,numServed:u.numServed,totalWaitlist:u.totalWaitlist,totalBookings:u.totalBookings,numCompleted:u.numCompleted,numDropoff:u.numDropoff,avgWaitDuration:u.avgWaitDuration??!1?this.durationService.transform(u.avgWaitDuration):null,avgServeDuration:u.avgServeDuration??!1?this.durationService.transform(u.avgServeDuration):null})).sort(re("name")),pluckCellLabel:u=>A.reduce((N,g)=>z(P({},N),{[g.key]:u[g.key]}),{})}}createDataMap(t,i,n,l,C,v){let S=[],R=i?.data;if(i&&R){let N=R.filter(g=>g.updatedBy&&g.updatedBy.length>0);S.push(this.createReportTable("users",i,N,t,"updatedByName",this.usersTitle,$localize`Name`,this.usersTooltip))}let A=n?.data;if(n&&A){let N=xt(A.filter(g=>g.resourceId).map(g=>C[g.resourceId??""]?.parentId).filter(mt));for(let g of N){let H=C[g]?.name;if(H){let yt=A.filter(Et=>C[Et.resourceId??""]?.parentId===g);S.push(this.createReportTable(`resources-${g}`,n,yt,t,"resourceName",H,$localize`Resource`,this.resourcesTooltip))}}}let u=l?.data;if(l&&u){let N=xt(u.filter(g=>g.serviceId).map(g=>v[g.serviceId??""]?.parentId).filter(mt));for(let g of N){let H=v[g]?.name;if(H){let yt=u.filter(Et=>v[Et.serviceId??""]?.parentId===g);S.push(this.createReportTable(`services-${g}`,l,yt,t,"serviceName",H,$localize`Service`,this.servicesTooltip))}}}return S}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime-tables"]],hostAttrs:[1,"ww-stats-realtime-tables","flex","flex-col","gap-6"],standalone:!1,decls:3,vars:3,consts:[[3,"chartTitle","tooltip","loading","dataMap","isFullscreen","showTable"],[1,"w-full",3,"flex","columns","data","pluckCellLabel","selection"]],template:function(i,n){if(i&1&&(w(0,Hi,2,0),r(1,"async"),I(2,Xi,1,6,"ww-chart-layout",0)),i&2){let l;_((l=p(1,1,n.dataMap$))?0:2,l)}},dependencies:[Y,Ce,O],styles:[`.ww-stats-realtime-tables .ww-chart-layout .ww-chart-layout-graph{justify-content:flex-start;padding:24px 0}.ww-stats-realtime-tables .ww-chart-layout .ww-chart-layout-graph .ww-table-with-component-placeholder .ww-table-placeholder{padding:100px 0}.ww-stats-realtime-tables .ww-chart-layout.ww-chart-layout-partial{min-height:120px;max-height:unset;height:unset}.ww-stats-realtime-tables .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph{padding:0 12px 40px;min-height:120px;max-height:unset;height:unset}.ww-breakpoints-below-medium .ww-stats-realtime-tables>ww-card{overflow:hidden;width:100%}
3/*nooptables.component-YXXOJ6LR.css.map */
4`],encapsulation:2,changeDetection:0})}}return e})();
4var Lt="#2706B1",Ot="#F98E75",Ft="#E6E6E6";function Yi(e,a){if(e&1&&(d(0,"div",8)(1,"div",9),T(2),s()()),e&2){let t=m(),i=m();ct("width",t.completedStyleWidth),c("wwBackgroundColor",i.colorCompleted),o(2),at(" ",t.completed," ")}}function qi(e,a){if(e&1&&(d(0,"div",5),T(1),s()),e&2){let t=m();o(),at(" ",t.dropoff," ")}}function Ki(e,a){if(e&1&&(d(0,"div",10)(1,"div",9),T(2),s()()),e&2){let t=m();ct("width",t.totalStyleWidth),o(2),at(" ",t.unhandled," ")}}function Zi(e,a){if(e&1&&(d(0,"div",1)(1,"h2"),T(2),s(),d(3,"div",2),w(4,Yi,3,4,"div",3),d(5,"div",4),w(6,qi,2,1,"div",5),d(7,"div",6),T(8),s()(),w(9,Ki,3,3,"div",7),s()()),e&2){let t=a,i=m();o(2),D(t.total),o(),c("wwBackgroundColor",i.colorUnhandled),o(),_(t.completed>0?4:-1),o(),ct("width",t.dropoffStyleWidth),c("wwBackgroundColor",i.colorDropoff),o(),_(t.dropoff>0?6:-1),o(),Yt("ww-stats-realtime-visits-chart-data-percent-max",t.combinedPercent>90),o(),at(" ",t.combinedPercent,"% "),o(),_(t.unhandled>0?9:-1)}}var Bt=(()=>{class e{constructor(){this.realtimeServices=f(F),this.day$=this.realtimeServices.dateRange$.pipe(h(t=>!t||Ct(t,ft.createDateRange())?$localize`today`:Ct(t,ht.createDateRange())?$localize`yesterday`:Ct(t,gt.createDateRange())?$localize`last 7 days`:"")),this.title$=this.day$.pipe(h(t=>$localize`Total visits ${t}`)),this.tooltip$=y($localize`Total visits today: The total number of visits that were active at one point in the time frame selected. Bookings count based on the date of the appointment, not the date of creation. Visits served, completed or dropped off a different day from the original registration will also be counted here.\r\n\r\nEach active visit is classified into one of the follow:\r\n- Completed: If a visit was marked as completed but was not a dropoff at any point\r\n- Dropoff: If a visit was marked as cancelled, no-show, or removed.\r\n- Unhandled: Any visits that have not been served or are currently being served.`),this.colorCompleted=Lt,this.colorDropoff=Ot,this.colorUnhandled=Ft,this.loading$=this.realtimeServices.loading$,this.dataMap$=this.realtimeServices.locationData$.pipe(h(t=>this.createDataMap(t)),W((t,i)=>B(t,i)))}createDataMap(t){let i=[{key:"completed",label:$localize`Completed`,color:Lt},{key:"dropoff",label:$localize`Dropoff`,color:Ot},{key:"unhandled",label:$localize`Unhandled`,color:Ft}],n={hasData:!1,legendItems:[],dateRange:"",columns:[],rows:[],pluckCellLabel:()=>null,dropoff:0,dropoffPercent:0,dropoffStyleWidth:"0%",completed:0,completedPercent:0,completedStyleWidth:"0%",combinedPercent:0,unhandled:0,total:0,totalPercent:100,totalStyleWidth:"100%"},l=t?.data?.[0];if(!l)return n;let C=l.numDropoff,v=l.numCompleted,S=l.activeVisits,R=S-C-v,A=C+v>S?S:C+v;if(S<1||A<1)return n;let u=Math.round(C/S*100),N=Math.round(v/S*100),g=Math.round(A/S*100),H=g>=100?0:100-g;return{hasData:!0,legendItems:i,dateRange:`${t.fromDate}-${t.toDate}`,columns:[],rows:[],pluckCellLabel:()=>null,dropoff:C,dropoffPercent:u,dropoffStyleWidth:`${u}%`,completed:v,completedPercent:N,completedStyleWidth:`${N}%`,combinedPercent:g,unhandled:R,total:S,totalPercent:H,totalStyleWidth:`${H}%`}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime-visits"]],hostAttrs:[1,"ww-stats-realtime-visits"],standalone:!1,decls:7,vars:17,consts:()=>{let t;t=$localize`Completed`;let i;i=$localize`Dropoff`;let n;n=$localize`Completed + Dropoff`;let l;return l=$localize`Unhandled`,[[3,"chartTitle","tooltip","loading","dataMap","isFullscreen","showTable"],[1,"ww-stats-realtime-visits-chart"],["wwColor","black",1,"ww-stats-realtime-visits-chart-data",3,"wwBackgroundColor"],["wwColor","white","wwTooltip",t,1,"ww-stats-realtime-visits-chart-data-completed","flex","items-center","justify-center",3,"width","wwBackgroundColor"],["wwColor","white",1,"ww-stats-realtime-visits-chart-data-dropoff","flex","items-center","justify-center",3,"wwBackgroundColor"],["wwTooltip",i,1,"ww-stats-realtime-visits-chart-data-count"],["wwColor","black","wwTooltip",n,1,"ww-stats-realtime-visits-chart-data-percent"],["wwTooltip",l,1,"ww-stats-realtime-visits-chart-data-total","flex","items-center","justify-center",3,"width"],["wwColor","white","wwTooltip",t,1,"ww-stats-realtime-visits-chart-data-completed","flex","items-center","justify-center",3,"wwBackgroun
4dColor"],[1,"ww-stats-realtime-visits-chart-data-count"],["wwTooltip",l,1,"ww-stats-realtime-visits-chart-data-total","flex","items-center","justify-center"]]},template:function(i,n){if(i&1&&(d(0,"ww-chart-layout",0),r(1,"async"),r(2,"async"),r(3,"async"),r(4,"async"),w(5,Zi,10,11,"div",1),r(6,"async"),s()),i&2){let l;c("chartTitle",p(1,7,n.title$))("tooltip",p(2,9,n.tooltip$))("loading",p(3,11,n.loading$))("dataMap",p(4,13,n.dataMap$))("isFullscreen",!1)("showTable",!1),o(5),_((l=p(6,15,n.dataMap$))?5:-1,l)}},dependencies:[Y,et,me,O],styles:[`.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph{padding:16px 12px 40px;justify-content:flex-start}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;padding:0 16px}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data{position:relative;display:flex;flex-direction:row;align-items:flex-start;align-self:stretch;height:24px;border-radius:4px;margin-bottom:28px}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-completed{position:relative;height:100%;border-top-left-radius:4px;border-bottom-left-radius:4px}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-dropoff{position:relative;height:100%;border-top-right-radius:4px;border-bottom-right-radius:4px}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-dropoff .ww-stats-realtime-visits-chart-data-percent{font-family:var(--ww-typography-body1-font-family);font-size:var(--ww-typography-body1-font-size);font-weight:var(--ww-typography-body1-font-weight);line-height:var(--ww-typography-body1-line-height);letter-spacing:var(--ww-typography-body1-letter-spacing);position:absolute;top:40px;left:calc(100% - 25px);min-width:50px;padding:8px;background-color:var(--ww-color-mediumGrey);border-radius:8px}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-dropoff .ww-stats-realtime-visits-chart-data-percent.ww-stats-realtime-visits-chart-data-percent-max{left:calc(100% - 50px)}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-dropoff .ww-stats-realtime-visits-chart-data-percent:before{content:"";position:absolute;top:-8px;left:50%;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid var(--ww-color-mediumGrey);transform:translate(-50%)}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-total{position:relative;height:100%}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-stats-realtime-visits-chart .ww-stats-realtime-visits-chart-data .ww-stats-realtime-visits-chart-data-count{font-family:var(--ww-typography-caption2-font-family);font-size:var(--ww-typography-caption2-font-size);font-weight:var(--ww-typography-caption2-font-weight);line-height:var(--ww-typography-caption2-line-height);letter-spacing:var(--ww-typography-caption2-letter-spacing)}.ww-stats-realtime-visits .ww-chart-layout.ww-chart-layout-partial.ww-chart-layout-no-data .ww-chart-layout-graph{padding:0;justify-content:center}
5/*noopvisits.component-BTYICZLL.css.map */
6`],encapsulation:2,changeDetection:0})}}return e})();var Ji=()=>({});function ta(e,a){if(e&1&&(E(0,"ww-select",6),r(1,"async")),e&2){let t=m();c("data",t.dates)("pluckLabel",t.pluckDateLabel)("formControl",t.datesFormControl)("hint",p(1,5,t.lastUpdatedHint$))("size","auto")}}function ea(e,a){if(e&1&&(qt(0),r(1,"async"),d(2,"ww-info-bubble",3)(3,"span"),Xt(4,0),E(5,"ww-link",7),jt(),s()()),e&2){let t=p(1,4,m().analyticsQueryParams$)??Kt(6,Ji);o(5),c("href","/account/analytics/overview")("queryParams",t)("inline",!0)("type","router-link")}}var Nt=(()=>{class e extends ut{constructor(){super(),this.accountRx=f(ve),this.locationRx=f(X),this.realtimeService=f(F),this.dates=[ft,ht,gt],this.pluckDateLabel=t=>t.label,this.datesFormControl=new te(this.dates[0]),this.dateRange$=ne(this.datesFormControl).pipe(h(t=>t?.createDateRange()??null)),this.analyticsQueryParams$=this.locationRx.locationId$.pipe(h(t=>({params:{"date-range":"previous_7_days","filter-locations":t}}
6))),this.enableAnalytics$=this.accountRx.hasAccountFeature("enableAnalytics"),this.lastUpdatedHint$=this.realtimeService.lastUpdated$.pipe(h(t=>$localize`Last updated: ${t}`)),this.subscribeToDateRange()}subscribeToDateRange(){this.dateRange$.pipe(Pt(this.ngOnDestroy$)).subscribe(t=>{this.realtimeService.setDateRange(t)})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats-realtime"]],hostAttrs:[1,"ww-stats-realtime"],standalone:!1,features:[st],decls:10,vars:3,consts:()=>{let t;t=$localize`Account overview!`;let i;return i=$localize` There is a new version of the Detailed Analytics page available on your ${"\uFFFD#5\uFFFD"}:START_TAG_WW_LINK:${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_WW_LINK:`,[i,["class","ww-stats-realtime-date-range-picker",3,"data","pluckLabel","formControl","hint","size",4,"wwLayoutTertiaryAction"],["wwLayoutPadding","",1,"flex","flex-col","gap-6"],[1,"ww-stats-realtime-analytics-info"],[1,"grid","medium:grid-cols-4","small:grid-cols-2","grid-cols-1","gap-6"],[1,"small:col-span-2"],[1,"ww-stats-realtime-date-range-picker",3,"data","pluckLabel","formControl","hint","size"],["wwColor","wwBlue","content",t,3,"href","queryParams","inline","type"]]},template:function(i,n){i&1&&(x(0,ta,2,7,"ww-select",1),d(1,"div",2),w(2,ea,6,7,"ww-info-bubble",3),r(3,"async"),E(4,"ww-stats-realtime-overview"),d(5,"div",4),E(6,"ww-stats-realtime-visits",5)(7,"ww-stats-realtime-dropoffs")(8,"ww-stats-realtime-creator"),s(),E(9,"ww-stats-realtime-tables"),s()),i&2&&(o(2),_(p(3,1,n.enableAnalytics$)?2:-1))},dependencies:[Jt,ee,De,$e,et,_e,ge,fe,At,Wt,bt,Bt,Mt,O],styles:[`.ww-stats-realtime{display:block}.ww-breakpoints-above-large .ww-stats-realtime .ww-stats-realtime-grid-divider-container>*{position:relative}.ww-breakpoints-above-large .ww-stats-realtime .ww-stats-realtime-grid-divider-container>*:not(:last-child):after{content:"";position:absolute;top:0;right:0;display:block;height:100%;width:1px;background-color:var(--ww-color-mediumGrey)}.ww-stats-realtime .ww-card{flex-direction:column;flex-grow:1;min-height:100%}.ww-stats-realtime .ww-card .ww-section,.ww-stats-realtime .ww-card .ww-section .ww-section-content{flex-grow:1}.ww-stats-realtime .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-legend{padding:0 16px;height:32px}.ww-stats-realtime .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph{min-height:196px;max-height:196px;height:196px;justify-content:center}.ww-stats-realtime .ww-chart-layout.ww-chart-layout-partial .ww-chart-layout-graph .ww-chart-layout-no-data-container{min-height:148px}.ww-stats-realtime .ww-placeholder-graph{min-height:400px}
7/*nooprealtime.component-27VFQD5C.css.map */
8`],encapsulation:2,changeDetection:0})}}return e})();var Ve=(()=>{class e{constructor(){this.layout=f(Re),this.layout.setFeatureContext({name:$localize`Stats`,withResourceSwitcher:!1})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=$({type:e,selectors:[["ww-stats"]],hostAttrs:[1,"ww-stats"],standalone:!1,decls:1,vars:0,template:function(i,n){i&1&&E(0,"ww-stats-realtime")},dependencies:[Nt],encapsulation:2,changeDetection:0})}}return e})();var Pe=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=rt({imports:[dt,St]})}}return e})();var Un=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=rt({providers:[pt,{provide:_t,useClass:se}],imports:[dt,Le,ie,ae.forChild([{path:"",component:Ve,canActivate:[xe({permissions:["analytics.show-realtime"]})]}]),Oe,pe,Fe,Be,Ie,St,Pe]})}}return e})();export{Ve as WwStatsComponent,Un as WwStatsModule,Nt as WwStatsRealtimeComponent,Wt as WwStatsRealtimeCreatorComponent,bt as WwStatsRealtimeDropoffsComponent,At as WwStatsRealtimeOverviewComponent,Mt as WwStatsRealtimeTablesComponent,Bt as WwStatsRealtimeVisitsComponent};
9//noopchunk-BHJKZHME.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.