1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=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 s in a)a.hasOwnProperty(s)&&(e[s]=a[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:blabber-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60f9ea3c-1527-4c87-9c65-b88a89a97824",e._sentryDebugIdIdentifier="sentry-dbid-60f9ea3c-1527-4c87-9c65-b88a89a97824")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6886],{30018:(e,t,a)=>{a.d(t,{Cj:()=>l,KJ:()=>p,My:()=>s,OE:()=>o,To:()=>u,_e:()=>r,ac:()=>d,f1:()=>m,jW:()=>n,wr:()=>i,yf:()=>c});let s="\x3c!--BLABBER_CALIBRATION",i="--\x3e",r=[{id:"warm_dominant",left:"Warm",right:"Dominant"},{id:"playful_serious",left:"Playful",right:"Serious"},{id:"casual_formal",left:"Casual",right:"Formal"},{id:"nurturing_tough",left:"Nurturing",right:"Tough love"}],l=[{id:"confident",label:"Confident",description:"Self-assured, direct, and clear.",sample:"\"I've got you. Here's what I think...\""},{id:"nurturing",label:"Nurturing",description:"Warm, supportive, and caring.",sample:'"That sounds really hard. I\'m here for you."'},{id:"teasing",label:"Teasing",description:"Playful, light teasing, fun.",sample:'"Oh really? Try me. \uD83D\uDE0F"'},{id:"blunt",label:"Blunt",description:"Straight to the point, no sugar-coating.",sample:'"Honestly? You already know the answer."'},{id:"flirty",label:"Flirty",description:"Charming, light flirtation.",sample:'"You\'re gonna make me blush."'},{id:"motivational",label:"Motivational",description:"Uplifting, encouraging, push to grow.",sample:'"You can do this. I believe in you."'},{id:"casual",label:"Casual",description:"Relaxed, like texting a friend.",sample:'"lol same though"'},{id:"formal",label:"Formal",description:"Polished, professional tone.",sample:'"I appreciate you reaching out. Here\'s my take."'}],n={confident:{warm_dominant:70,playful_serious:65,casual_formal:70,nurturing_tough:65},nurturing:{warm_dominant:18,playful_serious:28,casual_formal:22,nurturing_tough:12},teasing:{warm_dominant:42,playful_serious:12,casual_formal:18,nurturing_tough:38},blunt:{warm_dominant:78,playful_serious:82,casual_formal:72,nurturing_tough:82},flirty:{warm_dominant:48,playful_serious:18,casual_formal:28,nurturing_tough:22},motivational:{warm_dominant:38,playful_serious:58,casual_formal:52,nurturing_tough:28},casual:{warm_dominant:42,playful_serious:22,casual_formal:12,nurturing_tough:32},formal:{warm_dominant:58,playful_serious:72,casual_formal:88,nurturing_tough:55}},o={confident:{bad_day:"ask",advice:"direct",compliment:"graceful"},nurturing:{bad_day:"comfort",advice:"gentle",compliment:"humble"},teasing:{bad_day:"humor",advice:"personal",compliment:"playful"},blunt:{bad_day:"tough_love",advice:"direct",compliment:"graceful"},flirty:{bad_day:"humor",advice:"personal",compliment:"playful"},motivational:{bad_day:"comfort",advice:"direct",compliment:"graceful"},casual:{bad_day:"ask",advice:"personal",compliment:"deflect"},formal:{bad_day:"ask",advice:"direct",compliment:"graceful"}},d=[{id:"bad_day",question:"A fan is having a bad day. Youâ¦",options:[{id:"comfort",label:"Offer comfort and support"},{id:"tough_love",label:"Give tough love"},{id:"humor",label:"Distract with humor"},{id:"ask",label:"Ask what happened and listen"}]},{id:"advice",question:"A fan asks for advice. Youâ¦",options:[{id:"direct",label:"Give direct, honest advice"},{id:"gentle",label:"Suggest gently and leave room for them"},{id:"personal",label:"Share how you'd handle it personally"},{id:"redirect",label:"Encourage them to reflect first"}]},{id:"compliment",question:"A fan gives you a heavy compliment. Youâ¦",options:[{id:"graceful",label:"Accept gracefully and thank them"},{id:"deflect",label:"Deflect lightly and turn it back to them"},{id:"playful",label:"Respond playfully or tease"},{id:"humble",label:"Stay humble and redirect"}]}],c=[{id:"s1",fan:"I'm having such a rough week.",response:"That sounds really hard. I'm here for youâwant to talk about it?"},{id:"s2",fan:"You're so amazing!",response:"You're too kind! That made my day."},{id:"s3",fan:"What would you do in my situation?",response:"I'd probably step back and think about what you really want. What's your gut saying?"},{id:"s4",fan:"Can't wait for your next drop!",response:"Same! Working on it. You're gonna love it."},{id:"s5",fan:"I need some real talk right now.",response:"Alright, real talk: sometimes the answer's simpler than we make it. What's going on?"},{id:"s6",fan:"You always know what to say.",response:"I try. Mostly I just listen and meet people where they're at."}],p=["Fitness & health","Relationships","Career & money","Mental wellness","Hobbies & interests","Daily life & chat","Content & updates","Advice (general)"],u=["Politics","Religion","Ex-partners / past relationships","Specific personal details (ad
1dress, etc.)","Medical/legal advice","Other people's private info"],m=[{id:"none",label:"No romantic content",description:"Keep all conversation platonic and friendly."},{id:"light",label:"Light flirting only",description:"Occasional light, playful flirtation; nothing suggestive or explicit."},{id:"romantic",label:"Romantic but not explicit",description:"Romantic tone and affection are okay; no sexually explicit content."},{id:"explicit",label:"Explicit allowed",description:"Romantic and sexually explicit conversation allowed within platform rules."}]},35930:(e,t,a)=>{a.d(t,{go:()=>r,vs:()=>i});var s=a(30018);function i(e){let t=[],a=(e.voiceNotes||"").trim();a&&(t.push("## How you talk"),t.push("Match this voice closely. These are the creator's own words, sample texts, or captions:"),t.push(a),t.push(""));let i=!!(e.preset&&s.Cj.find(t=>t.id===e.preset)),r=s._e.map(t=>{var a,s;let i=null!=(s=null==(a=e.sliders)?void 0:a[t.id])?s:50;return{axis:t,v:i,offCenter:50!==i}}).filter(e=>e.offCenter),l=!!(e.worldview&&Object.keys(e.worldview).length>0),n=!!(e.approvedSamples&&e.approvedSamples.length>0);(i||r.length>0||l||n)&&t.push("## Personality Calibration");let o=e.preset&&s.Cj.find(t=>t.id===e.preset);o&&(t.push("Tone preset: ".concat(o.label,". ").concat(o.description)),t.push("Example tone: ".concat(o.sample)),t.push("")),r.length>0&&(t.push("Tone sliders:"),r.forEach(e=>{let{axis:a,v:s}=e,i=s<=50?a.left:a.right;t.push("- ".concat(a.left," â ").concat(a.right,": ").concat(i," (").concat(s<=50?50-s:s-50,"% toward ").concat(i,")"))}),t.push("")),e.worldview&&Object.keys(e.worldview).length>0&&(t.push("Worldview / style:"),s.ac.forEach(a=>{let s=e.worldview[a.id];if(s){let e=a.options.find(e=>e.id===s);t.push("- ".concat(a.question," ").concat(e?e.label:s))}}),t.push("")),e.approvedSamples&&e.approvedSamples.length>0&&(t.push("Approved response style (match this tone):"),e.approvedSamples.forEach(e=>t.push("- ".concat(e))),t.push(""));let d=[];e.emotionalNeverAggressive&&d.push("Never be aggressive."),e.emotionalNotOverlySexual&&d.push("Do not be overly sexual."),e.emotionalAvoidSarcasm&&d.push("Avoid sarcasm."),null!=e.emotionalIntensity&&e.emotionalIntensity<50?d.push("Keep emotional intensity moderate or low."):null!=e.emotionalIntensity&&e.emotionalIntensity>50&&d.push("Emotional intensity can be high when appropriate.");let c=e.allowedTopics&&e.allowedTopics.length>0||(e.allowedCustom||"").trim(),p=e.forbiddenTopics&&e.forbiddenTopics.length>0||(e.forbiddenCustom||"").trim(),u=e.romanticBoundary&&s.f1.find(t=>t.id===e.romanticBoundary);if((c||p||d.length>0||u)&&t.push("## Boundaries"),c){let a=[...e.allowedTopics||[],(e.allowedCustom||"").trim()].filter(Boolean);t.push("Allowed topics: "+a.join(", ")+"."),t.push("")}if(p){let a=[...e.forbiddenTopics||[],(e.forbiddenCustom||"").trim()].filter(Boolean);t.push("Forbidden topics (do not discuss): "+a.join(", ")+"."),t.push("")}d.length>0&&(t.push("Emotional tone limits:"),d.forEach(e=>t.push("- ".concat(e))),t.push("")),u&&e.romanticBoundary&&(t.push("Romantic/sexual boundaries: ".concat(u.label,". ").concat(u.description)),t.push("")),(e.additionalNotes||"").trim()&&(t.push("## Additional notes"),t.push(e.additionalNotes.trim()),t.push(""));let m=t.join("\n").trim(),h=JSON.stringify(e);return m+("\n\n"+s.My+"\n"+h+"\n"+s.wr)}function r(e){if(!e||"string"!=typeof e)return null;let t=e.indexOf(s.My);if(-1===t)return null;let a=t+s.My.length,i=e.indexOf(s.wr,a);if(-1===i)return null;let r=e.slice(a,i).trim();try{return JSON.parse(r)}catch(e){return null}}},36886:(e,t,a)=>{a.r(t),a.d(t,{PersonalityCalibrationUI:()=>j});var s=a(95155),i=a(12115),r=a(85057),l=a(80333),n=a(62523),o=a(88539),d=a(30285),c=a(66695),p=a(51154),u=a(53311),m=a(5196),h=a(54416),g=a(56671),f=a(30018),x=a(35930),y=a(7383);let v={"Fitness & health":"fitness",Relationships:"relationships","Career & money":"career","Mental wellness":"mental","Hobbies & interests":"hobbies","Daily life & chat":"daily","Content & updates":"content","Advice (general)":"advice"},b={Politics:"politics",Religion:"religion","Ex-partners / past relationships":"exPartners","Specific personal details (ad
1dress, etc.)":"personalDetails","Medical/legal advice":"medicalLegal","Other people's private info":"othersPrivate"},w={preset:void 0,sliders:Object.fromEntries(f._e.map(e=>[e.id,50])),worldview:{},approvedSamples:[],rejectedSamples:[],allowedTopics:[],allowedCustom:"",forbiddenTopics:[],forbiddenCustom:"",emotionalNeverAggressive:!1,emotionalNotOverlySexual:!1,emotionalAvoidSarcasm:!1,emotionalIntensity:50,romanticBoundary:void 0,additionalNotes:"",voiceNotes:""};function j(e){var t,a,j,N;let{value:S,onChange:k,disabled:_}=e,T=(0,y.k)(),C=(0,i.useMemo)(()=>f.Cj.map(e=>({...e,label:T("creatorSettings.personality.presets.".concat(e.id,".label")),description:T("creatorSettings.personality.presets.".concat(e.id,".description")),sample:T("creatorSettings.personality.presets.".concat(e.id,".sample"))})),[T]),B=(0,i.useMemo)(()=>f._e.map(e=>({...e,left:T("creatorSettings.personality.axes.".concat(e.id,".left")),right:T("creatorSettings.personality.axes.".concat(e.id,".right"))})),[T]),A=(0,i.useMemo)(()=>f.ac.map(e=>({...e,question:T("creatorSettings.personality.worldview.".concat(e.id,".question")),options:e.options.map(t=>({...t,label:T("creatorSettings.personality.worldview.".concat(e.id,".options.").concat(t.id))}))})),[T]),R=(0,i.useMemo)(()=>f.yf.map(e=>({...e,fan:T("creatorSettings.personality.samples.".concat(e.id,".fan")),displayResponse:T("creatorSettings.personality.samples.".concat(e.id,".response")),response:e.response})),[T]),E=(0,i.useMemo)(()=>f.KJ.map(e=>({value:e,label:T("creatorSettings.personality.topicAllowed.".concat(v[e]))})),[T]),I=(0,i.useMemo)(()=>f.To.map(e=>({value:e,label:T("creatorSettings.personality.topicForbidden.".concat(b[e]))})),[T]),M=(0,i.useMemo)(()=>f.f1.map(e=>({...e,label:T("creatorSettings.personality.romantic.".concat(e.id,".label")),description:T("creatorSettings.personality.romantic.".concat(e.id,".description"))})),[T]),[D,O]=(0,i.useState)(()=>({...w,sliders:{...w.sliders}})),Z=(0,i.useRef)(null),P=(0,i.useRef)(!1),[W,F]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(S===Z.current)return;let e=(0,x.go)(S);e&&(Z.current=S,O(t=>({...w,...e,sliders:{...w.sliders,...e.sliders},worldview:{...e.worldview},allowedTopics:e.allowedTopics?[...e.allowedTopics]:[],forbiddenTopics:e.forbiddenTopics?[...e.forbiddenTopics]:[],approvedSamples:e.approvedSamples?[...e.approvedSamples]:[],voiceNotes:e.voiceNotes||""})))},[S]),(0,i.useEffect)(()=>{if(!P.current)return;let e=(0,x.vs)(D);e!==Z.current&&(Z.current=e,k(e))},[D,k]);let Y=e=>{P.current=!0,O(t=>({...t,...e}))},z=(e,t)=>{P.current=!0,O(a=>({...a,sliders:{...a.sliders,[e]:t}}))},J=(e,t)=>{P.current=!0,O(a=>({...a,worldview:{...a.worldview,[e]:t}}))},q=e=>{let t=D.allowedTopics||[];Y({allowedTopics:t.includes(e)?t.filter(t=>t!==e):[...t,e]})},H=e=>{let t=D.forbiddenTopics||[];Y({forbiddenTopics:t.includes(e)?t.filter(t=>t!==e):[...t,e]})},K=(e,t,a)=>{let s=D.approvedSamples||[],i=D.rejectedSamples||[];Y({approvedSamples:a?[...s.filter(e=>e!==t),t]:s.filter(e=>e!==t),rejectedSamples:a?i.filter(e=>e!==t):[...i.filter(e=>e!==t),t]})},L=e=>(D.approvedSamples||[]).includes(e),$=async()=>{F(!0);try{let e=await fetch("/api/creator/personality-from-posts"),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"Could not load posts");let a=String(t.captions||"").trim();if(!a)return void g.toast.error(T("creatorSettings.personality.importFromPostsEmpty"));let s=(D.voiceNotes||"").trim();Y({voiceNotes:s?"".concat(s,"\n\n").concat(a):a}),g.toast.success(T("creatorSettings.personality.importFromPostsDone"))}catch(e){g.toast.error(e instanceof Error?e.message:T("creatorSettings.personality.importFromPostsFailed"))}finally{F(!1)}};return(0,s.jsxs)("div",{className:"min-w-0 max-w-full space-y-8 overflow-x-hidden",children:[(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.voiceTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.voiceDesc")})]}),(0,s.jsxs)(c.Wu,{className:"space-y-3",children:[(0,s.jsx)(o.T,{value:D.voiceNotes||"",disabled:_,onChange:e=>Y({voiceNotes:e.target.value}),placeholder:T("creatorSettings.personality.voicePlaceholder"),rows:6,className:"resize-y"}),(0,s.jsxs)(d.$,{type:"button",variant:"outline",size:"sm",disabled:_||W,onClick:()=>void $(),children:[W?(0,s.jsx)(p.A,{className:"h-4 w-4 animate-spin"}):(0,s.jsx)(u.A,{className:"h-4 w-4"}),T("creatorSettings.personality.importFromPosts")]}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:T("creatorSettings.personality.voiceHint")})]})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.tonePresetTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.tonePresetDesc")})]}),(0,s.jsx)(c.Wu,{className:"space-y-3",children:(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:C.map(e=>(0,s.jsxs)("button",{type:"button",disabled:_,onClick:()=>
1{if(D.preset===e.id)return void Y({preset:void 0});let t=f.jW[e.id]?{...D.sliders,...f.jW[e.id]}:D.sliders,a=f.OE[e.id]?{...D.worldview,...f.OE[e.id]}:D.worldview;Y({preset:e.id,sliders:t,worldview:a})},className:"text-left p-3 rounded-lg border text-sm transition-colors ".concat(D.preset===e.id?"border-pink-500 bg-pink-500/10":"border-border hover:bg-muted/50"),children:[(0,s.jsx)("span",{className:"font-medium",children:e.label}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs mt-0.5",children:e.description}),(0,s.jsx)("p",{className:"text-muted-foreground/80 text-xs mt-1 italic",children:e.sample})]},e.id))})})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.slidersTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.slidersDesc")})]}),(0,s.jsx)(c.Wu,{className:"space-y-6",children:B.map(e=>{var t,a;let i=null!=(a=null==(t=D.sliders)?void 0:t[e.id])?a:50,r=i<=50?e.left:e.right;return(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between gap-2 text-sm",children:[(0,s.jsx)("span",{className:"min-w-0 flex-1 text-muted-foreground break-words",children:e.left}),(0,s.jsx)("span",{className:"min-w-0 flex-1 text-right text-muted-foreground break-words",children:e.right})]}),(0,s.jsx)("input",{type:"range",min:0,max:100,value:i,disabled:_,onChange:t=>z(e.id,Number(t.target.value)),className:"w-full h-2 rounded-lg appearance-none cursor-pointer bg-muted accent-pink-500"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:T("creatorSettings.personality.sliderToward",{end:r,pct:i<=50?50-i:i-50})})]},e.id)})})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.worldviewTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.worldviewDesc")})]}),(0,s.jsx)(c.Wu,{className:"space-y-4",children:A.map(e=>(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{className:"text-sm",children:e.question}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map(t=>{var a,i;return(0,s.jsx)(d.$,{type:"button",variant:(null==(a=D.worldview)?void 0:a[e.id])===t.id?"default":"outline",size:"sm",disabled:_,className:(null==(i=D.worldview)?void 0:i[e.id])===t.id?"bg-pink-500 hover:bg-pink-600":"",onClick:()=>J(e.id,t.id),children:t.label},t.id)})})]},e.id))})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.examplesTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.examplesDesc")})]}),(0,s.jsx)(c.Wu,{className:"space-y-4",children:R.map(e=>{let t=L(e.response);return(0,s.jsxs)("div",{className:"p-3 rounded-lg border border-border space-y-1",children:[(0,s.jsxs)("p",{className:"text-sm text-muted-foreground",children:['"',e.fan,'"']}),(0,s.jsxs)("p",{className:"text-sm",children:['"',e.displayResponse,'"']}),(0,s.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2",children:[(0,s.jsxs)(d.$,{type:"button",size:"sm",variant:t?"default":"outline",disabled:_,className:t?"bg-green-600 hover:bg-green-700":"",onClick:()=>K(e.id,e.response,!0),children:[(0,s.jsx)(m.A,{className:"h-3 w-3 mr-1"}),T("creatorSettings.personality.soundsLikeMe")]}),(0,s.jsxs)(d.$,{type:"button",size:"sm",variant:t?"outline":"destructive",disabled:_,onClick:()=>K(e.id,e.response,!1),children:[(0,s.jsx)(h.A,{className:"h-3 w-3 mr-1"}),T("creatorSettings.personality.notQuite")]})]})]},e.id)})})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.allowedTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.allowedDesc")})]}),(0,s.jsxs)(c.Wu,{className:"space-y-4",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:E.map(e=>{let{value:t,label:a}=e;return(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)("input",{type:"checkbox",checked:(D.allowedTopics||[]).includes(t),disabled:_,onChange:()=>q(t),className:"rounded border-input accent-pink-500"}),(0,s.jsx)("span",{className:"text-sm",children:a})]},t)})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"allowed-custom",children:T("creatorSettings.personality.allowedCustom")}),(0,s.jsx)(n.p,{id:"allowed-custom",value:D.allowedCustom||"",disabled:_,onChange:e=>Y({allowedCustom:e.target.value}),placeholder:T("creatorSettings.personality.allowedPlaceholder"),className:"max-w-md"})]})]})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.forbiddenTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.forbiddenDesc")})]}),(0,s.jsxs)(c.Wu,{className:"space-y-4",children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:I.map(e=>{let{value:t,label:a}=e;return(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)("input",{type:"checkbox",checked:(D.forbiddenTopics||[]).includes(t),disabled:_,onChange:()=>H(t),className:"rounded border-input accent-pink-500"}),(0,s.jsx)("span",{className:"text-sm",children:a})]},t)})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"forbidden-custom",children:T("creatorSettings.personality.forbiddenCustom")}),(0,s.jsx)(n.p,{id:"forbidden-custom",value:D.forbiddenCustom||"",disabled:_,onChange:e=>Y({forbiddenCustom:e.target.value}),placeholder:T("creatorSettings.personality.forbiddenPlaceholder"),className:"max-w-md"})]})]})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.emotionalTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.emotionalDesc")})]}),(0,s.jsxs)(c.Wu,{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)(l.d,{checked:null!=(t=D.emotionalNeverAggressive)&&t,disabled:_,onCheckedChange:e=>Y({emotionalNeverAggressive:e})}),(0,s.jsx)("span",{className:"text-sm",children:T("creatorSettings.personality.neverAggressive")})]}),(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)(l.d,{checked:null!=(a=D.emotionalNotOverlySexual)&&a,disabled:_,onCheckedChange:e=>Y({emotionalNotOverlySexual:e})}),(0,s.jsx)("span",{className:"text-sm",children:T("creatorSettings.personality.notOverlySexual")})]}),(0,s.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)(l.d,{checked:null!=(j=D.emotionalAvoidSarcasm)&&j,disabled:_,onCheckedChange:e=>Y({emotionalAvoidSarcasm:e})}),(0,s.jsx)("span",{className:"text-sm",children:T("creatorSettings.personality.avoidSarcasm")})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{children:T("creatorSettings.personality.emotionalIntensity")}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-muted-foreground",children:[(0,s.jsx)("span",{children:T("creatorSettings.personality.calmReserved")}),(0,s.jsx)("span",{children:T("creatorSettings.personality.highEnergy")})]}),(0,s.jsx)("input",{type:"range",min:0,max:100,value:null!=(N=D.emotionalIntensity)?N:50,disabled:_,onChange:e=>Y({emotionalIntensity:Number(e.target.value)}),className:"w-full h-2 rounded-lg appearance-none cursor-pointer bg-muted accent-pink-500"})]})]})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.romanticTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.romanticDesc")})]}),(0,s.jsx)(c.Wu,{className:"space-y-2",children:M.map(e=>(0,s.jsxs)("button",{type:"button",disabled:_,onClick:()=>Y({romanticBoundary:D.romanticBoundary===e.id?void 0:e.id}),className:"text-left w-full p-3 rounded-lg border text-sm transition-colors ".concat(D.romanticBoundary===e.id?"border-pink-500 bg-pink-500/10":"border-border hover:bg-muted/50"),children:[(0,s.jsx)("span",{className:"font-medium",children:e.label}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs mt-0.5",children:e.description})]},e.id))})]}),(0,s.jsxs)(c.Zp,{className:"min-w-0 overflow-x-hidden",children:[(0,s.jsxs)(c.aR,{children:[(0,s.jsx)(c.ZB,{children:T("creatorSettings.personality.notesTitle")}),(0,s.jsx)(c.BT,{children:T("creatorSettings.personality.notesDesc")})]}),(0,s.jsx)(c.Wu,{children:(0,s.jsx)(o.T,{value:D.additionalNotes||"",disabled:_,onChange:e=>Y({additionalNotes:e.target.value}),placeholder:T("creatorSettings.personality.notesPlaceholder"),rows:3,className:"resize-y"})})]})]})}},66695:(e,t,a)=>{a.d(t,{BT:()=>o,Wu:()=>d,ZB:()=>n,Zp:()=>r,aR:()=>l});var s=a(95155);a(12115);var i=a(59434);function r(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card",className:(0,i.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...a})}function l(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-header",className:(0,i.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...a})}function n(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,i.cn)("leading-none font-semibold",t),...a})}function o(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,i.cn)("text-muted-foreground text-sm",t),...a})}function d(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,i.cn)("px-6",t),...a})}},88539:(e,t,a)=>{a.d(t,{T:()=>r});var s=a(95155);a(12115);var i=a(59434);function r(e){let{className:t,...a}=e;return(0,s.jsx)("textarea",{"data-slot":"textarea",className:(0,i.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...a})}}}]);
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.