PageSourceSearch

https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/chunks/0q4y5gkzob8x_.js

js onekey.so collected 2026-09-24 08:39:37 UTC 28,076 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,254793,e=>{"use strict";var t=e.i(21371);e.s(["useTheme",()=>t.u])},644258,e=>{"use strict";var t,i,r=e.i(21371),n=e.i(386837),a=(e.i(736650),e.i(613798),e.i(468670));e.i(705927);var o=function(e,t){var i=arguments;if(null==t||!r.h.call(t,"css"))return n.createElement.apply(void 0,i);var a=i.length,o=Array(a);o[0]=r.E,o[1]=(0,r.c)(e,t);for(var l=2;l<a;l++)o[l]=i[l];return n.createElement.apply(null,o)};function l(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return(0,a.serializeStyles)(t)}t=o||(o={}),i||(i=t.JSX||(t.JSX={})),e.s(["createElement",0,o,"css",0,l,"jsx",0,o,"keyframes",0,function(){var e=l.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}])},126612,(e,t,i)=>{"use strict";var r=function(e){var t,i,r;return!!(t=e)&&"object"==typeof t&&(i=e,"[object RegExp]"!==(r=Object.prototype.toString.call(i))&&"[object Date]"!==r&&i.$$typeof!==n)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(Array.isArray(e)?[]:{},e,t):e}function o(e,t,i){return e.concat(t).map(function(e){return a(e,i)})}function l(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function c(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||r,i.cloneUnlessOtherwiseSpecified=a;var n,d,u=Array.isArray(t);return u!==Array.isArray(e)?a(t,i):u?i.arrayMerge(e,t,i):(d={},(n=i).isMergeableObject(e)&&l(e).forEach(function(t){d[t]=a(e[t],n)}),l(t).forEach(function(i){s(e,i)&&!(Object.hasOwnProperty.call(e,i)&&Object.propertyIsEnumerable.call(e,i))||(s(e,i)&&n.isMergeableObject(t[i])?d[i]=(function(e,t){if(!t.customMerge)return c;var i=t.customMerge(e);return"function"==typeof i?i:c})(i,n)(e[i],t[i],n):d[i]=a(t[i],n))}),d)}c.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,i){return c(e,i,t)},{})},t.exports=c},386120,e=>{"use strict";var t=e.i(690058),i=e.i(528236),r=e.i(908547),n=e.i(422471),a=e.i(398529);e.s(["StaticImage",0,({src:e,alt:o,style:l,className:s,objectFit:c="cover",objectPosition:d,placeholder:u="blur",layout:h="constrained",sizes:p,...g})=>{let f=(e=>{if(!e||"string"==typeof e)return;let t="default"in e?e.default:e;return"number"==typeof t?.width&&"number"==typeof t?.height?t:void 0})(e),m="blur"===u&&f?(0,a.transparentBlurPlaceholder)({blurDataURL:f.blurDataURL,blurWidth:f.blurWidth,blurHeight:f.blurHeight,width:f.width,height:f.height})??"blur":u;if(!f)return(0,t.jsx)(i.default,{src:e,alt:o,className:s,placeholder:m,sizes:p,...g,style:{maxWidth:"100%",height:"auto",...c?{objectFit:c}:{},...d?{objectPosition:d}:{},...l}});let{width:x,height:b}=f;return(0,t.jsxs)(r.Box,{className:[n.IMAGE_WRAPPER_CLASS,s].filter(Boolean).join(" "),xs:(0,n.layoutWrapperBase)(h,x,b),style:l,children:[(0,t.jsx)(n.Sizer,{layout:h,width:x,height:b}),(0,t.jsx)(i.default,{src:e,alt:o,fill:!0,placeholder:m,sizes:p??(0,n.defaultSizes)(h,x),...g,style:{objectFit:c,objectPosition:d}})]})}])},276330,e=>{"use strict";var t=e.i(690058),i=e.i(126612),r=e.i(528236),n=e.i(908547),a=e.i(229366),o=e.i(422471),l=e.i(763672);let s=({src:e,sizes:i,quality:n,media:a})=>{let{props:o}=(0,r.getImageProps)({src:e,alt:"",fill:!0,sizes:i,quality:n});return o.srcSet?(0,t.jsx)("link",{rel:"preload",as:"image",media:a,imageSrcSet:o.srcSet,imageSizes:o.sizes,fetchPriority:"high"}):null},c=r.default;e.s(["StrapiImage",0,({image:e,alt:r,backgroundImage:d=!1,imageLayout:u,layout:h,objectFit:p,objectPosition:g,loading:f,preload:m,fetchPriority:x,preloadMedia:b,sizes:y,quality:v,blurDataURL:_,style:w,...S})=>{if(!e)return null;if(e.mime&&!e.mime.startsWith("image"))return console.error("Invalid Image Mime Type",e),null;let j=(0,a.buildStrapiUrl)(e.url??void 0);if(!j)return null;
1let k=r??e.alternativeText??e.name??"",B=h??u??"constrained";if(d){let e=(0,l.getBackgroundImageUrl)(j,v);return(0,t.jsx)(n.Box,{css:{backgroundImage:`url(${e})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"},style:w,...S})}let{xs:C,className:z,...E}=S,A={...p?{objectFit:p}:{},...g?{objectPosition:g}:{}};if("image/svg+xml"===e.mime||/\.svg(?:\?|$)/i.test(j)||!e.width||!e.height){let r={maxWidth:"100%",width:"auto",height:"auto"},a=C?(0,i.default)(r,C):r;return(0,t.jsx)(n.Box,{as:"img",src:j,alt:k,width:e.width??void 0,height:e.height??void 0,...{loading:f,fetchPriority:x},xs:a,className:z,style:{...A,...w},...E})}let W=_??e.blurDataURL??void 0,I=(0,o.layoutWrapperBase)(B,e.width,e.height),R=C?(0,i.default)(I,C):I,H=y??(0,o.defaultSizes)(B,e.width);return(0,t.jsxs)(n.Box,{className:[o.IMAGE_WRAPPER_CLASS,z].filter(Boolean).join(" "),xs:R,style:w,...E,children:[b&&(0,t.jsx)(s,{src:j,sizes:H,quality:v,media:b}),(0,t.jsx)(o.Sizer,{layout:B,width:e.width,height:e.height}),(0,t.jsx)(c,{src:j,alt:k,fill:!0,sizes:H,loading:f,preload:m,fetchPriority:x,quality:v,placeholder:W??"empty",style:{objectFit:p??"cover",...g?{objectPosition:g}:{}}})]})}])},422471,e=>{"use strict";var t=e.i(690058);e.s(["IMAGE_WRAPPER_CLASS",0,"okimage-wrapper","Sizer",0,({layout:e,width:i,height:r})=>{if("fullWidth"===e)return(0,t.jsx)("div",{"aria-hidden":!0,style:{paddingTop:`${r/i*100}%`}});if("constrained"===e)return(0,t.jsx)("div",{style:{maxWidth:i,display:"block"},children:(0,t.jsx)("img",{alt:"",role:"presentation","aria-hidden":"true",src:`data:image/svg+xml;charset=utf-8,%3Csvg%20height='${r}'%20width='${i}'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E`,style:{maxWidth:"100%",display:"block"}})});return null},"defaultSizes",0,(e,t)=>"fixed"===e?`${t}px`:"constrained"===e?`(min-width: ${t}px) ${t}px, 100vw`:"100vw","layoutWrapperBase",0,(e,t,i)=>{let r={position:"relative",overflow:"hidden"};return"fixed"===e?{...r,width:t,height:i}:"constrained"===e?{...r,display:"inline-block",verticalAlign:"top"}:r}])},117250,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/app-nav-bg.24a9xali55iu9.jpg")},908547,e=>{"use strict";var t=e.i(386837),i=e.i(644258),r=e.i(126612),n=e.i(461307);let a=e=>`@media (min-width: ${e}px)`,o=(0,t.forwardRef)((e,t)=>{let{children:o,as:l="div",css:s={},xs:c={},s:d={},mobile:u={},m:h={},tablet:p={},l:g={},xl:f={},xxl:m={},externalProps:x={},...b}=e,{css:y={},xs:v={},s:_={},mobile:w={},m:S={},tablet:j={},l:k={},xl:B={},xxl:C={},...z}=x,E={css:r.default.all([c,{[a(n.mediaBreakpoints.small)]:d,[a(n.mediaBreakpoints.mobile)]:u,[a(n.mediaBreakpoints.medium)]:h,[a(n.mediaBreakpoints.tablet)]:p,[a(n.mediaBreakpoints.large)]:g,[a(n.mediaBreakpoints.xlarge)]:f,[a(n.mediaBreakpoints.xxlarge)]:m},s,{[a(n.mediaBreakpoints.small)]:_,[a(n.mediaBreakpoints.mobile)]:w,[a(n.mediaBreakpoints.medium)]:S,[a(n.mediaBreakpoints.tablet)]:j,[a(n.mediaBreakpoints.large)]:k,[a(n.mediaBreakpoints.xlarge)]:B,[a(n.mediaBreakpoints.xxlarge)]:C},v,y]),...b,...z,ref:t};return(0,i.jsx)(l,E,o)});e.s(["Box",0,o])},290822,377379,e=>{"use strict";var t=e.i(908547),i=e.i(386837);function r(e,n={}){return(0,i.forwardRef)((r,a)=>(0,i.createElement)(t.Box,{as:e,...n,...r,ref:a}))}let n=r("section"),a=r("nav");r("article");let o=r("main");r("header");let l=r("footer");r("aside");let s=r("span"),c=r("p"),d=r("h1"),u=r("h2"),h=r("h3"),p=r("h4"),g=r("h5"),f=r("h6"),m=r("hr"),x=r("ul"),b=r("ol"),y=r("li"),v=r("th"),_=r("img",{draggable:!1});r("a"),e.s(["Footer",0,l,"H1",0,d,"H2",0,u,"H3",0,h,"H4",0,p,"H5",0,g,"H6",0,f,"Hr",0,m,"Img",0,_,"Li",0,y,"Main",0,o,"Nav",0,a,"Ol",0,b,"P",0,c,"Section",0,n,"Span",0,s,"Th",0,v,"Ul",0,x],377379),e.s([],290822)},652455,e=>{"use strict";var t=e.i(148555);e.s(["ArrowRightIcon",()=>t.default])},599867,e=>{"use strict";var t=e.i(178358);e.s(["BoxIcon",()=>t.default])},90248,e=>{"use strict";var t=e.i(833830);e.s(["CardIcon",()=>t.default])},253815,e=>{"use strict";let t=(0,e.i(386837).createContext)({contentDom:void 0});e.s(["ModalContext",0,t])},491191,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/payment-cards.3oy_mmptkl0jq.svg")},322013,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/payment-crypto.2y1ocgkjpc3u4.svg")},984445,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/payment-wallets.3k_w8lkljrbio.svg")},872587,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/redeem-gift-card.1u8zf58tvtgvv.png")},343370,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/failed.0t2ifi5dayvt5.png")},118207,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/subscribe-bg.1bei64-6v1fzr.png")},729699,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/success.2rqjx6-8c9ce7.png")},823968,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/supported-token-short.24s6c84v7o-yk.png")},362503,e=>{e.q("https://asset.onekey.so/portal/1eb912810367238d04fea25beca3ce9c6b8aba64/_next/static/media/supported-token.3jhp8ds48r5xw.png")},461307,e=>{"use strict";let t={xsmall:0,small:414,mobile:720,medium:960,tablet:1024,large:1200,xlarge:1440,xxlarge:1920},i=Object.keys(t);e.s(["mediaBreakpoints",0,t,"mediaBreakpointsKeys",0,i,"theme",0,{colors:{gray50:"#F8F9FA",gray100:"#F0F1F2",gray200:"#DADEE1",gray300:"#BDC3C7",gray400:"#8A9195",gray500:"#6D777C",gray600:"#9C9DA7",gray700:"#2D3133",gray800:"#393C4E",gray900:"#101111",brand50:"#EBF9EC",brand100:"#D7F4DA",brand200:"#A3E5A9",brand300:"#67D572",brand400:"#33C641",brand500:"#00B812",brand600:"#00930E",brand700:"#006F0B",brand800:"#005809",brand900:"#004206",brandAlt200:"#92BAA3",brandAlt300:"#57E668",brandAlt400:"#4FF55F",brandAlt500:"#00B812",brandAltURL:"#009B39",brandAltHover:"#27D056",red:"#FA482D",white:"#FFFFFF",white100:"rgba(255, 255, 255, 1)",white85:"rgba(255, 255, 255, 0.85)",white48:"rgba(255, 255, 255, 0.48)",white24:"rgba(255, 255, 255, 0.24)",white8:"rgba(255, 255, 255, 0.08)",white4:"rgba(255, 255, 255, 0.04)",black100:"rgba(0, 0, 0, 1)",black85:"rgba(0, 0, 0, 0.85)",black48:"rgba(0, 0, 0, 0.48)",black24:"rgba(0, 0, 0, 0.24)",black16:"rgba(0, 0, 0, 0.16)",black8:"rgba(0, 0, 0, 0.08)",black4:"rgba(0, 0, 0, 0.04)",transparent:"transparent",test100:"#F0F1F2",test200:"#DADEE1",test250:"#BDC3C7",test300:"#8A9195",test400:"#313638",test500:"#101111"},background:{test100:"#F0F1F2",test300:"#8A9195",test500:"#101111"},size:{xxl:{column:112,gutter:24},xl:{column:64,gutter:24},l:{column:48,gutter:24},m:{column:60,gutter:24},s:{gutter:16}},gradients:{}
1,text:{medium100:{fontWeight:500,fontSize:12,lineHeight:"14px"},medium200:{fontWeight:500,fontSize:14,lineHeight:"17px"},medium300:{fontWeight:500,fontSize:16,lineHeight:"20px"},medium400:{fontWeight:500,fontSize:18,lineHeight:"24px"},medium500:{fontWeight:600,fontSize:20,lineHeight:"26px"},medium600:{fontWeight:600,fontSize:24,lineHeight:"30px"},medium700:{fontWeight:600,fontSize:30,lineHeight:"36px"},medium800:{fontWeight:600,fontSize:40,lineHeight:"46px"},medium900:{fontWeight:600,fontSize:52,lineHeight:"56px"},medium1000:{fontWeight:600,fontSize:60,lineHeight:"64px"},medium1100:{fontWeight:600,fontSize:72,lineHeight:"76px"},medium1200:{fontWeight:600,fontSize:84,lineHeight:"88px"},medium1300:{fontWeight:600,fontSize:96,lineHeight:"100px"},normal100:{fontWeight:400,fontSize:12,lineHeight:"14px"},normal200:{fontWeight:400,fontSize:14,lineHeight:"17px"},normal300:{fontWeight:400,fontSize:16,lineHeight:"20px"},normal400:{fontWeight:400,fontSize:18,lineHeight:"24px"},normal500:{fontWeight:400,fontSize:20,lineHeight:"26px"},normal600:{fontWeight:400,fontSize:24,lineHeight:"30px"},normal700:{fontWeight:400,fontSize:30,lineHeight:"36px"},normal800:{fontWeight:400,fontSize:40,lineHeight:"46px"},normal900:{fontWeight:400,fontSize:52,lineHeight:"56px"},normal1000:{fontWeight:400,fontSize:60,lineHeight:"64px"},normal1100:{fontWeight:400,fontSize:72,lineHeight:"76px"},normal1200:{fontWeight:400,fontSize:84,lineHeight:"88px"},normal1300:{fontWeight:400,fontSize:96,lineHeight:"100px"}},font:{size50:"12px",size75:"14px",size100:"16px",size200:"18px",size300:"20px",size400:"24px",size500:"30px",size600:"36px",size700:"48px",size800:"60px",size900:"72px",size1000:"84px",size1100:"96px",weight:{thin:100,ultraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800,black:900}},fontFamily:{roobert:"var(--font-roobert)",roobertSemiMono:"var(--font-roobert-semi-mono), monospace"},transitions:{allCubicBezier:"all .3s cubic-bezier(.4,0,.2,1)",allEaseOut:"all .3s ease-out",allEaseIn:"all .3s ease-in",allEase:"all .3s ease",allEaseInOut:"all .3s ease-in-out",allLinear:"all .3s linear",motion:"all 0.1s linear"},transforms:{rotate180:"rotate(180deg)",rotate90:"rotate(90deg)",rotate0:"rotate(0deg)"},zIndex:{top:1e4,modal:9e3,overlay:8e3},borderRadius:{s:4,m:8,l:12,xl:16,xxl:20,xxxl:40},shadow:{hover:"0px 0px 1px rgba(0, 0, 0, 0.08), 0px 8px 12px rgba(0, 0, 0, 0.08)"},textBox:{capToAlphabetic:{textBox:"trim-both cap alphabetic"}}}])},186337,400253,e=>{"use strict";var t=e.i(690058),i=e.i(386837);e.i(924856);var r=e.i(908547),n=e.i(539392),a=e.i(788289),o=e.i(525423),l=e.i(254793);let s=(0,i.lazy)(()=>e.A(309732)),c=e=>{let{className:i,children:o,items:s,value:c,style:d,hideChevronDownIcon:u=!1,compare:h=(e,t)=>e===t,clearable:p=!1,onChange:g}=e,f=(0,l.useTheme)(),m=s.find(e=>h(e.value,c));return(0,t.jsxs)("div",{className:i,style:{display:"flex",alignItems:"center",cursor:"pointer",...f.text.normal300,...d},children:[o??m?.label,!u&&(!p||!c||c===p.value)&&(0,t.jsx)(n.ChevronDownIcon,{style:{width:16,height:16,flex:"none"}}),p&&c&&c!==p.value&&(0,t.jsx)(r.Box,{as:a.CloseIcon,css:{width:p.size??24,height:p.size??24,flex:"none","&:hover":{color:f.colors.gray400}},onClick:e=>{e.stopPropagation(),g?.(p.value)}})]})};e.s(["Select",0,e=>(0,o.useIdleReady)()?(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(c,{...e}),children:(0,t.jsx)(s,{...e})}):(0,t.jsx)(c,{...e})],400253),e.s([],186337)},73753,e=>{"use strict";e.i(386120),e.s([])},728288,e=>{"use strict";e.i(276330),e.s([])},709906,652643,e=>{"use strict";var t=e.i(690058),i=e.i(386837);e.i(924856);var r=e.i(298834),n=e.i(581634),a=e.i(134939),o=e.i(908547),l=e.i(539392),s=e.i(525908),c=e.i(231275),d=e.i(254793);e.i(186337);var u=e.i(400253);let h="data-anchor-title";e.s(["AnchorNavigation",0,({rootId:e,title:p,titleLink:g,suffix:f,standaloneItems:m=[],topOffset:x=0,navTheme:b})=>{let y=(0,d.useTheme)(),[v="light"]=(0,c.useNavigationTheme)(),_=b??v,[w,S]=function(){let e=(0,r.useMemoizedFn)(()=>{let e=t.current;return!!e&&e.scrollWidth>e.clientWidth}),t=(0,i.useRef)(null),[a,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{o(e())},[e]),(0,n.useResizeObserver)(t,()=>{o(e())}),[t,a,e]}(),j=(0,i.useCallback)((e,t)=>{let i=[],r=(n,a)=>{a>t||(n.id&&n.attributes.getNamedItem(h)&&n!==e&&i.push(n),Array.from(n.children).forEac
1h(e=>{e instanceof HTMLElement&&r(e,a+1)}))};return r(e,0),i},[]),[k,B]=(0,i.useState)([]),C=(0,i.useMemo)(()=>{let e=k.map(e=>({id:e.id,label:e.attributes.getNamedItem(h)?.value,onClick:t=>{t.preventDefault();let i=document.getElementById(e.id);if(i){let e=i.getBoundingClientRect().top+window.pageYOffset-x;window.scrollTo({top:e,behavior:"smooth"})}window.history.replaceState(null,"",`#${e.id}`)}}));for(let t of m)e.splice(t.afterIndex,0,{id:t.id,label:t.label,onClick:t.onClick});return e},[k,m,x]);return(0,i.useEffect)(()=>{let t=document.getElementById(e);t&&B(j(t,5))},[j,e]),(0,t.jsx)(s.Container,{children:(0,t.jsxs)(o.Box,{xs:{display:"flex",justifyContent:"space-between",position:"relative",alignItems:"center",color:"dark"===_?y.colors.white:y.colors.gray900,height:34,transition:"color .5s"},children:[(0,t.jsx)(o.Box,{xs:{...y.text.medium400,flex:1,minWidth:"fit-content",whiteSpace:"pre-line"},children:g?(0,t.jsx)(a.AdaptiveLink,{xs:{color:"inherit","&:hover":{color:"inherit",opacity:.8}},to:g,children:p}):p}),(0,t.jsxs)("div",{style:{display:"flex",flex:"auto",overflow:"hidden",alignItems:"center",position:"relative"},ref:w,children:[(0,t.jsx)(o.Box,{xs:{display:"flex",flex:1,visibility:S?"hidden":"visible",gap:40,justifyContent:"center",padding:"0 24px"},children:C.map(e=>(0,t.jsx)(o.Box,{as:"a",css:{color:"inherit","&:hover":{opacity:.8,color:"inherit"},textWrap:"nowrap"},href:`#${e.id}`,onClick:e.onClick,children:e.label},e.id))}),S&&(0,t.jsx)(u.Select,{style:{color:"inherit",position:"absolute",right:0,marginRight:8},placement:"bottom-start",offsetX:-9,offsetY:14,popoverStyle:{..."dark"===_?{background:y.colors.gray700,color:y.colors.white}:{}},itemStyle:{xs:"dark"===_&&{color:"inherit","&:hover":{background:y.colors.gray600}}},mode:"action",hideChevronDownIcon:!0,items:C.map(e=>({key:e.id,value:e.id,label:(0,t.jsx)(o.Box,{xs:{color:"inherit"},onClick:e.onClick,children:e.label})})),value:void 0,children:(0,t.jsx)(l.ChevronDownIcon,{width:24,height:24})})]}),(0,t.jsx)(o.Box,{xs:{flex:1,display:"flex",justifyContent:"flex-end",minWidth:"fit-content"},children:"function"==typeof f?f({theme:_}):f})]})})},"getAnchorSectionProps",0,function(e){return{id:e.id,[h]:e.title}}],652643),e.s([],709906)},931713,56943,e=>{"use strict";var t=e.i(690058),i=e.i(386837);e.i(924856);var r=e.i(414393),n=e.i(908547),a=e.i(377379),o=e.i(254793),l=e.i(40498),s=e.i(631914),c=e.i(885403),d=e.i(265477),u=e.i(665258),h=e.i(652455),p=e.i(494944),g=e.i(525908),f=e.i(298834);e.i(167610);var m=e.i(581985);let x=({scrollContainerRef:e,ulContainerRef:i})=>{let{canScrollLeft:r,canScrollRight:n,scroll:a}=(0,m.useScrollButton)({scrollContainerRef:e,ulContainerRef:i});return(0,t.jsxs)(g.Container,{className:"floating-scroll-container-buttons",xs:{position:"absolute",left:0,right:0,width:"100%",top:"50%",transform:"translateY(-50%)",flex:1,display:"none",justifyContent:"space-between",zIndex:3,pointerEvents:"none"},tablet:{display:"flex"},children:[(0,t.jsx)(b,{direction:"left",scrollTo:a,disabled:!r}),(0,t.jsx)(b,{direction:"right",scrollTo:a,disabled:!n})]})},b=({direction:e,scrollTo:i,disabled:r})=>{let n="left"===e?"translateX(-50%)":"translateX(50%)",a=(0,f.useMemoizedFn)(()=>i(e));return(0,t.jsx)(p.Button,{variant:"filled",themeColor:"dark",onClick:a,xs:{pointerEvents:"auto",boxShadow:"0 4px 12px 0 rgba(0, 0, 0, 0.07);",width:64,height:64,borderRadius:"50%",transition:"transform 0.2s ease-in-out 0.05s, opacity 0.2s ease-in-out",transform:n,transformOrigin:"center",...r&&{transform:`${n} scale(0)`,opacity:0}},children:"left"===e?(0,t.jsx)(u.ArrowLeftIcon,{width:40,height:40}):(0,t.jsx)(h.ArrowRightIcon,{width:40,height:40})})};e.s(["FloatingScrollContainerButtons",0,x],56943);var y=e.i(738592);let v="faq-popover-root",_={type:"spring",stiffness:600,damping:37},w=({q:e,a:r,icon:c,expanded:u,onExpand:h})=>{let[p,g]=(0,i.useState)(),f=(0,i.useRef)(null),m=(0,o.useTheme)();(0,i.useEffect)(()=>{u&&f.current&&g(f.current.getBoundingClientRect())},[u]),(0,i.useEffect)(()=>{let e=e=>{e.target instanceof HTMLElement&&null===e.target.closest(".faq-item-read-more")&&null===e.target.closest(".faq-item-content")&&null===e.target.closest(".faq-popover-content")&&h(!1)};return u&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[u,h]);let x=(0,i.useMemo)(()=>{let e=document.getElementById(v);return e||((e=document.createElement("div")).id=v,document.body.appendChild(e)),e},[]);return(0,t.jsxs)(a.Li,{ref:f,xs:{position:"relative",scrollSnapAlign:"start"},"data-card":!0,children:[x&&(0,d.createPortal)((0,t.jsx)(l.AnimatePresence,{children:u&&p&&(0,t.jsx)(n.Box,{as:s.motion.div,transition:_,style:{overflowY:"auto",position:"fixed",top:p.top,left
1:p.left,zIndex:2,boxShadow:m.shadow.hover,maxHeight:Math.max(window.innerHeight-(p?.top??0)-24,200),width:p.width??240,borderRadius:16},css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",scrollbarColor:"transparent transparent"},initial:{opacity:0,height:p.height},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:p.height},onScrollCapture:e=>e.stopPropagation(),children:(0,t.jsx)(S,{q:e,a:r,icon:c,clipContent:!1})})}),x,v),(0,t.jsx)(S,{q:e,a:r,icon:c,clipContent:!0,onReadMore:()=>h(!0)})]})},S=({q:e,a,icon:l,clipContent:s,onReadMore:d})=>{let u=(0,c.useTranslations)(),h=(0,o.useTheme)(),[p,g]=(0,i.useState)(!1),f=u(a);return(0,t.jsxs)(n.Box,{className:"faq-item-content",xs:{position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between",gap:24,backgroundColor:h.colors.gray50,padding:"24px 16px",borderRadius:16,overflow:"hidden",width:240,color:h.colors.gray900,height:s?"auto":"100%",paddingBottom:s?void 0:50,...p&&{cursor:"pointer","&:hover":{"& button":{color:h.colors.gray500}}}},onClick:()=>p&&d?.(),children:[(0,t.jsxs)(n.Box,{children:[l&&(0,t.jsx)(l,{style:{width:48,height:48}}),(0,t.jsx)(n.Box,{xs:{marginTop:24,...h.text.medium500},children:u(e)}),(0,t.jsx)(n.Box,{xs:{marginTop:8,color:h.colors.gray700,...h.text.normal200,lineHeight:"20px"},children:s?(0,t.jsx)(j,{style:{whiteSpace:"pre-wrap"},onOverflowedChange:g,children:f}):(0,t.jsx)(n.Box,{style:{whiteSpace:"pre-wrap"},children:f})})]}),s&&(0,t.jsxs)(n.Box,{className:"faq-item-read-more",as:"button",xs:{display:"flex",alignItems:"center",justifyContent:"center",gap:4,cursor:p?"pointer":"default",border:"none",backgroundColor:"transparent",padding:0,margin:0,width:"fit-content",color:h.colors.gray700,...h.text.normal200,opacity:+!!p,pointerEvents:p?"auto":"none",":hover":{color:h.colors.gray500}},children:[(0,t.jsx)(r.AddIcon,{width:16,height:16,style:{marginRight:4}}),p?u("action__more"):""]})]})},j=({children:e,style:r,onOverflowedChange:a})=>{let o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{o.current&&a?.(o.current.scrollHeight>o.current.clientHeight)},[o,a]),(0,t.jsx)(n.Box,{style:r,ref:o,css:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden"},children:e})};e.s(["FAQCardList",0,({items:e})=>{let r=(0,i.useRef)(null),a=(0,i.useRef)(null),[o,l]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{let e=()=>{l(void 0)},t=r.current;return document.addEventListener("scroll",e),t?.addEventListener("scroll",e),()=>{document.removeEventListener("scroll",e),t?.removeEventListener("scroll",e)}},[]),(0,t.jsxs)(n.Box,{xs:{position:"relative"},css:{"& .floating-scroll-container-buttons":{opacity:0,transition:"opacity 0.1s linear"},"&:hover .floating-scroll-container-buttons":{opacity:1}},children:[(0,t.jsx)(y.ScrollContainer,{scrollContainerRef:r,ulContainerRef:a,children:e.map((e,i)=>{let{q:r,a:n,icon:a}=e;return(0,t.jsx)(w,{q:r,a:n,icon:a,expanded:o===i,onExpand:e=>{l(e?i:void 0)}},i)})}),(0,t.jsx)(x,{scrollContainerRef:r,ulContainerRef:a})]})}],931713)},720645,e=>{"use strict";var t=e.i(690058);e.i(924856);var i=e.i(149320),r=e.i(908547),n=e.i(434122),a=e.i(254793);e.s(["FreeShippingLabel",0,e=>{let{children:o,style:l}=e,s=(0,a.useTheme)();return(0,t.jsxs)(r.Box,{xs:{display:"flex",alignItems:"center",gap:8,zIndex:1,color:s.colors.gray400,...s.text.normal300},externalProps:l,children:[(0,t.jsx)(n.DeliveryIcon,{className:"delivery-icon",width:20,height:20}),(0,t.jsx)(r.Box,{xs:{whiteSpace:"nowrap",...s.textBox.capToAlphabetic},children:(0,t.jsx)(i.AdaptiveI18n,{name:"title__free_shipping"})}),o]})}])},167610,738592,581985,e=>{"use strict";var t=e.i(690058),i=e.i(386837);e.i(924856);var r=e.i(908547),n=e.i(377379),a=e.i(525908);let o="--scroll-container-padding",l={xs:{[o]:"24px"},m:{[o]:`max(24px, calc((100% - ${a.defaultContainerWidth.medium}px) / 2))`},l:{[o]:`max(24px, calc((100% - ${a.defaultContainerWidth.large}px) / 2))`},xl:{[o]:`max(24px, calc((100% - ${a.defaultContainerWidth.xlarge}px) / 2))`},xxl:{[o]:`max(24px, calc((100% - ${a.defaultContainerWidth.xxlarge}px) / 2))`}};
1e.s(["SCROLL_PADDING_CSS_VAR",0,o,"ScrollContainer",0,({children:e,gap:a=24,scrollContainerRef:s,ulContainerRef:c,ulContainerProps:d,disablePadding:u=!1})=>{let h=(0,i.useRef)(null),p=(0,i.useRef)(null);return(0,t.jsx)(r.Box,{ref:s||h,xs:{overflowX:"scroll",overflowY:"hidden",scrollSnapType:"x mandatory",padding:u?"0":"24px 0",margin:u?"0":"-24px 0",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},scrollPadding:u?"0":`var(${o})`},externalProps:l,children:(0,t.jsx)(n.Ul,{ref:c||p,xs:{gap:`${a}px`,paddingLeft:u?"0":`var(${o})`,paddingRight:u?"0":`var(${o})`,display:"flex",width:"fit-content",margin:0,boxSizing:"border-box",listStyle:"none"},externalProps:d,children:e})})},"scrollPaddingStyles",0,l],738592);var s=e.i(850835),c=e.i(298834);e.s(["useScrollButton",0,({scrollContainerRef:e,ulContainerRef:t})=>{let[r,n]=(0,i.useState)(!1),[a,o]=(0,i.useState)(!0),l=(0,c.useMemoizedFn)(()=>{let i=e.current,r=t.current;if(!i||!r||!(0,s.isBrowser)())return;let{scrollLeft:a,scrollWidth:l,clientWidth:c}=i,d=window.innerWidth,u=r&&window.getComputedStyle(r),h=u?.width?parseFloat(u.paddingLeft):0,p=(u?.width?parseFloat(u.width):0)-h+32>d;n(p&&a>0),o(p&&a<l-c-1)});(0,i.useEffect)(()=>{let t=e.current;if(t&&(0,s.isBrowser)())return l(),t.addEventListener("scroll",l),window.addEventListener("resize",l),()=>{t.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l]);let d=(0,c.useMemoizedFn)(()=>{let e=t.current;return e?parseInt(getComputedStyle(e).paddingLeft.replace("px","")):0});return{canScrollLeft:r,canScrollRight:a,scroll:(0,c.useMemoizedFn)(t=>{let i=e.current;if(!i)return;let r=i.querySelectorAll("[data-card]");if(0===r.length)return;let n=d(),a=i.scrollLeft;if("right"===t){for(let e of Array.from(r))if(e.getBoundingClientRect().left-n+a>a+10)return void e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}else for(let e of Array.from(r).reverse())if(e.getBoundingClientRect().left-n+a<a-10)return void e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})})}}],581985),e.s([],167610)},890392,e=>{"use strict";e.i(32298),e.s([])},695113,e=>{"use strict";e.i(924856);var t=e.i(599867),i=e.i(90248),r=e.i(263850),r=r,n=e.i(434122),a=e.i(845818),a=a,o=e.i(165647);let l=[{q:"title__why_should_i_buy_from_onekey",a:"content__why_should_i_buy_from_onekey",icon:n.DeliveryIcon},{q:"title__can_i_change_my_address_or_cancel_my_order",a:"content__can_i_change_my_address_or_cancel_my_order",icon:o.ShoppingBagIcon},{q:"title__my_tracking_says_delivered_but_i_didnt_receive_the_package",a:"content__my_tracking_says_delivered_but_i_didnt_receive_the_package",icon:t.BoxIcon},{q:"title__can_i_use_a_discount_code_and_a_gift_card_in_the_same_checkout",a:"content__can_i_use_a_discount_code_and_a_gift_card_in_the_same_checkout",icon:i.CardIcon},{q:"title__when_is_my_crypto_payment_confirmed",a:"content__when_is_my_crypto_payment_confirmed",icon:a.default},{q:"title__how_do_i_request_a_return_or_warranty_service",a:"content__how_do_i_request_a_return_or_warranty_service",icon:r.default}];e.s(["SHOP_FAQ_ITEMS",0,l],695113)},586538,e=>{"use strict";var t=e.i(690058),i=e.i(386837);let r=(0,i.createContext)(null);function n(){let e=(0,i.useContext)(r);if(!e)throw Error("useAllOneKeyProduct must be used within ExtendedOneKeyProductProvider");return e}e.s(["ExtendedOneKeyProductProvider",0,({data:e,children:i})=>(0,t.jsx)(r.Provider,{value:e,children:i}),"useAllOneKeyProduct",0,n,"useOneKeyProduct",0,function(){return n().primary}])},581634,e=>{"use strict";var t=e.i(386837);e.s(["useResizeObserver",0,function(e,i,r=!1){let n=(0,t.useRef)();n.current=i,(0,t.useEffect)(()=>{if(r||void 0===window.ResizeObserver)return;let{ResizeObserver:t}=window;if(!n.current||!e.current)return;let i=new t(n.current);return e.current&&i.observe(e.current),()=>{i.disconnect()}},[r,e])}])}]);

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.