Build 603132stable
Module 660110
1,702 characters · in 4efd2a7c194862b6.jsDependencies
Source Raw
function(e,n,r){r.d(n,{A:()=>_,V:()=>M});var t,i=r(477900);r(582128);var s=r(28863),l=r(683071),a=r(331322),o=r(885574),c=r(738188),d=r(834730),u=r(404778),h=r(975807),x=r(31720),j=r(847599),f=r(931374),p=r(975571),A=r(418208),v=r(652215),T=r(375708);function g(){return(0,f.yM)()?T.intl.format(T.t.iWGjcg,{hook:e=>(0,i.jsx)(s.Anchor,{onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,h.A)(p.A.getArticleURL(v.MVz.TIGGER_PAWTECT_LEARN_MORE))},useDefaultUnderlineStyles:!1,children:e.join("")})}):T.intl.format(T.t.edpbxy,{hook:e=>(0,i.jsx)(s.Anchor,{onClick:e=>{e.preventDefault(),e.stopPropagation(),x.A.showAgeVerificationGetStartedModal({entryPoint:j.q1.START_STAGE_PROMPT})},useDefaultUnderlineStyles:!1,children:e.join("")})})}function m(e){let{className:n}=e,r=(0,f.yM)();return(0,i.jsx)("div",{className:n,children:(0,i.jsx)(l.w,{type:r?"info":"warning",children:(0,i.jsx)(g,{})})})}function y(e){let{className:n}=e,r=(0,f.yM)();return(0,i.jsx)("div",{className:n,children:(0,i.jsxs)(a.B,{direction:"horizontal",gap:4,align:"center",children:[r?(0,i.jsx)(o.CircleInformationIcon,{size:"refresh_sm",color:"var(--text-default)"}):(0,i.jsx)(c.WarningIcon,{size:"refresh_sm",color:"var(--text-default)"}),(0,i.jsx)(d.E,{color:"text-default",variant:"text-sm/medium",children:(0,i.jsx)(g,{})})]})})}var M=((t={})[t.TOP=0]="TOP",t[t.BOTTOM=1]="BOTTOM",t);function _(e){let{className:n,noBackground:r,divider:t,channelId:s}=e;if(!(0,A.Vv)(s??void 0))return null;let l=Array.isArray(t)?t:null!=t?[t]:[];return(0,i.jsxs)(i.Fragment,{children:[l.includes(0)&&(0,i.jsx)(u.c,{gap:16}),(0,i.jsx)("div",{className:n,children:r?(0,i.jsx)(y,{}):(0,i.jsx)(m,{})}),l?.includes(1)&&(0,i.jsx)(u.c,{gap:16})]})}}