1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8805],{6432:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/associations/[associationId]/analytics/big-spenders",function(){return s(32605)}])},32605:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return k}});var i=s(85893);s(67294);var n=s(10646),a=s(70784),l=s(33703),c=s(11163),o=s(67421),r=s(3281),g=s(16498),p=s(80438),m=s(80895),u=s(94688),y=s(17010),d=s(44663),h=s(83105),S=s(45920),pages_BigSpenders=()=>{let{t:e}=(0,o.$G)(["associations"]),t=(0,c.useRouter)(),s=t.query.associationId,{data:n}=(0,g.yE)({associationId:s}),{data:a,isLoading:l,error:k}=(0,u.A)(s,100),b="big-spenders",B=(0,m.B)(e),D=(0,S.N)(b,a,k,B[b].valueType,B);return(0,i.jsx)(h.Z,{goBackDestination:"/associations/".concat(s,"/analytics"),children:(0,i.jsx)(r.Z,{hidePageMenu:!0,isAdmin:null==n?void 0:n.isUserAdmin,children:(0,i.jsx)(p.Z,{wideContent:!0,children:(0,i.jsx)("div",{className:"-mt-4 pt-11 gap-8 flex flex-col",children:!l&&D?(0,i.jsx)(y.Z,{showViewAll:!1,...D}):(0,i.jsx)(d.Z,{})})})})})};let BigSpendersScreen=()=>{let e=(0,c.useRouter)(),{query:t}=e,s=t.associationId,o=(0,n.Vb)();return o[a.h.ENABLE_NEW_EVENT_DASHBOARD]?(0,i.jsx)(pages_BigSpenders,{}):(0,i.jsx)(l.Z,{to:"/associations/".concat(s)})};var k=BigSpendersScreen;BigSpendersScreen.getLayout=e=>(0,i.jsx)(i.Fragment,{children:e})},94688:function(e,t,s){"use strict";s.d(t,{A:function(){return useAssociationAnalyticsBigSpenders}});var i=s(87965),n=s(88767),a=s(2483);function useAssociationAnalyticsBigSpenders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,s=(0,n.useQuery)(["association-analytics-big-spenders",{associationId:e}],()=>(0,i.NL)({associationId:e,limit:100}
1),(0,a.C4)({displayCount:t}));return(0,a.LQ)(s,t)}},80895:function(e,t,s){"use strict";s.d(t,{B:function(){return metaData}});let metaData=e=>({"big-spenders":{title:e("analytics.segments.bigSpenders.title"),image:"/img/analytics/big-spenders.png",emptyState:{image:"/img/analytics/big-spenders-empty.png",title:e("analytics.segments.bigSpenders.emptyTitle"),description:e("analytics.segments.bigSpenders.emptyDescription")},alt:e("analytics.segments.bigSpenders.title"),tooltip:e("analytics.segments.bigSpenders.tooltip"),link:"/big-spenders",valueType:"currency",bounceBlastDescription:e("analytics.segments.bigSpenders.bounceBlastDescription")},"the-regulars":{title:e("analytics.segments.theRegulars.title"),image:"/img/analytics/the-regulars.png",emptyState:{image:"/img/analytics/the-regulars-empty.png",title:e("analytics.segments.theRegulars.emptyTitle"),description:e("analytics.segments.theRegulars.emptyDescription")},alt:e("analytics.segments.theRegulars.title"),tooltip:e("analytics.segments.theRegulars.tooltip"),link:"/the-regulars",valueType:"events",bounceBlastDescription:e("analytics.segments.theRegulars.bounceBlastDescription")},"hot-streaks":{title:e("analytics.segments.hotStreaks.title"),image:"/img/analytics/hot-streaks.png",emptyState:{image:"/img/analytics/hot-streaks-empty.png",title:e("analytics.segments.hotStreaks.emptyTitle"),description:e("analytics.segments.hotStreaks.empty
1Description")},alt:e("analytics.segments.hotStreaks.title"),tooltip:e("analytics.segments.hotStreaks.tooltip"),link:"/hot-streaks",valueType:"months",bounceBlastDescription:e("analytics.segments.hotStreaks.bounceBlastDescription")},"cold-streaks":{title:e("analytics.segments.coldStreaks.title"),image:"/img/analytics/cold-streaks.png",emptyState:{image:"/img/analytics/cold-streaks-empty.png",title:e("analytics.segments.coldStreaks.emptyTitle"),description:e("analytics.segments.coldStreaks.emptyDescription")},alt:e("analytics.segments.coldStreaks.title"),tooltip:e("analytics.segments.coldStreaks.tooltip"),link:"/cold-streaks",valueType:"months",bounceBlastDescription:e("analytics.segments.coldStreaks.bounceBlastDescription")},"new-customers":{title:e("analytics.segments.newCustomers.title"),image:"/img/analytics/new-customers.png",emptyState:{image:"/img/analytics/new-customers-empty.png",title:e("analytics.segments.newCustomers.emptyTitle"),description:e("analytics.segments.newCustomers.emptyDescription")},alt:e("analytics.segments.newCustomers.title"),tooltip:e("analytics.segments.newCustomers.tooltip"),link:"/new-customers",valueType:"none",bounceBlastDescription:e("analytics.segments.newCustomers.bounceBlastDescription")}})}},function(e){e.O(0,[3874,2152,4762,5170,6498,4838,6148,1883,9774,2888,179],function(){return e(e.s=6432)}),_N_E=e.O()}]); 2//# sourceMappingURL=big-spenders-dd76403ce9260a2f.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.