PageSourceSearch

https://selfesteemtest.org/_next/static/chunks/app/%5Blocale%5D/page-c0b3ddb7dbfcca6f.js

js selfesteemtest.org collected 2026-10-04 22:29:27 UTC 19,074 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{6388:function(e,s,t){Promise.resolve().then(t.bind(t,9441)),Promise.resolve().then(t.bind(t,5359)),Promise.resolve().then(t.bind(t,2301))},5359:function(e,s,t){"use strict";t.d(s,{FAQ:function(){return l}});var n=t(7437),i=t(8706),r=t(2265);function l(){let e=(0,i.T_)("home.faq"),[s,t]=(0,r.useState)(0);return(0,n.jsx)("section",{className:"py-24",children:(0,n.jsx)("div",{className:"container mx-auto px-6 lg:px-12",children:(0,n.jsxs)("div",{className:"grid lg:grid-cols-12 gap-12",children:[(0,n.jsx)("div",{className:"lg:col-span-4",children:(0,n.jsx)("h2",{className:"text-4xl lg:text-5xl font-bold text-foreground sticky top-24",children:e("title")})}),(0,n.jsx)("div",{className:"lg:col-span-8 space-y-2",children:[{key:"q1"},{key:"q2"},{key:"q3"},{key:"q4"},{key:"q5"}].map((i,r)=>(0,n.jsxs)("div",{className:"border-b border-border last:border-0",children:[(0,n.jsxs)("button",{onClick:()=>t(s===r?null:r),className:"w-full py-6 text-left flex items-start justify-between gap-4 group",children:[(0,n.jsx)("span",{className:"text-lg font-semibold text-foreground group-hover:text-blue-600 transition-colors",children:e("".concat(i.key,".question"))}),(0,n.jsx)("svg",{className:"w-6 h-6 text-muted-foreground flex-shrink-0 transition-transform ".concat(s===r?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),s===r&&(0,n.jsx)("div",{className:"pb-6 text-muted-foreground leading-relaxed pr-12",children:e("".concat(i.key,".answer"))})]},i.key))})]})})})}},2301:function(e,s,t){"use strict";t.d(s,{Hero:function(){return a}});var n=t(7437),i=t(2265),r=t(8706),l=t(5221),o=t(6857);function a(){let e=(0,r.T_)("home.hero"),s=(0,r.T_)("quiz"),t=(0,l.tv)(),a=["rses-10-4pt","rses-5-4pt","ses-20-4pt"],[u,d]=(0,i.useState)(a[0]);return(0,n.jsxs)("section",{className:"relative min-h-[85vh] flex items-center",children:[(0,n.jsxs)("div",{className:"absolute inset-0 -z-10 overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] bg-blue-500/5 rounded-full blur-3xl"}),(0,n.jsx)("div",{className:"absolute bottom-0 left-0 w-[400px] h-[400px] bg-green-500/5 rounded-full blur-3xl"})]}),(0,n.jsx)("div",{className:"container mx-auto px-6 lg:px-12",children:(0,n.jsxs)("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[(0,n.jsxs)("div",{className:"lg:col-span-7",children:[(0,n.jsx)("div",{className:"inline-block px-4 py-1.5 bg-blue-50 dark:bg-blue-950/30 rounded-full text-sm text-blue-700 dark:text-blue-300 mb-6",children:e("badge")}),(0,n.jsx)("h1",{className:"text-5xl sm:text-6xl lg:text-7xl font-bold tracking-tight text-foreground mb-6 leading-[1.1]",children:e("title")}),(0,n.jsx)("p",{className:"text-xl text-muted-foreground leading-relaxed mb-10 max-w-xl",children:e("subtitle")}),(0,n.jsxs)("div",{className:"mb-8",children:[(0,n.jsx)("div",{className:"inline-flex rounded-xl border border-border bg-background overflow-hidden",children:a.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>d(e),className:"px-4 py-2 text-sm ".concat(u===e?"bg-accent text-foreground":"text-muted-foreground hover:text-foreground"),children:s("versions.".concat(e,".name"))},e))}),(0,n.jsx)("div",{className:"mt-3 text-sm text-muted-foreground max-w-xl",children:s("versions.".concat(u,".intro"))})]}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,n.jsxs)(l.rU,{href:"/quiz/".concat(encodeURIComponent(u)),className:"group inline-flex items-center justify-center px-8 py-4 bg-blue-600 text-white font-medium rounded-xl hover:bg-blue-700 transition-all hover:scale-105",children:[e("cta"),(0,n.jsx)("svg",{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]}),(0,n.jsx)("a",{href:"#what-is",className:"inline-flex items-center justify-center px-8 py-4 border-2 border-border text-foreground font-medium rounded-xl hover:border-foreground transition-colors",children:e("learnMore")})]}),(0,n.jsxs)("div",{className:"mt-6 flex flex-wrap gap-x-6 gap-y-2 text-sm text-muted-foreground",children:[(0,n.jsx)(l.rU,{href:"/methods",className:"hover:text-foreground underline underline-offset-4",children:e("links.methods")}),(0,n.jsx)(l.rU,{href:"/privacy",className:"hover:text-foreground underline underline-offset-4",children:e("links.privacy")}),(0,n.jsx)(l.rU,{href:"/faq",className:"hover:text-foreground underline underline-offset-4",children:e("links.faq")})]})]}),(0,n.jsx)("div",{className:"lg:col-span-5 hidden lg:flex items-center justify-center",children:(0,n.jsx)("div",{className:"relative w-full max-w-md h-[550px]",children:(()=>{var i,r,l,a,d,c,m,x,q;let f=(0,o.UQ)("rosenberg",u),h=null!==(i=null==f?void 0:f.version.questionOrder)&&void 0!==i?i:["q1","q2","q3"],v=h.length,g=null!==(r=h[0])&&void 0!==r?r:"q1",p=null!==(a=null!==(l=h[1])&&void 0!==l?l:h[0])&&void 0!==a?a:"q1",y=null!==(m=null!==(c=null!==(d=h[2])&&void 0!==d?d:h[1])&&void 0!==c?c:h[0])&&void 0!==m?m:"q1",b=null!==(x=null==f?void 0:f.version.scale.min)&&void 0!==x?x:1,_=null!==(q=null==f?void 0:f.version.scale.max)&&void 0!==q?q:4,I=e=>{!f||e<b||e>_||t.push("/quiz/".concat(encodeURIComponent(u),"?startIndex=").concat(1,"&initialAnswer=").concat(e))},j=Array.from({length:_-b+1},(e,s)=>b+s);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"absolute top-1/2 -translate-y-1/2 mt-16 left-0 right-0 bg-background/60 backdrop-blur-sm border border-border rounded-2xl p-8 shadow-lg transform rotate-3",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,n.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:e("preview.question",{current:3,total:v})}),(0,n.jsx)("span",{className:"text-xs text-muted-foreground",children:e("preview.complete",{percent:Math.round(3/v*100)})})]}
1),(0,n.jsx)("p",{className:"text-foreground/70 mb-6 leading-relaxed text-base",children:s("questions.".concat(y))}),(0,n.jsxs)("div",{className:"space-y-3 mb-4",children:[(0,n.jsx)("div",{className:"flex gap-2",children:j.map(e=>(0,n.jsx)("div",{className:"flex-1 h-12 rounded-lg border border-border bg-background/50 flex items-center justify-center text-sm font-medium text-muted-foreground/50",children:e},e))}),(0,n.jsxs)("div",{className:"flex justify-between text-xs text-muted-foreground/60 px-1",children:[(0,n.jsx)("span",{children:e("preview.stronglyDisagree")}),(0,n.jsx)("span",{children:e("preview.stronglyAgree")})]})]})]}),(0,n.jsxs)("div",{className:"absolute top-1/2 -translate-y-1/2 mt-8 left-0 right-0 bg-background/80 backdrop-blur-sm border border-border rounded-2xl p-8 shadow-xl transform -rotate-2",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,n.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:e("preview.question",{current:2,total:v})}),(0,n.jsx)("span",{className:"text-xs text-muted-foreground",children:e("preview.complete",{percent:Math.round(2/v*100)})})]}),(0,n.jsx)("p",{className:"text-foreground/90 mb-6 leading-relaxed text-base",children:s("questions.".concat(p))}),(0,n.jsxs)("div",{className:"space-y-3 mb-4",children:[(0,n.jsx)("div",{className:"flex gap-2",children:j.map(e=>(0,n.jsx)("div",{className:"flex-1 h-12 rounded-lg border border-border bg-background/50 flex items-center justify-center text-sm font-medium text-muted-foreground/50",children:e},e))}),(0,n.jsxs)("div",{className:"flex justify-between text-xs text-muted-foreground/60 px-1",children:[(0,n.jsx)("span",{children:e("preview.stronglyDisagree")}),(0,n.jsx)("span",{children:e("preview.stronglyAgree")})]})]})]}),(0,n.jsxs)("div",{className:"absolute top-1/2 -translate-y-1/2 left-0 right-0 bg-background border-2 border-blue-200 dark:border-blue-900 rounded-2xl p-8 shadow-2xl",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-5",children:[(0,n.jsx)("span",{className:"text-sm font-semibold text-blue-600",children:e("preview.question",{current:1,total:v})}),(0,n.jsx)("span",{className:"text-xs font-medium text-blue-600",children:e("preview.complete",{percent:Math.round(1/v*100)})})]}),(0,n.jsxs)("div",{className:"mb-4",children:[(0,n.jsx)("p",{className:"text-foreground font-semibold mb-2 text-lg leading-relaxed",children:s("questions.".concat(g))}),(0,n.jsx)("p",{className:"text-muted-foreground text-sm",children:e("preview.instruction")})]}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"flex gap-2",children:j.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>I(e),className:"flex-1 h-12 rounded-lg border-2 border-border hover:border-blue-600 bg-background transition-all cursor-pointer flex items-center justify-center text-sm font-semibold text-foreground hover:bg-blue-50 dark:hover:bg-blue-950/30",children:e},e))}),(0,n.jsxs)("div",{className:"flex justify-between text-xs text-muted-foreground px-1",children:[(0,n.jsx)("span",{children:e("preview.stronglyDisagree")}),(0,n.jsx)("span",{children:e("preview.stronglyAgree")})]})]})]})]})})()})})]})})]})}},6857:function(e,s,t){"use strict";t.d(s,{UQ:function(){return r}});let n={schemaVersion:1,contentVersion:"2026-01-17",testId:"rosenberg",nameKey:"quiz.title",shortDescriptionKey:"quiz.description",disclaimerKey:"result.disclaimer",estimatedMinutes:{min:3,max:6},audienceTags:["self-esteem","self-worth"],questionBank:{q1:{questionId:"q1",textKey:"quiz.questions.q1",dimensionId:"self_worth"},q2:{questionId:"q2",textKey:"quiz.questions.q2",dimensionId:"self_worth"},q3:{questionId:"q3",textKey:"quiz.questions.q3",reverseScoring:!0,dimensionId:"self_doubt"},q4:{questionId:"q4",textKey:"quiz.questions.q4",dimensionId:"self_worth"},q5:{questionId:"q5",textKey:"quiz.questions.q5",reverseScoring:!0,dimensionId:"self_doubt"},q6:{questionId:"q6",textKey:"quiz.questions.q6",dimensionId:"self_worth"},q7:{questionId:"q7",textKey:"quiz.questions.q7",dimensionId:"self_worth"},q8:{questionId:"q8",textKey:"quiz.questions.q8",reverseScoring:!0,dimensionId:"self_doubt"},q9:{questionId:"q9",textKey:"quiz.questions.q9",reverseScoring:!0,dimensionId:"self_doubt"},q10:{questionId:"q10",textKey:"quiz.questions.q10",reverseScoring:!0,dimensionId:"self_doubt"},ses20_q1:{questionId:"ses20_q1",textKey:"quiz.questions.ses20_q1",dimensionId:"self_acceptance"},ses20_q2:{questionId:"ses20_q2",textKey:"quiz.questions.ses20_q2",dimensionId:"self_acceptance"},ses20_q3:{questionId:"ses20_q3",textKey:"quiz.questions.ses20_q3",dimensionId:"self_acceptance"},ses20_q4:{questionId:"ses20_q4",textKey:"quiz.questions.ses20_q4",dimensionId:"self_acceptance"},ses20_q5:{questionId:"ses20_q5",textKey:"quiz.questions.ses20_q5",dimensionId:"self_efficacy"},ses20_q6:{questionId:"ses20_q6",textKey:"quiz.questions.ses20_q6",dimensionId:"self_efficacy"},ses20_q7:{questionId:"ses20_q7",textKey:"quiz.questions.ses20_q7",dimensionId:"self_efficacy"},ses20_q8:{questionId:"ses20_q8",textKey:"quiz.questions.ses20_q8",dimensionId:"self_efficacy"},ses20_q9:{questionId:"ses20_q9",textKey:"quiz.questions.ses20_q9",reverseScoring:!0,dimensionId:"self_criticism"},ses20_q10:{questionId:"ses20_q10",textKey:"quiz.questions.ses20_q10",reverseScoring:!0,dimensionId:"self_criticism"},ses20_q11:{questionId:"ses20_q11",textKey:"quiz.questions.ses20_q11",reverseScoring:!0,dimensionId:"self_criticism"},ses20_q12:{questionId:"ses20_q12",textKey:"quiz.questions.ses20_q12",reverseScoring:!0,dimensionId:"self_criticism"},ses20_q13:{questionId:"ses20_q13",textKey:"quiz.questions.ses20_q13",dimensionId:"social_confidence"},ses20_q14:{questionId:"ses20_q14",textKey:"quiz.questions.ses20_q14",dimensionId:"social_confidence"},ses20_q15:{questionId:"ses20_q15",textKey:"quiz.questions.ses20_q15",dimensionId:"social_confidence"},ses20_q16:{questionId:"ses20_q16",textKey:"quiz.questions.ses20_q16",dimensionId:"social_confidence"},ses20_q17:{questionId:"ses20_q17",textKey:"quiz.questions.ses20_q17",dimensionId:"resilience"},ses20_q18:{questionId:"ses20_q18",textKey:"quiz.questions.ses20_q18",dimensionId:"resilience"},ses20_q19:{questionId:"ses20_q19",textKey:"quiz.questions.ses20_q19",dimensionId:"resilience"},ses20_q20:{questionId:"ses20_q20",textKey:"quiz.questions.ses20_q20",dimensionId:"resilience"}},versions:{"rses-10-4pt":{versionId:"rses-10-4pt",nameKey:"quiz.versions.rses-10-4pt.name",introKey:"quiz.versions.rses-10-4pt.intro",questionOrder:["q1","q2","q3","q4","q5","q6","q7","q8","q9","q10"],scale:{min:1,max:4,minLabelKey:"quiz.scale.stronglyDisagree",maxLabelKey:"quiz.scale.stronglyAgree"},levels:[{levelId:"low",minInclusive:10,maxInclusive:24,titleKey:"result.levels.low.title",gentleSummaryKey:"result.levels.low.gentleSummary",professionalSummaryKey:"result.levels.low.professionalSummary",adviceModuleIds:["self_
1compassion","thoughts_check","small_goals"]},{levelId:"medium",minInclusive:25,maxInclusive:32,titleKey:"result.levels.medium.title",gentleSummaryKey:"result.levels.medium.gentleSummary",professionalSummaryKey:"result.levels.medium.professionalSummary",adviceModuleIds:["strengths_log","boundaries","small_goals"]},{levelId:"high",minInclusive:33,maxInclusive:40,titleKey:"result.levels.high.title",gentleSummaryKey:"result.levels.high.gentleSummary",professionalSummaryKey:"result.levels.high.professionalSummary",adviceModuleIds:["maintain_habits","balanced_view","support_others"]}]},"rses-5-4pt":{versionId:"rses-5-4pt",nameKey:"quiz.versions.rses-5-4pt.name",introKey:"quiz.versions.rses-5-4pt.intro",questionOrder:["q1","q3","q6","q7","q9"],scale:{min:1,max:4,minLabelKey:"quiz.scale.stronglyDisagree",maxLabelKey:"quiz.scale.stronglyAgree"},levels:[{levelId:"low",minInclusive:5,maxInclusive:12,titleKey:"result.levels.low.title",gentleSummaryKey:"result.levels.low.gentleSummary",professionalSummaryKey:"result.levels.low.professionalSummary",adviceModuleIds:["self_compassion","thoughts_check","small_goals"]},{levelId:"medium",minInclusive:13,maxInclusive:16,titleKey:"result.levels.medium.title",gentleSummaryKey:"result.levels.medium.gentleSummary",professionalSummaryKey:"result.levels.medium.professionalSummary",adviceModuleIds:["strengths_log","boundaries","small_goals"]},{levelId:"high",minInclusive:17,maxInclusive:20,titleKey:"result.levels.high.title",gentleSummaryKey:"result.levels.high.gentleSummary",professionalSummaryKey:"result.levels.high.professionalSummary",adviceModuleIds:["maintain_habits","balanced_view","support_others"]}]},"ses-20-4pt":{versionId:"ses-20-4pt",nameKey:"quiz.versions.ses-20-4pt.name",introKey:"quiz.versions.ses-20-4pt.intro",questionOrder:["ses20_q1","ses20_q2","ses20_q3","ses20_q4","ses20_q5","ses20_q6","ses20_q7","ses20_q8","ses20_q9","ses20_q10","ses20_q11","ses20_q12","ses20_q13","ses20_q14","ses20_q15","ses20_q16","ses20_q17","ses20_q18","ses20_q19","ses20_q20"],scale:{min:1,max:4,minLabelKey:"quiz.scale.stronglyDisagree",maxLabelKey:"quiz.scale.stronglyAgree"},levels:[{levelId:"low",minInclusive:20,maxInclusive:44,titleKey:"result.levels.low.title",gentleSummaryKey:"result.levels.low.gentleSummary",professionalSummaryKey:"result.levels.low.professionalSummary",adviceModuleIds:["self_compassion","thoughts_check","small_goals"]},{levelId:"medium",minInclusive:45,maxInclusive:64,titleKey:"result.levels.medium.title",gentleSummaryKey:"result.levels.medium.gentleSummary",professionalSummaryKey:"result.levels.medium.professionalSummary",adviceModuleIds:["strengths_log","boundaries","small_goals"]},{levelId:"high",minInclusive:65,maxInclusive:80,titleKey:"result.levels.high.title",gentleSummaryKey:"result.levels.high.gentleSummary",professionalSummaryKey:"result.levels.high.professionalSummary",adviceModuleIds:["maintain_habits","balanced_view","support_others"]}]}}}
1,i={[n.testId]:n};function r(e,s){let t=i[e],n=null==t?void 0:t.versions[s];if(t&&n)return{test:t,version:n}}},5221:function(e,s,t){"use strict";t.d(s,{rU:function(){return r},jD:function(){return o},tv:function(){return a}});var n=t(8322);let i=(0,t(5426).Z)({locales:["en","es","fr"],defaultLocale:"en",localePrefix:"as-needed"}),{Link:r,redirect:l,usePathname:o,useRouter:a,getPathname:u}=(0,n.Z)(i)},8322:function(e,s,t){"use strict";t.d(s,{Z:function(){return x}});var n=t(9376),i=t(2265),r=t.t(i,2),l=t(4574),o=r["use".trim()],a=t(412),u=t(5905),d=t(7512),c=t(7437),m=t(1392);function x(e){let{Link:s,config:t,getPathname:r,...x}=function(e,s){var t,r,l;let m={...t=s||{},localePrefix:"object"==typeof(l=t.localePrefix)?l:{mode:l||"always"},localeCookie:!!((r=t.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof r&&r},localeDetection:t.localeDetection??!0,alternateLinks:t.alternateLinks??!0},x=m.pathnames,q=(0,i.forwardRef)(function({href:s,locale:t,...n},i){let r,l;"object"==typeof s?(r=s.pathname,l=s.params):r=s;let d=(0,a.t3)(s),q=e(),h=(0,a.tI)(q)?o(q):q,v=d?f({locale:t||h,href:null==x?r:{pathname:r,params:l},forcePrefix:null!=t||void 0}):r;return(0,c.jsx)(u.default,{ref:i,href:"object"==typeof s?{...s,pathname:v}:v,locale:t,localeCookie:m.localeCookie,...n})});function f(e){let s;let{forcePrefix:t,href:n,locale:i}=e;return null==x?"object"==typeof n?(s=n.pathname,n.query&&(s+=(0,d.Ci)(n.query))):s=n:s=(0,d.cT)({locale:i,...(0,d.hm)(n),pathnames:m.pathnames}),(0,d.r6)(s,i,m,t)}function h(e){return function(s,...t){return e(f(s),...t)}}return{config:m,Link:q,redirect:h(n.redirect),permanentRedirect:h(n.permanentRedirect),getPathname:f}}(l.bU,e);return{...x,Link:s,usePathname:function(){let e=function(e){let s=(0,n.usePathname)(),t=(0,l.bU)();return(0,i.useMemo)(()=>{if(!s)return s;let n=s,i=(0,a.Af)(t,e.localePrefix);if((0,a.Tp)(i,s))n=(0,a.vz)(s,i);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,a.Sk)(t);(0,a.Tp)(e,s)&&(n=(0,a.vz)(s,e))}return n},[e.localePrefix,t,s])}(t),s=(0,l.bU)();return(0,i.useMemo)(()=>e&&t.pathnames?(0,d.Bv)(s,e,t.pathnames):e,[s,e])},useRouter:function(){let e=(0,n.useRouter)(),s=(0,l.bU)(),o=(0,n.usePathname)();return(0,i.useMemo)(()=>{function n(e){return function(n,i){let{locale:l,...a}=i||{},u=[r({href:n,locale:l||s,forcePrefix:null!=l||void 0})];Object.keys(a).length>0&&u.push(a),(0,m.Z)(t.localeCookie,o,s,l),e(...u)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[s,o,e])},getPathname:r}}},8706:function(e,s,t){"use strict";t.d(s,{T_:function(){return r}});var n=t(4574);function i(e,s){return(...e)=>{try{return s(...e)}catch{throw Error(void 0)}}}let r=i(0,n.T_);i(0,n.Gb)},5426:function(e,s,t){"use strict";function n(e){return e}t.d(s,{Z:function(){return n}})},9441:function(e,s,t){"use strict";t.d(s,{default:function(){return r}});var n=t(4574),i=t(7437);function r(e){let{locale:s,...t}=e;if(!s)throw Error(void 0);return(0,i.jsx)(n.Pj,{locale:s,...t})}}},function(e){e.O(0,[905,971,117,744],function(){return e(e.s=6388)}),_N_E=e.O()}]);

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.