(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[5404],{165404(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{d:()=>u});var e=__webpack_require__(303280);__webpack_require__.n(e);var a=__webpack_require__(860012);var t=__webpack_require__(556734);var r=__webpack_require__(305142);var l=__webpack_require__(706794);var n=__webpack_require__(126528);var i=__webpack_require__(805600);var c=__webpack_require__(107495);var o=__webpack_require__(917214);var s=__webpack_require__(697141);var d=__webpack_require__(779865);var h=__webpack_require__(423533);let u=u=>{let p=(0,e.c)(29);let{title:m,endAction:f,onBack:g,isSearchOpen:v,onOpenSearch:b,onCloseSearch:C,searchValue:k,searchPlaceholder:w,onSearchChange:E,onSearchClear:S,showSearchBorder:M}=u;let L=f===undefined?"search":f;let R=k===undefined?"":k;let T=(0,o.P)();let $=(0,c.Zp)();if(v===undefined?!1:v){let e;p[0]!==C||p[1]!==S?(e=()=>{C?.(),S?.()},p[0]=C,p[1]=S,p[2]=e):e=p[2];let t;p[3]!==w||p[4]!==T?(t=w??T("search"),p[3]=w,p[4]=T,p[5]=t):t=p[5];let r;p[6]===Symbol.for("react.memo_cache_sentinel")?(r={"data-testid":"page-header-search-input"},p[6]=r):r=p[6];let l;p[7]!==E||p[8]!==S||p[9]!==R||p[10]!==t?(l={value:R,placeholder:t,onChangeText:E,onClickClearButton:S,autoFocus:!0,inputProps:r},p[7]=E,p[8]=S,p[9]=R,p[10]=t,p[11]=l):l=p[11];let n;return p[12]!==e||p[13]!==l?(n=a.createElement(d.mu,{variant:d.XP.Inline,className:"w-full",padding:3,paddingHorizontal:4,onClickCancelButton:e,textFieldSearchProps:l}),p[12]=e,p[13]=l,p[14]=n):n=p[14],n}let x;p[15]!==L||p[16]!==$||p[17]!==b||p[18]!==T?(x=a.createElement(n.a,{flexDirection:t.uV.Row,alignItems:t.RE.Center,gap:1},L==="search"?a.createElement(i.a,{iconName:r.$M.Search,ariaLabel:T("search"),size:l.f.Md,onClick:b,"data-testid":"page-header-search-button"}):a.createElement(i.a,{iconName:r.$M.Close,ariaLabel:T("close"),size:l.f.Md,onClick:()=>$(h.Sg),"data-testid":"page-header-close-button"})),p[15]=L,p[16]=$,p[17]=b,p[18]=T,p[19]=x):x=p[19];let z=x;let A;p[20]!==T?(A=T("back"),p[20]=T,p[21]=A):A=p[21];let N;p[22]!==g||p[23]!==A?(N=a.createElement(n.a,{flexDirection:t.uV.Row,alignItems:t.RE.Center,gap:1},a.createElement(i.a,{iconName:r.$M.ArrowLeft,ariaLabel:A,size:l.f.Md,onClick:g,"data-testid":"page-header-back-button"})),p[22]=g,p[23]=A,p[24]=N):N=p[24];let P=N;let _;return p[25]!==z||p[26]!==P||p[27]!==m?(_=a.createElement(s.Y9,{startAccessory:P,endAccessory:z},m),p[25]=z,p[26]=P,p[27]=m,p[28]=_):_=p[28],_}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);