PageSourceSearch

https://www.wasafibet.co.tz/js/signup.js

js wasafibet.co.tz collected 2026-10-08 07:21:54 UTC 3,443 bytes, 1 lines download raw bytes

1import{D as V,s as z,C as i,r as B,o as c,g as f,l as s,n,p as u,P as g,U as Z,u as t,T as _,Y as T,Z as D,J as P,w as S}from"./vendor.js";import{u as h,a as U}from"./index.js";const A={class:"form"},N={class:"form-signup"},R={class:"top"},q={class:"top-title"},F={class:"top-sub"},j={class:"form-block"},E={class:"l"},H={class:"input-block"},I={class:"form-block"},J={class:"l"},L={class:"input-block"},Y=["type"],G={class:"post"},K={key:0,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O={key:1,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q={class:"form-block"},W={class:"form-block"},X={class:"form-block"},ls={__name:"signup",setup(ss){const k=V(),{tmp:p}=z(h()),{onModal:b,setTMP:os,onAlert:w}=h(),{onSignup:x}=U(),r=i(!1);i(!1);const y=()=>{r.value=!r.value},v=i(!1);let m=k.query,C=m&&m.referral_code!=null?m.referral_code:"",a=p.value&&p.value.msisdn!=null?i(p.value.msisdn):i(""),d=i(""),M=i(C);return(l,o)=>{const $=B("router-link");return c(),f("div",A,[s("div",N,[s("div",R,[s("div",q,n(l.$t("message.signup_title")),1),s("div",F,[u(n(l.$t("message.signup_info1")),1),o[7]||(o[7]=s("br",null,null,-1)),u(n(l.$t("message.signup_info2")),1)])]),s("div",j,[s("label",E,n(l.$t("message.phone_number")),1),s("div",H,[o[8]||(o[8]=s("div",{class:"pre"},"+255",-1)),g(s("input",{onFocus:o[0]||(o[0]=e=>t(w)()),"onUpdate:modelValue":o[1]||(o[1]=e=>_(a)?a.value=e:a=e),class:"i",placeholder:"7xxxxxxxx"},null,544),[[Z,t(a)]]),o[9]||(o[9]=s("div",{class:"post"},[s("svg",{fill:"#777",width:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[s("path",{fill:"none",d:"M0 0h24v24H0Z"}),s("path",{d:"M11 17h2v-6h-2v6Zm1-15C6.48 2 2 6.48 2 12c0 5.52 4.48 10 10 10s10-4.48 10-10 -4.48-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8 -3.59 8-8 8ZM11 9h2V7h-2v2Z"})])],-1))])]),s("div",I,[s("label",J,n(l.$t("message.password")),1),s("div",L,[g(s("input",{onFocus:o[2]||(o[2]=e=>t(w)()),"onUpdate:modelValue":o[3]||(o[3]=e=>_(d)?d.value=e:d=e),class:"ih",type:r.value?"text":"password",placeholder:"• • • • • • • •"},null,40,Y),[[T,t(d)]]),s("div",G,[s("button",{type:"button",class:"toggle-password",onClick:y},[r.value?(c(),f("svg",K,o[10]||(o[10]=[s("path",{d:"M12 4C6 4 2 12 2 12s4 8 10 8 10-8 10-8-4-8-10-8zm0 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm0-10c-2.2091 0-4 1.7909-4 4s1.7909 4 4 4 4-1.7909 4-4-1.7909-4-4-4z",fill:"#777"},null,-1)]))):(c(),f("svg",O,o[11]||(o[11]=[s("path",{d:"M12 4C6 4 2 12 2 12s4 8 10 8 10-8 10-8-4-8-10-8zm0 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm0-10c-2.2091 0-4 1.7909-4 4s1.7909 4 4 4 4-1.7909 4-4-1.7909-4-4-4z",fill:"#777"},null,-1),s("path",{d:"M2 2L22 22",stroke:"#777","stroke-width":"2"},null,-1)])))])])])]),s("div",Q,[s("label",null,[g(s("input",{type:"checkbox","onUpdate:modelValue":o[4]||(o[4]=e=>v.value=e)},null,512),[[D,v.value]]),o[12]||(o[12]=u(" I have read and agree to the ")),P($,{class:"text-blue-500",to:"terms-and-conditions"},{default:S(()=>[u(n(l.$t("message.terms_and_conditions")),1)]),_:1})])]),s("div",W,[s("div",{class:"link",onClick:o[5]||(o[5]=e=>t(b)({src:"signin",status:1}))},n(l.$t("message.or_login")),1)]),s("div",X,[s("button",{class:"cta",onClick:o[6]||(o[6]=e=>t(x)({msisdn:t(a),password:t(d),referral_code:t(M),tsc:v.value}))},n(l.$t("message.join_now")),1)])])])}}};export{ls 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.