PageSourceSearch

https://nutriscan.app/assets/chunks/SleepStep.CqpgvchO.js

js nutriscan.app collected 2026-09-24 19:37:48 UTC 1,611 bytes, 1 lines download raw bytes

1import{d as g,Y as v,g as _,u as f,o as a,c as l,G as i,t as p,J as k,K as h,n as S,M as $}from"./vue-i18n.BPFdXHgN.js";import{S as B}from"./StepNavigation.CI5-AouE.js";import{_ as C}from"./plugin-vue_export-helper.DlAUqK2U.js";import"./intlify.BySaHZEQ.js";const y={class:"ob-step ob-content-column ob-content-flush ob-gap-lg"},N={class:"ob-step-content ob-content-column ob-gap-lg"},V={class:"ob-title ob-title-spacious"},x={class:"ob-stack-md"},I=["onClick"],Q=g({__name:"SleepStep",props:{state:{}},emits:["update:state","continue","back"],setup(c,{emit:r}){const u=c,d=r,{t:o}=v(),n=_(u.state.sleepQuality||""),b=f(()=>[{value:"great",label:o("onboarding.steps.sleep.options.great")},{value:"decent",label:o("onboarding.steps.sleep.options.decent")},{value:"irregular",label:o("onboarding.steps.sleep.options.irregular")},{value:"fall_asleep",label:o("onboarding.steps.sleep.options.fallAsleep")},{value:"poor",label:o("onboarding.steps.sleep.options.poor")}]);function m(e){n.value=e,d("update:state",{sleepQuality:e})}return(e,s)=>(a(),l("div",y,[i("div",N,[i("h1",V,p(e.$t("onboarding.steps.sleep.title")),1),i("div",x,[(a(!0),l(k,null,h(b.value,t=>(a(),l("button",{key:t.value,class:S(["ob-choice ob-choice--pill",{"is-selected":n.value===t.value}]),onClick:w=>m(t.value)},p(t.label),11,I))),128))])]),$(B,{"show-back":!0,"can-continue":!!n.value,"continue-text":e.$t("onboarding.steps.sleep.nextButton"),onBack:s[0]||(s[0]=t=>e.$emit("back")),onContinue:s[1]||(s[1]=t=>e.$emit("continue"))},null,8,["can-continue","continue-text"])]))}}),F=C(Q,[["__scopeId","data-v-201e8d1a"]]);export{F as default};

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.