(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 n=__webpack_require__(706794);var l=__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 x=f===undefined?"search":f;let L=k===undefined?"":k;let R=(0,o.P)();let T=(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]!==R?(t=w??R("search"),p[3]=w,p[4]=R,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 n;p[7]!==E||p[8]!==S||p[9]!==L||p[10]!==t?(n={value:L,placeholder:t,onChangeText:E,onClickClearButton:S,autoFocus:!0,inputProps:r},p[7]=E,p[8]=S,p[9]=L,p[10]=t,p[11]=n):n=p[11];let l;return p[12]!==e||p[13]!==n?(l=a.createElement(d.mu,{variant:d.XP.Inline,className:"app-text-field-search",padding:3,paddingHorizontal:4,onClickCancelButton:e,textFieldSearchProps:n}),p[12]=e,p[13]=n,p[14]=l):l=p[14],l}let $;p[15]!==x||p[16]!==T||p[17]!==b||p[18]!==R?($=a.createElement(l.a,{flexDirection:t.uV.Row,alignItems:t.RE.Center,gap:1},x==="search"?a.createElement(i.a,{iconName:r.$M.Search,ariaLabel:R("search"),size:n.f.Md,onClick:b,"data-testid":"page-header-search-button"}):a.createElement(i.a,{iconName:r.$M.Close,ariaLabel:R("close"),size:n.f.Md,onClick:()=>T(h.Sg),"data-testid":"page-header-close-button"})),p[15]=x,p[16]=T,p[17]=b,p[18]=R,p[19]=$):$=p[19];let z=$;let A;p[20]!==R?(A=R("back"),p[20]=R,p[21]=A):A=p[21];let N;p[22]!==g||p[23]!==A?(N=a.createElement(l.a,{flexDirection:t.uV.Row,alignItems:t.RE.Center,gap:1},a.createElement(i.a,{iconName:r.$M.ArrowLeft,ariaLabel:A,size:n.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__}))()}}]);