1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7708],{7708:function(n,t,e){e.d(t,{A:function(){return z}});var r=e(74848),i=e(96540),o=e(87570),a=e(4999),u=e(24537),l=e(8096),c=e(98776);function s(){var n=(0,u.A)(["\n padding: 40px 0 8px 0;\n\n @media (max-width: 991px) {\n background-size: 80%;\n }\n\n @media (max-width: 767px) {\n background-size: 80%;\n padding: 6px 0 24px;\n }\n @media (max-width: 575px) {\n background-size: 110%;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,u.A)(["\n display: flex;\n text-align: center;\n height: 100%;\n\n @media (max-width: 767px) {\n padding-top: 6px;\n height: 100%;\n }\n"]);return d=function(){return n},n}function f(){var n=(0,u.A)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n h2 {\n text-align: center;\n width: 100%;\n font-weight: 700;\n font-size: 72px;\n line-height: 87px;\n text-align: center;\n letter-spacing: -0.1em;\n background: ",";\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n h4 {\n margin-top: 16px;\n font-weight: 500;\n font-size: 20px;\n line-height: 120%;\n color: ",";\n }\n\n @media (max-width: 991px) {\n h2 {\n font-size: 82px;\n line-height: 99px;\n letter-spacing: -10px;\n }\n\n h4 {\n font-size: 16px;\n line-height: 24px;\n max-width: 345px;\n }\n }\n"]);return f=function(){return n},n}var p=l.Ay.div.withConfig({displayName:"styles__Banner",componentId:"sc-57cedb98-0"})(s()),h=(0,l.Ay)(c.mc).withConfig({displayName:"styles__ContainerBanner",componentId:"sc-57cedb98-1"})(d()),m=l.Ay.div.withConfig({displayName:"styles__Title",componentId:"sc-57cedb98-2"})(f(),function(n){return n.theme.colors.gradient[200]},function(n){return n.theme.colors.neutral[1200]}),g=function(n){var t=n.subtitle;return(0,r.jsx)(p,{children:(0,r.jsx)(h,{children:(0,r.jsxs)(m,{children:[(0,r.jsx)(o.DZ,{level:2,color:"--color-neutral-500-later",children:a.P.pages.error.partials.banner.title}),(0,r.jsx)(o.DZ,{level:4,color:"--color-neutral-500-later",children:t})]})})})},x=e(43026),v=e(70481),y=e(4668);function b(){var n=(0,u.A)(["\n height: 100%;\n min-height: 563px;\n"]);return b=function(){return n},n}function A(){var n=(0,u.A)(["\n padding: 0 0 32px;\n text-align: center;\n\n p {\n font-weight: 400;\n font-size: 14px;\n line-height: 120%;\n color: ",";\n }\n\n @media (max-width: 767px) {\n padding: 0 0 42px;\n p {\n font-size: 14px;\n line-height: 20px;\n }\n }\n"]);return A=function(){return n},n}function w(){var n=(0,u.A)(["\n display: flex;\n justify-content: center;\n padding: 16px;\n"]);return w=function(){return n},n}function C(){var n=(0,u.A)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"]);return C=function(){return n},n}function _(){var n=(0,u.A)(["\n width: 767px;\n height: 58px;\n margin: 16px 0 234px 0;\n box-shadow: 0px 4px 5px -2px rgba(16, 24, 40, 0.03),\n 0px 12px 16px -4px rgba(16, 24, 40, 0.08);\n border-radius: 10px;\n\n @media (max-width: 991px) {\n width: 345px;\n margin-bottom: 130px;\n }\n"]);return _=function(){return n},n}function I(){var n=(0,u.A)(["\n > div {\n border: none;\n placeholder {\n color: var(--color-neutral-400-later);\n font-size: 48px;\n }\n }\n"]);return I=function(){return n},n}function j(){var n=(0,u.A)(["\n flex-basis: 100%;\n background-color: var(--color-neutral-100);\n position: relative;\n padding: 20px;\n"]);return j=function(){return n},n}function N(){var n=(0,u.A)(["\n flex-basis: 100%;\n background-color: var(--color-neutral-100);\n padding: 20px;\n"]);return N=function(){return n},n}var B=l.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-2b8693d5-0"})(b()),k=l.Ay.div.withConfig({displayName:"styles__ErrorMessage",componentId:"sc-2b8693d5-1"})(A(),function(n){return n.theme.colors.neutral[1200]}),T=l.Ay.div.withConfig({displayName:"styles__ContainerLinks",componentId:"sc-2b8693d5-2"})(w());(0,l.Ay)(v.A).withConfig({displayName:"styles__TabContainer",componentId:"sc-2b8693d5-3"})(C()),l.Ay.div.withConfig({displayName:"styles__Input",componentId:"sc-2b8693d5-4"})(_()),(0,l.Ay)(y.A).withConfig({displayName:"styles__Text",componentId:"sc-2b8693d5-
15"})(I()),l.Ay.div.withConfig({displayName:"styles__Loading",componentId:"sc-2b8693d5-6"})(j()),l.Ay.div.withConfig({displayName:"styles__NoResults",componentId:"sc-2b8693d5-7"})(N());var E=e(86715),L=e(10132),z=function(n){var t=n.subtitle,e=n.msgError,o=n.showSearch,u=(0,E.useRouter)(),l=(0,i.useState)(null),c=l[0],s=l[1],d=function(){return c&&"tab-1"===c.value&&u.push("".concat(L.r4,"/S\xe3o_Paulo-SP")),c&&"tab-2"===c.value&&u.push(L.vI),null},f=[{id:0,value:"tab-1",disabled:!1,title:a.P.pages.error.tabs.property},{id:1,value:"tab-2",disabled:!1,title:a.P.pages.error.tabs.brokers}],p=[{value:"tab-1",content:d()},{value:"tab-2",content:d()}];return(0,r.jsxs)(B,{children:[(0,r.jsx)(g,{subtitle:t}),(0,r.jsx)(k,{children:(0,r.jsx)("p",{children:e})}),(void 0===o||o)&&(0,r.jsx)(T,{children:(0,r.jsx)(x.A,{tabs:f,tabsContent:p,activeTab:null!=c?c:f[0],setActiveTab:s,contentPadding:"0 15px 0 15px"})})]})}},70481:function(n,t,e){e.d(t,{A:function(){return g}});var r=e(53513),i=e(63538),o=e(53455),a=e(74848),u=e(96540),l=e(80714),c=e(33096),s=e(41244),d=e(24537),f=e(8096);function p(){var n=(0,d.A)([""]);return p=function(){return n},n}var h=f.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-a915a45f-0"})(p()),m=function(n){var t=n.children,e=n.className,u=(0,o.A)(n,["children","className"]),d=t.find(function(n){return n.type===c.A}),f=t.find(function(n){return n.type===l.A}),p=t.find(function(n){var t=n.type;return t!==c.A&&t!==l.A});return d&&f?(0,a.jsx)(s.f,{children:(0,a.jsxs)(h,(0,i.A)((0,r.A)({className:e},u),{children:[d,p,f]}))}):null},g=(0,u.memo)(m)},80714:function(n,t,e){e.d(t,{A:function(){return f}});var r=e(53513),i=e(63538),o=e(53455),a=e(74848),u=e(96540),l=e(24537),c=e(8096);function s(){var n=(0,l.A)([""]);return s=function(){return n},n}var d=c.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-a915a45f-0"})(s()),f=function(n){var t=n.children,e=(0,o.A)(n,["children"]);return(0,a.jsx)(d,(0,i.A)((0,r.A)({},e),{children:t.map(function(n,t){if((0,u.isValidElement)(n))return(0,a.jsx)(u.Fragment,{children:(0,u.cloneElement)(n,{index:t})},t)})}))}},33096:function(n,t,e){e.d(t,{A:function(){return v}});var r=e(53513),i=e(63538),o=e(53455),a=e(74848),u=e(96540),l=e(86856),c=e(41244),s=e(24537),d=e(8096);function f(){var n=(0,s.A)(["\n width: ","px;\n left: ","px;\n position: absolute;\n height: 2px;\n background-color: ",";\n bottom: -1px;\n transition-duration: 0.4s;\n transition-timing-function: ease;\n"]);return f=function(){return n},n}var p=d.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-5695a39a-0"})(f(),function(n){return n.width},function(n){return n.left},function(n){return n.theme.colors.primary[1100]}),h=function(){var n=(0,l.i7)(c.H,function(n){return n.tabIndex}),t=(0,u.useState)({left:0,width:0}),e=t[0],r=t[1],i=(0,l.i7)(c.H,function(n){return n.getTabProps});return(0,u.useEffect)(function(){var t=i(n);if(t){var e=Array.from(Array(n).keys()).reduce(function(n,t){var e=i(t);return n+((null==e?void 0:e.width)||0)},0);r({width:t.width,left:e})}},[i,n]),(0,a.jsx)(p,{width:e.width,left:e.left})};function m(){var n=(0,s.A)(["\n display: flex;\n flex-direction: row;\n position: relative;\n border-bottom: 1px solid var(--color-neutral-300);\n"]);return m=function(){return n},n}var g=d.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-45f1edf5-0"})(m()),x=function(n){var t=n.children,e=(0,o.A)(n,["children"]),s=(0,l.i7)(c.H,function(n){return n.tabIndex});return(0,a.jsxs)(g,(0,i.A)((0,r.A)({id:"tab_header"},e),{children:[t.map(function(n,t){if((0,u.isValidElement)(n))return(0,a.jsx)(u.Fragment,{children:(0,u.cloneElement)(n,{index:t,tabIndex:s})},t)}),(0,a.jsx)(h,{})]}))},v=(0,u.memo)(x)},41244:function(n,t,e){e.d(t,{H:function(){return l},f:function(){return c}});var r=e(38971),i=e(53513),o=e(63538),a=e(74848),u=e(96540),l=(0,e(86856).q6)({}),c=function(n){var t=n.children,e=(0,u.useState)(0),c=e[0],s=e[1],d=(0,u.useState)({}),f=d[0],p=d[1],h=(0,u.useState)([]),m=h[0],g=h[1],x=(0,u.useCallback)(function(n,t){return p(function(e){return(0,o.A)((0,i.A)({},e),(0,r.A)({},n,t))})},[]),v=(0,u.useCallback)(function(n){return f[n]},[f]);return(0,a.jsx)(l.Provider,{value:{tabIndex:c,setTabIndex:s,getTabProps:v,addTabProps:x,setTabRendered:g,tabRendered:m},children:t})}},4668:function(n,t,e){e.d(t,{A:function(){return z}});var r=e(53455),i=e(40568),o=e(74848),a=e(8969),u=e(96540),l=e(73064),c=e(8096),s=e(59218),d=e(76333),f=e(11695);function p(n){return(0,o.jsx)(f.i,{marginTop:n.marginTop,marginBottom:n.marginBottom,isError:n.isError,disabled:n.disabled,isFocus:n.isFocus,boxSize:n.boxSize,variant:n.variant,children:n.children})}var h=e(24537);function m(){var n=(0,h.A)(["\n width: 100%;\n height: auto;\n"]);return m=function(){return n},n}function g(){var n=(0,h.A)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n margin-top: ",";\n\n .inputWrapper {\n display: flex;\n justify-content: center;
1\n align-items: center;\n position: relative;\n padding: ",";\n height: 100%;\n }\n"]);return g=function(){return n},n}function x(){var n=(0,h.A)(["\n height: 10px;\n padding: 0px 10px;\n padding-left: ",";\n padding-right: ",";\n margin-left: ",";\n margin-right: ",";\n margin-bottom: 5px;\n font-weight: 400;\n font-size: 10px;\n line-height: 10px;\n text-align: ",";\n color: ",";\n"]);return x=function(){return n},n}function v(){var n=(0,h.A)(["\n border: ",";\n outline: none;\n width: 100%;\n height: 100%;\n padding: ",";\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n text-align: ",";\n background-color: ",";\n\n &:hover {\n transition: 0.6s;\n border-bottom: ",";\n }\n\n &:focus {\n transition: 0.6s;\n border-bottom: ",";\n }\n\n :disabled {\n background-color: var(--color-neutral-200-later);\n color: var(--color-neutral-400);\n\n &::placeholder {\n color: var(--color-neutral-400-later);\n }\n }\n\n &::placeholder {\n color: ",";\n }\n"]);return v=function(){return n},n}function y(){var n=(0,h.A)(["\n display: flex;\n position: ",";\n ",";\n padding: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 34px;\n color: ",";\n border-right: ",";\n"]);return y=function(){return n},n}function b(){var n=(0,h.A)(["\n right: 0;\n margin-right: 10px;\n\n font-weight: 600;\n font-size: 14px;\n line-height: 34px;\n color: ",";\n\n border-left: ",";\n padding-left: ",";\n"]);return b=function(){return n},n}function A(){var n=(0,h.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n .optionalMessage {\n color: var(",");\n line-height: 18px;\n font-size: 12px;\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n }\n"]);return A=function(){return n},n}function w(){var n=(0,h.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n .leftSide {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n"]);return w=function(){return n},n}function C(){var n=(0,h.A)(["\n color: var(--color-neutral-500-later);\n line-height: 18px;\n font-size: 12px;\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n text-align: end;\n flex: 1;\n"]);return C=function(){return n},n}var _=c.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-379cbd17-0"})(m()),I=c.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__ContentContainer",componentId:"sc-379cbd17-1"})(g(),function(n){return n.inputBorderBottom?"5px":"0"},function(n){return n.inputBorderBottom?"0 20px":"0"}),j=c.Ay.label.attrs(function(n){return n}).withConfig({displayName:"styles__InputLabel",componentId:"sc-379cbd17-2"})(x(),function(n){return n.hasLeftIcon||n.isCurrency?"30px":""},function(n){return n.hasRightIcon?"30px":""},function(n){return n.isCurrency?"20px":""},function(n){return n.isGaugeLength?"20px":""},function(n){return n.isGaugeLength?"end":""},function(n){return n.isError?"var(--color-error-300-later)":"var(--color-neutral-500)"}),N=c.Ay.input.attrs(function(n){return n}).withConfig({displayName:"styles__Content",componentId:"sc-379cbd17-3"})(v(),function(n){return n.inputBorderBottom?"1px solid transparent":"none"},function(n){return n.isLeftIcon?"0 10px 5px 30px":"0 10px"},function(n){return n.isGaugeLength?"end":""},function(n){return"default"===n.variant?"":"transparent"},function(n){return n.inputBorderBottom?"1px solid var(--color-neutral-400-later)":"none"},function(n){return n.inputBorderBottom?"1px solid var(--color-neutral-600-later)":"none"},function(n){return n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"}),B=c.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__LeftIcon",componentId:"sc-379cbd17-4"})(y(),function(n){return n.inputBorderBottom?"absolute":"static"},function(n){return n.inputBorderBottom?"left: 20px":"margin-left: 10px"},function(n){return n.inputBorderBottom?"0 0 5px 0":"0 12px 0 0"},function(n){return n.hasValue?"var(--color-neutral-700)":"var(--color-neutral-600)"},function(n){return n.isCurrency?"1px solid ".concat(n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"):""}),k=c.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__RightIcon",componentId:"sc-379cbd17-5"})(b(),function(n){return n.hasValue?"var(--color-neutral-700)":"var(--color-neutral-600)"},function(n){return n.isGaugeLength?"1px solid ".concat(n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"):"none"},function(n){return n.isGaugeLength?"12px":""}),T=c.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__BottomText",componentId:"sc-379cbd17-6"})(A(),function(n){return n.bottomTextColor||"--color-neutral-500-later"}),E=c.Ay.div.withConfig({displayName:"styles__BottomInput",componentId:"sc-379cbd17-7"})(w()),L=c.Ay.div.withConfig({displayName:"styles__CountWord",componentId:"sc-379cbd17-8"})(C()),z=function(n){var t=n.placeholder,e=n.persistPlaceholder,f=n.name,h=n.onChange,m=n.boxSize,g=n.variant,x=void 0===g?"default":g,v=n.marginTop,y=n.marginBottom,b=n.maxLength,A=n.value,w=n.disabled,C=n.rightIcon,z=n.leftIcon,S=n.optionalMe
1ssage,P=n.wordCount,R=n.isError,F=void 0!==R&&R,M=n.touched,V=n.type,$=n.inputBorderBottom,G=n.bottomTextColor,W=n.className,H=n.inputRef,D=(0,r.A)(n,["placeholder","persistPlaceholder","name","onChange","boxSize","variant","marginTop","marginBottom","maxLength","value","disabled","rightIcon","leftIcon","optionalMessage","wordCount","isError","touched","type","inputBorderBottom","bottomTextColor","className","inputRef"]),q=(0,i.A)((0,l.Mt)(f),3),Z=q[1],U=q[2],J=(0,u.useState)(!1),K=J[0],O=J[1],Q=(0,u.useState)("password"),X=Q[0],Y=Q[1],nn=(0,c.DP)().colors,nt=(0,u.useState)((0,o.jsx)(s.h,{name:"EyeLight",dimension:"18",fill:nn.neutral[500]})),ne=nt[0],nr=nt[1],ni=void 0!==Z.error,no=Z.error,na="password"===V,nu="currency"===V||"currencyDecimal"===V,nl="gaugeLength"===V,nc=(0,a.A)({value:Z.value||A||"",mask:V}),ns=function(n){var t=n.target.value,e=U.setValue;if(h){var r=(0,a.A)({value:t,mask:V});return n.target.value=r,e(t),h(n)}},nd=function(){na&&("password"===X?(Y("text"),nr((0,o.jsx)(s.h,{name:"EyeSlashLight",dimension:"18",fill:nn.primary[500]}))):(Y("password"),nr((0,o.jsx)(s.h,{name:"EyeLight",dimension:"18",fill:nn.neutral[500]}))))},nf=function(){O(!0)},np=function(n){D.onBlur&&D.onBlur(n),O(!1)};return(0,u.useEffect)(function(){(0,U.setValue)(A)},[A]),(0,o.jsxs)(_,{className:W,children:[(0,o.jsx)(p,{marginTop:v,marginBottom:y,isError:F,disabled:w,isFocus:K,boxSize:void 0===m?"default":m,variant:x,children:(0,o.jsxs)(I,{inputBorderBottom:$,children:[void 0!==e&&e&&A?(0,o.jsx)(j,{hasLeftIcon:!!z,hasRightIcon:!!C,isError:F,isCurrency:nu,isGaugeLength:nl,children:t}):null,(0,o.jsxs)("label",{className:"inputWrapper","aria-label":t,children:[(z||nu)&&(0,o.jsx)(B,{inputBorderBottom:$,isError:F,isCurrency:nu,hasValue:!!A,children:nu?"R$":z}),(0,o.jsx)(N,{ref:H,type:na?X:V,variant:x,isError:F,isLeftIcon:!!z,isGaugeLength:nl,disabled:w,placeholder:t,onChange:ns,onFocus:nf,onBlur:np,name:f,value:nc,maxLength:b,autoComplete:null==D?void 0:D.autoComplete,inputBorderBottom:$,autoFocus:null==D?void 0:D.autoFocus}),(C||na)&&(0,o.jsx)(k,{isError:F,isGaugeLength:"gaugeLength"===V,hasValue:!!A,onClick:nd,children:na?ne:C})]})]})}),(0,o.jsxs)(E,{children:[ni&&M&&(0,o.jsx)(d.A,{errorMessage:no}),S&&!ni&&A&&(0,o.jsx)(T,{bottomTextColor:void 0===G?"--color-neutral-500-later":G,children:S&&(0,o.jsx)("div",{className:"optionalMessage",children:S})}),P&&(0,o.jsxs)(L,{children:[P,"/",b]})]})]})}},76333:function(n,t,e){e.d(t,{A:function(){return c}});var r=e(74848),i=e(13749),o=e(24537),a=e(8096);function u(){var n=(0,o.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 15px;\n margin-top: 5px;\n margin-left: 2px;\n\n .textMessage {\n margin-left: 6.5px;\n font-weight: 400;\n font-size: 10px;\n line-height: 15px;\n color: var(--color-error-300);\n }\n"]);return u=function(){return n},n}var l=a.Ay.div.withConfig({displayName:"styles__WarningMessage",componentId:"sc-22ab8bc2-0"})(u()),c=function(n){var t=n.errorMessage;return(0,r.jsxs)(l,{children:[(0,r.jsx)(i.A,{name:"WarningCircle",dimension:"12"}),(0,r.jsx)("div",{className:"textMessage",children:t})]})}},43026:function(n,t,e){e.d(t,{A:function(){return j}});var r=e(38971),i=e(53513),o=e(63538),a=e(53455),u=e(74848),l=e(96540),c=e(24537),s=e(8096),d=e(44514),f=e(59218);function p(){var n=(0,c.A)(["\n overflow-y: auto;\n overflow-x: hidden;\n"]);return p=function(){return n},n}function h(){var n=(0,c.A)(["\n display: flex;\n flex-direction: row;\n flex-shrink: 0;\n height: auto;\n font-family: ",";\n border-bottom: ",";\n overflow-x: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n &::-webkit-scrollbar {\n display: none; /* Safari and Chrome */\n }\n cursor: pointer;\n position: relative;\n overflow-y: hidden;\n\n :disabled {\n cursor: none;\n }\n"]);return h=function(){return n},n}function m(){var n=(0,c.A)(["\n display: flex;\n position: absolute;\n width: ","px;\n box-sizing: content-box;\n left: ","px;\n transition-duration: 0.4s;\n transition-timing-function: ease;\n height: 2px;\n background-color: ",";\n margin-bottom: -1px;\n align-self: end;\n"]);return m=function(){return n},n}function g(){var n=(0,c.A)(["\n color: ",";\n font-weight: 600;\n\n svg {\n transition-duration: 0.4s;\n transition-timing-function: ease;\n fill: ",";\n }\n "]);return g=function(){return n},n}function x(){var n=(0,c.A)(["\n display: flex;\n font-family: inherit;\n background-color: inherit;\n padding: 8px 16px;\n font-size: 14px;\n font-weight: 500;\n line-height: 16.8px;\n color: ",";\n border: none;\n transition-duration: 0.4s;\n transition-timing-function: ease;
1\n cursor: pointer;\n\n span {\n white-space: nowrap;\n pointer-events: none;\n }\n\n &:hover:not([disabled]) {\n color: ",";\n font-weight: 600;\n\n svg {\n transition-duration: 0.4s;\n transition-timing-function: ease;\n fill: ",";\n }\n }\n\n ","\n\n &[data-state='active'] {\n color: ",";\n font-weight: 600;\n\n svg {\n transition-duration: 0.4s;\n transition-timing-function: ease;\n fill: ",";\n }\n }\n\n :disabled {\n color: ",";\n cursor: not-allowed;\n\n svg {\n fill: ",";\n }\n }\n"]);return x=function(){return n},n}function v(){var n=(0,c.A)(["\n padding: ",";\n"]);return v=function(){return n},n}function y(){var n=(0,c.A)(["\n margin-right: 8px;\n fill: ",";\n"]);return y=function(){return n},n}var b=(0,s.Ay)(d.bL).withConfig({displayName:"styles__TabsPrimitiveRoot",componentId:"sc-3547cf59-0"})(p()),A=(0,s.Ay)(d.B8).withConfig({displayName:"styles__Tab",componentId:"sc-3547cf59-1"})(h(),function(n){return n.theme.font.family},function(n){var t=n.theme;return"1px solid ".concat(t.colors.neutral[400])}),w=s.Ay.div.withConfig({displayName:"styles__Border",componentId:"sc-3547cf59-2"})(m(),function(n){return n.$width},function(n){return n.$left},function(n){return n.theme.colors.primary[1100]}),C=(0,s.Ay)(d.l9).withConfig({displayName:"styles__TabTrigger",componentId:"sc-3547cf59-3"})(x(),function(n){return n.theme.colors.neutral[1e3]},function(n){return n.theme.colors.primary[1100]},function(n){return n.theme.colors.primary[1100]},function(n){return n.$isSelected&&(0,s.AH)(g(),function(n){return n.theme.colors.primary[1100]},function(n){return n.theme.colors.primary[1100]})},function(n){return n.theme.colors.primary[1100]},function(n){return n.theme.colors.primary[1100]},function(n){return n.theme.colors.neutral[200]},function(n){return n.theme.colors.neutral[200]}),_=(0,s.Ay)(d.UC).withConfig({displayName:"styles__TabsPrimitiveContent",componentId:"sc-3547cf59-4"})(v(),function(n){return n.$padding}),I=(0,s.Ay)(f.h).withConfig({displayName:"styles__Icon",componentId:"sc-3547cf59-5"})(y(),function(n){return n.theme.colors.neutral[1e3]}),j=function(n){var t,e,c,s=n.tabs,d=n.tabsContent,f=n.activeTab,p=n.setActiveTab,h=n.contentPadding,m=void 0===h?"0":h,g=(0,a.A)(n,["tabs","tabsContent","activeTab","setActiveTab","contentPadding"]),x=(0,l.useState)({left:0,width:0}),v=x[0],y=x[1],j=(0,l.useState)({}),N=j[0],B=j[1],k=(0,l.useRef)([]);(0,l.useEffect)(function(){k.current=k.current.slice(0,s.length)},[s]);var T=(0,l.useCallback)(function(n,t){return B(function(e){return(0,o.A)((0,i.A)({},e),(0,r.A)({},n,t))})},[]);(0,l.useEffect)(function(){var n=[];return s.forEach(function(t,e){var r=setTimeout(function(){var n=k.current[e],r={width:(null==n?void 0:n.offsetWidth)||0};T(t.id,r)},200);n.push(r)}),function(){n.forEach(clearTimeout)}},[T,s]);var E=(0,l.useCallback)(function(n){return N[n]},[N]);(0,l.useEffect)(function(){var n,t,e,r=null!==(e=null!==(t=null==f?void 0:f.value)&&void 0!==t?t:null===(n=s[0])||void 0===n?void 0:n.value)&&void 0!==e?e:"";if(r){var i=function(){var n=s.findIndex(function(n){return n.value===r});if(!(n<0)){var t=k.current[n];if(t){var e=E(s[n].id),i=(null==e?void 0:e.width)||t.offsetWidth||0,o=t.offsetLeft||0;y(function(n){return n.width===i&&n.left===o?n:{width:i,left:o}})}}},o=requestAnimationFrame(i),a=setTimeout(i,200);return function(){cancelAnimationFrame(o),clearTimeout(a)}}},[E,f,s]);var L=(0,l.useCallback)(function(n,t){var e=s.findIndex(function(n){return n.id===t.id});e>=0&&(k.current[e]=n)},[s]),z=(0,l.useCallback)(function(n){if(n!==(null==f?void 0:f.value)){var t=s.find(function(t){return t.value===n});t&&p(t)}},[s,p,null==f?void 0:f.value]),S=null!==(c=null!==(e=null==f?void 0:f.value)&&void 0!==e?e:null===(t=s[0])||void 0===t?void 0:t.value)&&void 0!==c?c:"";return(0,u.jsxs)(b,{value:S,onValueChange:z,children:[(0,u.jsxs)(A,{"data-testid":"".concat(g["data-testid"],"-container"),children:[s.map(function(n){return(0,u.jsxs)(C,{ref:function(t){return L(t,n)},value:n.value,disabled:n.disabled||!1,$isSelected:S===n.value,onClick:function(){return z(n.value)},"data-testid":"".concat(g["data-testid"],"-").concat(n.id),className:"gtm-click-class","data-click-id":"bt-tab-".concat(n.title.toLocaleLowerCase().replace(/\s/g,"-")),children:[n.icon&&(0,u.jsx)(I,{name:n.icon,dimension:"16"}),(0,u.jsx)("span",{children:n.title})]},n.value)}),(0,u.jsx)(w,{$width:v.width,$left:v.left})]}),d.map(function(n,t){return(0,u.jsx)(_,{value:n.value,$padding:m,"data-testid":"".concat(g["data-testid"],"-").concat(t),children:n.content},n.value)})]})}}}]);
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.