1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="852eccb9-9797-4e1c-b3b0-140a868697b7",e._sentryDebugIdIdentifier="sentry-dbid-852eccb9-9797-4e1c-b3b0-140a868697b7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4605],{24605:(e,t,a)=>{a.r(t),a.d(t,{ContentRaterListDialog:()=>N});var n=a(97360),s=a(59995),l=a(65154),r=a(34447),o=a(19324),i=a(18059),c=a(50387),u=a(64746),d=a(65832),m=a(19310),g=a(80),f=a(84477),h=a(73152),y=a(79729),p=a(31731),b=a(31279);let k={"ja-JP":{title:"ãã©ãã¼ãã¦ææ°ä½ããã§ãã¯",loginText:"ãã°ã¤ã³ãã¦ãã©ãã¼"}},w=(0,f.default)(()=>Promise.all([a.e(5295),a.e(7621),a.e(8110)]).then(a.bind(a,17621)).then(e=>({default:e.PromptSignupDialogContainer})),{loadableGenerated:{webpack:()=>[17621]},ssr:!1}),x=({creatorKey:e})=>{let t=(0,c.u)(),a=(0,s.Ru)({lang:t,dict:k}),l=(0,p.KU)(e),{viewer:r}=(0,h.ur)(),{followUser:i,unfollowUser:u}=(0,y.z)(e??""),{isDialogOpen:f,openDialog:x,closeDialog:v}=(0,b.p)(),{trackActionLogs:_}=(0,d.sr)(),j=(0,o.useCallback)(async()=>{await i(),_({kind:"user-follow-click",contents:{creator_user_key:e,place:"content_raters_modal"},event:"click",target:"follow",section:"noteDetail"})},[e,i,_]),C=(0,o.useCallback)(async()=>{await u(),_({kind:"user-unfollow-click",contents:{creator_user_key:e,place:"content_raters_modal"},event:"click",target:"follow",section:"noteDetail"})},[e,_,u]),M=(0,o.useCallback)(async e=>{void 0===r?x():!1===e?await C():await j()},[r,j,x,C]);return void 0===l||r?.urlname!==void 0&&void 0!==l.urlname&&r.urlname===l.urlname?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.W,{isFollowing:!0===l.isFollowing,onChange:M,isFull:!1,hasIcon:!1}),(0,n.jsx)(m.A,{onDismiss:v,isDismissable:!0,children:!0===f&&(0,n.jsx)(w,{modalType:"follow",onClose:v,title:a("title"),description:"",loginText:a("loginText")})})]})};var v=a(19634),_=a(26719),j=a(67577),C=a(32684),M=a(77351),P=a(36886),D=a(34560),A=a(20341),E=a(12201),L=a(60587),R=a(91408),S=a(8930),T=a(4168);let I={"ja-JP":{highRatingUsers:"é«è©ä¾¡ããã¦ã¼ã¶ã¼",onlyPurchasersCanRate:"ãé«è©ä¾¡ãã¯è³¼å
¥è
ã®ã¿ãè¡ãã¾ã",seeMore:"ãã£ã¨ã¿ã"}},N=({noteKey:e,raterCont:t})=>{let a=(0,c.u)(),d=(0,s.Ru)({lang:a,dict:I}),[m,g]=(0,o.useState)(1),{raters:f,isLoading:h,isLastPage:y}=((e,t)=>{let[a,n]=(0,o.useState)([]),s=(0,o.useMemo)(()=>({noteKey:e,page:t}),[e,t]),l=(0,C.L)(),{data:r,isLoading:i}=(0,M.s)(v.E3,s,async e=>{if(void 0===e)return null;let{noteKey:t,page:a}=e,n=await _.tS.call(j.A,[t,a],void 0,l).catch(()=>void 0);return void 0===n?null:{entities:n.users.map(e=>new v.oB(e)),info:{isLastPage:n.isLastPage,totalCount:n.totalCount}}},{revalidate:!0});(0,o.useEffect)(()=>{let e=r?.entities.map(e=>e.key)??[];if(0!==e.length||1===t){if(1===t)return void n([...new Set(e)]);n(t=>[...new Set([...t,...e])])}},[r?.entities,t]);let c=(0,p.gN)(a);return{raters:(0,o.useMemo)(()=>c.filter(e=>void 0!==e).map(p.rs),[c]),isLoading:i,isLastPage:r?.info.isLastPage,totalCount:r?.info.totalCount}})(e,m),b=(0,T.g)({creatorHome:l.iQ}),k=(0,o.useCallback)(e=>b.getLinkUrl("creatorHome",{urlname:e.urlname??"",customDomain:e.customDomain}),[b]),w=(0,o.useMemo)(()=>(f??[]).map(e=>({name:e.nickname??e.urlname??"",href:k(e),src:e.profileImageUrl??"",urlname:e.urlname??"",key:e.key??"",slotAction:(0,n.jsx)(i.ServerSuspense,{children:(0,n.jsx)(x,{creatorKey:e.key??""})})})),[f,k]);return(0,n.jsxs)(P.E,{modalPurpose:"contentRaters",hasCloseButton:!0,children:[(0,n.jsx)(D.A,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsxs)("div",{children:[d("highRatingUsers")," ï¼",t,"ï¼"]}),(0,n.jsx)("small",{className:"text-text-secondary text-xs",children:d("onlyPurchasersCanRate")})]})}),(0,n.jsx)(A.A,{unsafeClassName:"p-0 min-h-0",children:(0,n.jsx)(R.J,{items:w,imageElementType:r.default,slotAnchor:(0,n.jsx)(S.M,{linkElementType:u.Link}),slotAction:(0,n.jsx)(n.Fragment,{children:!0===h?(0,n.jsx)("div",{className:"py-4",children:(0,n.jsx)(E.A,{})}
1):!1===y&&(0,n.jsx)(L.A,{variant:"basic",isFull:!0,onPress:()=>{g(e=>e+1)},children:d("seeMore")})})})})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.