1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4079],{70435:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(11719),i=n(26015),o=n(77804);n(88661);var l=n(36587),a=n(35966),u=n(90374),s=e=>{let{modalProps:t,title:n,description:s,confirmButtonText:d,TopRightIcon:c,onConfirm:p,isThemeColor:v,modalClassName:f="w-[328px] bottom-[100px]"}=e;return(0,o.jsx)(l.Z,(0,i._)((0,r._)({className:"rounded-16 pointer-events-none absolute left-[88px] top-auto m-0 p-0 ".concat(f),wrapClassName:"top-right-base-no-mask-modal",mask:!1,footer:null,closeIcon:(0,o.jsx)(a.a4,{})},t),{children:(0,o.jsx)(u.Z,{title:n,description:s,confirmButtonText:d,TopRightIcon:c,onConfirm:p,isThemeColor:v})}))}},64079:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var r=n(77804),i=n(88661),o=n(70435),l=n(46153),a=n(79206),u=n(28733),s=n(20745),d=n(34797),c=n(53154),p=n(6172),v=n(54491),f=n(94010),_=n(65106),g=n(68444),h=n(88370),m=n(10976);let x=()=>{let e=(0,l.v9)(e=>e.activity.vipGuideInfo);return(null==e?void 0:e.off)?(0,r.jsx)("div",{className:"bg-hl_bg_03 z-100 border-hl_brand_01 flex h-6 items-center justify-center rounded-[100px_100px_0_100px] border !py-1 px-1.5",children:(0,r.jsx)("span",{className:"cl_hl_H8_SB text-hl_text_00 italic",children:e.off})}):null};var y=()=>{let e=(0,l.v9)(e=>e.layout.vipGuideModalShow),t=(0,l.v9)(e=>e.activity.vipGuideInfo),n=(0,l.v9)(e=>e.user.isLogin),y=(0,l.v9)(e=>e.pay.userType),b=(0,l.v9)(e=>e.pay.userTypeIsPending),I=(0,a.jD)(),w=(0,a.tv)(),j=(0,l.I0)(),E=(0,l.oR)(),T=(0,u.T)(),C=()=>{(0,p.w$)(p.rE.VIP_GUIDE,()=>{j((0,v.MQ)(!1))})},G=e=>{let t=Date.now();return(!e||t-e>=_.s2)&&(j((0,v.MQ)(!0)),!0)},k=()=>n&&y===f.E9.NORMAL&&!1===b,N=async()=>{let e=await (0,d.R)();j((0,c.lR)(e)),j((0,c.cc)(null==e?void 0:e.hasFirstWeekTrial))},R=()=>{var t,r,i,o;if(e&&!n){C();return}let l="true"===h.storage.getItem(m.ZG),a="true"===h.storage.getItem(m.Mg),u=E.getState().global.newCreateGuide,s=!l&&!!((null==u?void 0:null===(t=u.creatEntryGuide)||void 0===t?void 0:t.title)||(null==u?void 0:null===(r=u.creatEntryGuide)||void 0===r?void 0:r.desc)),d=!a&&(null!==(o=null==u?void 0:null===(i=u.guideSteps)||void 0===i?void 0:i.length)&&void 0!==o?o:0)>=2;!s&&!d&&k()&&(0,p.a)(p.rE.VIP_GUIDE,G)},M=async()=>{n&&N(),R()};return((0,i.useEffect)(()=>{M()},[n,I,b]),(0,_.gg)(I))?null:(0,r.jsx)("div",{children:t&&(0,r.jsx)(o.Z,{modalProps:{open:e&&!g.oO,onCancel:C},title:t.title,description:t.desc,confirmButtonText:T("membership_cta_button"),onConfirm:()=>{C(),w.push(s.rF)},TopRightIcon:(0,r.jsx)(x,{}),isThemeColor:!0})})}},34797:function(e,t,n){n.d(t,{R:function(){return o},k:function(){return i}});var r=n(89461);let i=async()=>{let{data:e}=await r.default.get("/public/v1/api/user/new_user_credit");return e.data},o=async()=>{let{data:e}=await r.default.get("/v1/api/charge/upgrade_guide");return e.data}}}]);
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.