PageSourceSearch

https://www.pairty.com/_next/static/chunks/756.71ecc2b24ef18345.js

js pairty.com collected 2026-10-10 02:25:07 UTC 12,494 bytes, 234 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[756],{65022:function(e,r,t){t.d(r,{Z:function(){return p}});var i=t(74803);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),o=e=>{let r=n(e);return r.charAt(0).toUpperCase()+r.slice(1)},s=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()},l=e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,i.forwardRef)((e,r)=>{let{color:t="currentColor",size:a=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:d="",children:p,iconNode:u,...h}=e;return(0,i.createElement)("svg",{ref:r,...c,width:a,height:a,stroke:t,strokeWidth:o?24*Number(n)/Number(a):n,className:s("lucide",d),...!p&&!l(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[r,t]=e;return(0,i.createElement)(r,t)}),...Array.isArray(p)?p:[p]])}),p=(e,r)=>{let t=(0,i.forwardRef)((t,n)=>{let{className:l,...c}=t;return(0,i.createElement)(d,{ref:n,iconNode:r,className:s("lucide-".concat(a(o(e))),"lucide-".concat(e),l),...c})});return t.displayName=o(e),t}},40322:function(e,r,t){t.d(r,{Z:function(){return i}});let i=(0,t(65022).Z)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]])},90756:function(e,r,t){t.r(r),t.d(r,{PasskeySelectSignupOrLogin:function(){return d},PasskeySelectSignupOrLoginView:function(){return c},default:function(){return d}});var i=t(2359),a=t(40322),n=t(77321),o=t(64862),s=t(19894),l=t(67585);t(74803),t(56789),t(33782),t(60625),t(47170),t(96357);let c=({title:e="Log in or create a new account?",subtitle:r="Create a new account with a passkey or use a passkey to log in to an existing account.",onSignup:t,onLogin:n})=>(0,i.jsx)(l.S,{title:e,subtitle:r,icon:a.Z,primaryCta:{label:"Create new account",onClick:t},secondaryCta:{label:"Log in with a passkey",onClick:n},watermark:!0}),d={component:()=>{let{enabled:e,token:r}=(0,n.a)(),{navigate:t,setModalData:a}=(0,s.a)(),{initSignupWithPasskey:l,initLoginWithPasskey:d}=(0,o.u)();return(0,i.jsx)(c,{onSignup:async()=>{e&&!r?(a({passkeyAuthModalData:{passkeySignupFlow:!0},captchaModalData:{callback:e=>l({captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"PasskeyStatusScreen",onErrorNavigateTo:"ErrorScreen"}}),t("CaptchaScreen")):(await l({withPrivyUi:!0,captchaToken:r}),a({passkeyAuthModalData:{passkeySignupFlow:!0}}),t("PasskeyStatusScreen"))},onLogin:async()=>{e&&!r?(a({passkeyAuthModalData:{passkeySignupFlow:!1},captchaModalData:{callback:e=>d({captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"PasskeyStatusScreen",onErrorNavigateTo:"ErrorScreen"}}),t("CaptchaScreen")):(await d({withPrivyUi:!0,captchaToken:r}),a({passkeyAuthModalData:{passkeySignupFlow:!1}}),t("PasskeyStatusScreen"))}})}}},61765:function(e,r,t){t.d(r,{S:function(){return w}});var i=t(2359),a=t(74803),n=t(85595),o=t(43233),s=t(88418),l=t(99243);let c=n.zo.div`
2  /* spacing tokens */
3  --screen-space: 16px; /* base 1x = 16 */
4  --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */
5
6  position: relative;
7  overflow: hidden;
8  margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */
9  height: 100%;
10  border-radius: var(--privy-border-radius-lg);
11`,d=n.zo.div`
12  display: flex;
13  flex-direction: column;
14  gap: calc(var(--screen-space) * 1.5);
15  width: 100%;
16  background: var(--privy-color-background);
17  padding: 0 var(--screen-space-lg) var(--screen-space);
18  height: 100%;
19  border-radius: var(--privy-border-radius-lg);
20`,p=n.zo.div`
21  position: relative;
22  display: flex;
23  flex-direction: column;
24`,u=(0,n.zo)(s.M)`
25  margin: 0 -8px;
26`,h=n.zo.div`
27  flex: 1 1 auto;
28  display: flex;
29  flex-direction: column;
30
31  /* Enable scrolling */
32  overflow-y: auto;
33
34  /* Hide scrollbar but keep functionality when scrollable */
35  /* Add padding for focus outline space, offset with negative margin */
36  padding: 3px;
37  margin: -3px;
38
39  &::-webkit-scrollbar {
40    display: none;
41  }
42  scrollbar-gutter: stable both-edges;
43  scrollbar-width: none;
44  -ms-overflow-style: none;
45
46  /* Gradient effect for scroll indication */
47  ${({$colorScheme:e})=>"light"===e?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===e?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}
48
49  background-repeat: no-repeat;
50  background-size:
51    100% 32px,
52    100% 16px;
53  background-attachment: local, scroll;
54`,g=n.zo.div`
55  display: flex;
56  flex-direction: column;
57  gap: var(--screen-space-lg);
58`,v=n.zo.div`
59  text-align: center;
60  display: flex;
61  flex-direction: column;
62  align-items: center;
63  gap: var(--screen-space);
64`,x=n.zo.div`
65  display: flex;
66  flex-direction: column;
67  gap: 4px;
68`,y=n.zo.h3`
69  && {
70    font-size: 20px;
71    line-height: 32px;
72    font-weight: 500;
73    color: var(--privy-color-foreground);
74    margin: 0;
75  }
76`,f=n.zo.p`
77  && {
78    margin: 0;
79    font-size: 16px;
80    font-weight: 300;
81    line-height: 24px;
82    color: var(--privy-color-foreground);
83  }
84`,m=n.zo.div`
85  background: ${({$variant:e})=>{switch(e){case"success":return"var(--privy-color-success-bg, #EAFCEF)";case"warning":return"var(--privy-color-warn, #FEF3C7)";case"error":return"var(--privy-color-error-bg, #FEE2E2)";case"loading":case"logo":return"transparent";default:return"var(--privy-color-background-2)"}}};
86
87  border-radius: 50%;
88  width: 64px;
89  height: 64px;
90  display: flex;
91  align-items: center;
92  justify-content: center;
93`,b=n.zo.div`
94  display: flex;
95  align-items: center;
96  justify-content: center;
97
98  img,
99  svg {
100    max-height: 90px;
101    max-width: 180px;
102  }
103`,k=n.zo.div`
104  display: flex;
105  flex-direction: column;
106  justify-content: center;
107  align-items: center;
108  width: 100%;
109  height: 82px;
110
111  > div {
112    position: relative;
113  }
114
115  > div > :first-child {
116    position: relative;
117  }
118
119  > div > :last-child {
120    position: absolute;
121    left: 50%;
122    top: 50%;
123    transform: translate(-50%, -50%);
124  }
125`,w=({children:e,...r})=>(0,i.jsx)(c,{children:(0,i.jsx)(d,{...r,children:e})}),j=n.zo.div`
126  position: absolute;
127  top: 0;
128  left: calc(-1 * var(--screen-space-lg));
129  width: calc(100% + calc(var(--screen-space-lg) * 2));
130  height: 4px;
131  background: var(--privy-color-background-2);
132  border-top-left-radius: inherit;
133  border-top-right-radius: inherit;
134  overflow: hidden;
135`,z=(0,n.zo)(s.B)`
136  padding: 0;
137  && a {
138    padding: 0;
139    color: var(--privy-color-foreground-3);
140  }
141`,S=n.zo.div`
142  height: 100%;
143  width: ${({pct:e})=>e}%;
144  background: var(--privy-color-foreground-3);
145  border-radius: 2px;
146  transition: width 300ms ease-in-out;
147`,C=({step:e})=>e?(0,i.jsx)(j,{children:(0,i.jsx)(S,{pct:Math.min(100,e.current/e.total*100)})}):null;w.Header=({title:e,subtitle:r,icon:t,iconVariant:a,iconLoadingStatus:n,showBack:o,onBack:s,showInfo:l,onInfo:c,showClose:d,onClose:h,step:g,...m})=>(0,i.jsxs)(p,{...m,children:[(0,i.jsx)(u,{backFn:o?s:void 0,infoFn:l?c:void 0,onClose:d?h:void 0,closeable:d}),(t||a||e||r)&&(0,i.jsxs)(v,{children:[t||a?(0,i.jsx)(w.Icon,{icon:t,variant:a,loadingStatus:n}):null,!(!e&&!r)&&(0,i.jsxs)(x,{children:[e&&(0,i.jsx)(y,{children:e}),r&&(0,i.jsx)(f,{children:r})]})]}),g&&(0,i.jsx)(C,{step:g})]}),(w.Body=a.forwardRef(({children:e,...r},t)=>(0,i.jsx)(h,{ref:t,...r,children:e}))).displayName="Screen.Body",w.Footer=({children:e,...r})=>(0,i.jsx)(g,{id:"privy-content-footer-container",...r,children:e}),w.Actions=({children:e,...r})=>(0,i.jsx)(E,{...r,children:e}),w.HelpText=({children:e,...r})=>(0,i.jsx)(M,{...r,children:e}),w.Watermark=()=>(0,i.jsx)(z,{}),w.Icon=({icon:e,variant:r="subtle",loadingStatus:t})=>"logo"===r&&e?(0,i.jsx)(b,"string"==typeof e?{children:(0,i.jsx)("img",{src:e,alt:""})}:a.isValidElement(e)?{children:e}:{children:a.createElement(e)}):"loading"===r?e?(0,i.jsx)(k,{children:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)(o.a4,{success:t?.success,fail:t?.fail}),"string"==typeof e?(0,i.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):a.isValidElement(e)?a.cloneElement(e,{style:{width:"38px",height:"38px"}}):a.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,i.jsx)(m,{$variant:r,children:(0,i.jsx)(l.N,{size:"64px"})}):(0,i.jsx)(m,{$variant:r,children:e&&("string"==typeof e?(0,i.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):a.isValidElement(e)?e:a.createElement(e,{width:32,height:32,stroke:(()=>{switch(r){case"success":return"var(--privy-color-icon-success)";case"warning":return"var(--privy-color-icon-warning)";case"error":return"var(--privy-color-icon-error)";default:return"var(--privy-color-icon-muted)"}})(),strokeWidth:2}))});let E=n.zo.div`
148  width: 100%;
149  display: flex;
150  flex-direction: column;
151  gap: calc(var(--screen-space) / 2);
152`,M=n.zo.div`
153  && {
154    margin: 0;
155    width: 100%;
156    text-align: center;
157    color: var(--privy-color-foreground-3);
158    font-size: 14px;
159    line-height: 22px;
160
161    & a {
162      color: var(--privy-color-accent);
163    }
164  }
165`},67585:function(e,r,t){t.d(r,{S:function(){return o}});var i=t(2359),a=t(88418),n=t(61765);let o=({primaryCta:e,secondaryCta:r,helpText:t,watermark:o=!0,children:s,...l})=>{let c=e||r?(0,i.jsxs)(i.Fragment,{children:[e&&(()=>{let{label:r,...t}=e,n=t.variant||"primary";return(0,i.jsx)(a.a,{...t,variant:n,style:{width:"100%",...t.style},children:r})})(),r&&(()=>{let{label:e,...t}=r,n=t.variant||"secondary";return(0,i.jsx)(a.a,{...t,variant:n,style:{width:"100%",...t.style},children:e})})()]}):null;return(0,i.jsxs)(n.S,{id:l.id,className:l.className,children:[(0,i.jsx)(n.S.Header,{...l}),s?(0,i.jsx)(n.S.Body,{children:s}):null,t||c||o?(0,i.jsxs)(n.S.Footer,{children:[t?(0,i.jsx)(n.S.HelpText,{children:t}):null,c?(0,i.jsx)(n.S.Actions,{children:c}):null,o?(0,i.jsx)(n.S.Watermark,{}):null]}):null]})}},99243:function(e,r,t){t.d(r,{N:function(){return n}});var i=t(2359),a=t(85595);let n=({size:e,centerIcon:r})=>(0,i.jsx)(o,{$size:e,children:(0,i.jsxs)(s,{children:[(0,i.jsx)(c,{}),(0,i.jsx)(d,{}),r?(0,i.jsx)(l,{children:r}):null]})}),o=a.zo.div`
166  --spinner-size: ${e=>e.$size?e.$size:"96px"};
167
168  display: inline-flex;
169  justify-content: center;
170  align-items: center;
171
172  @media all and (display-mode: standalone) {
173    margin-bottom: 30px;
174  }
175`,s=a.zo.div`
176  position: relative;
177  height: var(--spinner-size);
178  width: var(--spinner-size);
179
180  opacity: 1;
181  animation: fadein 200ms ease;
182`,l=a.zo.div`
183  position: absolute;
184  top: 0;
185  right: 0;
186  bottom: 0;
187  left: 0;
188  display: flex;
189  align-items: center;
190  justify-content: center;
191  svg,
192  img {
193    width: calc(var(--spinner-size) * 0.4);
194    height: calc(var(--spinner-size) * 0.4);
195    border-radius: var(--privy-border-radius-full);
196  }
197`,c=a.zo.div`
198  position: absolute;
199  top: 0;
200  right: 0;
201  bottom: 0;
202  left: 0;
203  width: var(--spinner-size);
204  height: var(--spinner-size);
205
206  && {
207    border: 4px solid var(--privy-color-border-default);
208    border-radius: 50%;
209  }
210`,d=a.zo.div`
211  position: absolute;
212  top: 0;
213  right: 0;
214  bottom: 0;
215  left: 0;
216  width: var(--spinner-size);
217  height: var(--spinner-size);
218  animation: spin 1200ms linear infinite;
219
220  && {
221    border: 4px solid;
222    border-color: var(--privy-color-icon-subtle) transparent transparent transparent;
223    border-radius: 50%;
224  }
225
226  @keyframes spin {
227    from {
228      transform: rotate(0deg);
229    }
230    to {
231      transform: rotate(360deg);
232    }
233  }
234`}}]);

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.