9571-7587df628b8c8830.js
77.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
[9571], {
19570: (e, o, t) => {
t.d(o, {
Ri: () => r,
TV: () => a,
XL: () => s,
Yj: () => n,
c4: () => l,
eu: () => i
});
let i = {
AUTH_TOKEN: "_ai_share_token",
HAS_VISITED_LANDING_PAGE: "user_has_visited_landing_page"
};
function r(e) {
if ("undefined" == typeof document) return null;
for (let o of document.cookie.split(";")) {
let [t, i] = o.trim().split("=");
if (t === e) return decodeURIComponent(i)
}
return null
}
function a(e, o) {
let t = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
if ("undefined" == typeof document) return;
let {
path: i = "/",
domain: r,
maxAge: a,
expires: n,
secure: l,
sameSite: s = "Lax"
} = t, d = "".concat(e, "=").concat(encodeURIComponent(o));
d += "; path=".concat(i), r && (d += "; domain=".concat(r)), void 0 !== a && (d += "; max-age=".concat(a)), n && (d += "; expires=".concat(n.toUTCString())), l && (d += "; secure"), d += "; samesite=".concat(s), document.cookie = d
}
function n(e) {
let o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "/";
if ("undefined" == typeof document) return;
document.cookie = "".concat(e, "=; path=").concat(o, "; expires=Thu, 01 Jan 1970 00:00:00 GMT");
let t = window.location.hostname.split(".");
if (t.length >= 2) {
let i = t.slice(-2).join(".");
document.cookie = "".concat(e, "=; path=").concat(o, "; domain=").concat(i, "; expires=Thu, 01 Jan 1970 00:00:00 GMT"), document.cookie = "".concat(e, "=; path=").concat(o, "; domain=.").concat(i, "; expires=Thu, 01 Jan 1970 00:00:00 GMT")
}
}
function l() {
return r(i.AUTH_TOKEN)
}
function s() {
let e = l();
return e ? "Bearer ".concat(e) : null
}
},
21912: (e, o, t) => {
t.d(o, {
Hg: () => r,
NK: () => i,
dn: () => a
});
let i = "realtime_web_language",
r = ["en", "hi", "pt", "id", "vi", "ru", "ja", "de", "tr", "es", "fr", "th", "ko"],
a = e => {
if (e) return "cn";
try {
var o;
let e = window.localStorage.getItem(i);
return null != (o = r.find(o => o === e)) ? o : "en"
} catch (e) {
return "en"
}
}
},
34587: (e, o, t) => {
function i() {
return "https://realtime-api.pixverse.ai"
}
function r() {
return "https://app.pixverse.ai/login"
}
function a() {
return "https://world.pixverse.ai"
}
function n() {
return "https://app.pixverse.ai"
}
function l() {
let e = n();
return e ? "".concat(e, "/oauth/bridge") : ""
}
function s() {
return !1
}
t.d(o, {
Jv: () => d,
Ow: () => a,
TC: () => s,
WU: () => c,
YZ: () => u,
fx: () => r,
mX: () => l,
rx: () => n,
xv: () => i
});
let d = () => {
try {
return JSON.parse('{"sensorsdata":{"server_url":"https://report.pixverse.ai/sa?project=pixverse", "batch_send": {"datasend_timeout": 30000, "send_interval": 30000}}}')
} catch (e) {}
return {}
};
function c() {
return !0
}
function u() {
return "https://creative-platform-pixverse.oss-us-west-1.aliyuncs.com"
}
},
38557: (e, o, t) => {
t.d(o, {
Cf: () => l,
GX: () => v,
Iz: () => m,
P5: () => h,
Vv: () => n,
Z7: () => w,
fd: () => f,
ho: () => y,
qC: () => T,
rO: () => g,
tA: () => r,
yt: () => a
});
var i = t(16041);
let r = "PIXVERSE_EMBED_AUTH",
a = "PIXVERSE_EMBED_READY",
n = "PIXVERSE_EMBED_AUTH_FAILED",
l = "pixverse-embed-auth-invalidated",
s = new Set(["/live/dress", "/live/dress/"]),
d = new Set(["POST /rtg/upload-image", "POST /rtg/upload-image/complete", "POST /live/room/message"]),
c = null,
u = null,
p = null;
function h() {
return window.self !== window.top && s.has(window.location.pathname)
}
function g() {
return c
}
function m() {
return p
}
function v(e, o, t) {
c = e, u = o, p = t
}
function y() {
c = null, u = null, p = null
}
function w(e) {
if (!c || c !== e) return;
let o = u;
y(), window.dispatchEvent(new Event(l)), o && window.parent.postMessage({
type: n
}, o)
}
function f(e, o) {
if (!e || !o) return !1;
try {
let t = new URL(o, window.location.origin).pathname.replace(/\/+$/, "") || "/";
return d.has("".concat(e.toUpperCase(), " ").concat(t))
} catch (e) {
return !1
}
}
function T(e, o) {
if (!e || !o) return null;
try {
let t = e.split(".");
if (3 !== t.length || t.some(e => !e)) return null;
let {
sub: r,
business_user_id: a,
preset_id: n,
username: l,
avatar_url: s
} = (0, i.s)(e), d = Number(r), c = Number(a);
if (!Number.isSafeInteger(d) || d <= 0 || !Number.isSafeInteger(c) || c <= 0 || String(n) !== o) return null;
return {
accountId: d,
businessUserId: String(c),
nickname: null != l ? l : "Guest",
avatarUrl: "string" == typeof s ? s : ""
}
} catch (e) {
return null
}
}
},
43289: (e, o, t) => {
t.d(o, {
A: () => d
});
var i = t(85151),
r = t(21889);
let a = JSON.parse('{"navigation":{"create":"创建","gallery":"画廊","mine":"我的","externalLinks":{"api":"获取 PixVerse R1 API","pixverse":"探索更多 PixVerse 内容","techReport":"阅读技术报告","welcome":"访问欢迎页"}},"components":{"virtualHuman":{"questionTitle":"你的问题","topicDescription":"选择你想探索的问题,虚拟人会围绕这个主题为你解读。","topicCardCount":"抽取 {{count}} 张牌","zodiacTitle":"选择你的星座","zodiacDescription":"星座将作为本次运势解读的一部分。","confirmSelection":"确认选择","cardTitle":"选择你的塔罗牌","manualCardDescription":"左右滑动牌组并点击卡牌,每次抽取一张,共选择 {{count}} 张。","dragDeckHint":"拖动牌组选择卡牌","previousCard":"查看左侧卡牌","nextCard":"查看右侧卡牌","redraw":"重新抽牌","startReading":"开始解读","safeSpace":"这是一个安全空间,请相信过程。","finishDrawing":"请先完成抽牌","configChanged":"虚拟人配置已更新,请重新选择并抽牌","queueTitle":"正在准备专属解读","queueLockedDescription":"问题与卡牌已准备完成,请保持页面开启,我们正在为你准备直播间。","selectedTopic":"已选问题","queueStartsWithin":"预计 {{time}} 内轮到你","queuePosition":"当前排队位置:{{position}}","cancelQueue":"退出排队","liveTitle":"塔罗解读","selectedCards":"已选塔罗牌","selectedCardsCount":"已选 {{count}} 张牌","reading":"信息解读","initialReading":"你的牌面解读","qaTitle":"Q&A Record","yourQuestion":"你的问题","readerAnswer":"占卜师","readingFailed":"解读失败,请稍后重试。","interpreting":"正在解读…","initialInterpreting":"Preserve calm, the answer is emerging.....","readingQuote":"“You ask about the cards, but the answer you actually already know—You just want a form of approval.”","listening":"正在倾听中...","followUpPlaceholder":"继续向占卜师提问…","sendFollowUp":"发送问题","openKeyboardInput":"打开键盘输入","closeKeyboardInput":"关闭键盘输入","voiceInput":"语音输入","voiceInputHint":"点击键盘按钮也可以输入文字","keyboardInputHint":"按 Enter 发送,Esc 收起输入框","zodiacSigns":{"aries":"白羊座","taurus":"金牛座","gemini":"双子座","cancer":"巨蟹座","leo":"狮子座","virgo":"处女座","libra":"天秤座","scorpio":"天蝎座","sagittarius":"射手座","capricorn":"摩羯座","aquarius":"水瓶座","pisces":"双鱼座"}},"discover":{"joinLive":"加入直播","viewWorld":"查看世界","play":"播放","rewardClaimed":"奖励已领取","claimReward":"领取奖励","inviteProgress":"邀请进度","loadingInviteInformation":"加载邀请信息中...","retry":"重试","shareMagic":"分享 PixVerse R1 的魅力。邀请 {{count}} 位朋友解锁专属奖励。","rewardUnlocked":"奖励已解锁!","yourExclusiveCode":"您的专属邀请码","credits":"积分","worldItemDetail":{"exploreWorld":"探索世界","failedToLoadContent":"加载内容失败","retry":"重试","share":"分享","download":"下载","shareYourThoughts":"分享您的想法","send":"发送","comments":"评论","more":"更多","shareSuccess":"复制成功!","downloadSuccess":"下载成功!","emptyComments":"暂无评论","queueStartsIn":"您的排队将在 {{time}} 内开始","noExploration":"无探索","muteVideo":"静音视频","unmuteVideo":"取消静音视频","previousVideo":"上一个视频","nextVideo":"下一个视频","goToVideo":"前往第{{index}}个视频","loadCommentsFailed":"加载评论失败。","sendCommentFailed":"发送评论失败。","suggestedItemAlt":"推荐世界{{index}}"},"worldStatsMeta":{"exploreTimes":"探索 {{count}} 次","plays":"{{count}} plays","views":"{{count}} 次浏览"},"worldCard":{"untitled":"未命名","noDescription":"暂无描述","live":"直播","usersPlayingTogether":"位用户正在一起玩","connectingToLiveStream":"正在连接直播流...","connectionProgress":"连接进度","connectionExceptionRetrying":"连接异常,正在重试…","sessionBlocked":"会话已阻塞!","blockedDescription":"马上回来!请稍候。","sessionError":"会话错误!","errorDescription":"请稍后重试。","sessionEnd":"会话结束!","endedDescriptionLine1":"本场直播已结束。","endedDescriptionLine2":"返回世界画廊查看更多"},"worldLiveDetail":{"back":"返回","promptPlaceholder":"描述接下来会发生什么…","create":"创作","chatTitle":"直播观众","openChat":"打开聊天","emptyChat":"还没有互动,来发表第一条评论吧!","chatHint":"与观众实时聊天 • 不影响画面操作","chatPlaceholder":"说点什么…","sendChat":"发送","chatNewMessages":"{{count}} 条新消息","chatYouSuffix":"(你)","chatUserJoined":"@{{name}}{{self}} 进入了直播间","emojiComboLabel":"表情连击","emojiPickerLabel":"表情选择","emojiPickerOpen":"打开表情面板","emojiPickerClose":"关闭表情面板","collapseChatInput":"收起聊天区域","expandChatInput":"展开聊天区域","emojiPickerComboHint":"快速点击表情可以发送连击效果","emojiPickerComboHintClose":"关闭连击提示","emojiPickerRecent":"最近使用","emojiPickerDefault":"默认表情","viewerPromptBanner1":"你的输入对直播间所有人可见","viewerPromptBanner2":"任何用户的输入都有可能被选中并呈现","users":"用户","picked":"精选"},"discoverPage":{"failedToLoadContent":"加载内容失败","retry":"重试","failedToLoadMoreContent":"加载更多内容失败"}},"liveShare":{"live":"LIVE","share":"分享直播","shareHighlightTitle":"分享这段高光","worldCupShareHighlightTitle":"分享世界杯助威视频","worldCupShareIconLabel":"分享","worldCupShareGuideInfo":"世界杯奖励说明","worldCupShareGuideRulesLabel":"规则","worldCupShareGuideClose":"关闭世界杯奖励说明","worldCupShareGuideTitle":"分享赢奖励","worldCupShareGuideDescription":"幸运获奖者最高可获得 1,000,000 额外积分。","worldCupShareGuideStep1Title":"分享到社交媒体","worldCupShareGuideStep1Description":"发布你的视频","worldCupShareGuideStep2Title":"添加话题并提及我们","worldCupShareGuideStep2Description":"#pixverselive 和 @PixVerse","worldCupShareGuideStep3Title":"参与幸运抽奖","worldCupShareGuideStep3Description":"查看详情","worldCupShareGuideCta":"立即分享","worldCupShareGuideFootnote":"*积分仅可在本平台兑换服务,不可转让,也不可兑换现金。","worldCupLeaderboardTitle":"世界杯助威排行榜","worldCupLeaderboardToday":"今日","worldCupLeaderboardAllTime":"总榜","worldCupLeaderboardHeat":"热度:{{score}}","worldCupLeaderboardSupport":"助威","worldCupLeaderboardMissingSupportInfo":"缺少必要的助威信息,请稍后重试。","worldCupLeaderboardOpen":"打开世界杯助威排行榜","worldCupLeaderboardClose":"关闭世界杯助威排行榜","worldCupLeaderboardCollapse":"收起世界杯助威排行榜","worldCupLeaderboardEmpty":"暂无助威排行,快来为你的队伍助威。","closeShareHighlight":"关闭分享高光","roomTitle":"Mia 的换装直播","queuedNow":"Queued Now","waiting":"Waiting","sharePreviewHeadline":"看看我给她换了什么","shareTo":"分享到","copyLink":"复制链接","joinLiveRoom":"进入直播间","backToGallery":"返回 Gallery","replay":"重新播放","retry":"重试","loadingHighlight":"高光加载中...","missingHighlightTitle":"缺少高光信息","missingHighlightDescription":"当前链接缺少高光 ID,请从直播间重新打开分享。","emptyHighlightTitle":"高光不可用","emptyHighlightDescription":"这条高光暂时没有可播放内容。","businessErrorTitle":"高光加载失败","businessErrorDescription":"请求未完成,请稍后重试。","networkErrorTitle":"网络异常","networkErrorDescription":"请检查网络后重试。","statsText":"{{viewed}} 浏览 \xb7 {{created}} 创作","onlineStats":"{{onlineCount}} 在线","previousHighlight":"上一条高光","nextHighlight":"下一条高光","sharePlatformInstagram":"Instagram","sharePlatformTiktok":"Tiktok","sharePlatformX":"X","sharePlatformFacebook":"Facebook","shareCopyTemplate1":"I picked the outfit. The AI streamer actually wore it live.","shareCopyTemplate2":"Pick an outfit and watch the AI streamer transform in real time.","shareCopyTemplate3":"This live room changes based on what viewers choose.","shareCopyTemplate4":"I just dressed an AI streamer. Your turn.","shareCopyTemplate5":"Choose the outfit. Watch the streamer bring it to life.","shareCopyTemplate6":"The AI streamer is taking outfit challenges. What should she wear next?","shareCopyTemplate7":"I made the AI streamer wear this. Try yours.","shareCopyTemplate8":"Viewers choose the look. The streamer makes it real.","worldCupShareCopyTemplate1":"I made an AI cheer video for {{country}}. Come support your team.","worldCupShareCopyTemplate2":"Pick your country and generate a World Cup cheer video.","worldCupShareCopyTemplate3":"{{country}} is climbing the support ranking. Help push it higher.","worldCupShareCopyTemplate4":"I just generated a World Cup cheer video for {{country}}. Where does your team rank?","worldCupShareCopyTemplate5":"Choose your country, create a cheer video, and join the ranking battle.","worldCupShareCopyTemplate6":"Support {{country}} with your own AI football cheer video.","worldCupShareCopyTemplate7":"Your team needs you. Pick a jersey and boost its ranking.","worldCupShareCopyTemplate8":"I made an AI football cheer video for {{country}}. Share yours for a chance to win.","worldCupShareCopyTemplate9":"The World Cup support battle is live. Which country are you backing?","worldCupShareCopyTemplate10":"Pick a country. Generate a cheer video. Rally your team.","vs":"VS","original":"Original","tryOn":"Try-On ✦","userPicked":"User Picked","applyingOutfit":"Applying outfit...","chat":"直播聊天","viewed":"{{value}}次观看","created":"{{count}}个创建","nowActive":"当前活跃"},"avatarExploreDialog":{"title":"为本次探索选择一个你的形象","skip":"跳过","confirm":"确认","close":"关闭","prev":"上一个","next":"下一个"},"historyItem":{"download":"下载","feedback":"反馈","publishSuccess":"发布成功","publishFailed":"发布失败","unpublishSuccess":"取消发布成功","unpublishFailed":"取消发布失败","updateSuccess":"更新成功","unpublishConfirmTitle":"取消发布?","unpublishConfirmMessage":"确定要取消发布这个记录吗?","unpublishConfirmText":"取消发布","cancelText":"取消","unpublish":"取消发布","publish":"发布","noContentLine1":"暂无标题与描述。","noContentLine2":"点击编辑添加,获得更多曝光。","edit":"编辑","updateFailed":"更新世界失败。","privateTooltip":"将此世界设为私有","publishTooltip":"发布到世界画廊,以便更多用户探索这个世界。","explorationPrivateTooltip":"将此世界探索设为私有","explorationPublishTooltip":"发布此世界探索","explorationPrivateTitle":"将此世界探索设为私有?","explorationPrivateMessage":"其他用户将无法再查看此世界探索。","status":{"failed":"失败","generating":"生成中"}},"GenerateConfig":{"leftSession":"本次探索倒计时 {{time}}","imageFormatError":"请上传 JPG、PNG 或 WebP 格式的图片。","imageTooLarge":"图片大小不能超过 5MB","imageUploadError":"图片上传失败,请重试","imageUploadTimeout":"图片上传超时,请检查网络后重试","imageAuditRejected":"图片不符合内容规范,请重新上传","imageAuditServiceUnavailable":"图片暂时无法处理,请稍后重新上传","largeImageUploadNotice":"您的图片较大,所以上传可能需要一些时间。"},"SessionTimeout":{"title":"探索结束","description":"您本次探索时间已结束,如需继续,请返回首页重新创建。","rejoinQueue":"返回首页"},"RealtimeVideo":{"promptPlaceholder":"接下来您希望发生什么","connectingInputHint":"正在连接您的世界,连接完成后即可输入消息","sendPrompt":"发送","messagePrefix":"我:","dialogueMessagePrefix":"主播:","pressEnterHint":"【Enter】发送,【Shift+Enter】换行","promptSendFailed":"发送失败请重试","generationStartFailed":"创建失败请重试","realtimeDialogue":{"publishing":"正在开启麦克风...","starting":"正在启动实时语音转录...","ready":"实时语音已就绪,请直接说话","processing":"已收到语音,正在处理...","error":"实时语音启动失败","muted":"麦克风已关闭","microphonePermissionRequired":"未开启麦克风权限,点击申请授权","microphonePermissionDenied":"麦克风权限已被拒绝,请在浏览器设置中允许后重试","turnOffMicrophone":"关闭麦克风","turnOnMicrophone":"开启麦克风","endCall":"挂断并结束探索","switchToText":"切换到文字输入","switchToCall":"切换到语音通话"},"loading":{"creating":"正在创建您的世界..."},"error":{"connectionFailed":"连接失败","defaultMessage":"请检查您的网络后重试","retry":"重试"},"history":{"title":"输入历史","expand":"展示更多","collapse":"收起","empty":"没有输入历史"},"auditRejected":"您输入的文本包含敏感信息,请修改重试","branchChoice":{"countdown":"{{seconds}} 秒后自动继续","autoSelecting":"自动选择主线中...","send":"发送","exit":"退出"},"dialogue":{"remaining":"剩余 {{seconds}}s","inputPlaceholder":"说点什么…","connecting":"正在接入…","send":"发送","exit":"退出","switchToVoice":"切换到语音","switchToKeyboard":"切换到键盘","micStarting":"正在开启麦克风…","listening":"正在聆听…","speaking":"正在说话…","recognizing":"识别中…"},"game":{"remaining":"剩余 {{seconds}}s","exit":"退出","moveHint":"WASD 移动 \xb7 空格跳跃 \xb7 方向键视角"},"modifyPromptToContinue":"修改重试","qte":{"readyKicker":"准备","swipeKicker":"滑动","tapTargetLabel":"点击目标 {{current}}/{{total}}","handleLabel":"沿轨道拖动,也可使用方向键","tapKickerSingle":"点击","tapKickerChain":"连击","tapTargetLabelChain":"连击目标"},"imageNotUploaded":"图片上传失败,请返回重新上传图片","exitDialog":{"title":"您是否想离开?","description":"离开会结束本次探索,结束后您本次探索回放将保存到您的历史,您可通过页面右上方【历史】功能进行查看","stay":"继续探索","leave":"离开"},"controls":{"muteSoundEffects":"静音声音效果","unmuteSoundEffects":"取消静音声音效果","enableBgm":"启用背景音乐","disableBgm":"禁用背景音乐"}},"VoiceInput":{"recognitionFailed":"识别失败请重试","microphoneAccessDenied":"请检查您的麦克风权限","recordingTitle":"正在录音 {{time}} - 松开停止","holdToSpeak":"按住说话"},"live":{"emptyTitle":"无法加入直播","emptyDescription":"链接缺少直播信息,请从世界画廊进入直播。","backToGallery":"返回世界画廊","errorTitle":"直播加载失败","errorDescription":"加载直播时出现问题,请稍后重试。","retry":"重试","loginRequiredTitle":"登录后观看直播","loginRequiredDescription":"加入直播需要先登录,正在跳转至登录页…","embedWaiting":"正在等待授权…","embedAuthFailed":"授权失败或已过期,请返回页面重试。","audioPromptTitle":"是否播放声音?","audioPromptDescription":"浏览器阻止了自动播放声音。你可以继续静音观看,或现在开启声音。","audioPromptCancel":"保持静音","audioPromptConfirm":"播放声音"},"notices":{"freeAccess":{"title":"限时免费提示","loginDescription":"PixVerse R1 限时免费试用已上线。登录领取。","login":"立即登录","successDescription":"您现在可以使用 PixVerse R1 进行实时生成了,请享受您的创作旅程。","gotIt":"知道了"},"avatar":{"title":"角色创建现已可用","description":"在此处或从我的 > 角色开始创造你的第一个角色。","tryNow":"立即尝试"}},"worldEditForm":{"editTitle":"编辑您的世界","publishTitle":"发布我的世界","saveChanges":"保存更改","saveAndExplore":"保存并探索","fields":{"title":"标题","titlePlaceholder":"添加标题以获得更多曝光。","description":"描述","descriptionPlaceholder":"添加描述吸引更多用户来探索此世界。","aspectRatio":"宽高比","style":"风格","worldSetting":"世界设置","clearImage":"清除图片","worldSettingPlaceholder":"描述您想要创建的世界"}}},"pages":{"end":{"title":"感谢您的体验!","subtitle":"您的本次探索体验已结束,探索回放将保存到您的历史,您可通过首页右上方【历史】功能进行查看!","viewHistory":"查看历史记录","exploreAgain":"再次探索","backToDiscover":"返回首页","shareFeedback":"分享您的反馈","visitPixVerse":"访问 PixVerse 了解更多","firstFrameAlt":"首帧图","postExplorationToGallery":"发布探索到画廊","postExplorationToGalleryTooltip":"发布到世界画廊,让更多用户观看这次世界探索的回放视频。"},"home":{"startLiveGeneration":"开始探索","worldGallery":"世界长廊"},"generate":{"leaveQueueDialog":{"title":"离开队列?","description":"离开后您需要重新进入排队","queueLeaveHint":"捏握侧握把按钮以离开队列","clickTriggerToLeave":"点按扳机以离开","squeezeGripAgainToStay":"再捏一次侧握把按钮以留下"},"vrWatchExitDialog":{"title":"离开会话?","description":"点按扳机以离开","description2":"再捏一次侧握把按钮以留下","continue":"继续","exit":"退出"},"vrSessionEndingCountdown":"您的会话将在几秒后结束。","vrStreamingHint":{"line1":"随时按住扳机说出你想看到的内容","line2":"捏握侧握把按钮以离开会话"},"queueFullDialog":{"title":"队列已满","description":"队列暂时已满。请几分钟后再试。","gotIt":"知道了"},"hero":{"title":"创建世界","subtitle":"用文字或画面构建你想探索的世界。多种模式满足不同互动需求。"},"r2Release":{"label":"R2 模型","titleLine1":"全新一代","titleLine2":"世界模型","comingSoon":"即将上线,敬请期待","closeAria":"关闭 R2 上新提示"},"form":{"worldThemePlaceholder":"输入世界主题…","worldThemePlaceholders":{"wander":"Describe the World you wish to Wander","miniGame":"Describe the scene and gameplay for your interactive mini-game","story":"Describe your settings for endless captivating stories"},"inspiration":"灵感","unsavedLeaveTitle":"离开页面?","unsavedLeaveContent":"未保存的更改将会丢失。","leave":"离开","stay":"留下","clearUploadedImageAria":"清除已上传图片","loginOverlayAria":"登录后创建世界","createWorldAria":"创建世界","createWorldTooltip":"Save & Explore This World","uploadTooltip":"上传图片以辅助生成您想要的世界。"},"status":{"creating":"正在创建你的世界,这可能需要几秒钟","queuePosition":"(排队位置:{{position}})","leaveQueue":"退出队列"},"controls":{"aspectRatio":"画面比例","styleChip":"Mode","visualStyle":"Mode"}},"history":{"avatars":{"emptyCta":"点击创建你的第一个形象","goCreate":"去创建","createNew":"创建新形象","edit":"编辑","delete":"删除","discardUnsavedTitle":"放弃更改?","discardUnsavedMessage":"你有未保存的更改,确定要离开吗?","discardConfirm":"离开","discardCancel":"留下","deleteConfirmTitle":"删除此形象?","deleteConfirmMessage":"删除后无法恢复。","deleteConfirm":"删除","deleteCancel":"取消","deleteSuccess":"已删除","deleteFailed":"删除失败,请稍后重试","avatarNamePlaceholder":"可用此名称在需要时找到该形象。","selectStyle":"形象风格","saveSuccess":"Avatar 已保存!你可以在任意探索世界中使用它。","generatingAvatarPreview":"正在生成形象预览。\\n可能需要几分钟,请稍候。","generatePreviewHint":"请先上传参考图,然后点击 <bold>Generate Preview</bold>","styles":{"realistic":"写实风格","anime":"动漫风格","cyberpunk":"赛博朋克风格"},"errors":{"noImage":"无图片生成。","generateFailed":"预览生成失败。","generateTimeout":"生成超时,请重试。","nameRequired":"请输入名称。","createFailed":"创建角色失败。","updateFailed":"更新角色失败。","saveFailed":"保存角色失败,请重试。"}},"tabs":{"worlds":"世界","explorations":"探索","avatars":"角色"},"common":{"createWorld":"现在创建世界","backToGallery":"返回世界画廊","loadFailed":"加载历史记录失败。","end":"您已到达底部"},"worlds":{"empty":"未找到任何世界。开始创作吧。"},"explorations":{"empty":"未找到任何探索。开始探索吧。"}},"exploration":{"leaveQueueTitle":"离开队列","leaveQueueDescription":"确定要离开队列吗?","leaveQueueConfirmText":"离开","leaveQueueCancelText":"留下","startNew":{"title":"开始新的探索?","activeDescription":"您当前在一个探索中。关闭它并开始一个新的吗?您可能需要排队等待。","queuedDescription":"您当前正在排队等待一个探索。离开这个队列加入新队列?","confirm":"开始新的探索"}},"invitationCode":{"title":"欢迎使用 PixVerse R1","description":"体验实时交互世界。目前仅限邀请使用,我们正在逐步开放。","descriptionSuccess":"邀请码验证成功!","inviteCode":"邀请码","placeholder":"请输入邀请码","unlockAccess":"解锁访问","unlocking":"解锁中...","backToDiscover":"返回首页","redirecting":"跳转中...","dontHaveCode":"没有邀请码?","joinWaitlist":"加入等待列表","goSubscribe":"去订阅并获取早期访问","pleaseEnterCode":"请输入邀请码","failedToBind":"绑定邀请码失败,请稍后重试","codeNotExist":"邀请码不存在,请检查后重试","codeUsedOrInvalid":"邀请码已被使用或无效","codeExpired":"邀请码已过期","alreadyRegistered":"您已完成注册,无需再次输入邀请码"},"userNotInWhiteList":{"activeUserTitle":"自定义主题:还有一步","activeUserContent1":"您已经可以访问预设实时世界。","activeUserContent2":"自定义主题提供完全控制,目前仅对少数用户开放。","inactiveUserTitle":"构建您自己的世界","inactiveUserContent":"自定义主题处于早期访问阶段。我们正在逐步向创作者和开发者开放。","requestEarlyAccess":"申请早期访问","backToDiscover":"返回首页"},"toast":{"dailyReservationLimitExceeded":"每日预约限制已超出。","failedToCreateReservation":"创建预约失败","sendOnceWorldReady":"等您的世界准备好后再发送。","claiming":"领取中...","rewardClaimedSuccessfully":"奖励领取成功","failedToClaimReward":"领取奖励失败","chooseProblemFirst":"请先选择一个您希望我们解决的问题。","thankYouForFeedback":"感谢您的反馈!","failedToSubmitFeedback":"提交反馈失败,请重试。","didntHearAnything":"我没有听到任何声音","noTaskFound":"未找到任务,请稍后重试","failedToLoadInviteInformation":"加载邀请信息失败","loginNotCompleted":"登录未完成,请重试。"},"survey":{"chooseProblemLabel":"请先选择一个您希望我们解决的问题。","roleLabel":"您使用 PixVerse R1 的主要角色或兴趣是什么?","suggestionsLabel":"留下您的建议或鼓励","suggestionsPlaceholder":"请输入,非必填","submitting":"提交中...","submit":"提交","rateStar":"评分 {{count}} 星","rateStars":"评分 {{count}} 星","reasons":{"screenLagging":"屏幕卡顿。","lowVideoQuality":"视频质量低。","sessionTakesTooLong":"会话启动时间过长。","noResponse":"没有响应或对我的提示响应不正确。","slowResponse":"对我的提示响应缓慢。","poorConsistency":"角色或场景的一致性差,无法控制。","uncontrollableStyle":"图片风格无法控制。","plotTooRapid":"剧情发展太快,我无法用提示跟上。","plotNotWanted":"剧情发展不符合我的期望。","otherReasons":"其他原因。"},"roles":{"gameDesigner":"游戏设计师/开发者","student":"学生/研究员","contentCreator":"内容创作者","investor":"投资者","developer":"开发者/构建者","media":"媒体","others":"其他"},"modalTitle":"反馈","modalDescription":"分享对这段视频的看法和建议,帮助我们改进。"},"auditFailed":{"title":"请检查提示并尝试新的会话!","description":"您输入的提示包含不当信息。请修改后再试。","backToGallery":"返回世界画廊"},"errorPage":{"updating":"正在更新到最新版本…","newVersionTitle":"新版本已可用","title":"发生错误","newVersionDescription":"应用已更新,请刷新以加载最新版本。","description":"出现了一个意外错误。请重试或返回首页。","refresh":"刷新","retry":"重新尝试","home":"首页"},"notFound":{"title":"未找到页面","description":"您正在查找的页面不存在或已被移动。","backToGallery":"返回世界画廊"},"gallery":{"all":"全部","scrollHint":"滚动查看画廊中的更多世界。"}},"api":{"liveErrors":{"TOO_MANY_REQUESTS":"操作太频繁了,请稍后再试","LIVE_SESSION_NOT_FOUND":"直播间不存在或未开播","LIVE_MISSING_AGORA_UID":"join/leave 缺少 agora_uid","LIVE_ALREADY_JOINED":"用户已在直播间(重复 join)","LIVE_USER_NOT_IN_ROOM":"用户不在直播间(leave时)","LIVE_AGORA_UID_MISMATCH":"agora_uid 与当前用户不匹配","LIVE_EMPTY_CONTENT":"prompt/chat 消息内容为空","LIVE_CONTENT_REJECTED":"内容审核未通过","LIVE_INVALID_MSG_TYPE":"无效的消息类型(非 join/leave/prompt/chat)","LIVE_OUTFIT_USER_BUSY":"你还有一套换装正在排队,完成后再试","LIVE_OUTFIT_QUEUE_FULL":"换装队列已满,请稍后再试","LIVE_OUTFIT_INVALID_COMMAND":"换装请求无效,请重试","LIVE_AUDIT_UNAVAILABLE":"内容审核服务暂时不可用,请稍后重试"}},"home":{"nav":{"home":"PixVerse World 首页","navigation":"主导航","experience":"体验","technology":"技术","stories":"故事","characters":"角色","featured":"更多","cta":"探索画廊","language":"语言","selectLanguage":"选择语言"},"hero":{"titleLine1":"踏入世界","titleLine2":"由你塑造","description":"由 PixVerse R2 驱动,探索角色、场景与故事实时响应的鲜活体验。","play":"立即体验"},"second":{"sectionTitle":"推进交互式世界模型","description":"PixVerse 将多模态理解、长程上下文建模与实时响应的视听生成整合进统一的世界模型。它理解每一次互动,维持连贯的世界状态,并持续生成接下来发生的一切。","learnMore":"了解更多"},"experience":{"title":"不断演化的世界","description":"从角色驱动的精彩瞬间到持续演化的交互世界,选择一种体验并踏入其中。","character":{"title":"栩栩如生的角色","description":"创造拥有鲜明个性与真实存在感的难忘角色,体验故事驱动的互动。"},"cinematic":{"title":"持续演化的世界","description":"通过实时互动塑造不断演化的世界,让角色、场景与故事始终连贯。"}},"featured":{"title":"更多体验","description":"探索更多世界、角色、故事与交互体验。","ctaTitle":"寻找你的下一段体验","ctaDescription":"前往画廊,浏览更多实时体验、角色与故事世界。","ctaButton":"前往画廊"},"footer":{"brand":"PixVerse World","social":{"x":"在 X 上关注 PixVerse","instagram":"在 Instagram 上关注 PixVerse","youtube":"在 YouTube 上关注 PixVerse","linkedin":"在 LinkedIn 上关注 PixVerse","discord":"加入 PixVerse Discord"},"sections":{"explore":{"title":"探索","pixverse":"PixVerse","pixverseGame":"PixVerse Game"},"resources":{"title":"资源","techReport":"技术报告"},"support":{"title":"支持","officialEmail":"R 系列官方邮箱","feedback":"分享你的反馈"}}}},"global":{"operate":{"cancel":"取消","confirm":"确定"},"common":{"loading":"正在加载…","close":"关闭","more":"更多","less":"更少","backToDiscover":"返回发现","scrollToTop":"滚动到顶部","user":"用户","sendFailed":"发送失败,请重试。"}},"worldPlay":{"back":"返回","inspire":"获取灵感","toggleVolume":"切换音量","soundSettings":"声音设置","soundEffects":"音效和人声","backgroundMusic":"背景音乐","copyPrompt":"复制提示词","copiedPrompt":"已复制提示词","landscapePrompt":{"title":"请使用横屏体验","description":"为了获得更好的操控体验,请允许全屏并切换到横屏。","confirm":"继续"},"status":{"connectingWs":"正在连接实时服务...","preparingRole":"正在准备视频身份...","joiningRtc":"正在加入视频频道...","startingWorld":"正在启动世界...","waitingStream":"正在等待视频流...","subscribingStream":"正在订阅视频流..."},"exit":{"title":"离开当前会话?","description":"离开后将结束当前实时生成会话。","cancel":"继续生成","confirm":"离开"},"error":{"invalidWorld":"无效世界","defaultTitle":"错误","loadWorldFailed":"世界加载失败","loadReservationFailed":"预约加载失败","loadPresetFailed":"预设加载失败","noReservation":"未找到预约","backToGallery":"返回世界长廊","inQueue":"您已在队列中,请稍后再试。","inSession":"您已在探索中,请先结束当前探索。","sessionEnded":"本次探索已结束,请重新开始。","sessionExpired":"本次探索已过期,请重新开始。","tryAgainLater":"发生错误,请稍后再试。","tooManyConnections":"连接数过多,请稍后再试。","sendingTooFrequently":"发送过于频繁,请稍后再试。"},"controls":{"space":"空间","moveJoystick":"移动摇杆","cameraJoystick":"相机摇杆","moveForward":"向前移动","moveLeft":"向左移动","moveBackward":"向后移动","moveRight":"向右移动","jump":"跳跃","lookUp":"向上看","lookDown":"向下看","lookLeft":"向左看","lookRight":"向右看"}}}'),
n = JSON.parse('{"navigation":{"create":"Create","gallery":"Gallery","mine":"Mine","externalLinks":{"api":"Get Access to API of PixVerse R1","pixverse":"More At PixVerse","techReport":"Read Tech Report","welcome":"Visit Welcome Page"}},"components":{"virtualHuman":{"questionTitle":"Your Question","topicDescription":"Choose the question you want to explore. Your selection will shape the reading.","topicCardCount":"Draw {{count}} card(s)","zodiacTitle":"Choose your zodiac sign","zodiacDescription":"Your zodiac sign will guide this part of the reading.","confirmSelection":"Confirm selection","cardTitle":"Choose your tarot cards","manualCardDescription":"Swipe through the deck and tap one card at a time. Choose {{count}} in total.","dragDeckHint":"Drag to browse the deck","previousCard":"View previous cards","nextCard":"View next cards","redraw":"Draw again","startReading":"Start reading","safeSpace":"This is a safe space. Trust the process.","finishDrawing":"Please finish drawing your cards first.","configChanged":"The virtual reader configuration changed. Please choose and draw again.","queueTitle":"Preparing your private reading","queueLockedDescription":"Your question and cards are ready. Keep this page open while we prepare the room.","selectedTopic":"Selected question","queueStartsWithin":"Your turn will start within {{time}}","queuePosition":"Queue position: {{position}}","cancelQueue":"Leave queue","liveTitle":"Tarot Reading","selectedCards":"Selected cards","selectedCardsCount":"{{count}} cards selected","reading":"Reading","initialReading":"Your tarot interpretation","qaTitle":"Q&A Record","yourQuestion":"Your question","readerAnswer":"Reader","readingFailed":"The reading failed. Please try again.","interpreting":"Interpreting…","initialInterpreting":"Preserve calm, the answer is emerging.....","readingQuote":"“You ask about the cards, but the answer you actually already know—You just want a form of approval.”","listening":"Listening...","followUpPlaceholder":"Ask a follow-up question…","sendFollowUp":"Send question","openKeyboardInput":"Open keyboard input","closeKeyboardInput":"Close keyboard input","voiceInput":"Voice input","voiceInputHint":"Use the keyboard button to type instead","keyboardInputHint":"Press Enter to send, Esc to collapse","zodiacSigns":{"aries":"Aries","taurus":"Taurus","gemini":"Gemini","cancer":"Cancer","leo":"Leo","virgo":"Virgo","libra":"Libra","scorpio":"Scorpio","sagittarius":"Sagittarius","capricorn":"Capricorn","aquarius":"Aquarius","pisces":"Pisces"}},"discover":{"joinLive":"Join Live","viewWorld":"View This World","play":"Play","rewardClaimed":"reward claimed","claimReward":"Claim Reward","inviteProgress":"Invite Progress","loadingInviteInformation":"Loading invite information...","retry":"Retry","shareMagic":"Share the magic of PixVerse R1. Invite {{count}} friends to unlock exclusive rewards.","rewardUnlocked":"Reward Unlocked!","yourExclusiveCode":"Your Exclusive Code","credits":"credits","worldItemDetail":{"exploreWorld":"Explore","failedToLoadContent":"Failed to load content","retry":"Retry","share":"Share","download":"Download","shareYourThoughts":"Share your thoughts here","send":"Comment","comments":"Comments","more":"More","shareSuccess":"Copy Successful","downloadSuccess":"Download Successful","emptyComments":"No comments yet","queueStartsIn":"Your turn will start within {{time}}","noExploration":"No Exploration","muteVideo":"Mute video","unmuteVideo":"Unmute video","previousVideo":"Previous video","nextVideo":"Next video","goToVideo":"Go to video {{index}}","loadCommentsFailed":"Failed to load comments.","sendCommentFailed":"Failed to send comment.","suggestedItemAlt":"Suggested World {{index}}"},"worldStatsMeta":{"exploreTimes":"{{count}} explorations","plays":"{{count}} plays","views":"{{count}} views"},"worldCard":{"untitled":"Untitled","noDescription":"No description","live":"Live","usersPlayingTogether":"users are playing together","connectingToLiveStream":"Connecting to live stream...","connectionProgress":"Connection progress","connectionExceptionRetrying":"Connection exception. Retrying…","sessionBlocked":"Session Blocked!","blockedDescription":"Will be right back! Please wait.","sessionError":"Session Error!","errorDescription":"Please try again later.","sessionEnd":"Live Stream Ended","endedDescriptionLine1":"This live stream has ended.","endedDescriptionLine2":"Back to World Gallery to View More"},"worldLiveDetail":{"back":"Back","promptPlaceholder":"Describe what happens next…","create":"Create","chatTitle":"Live chat","openChat":"Open chat panel","emptyChat":"No interactions yet. Be the first to comment!","chatHint":"Join the conversation to interact with others watching this live stream","chatPlaceholder":"Say something…","sendChat":"Send message","chatNewMessages":"{{count}} new messages","chatYouSuffix":" (You)","chatUserJoined":"@{{name}}{{self}} has joined the room","viewerPromptBanner1":"Your input is visible to everyone in the live room","viewerPromptBanner2":"Any user\'s input may be selected to happen","emojiComboLabel":"Emoji reactions","emojiPickerLabel":"Emoji picker","emojiPickerOpen":"Open emoji picker","emojiPickerClose":"Close emoji picker","collapseChatInput":"Collapse chat panel","expandChatInput":"Expand chat panel","emojiPickerComboHint":"Tap an emoji quickly to send a combo reaction","emojiPickerComboHintClose":"Dismiss combo hint","emojiPickerRecent":"Recently used","emojiPickerDefault":"Default emojis","users":"users","picked":"Picked"},"discoverPage":{"failedToLoadContent":"Failed to load content","retry":"Retry","failedToLoadMoreContent":"Failed to load more content"}},"liveShare":{"live":"LIVE","share":"Share live","shareHighlightTitle":"Share this highlight","worldCupShareHighlightTitle":"Share World Cup cheer video","worldCupShareIconLabel":"Share","worldCupShareGuideInfo":"World Cup rewards","worldCupShareGuideRulesLabel":"Rules","worldCupShareGuideClose":"Close World Cup rewards","worldCupShareGuideTitle":"Share & Earn","worldCupShareGuideDescription":"Lucky winners get up to 1,000,000 bonus credits.","worldCupShareGuideStep1Title":"Share on Social Media","worldCupShareGuideStep1Description":"Post your video","worldCupShareGuideStep2Title":"HashTag us","worldCupShareGuideStep2Description":"#pixverselive & @PixVerse on Social media","worldCupShareGuideStep3Title":"Join the Lucky Draw","worldCupShareGuideStep3Description":"Details here","worldCupShareGuideCta":"Share Now","worldCupShareGuideFootnote":"*Credits are redeemable exclusively for services on our platform and are non-transferable, non-exchangeable for cash.","worldCupLeaderboardTitle":"World Cup Support Ranking","worldCupLeaderboardToday":"Today","worldCupLeaderboardAllTime":"All-time","worldCupLeaderboardHeat":"Heat : {{score}}","worldCupLeaderboardSupport":"Support","worldCupLeaderboardMissingSupportInfo":"Required support info is missing. Please try again later.","worldCupLeaderboardOpen":"Open World Cup support ranking","worldCupLeaderboardClose":"Close World Cup support ranking","worldCupLeaderboardCollapse":"Collapse World Cup support ranking","worldCupLeaderboardEmpty":"No support ranking yet. Be the first to cheer for your team.","closeShareHighlight":"Close share highlight","roomTitle":"Mia\'s Try-On Live","queuedNow":"Queued Now","waiting":"Waiting","sharePreviewHeadline":"Look what I dressed her in","shareTo":"Share to","copyLink":"Copy link","joinLiveRoom":"Join Live Room","backToGallery":"Back To Gallery","replay":"Replay","retry":"Retry","loadingHighlight":"Loading highlight...","missingHighlightTitle":"Highlight information is missing","missingHighlightDescription":"This link is missing a highlight ID. Open sharing from the live room again.","emptyHighlightTitle":"Highlight unavailable","emptyHighlightDescription":"This highlight has no playable content yet.","businessErrorTitle":"Failed to load highlight","businessErrorDescription":"The request could not be completed. Please try again later.","networkErrorTitle":"Network error","networkErrorDescription":"Please check your connection and try again.","statsText":"{{viewed}} viewed \xb7 {{created}} created","onlineStats":"{{onlineCount}} online","previousHighlight":"Previous highlight","nextHighlight":"Next highlight","sharePlatformInstagram":"Instagram","sharePlatformTiktok":"Tiktok","sharePlatformX":"X","sharePlatformFacebook":"Facebook","shareCopyTemplate1":"I picked the outfit. The AI streamer actually wore it live.","shareCopyTemplate2":"Pick an outfit and watch the AI streamer transform in real time.","shareCopyTemplate3":"This live room changes based on what viewers choose.","shareCopyTemplate4":"I just dressed an AI streamer. Your turn.","shareCopyTemplate5":"Choose the outfit. Watch the streamer bring it to life.","shareCopyTemplate6":"The AI streamer is taking outfit challenges. What should she wear next?","shareCopyTemplate7":"I made the AI streamer wear this. Try yours.","shareCopyTemplate8":"Viewers choose the look. The streamer makes it real.","worldCupShareCopyTemplate1":"I made an AI cheer video for {{country}}. Come support your team.","worldCupShareCopyTemplate2":"Pick your country and generate a World Cup cheer video.","worldCupShareCopyTemplate3":"{{country}} is climbing the support ranking. Help push it higher.","worldCupShareCopyTemplate4":"I just generated a World Cup cheer video for {{country}}. Where does your team rank?","worldCupShareCopyTemplate5":"Choose your country, create a cheer video, and join the ranking battle.","worldCupShareCopyTemplate6":"Support {{country}} with your own AI football cheer video.","worldCupShareCopyTemplate7":"Your team needs you. Pick a jersey and boost its ranking.","worldCupShareCopyTemplate8":"I made an AI football cheer video for {{country}}. Share yours for a chance to win.","worldCupShareCopyTemplate9":"The World Cup support battle is live. Which country are you backing?","worldCupShareCopyTemplate10":"Pick a country. Generate a cheer video. Rally your team.","vs":"VS","original":"Original","tryOn":"Try-On ✦","userPicked":"User Picked","applyingOutfit":"Applying outfit...","chat":"Live chat","viewed":"{{value}} viewed","created":"{{count}} created","nowActive":"Now Active"},"avatarExploreDialog":{"title":"Pick an avatar as your explorer in this world","skip":"Skip","confirm":"Confirm","close":"Close","prev":"Previous","next":"Next"},"historyItem":{"download":"Download","feedback":"Feedback","publishSuccess":"Publish successful","publishFailed":"Publish failed","unpublishSuccess":"Private successful","unpublishFailed":"Private failed","updateSuccess":"Update successful","unpublishConfirmTitle":"Set this World to private?","unpublishConfirmMessage":"Set this World to private. Other users will no longer be able to explore it.","unpublishConfirmText":"Private","cancelText":"Cancel","unpublish":"Private","publish":"Publish","noContentLine1":"No Title & Description yet.","noContentLine2":"Click Edit to add and get more exposure.","edit":"Edit","updateFailed":"Failed to update World.","privateTooltip":"Set this World to private","publishTooltip":"Publish to World Gallery so more users can explore this World.","explorationPrivateTooltip":"Set this World Exploration to private","explorationPublishTooltip":"Publish this World Exploration","explorationPrivateTitle":"Set this World Exploration to private?","explorationPrivateMessage":"Other users will no longer be able to view this World Exploration.","status":{"failed":"FAILED","generating":"GENERATING"}},"GenerateConfig":{"leftSession":"{{time}} left in your session","imageFormatError":"Please upload an image in JPG, PNG or WebP format.","imageTooLarge":"Image size cannot exceed 5M. Please upload an image smaller than 5M.","imageUploadError":"Failed to upload image. Please try again.","imageUploadTimeout":"Image upload timed out. Please check your network and try again.","imageAuditRejected":"The WORLD SETTING image you entered contains improper information. Please modify and try again.","imageAuditServiceUnavailable":"Image could not be processed right now. Please try again later or upload another image.","largeImageUploadNotice":"Your image is large, so uploading may take a while."},"SessionTimeout":{"title":"Creation Expired","description":"Your Creation time is up. Start a new Creation from Create World.","rejoinQueue":"Go to World Gallery"},"RealtimeVideo":{"promptPlaceholder":"What would you like to happen next...","connectingInputHint":"Connecting to your world. You can send messages once it is ready.","sendPrompt":"Send","messagePrefix":"Me: ","dialogueMessagePrefix":"Host: ","pressEnterHint":"Press Enter to send, Shift+Enter for new line","promptSendFailed":"Failed to send prompt. Please try again.","generationStartFailed":"Failed to start generation","realtimeDialogue":{"publishing":"Enabling microphone...","starting":"Starting live transcription...","ready":"Live speech is ready. Start speaking.","processing":"Speech received. Processing...","error":"Live speech failed to start","muted":"Microphone is off","microphonePermissionRequired":"Microphone access is off. Click to request access.","microphonePermissionDenied":"Microphone access was denied. Allow it in your browser settings and try again.","turnOffMicrophone":"Turn off microphone","turnOnMicrophone":"Turn on microphone","endCall":"Hang up and end explore","switchToText":"Switch to text input","switchToCall":"Switch to voice call"},"loading":{"creating":"Preparing your world..."},"error":{"connectionFailed":"Connection failed","defaultMessage":"Please check your network and try again","retry":"Retry"},"history":{"title":"Action History","expand":"Show more","collapse":"Show less","empty":"No prompt history yet"},"auditRejected":"The prompt you entered contain improper information. Please modify and try again.","branchChoice":{"countdown":"Auto-continue in {{seconds}}s","autoSelecting":"Continuing the main storyline...","send":"Send","exit":"Exit"},"dialogue":{"remaining":"{{seconds}}s left","inputPlaceholder":"Say something…","connecting":"Connecting…","send":"Send","exit":"Exit","switchToVoice":"Switch to voice","switchToKeyboard":"Switch to keyboard","micStarting":"Starting microphone…","listening":"Listening…","speaking":"Speaking…","recognizing":"Recognizing…"},"game":{"remaining":"{{seconds}}s left","exit":"Exit","moveHint":"WASD to move \xb7 Space to jump \xb7 arrows to look"},"modifyPromptToContinue":"Modify Prompt to continue","qte":{"readyKicker":"Ready","swipeKicker":"Slide","tapTargetLabel":"Tap target {{current}}/{{total}}","handleLabel":"Drag along the track; arrow keys also work","tapKickerSingle":"Tap","tapKickerChain":"Combo","tapTargetLabelChain":"Combo target"},"imageNotUploaded":"Image upload failed. Please go back and upload the image again.","exitDialog":{"title":"Leave Session?","description":"This will stop your session and save it to your worlds. You\'ll need to rejoin the queue to experience it again.","stay":"Stay","leave":"Leave"},"controls":{"muteSoundEffects":"Mute sound effects","unmuteSoundEffects":"Unmute sound effects","enableBgm":"Enable background music","disableBgm":"Disable background music"}},"VoiceInput":{"recognitionFailed":"Recognition failed, please try again","microphoneAccessDenied":"Cannot access microphone, please check permission settings","recordingTitle":"Recording {{time}} - Release to stop","holdToSpeak":"Hold to speak"},"live":{"emptyTitle":"Unable to join live","emptyDescription":"This link is missing live information. Open a live stream from the gallery to continue.","backToGallery":"Back to World Gallery","errorTitle":"Failed to load live","errorDescription":"Something went wrong while loading the live stream. Please try again.","retry":"Retry","loginRequiredTitle":"Log in to watch live","loginRequiredDescription":"You need to be logged in to join this live stream. Redirecting to login…","embedWaiting":"Waiting for authorization","embedAuthFailed":"Authorization failed or expired. Please retry the page.","audioPromptTitle":"Play live audio?","audioPromptDescription":"Your browser blocked automatic audio playback. Keep watching muted, or turn on sound now.","audioPromptCancel":"Keep muted","audioPromptConfirm":"Play sound"},"notices":{"freeAccess":{"title":"Limited Free Notice","loginDescription":"PixVerse R1 Free Access is now available for a limited time. Log in to claim it now.","login":"Log In Now","successDescription":"You now have free access to PixVerse R1. Enjoy your real-time generation journey.","gotIt":"Got It"},"avatar":{"title":"Avatar creation is now available","description":"Create your first Avatar here or from Mine > Avatars.","tryNow":"Try Now"}},"worldEditForm":{"editTitle":"Edit Your World","publishTitle":"Publish My World","saveChanges":"Save Changes","saveAndExplore":"Save Changes & Explore","fields":{"title":"Title","titlePlaceholder":"Add a title to get more exposure.","description":"Description","descriptionPlaceholder":"Add a description to attract more users to explore this World.","aspectRatio":"Aspect Ratio","style":"Style","worldSetting":"World Setting","clearImage":"Clear image","worldSettingPlaceholder":"Describe the World you want to create"}}},"pages":{"end":{"title":"Thank You for Experiencing!","subtitle":"Your live session has finished. Appreciate your feelings and suggestions which will bring us higher!","viewHistory":"View My Worlds","exploreAgain":"Explore Again","backToDiscover":"Back to World Gallery","shareFeedback":"Share Your Feedback","visitPixVerse":"Visit PixVerse for More","firstFrameAlt":"First Frame","postExplorationToGallery":"Publish World Exploration","postExplorationToGalleryTooltip":"Post to World Gallery. Allow the replay video of this World Exploration to be viewed by more users."},"home":{"startLiveGeneration":"Start Live Generation","worldGallery":"View World Gallery"},"generate":{"leaveQueueDialog":{"title":"Leave Queue?","description":"You\'ll lose your spot and have to rejoin.","queueLeaveHint":"Squeeze grip button to leave queue","clickTriggerToLeave":"Click trigger to Leave","squeezeGripAgainToStay":"Squeeze grip button again to Stay"},"vrWatchExitDialog":{"title":"Leave Session?","description":"Click trigger to Leave","description2":"Squeeze grip button again to Stay","continue":"Continue","exit":"Exit"},"vrSessionEndingCountdown":"Your session will end in a few seconds.","vrStreamingHint":{"line1":"Hold trigger anytime to say what you want to see","line2":"Squeeze grip button to leave session"},"queueFullDialog":{"title":"Queue Full","description":"The queue is temporarily full. Please try again in a few minutes.","gotIt":"Got it"},"hero":{"title":"Create World","subtitle":"Build the world you wish to explore via text or visuals. Diverse modes are tailored for all your interaction needs. "},"r2Release":{"label":"R2 MODEL","titleLine1":"The next-generation","titleLine2":"world model","comingSoon":"Coming soon, stay tuned","closeAria":"Close R2 release notice"},"form":{"worldThemePlaceholder":"World Theme Typing...","worldThemePlaceholders":{"wander":"Describe the World you wish to Wander","miniGame":"Describe the scene and gameplay for your interactive mini-game","story":"Describe your settings for endless captivating stories"},"inspiration":"Inspiration","unsavedLeaveTitle":"Leave page?","unsavedLeaveContent":"You will lose your unsaved changes.","leave":"Leave","stay":"Stay","clearUploadedImageAria":"Clear uploaded image","loginOverlayAria":"Log in to create a world","createWorldAria":"Create world","createWorldTooltip":"Save & Explore This World","uploadTooltip":"Upload an image to help visualize the world you want."},"status":{"creating":"Creating your world, this may take a few seconds","queuePosition":"(Position: {{position}})","leaveQueue":"Leave queue"},"controls":{"aspectRatio":"Aspect Ratio","styleChip":"Mode","visualStyle":"Mode"}},"history":{"avatars":{"emptyCta":"Click to create your first Avatar","goCreate":"Go Create","createNew":"Create New Avatar","edit":"Edit","delete":"Delete","discardUnsavedTitle":"Discard changes?","discardUnsavedMessage":"You have unsaved changes. If you leave now, they will be lost.","discardConfirm":"Leave","discardCancel":"Stay","deleteConfirmTitle":"Delete this avatar?","deleteConfirmMessage":"This action cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleteSuccess":"Avatar deleted","deleteFailed":"Failed to delete avatar","avatarNamePlaceholder":"You may use this name to locate this avatar when needed.","selectStyle":"Avatar Style","saveSuccess":"Avatar Saved! You can use it in any world you explore.","generatingAvatarPreview":"Generating Avatar Preview.\\nIt may take a few minutes. Please wait.","generatePreviewHint":"Upload a reference image, then click <bold>Generate Preview</bold>","styles":{"realistic":"Realistic","anime":"Anime","cyberpunk":"Cyberpunk"},"errors":{"noImage":"No image to generate from.","generateFailed":"Failed to generate preview.","generateTimeout":"Generation timed out. Please try again.","nameRequired":"Please enter a name.","createFailed":"Failed to create avatar.","updateFailed":"Failed to update avatar.","saveFailed":"Failed to save avatar. Please try again."}},"tabs":{"worlds":"Worlds","explorations":"Explorations","avatars":"Avatars"},"common":{"createWorld":"Create World Now","backToGallery":"Back to World Gallery","loadFailed":"Failed to load history.","end":"You\'ve reached the end"},"worlds":{"empty":"No Worlds found. Start creating now."},"explorations":{"empty":"No Explorations found. Start exploring now."}},"exploration":{"leaveQueueTitle":"Leave queue","leaveQueueDescription":"You\'ll lose your spot and have to rejoin.","leaveQueueConfirmText":"Leave","leaveQueueCancelText":"Stay","startNew":{"title":"Start a new Exploration?","activeDescription":"You are currently in an Exploration. Close it and start a new one? You may need to queue again.","queuedDescription":"You are currently waiting in an Exploration queue. Leave this queue and join a new one?","confirm":"Start New Exploration"}},"invitationCode":{"title":"Welcome to PixVerse R1","description":"Experience interactive worlds in real-time. Available by invite while we scale.","descriptionSuccess":"Invitation code verified successfully!","inviteCode":"Invite Code","placeholder":"Enter invitation code","unlockAccess":"Unlock Access","unlocking":"Unlocking...","backToDiscover":"Back to World Gallery","redirecting":"Redirecting...","dontHaveCode":"Don\'t have a code?","joinWaitlist":"Join the waitlist","goSubscribe":"Go Subscribe & Get Early Access","pleaseEnterCode":"Please enter an invitation code","failedToBind":"Failed to bind invitation code, please try again later","codeNotExist":"Invitation code does not exist, please check and try again","codeUsedOrInvalid":"Invitation code has been used or is invalid","codeExpired":"Invitation code has expired","alreadyRegistered":"You have already completed registration, no need to enter invitation code again"},"userNotInWhiteList":{"activeUserTitle":"Custom Theme: One More Step","activeUserContent1":"You already have access to Preset Real-time Worlds.","activeUserContent2":"Custom Themes offer full control and are available to a smaller group for now.","inactiveUserTitle":"Build Your Own World","inactiveUserContent":"Custom Themes are in early access.We\'re opening them gradually to creators and developers.","requestEarlyAccess":"Request Early Access","backToDiscover":"Back to World Gallery"},"toast":{"dailyReservationLimitExceeded":"Daily reservation limit exceeded.","failedToCreateReservation":"Failed to create reservation","sendOnceWorldReady":"Send it once your world is ready .","claiming":"claiming...","rewardClaimedSuccessfully":"Reward claimed successfully","failedToClaimReward":"Failed to claim reward","chooseProblemFirst":"Choose one problem that you want us to solve first.","thankYouForFeedback":"Thank you for your feedback!","failedToSubmitFeedback":"Failed to submit feedback. Please try again.","didntHearAnything":"I didn\'t hear anything","noTaskFound":"No task found, please try again later","failedToLoadInviteInformation":"Failed to load invite information","loginNotCompleted":"Login was not completed. Please try again."},"survey":{"chooseProblemLabel":"Choose one problem that you want us to solve first.","roleLabel":"What is your primary role or interest in using PixVerse R1?","suggestionsLabel":"Leave your suggestions or encouragements","suggestionsPlaceholder":"Type in, Not required","submitting":"Submitting...","submit":"Submit","rateStar":"Rate {{count}} star","rateStars":"Rate {{count}} stars","reasons":{"screenLagging":"The screen is lagging.","lowVideoQuality":"Low video quality.","sessionTakesTooLong":"The session takes too long to start.","noResponse":"No response or incorrect response to my prompt.","slowResponse":"Slow response to my prompt.","poorConsistency":"Poor consistency of characters or scenes which is uncontrollable.","uncontrollableStyle":"The style of the picture is uncontrollable.","plotTooRapid":"The development of the plot is too rapidly that I can\'t catch it with my prompt.","plotNotWanted":"The development of the plot is not what I wanted.","otherReasons":"Other reasons."},"roles":{"gameDesigner":"Game Designer/Developer","student":"Student/Researcher","contentCreator":"Content Creator","investor":"Investor","developer":"Developer/Builder","media":"Media","others":"Others"},"modalTitle":"Feedback","modalDescription":"Share your thoughts and suggestions about this video to help us improve."},"auditFailed":{"title":"Please check your prompt and try a new session!","description":"The prompt you entered contains improper information. Please modify it and try again.","backToGallery":"Back to World Gallery"},"errorPage":{"updating":"Updating to the latest version…","newVersionTitle":"New version available","title":"Something went wrong","newVersionDescription":"The application has been updated. Please refresh to load the latest version.","description":"An unexpected error occurred. Please try again or return to the home page.","refresh":"Refresh","retry":"Try Again","home":"Home"},"notFound":{"title":"Page Not Found","description":"The page you are looking for does not exist or has been moved.","backToGallery":"Back to World Gallery"},"gallery":{"all":"All","scrollHint":"Scroll down to browse more Worlds in Gallery."}},"api":{"liveErrors":{"TOO_MANY_REQUESTS":"Too many requests. Please slow down and try again.","LIVE_SESSION_NOT_FOUND":"Live room does not exist or is not broadcasting.","LIVE_MISSING_AGORA_UID":"Missing agora_uid for join/leave.","LIVE_ALREADY_JOINED":"You are already in the live room (duplicate join).","LIVE_USER_NOT_IN_ROOM":"You are not in the live room (when leaving).","LIVE_AGORA_UID_MISMATCH":"agora_uid does not match the current user.","LIVE_EMPTY_CONTENT":"prompt/chat message content is empty.","LIVE_CONTENT_REJECTED":"The content you entered contains inappropriate information. Please revise and try again.","LIVE_INVALID_MSG_TYPE":"Invalid message type .","LIVE_OUTFIT_USER_BUSY":"You already have an outfit request in the queue. Please wait for it to finish.","LIVE_OUTFIT_QUEUE_FULL":"The outfit queue is full. Please try again in a moment.","LIVE_OUTFIT_INVALID_COMMAND":"This outfit request is invalid. Please try again.","LIVE_AUDIT_UNAVAILABLE":"Content moderation is temporarily unavailable. Please try again in a moment."}},"home":{"nav":{"home":"PixVerse World home","navigation":"Primary navigation","experience":"Experience","technology":"Technology","stories":"Stories","characters":"Characters","featured":"More","cta":"Explore Gallery","language":"Language","selectLanguage":"Select language"},"hero":{"titleLine1":"Step Into Worlds","titleLine2":"You Can Shape","description":"Powered by PixVerse R2, explore live experiences where characters, scenes, and stories respond in real time.","play":"Play Now"},"second":{"sectionTitle":"Advancing Interactive World Models","description":"PixVerse brings multimodal understanding, long-horizon context modeling, and responsive audiovisual generation into a unified world model. It interprets each interaction, maintains a coherent world state, and continuously generates what happens next.","learnMore":"Learn More"},"experience":{"title":"Worlds That Keep Unfolding","description":"From character-driven moments to evolving interactive worlds, choose an experience and step inside.","character":{"title":"Lifelike Characters","description":"Create memorable characters with expressive personalities and lifelike presence for story-driven experiences."},"cinematic":{"title":"Evolving Worlds","description":"Shape evolving worlds through real-time interaction, with coherent characters, scenes, and stories."}},"featured":{"title":"More Experiences","description":"Discover more worlds, characters, stories, and interactive experiences.","ctaTitle":"Find Your Next Experience","ctaDescription":"Browse more live experiences, characters, and story worlds in the gallery.","ctaButton":"Go to Gallery"},"footer":{"brand":"PixVerse World","social":{"x":"Follow PixVerse on X","instagram":"Follow PixVerse on Instagram","youtube":"Follow PixVerse on YouTube","linkedin":"Follow PixVerse on LinkedIn","discord":"Join PixVerse on Discord"},"sections":{"explore":{"title":"Explore","pixverse":"PixVerse","pixverseGame":"PixVerse Game"},"resources":{"title":"Resources","techReport":"Tech Report"},"support":{"title":"Support","officialEmail":"R Series Official Email","feedback":"Share Your Feedback"}}}},"global":{"operate":{"cancel":"Cancel","confirm":"Confirm"},"common":{"loading":"Loading…","close":"Close","more":"More","less":"Less","backToDiscover":"Back to Discover","scrollToTop":"Scroll to top","user":"User","sendFailed":"Send failed. Please try again."}},"worldPlay":{"back":"Back","inspire":"Voice Input","toggleVolume":"Toggle volume","soundSettings":"Sound settings","soundEffects":"Sound Effects & Vocals","backgroundMusic":"Background Music","copyPrompt":"Copy prompt","copiedPrompt":"Prompt copied","landscapePrompt":{"title":"Use landscape mode","description":"For the best control experience, allow fullscreen and switch to landscape.","confirm":"Continue"},"status":{"connectingWs":"Connecting realtime service...","preparingRole":"Preparing video role...","joiningRtc":"Joining video channel...","startingWorld":"Starting your world...","waitingStream":"Waiting for video stream...","subscribingStream":"Subscribing video stream..."},"exit":{"title":"Leave this session?","description":"Leaving will end the current realtime generation session.","cancel":"Stay","confirm":"Leave"},"error":{"invalidWorld":"Invalid World","defaultTitle":"Error","loadWorldFailed":"Failed to load World","loadReservationFailed":"Failed to load Reservation","loadPresetFailed":"Failed to load Preset","noReservation":"No Reservation Found","backToGallery":"Back To World Gallery","inQueue":"You are already in queue. Please wait for a moment.","inSession":"You are already in session. Please end the current session first.","sessionEnded":"Your session has ended. Please start a new session.","sessionExpired":"Your session has expired. Please start a new session.","tryAgainLater":"Error occurred. Please try again later.","tooManyConnections":"Too many connections. Please wait and try again.","sendingTooFrequently":"Sending too frequently. Please try again later."},"controls":{"space":"Space","moveJoystick":"Move joystick","cameraJoystick":"Camera joystick","moveForward":"Move forward","moveLeft":"Move left","moveBackward":"Move backward","moveRight":"Move right","jump":"Jump","lookUp":"Look up","lookDown":"Look down","lookLeft":"Look left","lookRight":"Look right"}}}');
var l = t(45413),
s = t(21912);
r.Ay.use(i.r9).init({
resources: l.Q ? {
cn: {
translation: a
}
} : {
en: {
translation: n
}
},
lng: l.Q ? "cn" : "en",
supportedLngs: l.Q ? ["cn"] : [...s.Hg],
fallbackLng: l.Q ? "cn" : "en",
interpolation: {
escapeValue: !1
}
});
let d = r.Ay
},
45413: (e, o, t) => {
t.d(o, {
Q: () => i
});
let i = !1
},
51529: (e, o, t) => {
t.d(o, {
cn: () => n,
s: () => l
});
var i = t(88355),
r = t(84289),
a = t(45413);
function n() {
for (var e = arguments.length, o = Array(e), t = 0; t < e; t++) o[t] = arguments[t];
return (0, r.QP)((0, i.$)(o))
}
function l(e, o) {
if (!e) return "Unknown date";
try {
let t = new Date(e);
if (isNaN(t.getTime())) return "Invalid date";
let i = a.Q ? "zh-CN" : "en-US",
r = {
year: "numeric",
month: a.Q ? "long" : "short",
day: "numeric",
hour: "2-digit",
minute: "2-digit",
timeZone: void 0,
...o
};
return t.toLocaleString(i, r)
} catch (e) {
return "Invalid date"
}
}
},
66170: (e, o, t) => {
t.d(o, {
$: () => d
});
var i = t(25771),
r = t(87163),
a = t(77341),
n = t(96187),
l = t(51529);
let s = (0, n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-all duration-200 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", {
variants: {
variant: {
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
gradient: "bg-gradient text-white hover:opacity-90"
},
size: {
default: "h-9 px-4 py-2",
sm: "h-8 rounded-md px-3 text-xs",
lg: "h-10 rounded-md px-8",
icon: "h-9 w-9"
}
},
defaultVariants: {
variant: "default",
size: "default"
}
}),
d = r.forwardRef((e, o) => {
let {
className: t,
variant: r,
size: n,
asChild: d = !1,
...c
} = e, u = d ? a.DX : "button";
return (0, i.jsx)(u, {
className: (0, l.cn)(s({
variant: r,
size: n,
className: t
})),
ref: o,
...c
})
});
d.displayName = "Button"
},
71146: (e, o, t) => {
t.d(o, {
N: () => p,
h6: () => u,
iw: () => c,
jL: () => m,
wR: () => h
});
var i = t(39270),
r = t(38557),
a = t(19570),
n = t(34587),
l = t(43289);
let s = !1,
d = null;
function c() {
return "/not-available"
}
function u() {
return s
}
function p(e) {
s = e
}
function h() {
return (0, r.P5)() ? !!(0, r.rO)() : !!(0, a.c4)()
}
async function g(e) {
let o = (0, n.fx)(),
t = (0, n.Ow)(),
r = window.location.pathname + window.location.search;
if (window.location.origin === t) {
let i = "".concat(t).concat(e || r),
a = "".concat(o, "?redirectUrl=").concat(encodeURIComponent(i));
window.location.href = a;
return
}
if ("authenticated" !== (await v()).status) return void i.o.error(l.A.t("pages.toast.loginNotCompleted"));
let a = "".concat(window.location.origin).concat(e || r);
if (e) {
window.location.href = a;
return
}
window.location.reload()
}
async function m(e) {
if (!(0, r.P5)()) {
if ((0, n.TC)()) return g();
try {
var o, t;
if ((null == (t = window) || null == (o = t.__REQUEST_HEADERS__) ? void 0 : o.IP) === "CN") {
let e = c();
window.location.href = e;
return
}
} catch (e) {}
return g(e)
}
}
let v = () => new Promise(e => {
let o = (() => {
let e = (0, n.mX)();
if (!e) return null;
try {
let o = new URL(e, window.location.href);
return o.searchParams.set("clientOrigin", window.location.origin), o
} catch (e) {
return null
}
})();
if (!o) return void e({
status: "failed",
reason: "invalid_bridge_url"
});
let t = o.origin,
i = null,
r = o => {
window.removeEventListener("message", l), window.clearTimeout(s), null !== i && window.clearInterval(i), (null == d ? void 0 : d.closed) && (d = null), e(o)
},
l = e => {
if (e.origin !== t || e.source !== d) return;
let o = e.data;
if ((null == o ? void 0 : o.type) === "AUTH_BRIDGE_SUCCESS" && "string" == typeof o.token) {
var i;
i = o.token, (0, a.TV)(a.eu.AUTH_TOKEN, i, {
path: "/",
maxAge: 2592e3,
sameSite: "Lax",
secure: "https:" === window.location.protocol
}), r({
status: "authenticated",
token: o.token
});
return
}(null == o ? void 0 : o.type) === "AUTH_BRIDGE_UNAUTHENTICATED" && r({
status: "unauthenticated"
})
},
s = window.setTimeout(() => {
r({
status: "failed",
reason: "timeout"
})
}, 18e4);
if (window.addEventListener("message", l), d && !d.closed ? d.focus() : d = window.open(o.toString(), "_blank"), !d) return void r({
status: "failed",
reason: "popup_blocked"
});
i = window.setInterval(() => {
(null == d ? void 0 : d.closed) && r({
status: "failed",
reason: "popup_closed"
})
}, 500)
})
}
}
]);