PageSourceSearch

https://1pstage.com/_next/static/chunks/663.ed87735821140bd9.js

js 1pstage.com collected 2026-10-04 13:18:40 UTC 2,757 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[663],{20663:(e,r,l)=>{"use strict";l.r(r),l.d(r,{default:()=>u});var t=l(37876),o=l(14232),s=l(70143),c=l(54587),a=l.n(c),i=l(65870),d=l(45031),n=l.n(d);let u=e=>{let[r,l]=(0,o.useState)(!1),[c,d]=(0,o.useState)(e.currencyPickerItems[1]),u=(0,s.Q)("m-auto flex color-white rounded-md cursor-pointer text-left relative mt-6 bg-transparent border border-white max-h-10","focus:border-ultra-grey-5 hover:border-ultra-grey-5","group",n().currencyPicker),h=(0,s.Q)("cursor-pointer border-l border-l-white flex","group-hover:border-l-[1px] group-hover:border-l-ultra-grey-5 group-focus:border-l-[1px] group-focus:border-l-ultra-grey-5","peer-focus:border-l-[1px] peer-focus:border-l-ultra-grey-5 peer-hover:border-l-[1px] peer-hover:border-l-ultra-grey-5"),p=(0,s.Q)("absolute bg-white w-full overflow-hidden rounded-md border border-ultra-grey-3 hidden",r&&"block border-ultra-grey-3 w-1/2 left-1/2 top-[48px] block"),x=r=>{d(e.currencyPickerItems.find(e=>e._id===r)),l(!1)},b=e.currencyPickerItems.filter(e=>e!==c);return(0,t.jsx)("div",{className:"flex items-center text-black",children:(0,t.jsxs)("div",{className:u,children:[(0,t.jsx)("ul",{className:p,role:"listbox",children:b?.map(({currency:e,url:r,_id:l,countryFlagImage:o})=>(0,t.jsx)("li",{"data-testid":"currency-options",onClick:()=>x(l),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&x(l)},role:"option",tabIndex:0,"aria-selected":c?._id===l,children:(0,t.jsxs)("a",{href:r,className:"color-ultra-grey flex p-4 no-underline hover:bg-ultra-grey-2",children:[(0,t.jsx)(a(),{role:"img",src:`https://${o.file.url}`,width:32,height:24,className:"mr-3",alt:`${e}-flag`,loader:i.T,unoptimized:!0}),e]})},e))}),(0,t.jsx)("div",{className:"peer w-auto self-center p-4 font-bold text-white",children:"Select currency"}),(0,t.jsx)("div",{className:h,children:(0,t.jsxs)("div",{className:"ml-2 flex items-center pr-9",role:"button",tabIndex:0,onClick:()=>{l(!r)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),l(!r))},"aria-expanded":r,children:[(0,t.jsx)(a(),{role:"img",src:`https://${c?.countryFlagImage.file.url}`,className:"h-full w-full p-2",width:32,height:24,alt:`${c?.currency}-flag`,loader:i.T,unoptimized:!0}),(0,t.jsx)("p",{className:"text-white",children:c?.currency}),(0,t.jsx)("div",{className:"h-full pl-8 pt-4",children:(0,t.jsx)("svg",{width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"https://www.w3.org/2000/svg",className:r?"rotate-180":"","data-testid":"arrow-icon",children:(0,t.jsx)("path",{d:"M1.99316 1.75L7.99671 7.75L14.0003 1.75",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})]})})}},45031:e=>{e.exports={currencyPicker:"styles_currencyPicker___Awrx"}}}]);

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.