(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[3956],{923956(__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__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{"default":()=>f});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var a=__webpack_require__(48084);var l=__webpack_require__(107495);var r=__webpack_require__(556734);var o=__webpack_require__(848574);var n=__webpack_require__(305142);var c=__webpack_require__(126528);var i=__webpack_require__(219384);var s=__webpack_require__(68940);var u=__webpack_require__(79222);var d=__webpack_require__(423533);var m=__webpack_require__(917214);var v=__webpack_require__(894521);var h=__webpack_require__(808069);var p=__webpack_require__(476637);var g=__webpack_require__(709723);let f=()=>{let f=(0,e.c)(25);let E=(0,m.P)();let y=(0,a.wA)();let k=(0,l.Zp)();let w=(0,a.d4)(b);let T;if(f[0]===Symbol.for("react.memo_cache_sentinel")){let e=[];let t=[];for(let a of v)(0,h.fi)(a.code)?e.push(a):t.push(a);T={supportedLocales:e,communityLocales:t},f[0]=T}else T=f[0];let{supportedLocales:C,communityLocales:L}=T;let M;f[1]!==y||f[2]!==k?(M=e=>{y((0,u.DAg)(e)),(0,g.vv)(()=>k(d.uA))},f[1]=y,f[2]=k,f[3]=M):M=f[3];let S=M;let _;f[4]!==w||f[5]!==S?(_=e=>e.map(e=>{let{code:a,name:l}=e;let u=a===w;return t.createElement(c.a,{key:a,"data-testid":`locale-option-${a}`,flexDirection:r.uV.Row,justifyContent:r.TE.Between,alignItems:r.RE.Center,className:`w-full cursor-pointer border-0 p-4 ${u?"bg-muted hover:bg-muted-hover":"bg-background-default hover:bg-background-default-hover"}`,onClick:()=>S(a)},t.createElement(s.E,{variant:o.J3.BodyMd,fontWeight:o.IT.Medium},l),u&&t.createElement(i.I,{name:n.$M.Check,size:n.lK.Md,color:n.Li.IconDefault}))}),f[4]=w,f[5]=S,f[6]=_):_=f[6];let x=_;let A;f[7]!==E?(A=E("supportedLanguagesSectionTitle"),f[7]=E,f[8]=A):A=f[8];let $;f[9]!==A?($=t.createElement(s.E,{variant:o.J3.BodyMd,color:o.r7.TextAlternative,className:"px-4 pt-3 pb-2","data-testid":"supported-languages-section-heading"},A),f[9]=A,f[10]=$):$=f[10];let B;f[11]!==x?(B=x(C),f[11]=x,f[12]=B):B=f[12];let I;f[13]===Symbol.for("react.memo_cache_sentinel")?(I=t.createElement(p.cG,null),f[13]=I):I=f[13];let N;f[14]!==E?(N=E("communityContributedLanguagesSectionTitle"),f[14]=E,f[15]=N):N=f[15];let D;f[16]!==N?(D=t.createElement(s.E,{variant:o.J3.BodyMd,color:o.r7.TextAlternative,className:"px-4 pt-3 pb-2","data-testid":"community-languages-section-heading"},N),f[16]=N,f[17]=D):D=f[17];let J;f[18]!==x?(J=x(L),f[18]=x,f[19]=J):J=f[19];let R;return f[20]!==$||f[21]!==B||f[22]!==D||f[23]!==J?(R=t.createElement(c.a,{"data-testid":"locale-select-list",className:"overflow-y-auto"},$,B,I,D,J),f[20]=$,f[21]=B,f[22]=D,f[23]=J,f[24]=R):R=f[24],R};function b(e){return e.metamask.currentLocale}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);