@everymatrix/general-player-sms-verification-form 1.0.13 → 1.0.14
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.
|
@@ -567,17 +567,17 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
|
570
|
-
***************************************************************************** */function Mt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Ut={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ut}const Dt=G(!1);let Ft;const kt=G(null);function $t(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Vt(e,t=Gt().fallbackLocale){const r=$t(e);return t?[...new Set([...r,...$t(t)])]:r}function xt(){return null!=Ft?Ft:void 0}kt.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const jt=Object.assign(Object.assign({},kt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Vt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Nt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=xt()&&t?r=window.setTimeout((()=>Dt.set(!0)),t):Dt.set(!0),Rt(e).then((()=>{kt.set(e)})).finally((()=>{clearTimeout(r),Dt.set(!1)}))}return kt.set(e)}}),Xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Kt=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Kt("number",r)),new Intl.NumberFormat(t,n)})),Yt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Kt("date",r):0===Object.keys(n).length&&(n=Kt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Kt("time",r):0===Object.keys(n).length&&(n=Kt("time","short")),new Intl.DateTimeFormat(t,n)})),Wt=Xt(((e,t=xt())=>new Tt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),qt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=xt(),default:h}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=At(e,c);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=Gt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:h}))&&void 0!==i?i:h)&&void 0!==o?o:e;if(!a)return l;let u=l;try{u=Wt(l,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Jt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Yt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t=xt())=>At(e,t),rr=D([jt,St],(()=>qt));D([jt],(()=>Jt)),D([jt],(()=>Qt)),D([jt],(()=>er)),D([jt,St],(()=>tr));const
|
|
571
|
-
/* src/GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.48.0 */function
|
|
572
|
-
// (
|
|
573
|
-
function
|
|
574
|
-
// (
|
|
575
|
-
function
|
|
576
|
-
// (
|
|
577
|
-
function
|
|
578
|
-
// (
|
|
579
|
-
function
|
|
580
|
-
return e[1]?or
|
|
570
|
+
***************************************************************************** */function Mt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Ut={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ut}const Dt=G(!1);let Ft;const kt=G(null);function $t(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Vt(e,t=Gt().fallbackLocale){const r=$t(e);return t?[...new Set([...r,...$t(t)])]:r}function xt(){return null!=Ft?Ft:void 0}kt.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const jt=Object.assign(Object.assign({},kt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Vt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Nt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=xt()&&t?r=window.setTimeout((()=>Dt.set(!0)),t):Dt.set(!0),Rt(e).then((()=>{kt.set(e)})).finally((()=>{clearTimeout(r),Dt.set(!1)}))}return kt.set(e)}}),Xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Kt=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Kt("number",r)),new Intl.NumberFormat(t,n)})),Yt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Kt("date",r):0===Object.keys(n).length&&(n=Kt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Kt("time",r):0===Object.keys(n).length&&(n=Kt("time","short")),new Intl.DateTimeFormat(t,n)})),Wt=Xt(((e,t=xt())=>new Tt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),qt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=xt(),default:h}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=At(e,c);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=Gt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:h}))&&void 0!==i?i:h)&&void 0!==o?o:e;if(!a)return l;let u=l;try{u=Wt(l,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Jt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Yt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t=xt())=>At(e,t),rr=D([jt,St],(()=>qt));function nr(e,t){wt(e,t)}D([jt],(()=>Jt)),D([jt],(()=>Qt)),D([jt],(()=>er)),D([jt,St],(()=>tr));const ir={en:{smsVerification:{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"}},zh:{smsVerification:{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送到您的电话号码。",activate:"激活账户",resend:"重发"}},fr:{smsVerification:{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:{smsVerification:{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"}},ro:{smsVerification:{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"}},es:{smsVerification:{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"}},pt:{smsVerification:{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"}}};
|
|
571
|
+
/* src/GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.48.0 */function or(e){let t,r=/*$_*/e[4]("smsVerification.errorTitle")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/16&n&&r!==(r=/*$_*/e[4]("smsVerification.errorTitle")+"")&&g(t,r)},d(e){e&&h(t)}}}
|
|
572
|
+
// (111:4) {#if isSmsValid}
|
|
573
|
+
function sr(e){let t,r=/*$_*/e[4]("smsVerification.title")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/16&n&&r!==(r=/*$_*/e[4]("smsVerification.title")+"")&&g(t,r)},d(e){e&&h(t)}}}
|
|
574
|
+
// (124:4) {#if !isSmsValid}
|
|
575
|
+
function ar(e){let t,r,n=/*$_*/e[4]("smsVerification.smsCodeError")+"";return{c(){t=l("p"),r=u(n),m(t,"class","InvalidInput"),m(t,"part","InvalidInput")},m(e,n){c(e,t,n),a(t,r)},p(e,t){/*$_*/16&t&&n!==(n=/*$_*/e[4]("smsVerification.smsCodeError")+"")&&g(r,n)},d(e){e&&h(t)}}}
|
|
576
|
+
// (129:2) {#if timer}
|
|
577
|
+
function cr(e){let t,r,n=/*$_*/e[4]("smsVerification.resendMessage")+"";return{c(){t=l("p"),r=u(n),m(t,"class","SmsVerificationResendMessage"),m(t,"part","SmsVerificationResendMessage")},m(e,n){c(e,t,n),a(t,r)},p(e,t){/*$_*/16&t&&n!==(n=/*$_*/e[4]("smsVerification.resendMessage")+"")&&g(r,n)},d(e){e&&h(t)}}}
|
|
578
|
+
// (144:35) {#if timer}
|
|
579
|
+
function hr(e){let t,r,n,i,o,s=/*secondsLeft*/e[2]<10?"0":"";return{c(){t=l("span"),r=u("(0:"),n=u(s),i=u(/*secondsLeft*/e[2]),o=u(")"),m(t,"class","SmsVerificationResendTimer")},m(e,s){c(e,t,s),a(t,r),a(t,n),a(t,i),a(t,o)},p(e,t){/*secondsLeft*/4&t&&s!==(s=/*secondsLeft*/e[2]<10?"0":"")&&g(n,s),/*secondsLeft*/4&t&&g(i,/*secondsLeft*/e[2])},d(e){e&&h(t)}}}function lr(t){let r,i,o,s,E,y,v,T,H,B,A,_,S,P,L,w,I,C,N,O,R,M,U,G=/*$_*/t[4]("smsVerification.code")+"",D=/*$_*/t[4]("smsVerification.activate")+"",F=/*$_*/t[4]("smsVerification.resend")+"";function k(e,t){/*isSmsValid*/
|
|
580
|
+
return e[1]?sr:or}let $=k(t),V=$(t),x=!/*isSmsValid*/t[1]&&ar(t),j=/*timer*/t[3]&&cr(t),X=/*timer*/t[3]&&hr(t);return{c(){r=l("div"),i=l("h3"),V.c(),o=f(),s=l("div"),E=l("label"),y=u(G),v=u(":"),T=l("span"),T.textContent="*",H=f(),B=l("input"),A=f(),x&&x.c(),P=f(),j&&j.c(),L=f(),w=l("button"),I=u(D),C=f(),N=l("button"),O=u(F),R=f(),X&&X.c(),this.c=e,m(i,"class","Title"),m(i,"part","Title"),m(T,"class","FormRequired"),m(T,"part","FormRequired"),m(E,"for","SmsCode"),m(B,"type","number"),m(B,"id","SmsCode"),m(s,"class",_="Field SmsVerificationField "+(/*isSmsValid*/t[1]?"":"InvalidField")),m(s,"part",S="SmsVerificationField "+(/*isSmsValid*/t[1]?"":"InvalidField")),m(w,"class","Button SmsVerificationValidate"),m(w,"part","SmsVerificationValidate"),m(N,"class","Button SmsVerificationResend"),m(N,"part","SmsVerificationResend"),N.disabled=/*timer*/t[3],m(r,"class","Container SmsVerificationContainer"),m(r,"part","SmsVerificationContainer")},m(e,n){c(e,r,n),a(r,i),V.m(i,null),a(r,o),a(r,s),a(s,E),a(E,y),a(E,v),a(E,T),a(s,H),a(s,B),b(B,/*smsCode*/t[0]),a(s,A),x&&x.m(s,null),a(r,P),j&&j.m(r,null),a(r,L),a(r,w),a(w,I),a(r,C),a(r,N),a(N,O),a(N,R),X&&X.m(N,null),M||(U=[p(B,"input",/*input_input_handler*/t[13]),p(w,"click",/*activateUser*/t[5]),p(N,"click",/*resendCode*/t[6])],M=!0)},p(e,[t]){$===($=k(e))&&V?V.p(e,t):(V.d(1),V=$(e),V&&(V.c(),V.m(i,null))),/*$_*/16&t&&G!==(G=/*$_*/e[4]("smsVerification.code")+"")&&g(y,G),/*smsCode*/1&t&&d(B.value)!==/*smsCode*/e[0]&&b(B,/*smsCode*/e[0]),/*isSmsValid*/e[1]?x&&(x.d(1),x=null):x?x.p(e,t):(x=ar(e),x.c(),x.m(s,null)),/*isSmsValid*/2&t&&_!==(_="Field SmsVerificationField "+(/*isSmsValid*/e[1]?"":"InvalidField"))&&m(s,"class",_),/*isSmsValid*/2&t&&S!==(S="SmsVerificationField "+(/*isSmsValid*/e[1]?"":"InvalidField"))&&m(s,"part",S),/*timer*/e[3]?j?j.p(e,t):(j=cr(e),j.c(),j.m(r,L)):j&&(j.d(1),j=null),/*$_*/16&t&&D!==(D=/*$_*/e[4]("smsVerification.activate")+"")&&g(I,D),/*$_*/16&t&&F!==(F=/*$_*/e[4]("smsVerification.resend")+"")&&g(O,F),/*timer*/e[3]?X?X.p(e,t):(X=hr(e),X.c(),X.m(N,null)):X&&(X.d(1),X=null),/*timer*/8&t&&(N.disabled=/*timer*/e[3])},i:e,o:e,d(e){e&&h(r),V.d(),x&&x.d(),j&&j.d(),X&&X.d(),M=!1,n(U)}}}function ur(e,t,r){let n;var i,o;i=rr,o=e=>r(4,n=e),e.$$.on_destroy.push(s(i,o));let a,c,{endpoint:h=""}=t,{tokenid:l=""}=t,{playerid:u=""}=t,{smstemplate:f="Please use this code {0} to activate your accout"}=t,{number:p=""}=t,{translationUrl:m=""}=t,g=!0,b=!1,E=60;!function({withLocale:e,translations:t}){jt.subscribe((r=>{null==r&&(St.set(t),jt.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
581
581
|
/*dictionary.set(translations);
|
|
582
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}})
|
|
582
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(ir).forEach((e=>{nr(e,ir[e])}));const y=()=>{E>0?r(2,E--,E):(clearInterval(c),r(3,c=!1),r(2,E=60))};return e.$$set=e=>{"endpoint"in e&&r(8,h=e.endpoint),"tokenid"in e&&r(7,l=e.tokenid),"playerid"in e&&r(9,u=e.playerid),"smstemplate"in e&&r(10,f=e.smstemplate),"number"in e&&r(11,p=e.number),"translationUrl"in e&&r(12,m=e.translationUrl)},e.$$.update=()=>{e.$$.dirty,/*translationUrl*/4096&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{nr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,g,E,c,n,async()=>{try{if(!(await fetch(`${h}/player/${u}/activateSMS?tokenId=${l}&validationCode=${a}`,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(1,g=!1),new Error("Could not activate user");r(1,g=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(1,g=!1),console.log(e)}},async()=>{try{const e=await fetch(`${h}/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:u,messageTemplate:f,destination:p})}),t=await e.json();if(!e.ok)throw b=!0,new Error("Failed to fetch");r(7,l=t.id),b=!1,r(3,c=setInterval((()=>{y()}),1e3))}catch(e){b=!0,console.error(e)}},l,h,u,f,p,m,function(){a=d(this.value),r(0,a)}]}class fr extends M{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::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-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{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-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.Button{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid 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-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000)}</style>",R(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ur,lr,o,{endpoint:8,tokenid:7,playerid:9,smstemplate:10,number:11,translationUrl:12},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","translationUrl"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),I()}get tokenid(){return this.$$.ctx[7]}set tokenid(e){this.$$set({tokenid:e}),I()}get playerid(){return this.$$.ctx[9]}set playerid(e){this.$$set({playerid:e}),I()}get smstemplate(){return this.$$.ctx[10]}set smstemplate(e){this.$$set({smstemplate:e}),I()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),I()}get translationUrl(){return this.$$.ctx[12]}set translationUrl(e){this.$$set({translationUrl:e}),I()}}return!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",fr),fr}));
|
|
583
583
|
//# sourceMappingURL=general-player-sms-verification-form.js.map
|