@everymatrix/general-player-login-form 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerLoginForm-DA7FHyqz.cjs → GeneralPlayerLoginForm-BHQBK1mk.cjs} +3 -3
- package/components/{GeneralPlayerLoginForm-pQwOgSrr.js → GeneralPlayerLoginForm-D_90-MFN.js} +205 -205
- package/components/GeneralPlayerSmsVerificationForm-CvQzYeHk.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-Fw_YaAcd.js → GeneralPlayerSmsVerificationForm-pqJ0feO6.js} +139 -139
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/package.json +2 -2
- package/components/GeneralPlayerSmsVerificationForm-TUDKWMcp.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var R=(r,t,n)=>new Promise((a,o)=>{var l=d=>{try{c(n.next(d))}catch(g){o(g)}},m=d=>{try{c(n.throw(d))}catch(g){o(g)}},c=d=>d.done?a(d.value):Promise.resolve(d.value).then(l,m);c((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralPlayerLoginForm-BHQBK1mk.cjs");function O({withLocale:r,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(r))})}function U(r,t){e.addMessages(r,t)}const N={en:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"},"zh-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"},tr:{title:"Please enter the verification code you received on your number",errorTitle:"Kodunuz geçersizdi, kodu tekrar gönderip tekrar deneyebilirsiniz",code:"SMS kodu",smsCodeError:"Geçersiz sms kodu, kodu tekrar gönderebilirsiniz",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Aktif hesap",resend:"Yeniden gönder",loginSMSHint:"Telefon numaranıza yeni bir doğrulama kodu gönderildi"},ro:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"},es:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"},pt:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"},hr:{title:"Unesite verifikacijski kod koji ste primili na svoj broj telefona",errorTitle:"Vaš kod je nevažeći",code:"Sms kod",smsCodeError:"Nevažeći sms kod",resendMessage:"Novi verifkacijski kod poslan je na vaš broj telefona.",activate:"Aktiviraj račun",resend:"Ponovno pošalji",loginSMSHint:"Novi verifkacijski kod poslan je na vaš broj telefona"},"pt-br":{title:"Por favor, insira o código de verificação que você recebeu no seu número de celular",errorTitle:"Código inválido,vôce pode reenviar o código e tentar novamente",code:"Código SMS",smsCodeError:"Código SMS inválido,vôce pode reenviar o código",resendMessage:"Um novo código de verificação foi enviado para o seu número de celular.",activate:"Ativar conta",resend:"Reenviar",loginSMSHint:"Um novo código de verificação foi enviado para o seu número de celular."},"es-mx":{title:"Por favor ingrese el código de verificación que recibió en su número móvil",errorTitle:"Código inválido,Puede enviar el código e intentar de nuevo",code:"Código SMS",smsCodeError:"Código SMS inválido,Puede reenviar el código",resendMessage:"Un nuevo código de verificación ha sido enviado a su número móvil .",activate:"Activar Cuenta",resend:"Reenviar",loginSMSHint:"Un nuevo código de verificación ha sido enviado a su número móvil ."}};function q(r){e.append_styles(r,"svelte-6sviug","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.Button{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A))}")}function Y(r){let t=r[5]("errorTitle")+"",n;return{c(){n=e.text(t)},m(a,o){e.insert(a,n,o)},p(a,o){o&32&&t!==(t=a[5]("errorTitle")+"")&&e.set_data(n,t)},d(a){a&&e.detach(n)}}}function G(r){let t=r[5]("title")+"",n;return{c(){n=e.text(t)},m(a,o){e.insert(a,n,o)},p(a,o){o&32&&t!==(t=a[5]("title")+"")&&e.set_data(n,t)},d(a){a&&e.detach(n)}}}function H(r){let t,n=r[5]("smsCodeError")+"",a;return{c(){t=e.element("p"),a=e.text(n),e.attr(t,"class","InvalidInput")},m(o,l){e.insert(o,t,l),e.append(t,a)},p(o,l){l&32&&n!==(n=o[5]("smsCodeError")+"")&&e.set_data(a,n)},d(o){o&&e.detach(t)}}}function L(r){let t,n=r[5]("resendMessage")+"",a;return{c(){t=e.element("p"),a=e.text(n),e.attr(t,"class","SmsVerificationResendMessage")},m(o,l){e.insert(o,t,l),e.append(t,a)},p(o,l){l&32&&n!==(n=o[5]("resendMessage")+"")&&e.set_data(a,n)},d(o){o&&e.detach(t)}}}function D(r){let t,n,a=r[4]<10?"0":"",o,l,m;return{c(){t=e.element("span"),n=e.text("(0:"),o=e.text(a),l=e.text(r[4]),m=e.text(")"),e.attr(t,"class","SmsVerificationResendTimer")},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(t,o),e.append(t,l),e.append(t,m)},p(c,d){d&16&&a!==(a=c[4]<10?"0":"")&&e.set_data(o,a),d&16&&e.set_data(l,c[4])},d(c){c&&e.detach(t)}}}function J(r){let t,n,a,o,l,m=r[5]("code")+"",c,d,g,w,u,C,S,T,k,h,F=r[5]("activate")+"",E,_,b,j=r[5]("resend")+"",I,A,x,V;function P(i,s){return i[2]?G:Y}let M=P(r),y=M(r),f=!r[2]&&H(r),p=r[3]&&L(r),v=r[3]&&D(r);return{c(){t=e.element("div"),n=e.element("h3"),y.c(),a=e.space(),o=e.element("div"),l=e.element("label"),c=e.text(m),d=e.text(":"),g=e.element("span"),g.textContent="*",w=e.space(),u=e.element("input"),C=e.space(),f&&f.c(),T=e.space(),p&&p.c(),k=e.space(),h=e.element("button"),E=e.text(F),_=e.space(),b=e.element("button"),I=e.text(j),A=e.space(),v&&v.c(),e.attr(n,"class","Title"),e.attr(g,"class","FormRequired"),e.attr(l,"for","SmsCode"),e.attr(u,"type","text"),e.attr(u,"id","SmsCode"),e.attr(u,"inputmode","numeric"),e.attr(u,"pattern","[0-9]*"),e.attr(u,"maxlength","6"),e.attr(o,"class",S="Field SmsVerificationField "+(r[2]?"":"InvalidField")),e.attr(h,"class","Button SmsVerificationValidate"),e.attr(b,"class","Button SmsVerificationResend"),b.disabled=r[3],e.attr(t,"class","Container SmsVerificationContainer")},m(i,s){e.insert(i,t,s),e.append(t,n),y.m(n,null),e.append(t,a),e.append(t,o),e.append(o,l),e.append(l,c),e.append(l,d),e.append(l,g),e.append(o,w),e.append(o,u),e.set_input_value(u,r[1]),e.append(o,C),f&&f.m(o,null),e.append(t,T),p&&p.m(t,null),e.append(t,k),e.append(t,h),e.append(h,E),e.append(t,_),e.append(t,b),e.append(b,I),e.append(b,A),v&&v.m(b,null),r[19](t),x||(V=[e.listen(u,"input",r[17]),e.listen(u,"keydown",r[18]),e.listen(h,"click",r[6]),e.listen(b,"click",r[7])],x=!0)},p(i,[s]){M===(M=P(i))&&y?y.p(i,s):(y.d(1),y=M(i),y&&(y.c(),y.m(n,null))),s&32&&m!==(m=i[5]("code")+"")&&e.set_data(c,m),s&2&&u.value!==i[1]&&e.set_input_value(u,i[1]),i[2]?f&&(f.d(1),f=null):f?f.p(i,s):(f=H(i),f.c(),f.m(o,null)),s&4&&S!==(S="Field SmsVerificationField "+(i[2]?"":"InvalidField"))&&e.attr(o,"class",S),i[3]?p?p.p(i,s):(p=L(i),p.c(),p.m(t,k)):p&&(p.d(1),p=null),s&32&&F!==(F=i[5]("activate")+"")&&e.set_data(E,F),s&32&&j!==(j=i[5]("resend")+"")&&e.set_data(I,j),i[3]?v?v.p(i,s):(v=D(i),v.c(),v.m(b,null)):v&&(v.d(1),v=null),s&8&&(b.disabled=i[3])},i:e.noop,o:e.noop,d(i){i&&e.detach(t),y.d(),f&&f.d(),p&&p.d(),v&&v.d(),r[19](null),x=!1,e.run_all(V)}}}function K(r,t,n){let a;e.component_subscribe(r,e.$format,i=>n(5,a=i));let{endpoint:o=""}=t,{tokenid:l=""}=t,{playerid:m=""}=t,{smstemplate:c="Please use this code {0} to activate your accout"}=t,{number:d=""}=t,{clientstyling:g=""}=t,{clientstylingurl:w=""}=t,{translationurl:u=""}=t,C,S=!0,T=!1,k,h,F=+localStorage.getItem("smsTimer")||0,E=Date.now()/1e3-F,_=60-Math.floor(E);const b={numeric:/^[0-9]{0,6}$/};O({withLocale:"en",translations:{}});const j=()=>{fetch(u).then(s=>s.json()).then(s=>{Object.keys(s).forEach(z=>{U(z,s[z])})}).catch(s=>{console.log(s)})};Object.keys(N).forEach(i=>{U(i,N[i])});const I=()=>R(this,null,function*(){try{if((yield fetch(`${o}/v1/player/${m}/activateSMS?tokenId=${l}&validationCode=${C}`,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)n(2,S=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href);else throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),n(2,S=!1),new Error("Could not activate user")}catch(i){console.log(i)}}),A=()=>R(this,null,function*(){localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),M();try{const i=yield fetch(`${o}/v1/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:m,messageTemplate:c,destination:d})}),s=yield i.json();if(i.ok)n(9,l=s.id),T=!1,x();else throw T=!0,new Error("Failed to fetch")}catch(i){T=!0,console.error(i)}}),x=()=>{_>0?n(4,_--,_):(clearInterval(k),n(3,k=!1),n(4,_=60))},V=()=>{let i=document.createElement("style");i.innerHTML=g,h.appendChild(i)},P=()=>{let i=new URL(w),s=document.createElement("style");fetch(i.href).then(z=>z.text()).then(z=>{s.innerHTML=z,setTimeout(()=>{h.appendChild(s)},1),setTimeout(()=>{},500)})},M=()=>{E<60&&n(3,k=setInterval(()=>{x()},1e3))},y=i=>{!b.numeric.test(i.key)&&i.keyCode!==8&&i.keyCode!==9&&i.keyCode!==46&&i.preventDefault()};e.onMount(()=>{if(!m||!d){let i=JSON.parse(localStorage.getItem("playerData"));n(10,m=i.playerid),n(11,d=i.number)}M()});function f(){C=this.value,n(1,C)}const p=i=>y(i);function v(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,n(0,h)})}return r.$$set=i=>{"endpoint"in i&&n(12,o=i.endpoint),"tokenid"in i&&n(9,l=i.tokenid),"playerid"in i&&n(10,m=i.playerid),"smstemplate"in i&&n(13,c=i.smstemplate),"number"in i&&n(11,d=i.number),"clientstyling"in i&&n(14,g=i.clientstyling),"clientstylingurl"in i&&n(15,w=i.clientstylingurl),"translationurl"in i&&n(16,u=i.translationurl)},r.$$.update=()=>{r.$$.dirty&5632,r.$$.dirty&16385&&g&&h&&V(),r.$$.dirty&32769&&w&&h&&P(),r.$$.dirty&65536&&u&&j()},[h,C,S,k,_,a,I,A,y,l,m,d,o,c,g,w,u,f,p,v]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,K,J,e.safe_not_equal,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},q)}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get tokenid(){return this.$$.ctx[9]}set tokenid(t){this.$$set({tokenid:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(t){this.$$set({smstemplate:t}),e.flush()}get number(){return this.$$.ctx[11]}set number(t){this.$$set({number:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(B,{endpoint:{},tokenid:{},playerid:{},smstemplate:{},number:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=B;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var Y = (o, e, i) => new Promise((n, r) => {
|
|
2
|
-
var
|
|
2
|
+
var a = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
c(i.next(d));
|
|
5
5
|
} catch (y) {
|
|
6
6
|
r(y);
|
|
7
7
|
}
|
|
8
|
-
}, m = (
|
|
8
|
+
}, m = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
c(i.throw(d));
|
|
11
11
|
} catch (y) {
|
|
12
12
|
r(y);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, c = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(a, m);
|
|
15
|
+
c((i = i.apply(o, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as J, a as ee, b as te, S as ie, i as oe, f as
|
|
18
|
-
function
|
|
17
|
+
import { $ as J, a as ee, b as te, S as ie, i as oe, f as E, c as re, s as ne, d as ae, e as w, g as I, t as S, h as p, j as N, k as l, l as G, m as q, n as C, o as K, p as H, r as se, q as le, u as de, v as ce, w as ue } from "./GeneralPlayerLoginForm-D_90-MFN.js";
|
|
18
|
+
function me({ withLocale: o, translations: e }) {
|
|
19
19
|
J.subscribe((i) => {
|
|
20
20
|
i == null && (ee.set(e), J.set(o));
|
|
21
21
|
});
|
|
@@ -120,8 +120,8 @@ const Q = {
|
|
|
120
120
|
loginSMSHint: "Un nuevo código de verificación ha sido enviado a su número móvil ."
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
function
|
|
124
|
-
|
|
123
|
+
function fe(o) {
|
|
124
|
+
ae(o, "svelte-6sviug", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.Button{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A))}");
|
|
125
125
|
}
|
|
126
126
|
function ve(o) {
|
|
127
127
|
let e = (
|
|
@@ -130,7 +130,7 @@ function ve(o) {
|
|
|
130
130
|
), i;
|
|
131
131
|
return {
|
|
132
132
|
c() {
|
|
133
|
-
i =
|
|
133
|
+
i = S(e);
|
|
134
134
|
},
|
|
135
135
|
m(n, r) {
|
|
136
136
|
N(n, i, r);
|
|
@@ -138,10 +138,10 @@ function ve(o) {
|
|
|
138
138
|
p(n, r) {
|
|
139
139
|
r & /*$_*/
|
|
140
140
|
32 && e !== (e = /*$_*/
|
|
141
|
-
n[5]("errorTitle") + "") &&
|
|
141
|
+
n[5]("errorTitle") + "") && C(i, e);
|
|
142
142
|
},
|
|
143
143
|
d(n) {
|
|
144
|
-
n &&
|
|
144
|
+
n && H(i);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
}
|
|
@@ -152,7 +152,7 @@ function ge(o) {
|
|
|
152
152
|
), i;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
i =
|
|
155
|
+
i = S(e);
|
|
156
156
|
},
|
|
157
157
|
m(n, r) {
|
|
158
158
|
N(n, i, r);
|
|
@@ -160,10 +160,10 @@ function ge(o) {
|
|
|
160
160
|
p(n, r) {
|
|
161
161
|
r & /*$_*/
|
|
162
162
|
32 && e !== (e = /*$_*/
|
|
163
|
-
n[5]("title") + "") &&
|
|
163
|
+
n[5]("title") + "") && C(i, e);
|
|
164
164
|
},
|
|
165
165
|
d(n) {
|
|
166
|
-
n &&
|
|
166
|
+
n && H(i);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
}
|
|
@@ -174,18 +174,18 @@ function X(o) {
|
|
|
174
174
|
), n;
|
|
175
175
|
return {
|
|
176
176
|
c() {
|
|
177
|
-
e =
|
|
177
|
+
e = w("p"), n = S(i), p(e, "class", "InvalidInput");
|
|
178
178
|
},
|
|
179
|
-
m(r,
|
|
180
|
-
N(r, e,
|
|
179
|
+
m(r, a) {
|
|
180
|
+
N(r, e, a), l(e, n);
|
|
181
181
|
},
|
|
182
|
-
p(r,
|
|
183
|
-
|
|
182
|
+
p(r, a) {
|
|
183
|
+
a & /*$_*/
|
|
184
184
|
32 && i !== (i = /*$_*/
|
|
185
|
-
r[5]("smsCodeError") + "") &&
|
|
185
|
+
r[5]("smsCodeError") + "") && C(n, i);
|
|
186
186
|
},
|
|
187
187
|
d(r) {
|
|
188
|
-
r &&
|
|
188
|
+
r && H(e);
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
}
|
|
@@ -196,18 +196,18 @@ function Z(o) {
|
|
|
196
196
|
), n;
|
|
197
197
|
return {
|
|
198
198
|
c() {
|
|
199
|
-
e =
|
|
199
|
+
e = w("p"), n = S(i), p(e, "class", "SmsVerificationResendMessage");
|
|
200
200
|
},
|
|
201
|
-
m(r,
|
|
202
|
-
N(r, e,
|
|
201
|
+
m(r, a) {
|
|
202
|
+
N(r, e, a), l(e, n);
|
|
203
203
|
},
|
|
204
|
-
p(r,
|
|
205
|
-
|
|
204
|
+
p(r, a) {
|
|
205
|
+
a & /*$_*/
|
|
206
206
|
32 && i !== (i = /*$_*/
|
|
207
|
-
r[5]("resendMessage") + "") &&
|
|
207
|
+
r[5]("resendMessage") + "") && C(n, i);
|
|
208
208
|
},
|
|
209
209
|
d(r) {
|
|
210
|
-
r &&
|
|
210
|
+
r && H(e);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
@@ -215,69 +215,69 @@ function $(o) {
|
|
|
215
215
|
let e, i, n = (
|
|
216
216
|
/*secondsLeft*/
|
|
217
217
|
o[4] < 10 ? "0" : ""
|
|
218
|
-
), r,
|
|
218
|
+
), r, a, m;
|
|
219
219
|
return {
|
|
220
220
|
c() {
|
|
221
|
-
e =
|
|
221
|
+
e = w("span"), i = S("(0:"), r = S(n), a = S(
|
|
222
222
|
/*secondsLeft*/
|
|
223
223
|
o[4]
|
|
224
|
-
), m =
|
|
224
|
+
), m = S(")"), p(e, "class", "SmsVerificationResendTimer");
|
|
225
225
|
},
|
|
226
|
-
m(
|
|
227
|
-
N(
|
|
226
|
+
m(c, d) {
|
|
227
|
+
N(c, e, d), l(e, i), l(e, r), l(e, a), l(e, m);
|
|
228
228
|
},
|
|
229
|
-
p(
|
|
230
|
-
|
|
229
|
+
p(c, d) {
|
|
230
|
+
d & /*secondsLeft*/
|
|
231
231
|
16 && n !== (n = /*secondsLeft*/
|
|
232
|
-
|
|
233
|
-
16 &&
|
|
234
|
-
|
|
232
|
+
c[4] < 10 ? "0" : "") && C(r, n), d & /*secondsLeft*/
|
|
233
|
+
16 && C(
|
|
234
|
+
a,
|
|
235
235
|
/*secondsLeft*/
|
|
236
|
-
|
|
236
|
+
c[4]
|
|
237
237
|
);
|
|
238
238
|
},
|
|
239
|
-
d(
|
|
240
|
-
|
|
239
|
+
d(c) {
|
|
240
|
+
c && H(e);
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
function pe(o) {
|
|
245
|
-
let e, i, n, r,
|
|
245
|
+
let e, i, n, r, a, m = (
|
|
246
246
|
/*$_*/
|
|
247
247
|
o[5]("code") + ""
|
|
248
|
-
),
|
|
248
|
+
), c, d, y, F, u, j, _, A, M, h, V = (
|
|
249
249
|
/*$_*/
|
|
250
250
|
o[5]("activate") + ""
|
|
251
|
-
),
|
|
251
|
+
), R, T, k, P = (
|
|
252
252
|
/*$_*/
|
|
253
253
|
o[5]("resend") + ""
|
|
254
|
-
),
|
|
255
|
-
function O(t,
|
|
254
|
+
), D, L, U, B;
|
|
255
|
+
function O(t, s) {
|
|
256
256
|
return (
|
|
257
257
|
/*isSmsValid*/
|
|
258
258
|
t[2] ? ge : ve
|
|
259
259
|
);
|
|
260
260
|
}
|
|
261
|
-
let
|
|
262
|
-
o[2] && X(o),
|
|
261
|
+
let z = O(o), b = z(o), f = !/*isSmsValid*/
|
|
262
|
+
o[2] && X(o), v = (
|
|
263
263
|
/*timer*/
|
|
264
264
|
o[3] && Z(o)
|
|
265
|
-
),
|
|
265
|
+
), g = (
|
|
266
266
|
/*timer*/
|
|
267
267
|
o[3] && $(o)
|
|
268
268
|
);
|
|
269
269
|
return {
|
|
270
270
|
c() {
|
|
271
|
-
e =
|
|
272
|
-
o[2] ? "" : "InvalidField")
|
|
273
|
-
o[3],
|
|
271
|
+
e = w("div"), i = w("h3"), b.c(), n = I(), r = w("div"), a = w("label"), c = S(m), d = S(":"), y = w("span"), y.textContent = "*", F = I(), u = w("input"), j = I(), f && f.c(), A = I(), v && v.c(), M = I(), h = w("button"), R = S(V), T = I(), k = w("button"), D = S(P), L = I(), g && g.c(), p(i, "class", "Title"), p(y, "class", "FormRequired"), p(a, "for", "SmsCode"), p(u, "type", "text"), p(u, "id", "SmsCode"), p(u, "inputmode", "numeric"), p(u, "pattern", "[0-9]*"), p(u, "maxlength", "6"), p(r, "class", _ = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
272
|
+
o[2] ? "" : "InvalidField")), p(h, "class", "Button SmsVerificationValidate"), p(k, "class", "Button SmsVerificationResend"), k.disabled = /*timer*/
|
|
273
|
+
o[3], p(e, "class", "Container SmsVerificationContainer");
|
|
274
274
|
},
|
|
275
|
-
m(t,
|
|
276
|
-
N(t, e,
|
|
275
|
+
m(t, s) {
|
|
276
|
+
N(t, e, s), l(e, i), b.m(i, null), l(e, n), l(e, r), l(r, a), l(a, c), l(a, d), l(a, y), l(r, F), l(r, u), G(
|
|
277
277
|
u,
|
|
278
278
|
/*smsCode*/
|
|
279
279
|
o[1]
|
|
280
|
-
), l(r,
|
|
280
|
+
), l(r, j), f && f.m(r, null), l(e, A), v && v.m(e, null), l(e, M), l(e, h), l(h, R), l(e, T), l(e, k), l(k, D), l(k, L), g && g.m(k, null), o[19](e), U || (B = [
|
|
281
281
|
q(
|
|
282
282
|
u,
|
|
283
283
|
"input",
|
|
@@ -297,69 +297,69 @@ function pe(o) {
|
|
|
297
297
|
o[6]
|
|
298
298
|
),
|
|
299
299
|
q(
|
|
300
|
-
|
|
300
|
+
k,
|
|
301
301
|
"click",
|
|
302
302
|
/*resendCode*/
|
|
303
303
|
o[7]
|
|
304
304
|
)
|
|
305
|
-
],
|
|
305
|
+
], U = !0);
|
|
306
306
|
},
|
|
307
|
-
p(t, [
|
|
308
|
-
|
|
307
|
+
p(t, [s]) {
|
|
308
|
+
z === (z = O(t)) && b ? b.p(t, s) : (b.d(1), b = z(t), b && (b.c(), b.m(i, null))), s & /*$_*/
|
|
309
309
|
32 && m !== (m = /*$_*/
|
|
310
|
-
t[5]("code") + "") &&
|
|
310
|
+
t[5]("code") + "") && C(c, m), s & /*smsCode*/
|
|
311
311
|
2 && u.value !== /*smsCode*/
|
|
312
312
|
t[1] && G(
|
|
313
313
|
u,
|
|
314
314
|
/*smsCode*/
|
|
315
315
|
t[1]
|
|
316
316
|
), /*isSmsValid*/
|
|
317
|
-
t[2] ?
|
|
318
|
-
4 &&
|
|
319
|
-
t[2] ? "" : "InvalidField")
|
|
320
|
-
t[3] ?
|
|
321
|
-
32 &&
|
|
322
|
-
t[5]("activate") + "") &&
|
|
323
|
-
32 &&
|
|
324
|
-
t[5]("resend") + "") &&
|
|
325
|
-
t[3] ?
|
|
326
|
-
8 && (
|
|
317
|
+
t[2] ? f && (f.d(1), f = null) : f ? f.p(t, s) : (f = X(t), f.c(), f.m(r, null)), s & /*isSmsValid*/
|
|
318
|
+
4 && _ !== (_ = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
319
|
+
t[2] ? "" : "InvalidField")) && p(r, "class", _), /*timer*/
|
|
320
|
+
t[3] ? v ? v.p(t, s) : (v = Z(t), v.c(), v.m(e, M)) : v && (v.d(1), v = null), s & /*$_*/
|
|
321
|
+
32 && V !== (V = /*$_*/
|
|
322
|
+
t[5]("activate") + "") && C(R, V), s & /*$_*/
|
|
323
|
+
32 && P !== (P = /*$_*/
|
|
324
|
+
t[5]("resend") + "") && C(D, P), /*timer*/
|
|
325
|
+
t[3] ? g ? g.p(t, s) : (g = $(t), g.c(), g.m(k, null)) : g && (g.d(1), g = null), s & /*timer*/
|
|
326
|
+
8 && (k.disabled = /*timer*/
|
|
327
327
|
t[3]);
|
|
328
328
|
},
|
|
329
329
|
i: K,
|
|
330
330
|
o: K,
|
|
331
331
|
d(t) {
|
|
332
|
-
t &&
|
|
332
|
+
t && H(e), b.d(), f && f.d(), v && v.d(), g && g.d(), o[19](null), U = !1, se(B);
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
336
|
function ye(o, e, i) {
|
|
337
337
|
let n;
|
|
338
338
|
le(o, ue, (t) => i(5, n = t));
|
|
339
|
-
let { endpoint: r = "" } = e, { tokenid:
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
const
|
|
343
|
-
fetch(u).then((
|
|
344
|
-
Object.keys(
|
|
345
|
-
W(
|
|
339
|
+
let { endpoint: r = "" } = e, { tokenid: a = "" } = e, { playerid: m = "" } = e, { smstemplate: c = "Please use this code {0} to activate your accout" } = e, { number: d = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: u = "" } = e, j, _ = !0, A = !1, M, h, V = +localStorage.getItem("smsTimer") || 0, R = Date.now() / 1e3 - V, T = 60 - Math.floor(R);
|
|
340
|
+
const k = { numeric: /^[0-9]{0,6}$/ };
|
|
341
|
+
me({ withLocale: "en", translations: {} });
|
|
342
|
+
const P = () => {
|
|
343
|
+
fetch(u).then((s) => s.json()).then((s) => {
|
|
344
|
+
Object.keys(s).forEach((x) => {
|
|
345
|
+
W(x, s[x]);
|
|
346
346
|
});
|
|
347
|
-
}).catch((
|
|
348
|
-
console.log(
|
|
347
|
+
}).catch((s) => {
|
|
348
|
+
console.log(s);
|
|
349
349
|
});
|
|
350
350
|
};
|
|
351
351
|
Object.keys(Q).forEach((t) => {
|
|
352
352
|
W(t, Q[t]);
|
|
353
353
|
});
|
|
354
|
-
const
|
|
354
|
+
const D = () => Y(this, null, function* () {
|
|
355
355
|
try {
|
|
356
|
-
if ((yield fetch(`${r}/v1/player/${m}/activateSMS?tokenId=${
|
|
356
|
+
if ((yield fetch(`${r}/v1/player/${m}/activateSMS?tokenId=${a}&validationCode=${j}`, {
|
|
357
357
|
headers: {
|
|
358
358
|
"Content-Type": "application/json",
|
|
359
359
|
accept: "application/json"
|
|
360
360
|
}
|
|
361
361
|
})).ok)
|
|
362
|
-
i(2,
|
|
362
|
+
i(2, _ = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
|
|
363
363
|
else
|
|
364
364
|
throw window.postMessage(
|
|
365
365
|
{
|
|
@@ -370,12 +370,12 @@ function ye(o, e, i) {
|
|
|
370
370
|
}
|
|
371
371
|
},
|
|
372
372
|
window.location.href
|
|
373
|
-
), i(2,
|
|
373
|
+
), i(2, _ = !1), new Error("Could not activate user");
|
|
374
374
|
} catch (t) {
|
|
375
375
|
console.log(t);
|
|
376
376
|
}
|
|
377
|
-
}),
|
|
378
|
-
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))),
|
|
377
|
+
}), L = () => Y(this, null, function* () {
|
|
378
|
+
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), z();
|
|
379
379
|
try {
|
|
380
380
|
const t = yield fetch(`${r}/v1/player/sms/token`, {
|
|
381
381
|
method: "POST",
|
|
@@ -385,28 +385,28 @@ function ye(o, e, i) {
|
|
|
385
385
|
},
|
|
386
386
|
body: JSON.stringify({
|
|
387
387
|
userId: m,
|
|
388
|
-
messageTemplate:
|
|
389
|
-
destination:
|
|
388
|
+
messageTemplate: c,
|
|
389
|
+
destination: d
|
|
390
390
|
})
|
|
391
|
-
}),
|
|
391
|
+
}), s = yield t.json();
|
|
392
392
|
if (t.ok)
|
|
393
|
-
i(9,
|
|
393
|
+
i(9, a = s.id), A = !1, U();
|
|
394
394
|
else
|
|
395
|
-
throw
|
|
395
|
+
throw A = !0, new Error("Failed to fetch");
|
|
396
396
|
} catch (t) {
|
|
397
|
-
|
|
397
|
+
A = !0, console.error(t);
|
|
398
398
|
}
|
|
399
|
-
}),
|
|
400
|
-
|
|
401
|
-
},
|
|
399
|
+
}), U = () => {
|
|
400
|
+
T > 0 ? i(4, T--, T) : (clearInterval(M), i(3, M = !1), i(4, T = 60));
|
|
401
|
+
}, B = () => {
|
|
402
402
|
let t = document.createElement("style");
|
|
403
403
|
t.innerHTML = y, h.appendChild(t);
|
|
404
404
|
}, O = () => {
|
|
405
|
-
let t = new URL(
|
|
406
|
-
fetch(t.href).then((
|
|
407
|
-
|
|
405
|
+
let t = new URL(F), s = document.createElement("style");
|
|
406
|
+
fetch(t.href).then((x) => x.text()).then((x) => {
|
|
407
|
+
s.innerHTML = x, setTimeout(
|
|
408
408
|
() => {
|
|
409
|
-
h.appendChild(
|
|
409
|
+
h.appendChild(s);
|
|
410
410
|
},
|
|
411
411
|
1
|
|
412
412
|
), setTimeout(
|
|
@@ -415,61 +415,61 @@ function ye(o, e, i) {
|
|
|
415
415
|
500
|
|
416
416
|
);
|
|
417
417
|
});
|
|
418
|
-
},
|
|
419
|
-
|
|
418
|
+
}, z = () => {
|
|
419
|
+
R < 60 && i(3, M = setInterval(
|
|
420
420
|
() => {
|
|
421
|
-
|
|
421
|
+
U();
|
|
422
422
|
},
|
|
423
423
|
1e3
|
|
424
424
|
));
|
|
425
|
-
},
|
|
426
|
-
!
|
|
425
|
+
}, b = (t) => {
|
|
426
|
+
!k.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
|
|
427
427
|
};
|
|
428
|
-
|
|
429
|
-
if (!m || !
|
|
428
|
+
de(() => {
|
|
429
|
+
if (!m || !d) {
|
|
430
430
|
let t = JSON.parse(localStorage.getItem("playerData"));
|
|
431
|
-
i(10, m = t.playerid), i(11,
|
|
431
|
+
i(10, m = t.playerid), i(11, d = t.number);
|
|
432
432
|
}
|
|
433
|
-
|
|
433
|
+
z();
|
|
434
434
|
});
|
|
435
|
-
function
|
|
436
|
-
|
|
435
|
+
function f() {
|
|
436
|
+
j = this.value, i(1, j);
|
|
437
437
|
}
|
|
438
|
-
const
|
|
439
|
-
function
|
|
440
|
-
|
|
438
|
+
const v = (t) => b(t);
|
|
439
|
+
function g(t) {
|
|
440
|
+
ce[t ? "unshift" : "push"](() => {
|
|
441
441
|
h = t, i(0, h);
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
444
|
return o.$$set = (t) => {
|
|
445
|
-
"endpoint" in t && i(12, r = t.endpoint), "tokenid" in t && i(9,
|
|
445
|
+
"endpoint" in t && i(12, r = t.endpoint), "tokenid" in t && i(9, a = t.tokenid), "playerid" in t && i(10, m = t.playerid), "smstemplate" in t && i(13, c = t.smstemplate), "number" in t && i(11, d = t.number), "clientstyling" in t && i(14, y = t.clientstyling), "clientstylingurl" in t && i(15, F = t.clientstylingurl), "translationurl" in t && i(16, u = t.translationurl);
|
|
446
446
|
}, o.$$.update = () => {
|
|
447
447
|
o.$$.dirty & /*tokenid, playerid, endpoint*/
|
|
448
448
|
5632, o.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
449
|
-
16385 && y && h &&
|
|
450
|
-
32769 &&
|
|
451
|
-
65536 && u &&
|
|
449
|
+
16385 && y && h && B(), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
450
|
+
32769 && F && h && O(), o.$$.dirty & /*translationurl*/
|
|
451
|
+
65536 && u && P();
|
|
452
452
|
}, [
|
|
453
453
|
h,
|
|
454
|
-
|
|
455
|
-
C,
|
|
454
|
+
j,
|
|
456
455
|
_,
|
|
457
456
|
M,
|
|
457
|
+
T,
|
|
458
458
|
n,
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
459
|
+
D,
|
|
460
|
+
L,
|
|
461
|
+
b,
|
|
462
|
+
a,
|
|
463
463
|
m,
|
|
464
|
-
c,
|
|
465
|
-
r,
|
|
466
464
|
d,
|
|
465
|
+
r,
|
|
466
|
+
c,
|
|
467
467
|
y,
|
|
468
|
-
|
|
468
|
+
F,
|
|
469
469
|
u,
|
|
470
|
+
f,
|
|
470
471
|
v,
|
|
471
|
-
g
|
|
472
|
-
p
|
|
472
|
+
g
|
|
473
473
|
];
|
|
474
474
|
}
|
|
475
475
|
class he extends ie {
|
|
@@ -490,56 +490,56 @@ class he extends ie {
|
|
|
490
490
|
clientstylingurl: 15,
|
|
491
491
|
translationurl: 16
|
|
492
492
|
},
|
|
493
|
-
|
|
493
|
+
fe
|
|
494
494
|
);
|
|
495
495
|
}
|
|
496
496
|
get endpoint() {
|
|
497
497
|
return this.$$.ctx[12];
|
|
498
498
|
}
|
|
499
499
|
set endpoint(e) {
|
|
500
|
-
this.$$set({ endpoint: e }),
|
|
500
|
+
this.$$set({ endpoint: e }), E();
|
|
501
501
|
}
|
|
502
502
|
get tokenid() {
|
|
503
503
|
return this.$$.ctx[9];
|
|
504
504
|
}
|
|
505
505
|
set tokenid(e) {
|
|
506
|
-
this.$$set({ tokenid: e }),
|
|
506
|
+
this.$$set({ tokenid: e }), E();
|
|
507
507
|
}
|
|
508
508
|
get playerid() {
|
|
509
509
|
return this.$$.ctx[10];
|
|
510
510
|
}
|
|
511
511
|
set playerid(e) {
|
|
512
|
-
this.$$set({ playerid: e }),
|
|
512
|
+
this.$$set({ playerid: e }), E();
|
|
513
513
|
}
|
|
514
514
|
get smstemplate() {
|
|
515
515
|
return this.$$.ctx[13];
|
|
516
516
|
}
|
|
517
517
|
set smstemplate(e) {
|
|
518
|
-
this.$$set({ smstemplate: e }),
|
|
518
|
+
this.$$set({ smstemplate: e }), E();
|
|
519
519
|
}
|
|
520
520
|
get number() {
|
|
521
521
|
return this.$$.ctx[11];
|
|
522
522
|
}
|
|
523
523
|
set number(e) {
|
|
524
|
-
this.$$set({ number: e }),
|
|
524
|
+
this.$$set({ number: e }), E();
|
|
525
525
|
}
|
|
526
526
|
get clientstyling() {
|
|
527
527
|
return this.$$.ctx[14];
|
|
528
528
|
}
|
|
529
529
|
set clientstyling(e) {
|
|
530
|
-
this.$$set({ clientstyling: e }),
|
|
530
|
+
this.$$set({ clientstyling: e }), E();
|
|
531
531
|
}
|
|
532
532
|
get clientstylingurl() {
|
|
533
533
|
return this.$$.ctx[15];
|
|
534
534
|
}
|
|
535
535
|
set clientstylingurl(e) {
|
|
536
|
-
this.$$set({ clientstylingurl: e }),
|
|
536
|
+
this.$$set({ clientstylingurl: e }), E();
|
|
537
537
|
}
|
|
538
538
|
get translationurl() {
|
|
539
539
|
return this.$$.ctx[16];
|
|
540
540
|
}
|
|
541
541
|
set translationurl(e) {
|
|
542
|
-
this.$$set({ translationurl: e }),
|
|
542
|
+
this.$$set({ translationurl: e }), E();
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
re(he, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerLoginForm-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerLoginForm-BHQBK1mk.cjs")).then(e=>e.GeneralPlayerLoginForm_ce).then(({default:e})=>{!customElements.get("general-player-login-form")&&customElements.define("general-player-login-form",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralPlayerLoginForm-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralPlayerLoginForm-D_90-MFN.js").then((e) => e.G).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("general-player-login-form") && customElements.define("general-player-login-form", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/general-player-login-form",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/general-player-login-form.cjs",
|
|
6
6
|
"module": "es2015/general-player-login-form.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/general-player-login-form.cjs": "./es2015/general-player-login-form.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
"files": [
|
|
15
15
|
"es2015/",
|
|
16
16
|
"components"
|
|
17
17
|
],
|