(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":()=>b});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);var f=__webpack_require__(749201);let b=()=>{let b=(0,e.c)(25);let y=(0,m.P)();let k=(0,f.w)();let w=(0,l.Zp)();let T=(0,a.d4)(E);let C;if(b[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);C={supportedLocales:e,communityLocales:t},b[0]=C}else C=b[0];let{supportedLocales:L,communityLocales:M}=C;let S;b[1]!==k||b[2]!==w?(S=e=>{k((0,u.DAg)(e)),(0,g.vv)(()=>w(d.uA))},b[1]=k,b[2]=w,b[3]=S):S=b[3];let _=S;let x;b[4]!==T||b[5]!==_?(x=e=>e.map(e=>{let{code:a,name:l}=e;let u=a===T;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:()=>_(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}))}),b[4]=T,b[5]=_,b[6]=x):x=b[6];let $=x;let A;b[7]!==y?(A=y("supportedLanguagesSectionTitle"),b[7]=y,b[8]=A):A=b[8];let B;b[9]!==A?(B=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),b[9]=A,b[10]=B):B=b[10];let I;b[11]!==$?(I=$(L),b[11]=$,b[12]=I):I=b[12];let N;b[13]===Symbol.for("react.memo_cache_sentinel")?(N=t.createElement(p.cG,null),b[13]=N):N=b[13];let D;b[14]!==y?(D=y("communityContributedLanguagesSectionTitle"),b[14]=y,b[15]=D):D=b[15];let J;b[16]!==D?(J=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"},D),b[16]=D,b[17]=J):J=b[17];let R;b[18]!==$?(R=$(M),b[18]=$,b[19]=R):R=b[19];let G;return b[20]!==B||b[21]!==I||b[22]!==J||b[23]!==R?(G=t.createElement(c.a,{"data-testid":"locale-select-list",className:"overflow-y-auto"},B,I,N,J,R),b[20]=B,b[21]=I,b[22]=J,b[23]=R,b[24]=G):G=b[24],G};function E(e){return e.metamask.currentLocale}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);