1var $=(k,i,p)=>new Promise((g,v)=>{var m=n=>{try{r(p.next(n))}catch(s){v(s)}},f=n=>{try{r(p.throw(n))}catch(s){v(s)}},r=n=>n.done?g(n.value):Promise.resolve(n.value).then(m,f);r((p=p.apply(k,i)).next())});import{d as H,b as K,K as L,r as w,c as F,e as I,o as U,j as S,i as t,n as l,g as e,k as u,G as W,D as N,N as P,f as _,l as D,F as B,t as Y,p as q,q as z,I as J,h as c,_ as Q}from"./entry.aaf6454e.js";import{u as X,I as M}from"./icon_circle_close.d928f13b.js";import{u as Z}from"./useToast.c20ef6d9.js";import{u as ee}from"./useLoading.6c3192d4.js";import{p as O}from"./filter.a104e2af.js";import{n as te}from"./navigation.e1a8c0a2.js";import{_ as oe,a as ne}from"./active_landing_logo_alfamart.c99d93fe.js";import{_ as se,a as ie,b as ae,c as le}from"./active_landing_logo_hokben.47b68367.js";import{s as ce,a as re,l as de,O as C}from"./auth.c250932e.js";import{I as V}from"./icon_check.33336100.js";import{I as A}from"./icon_uncheck.7d763322.js";import"./device.3bf4a32e.js";import"./address.dbcf008e.js";const b=k=>(q("data-v-b281f658"),k=k(),z(),k),ue=b(()=>t("li",null,[u(" Limit s.d. "),t("b",null,"Rp100Juta!"),u(" Akses belanja sekarang, bayar nanti 40 hari "),t("b",null,"bunga 0%"),u(" & cicilan s.d. "),t("b",null,"12 bulan"),u(". ")],-1)),pe=J('<img src="'+oe+'" style="width:50px;" data-v-b281f658><img src="'+ne+'" style="width:50px;" data-v-b281f658><img src="'+se+'" style="width:38px;" data-v-b281f658><img src="'+ie+'" style="width:37px;" data-v-b281f658><img src="'+ae+'" style="width:42px;" data-v-b281f658><img src="'+le+'" style="width:25px;" data-v-b281f658>',6),me=[pe],fe={class:"field-input"},ke=b(()=>t("label",{for:"phone"}
1,"Nomor HP kamu",-1)),_e={class:"otp-container"},be=["disabled"],ve={class:"other-phone-otp"},he=["disabled"],ge=["disabled"],ye={class:"field-input"},xe=b(()=>t("label",{for:"code"},"Kode OTP",-1)),$e={class:"service-terms"},Se=b(()=>t("p",{class:"content"},"Dengan memilih kotak di samping, kamu setuju untuk menerima materi pemasaran dan promosi dari Yup.",-1)),Ce=b(()=>t("p",{class:"content"},"Dengan berpartisipasi dalam aktivitas ini, kamu menyetujui Syarat & Ketentuan Yup.",-1)),Te=H({__name:"index",setup(k){const{prefixCls:i}=K("active-landing"),{ga:p}=L(),{run:g,timeText:v,isRun:m}=X(),{$toast:f}=Z(),{$loading:r}=ee(),n=w({phone:"",code:""}),s=w({phoneFocus:!1,codeFocus:!1,checkbox1:!0,checkbox2:!0}),R=F(),y=F(),j=I(()=>s.phoneFocus||!!n.phone),E=I(()=>s.codeFocus||!!n.code);function h(d,o){s[d]=o,d==="codeFocus"&&o&&setTimeout(()=>{y.value&&y.value.scrollIntoView({behavior:"smooth"})},100)}function T(d){n[d]=""}function x(d){return $(this,null,function*(){if(!m.value){if(!(yield O(n.phone)))return f("Masukkan 9-15 Digit Nomor HP dimulai dengan angka 08");r.show();try{if(!(yield ce({username:n.phone,otp_type:d,scene:re.BD_LANDING_PAGE})))return;f("Berhasil dikirim"),g()}finally{r.hide()}}})}function G(){return $(this,null,function*(){if(!(yield O(n.phone))){f("Masukkan 9-15 Digit Nomor HP dimulai dengan angka 08");return}if(!n.code||n.code.length!==4||isNaN(Number(n.code))){f("Format kode verifikasi salah");return}if(!s.checkbox1||!s.checkbox2){f("Beri centang untuk menyetujui syarat dan ketentuan kami");return}r.show(),p("click_Telkomsel_landingpage_mainbtn");try{if(!(yield de({username:n.phone,code:n.code,channel:"Web",utm_source:"BD - TelSMS",utm_content:"Tel_h5_v1_button"})))return;te()}finally{r.hide()}})}return U(()=>{p("show_Telkomsel_landingpage")}),(d,o)=>(c(),S("div",{class:l([e(i)])},[t("div",{class:l(`${e(i)}-container`)},[t("div",{class:l(`${e(i)}-content`)},[t("h3",{class:l(`${e(i)}-content__title`)},"Gabung Yup Sekarang",2),t("div",{class:l(`${e(i)}-scroll`)},[t("ul",{class:l(`${e(i)}-content__description`)},[ue,t("li",null,[u(" Nikmati berbagai promo menarik di merchant favorit: "),t("div",{class:l(`${e(i)}-content__logo`)},me,2)])],2),t("form",{class:l(`${e(i)}-content-form`),onSubmit:o[13]||(o[13]=W(()=>{},["prevent"]))},[t("div",{class:l(`${e(i)}-content-form__item`)},[t("div",{class:l(["field",{active:e(j)}])},[t("div",fe,[ke,N(t("input",{ref_key:"telRef",ref:R,"onUpdate:modelValue":o[0]||(o[0]=a=>e(n).phone=a),type:"tel",id:"phone",name:"phone",enterkeyhint:"done",onFocus:o[1]||(o[1]=a=>h("phoneFocus",!0)),onBlur:o[2]||(o[2]=a=>h("phoneFocus",!1))},null,544),[[P,e(n).phone]]),e(n).phone?(c(),_(e(M),{key:0,filled:"",class:"input-clear",onClick:o[3]||(o[3]=a=>T("phone"))})):D("",!0)]),t("div",_e,[t("button",{type:"button",disabled:e(m),onClick:o[4]||(o[4]=a=>x(e(C).WHATSAPP))},[e(m)?(c(),S(B,{key:0},[u(Y(e(v)),1)],64)):(c(),S(B,{key:1},[u("Kirim WA OTP")],64))],8,be)])],2),t("div",ve,[u(" Permintaan OTP lainnya: "),t("button",{type:"button",disabled:e(m),onClick:o[5]||(o[5]=a=>x(e(C).SMS))}," SMS OTP ",8,he),t("button",{type:"button",disabled:e(m),onClick:o[6]||(o[6]=a=>x(e(C).VOICE))}," Voice OTP ",8,ge)])],2),t("div",{class:l(`${e(i)}-content-form__item`)},[t("div",{class:l(["field",{active:e(E)}])},[t("div",ye,[xe,N(t("input",{ref_key:"codeRef",ref:y,"onUpdate:modelValue":o[7]||(o[7]=a=>e(n).code=a),type:"tel",id:"code",name:"code",enterkeyhint:"done",onFocus:o[8]||(o[8]=a=>h("codeFocus",!0)),onBlur:o[9]||(o[9]=a=>h("codeFocus",!1))},null,544),[[P,e(n).code]]),e(n).code?(c(),_(e(M),{key:0,filled:"",class:"input-clear",onClick:o[10]||(o[10]=a=>T("code"))})):D("",!0)])],2)],2),t("div",{class:l(`${e(i)}-content-form__item`)},[t("ul",$e,[t("li",{onClick:o[11]||(o[11]=a=>e(s).checkbox1=!e(s).checkbox1)},[e(s).checkbox1?(c(),_(e(V),{key:1,filled:"",class:"checkbox text-17px"})):(c(),_(e(A),{key:0,filled:"",class:"checkbox text-17px"})),Se]),t("li",{onClick:o[12]||(o[12]=a=>e(s).checkbox2=!e(s).checkbox2)},[e(s).checkbox2?(c(),_(e(V),{key:1,filled:"",class:"checkbox text-17px"})):(c(),_(e(A),{key:0,filled:"",class:"checkbox text-17px"})),Ce])])],2)],34)],2)],2),t("div",{class:l([`${e(i)}-footer`])},[t("button",{type:"submit",onClick:G}
1,"Gabung Sekarang")],2)],2)],2))}});const Ge=Q(Te,[["__scopeId","data-v-b281f658"]]);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.