PageSourceSearch

https://milways.com/_next/static/chunks/0vv2os0e7mpt6.js

js milways.com collected 2026-10-02 01:36:03 UTC 10,826 bytes, 89 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25199,e=>{"use strict";var t=e.i(43476),n=e.i(71645);e.s(["default",0,function(e){let{children:i,variant:r="up",delay:o=0,stagger:a=90,threshold:s=.15,className:l,style:d}=e,m=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=m.current;if(!e)return;if("u"<typeof IntersectionObserver)return void e.classList.add("rv-in");let t=new IntersectionObserver(n=>{let[i]=n;i.isIntersecting&&(e.classList.add("rv-in"),t.disconnect())},{threshold:e.offsetHeight>0?Math.min(s,.35*window.innerHeight/e.offsetHeight):s,rootMargin:"0px 0px -60px 0px"});return t.observe(e),()=>t.disconnect()},[s]);let c={...d,...o?{"--rv-delay":`${o}ms`}:null,..."stagger"===r?{"--rv-stagger":`${a}ms`}:null};return(0,t.jsx)("div",{ref:m,"data-rv":r,className:l,style:c,children:i})}])},77786,e=>{"use strict";var t=e.i(71645);e.s(["useIntersect",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.15,n=(0,t.useRef)(null),[i,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{if("u"<typeof IntersectionObserver)return void r(!0);let t=new IntersectionObserver(e=>{let[n]=e;n.isIntersecting&&(r(!0),t.disconnect())},{threshold:e,rootMargin:"0px 0px -50px 0px"});return n.current&&t.observe(n.current),()=>t.disconnect()},[e]),{ref:n,visible:i}}])},71959,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(12127),r=e.i(25199);let o=[{key:"point1",icon:"chart"},{key:"point2",icon:"tap"},{key:"point3",icon:"swap"}];function a(e){let{icon:n}=e,i={chart:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 15 L7.5 9.5 L11 12.5 L17 4.5",stroke:"var(--metal-gold)",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12.5 4.5 L17 4.5 L17 9",stroke:"var(--metal-gold)",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})]}),tap:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"8",cy:"12",r:"2",fill:"var(--metal-gold)"}),(0,t.jsx)("path",{d:"M12.5 8.5a5 5 0 0 1 0 7",stroke:"var(--metal-gold)",strokeWidth:"1.4",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M15 6a8.2 8.2 0 0 1 0 11.5",stroke:"var(--metal-gold)",strokeWidth:"1.4",strokeLinecap:"round",opacity:"0.6"})]}),swap:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 7h11.5M14.5 7 11 3.5M14.5 7 11 10.5",stroke:"var(--metal-gold)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M17 13H5.5M5.5 13 9 9.5M5.5 13 9 16.5",stroke:"var(--metal-gold)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})};return(0,t.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 20 20",fill:"none",children:i[n]})}function s(){let e=["/images/home/mockup3-screen1.webp","/images/home/mockup3-screen2.webp","/images/home/mockup3-screen3.webp","/images/home/mockup3-screen4.webp"],[i,r]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let t=setInterval(()=>{r(t=>(t+1)%e.length)},4e3);return()=>clearInterval(t)},[e.length]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:`
2        @keyframes mt-phone-glow-breathe {
3          0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.78); }
4          50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.45); }
5        }
6        .mt-phone-glow {
7          animation: mt-phone-glow-breathe 5s ease-in-out infinite;
8        }
9
10        @keyframes mt-phone-enter {
11          0% { opacity: 0; transform: translateY(100px) translateX(64px) scale(0.78) rotate(9deg); }
12          62% { opacity: 1; transform: translateY(-22px) translateX(-8px) scale(1.045) rotate(-2deg); }
13          100% { opacity: 1; transform: translateY(0) translateX(0) scale(1) rotate(0deg); }
14        }
15        @keyframes mt-phone-float {
16          0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
17          25% { transform: translate3d(-5px, -12px, 0) rotate(-1deg); }
18          50% { transform: translate3d(1px, -24px, 0) rotate(0.5deg); }
19          75% { transform: translate3d(6px, -10px, 0) rotate(1deg); }
20        }
21        .phone-hand { animation: mt-phone-enter 1.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
22        .phone-float {
23          animation: mt-phone-float 5.2s ease-in-out 1.25s infinite;
24          will-change: transform;
25        }
26
27        @media (prefers-reduced-motion: reduce) {
28          .mt-phone-glow { animation: none; }
29          .phone-hand, .phone-float { animation: none; }
30        }
31      `}),(0,t.jsx)("div",{"aria-hidden":"true",className:"mt-phone-glow",style:{position:"absolute",left:"72%",top:"68%",transform:"translate(-50%, -50%) scale(0.98)",width:"300px",height:"210px",borderRadius:"50%",background:"rgba(224,175,60,0.38)",filter:"blur(75px)",zIndex:2,pointerEvents:"none"}}),(0,t.jsx)("div",{className:"phone-hand",style:{position:"absolute",right:"-1.5%",top:"15%",width:"500px",maxWidth:"none",aspectRatio:"1412 / 2006",zIndex:3},children:(0,t.jsx)("div",{className:"phone-float",style:{position:"absolute",inset:0},children:e.map((e,n)=>(0,t.jsx)("img",{src:e,alt:"Milways Gold app preview",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain",objectPosition:"top",display:"block",opacity:+(n===i),transition:"opacity 0.65s ease-in-out"}},e))})})]})}let l=[{x:9,y:26},{x:16,y:41},{x:23,y:19},{x:29,y:55},{x:19,y:61},{x:33,y:34},{x:11,y:47},{x:26,y:15},{x:36,y:41},{x:14,y:66}];function d(){return(0,t.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,zIndex:0,overflow:"hidden"},children:l.map((e,n)=>(0,t.jsx)("div",{className:"mt-twinkle-dot",style:{position:"absolute",left:`${e.x}%`,top:`${e.y}
31%`,width:"5px",height:"5px",borderRadius:"50%",background:"#fff3d6",boxShadow:"0 0 12px 3px rgba(255,233,184,1)"}},n))})}e.s(["default",0,function(){let{t:e}=(0,i.useLanguage)();return(0,t.jsxs)("section",{className:"mt-section",style:{position:"relative",background:"var(--bg-primary)",padding:"3.2rem 0",minHeight:"608px",overflow:"hidden"},children:[(0,t.jsx)("style",{children:`
32        @keyframes mt-globe-breathe {
33          0%, 100% { transform: scale(1); }
34          50% { transform: scale(1.045); }
35        }
36        @keyframes mt-globe-glow {
37          0%, 100% { filter: brightness(1) saturate(1); }
38          50% { filter: brightness(1.7) saturate(1.3); }
39        }
40        .mt-globe-bg {
41          animation: mt-globe-breathe 14s ease-in-out infinite, mt-globe-glow 4.5s ease-in-out infinite;
42        }
43        @keyframes mt-twinkle {
44          0%, 100% { opacity: 0.45; }
45          50% { opacity: 1; }
46        }
47        .mt-twinkle-dot {
48          animation: mt-twinkle 3.5s ease-in-out infinite;
49        }
50        @media (prefers-reduced-motion: reduce) {
51          .mt-globe-bg { animation: none; }
52          .mt-twinkle-dot { animation: none; }
53        }
54
55        /* Mobile layout: stack the phone mockup above the text column
56           instead of overlaying it. Desktop uses absolute positioning
57           for the phone (see PhoneMockup), which overflows and covers
58           the text on narrow viewports — so below this breakpoint we
59           pull it back into normal flow, shrink it, and let the text
60           column take the full width. */
61        @media (max-width: 860px) {
62          .mt-section {
63            min-height: auto !important;
64            padding: 2.5rem 0 !important;
65          }
66          .mt-inner {
67            flex-direction: column !important;
68            align-items: center !important;
69            min-height: auto !important;
70            gap: 1.75rem;
71          }
72          .mt-phone-glow {
73            display: none;
74          }
75          .phone-hand {
76            position: relative !important;
77            inset: auto !important;
78            right: auto !important;
79            top: auto !important;
80            order: -1;
81            width: 220px !important;
82            margin: 0 auto;
83          }
84          .mt-text-col {
85            max-width: 100% !important;
86            width: 100% !important;
87          }
88        }
89      `}),(0,t.jsx)("div",{"aria-hidden":"true",className:"mt-globe-bg",style:{position:"absolute",inset:0,zIndex:0,backgroundImage:"url(/images/home/globe-bg.webp)",backgroundSize:"150% auto",backgroundPosition:"68% center",backgroundRepeat:"no-repeat",opacity:.55,transformOrigin:"68% 45%"}}),(0,t.jsx)(d,{}),(0,t.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,zIndex:0,background:"linear-gradient(90deg, var(--bg-primary) 0%, var(--bg-primary) 10%, transparent 50%)"}}),(0,t.jsx)("div",{className:"container-site",style:{position:"relative",zIndex:1},children:(0,t.jsxs)("div",{className:"mt-inner",style:{position:"relative",minHeight:"608px",display:"flex",alignItems:"center"},children:[(0,t.jsx)(s,{}),(0,t.jsx)("div",{className:"mt-text-col",style:{width:"100%",maxWidth:"55%"},children:(0,t.jsxs)(r.default,{variant:"left",children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.625rem",marginBottom:"1.25rem"},children:[(0,t.jsx)("div",{style:{width:"18px",height:"1px",background:"var(--metal-gold)"}}),(0,t.jsx)("span",{className:"section-label",style:{margin:0},children:e.mobileTrade.sectionLabel})]}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-montserrat), sans-serif",fontWeight:800,fontSize:"clamp(1.6rem, 3vw, 2.3rem)",lineHeight:1.25,letterSpacing:"-0.01em",color:"#f2f2f2",marginBottom:"1rem",maxWidth:"18ch"},children:e.mobileTrade.heading}),(0,t.jsx)("p",{style:{fontSize:"1rem",color:"var(--metal-silver)",lineHeight:1.85,maxWidth:"40ch",marginBottom:"2.25rem"},children:e.mobileTrade.body}),(0,t.jsx)(r.default,{variant:"stagger",stagger:110,style:{display:"flex",flexDirection:"column",gap:"1.5rem",marginBottom:"2.5rem"},children:o.map(n=>{let i=e.mobileTrade[n.key];return(0,t.jsxs)("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[(0,t.jsx)(a,{icon:n.icon}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontSize:"1rem",fontWeight:700,color:"#e8e8ea",marginBottom:"0.25rem"},children:i.label}),(0,t.jsx)("div",{style:{fontSize:"0.85rem",color:"var(--metal-platinum)",lineHeight:1.65},children:i.sub})]})]},n.key)})}),(0,t.jsxs)("div",{style:{display:"flex",gap:"1rem",flexWrap:"wrap"},children:[(0,t.jsxs)("a",{href:"https://app.milways.gold/",target:"_blank",rel:"noopener noreferrer",className:"btn-gold",style:{fontSize:"0.9rem",display:"inline-flex",alignItems:"center",gap:"0.4rem"},children:[e.mobileTrade.cta,(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",children:(0,t.jsx)("path",{d:"M4 10h11M10 4.5 15.5 10 10 15.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,t.jsx)("a",{href:"https://www.milways.com/help",target:"_blank",rel:"noopener noreferrer",className:"btn-gold btn-gold-outline",style:{fontSize:"0.9rem"},children:"了解更多"})]})]})})]})})]})}])}]);

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.