PageSourceSearch

https://www.wowple.com/_nuxt/Do51U_sQ.js

js wowple.com collected 2026-10-02 00:36:15 UTC 6,170 bytes, 1 lines download raw bytes

1import{_ as T}from"./C7GBMLUb.js";import{_ as U,k as H}from"./dWppSTut.js";import{f as K,h as L,i as q,s as z,k as I,J,j as Q,v as G,o as x,c as m,d as y,l as s,a as e,ad as k,e as f,t as h,C as D,m as S,p as O,D as i,r as _,b0 as X,W as Y}from"./B7lTcWLE.js";import{u as Z}from"./BdHRgecS.js";import{u as ee}from"./D1WphxPe.js";const te={class:"px-5 pt-6"},se={class:"rounded-2xl bg-[#FFF5F6] border border-[#FBD5DA] px-4 py-4"},oe={class:"flex gap-3"},le={class:"min-w-0 flex-1"},ne={class:"text-[12px] text-[#7F1D1D] leading-[1.55]"},ae={class:"px-5 pt-7"},ie={class:"block text-[13px] font-semibold text-gray-700 mb-2.5"},re={class:"text-[#999] font-medium"},ue={key:0,class:"text-[11.5px] text-amber-600 flex items-center gap-1.5 mt-3"},de={key:1,class:"mt-2 text-[11.5px] text-red-500 flex items-center gap-1.5"},pe={key:2,class:"mt-2 text-[11.5px] text-emerald-600 flex items-center gap-1.5"},ce=["disabled"],p="#FF404B",ge=K({__name:"default-kiosk-password",setup(xe){Z({title:"키오스크 비밀번호 설정",noindex:!0});const N=L(),{goBack:A,markAsSubWebView:P,clearSubWebViewFlag:$}=O(),{profile:j,fetchProfile:E}=q(),W=z(),F=i(()=>N.query.subwebview==="1");I(()=>{F.value&&P()}),J(()=>{F.value&&$()});const{keyboardHeight:V}=ee(),{headNo:M}=Q(),a=i(()=>H(M.value)),o=_(""),r=_(""),c=_(!1),{alert:v}=G(),b=i(()=>!!j.value?.hasDefaultCobopayPw),w=i(()=>o.value.length===a.value&&/^\d+$/.test(o.value)),u=i(()=>!!o.value&&o.value===r.value),B=i(()=>w.value&&u.value&&!c.value),C=i(()=>{if(!w.value)return!1;if(new RegExp(`^(\\d)\\1{${a.value-1}}$`).test(o.value))return!0;const l=o.value.split("").map(Number),t=l.every((d,n)=>n===0||d===l[n-1]+1),g=l.every((d,n)=>n===0||d===l[n-1]-1);return t||g});async function R(){if(!w.value){await v(`${a.value}자리 숫자를 입력해 주세요.`,{type:"error"});return}if(!u.value){await v("비밀번호가 일치하지 않습니다.",{type:"error"});return}if(!c.value){c.value=!0;try{const l=await X(o.value);if(l.result_cd!=="0000"){await v(l.result_msg??"비밀번호 변경에 실패했습니다.",{type:"error"});return}try{await E()}catch{}W.show(b.value?"키오스크 비밀번호가 변경되었습니다.":"키오스크 비밀번호가 설정되었습니다.","success"),A()}catch(l){await v(Y(l,"비밀번호 변경 중 오류가 발생했습니다.").message,{type:"error"})}finally{c.value=!1}}}return(l,t)=>{const g=T,d=U;return x(),m("div",{class:"mx-auto max-w-[640px] min-h-screen bg-white pb-10",style:k({paddingBottom:s(V)?s(V)+"px":""})},[y(g,{title:s(b)?"키오스크 비밀번호 변경":"키오스크 비밀번호 설정","back-fn":s(A)},null,8,["title","back-fn"]),e("section",te,[e("div",se,[e("div",oe,[e("div",{class:"shrink-0 flex h-9 w-9 items-center justify-center rounded-xl bg-white",style:k({boxShadow:`0 1px 3px ${p}1A`})},[(x(),m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:p,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[...t[2]||(t[2]=[e("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"},null,-1),e("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"},null,-1)])]))],4),e("div",le,[t[4]||(t[4]=e("p",{class:"text-[13px] font-bold text-[#9B1C1C] mb-1"},"디폴트 키오스크 비밀번호",-1)),e("p",ne,[f(" 새로 가맹점에 가입할 때 키오스크에서 사용할 "+h(s(a))+"자리 숫자 비밀번호입니다. ",1),t[3]||(t[3]=e("span",{class:"font-semibold"},"이미 가입된 매장의 비밀번호는 변경되지 않습니다.",-1))])])])])]),e("section",ae,[e("label",ie,[t[5]||(t[5]=f(" 비밀번호 ",-1)),e("span",re,"("+h(s(a))+"자리 숫자)",1)]),y(d,{modelValue:s(o),"onUpdate:modelValue":t[0]||(t[0]=n=>D(o)?o.value=n:null),length:s(a),"accent-color":p,invalid:!!s(o)&&s(C),"aria-label":"비밀번호 입력"},null,8,["modelValue","length","invalid"]),s(o)&&s(C)?(x(),m("p",ue,[...t[6]||(t[6]=[e("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("circle",{cx:"12",cy:"12",r:"10"}),e("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),e("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})],-1),f(" 예측하기 쉬운 비밀번호입니다. 다른 숫자 조합을 권장합니다. ",-1)])])):S("",!0),t[9]||(t[9]=e("label",{class:"block mt-6 text-[13px] font-semibold text-gray-700 mb-2.5"},"비밀번호 확인",-1)),y(d,{modelValue:s(r),"onUpdate:modelValue":t[1]||(t[1]=n=>D(r)?r.value=n:null),length:s(a),"accent-color":p,invalid:!!s(r)&&!s(u),valid:s(u),"aria-label":"비밀번호 다시 입력"}
1,null,8,["modelValue","length","invalid","valid"]),s(r)&&!s(u)?(x(),m("p",de,[...t[7]||(t[7]=[e("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("circle",{cx:"12",cy:"12",r:"10"}),e("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),e("line",{x1:"9",y1:"9",x2:"15",y2:"15"})],-1),f(" 비밀번호가 일치하지 않습니다. ",-1)])])):s(u)?(x(),m("p",pe,[...t[8]||(t[8]=[e("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("polyline",{points:"20 6 9 17 4 12"})],-1),f(" 비밀번호가 일치합니다. ",-1)])])):S("",!0),t[10]||(t[10]=e("div",{class:"mt-6 rounded-xl bg-[#FAFAFA] px-4 py-3.5"},[e("p",{class:"text-[12px] font-bold text-[#666] mb-1.5"},"안전한 비밀번호 안내"),e("ul",{class:"space-y-1 text-[11.5px] text-[#888] leading-[1.6]"},[e("li",null,"· 생년월일, 전화번호 등 개인정보 관련 숫자 피하기"),e("li",null,"· 0000, 1234, 1111 같은 단순 패턴 피하기"),e("li",null,"· 변경 후 다음 가맹점 가입부터 새 비밀번호가 적용됩니다")])],-1)),e("button",{class:"mt-7 w-full h-[54px] rounded-2xl text-[16px] font-bold text-white transition-all active:scale-[0.98] disabled:cursor-not-allowed",style:k(s(B)?{background:p,boxShadow:`0 8px 20px -6px ${p}66`}:{background:"#D5D5D5"}),disabled:!s(B),onClick:R},h(s(c)?"처리 중...":s(b)?"변경 완료":"설정 완료"),13,ce)])],4)}}});export{ge 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.