Files
yakpanel-core/YakPanel/static/vite/js/index-legacy-DHECV3Y6.js

2 lines
8.8 KiB
JavaScript
Raw Permalink Normal View History

2026-04-07 02:04:22 +05:30
System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,t,n,i,o,s,r,d,p,u,c,g,m,f,v,w,_,x,h,C,b,y,k,L,S,P,z,j,M,Z,$;return{setters:[e=>{l=e._,t=e.ez,n=e.b,i=e.u,o=e.m,s=e.f,r=e.g,d=e.c},e=>{p=e._},e=>{u=e.k,c=e.R,g=e.r,m=e.al,f=e.e,v=e.$,w=e.Z,_=e._,x=e.j,h=e.ak,C=e.S,b=e.a0,y=e.a9,k=e.ai,L=e.aa},e=>{S=e.$,P=e.B,z=e.a0,j=e.a1,M=e.b,Z=e.Z,$=e.k},null],execute:function(){var a=document.createElement("style");a.textContent=".login-container[data-v-ca907ead]{display:flex;width:100%;max-width:960px;height:480px;background-color:var(--color-bg-2);border-radius:10px;overflow:hidden}.left-panel[data-v-ca907ead]{width:50%;padding:32px;background:var(--setting-panel-bind-account-left-bg)}.right-panel[data-v-ca907ead]{width:50%;padding:24px 32px}h1[data-v-ca907ead]{margin-bottom:40px;font-size:32px;font-weight:700}.feature-list[data-v-ca907ead]{list-style:none;margin-top:20px}.feature-list li[data-v-ca907ead]{position:relative;font-size:14px;display:flex;gap:6px;line-height:22px}.feature-list li[data-v-ca907ead]:first-of-type{margin-bottom:16px}.feature-list li+li[data-v-ca907ead]{margin-top:10px}.feature-list li span[data-v-ca907ead]:first-of-type{display:flex;justify-content:center;width:20px;height:20px}.skip-link[data-v-ca907ead]{position:absolute;right:24px;bottom:16px;text-align:right;margin-top:30px}.skip-link a[data-v-ca907ead]{color:#999;text-decoration:none}.n-divider[data-v-ca907ead]{font-size:14px}.google-btn[data-v-ca907ead]{--n-text-color: var(--color-text-1)}\n/*$vite$:1*/",document.head.appendChild(a);const R={class:"login-container"},F={class:"left-panel"},A={class:"feature-list"},E={class:"right-panel"},B={key:0},U={class:"my-16px"},D={class:"my-16px"},G={class:"flex justify-end mt-12px"},I={key:1,class:"p-30px"},q={class:"font-600 text-left"},H={class:"underline"},K={class:"text-16px my-20px text-left"};e("default",d(u({__name:"index",emits:["close"],setup(e,{emit:a}){const{t:d}=c(),u=a,T=g(!1),W=m("signFormRef"),O=f({email:"",password:""}),Y=m("loginFormRef"),J=f({email:"",password:""}),N={email:{required:!0,message:d("Component.BindAccount.index_4"),trigger:["blur","input"]},password:{required:!0,message:d("Component.BindAccount.index_5"),trigger:["blur","input"]}},Q=async()=>{await(W.value?.validate()),await t({email:O.email,password:O.password}),T.value=!0},V=async()=>{T.value?await n({username:O.email,password:O.password}):(await(Y.value?.validate()),await n({username:J.email,password:J.password})),await i({force:1}),o.success("Login successful"),s()},X=()=>{localStorage.setItem("loginActivityShown","true"),u("close")},ee=()=>{window.location.href=`${r()}/google/redirect`};return(e,a)=>{const t=P,n=z,i=M,o=j,s=p,r=S,d=l,u=Z,c=$;return v(),w("div",R,[_("div",F,[a[12]||(a[12]=_("h1",null,"Log in to YakPanel account",-1)),_("ul",A,[a[7]||(a[7]=_("li",null,"Log in to YakPanel now to unlock the following features:",-1)),a[8]||(a[8]=_("li",null,[_("span",null,"📧"),_("span",null,[x("Mail Server Dashboard Management"),_("br")])],-1)),a[9]||(a[9]=_("li",null,[_("span",null,[_("svg",{xmlns:"http://www.w3.org/2000/svg",role:"img",width:"16",viewBox:"0 0 28 28"},[_("title",null,"WordPress.org"),_("path",{fill:"currentColor",d:"M13.6052 0.923525C16.1432 0.923525 18.6137 1.67953 20.7062 3.09703C22.7447 4.47403 24.3512 6.41803 25.3097 8.68603C26.9837 12.6415 26.5382 17.164 24.1352 20.7145C22.7582 22.753 20.8142 24.3595 18.5462 25.318C14.5907 26.992 10.0682 26.5465 6.51772 24.1435C4.47922 22.7665 2.87272 20.8225 1.91422 18.5545C0.240225 14.599 0.685725 10.0765 3.08872 6.52603C4.46572 4.48753 6.40973 2.88103 8.67772 1.92253C10.2302 1.26103 11.9177 0.923525 13.6052 0.923525ZM13.6052 0.113525C6.15322 0.113525 0.105225 6.16153 0.105225 13.6135C0.105225 21.0655 6.15322 27.1135 13.6052 27.1135C21.0572 27.1135 27.1052 21.0655 27.1052 13.6135C27.1052 6.16153 21.0572 0