PageSourceSearch

https://cdn.hailuoai.video/open-hailuo-video-web/prod-en-0.1.876/_next/static/chunks/1177.8aa439fa17dbd37c.js

js hailuoai.video collected 2026-10-02 03:28:06 UTC 3,118 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1177],{70435:function(e,t,n){n.d(t,{Z:function(){return u}});var a=n(11719),o=n(26015),i=n(77804);n(88661);var r=n(36587),l=n(35966),s=n(90374),u=e=>{let{modalProps:t,title:n,description:u,confirmButtonText:d,TopRightIcon:c,onConfirm:p,isThemeColor:g,modalClassName:v="w-[328px] bottom-[100px]"}=e;return(0,i.jsx)(r.Z,(0,o._)((0,a._)({className:"rounded-16 pointer-events-none absolute left-[88px] top-auto m-0 p-0 ".concat(v),wrapClassName:"top-right-base-no-mask-modal",mask:!1,footer:null,closeIcon:(0,i.jsx)(l.a4,{})},t),{children:(0,i.jsx)(s.Z,{title:n,description:u,confirmButtonText:d,TopRightIcon:c,onConfirm:p,isThemeColor:g})}))}},71177:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var a=n(77804),o=n(88661),i=n(28733),r=n(70435),l=n(46153),s=n(17271),u=n(54491),d=n(34797),c=n(53154),p=n(88370),g=n(65106),v=n(68444),f=n(79206),m=n(16044),x=n(10976);let _="loginGuideModalShow",h=()=>{let e=(0,l.v9)(e=>e.activity.newUserSendCredit);return(null==e?void 0:e.credit)?(0,a.jsx)("div",{className:"bg-hl_bg_03 border-hl_brand_00 z-10 flex h-6 items-center justify-center rounded-[100px_100px_0_100px] border px-1.5 py-1 ",children:(0,a.jsxs)("div",{className:"text-hl_brand_01 flex items-center justify-center gap-0.5 text-[13px] font-[600] italic",children:[(0,a.jsx)("span",{children:"Get"}),(0,a.jsx)(m.FF,{}),(0,a.jsx)("span",{children:e.credit})]})}):null};var b=()=>{let e=(0,i.T)(),t=(0,l.I0)(),n=(0,l.v9)(e=>e.layout.showLoginGuideModal),m=(0,l.v9)(e=>e.user.isLogin),b=(0,l.oR)(),w=(0,f.jD)(),C=(0,g.gg)(w),j=(0,o.useCallback)(()=>{var e,n,a,o;if(b.getState().layout.showLoginGuideModal&&m){t((0,u.v3)(!1));return}let i="true"===p.storage.getItem(x.ZG),r="true"===p.storage.getItem(x.Mg),l=b.getState().global.newCreateGuide,s=!i&&!!((null==l?void 0:null===(e=l.creatEntryGuide)||void 0===e?void 0:e.title)||(null==l?void 0:null===(n=l.creatEntryGuide)||void 0===n?void 0:n.desc)),d=!r&&(null!==(o=null==l?void 0:null===(a=l.guideSteps)||void 0===a?void 0:a.length)&&void 0!==o?o:0)>=2;if(s||d)return;let c=p.storage.getItem(_),v=Date.now();!m&&(!c||v-parseInt(c)>=g.s2)&&(t((0,u.v3)(!0)),p.storage.setItem(_,v.toString()),setTimeout(()=>{t((0,u.v3)(!1))},3e4))},[t,m,b]),y=(0,o.useCallback)(async()=>{let{credit:e}=await (0,d.k)();t((0,c.fR)({credit:e}))},[t]),k=(0,o.useCallback)(async()=>{await y(),j()},[j,y]);return((0,o.useEffect)(()=>{if(C){t((0,u.v3)(!1));return}k()},[t,k,C]),C)?null:(0,a.jsx)(r.Z,{modalProps:{open:n&&!v.oO,onCancel:()=>{t((0,u.v3)(!1))}},title:e("signup_modal_title"),description:e("signup_benefit_desc"),confirmButtonText:e("signup_cta_button"),onConfirm:()=>{t((0,u.v3)(!1)),t((0,s.setShowLoginModal)(!0))},TopRightIcon:(0,a.jsx)(h,{}),modalClassName:"bottom-[100px] w-[328px]",isThemeColor:!0})}},34797:function(e,t,n){n.d(t,{R:function(){return i},k:function(){return o}});var a=n(89461);let o=async()=>{let{data:e}=await a.default.get("/public/v1/api/user/new_user_credit");return e.data},i=async()=>{let{data:e}=await a.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.