PageSourceSearch

https://portal.pcicompliance.com/assets/TwoFA-B_mJTNHj.js

js pcicompliance.com collected 2026-09-28 09:22:19 UTC 5,259 bytes, 1 lines download raw bytes

1import{Q as t,R as e,u as a,r,o as s,d as l,e as o,f as i,t as n,w as c,i as d,j as m,v as u,p as g,x as p}from"./index-DmBlmU0I.js";import{_ as y}from"./logo-v2-Bhij1-8R.js";const x={class:"bg-gray-50 dark:bg-gray-900"},h={class:"flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"},f={class:"w-full bg-white rounded-lg shadow dark:border md:mt-0 sm:max-w-lg xl:p-0 dark:bg-gray-800 dark:border-gray-700"},v={class:"p-6 space-y-4 md:space-y-6 sm:p-8"},k={class:"flex flex-col items-center"},b={class:"text-2xl tracking-tight font-semibold text-gray-800 dark:text-white"},w={class:"space-y-2"},A={class:"text-base font-light text-gray-700 dark:text-gray-500"},$={class:"flex space-x-2 text-center items-center"},V={class:"text-lg tracking-tight font-normal text-gray-800 dark:text-white"},_={class:"space-y-2"},j={class:"text-base font-light text-gray-700 dark:text-gray-500"},H={class:"flex space-x-2 text-center items-center"},S={class:"text-lg tracking-tight font-normal text-gray-800 dark:text-white"},X={class:"space-y-2"},C={class:"text-base font-light text-gray-700 dark:text-gray-500"},M={type:"submit",class:"w-full mb-2 text-white bg-primary-900 hover:bg-primary-950 focus:ring-4 focus:outline-none focus:ring-primary-700 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"},q={class:"flex flex-col space-y-2 items-start sm:max-w-lg p-2 sm:p-5"},B={class:"text-sm font-semibold leading-tight tracking-tight text-primary-950 md:text-sm dark:text-white"},L={class:"text-sm font-light text-gray-500 dark:text-gray-400"},F={key:0,class:"space-y-2 text-sm font-light text-gray-500 dark:text-gray-400"},Q={__name:"TwoFA",setup(Q){const R=t(),T=e();a();
1const U=r("1"),z=T.query.step,D=r(""),E=r(""),G=r(!1),I=r("");async function J(){let t;try{t=await p(D.value,E.value),!0===t?R.push("/overview"):I.value=t}catch(e){I.value=e.message||"An error occurred during authentication."}}return s(()=>{"1"===z?U.value="1":"2"===z?U.value="2":"3"===z&&(U.value="3")}),(t,e)=>(l(),o("section",x,[i("div",h,[e[5]||(e[5]=i("a",{href:"#",class:"flex items-center mb-6 text-2xl font-semibold text-gray-900 dark:text-white"},[i("img",{class:"w-64 mr-2",src:y,alt:"logo"})],-1)),i("div",f,[i("div",v,[i("span",k,[i("h2",b,n(t.$t("auth.twofa.title")),1)]),"1"===U.value?(l(),o("form",{key:0,onSubmit:c(J,["prevent"]),class:"space-y-4 md:space-y-6",action:"#"},[i("div",w,[i("p",A,n(t.$t("auth.twofa.approve_identity")),1)])],32)):d("",!0),"2"===U.value?(l(),o("form",{key:1,onSubmit:c(J,["prevent"]),class:"space-y-2 md:space-y-4",action:"#"},[i("div",$,[e[2]||(e[2]=i("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[i("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})],-1)),i("h3",V,n(t.$t("auth.twofa.auth_code")),1)]),i("div",_,[i("p",j,n(t.$t("auth.twofa.when_your_mobile")),1)]),e[3]||(e[3]=i("button",{type:"submit",class:"w-full mb-2 text-white bg-primary-900 hover:bg-primary-950 focus:ring-4 focus:outline-none focus:ring-primary-700 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"},"Send SMS",-1))],32)):d("",!0),"3"===U.value?(l(),o("form",{key:2,onSubmit:c(J,["prevent"]),class:"space-y-2 md:space-y-4",action:"#"},[i("div",H,[e[4]||(e[4]=i("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[i("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})],-1)),i("h3",S,n(t.$t("auth.twofa.auth_code")),1)]),i("div",null,[m(i("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>D.value=t),type:"text",name:"username",id:"username",class:"bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-3 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"XXXXXX",required:""},null,512),[[u,D.value]])]),i("div",X,[i("p",C,n(t.$t("auth.twofa.we_just_sent_you")),1)]),i("button",M,n(t.$t("shared.labels.verify")),1)],32)):d("",!0)])]),i("div",q,[i("h5",B,n(t.$t("auth.login.terms.title")),1),i("p",L,[g(n(t.$t("auth.login.terms.p1"))+" ",1),i("a",{href:"#",onClick:e[1]||(e[1]=t=>G.value=!G.value),class:"font-medium text-primary-900 hover:underline dark:text-primary-400"},n(t.$t("shared.labels.here"))+".",1)]),G.value?(l(),o("div",F,[i("p",null,n(t.$t("auth.login.terms.p2")),1),i("p",null,n(t.$t("auth.login.terms.p3")),1),i("p",null,n(t.$t("auth.login.terms.p4")),1)])):d("",!0)])])]))}};export{Q 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.