1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8066],{58066:function(a,e,s){s.r(e),s.d(e,{LocationsTabbed:function(){return T}});var t=s(63696),n=s(5130),o=s(7543),l=s(50213),r=s(75330),c=s(57210),i=s(91785),u=s(15903),d=s(5826),p=s(80945),m=s(72721),b=s(71367),g=s(650),A=s(46845),C=s(62706);const w=(0,i.AH)("&.classHomeComponent,&.classPageFeatureComponent{",(0,p.$)(),";background-color:",r.w.ltBgColour,";}.classPageStandard &:not(.classPageHome &){padding-block:",A.r.lcTabbedStandardWrapperPadTop,";",(0,u.c)(),";",(0,m.r)(),";}&.classIsAlternateDesign,&.classIsAlternateDesign:not(.classPageStandard &){",(0,d.HG)(g.f.xl),"{background-color:",r.w.ltBgAltColour,";}}",""),H=(0,i.AH)("max-width:",C.N.contentWidthPx,";width:100%;margin:auto;background-color:",r.w.ltBgColour,";.classHomeComponent &{",(0,d.HG)(g.f.xl),"{",(0,u.c)(),";}}",""),f=(0,i.AH)("",""),y=(0,i.AH)((0,b.T6)("center"),";padding-top:0;",""),k=(0,i.AH)((0,b.iQ)(),";",""),v=(0,i.AH)((0,b.gw)(),";&.classActiveTab{",(0,b.xy)(),";}&:hover{",(0,b.N7)(".classActiveTab"),";}",""),S=(0,i.AH)("",""),T=a=>{let{componentTypeClassName:e="",isCardComponent:s}=a;const u=(0,l.v)(),{0:d,1:p}=(0,t.useState)(0),{0:m,1:b}=(0,t.useState)(null),{0:g,1:A}=(0,t.useState)(!0),C=(0,t.useRef)(0),T=r.w.ltIsGapMandatory;return u&&0!==u.length&&(0,i.Y)(n.m,{className:e+" "+(s?"":"classItemRequiresPadding")+" classLocationsTabbedWrapper "+(0,o.a)(!1,T)+" "+(u.some((a=>a.useAlternateStyles))?"classIsAlternateDesign classGapMandatory":""),wrapperCustom:w},(0,i.Y)(n.m,{wrapperCustom:H},(0,i.Y)(n.m,{wrapperCustom:f},(0,i.Y)("ul",{css:y},u&&Array.isArray(u)&&u.map(((a,e)=>{var s;return(0,i.Y)("li",{className:"classTabsItem",css:k,key:null==a?void 0:a.info.id},(0,i.Y)("button",{className:e===d?"classActiveTab":"",css:v,type:"button",onClick:()=>(a=>{C.current!==a&&(b(null),A(!0)),p(a),C.current=a})(e),"aria-label":"address"},a.info.tabDisplayName?a.info.tabDisplayName:(null===(s=a.contactDetail)||void 0===s?void 0:s.suburb)||a.info.name))})))),(0,i.Y)(n.m,{wrapperCustom:S},0!==u.length&&(0,i.Y)(c.B,{locationData:u[d],isLocation:g,setIsLocation:A,selectedDepartment:m,setSelectedDepartment:b,isSmallSizeMap:!1}))))}}}]);
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.