1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9108],{4768:function(e,n){"use strict";n.DF={prefix:"fas",iconName:"mouse-pointer",icon:[320,512,[],"f245","M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z"]},n.kw=n.DF},51306:function(e,n){"use strict";n.DF={prefix:"fad",iconName:"bath",icon:[512,512,[],"f2cd",["M80,256H32V69.25a69.25,69.25,0,0,1,118.22-49l19.26,19.27c29.9-13.13,59.11-7.61,79.73,8.62l.17-.17A16,16,0,0,1,272,48l11.31,11.31a16,16,0,0,1,0,22.63L177.94,187.31a16,16,0,0,1-22.63,0L144,176a16,16,0,0,1,0-22.62l.17-.17c-16.23-20.62-21.75-49.85-8.62-79.73L116.28,54.22A21.26,21.26,0,0,0,80,69.25Z","M32,384a95.4,95.4,0,0,0,32,71.09V496a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V480H384v16a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V455.09A95.4,95.4,0,0,0,480,384V336H32ZM496,256H16A16,16,0,0,0,0,272v16a16,16,0,0,0,16,16H496a16,16,0,0,0,16-16V272A16,16,0,0,0,496,256Z"]
1]},n.e_=n.DF},60198:function(e,n){"use strict";n.DF={prefix:"fad",iconName:"bed",icon:[640,512,[],"f236",["M528 128H304a16 16 0 0 0-16 16v144h352v-48a112 112 0 0 0-112-112zM176 96a80 80 0 1 0 80 80 80 80 0 0 0-80-80z","M640 288v144a16 16 0 0 1-16 16h-32a16 16 0 0 1-16-16v-48H64v48a16 16 0 0 1-16 16H16a16 16 0 0 1-16-16V80a16 16 0 0 1 16-16h32a16 16 0 0 1 16 16v208z"]]},n.by=n.DF},59051:function(e,n){"use strict";n.DF={prefix:"fad",iconName:"car",icon:[512,512,[],"f1b9",["M319.5 128a48 48 0 0 1 44.57 30.17L384 208H128l19.93-49.83A48 48 0 0 1 192.5 128zM80 384a63.82 63.82 0 0 1-47.57-21.2A31.82 31.82 0 0 0 32 368v48a32 32 0 0 0 32 32h32a32 32 0 0 0 32-32v-32zm352 0h-48v32a32 32 0 0 0 32 32h32a32 32 0 0 0 32-32v-48a31.82 31.82 0 0 0-.43-5.2A63.82 63.82 0 0 1 432 384z","M500 176h-59.88l-16.64-41.6A111.43 111.43 0 0 0 319.5 64h-127a111.47 111.47 0 0 0-104 70.4L71.87 176H12A12 12 0 0 0 .37 190.91l6 24A12 12 0 0 0 18 224h20.08A63.55 63.55 0 0 0 16 272v48a64 64 0 0 0 64 64h352a64 64 0 0 0 64-64v-48a63.58 63.58 0 0 0-22.07-48H494a12 12 0 0 0 11.64-9.09l6-24A12 12 0 0 0 500 176zm-352.07-17.83A48 48 0 0 1 192.5 128h127a48 48 0 0 1 44.57 30.17L384 208H128zM96 256c19.2 0 48 28.71 48 47.85s-28.8 15.95-48 15.95-32-12.8-32-31.9S76.8 256 96 256zm272 47.85c0-19.14 28.8-47.85 48-47.85s32 12.76 32 31.9-12.8 31.9-32 31.9-48 3.2-48-15.95z"]]},n.yn=n.DF},45471:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PresetStatusColorTypes=n.PresetColorTypes=void 0;var t=a(66764),i=(0,t.tuple)("success","processing","error","default","warning");n.PresetStatusColorTypes=i;var s=(0,t.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");n.PresetColorTypes=s},57415:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AgencyPerformanceReportPropertyQueryFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Property"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uuid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slugUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slugUrlPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"commercialListingType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"suburb"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"streetNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mainObject"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"features"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bedrooms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bathrooms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalParking"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enquiriesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"agentNumberCallCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"agentNumberRevealCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"engagements"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"views"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AgencyPerformanceReportQuery"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Date"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"endDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Date"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"agency"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uuid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slugUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logoUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"miniLogoUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"package"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"socialPostsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"newPropertyListingsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"engagementsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"enquiriesCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"agentNumberRevealCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"agentNumberCallCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"views"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageViews"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"searchViews"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailyViews"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailySearchViews"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailyEnquiries"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailyAgentNumberCalls"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailyAgentNumberReveals"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dailyEngagements"},arguments:[{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"topProperties"},name:{kind:"Name",value:"topPropertiesByEnquiry"},arguments:[{kind:"Argument",name:{kind:"Name",value:"options"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}},{kind:"ObjectField",name:{kind:"Name",value:"group"},value:{kind:"EnumValue",value:"BUY_RENT"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AgencyPerformanceReportPropertyQueryFragment"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:2900}};n.loc.source={body:"fragment AgencyPerformanceReportPropertyQueryFragment on Property {\n id\n uuid\n slugUrl\n slugUrlPrefix\n status\n type\n commercialListingType\n address\n state\n postalCode\n suburb\n street\n streetNumber\n subNumber\n mainObject {\n id\n url\n }\n features {\n id\n bedrooms\n bathrooms\n totalParking\n }\n statistics {\n id\n enquiriesCount\n agentNumberCallCount\n agentNumberRevealCount\n engagements {\n total\n }\n views {\n total\n }\n }\n}\n\nquery AgencyPerformanceReportQuery($id: ID!, $startDate: Date!, $endDate: Date!
1) {\n agency(id: $id) {\n id\n uuid\n slugUrl\n logoUrl\n miniLogoUrl\n firstName\n lastName\n name\n subscription {\n id\n package\n }\n statistics {\n id\n # forRentCount\n # forSaleCount\n socialPostsCount(startDate: $startDate, endDate: $endDate)\n newPropertyListingsCount(startDate: $startDate, endDate: $endDate)\n engagementsCount(startDate: $startDate, endDate: $endDate)\n enquiriesCount(startDate: $startDate, endDate: $endDate)\n agentNumberRevealCount(startDate: $startDate, endDate: $endDate)\n agentNumberCallCount(startDate: $startDate, endDate: $endDate)\n views(startDate: $startDate, endDate: $endDate) {\n id\n total\n pageViews\n searchViews\n }\n dailyViews(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n dailySearchViews(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n dailyEnquiries(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n dailyAgentNumberCalls(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n dailyAgentNumberReveals(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n dailyEngagements(startDate: $startDate, endDate: $endDate) {\n count\n date\n }\n topProperties: topPropertiesByEnquiry(options: { limit: 10, group: BUY_RENT }) {\n ...AgencyPerformanceReportPropertyQueryFragment\n }\n # forRentProperties: topPropertiesByEnquiry(\n # options: { limit: 5, startDate: $startDate, endDate: $endDate, group: RENT }\n # ) {\n # ...AgencyPerformanceReportPropertyQueryFragment\n # }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function findOperation(e,n){for(var a=0;a<e.definitions.length;a++){var t=e.definitions[a];if(t.name&&t.name.value==n)return t}}function oneQuery(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,s=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var r=l;l=new Set,r.forEach(function(e){s.has(e)||(s.add(e),(a[e]||new Set).forEach(function(e){l.add(e)}))})}return s.forEach(function(n){var a=findOperation(e,n);a&&t.definitions.push(a)}),t}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})})(e,n),a[e.name.value]=n}}),e.exports=n,e.exports.AgencyPerformanceReportPropertyQueryFragment=oneQuery(n,"AgencyPerformanceReportPropertyQueryFragment"),e.exports.AgencyPerformanceReportQuery=oneQuery(n,"AgencyPerformanceReportQuery")},30487:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AgencyByUuidInfoQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uuid"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"agencyByUuid"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uuid"},value:{kind:"Variable",name:{kind:"Name",value:"uuid"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:106}};n.loc.source={body:"query AgencyByUuidInfoQuery($uuid: ID!) {\n agencyByUuid(uuid: $uuid) {\n id\n name\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function findOperation(e,n){for(var a=0;a<e.definitions.length;a++){var t=e.definitions[a];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})})(e,n),a[e.name.value]=n}}),e.exports=n,e.exports.AgencyByUuidInfoQuery=function(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=a[n]||new Set,s=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var r=l;l=new Set,r.forEach(function(e){s.has(e)||(s.add(e),(a[e]||new Set).forEach(function(e){l.add(e)}))})}return s.forEach(function(n){var a=findOperation(e,n);a&&t.definitions.push(a)}),t}(n,"AgencyByUuidInfoQuery")},55469:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return el}});var t,i=a(50029),s=a(87794),l=a.n(s),r=a(67294),d=a(6388),c=a(41664),m=a.n(c),o=a(27484),u=a.n(o),v=a(2962),x=a(67814),g=a(17319),k=a(13040),f=a(84336),N=a(12986),p=a(1164),A=a(12411),y=a(6230),h=a(52535),b=a.n(h),j=a(69644),S=a.n(j),w=a(73448),D=a(85893),E=(0,r.memo)(function(e){var n,a,t,i,s,l,d,c,m,o=e.dailyViews,v=e.dailySearchViews,x=e.dailyEnquiries,g=e.dailyEngagements,k=(0,r.useState)(!1),f=k[0],N=k[1],onHoverBar=function(e){N(e)},p=x.map(function(e){var n=e.date,a=e.count;return{x:new Date(n).getTime(),y:a}}),A=g.map(function(e){var n=e.date,a=e.count;return{x:new Date(n).getTime(),y:a,date:u()(n).format("YYYY-MM-DD")}}),y=null==o?void 0:o.map(function(e){var n,a=e.date,t=e.count,i=u()(a).format("YYYY-MM-DD"),s=v.find(function(e){return u()(e.date).format("YYYY-MM-DD")===i}),l=null!==(n=t+(null==s?void 0:s.count))&&void 0!==n?n:0;return{x:new Date(a).getTime(),y:l,date:i}}),h=y.reduce(function(e,n){var a,t=n.y,i=n.date,s=null!==(a=A.find(function(e){return e.date===i}).y)&&void 0!==a?a:0;return e[i]={views:t,engagements:s,total:t+s},e},{});return(0,D.jsx)("div",{className:"AgencyPerformanceGraph",children:(0,D.jsxs)(w.wu,{height:300,xType:"time",margin:{left:50},onMouseLeave:function(){return onHoverBar(!1)},children:[!1!==f&&(0,D.jsx)(w.kW,{value:f,children:(0,D.jsxs)("div",{className:"bg-white my-2 rounded text-gray-800 px-2 py-1 border border-solid br-2 text-left text-xs shadow",children:[(0,D.jsxs)("div",{children:[u()(f.x).format("ddd, MMM DD, YYYY")," "]}),(0,D.jsxs)("div",{children:[(0,D.jsxs)("div",{className:" text-sm",children:[null!==(n=null===(a=h[f.date])||void 0===a?void 0:null===(t=a.views)||void 0===t?void 0:t.toLocaleString())&&void 0!==n?n:0,(0,D.jsx)("span",{className:"ml-1 text-xs",children:"Views"})]}),(0,D.jsxs)("div",{className:" text-sm",children:[null!==(i=null===(s=h[f.date])||void 0===s?void 0:null===(l=s.engagements)||void 0===l?void 0:l.toLocaleString())&&void 0!==i?i:0,(0,D.jsx)("span",{className:"ml-1 text-xs",children:"Engagements"})]}),(0,D.jsxs)("div",{className:"font-medium text-sm",children:[null!==(d=null===(c=h[f.date])||void 0===c?void 0:null===(m=c.total)||void 0===m?void 0:m.toLocaleString())&&void 0!==d?d:0,(0,D.jsx)("span",{className:"ml-1",children:" TOTAL"})]})]})]})}),(0,D.jsx)(w.xL,{}),(0,D.jsx)(w.Kc,{tickFormat:function(e){return u()(e).format("MMM D")},tickTotal:Math.min(y.length||p.length||0,28)}),(0,D.jsx)(w.B2,{}),(0,D.jsx)(w.LU,{color:"#48bb78",curve:"curveMonotoneX",data:y,onNearestX:function(e){return onHoverBar(e)},onSeriesMouseOut:function(){return onHoverBar(!1)}}),(0,D.jsx)(w.f6,{colorType:"literal",color:"#48bb78",curve:"curveMonotoneX",data:y,fill:"#E4F7FD",style:{opacity:"10%",fill:"#48bb78",stroke:"#48bb78"}}),(0,D.jsx)(w.LU,{color:"#f56565",curve:"curveMonotoneX",data:A,onNearestX:function(e){return onHoverBar(e)},onSeriesMouseOut:function(){return onHoverBar(!1)}}),(0,D.jsx)(w.f6,{colorType:"literal",color:"#f56565",curve:"curveMonotoneX",data:A,fill:"#f56565",style:{opacity:"10%",fill:"#f56565",stroke:"#f56565"}})]})})});E.defaultProps={dailyViews:[],dailySearchViews:[],dailyEnquiries:[],dailyEngagements:[]};var F=a(59499),C=a(51306),V=a(60198),R=a(59051),B=a(12249),U=a(20446),P=a(4768),q=a(99767);function ownKeys(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,t)}return a}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};
1n%2?ownKeys(Object(a),!0).forEach(function(n){(0,F.Z)(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}var Q=(0,r.memo)(function(e){var n=e.properties;return(0,D.jsx)("div",{className:"AgencyPropertyListPdf",children:(0,D.jsxs)("div",{className:"for-sale-properties mb-5 bg-transparent px-1 py-4 shadow-none sm:mb-10 sm:px-3 md:bg-white md:px-6 md:shadow-md",children:[(0,D.jsx)("p",{className:"mb-2 text-base text-black",children:"Top 10 Properties"}),(0,D.jsx)("hr",{}),(0,D.jsx)("div",{className:"mb-2 hidden bg-gray-200 px-3 py-2 md:block",children:(0,D.jsxs)("div",{className:"flex items-center justify-between text-center text-xs",children:[(0,D.jsx)("div",{className:"mx-auto w-full md:w-6/12",children:"Property"}),(0,D.jsx)("div",{className:"hidden w-2/12 md:block",children:"Views"}),(0,D.jsx)("div",{className:"hidden w-2/12 md:block",children:"Engagements"}),(0,D.jsx)("div",{className:"hidden w-2/12 md:block",children:"Prospects"})]})}),n.map(function(e){var n,a,t,i,s,l,r,d,c,o,u=e.id,v=e.uuid,g=e.address,k=e.features,f=e.statistics,N=e.slugUrl,p=e.slugUrlPrefix,A=e.mainObject,y="/".concat(p,"/").concat(N),h=(0,q.lR)(_objectSpread(_objectSpread({},e),{},{isShowAddress:!0})),b=(0,q.mN)(_objectSpread(_objectSpread({},e),{},{isShowAddress:!0})),j=f||{},S=j.enquiriesCount,w=j.agentNumberRevealCount,E=j.agentNumberCallCount,F=(null!=S?S:0)+(null!=w?w:0)+(null!=E?E:0);return(0,D.jsxs)("div",{className:"mb-6 flex-none items-center justify-between rounded bg-white py-0 text-left text-sm shadow-md md:mb-0 md:flex md:bg-transparent md:py-2 md:text-center md:shadow-none",children:[(0,D.jsx)("div",{className:"mb-2 w-full md:mb-0 md:w-6/12",children:(0,D.jsxs)("div",{className:"flex-none items-center justify-between text-left md:flex",children:[(0,D.jsx)(m(),{href:y,target:"_blank",className:"w-full md:w-1/4",children:(0,D.jsxs)("div",{className:"relative pb-4/5",children:[(0,D.jsx)("img",{className:"absolute h-full w-full rounded object-cover",src:"".concat(null==A?void 0:A.url,"?w=800"),alt:g}),"buy"===p&&(0,D.jsx)("span",{className:"absolute m-2 rounded bg-primary-500 px-1 text-base text-white md:m-0 md:text-xs",children:"For Sale"}),"rent"===p&&(0,D.jsx)("span",{className:"absolute m-2 rounded bg-green-500 px-1 text-base text-white md:m-0 md:text-xs ",children:"For Rent"})]})}),(0,D.jsxs)("div",{className:"w-full py-3 pl-4 pr-3 sm:py-6 sm:pl-6 md:w-3/4 md:py-0 md:pl-3",children:[(0,D.jsxs)(m(),{href:"/property/report/".concat(v),target:"_blank",className:"text-base",children:[h,(0,D.jsx)("br",{}),b]}),(0,D.jsxs)("div",{className:"mt-1 flex items-center",children:[(0,D.jsxs)("div",{className:"mr-3 flex items-center",children:[(0,D.jsx)(x.G,{size:"sm",icon:V.by}),(0,D.jsx)("span",{className:"ml-1",children:null==k?void 0:k.bedrooms})]}),(0,D.jsxs)("div",{className:"mr-3 flex items-center",children:[(0,D.jsx)(x.G,{size:"sm",icon:C.e_}),(0,D.jsxs)("span",{className:"ml-1",children:[null==k?void 0:k.bathrooms," "]})]}),(0,D.jsxs)("div",{className:"flex items-center",children:[(0,D.jsx)(x.G,{size:"sm",icon:R.yn}),(0,D.jsx)("span",{className:"ml-1",children:null==k?void 0:k.totalParking})]})]})]})]})}),(0,D.jsxs)("div",{className:"hidden w-full md:inline md:w-2/12",children:[(0,D.jsx)("span",{className:"inline pr-2 md:hidden",children:"Views:"}),null!==(n=null==f?void 0:null===(a=f.views.total)||void 0===a?void 0:a.toLocaleString())&&void 0!==n?n:0]}),(0,D.jsxs)("div",{className:"hidden w-full md:inline md:w-2/12",children:[(0,D.jsx)("span",{className:"inline pr-2 md:hidden",children:"Engagements:"}),null!==(t=null==f?void 0:null===(i=f.engagements.total)||void 0===i?void 0:i.toLocaleString())&&void 0!==t?t:0]}),(0,D.jsxs)("div",{className:"hidden w-full md:inline md:w-2/12",children:[(0,D.jsx)("span",{className:"inline pr-2 md:hidden",children:"Enquiries:"}),null!==(s=F.toLocaleString())&&void 0!==s?s:0]}),(0,D.jsxs)("div",{className:"flex flex-wrap items-center justify-around bg-gray-300 px-3 py-2 text-center md:hidden",children:[(0,D.jsxs)("div",{className:"py-2",children:[(0,D.jsx)(x.G,{size:"2x",icon:U.Md}),(0,D.jsx)("p",{className:"mt-1 text-lg",children:null!==(l=null==f?void 0:null===(r=f.views.total)||void 0===r?void 0:r.toLocaleStr
1ing())&&void 0!==l?l:0}),(0,D.jsx)("p",{className:"text-sm lg:text-xs",children:"Views"})]}),(0,D.jsxs)("div",{className:"py-2",children:[(0,D.jsx)(x.G,{size:"2x",icon:P.kw}),(0,D.jsx)("p",{className:"mt-1 text-lg",children:null!==(d=null==f?void 0:null===(c=f.engagements.total)||void 0===c?void 0:c.toLocaleString())&&void 0!==d?d:0}),(0,D.jsx)("p",{className:"text-sm lg:text-xs",children:"Engagements"})]}),(0,D.jsxs)("div",{className:"py-2",children:[(0,D.jsx)(x.G,{size:"2x",icon:B.Mz}),(0,D.jsx)("p",{className:"mt-1 text-lg",children:null!==(o=null==F?void 0:F.toLocaleString())&&void 0!==o?o:0}),(0,D.jsx)("p",{className:"text-sm lg:text-xs",children:"Enquiries"})]})]})]},u)})]})})});Q.defaultProps={properties:[],group:""};var O=a(35216),I=a.n(O),K=a(70279),M=a.n(K),T=a(9401),L=a.n(T),G=a(99784),H=a.n(G),z=a(92936),Y=a.n(z),J=a(4969),X=a.n(J),Z=a(38697),W=a.n(Z),_=a(41255),$=a.n(_),ee=a(57415),en=a.n(ee),ea=(0,r.memo)(function(e){var n,a,t,i,s,l,c,o,h,j,w,F,C,V,R,B,U,P=e.agencyId,q=u()().subtract(7,"days").startOf("day"),O=u()().subtract(1,"days").endOf("day"),K=(0,r.useState)([]),T=K[0],G=K[1],z=(0,r.useState)([q,O]),J=z[0],Z=z[1],_=u()(J[0]).subtract(1,"days").startOf("day").toISOString(),ee=u()(J[1].toISOString()),ea=(0,d.aM)(en(),{ssr:!1,skip:!P,variables:{id:P,startDate:_,endDate:ee}}),et=ea.data,ei=ea.loading,es=ea.error;if(ei)return(0,D.jsx)("div",{className:"flex h-screen w-screen items-center justify-center",children:(0,D.jsx)(N.Z,{})});if(es)return(0,D.jsx)("div",{className:"flex h-screen w-screen items-center justify-center",children:(0,D.jsx)(p.Z,{error:es,title:"Report Not Found",description:""})});var el=(et||{}).agency||{},er=el.name,ed=el.uuid,ec=el.logoUrl,em=el.subscription,eo=el.statistics,eu=el.slugUrl,ev=eo||{},ex=ev.newPropertyListingsCount,eg=ev.enquiriesCount,ek=ev.agentNumberRevealCount,ef=ev.agentNumberCallCount,eN=ev.socialPostsCount,ep=ev.engagementsCount,eA=ev.dailyEnquiries,ey=ev.dailyAgentNumberCalls,eh=ev.dailyAgentNumberReveals,eb=ev.dailyViews,ej=ev.dailySearchViews,eS=ev.dailyEngagements,ew=ev.views,eD=ev.topProperties,eE="".concat(er," - Agency Performance Report"),eF="Generate your weekly Agency Report Performance",eC=(null!=eg?eg:0)+(null!=ek?ek:0)+(null!=ef?ef:0),eV=0;switch(null==em?void 0:em.package){case"REACH_PREMIER":eV=497;break;case"REACH_HIGHLIGHT":eV=297;break;default:eV=0}var eR=.7*eV,eB=.2*eV,eU=.1*eV;return(0,D.jsxs)("div",{className:"AgencyPerformanceReportPage m-auto max-w-screen-lg bg-[#f7fafc]",children:[(0,D.jsx)(f.Z,{}),(0,D.jsx)(v.PB,{title:eE,description:eF,noindex:!0,openGraph:{title:eE,description:eF}}),(0,D.jsx)("section",{className:" border-b bg-primary-500 px-5 py-4 sm:px-10",children:(0,D.jsxs)("div",{className:"flex items-center justify-between",children:[(0,D.jsx)("img",{className:"h-8",src:b(),alt:"Realty.com.au"}),(0,D.jsx)("a",{href:"//agency.realty.com.au/login",target:"_blank",rel:"noreferrer",className:"text-lg text-white hover:font-semibold hover:text-white",children:"Login"})]})}),(0,D.jsx)("section",{className:"p-5 pt-2 sm:p-10 sm:pt-6",children:(0,D.jsxs)("div",{className:"",children:[(0,D.jsxs)("div",{className:"text-md mb-6 flex flex-none items-center justify-between font-medium uppercase sm:flex-col md:flex-row ",children:[(0,D.jsx)("div",{className:"text-center text-xl font-medium uppercase md:text-left",children:"Search - Social Distribution"}),(0,D.jsx)("div",{className:"mt-6 w-full sm:mt-0 md:inline md:w-1/2",children:(0,D.jsx)(k.Z.RangePicker,{className:"w-full",size:"large",value:J,disabledDate:function(e){if(!T||0===T.length)return!1;var n=T[0]&&e.diff(T[0],"days")>=30,a=T[1]&&T[1].diff(e,"days")>=30,t=e&&e>=u()().endOf("day");return n||a||t},onCalendarChange:function(e){return G(e)},onChange:function(e){return Z(e)},onOpenChange:function(e){e?G([q,O]):G(null)}})})]}),(0,D.jsxs)("div",{className:"px-6 py-2 shadow-lg",style:{backgroundColor:"#111827"},children:[(0,D.jsxs)("div",{className:"mt-4 flex-none items-center justify-between sm:flex",children:[(0,D.jsxs)("div",{className:"flex-none items-center md:flex ",children:[(0,D.jsx)("div",{className:" mb-8 mr-0 overflow-hidden sm:mb-0 sm:mr-5",children:(0,D.jsx)(m(),{href:"/agency/".concat(eu),target:"_blank",children:(0,D.jsx)("img",{className:"m-auto block h-20 rounded object-cover",src:"".concat(ec,"?h=100"),alt:"".concat(er)})})}),(0,D.jsx)("div",{className:"mb-2 text-center text-xl font-semibold uppercase text-white sm:mb-0 sm:text-left ",children:(0,D.jsx)(m(),{href:"/agency/".concat(eu),target:"_blank",children:er})})]}),(0,D.jsx)("div",{className:"text-center md:text-right",children:(0,D.jsx)(y.Z,{url:"https://pdf.realty.com.au/agency/performance-report/".concat(ed,"/pdf?startDate=").concat(_,"&endDate=").concat(ee),saveFileAs:"agency-performance-report-".concat(er,"-").concat(ed,".pdf")})})]}),(0,D.jsx)("div",{className:"border-b py-2"}),(0,D.jsxs)("div",{className:"mx-0 mb-4 mt-8 flex flex-wrap items-start justify-between text-white sm:mx-4",children:[(0,D.jsxs)("div",{className:"w-full text-center text-lg md:w-auto md:text-left",children:["Report ",(0,D.jsx)("br",{})," Highlights:"]}),(0,D.jsxs)("div",{className:"my-5 w-1/2 text-center text-xs sm:my-3 sm:w-1/2 md:my-0 md:w-auto",children:[(0,D.jsx)("img",{className:"mb-2 h-5",src:M(),alt:"house"}),(0,D.jsx)("p",{className:"text-2xl font-semibold text-primary-500",children:null!==(n=null==ex?void 0:ex.toLocaleStr
1ing())&&void 0!==n?n:0}),(0,D.jsx)("p",{children:"NEW LISTINGS"}),(0,D.jsx)("p",{className:"text-xs",children:"(7 days)"})]}),(0,D.jsxs)("div",{className:"my-5 w-1/2 text-center text-xs sm:my-3 sm:w-1/2 md:my-0 md:w-auto",children:[(0,D.jsx)("img",{className:"mb-2 h-5",src:I(),alt:"views"}),(0,D.jsx)("p",{className:"text-2xl font-semibold text-primary-500",children:null!==(a=null==ew?void 0:null===(t=ew.total)||void 0===t?void 0:t.toLocaleString())&&void 0!==a?a:0}),(0,D.jsx)("p",{children:"VIEWS"})]}),(0,D.jsxs)("div",{className:"my-5 w-1/2 text-center text-xs sm:my-3 sm:w-1/2 md:my-0 md:w-auto",children:[(0,D.jsx)("img",{className:"mb-2 h-5",src:L(),alt:"social posts"}),(0,D.jsx)("p",{className:"text-2xl font-semibold text-primary-500",children:null!==(i=null==eN?void 0:eN.toLocaleString())&&void 0!==i?i:0}),(0,D.jsx)("p",{children:"SOCIAL POSTS"})]}),(0,D.jsxs)("div",{className:"my-5 w-1/2 text-center text-xs sm:my-3 sm:w-1/2 md:my-0 md:w-auto",children:[(0,D.jsx)("img",{className:"mb-2 h-5",src:Y(),alt:"engagement"}),(0,D.jsx)("p",{className:"text-2xl font-semibold text-primary-500",children:null!==(s=null==ep?void 0:ep.toLocaleString())&&void 0!==s?s:0}),(0,D.jsx)("p",{children:"ENGAGEMENTS"})]}),(0,D.jsxs)("div",{className:"my-5 w-1/2 text-center text-xs sm:my-3 sm:w-1/2 md:my-0 md:w-auto",children:[(0,D.jsx)("img",{className:"mb-2 h-5",src:H(),alt:"prospects"}),(0,D.jsx)("p",{className:"text-2xl font-semibold text-primary-500",children:null!==(l=null==eC?void 0:eC.toLocaleString())&&void 0!==l?l:0}),(0,D.jsx)("p",{children:"PROSPECTS"})]})]})]}),(0,D.jsx)("hr",{})]})}),(0,D.jsxs)("section",{className:"flex flex-col px-5 md:flex-row ",children:[(0,D.jsxs)("div",{className:"mr-0 flex w-full flex-col shadow-none sm:flex-row sm:shadow md:mr-2 md:w-2/3 ",children:[(0,D.jsxs)("div",{className:"flex w-full flex-col px-3 shadow sm:w-2/5 sm:shadow-none ",children:[(0,D.jsxs)("div",{className:"flex h-12 items-center justify-center text-sm",children:["Package: \xa0",(0,D.jsxs)("span",{className:"text-center text-base font-medium",style:{color:(null==em?void 0:em.package)==="REACH_PREMIER"&&"#FFD700"||(null==em?void 0:em.package)==="REACH_HIGHLIGHT"&&"#C0C0C0"||null===em&&"#000000"},children:[(null==em?void 0:em.package)==="REACH_PREMIER"&&"GOLD",(null==em?void 0:em.package)==="REACH_HIGHLIGHT"&&"SILVER",null===em&&"FREE"]})]}),(0,D.jsxs)("div",{className:"flex w-full justify-around",children:[(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Properties"}),(0,D.jsx)("span",{className:"py-2 text-sm text-primary-500",children:null!==(c=null==ex?void 0:ex.toLocaleString())&&void 0!==c?c:0})]}),(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Investment"}),(0,D.jsxs)("span",{className:"py-2 text-sm text-primary-500",children:["$",null!==(o=null===(h=eV)||void 0===h?void 0:h.toLocaleString())&&void 0!==o?o:0]})]})]})]}),(0,D.jsxs)("div",{className:"mt-5 flex w-full flex-col shadow sm:mt-0 sm:w-3/5 sm:shadow-none",children:[(0,D.jsx)("div",{className:"flex h-12 items-center justify-center text-lg text-primary-500",style:{backgroundColor:"#111827"},children:"Cost per / ROI"}),(0,D.jsxs)("div",{className:"flex w-full justify-around",children:[(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Branding"}),(0,D.jsxs)("span",{className:"py-2 text-sm text-primary-500",children:["$",null!==(j=(eR/(null!==(w=null==ew?void 0:ew.total)&&void 0!==w?w:0)).toLocaleString())&&void 0!==j?j:0]})]}),(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Engagement"}),(0,D.jsxs)("span",{className:"py-2 text-sm text-primary-500",children:["$",null!==(F=(eB/(null!=ep?ep:0)).toLocaleStr
1ing())&&void 0!==F?F:0]})]}),(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Prospects"}),(0,D.jsxs)("span",{className:"py-2 text-sm text-primary-500",children:["$",null!==(C=(null!=eU?eU:0/(null!=eC?eC:0)).toLocaleString())&&void 0!==C?C:0]})]})]})]})]}),(0,D.jsxs)("div",{className:"ml-0 mt-5 flex w-full flex-col shadow md:ml-2 md:mt-0 md:w-1/3",children:[(0,D.jsx)("div",{className:"flex h-12 items-center justify-center text-lg text-primary-500",style:{backgroundColor:"#111827"},children:"Uniques"}),(0,D.jsxs)("div",{className:"flex w-full justify-around",children:[(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Branding"}),(0,D.jsx)("span",{className:"py-2 text-sm text-primary-500",children:null!==(V=null==ew?void 0:null===(R=ew.total)||void 0===R?void 0:R.toLocaleString())&&void 0!==V?V:0})]}),(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Engagement"}),(0,D.jsx)("span",{className:"py-2 text-sm text-primary-500",children:null!==(B=null==ep?void 0:ep.toLocaleString())&&void 0!==B?B:0})]}),(0,D.jsxs)("div",{className:"flex flex-1 flex-col items-center",children:[(0,D.jsx)("div",{className:"w-full py-3 text-center text-xs",style:{backgroundColor:"#CBD5E1"},children:"Prospects"}),(0,D.jsx)("span",{className:"py-2 text-sm text-primary-500",children:null!==(U=null==eC?void 0:eC.toLocaleString())&&void 0!==U?U:0})]})]})]})]}),(0,D.jsxs)("section",{className:"px-5 pt-6 sm:px-10",children:[(0,D.jsxs)("div",{className:"graph py-8",children:[(0,D.jsxs)("div",{className:"graph-legend mb-8 flex justify-end",children:[(0,D.jsxs)("div",{className:"mr-8 flex items-center",children:[(0,D.jsx)("div",{className:"mr-2",children:(0,D.jsx)(x.G,{icon:g.di,className:"text-sm text-green-500"})}),(0,D.jsx)("p",{className:"text-xs",children:"Views"})]}),(0,D.jsxs)("div",{className:"mr-2 flex items-center",children:[(0,D.jsx)("div",{className:"mr-2",children:(0,D.jsx)(x.G,{icon:g.di,className:"text-sm text-red-500"})}),(0,D.jsx)("p",{className:"text-xs",children:"Engagement"})]})]}),(0,D.jsx)("div",{className:"line-graph",children:(0,D.jsx)(E,{dailyViews:eb,dailySearchViews:ej,dailyEngagements:eS})})]}),(0,D.jsxs)("div",{className:"graph pb-8",children:[(0,D.jsxs)("div",{className:"graph-legend mb-8 flex justify-end",children:[(0,D.jsxs)("div",{className:"mr-2 flex items-center",children:[(0,D.jsx)("div",{className:"mr-2",children:(0,D.jsx)(x.G,{icon:g.di,className:"text-sm text-orange-300"})}),(0,D.jsx)("p",{className:"text-xs",children:"Email"})]}),(0,D.jsxs)("div",{className:"mr-2 flex items-center",children:[(0,D.jsx)("div",{className:"mr-2",children:(0,D.jsx)(x.G,{icon:g.di,className:"text-sm text-orange-400"})}),(0,D.jsx)("p",{className:"text-xs",children:"Number Reveals"})]}),(0,D.jsxs)("div",{className:"mr-2 flex items-center",children:[(0,D.jsx)("div",{className:"mr-2",children:(0,D.jsx)(x.G,{icon:g.di,className:"text-sm text-orange-500"})}),(0,D.jsx)("p",{className:"text-xs",children:"Number Calls"})]})]}),(0,D.jsx)("div",{className:"line-graph",children:(0,D.jsx)(A.Z,{dailyEnquiries:eA,dailyAgentNumberRevealCount:eh,dailyAgentNumberCallCount:ey})})]}),(0,D.jsxs)("div",{className:"subs-banner relative mb-8",children:[(0,D.jsxs)("div",{className:"DesktopView hidden items-center sm:flex",children:[(0,D.jsx)("div",{className:"mr-0 sm:-mr-20",children:(0,D.jsxs)("div",{className:"relative",children:[(0,D.jsx)("img",{className:"relative z-10",src:W(),alt:"bg-black"}),(0,D.jsx)("img",{className:"absolute left-0 top-0 z-0 ml-6 h-full",src:X(),alt:"bg-blue"}),(0,D.jsxs)("div",{className:"absolute z-20 mr-0",style:{transform:"translate(-50%, -50%)",left:"37%",top:"50%"},children:[(0,D.jsxs)("p",{className:"mb-4 text-base text-white sm:text-lg md:text-xl",children:["You are currently on a\xa0",(null==em?void 0:em.package)==="REACH_PREMIER"&&(0,D.jsx)("span",{children:"GOLD"}),(null==em?void 0:em.package)==="REACH_HIGHLIGHT"&&(0,D.jsx)("span",{children:"SILVER"}),null===em&&(0,D.jsx)("span",{children:"FREE "})," Subscription"]}),(null==em?void 0:em.package)!=="REACH_PREMIER"?(0,D.jsx)(m(),{href:"/brand-builder/".concat(ed),target:"_blank",className:"rounded px-6 py-2 text-base text-white",style:{backgroundColor:"#2863EB"},children:"Upgrade now"}):null]})]})}),(0,D.jsx)("div",{className:"-ml-20 hidden sm:inline",children:(0,D.jsx)("div",{className:"h-full",children:(0,D.jsx)("img",{src:$(),alt:"subscription-banner"})})})]}),(0,D.jsxs)("div",{className:"MobileView block sm:hidden",children:[(0,D.jsxs)("div",{className:"h-full px-3 py-8 text-center",style:{backgroundColor:"#111827"},children:[(0,D.jsxs)("p",{className:"mb-4 text-base text-white sm:text-lg md:text-xl",children:["You are currently on a ",(null==em?void 0:em.package)==="REACH_PREMIER"&&(0,D.jsx)("span",{children:"GOLD"}),(null==em?void 0:em.package)==="REACH_HIGHLIGHT"&&(0,D.jsx)("span",{children:"SILVER"}),null===em&&(0,D.jsx)("span",{children:"FREE "})," Subscription"]}),(null==em?void 0:em.package)!=="REACH_PREMIER"?(0,D.jsx)(m(),{href:"/brand-builder/".concat(ed),target:"_blank",className:"rounded px-6 py-2 text-base text-white",style:{backgroundColor:"#2863EB"},children:"Upgrade now"}):null]}),(0,D.jsx)("div",{className:"h-64 overflow-hidden",children:(0,D.jsx)("img",{className:"h-full object-none",src:$(),alt:"subscription-banner"})})]})]}),(0,D.jsx)(Q,{group:"BUY_RENT",properties:eD})]}),(0,D.jsx)("section",{className:"footer px-12 py-4",style:{backgroundColor:"#111827"},children:(0,D.jsxs)("div",{className:"flex-none items-center justify-center sm:flex",children:[(0,D.jsx)("p",{className:"mb-2 mr-4 text-xs text-white sm:mb-0",children:"Powered by:"}),(0,D.jsx)("img",{className:"h-8",src:S(),alt:"Realty.com.au"})]})})]})});ea.defaultProps={agencyId:""};var et=a(30487),ei=a.n(et),es=a(19517),AgencyPerformanceReport=function(e){var n=e.agencyId;return(0,D.jsx)(ea,{agencyId:n})};AgencyPerformanceReport.defaultProps={agencyId:null},AgencyPerformanceReport.getInitialProps=(t=(0,i.Z)(l().mark(function _callee(e){var n,a,t,i,s,r,d,c;return l().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return n=e.query,a=e.apolloClient,t=e.res,i=n.agencyUuid,l.next=4,a.query({query:ei(),variables:{uuid:i}});case 4:return d=(r=(s=(l.sent.data||{}).agencyByUuid)||{}).isDisabled,c=r.id,(null===s||!0===d)&&t&&(t.statusCode=404),l.abrupt("return",{agencyId:c});case 10:case"end":return l.stop()}},_callee)})),function(e){return t.apply(this,arguments)});var el=(0,es.Z)(AgencyPerformanceReport)},99767:function(e,n,a){"use strict";a.d(n,{Tt:function(){return buildFullAddress},lR:function(){return buildStreetAddress},mN:function(){return buildStateAddress}});var t=a(15419),buildStateAddress=function(e){var n="",a=e||{},i=a.state,s=a.address,l=a.postalCode,r=a.suburb;if(l&&r&&i)n="".concat((0,t.kC)(r),", ").concat(i.toUpperCase()," ").concat(l).trim();else if(s){var d=s.split(",");if(d.length>=2){var c="".concat(d[d.length-1]).trim();n="".concat(d[d.length-2],", ").concat(c).trim()}}return n},buildStreetAddress=function(e){var n="",a=e||{},i=a.address,s=a.street,l=a.streetNumber,r=a.isShowAddress,d=a.subNumber;if(!r)return"";if(s){var c=(0,t.kC)(s.replace("null","").replace(",","").trim());n="".concat(d||"").concat(l&&d?"/":"").concat(l||""," ").concat(c).trim()}else if(i){var m="".concat(buildStateAddress(e)).toLowerCase(),o=i.toLowerCase().replace(m,"").toLowerCase().trim();"".concat(s).endsWith(",")&&(o=s.slice(0,-1)),n=(0,t.kC)("".concat(o))}return n},buildFullAddress=function(e){var n="";if((e||{}).isShowAddress){var a=buildStateAddress(e),t=buildStreetAddress(e);n="".concat(t,", ").concat(a)}else n=buildStateAddress(e);return n}},17676:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/agency/performance-report/[agencyUuid]",function(){return a(55469)}])},41255:function(e){e.exports="/_next/static/images/banner-img-81479d41d8b6b4f3db76ce4464152081.png"},38697:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoMAAAEYCAMAAAAQ+QyhAAAAQlBMVEUAAAAQFyYQFyYQGSEAACQQFycQFyYOFiYOFSYRGCYRFyYRFyYRFyYQGCcRGCcRFyYPFiUOFyQMGCQMGCQAFCcRGCei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Mqhc65J1T6LPNAqNQ5rvNAqNQ55ZFQ/7B3JzcNBEAQRRuzGdkS9oX8QyWBWWw4TJX0Xgz/VIdu0iy+khQqaV5ngVAJs7z1C5Uw51kiVLJ8ziKhkuU+i4RKlNMsEypJVrd+oZLkOiuESpD1rV+oBLnNGqGS4zKrhEqO86wSKjE+Z51QiXGfdUIlxWk2CJUQ21u/UAlxnS1CJcPO1i9UMtxmk1CJcJltQiXC12wTKgm+Z4dQCbD/SlKoBDjNHqFyvAe2fqFyvOvsEiqHe2TrFyqHu80+ofIX1Vu/UKnY+oVKxdYvVCq2fqGS90pSqFS8khQqPeelhcr/vLzPY4TK09q3fqFSsfULlYqtX6hUbP1CpWLrFyoVW79Qqdj6hUrF1i9U8l5JCpWe89JCpXDrFyoVW79Qqdj6hUrF1i9UKrZ+oVKx9QuViq1fqFRs/UKlYusXKnmvJIVKxStJodJzXlqoPO3jbRL8QPjWL1Qqtn6hUrH1C5WKrV+oVGz9QqVi6xcqFVu/UKnY+oVK3itJoVLxSlKoVLySFCqtW79Qqdj6hUrF1i9UKrZ+oVKx9QuViq1fqFRs/UKlYusXKhVbv1DJeyUpVHrOSwuVwq1fqFRs/UKlYusXKhVbv1Cp2PqFSsXWL1Qqtn6h8tveHdMAAMBACPTvuqmLJzk0MLGQaP1ERaL1ExV7K0miIrGSJCoSK0miotr6iYpE6ycqEq2fqEi0fqIi0fqJikTrJyoSrf85wU+XaiN2BMgAAAAASUVORK5CYII="},99784:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAZCAMAAAD63NUrAAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMAwBDwcJBQMCDv4NDPoIBg30CvsG9lLErSAAAAt0lEQVQoz32RWQ6DMAxEx85OKRRa3/+qJTgIsZj385SMyJgEGxwD9SKF5l/CiRyK7NB4CAc50af90F6ujIfQil9yT9ROg8IAi0kAvJ1+AJKK61RthqYJ6zYxQt1kjItcRmxzrfJAWjQAdf1e5KSuVbP2EzDVPkbSX269veqzqWjv08wOyFam/W/z0wyAOyP1qCRnnVvhp/B2ahehcLlk3cBoBH2t5L/a/woRG3rfNEHJONIR+QyDPyVjKBR3OQ1rAAAAAElFTkSuQmCC"},35216:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAZCAMAAABqz6zkAAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA8IBgP8AgMBDQkJ/g36BwULBvHvvmQgAAAPdJREFUKM91U1mixCAIc6N17cb97/r0iQN2nHwZSDEIVRLeGQBELJDspn7AJY0CwfqVCPAN/bxFPlLqts6568idlX1S7aGHYTjyhgw8UkUxs4ilr0j8ZwbS4xe6jXjo1DTzth4syjt8IOoaG9mmy5S4WjgSyVT86LQ2c46H8dUCIjsTVx3VjUgBsoUzxDBoqZ/gwMZH29wLSJmZqlk50qmaNEBnpnzmmwp3+d1phXg3n4VTVaYH9ZrL+W41X4qLnaspO3MbK2d6/N6GScXYxr65z76Re8siOdnwtO1NmtiuXtgA38hWLbBHLUU3iySoTQioAeI1/6d/7iUj2mq53ugAAAAASUVORK5CYII="},9401:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAMAAACw0Z1uAAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMA4gSBavLr5VJCIBn47sTCnJd0FBAqZa4TAAAAU0lEQVQY083MyQ2AMAxEUYeQkIUdpv9WwQ4HG1EA/zRPlkyt00dgWlJTCpB6URmhucHQ8Rz2nKsQXKGnTo5k6D7p75iBRyXoDsNIhrPl+vr8Y6ouEiAM45jU3qsAAAAASUVORK5CYII="},70279:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAZCAMAAAD63NUrAAAANlBMVEUAAAD////////////////////////////////////////////////////////////////////xY8b8AAAAEXRSTlMA8MCgf9BA4I9gEDCAb1CvIAwyCuMAAACBSURBVCjP3c9bDoUgDEVRakHA172d/2StRASOMAH3j5ZFQmrqDk+HGRVF2/Xnb62dAYOk2JhJP9Qiy91vuVRq05Mn50AXJ1jBleQVIFRtMtY9z9usbXkKCRluuzxyQtCy2qRXx+p1U899ZVrTDO+Wqd
1FgtSCoTV9Q30PKGqmD8ZITegMdsa4BSOcAAAAASUVORK5CYII="},92936:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAZCAMAAAAPIl6bAAAAUVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////8IN+deAAAAGnRSTlMAsm5MIvnrlo+EZFtZBvDiw8HAq6Sdf2ldKLLkvLUAAABtSURBVBjTXc5HEoQwEATBkVnWsRZf/38oQkAIui4K5WGi7e/sHIgAjQKtAp0CV4EkCtwU6BXwCgwKPBR4CiRRICj4Aj/dQSxwqQ/jl38wB7xfO9RmgdSYYdtXAd8Md78+pCYrReAT7ZCrfD46A2hoFJLvT+ArAAAAAElFTkSuQmCC"}},function(e){e.O(0,[8199,1664,348,1033,2959,3448,6434,9072,1822,8019,9774,2888,179],function(){return e(e.s=17676)}),_N_E=e.O()}]); 2//# sourceMappingURL=[agencyUuid]-b32345183a3ce3fa.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.