1import{h as r,e8 as l,e9 as i,b4 as a,ar as u,b6 as c}from"./commonChunk.Dhe5lqYh.js";import{s as n}from"./style.module.B6v0yd5p.js";import{f as s}from"../vendors/vendor-stable.B8ub4Ug6.js";import"./vendorChunk.BdsO83GQ.js";import"../vendors/vendor-swiper.T_wbf2QY.js";const m={openBindSuccess:e=>{const{t}=r();l(i.WEBAUTHN_BIND_SUCCESS,{title:()=>s("span",{class:n.color__lead},[t("lobby.center.security.webAuthn.bindSuccess")]),type:"success",message:()=>s(c,{class:[n.content,u().rtlClass],html:t("lobby.center.security.webAuthn.bind.success")},null),confirmButtonText:()=>t("lobby.modal.force.understood"),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,beforeClose:()=>(e==null||e(),!0)})},openBindFail:(e,t)=>{const{t:o}=r();l(i.WEBAUTHN_BIND_FAIL,{title:()=>s("span",{class:n.color__lead},[o("lobby.center.security.webAuthn.bindFail")]),type:"error",icon:"close",message:()=>s(c,{class:[n.content,u().rtlClass],html:e!=null?e:o("lobby.center.security.webAuthn.bind.fail")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,showCancelButton:!0,cancelButtonText:()=>o("lobby.center.setting.cancel"),confirmButtonText:()=>o("lobby.common.loading.retry"),beforeClose:y=>(t==null||t(y),!0)})},loginWithUnRegister:e=>{const{t}=r();l(i.WEBAUTHN_UNREGISTER_FAIL,{title:()=>s("span",{class:n.color__lead},[t("lobby.common.tips.title")]),type:"warning",message:()=>s(c,{class:[n.left,u().rtlClass],html:t("lobby.center.security.webAuthn.login.unRegister")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,showCancelButton:!0,cancelButtonText:()=>t("lobby.center.security.webAuthn.goRegister"),confirmButtonText:()=>t("lobby.center.security.webAuthn.nowLogin"),beforeClose:o=>(o==="confirm"?e==null||e(a.Login):o==="cancel"&&(e==null||e(a.Register)),!0)})},loginWithUnBind:e=>{const{t}=r();l(i.WEBAUTHN_UNBIND_FAIL,{title:()=>s("span",{class:n.color__lead},[t("lobby.common.tips.title")]),type:"warning",message:()=>s(c,{class:[n.left,{[n.contentRtl]:u().rtlClass}],html:t("lobby.center.security.webAuthn.login.unBind")},null),overlayClass:n.webauthn,closeOnClickOverlay:!1,showCloseButton:!1,closeOnRouteChange:!1,confirmButtonText:()=>t("lobby.center.security.webAuthn.nowLogin"),beforeClose:o=>(o==="confirm"&&(e==null||e(a.Login)),!0)})}};export{m as createWebAuthnDialog};
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.