PageSourceSearch

https://008-249.vip/assets/theme-0/navigateToKYC.impl.C4G3QSsb.js

js 008-249.vip collected 2026-10-09 04:34:10 UTC 2,777 bytes, 1 lines download raw bytes

1import{ci as k,aQ as o,bL as b,ks as h,aA as T,g5 as q,ii as K,bA as A,qC as U,hj as v,ho as w,qT as F,j as Y,m as f,qS as D,ea as L}from"./commonChunk.Dhe5lqYh.js";import{c as J,d as M}from"./1_MineChunk.DroyDZEx.js";import{n as Q}from"./2_EventDialogsChunk.jE1HlYGv.js";import{a9 as l}from"./0_EntryLoginRegisterChunk.CH23XrmN.js";import{m as B}from"../vendors/vendor-stable.B8ub4Ug6.js";import"./vendorChunk.BdsO83GQ.js";import"../vendors/vendor-swiper.T_wbf2QY.js";import"./0_GameMoreCategoryChunk.CPz2DCY2.js";import"./0_RechargeCommonChunk.DSN05vBz.js";import"./1_AgentCenterChunk.PiK7sNsJ.js";import"./1_PromotionChunk.DVKs33tM.js";import"./0_WithdrawChunk.DK0bpz1Y.js";import"./1_PromoteChunk.DYukjC1-.js";import"./1_ClubRebateChunk.DA9ie7NK.js";import"./1_SearchGameChunk.l0ciEGcc.js";const oe=r=>{const n=k();if([o.KYC,o.SECURITY].includes(n.route.name))return!1;const{kycConfig:m,isNeedUpIdSelfieAfterKYC:g,legalFormFieldConfig:{legalUserEkycFace:S,legalUserEkycDoc:p}}=l(),{statusPhone:y}=J(),{enableUsingSms:C}=b(),N=h();r=B({needRedirect:!0,isForce:m.isRequired,needIdSelfie:g,needIdSelfieOptions:{whenTriggerNotSupportOS:!0},useReplace:!1},r);const I=()=>{const e={};let i={};if(r.isForce&&(e.force=!0),r.sceneCode&&(e.sceneCode=r.sceneCode),r.backNeedRedirect&&(e.backNeedRedirect=r.backNeedRedirect),r.needRedirect&&(!r.useReplace||r.redirectLocation)){const{name:t,query:E,params:P}=n.route;i=r.redirectLocation||{name:t,query:E,params:P},e.redirect=encodeURIComponent(JSON.stringify(i))}if(r.needIdSelfie){const t={force:S.isRequired};e.redirect&&(t.redirect=i.name===o.IDSelfie?e.redirect:encodeURIComponent(JSON.stringify({name:o.ROOT}))),e.backNeedRedirect=!0,e.noDialog=!0,e.redirect=encodeURIComponent(JSON.stringify({name:o.IDSelfie,query:t}))}return e},s=()=>r.needIdSelfie&&U(),d=()=>{(r.useReplace?n.replace:n.push)({name:o.KYC,query:c})},{isApp:O,isLite:R,isVest:u}=T.package;if(!O&&!R&&!u&&!q().device.isMobile&&!K())return A().open("kycNeedMobile",{openType:r.needMobileDialogOpenType||"insert",options:{onClose:()=>{var e;return((e=r.needIdSelfieOptions)==null?void 0:e.whenTriggerNotSupportOS)&&s()}}}),!1;const{kycDynamicConfig:a}=l();if(a!=null&&a.isAllow&&a.isAllow!==v.ALLOW)return w(a.isAllow),!1;const c=I();if(p.isNeedBindPhone&&y.value.type!==M.VERIFICATION&&C){const e=r.isForce;return F(i=>{const t={force2Page:!0,query:{redirect:encodeURIComponent(JSON.stringify({name:o.KYC,query:c})),...e?{forceHideBack:!0}
1:{}},onSuccess(){d()},onCancel(){s()}};Y().validateConfigStatus()[f.PHONE]&&(t.query.verification=f.PHONE),i?Q(t):s()},e),!1}if(u){const e=D(c,{stringify:!0,doNotEncodeKeys:"*"}),i=`${location.origin}/home/kyc?_ti=${window.btoa(JSON.stringify(N.tokenInfos))}&${e}`;return L(i),!1}return d(),!0};export{oe as navigateToKYC};

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.