PageSourceSearch

https://lingodeer.com/_nuxt/SettingsModal.DftxcGwb.js

js lingodeer.com collected 2026-09-24 09:52:31 UTC 2,895 bytes, 1 lines download raw bytes

1import{M as b}from"./index.2qlJdXK1.js";import{B as _}from"./index.KsmzQ7b0.js";import{F as g}from"./index.CTYyfhim.js";import{aw as w,aI as x,aC as t,aM as C}from"./entry.CegXatDB.js";import{E as v,a as i}from"./index.qYmQ6O7T.js";import"./el-overlay.BNv5H5o3.js";import"./event.CSZ7FB8J.js";import"./error.DIjIRzjL.js";import"./index.CxZB5ctD.js";/* empty css                */import"./back.B4zfOFXb.js";import"./index.JewAZQWV.js";import"./index.Dyfo5MgN.js";import"./refs.25OzArAa.js";import"./index.DbKX-97Z.js";import"./use-form-common-props.DjBC4aHb.js";import"./constants.Dk5zQC8_.js";import"./_baseFlatten.D9twMW-4.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:"c515a255f4eda0469bf1b251e5d7530d696a0507"};var o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6820dc16-7b6d-48cf-bc92-1367f5a878ec",e._sentryDebugIdIdentifier="sentry-dbid-6820dc16-7b6d-48cf-bc92-1367f5a878ec")}catch{}})();function a(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!C(e)}const z=w({name:"SettingsModal",props:{open:{type:Boolean,required:!0},setting:{type:Object,required:!0},learnLangName:{type:String,required:!0},showVideoOption:{type:Boolean,default:!1},onClose:{type:Function,required:!0},onConfirm:{type:Function,required:!0},onSettingChange:{type:Function,required:!0},styles:{type:Object,required:!0}},setup(e){const{t:o}=x(),{styles:n}=e;return()=>{let r,l,d,s,u,f,m,c,p;return t(b,{open:e.open,header:t("div",null,null),onClose:e.onClose,footer:t("div",{class:"flex justify-center"},[t(_,{size:"small",onClick:e.onConfirm},a(r=o("review.srs.confirm").toLocaleUpperCase())?r:{default:()=>[r]})])},{default:()=>[t("div",{class:["h-max w-max min-w-[420px] rounded-[14px]",n.setting,"max-md:min-w-[90vw]"]},[t("div",{class:"mb-[10px]"},[t(g,{class:"text-[var(--text-main)] font-[500]"},a(l=o("review.display_in"))?l:{default:()=>[l]})]),t(v,{class:["mb-[20px]",n.radioGroup],modelValue:e.setting.display,onChange:y=>e.onSettingChange("display",y)},{default:()=>[t(i,{value:"1"},{default:()=>[e.learnLangName]}),t(i,{value:"2"},a(d=o("review.translation"))?d:{default:()=>[d]}),t(i,{value:"3"},a(s=o("review.audio"))?s:{default:()=>[s]}),e.showVideoOption&&t(i,{value:"4"},a(u=o("course_question_preference_video_title"))?u:{default:()=>[u]})]}),t("div",{class:"mb-[10px]"},[t(g,{class:"text-[var(--text-main)] font-[500]"},a(f=o("review.audio_auto_play"))?f:{default:()=>[f]})]),t(v,{class:n.radioGroup,modelValue:e.setting.audio,onChange:y=>e.onSettingChange("audio",y)},{default:()=>[t(i,{value:"1"},a(m=o("review.off"))?m:{default:()=>[m]}),t(i,{value:"2"},a(c=o("review.before_answer"))?c:{default:()=>[c]}),t(i,{value:"3"},a(p=o("review.after_answer"))?p:{default:()=>[p]})]})])]})}}});export{z 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.