1import{aw as m,aI as c,aU as u,aC as t,b3 as l,aS as f,aM as g,aE as y,aV as v}from"./entry.D_dqNKaD.js";import{F as S}from"./flexCol.UWoG24IK.js";import{L as x}from"./settingModal.CSEeb2Vc.js";import _ from"./index.D26FGp5t.js";import{s as b}from"./index.module.Cm56D6zu.js";import w from"./useStorySpeaking.DicFBaEl.js";import I from"./StorySpeakingHeader.DspUd5ua.js";import P from"./StoryRecordingView.DNr6iyhH.js";import C from"./StoryPreviewView.BNnsvp8k.js";import{M as h}from"./index.BiUQ0pIq.js";import{F as r}from"./index.BGKITkPk.js";import{getScoreColor as s}from"./scoreUtils.Cbmgskq_.js";import{u as k}from"./useNoindexCourseCanonical.d3D7uZXR.js";import{_ as R}from"./client-only.DfDl5tM2.js";import"./useCourseQuestionPreferences.DWXDYrYU.js";import"./useResolvedCourseQuestionPreference.cIyFz8vd.js";import"./index.0vZ2tZ5P.js";import"./el-input.SCj7AtSB.js";import"./constants.0EIrU6de.js";import"./_baseFlatten.CNTMr4H1.js";import"./event.BMp57Gnf.js";import"./use-form-common-props.EOcvfqiT.js";import"./index.DeKf7EZe.js";import"./error.F7sIi--R.js";import"./el-switch.DN1JjrgZ.js";import"./index.C8c_7Nm9.js";/* empty css */import"./index.BtgXQYSM.js";import"./index.A-_bFP3-.js";import"./index.DLJDYbJR.js";import"./el-overlay.CjA4dIux.js";import"./index.ByNwT6Ke.js";/* empty css *//* empty css */import"./useAudioRecorder.BsCSENd_.js";import"./useSetState.RAGWIOkA.js";import"./useEffect.DOBomi6c.js";import"./timeTracker.D3__XRhH.js";import"./story.DiboMEPz.js";import"./fetch.hCaEBSu-.js";import"./asyncData.5R8sYrxk.js";import"./flexRow.C1bYdgaN.js";import"./StoryListItem.C5cztMPc.js";import"./new.BnkScntX.js";import"./RenderItem.BDudJcy3.js";import"./el-popper.Ce_odT-C.js";import"./el-popover.D2OJXR0s.js";import"./dropdown.BaIRxU4f.js";import"./htmlDarkMode.JLIOBuxx.js";/* empty css */import"./useTopicStatus.Be27FUBc.js";import"./index.C_8HqyHw.js";import"./index.tYMOAGFD.js";import"./interval.BPOv_HR-.js";import"./AnimatedNumber.Dl5ljL-s.js";import"./index.QBFXRw-g.js";import"./index.DkKcgWiz.js";import"./back.CZ3e0hMG.js";import"./refs.C0mU2Lp5.js";import"./index.DU4lnQgG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"1efaec818d93a34fc75e3041dd55939e084a0ab6"};var a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="160a1d97-5669-48e3-b6d5-83d298ce0484",e._sentryDebugIdIdentifier="sentry-dbid-160a1d97-5669-48e3-b6d5-83d298ce0484")}catch{}})();function D(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!g(e)}const L=m({setup(){const{t:e,locale:a}=c(),i=u(),d=()=>{i.setState({scoreInfoModal:!1})},p=[{max:100,min:76,img:"/images/recording-evaluation/super_index.png",label:"score.perfect",title:"perfect"},{max:75,min:51,img:"/images/recording-evaluation/great_index.png",label:"score.great",title:"great"},{max:50,min:26,img:"/images/recording-evaluation/nobad_index.png",label:"score.notbad",title:"notbad"},{max:25,min:0,img:"/images/recording-evaluation/keep_index.png",label:"score.keep",title:"keep"}];return()=>{let n;return t(h.new,{open:i.state.scoreInfoModal,onClose:d,header:t("div",{class:"flex items-center justify-center"},[t(r,{size:20,lang:a.value},D(n=l(e,"understand_your_score","Understanding Your Score"))?n:{default:()=>[n]})])},{default:()=>[t("div",{class:"flex flex-col items-center gap-4 pt-4"},[p.map(o=>t("div",{key:o.label,class:"flex flex-col items-center justify-center gap-2"},[t("div",{class:"flex justify-center"},[t(r,{lang:a.value,size:16,class:"font-[700]"},{default:()=>[f(" "),l(e,o.label,o.title)]})]),t("div",{class:"flex items-center gap-1"},[t(r,{class:"font-[700]",lang:"en",style:{color:s(o.max)}},{default:()=>[o.max]}),t("img",{class:"w-full max-w-[300px] max-md:w-full",src:o.img,alt:""},null),t(r,{class:"font-[700]",lang:"en",style:{color:s(o.min)}},{default:()=>[o.min]})])]))])]})}}}),Ue=m({setup(){k();const e=w(),a=()=>{e&&(e.pauseAudio(),e.setState({previewPlaying:!1}))};return()=>t("div",{class:b.content},[t(_,{loading:(e==null?void 0:e.state.loading)??!0},{default:()=>[t(S,{class:"!items-center bg-[var(--bg-sub)]"},{default:()=>[t(R,null,{default:()=>e&&t(y,null,[t(I,{isPreview:e.state.playType==="preview",onBack:e.goBack,onOpenSetting:()=>e.setState({openSetting:!0})}
1,null),t(v,{mode:"out-in",enterActiveClass:"animate__animated animate__faster animate__fadeInRight",leaveActiveClass:"animate__animated animate__faster animate__fadeOutLeft"},{default:()=>[e.state.playType!=="preview"?t(P,{storyData:e.storyData.value,picUrl:e.picUrl.value,currentIndex:e.currentIndex.value,recordList:e.state.recordList,recordScores:e.state.recordScores,scoringIndices:e.state.scoringIndices,wordScores:e.state.wordScores,canStart:e.canStart.value,hasAllRecordings:e.hasAllRecordings.value,isPlayItem:e.isPlayItem,isPlayCustomItem:e.isPlayCustomItem,onItemClick:e.handleClick,onRecord:e.handleRecord,onPlayCustom:e.handlePlayCustom,onPreview:e.handlePreview,onClear:e.clearRecordings},null):t(C,{storyData:e.storyData.value,picUrl:e.picUrl.value,currentIndex:e.currentIndex.value,previewPlaying:e.state.previewPlaying,onPreviewPlay:e.handlePreviewPlay,onPause:a,onFinish:e.finish,onRedo:e.handleRedo},null)]}),t(x,{open:e.state.openSetting,onCancel:()=>e.setState({openSetting:!1})},null),t(L,null,null)])})]})]})])}});export{Ue 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.