PageSourceSearch

https://www.volumn.ai/_next/static/chunks/21383.f0dab98de4e43e0b.js

js volumn.ai collected 2026-10-01 16:18:18 UTC 17,623 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21383],{21383:(e,n,a)=>{a.r(n),a.d(n,{TabAutoReplySettings:()=>r,default:()=>l});var s=a(53757);a(24361);var t=a(60039),i=a(79428),c=a(17671),d=a(33004);function r(e){let{activeTab:n,allowed:a,authError:r,authReady:l,auto:x,autoReplyConfigError:o,autoReplyConfigLoading:m,autoReplyConfigMessage:b,autoReplyConfigSaving:z,autoReplyFallbackModelId:p,autoReplyFeedCrawler:h,autoReplyFeedTimeline:u,autoReplyFilterOlderThanHour:j,autoReplyHotWindowMinutes:k,autoReplyLinkTypeFilterEnabled:v,autoReplyLinkTypeFilterModelId:g,autoReplyLowFollowerFeedCrawler:N,autoReplyLowFollowerFeedTimeline:f,autoReplyLowFollowerThreshold:y,autoReplyMaxPerHour:w,autoReplyMemeReplyUiEnabled:C,autoReplyMinIntervalSeconds:A,autoReplyModelId:_,autoReplyPoliticalFallbackModelId:R,autoReplyPoliticalModelId:F,autoReplyPrivilegedUserIds:I,autoReplyTimelineApiSource:T,autoReplyTopicFallbackModelId:P,autoReplyTopicModelId:E,disabled:S,followers:q,input:M,items:B,key:D,label:G,loadAutoReplyConfig:H,map:J,medium:K,modelOptions:L,name:O,rows:Q,saveAutoReplyConfig:U,setAutoReplyFallbackModelId:V,setAutoReplyFeedCrawler:W,setAutoReplyFeedTimeline:X,setAutoReplyFilterOlderThanHour:Y,setAutoReplyHotWindowMinutes:Z,setAutoReplyLinkTypeFilterEnabled:$,setAutoReplyLinkTypeFilterModelId:ee,setAutoReplyLowFollowerFeedCrawler:en,setAutoReplyLowFollowerFeedTimeline:ea,setAutoReplyLowFollowerThreshold:es,setAutoReplyMaxPerHour:et,setAutoReplyMemeReplyUiEnabled:ei,setAutoReplyMinIntervalSeconds:ec,setAutoReplyModelId:ed,setAutoReplyPoliticalFallbackModelId:er,setAutoReplyPoliticalModelId:el,setAutoReplyPrivilegedUserIds:ex,setAutoReplyTimelineApiSource:eo,setAutoReplyTopicFallbackModelId:em,setAutoReplyTopicModelId:eb,text:ez,type:ep,userId:eh,value:eu}=e;return(0,s.jsxs)("section",{className:"rounded-xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(t.A,{className:"h-4 w-4 text-zinc-500"}),(0,s.jsx)("h2",{className:"text-sm font-semibold",children:"自动回复设置"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>void H(),disabled:m||z,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"}),(0,s.jsxs)("button",{type:"button",onClick:()=>void U(),disabled:z||m,className:"inline-flex items-center gap-2 rounded-md bg-zinc-900 px-3 py-1.5 text-xs font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[z?(0,s.jsx)(i.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,s.jsx)(c.A,{className:"h-3.5 w-3.5"}),(0,s.jsx)("span",{children:"保存"})]})]})]}),o&&(0,s.jsx)("div",{className:"mb-3 rounded-md bg-red-50 px-3 py-2 text-xs text-red-700 dark:bg-red-900/20 dark:text-red-300",children:o}),b&&!o&&(0,s.jsx)("div",{className:"mb-3 rounded-md bg-emerald-50 px-3 py-2 text-xs text-emerald-700 dark:bg-emerald-900/20 dark:text-emerald-300",children:b}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"基础设置"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"默认模型"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:_,onChange:e=>ed(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"默认模型 Fallback"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:p,onChange:e=>V(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"最小回复间隔(秒)"}),(0,s.jsx)("input",{value:A,onChange:e=>ec(e.target.value),placeholder:"0",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"每小时最多回复数"}),(0,s.jsx)("input",{value:w,onChange:e=>et(e.target.value),placeholder:"30",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-1 sm:col-span-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"特殊用户(userId,每行一个)"}),(0,s.jsx)("textarea",{value:I,onChange:e=>
1ex(e.target.value),placeholder:"例如:\\nuser_abc\\nuser_def",rows:3,className:"w-full resize-y rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"}),(0,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"这些用户将按 1 次 / 1 分钟执行;其它用户强制为 1 次 / 2 分钟。"})]}),(0,s.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"显示 “Reply with a meme” 选项"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:C,onChange:e=>ei(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"启用"})]})]}),(0,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"启用后:Auto-Reply Settings 的 Advanced 里会出现 “Reply with a meme”"})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"自动过滤"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"政治敏感过滤模型"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:F,onChange:e=>el(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"政治敏感过滤 Fallback 模型"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:R,onChange:e=>er(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"话题检测模型"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:E,onChange:e=>eb(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"话题检测 Fallback 模型"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:P,onChange:e=>em(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"链接类型过滤"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:v,onChange:e=>
1$(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"启用"})]})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:g,onChange:e=>ee(e.target.value),disabled:!v,className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 disabled:cursor-not-allowed disabled:bg-zinc-100 disabled:text-zinc-400 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200 dark:disabled:bg-zinc-900 dark:disabled:text-zinc-600",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"爬虫时间窗口(分钟)"}),(0,s.jsx)("input",{value:k,onChange:e=>Z(e.target.value),placeholder:"60",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"过滤 1 小时前的推文"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:j,onChange:e=>Y(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"启用"})]})]}),(0,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"启用后:自动回复不会处理推文发布时间早于 1 小时的候选项"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timeline API 来源"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("select",{value:T,onChange:e=>eo("rapidapi"===e.target.value?"rapidapi":"official"),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200",children:[(0,s.jsx)("option",{value:"official",children:"官方 API"}),(0,s.jsx)("option",{value:"rapidapi",children:"RapidAPI"})]}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"Feed 比例"}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-[11px] font-semibold text-zinc-600 dark:text-zinc-300",children:"默认账号(followers ≥ 阈值)"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"爬虫推荐(%)"}),(0,s.jsx)("input",{value:h,onChange:e=>W(e.target.value),placeholder:"80",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timeline(%)"}),(0,s.jsx)("input",{value:u,onChange:e=>X(e.target.value),placeholder:"20",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]})]})]}),(0,s.jsxs)("div",{className:"rounded-md border border-zinc-200/80 bg-zinc-50/60 p-3 dark:border-zinc-800 dark:bg-zinc-900/40",children:[(0,s.jsx)("div",{className:"mb-2 text-[11px] font-semibold text-zinc-700 dark:text-zinc-200",children:"低粉账号分组(followers < 阈值)"}),(0,s.jsxs)("div",{className:"grid gap-3 sm:grid-cols-3",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"阈值"}),(0,s.jsx)("input",{type:"number",min:1,value:y,onChange:e=>es(e.target.value),placeholder:"100",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"爬虫推荐(%)"}),(0,s.jsx)("input",{value:N,onChange:e=>en(e.target.value),placeholder:"90",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timeline(%)"}),(0,s.jsx)("input",{value:f,onChange:e=>ea(e.target.value),placeholder:"10",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"})]})]}),(0,s.jsx)("div",{className:"mt-2 text-[11px] text-zinc-500 dark:text-zinc-400",children:"当账号 follower 小于阈值时,自动回复任务会使用这组比例。"})]})]}),(0,s.jsx)("div",{className:"mt-2 rounded-md bg-zinc-50 px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:"保存时会自动归一化为总和 100。"})]})]})]})}let l=r},33004:(e,n,a)=>{a.d(n,{A:()=>s});let s=(0,a(56059).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},79428:(e,n,a)=>{a.d(n,{A:()=>s});let s=(0,a(56059).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]);

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.