@timpel/forumkit-sdk-web 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,7 +76,7 @@ import {
76
76
  uploadInline,
77
77
  voteOnComment,
78
78
  voteOnThread
79
- } from "./chunk-2UVRYLED.js";
79
+ } from "./chunk-HLAHGC4R.js";
80
80
 
81
81
  // src/components/forum-kit.ts
82
82
  import { createElement } from "react";
@@ -86,7 +86,9 @@ import { createRoot } from "react-dom/client";
86
86
  import { createContext as createContext3, useContext as useContext2, useReducer, useCallback, useEffect as useEffect2, useRef as useRef2 } from "react";
87
87
 
88
88
  // src/views/api/search.ts
89
- var API_BASE = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
89
+ function getApiBase() {
90
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
91
+ }
90
92
  function authHeaders2(token) {
91
93
  return token ? { Authorization: `Bearer ${token}` } : {};
92
94
  }
@@ -97,13 +99,13 @@ function buildQuery(q, opts) {
97
99
  return qs.toString();
98
100
  }
99
101
  function searchThreads2(forumId, q, opts, token) {
100
- return searchThreads(API_BASE, forumId, q, opts, token);
102
+ return searchThreads(getApiBase(), forumId, q, opts, token);
101
103
  }
102
104
  function searchUsers2(forumId, q, opts, token) {
103
- return searchUsers(API_BASE, forumId, q, opts, token);
105
+ return searchUsers(getApiBase(), forumId, q, opts, token);
104
106
  }
105
107
  async function searchComments(forumId, q, opts, token) {
106
- const res = await fetch(`${API_BASE}/forums/${forumId}/search/comments?${buildQuery(q, opts)}`, {
108
+ const res = await fetch(`${getApiBase()}/forums/${forumId}/search/comments?${buildQuery(q, opts)}`, {
107
109
  headers: authHeaders2(token)
108
110
  });
109
111
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
@@ -111,18 +113,20 @@ async function searchComments(forumId, q, opts, token) {
111
113
  }
112
114
 
113
115
  // src/views/api/notifications.ts
114
- var API_BASE2 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
116
+ function getApiBase2() {
117
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
118
+ }
115
119
  function listNotifications2(forumId, opts, token) {
116
- return listNotifications(API_BASE2, forumId, opts, token);
120
+ return listNotifications(getApiBase2(), forumId, opts, token);
117
121
  }
118
122
  function markNotificationRead2(forumId, id, token) {
119
- return markNotificationRead(API_BASE2, forumId, id, token);
123
+ return markNotificationRead(getApiBase2(), forumId, id, token);
120
124
  }
121
125
  function markAllNotificationsRead2(forumId, token) {
122
- return markAllNotificationsRead(API_BASE2, forumId, token);
126
+ return markAllNotificationsRead(getApiBase2(), forumId, token);
123
127
  }
124
128
  async function getUnreadCount(forumId, token) {
125
- const res = await fetch(`${API_BASE2}/forums/${forumId}/notifications/unread-count`, {
129
+ const res = await fetch(`${getApiBase2()}/forums/${forumId}/notifications/unread-count`, {
126
130
  headers: authHeaders(token)
127
131
  });
128
132
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
@@ -130,43 +134,45 @@ async function getUnreadCount(forumId, token) {
130
134
  return body.count;
131
135
  }
132
136
  function deleteNotification2(forumId, id, token) {
133
- return deleteNotification(API_BASE2, forumId, id, token);
137
+ return deleteNotification(getApiBase2(), forumId, id, token);
134
138
  }
135
139
 
136
140
  // src/views/api/threads.ts
137
- var API_BASE3 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
141
+ function getApiBase3() {
142
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
143
+ }
138
144
  function authHeaders3(token) {
139
145
  return token ? { Authorization: `Bearer ${token}` } : {};
140
146
  }
141
147
  function listThreads2(forumId, token, params) {
142
- return listThreads(API_BASE3, forumId, token, params);
148
+ return listThreads(getApiBase3(), forumId, token, params);
143
149
  }
144
150
  function saveThread2(forumId, threadId, token) {
145
- return saveThread(API_BASE3, forumId, threadId, token);
151
+ return saveThread(getApiBase3(), forumId, threadId, token);
146
152
  }
147
153
  function unsaveThread2(forumId, threadId, token) {
148
- return unsaveThread(API_BASE3, forumId, threadId, token);
154
+ return unsaveThread(getApiBase3(), forumId, threadId, token);
149
155
  }
150
156
  function reportThread2(forumId, threadId, reason, token) {
151
- return reportThread(API_BASE3, forumId, threadId, reason, token);
157
+ return reportThread(getApiBase3(), forumId, threadId, reason, token);
152
158
  }
153
159
  function getThread2(forumId, threadId, token) {
154
- return getThread(API_BASE3, forumId, threadId, token);
160
+ return getThread(getApiBase3(), forumId, threadId, token);
155
161
  }
156
162
  function createThread2(forumId, body, token) {
157
- return createThread(API_BASE3, forumId, body, token);
163
+ return createThread(getApiBase3(), forumId, body, token);
158
164
  }
159
165
  function updateThread2(forumId, threadId, body, token) {
160
- return updateThread(API_BASE3, forumId, threadId, body, token);
166
+ return updateThread(getApiBase3(), forumId, threadId, body, token);
161
167
  }
162
168
  function deleteThread2(forumId, threadId, token) {
163
- return deleteThread(API_BASE3, forumId, threadId, token);
169
+ return deleteThread(getApiBase3(), forumId, threadId, token);
164
170
  }
165
171
  function shareThreadWithUsers2(forumId, threadId, recipientUserIds, message, token) {
166
- return shareThreadWithUsers(API_BASE3, forumId, threadId, recipientUserIds, message, token);
172
+ return shareThreadWithUsers(getApiBase3(), forumId, threadId, recipientUserIds, message, token);
167
173
  }
168
174
  async function getSimilarThreads(forumId, threadId, token, limit = 5) {
169
- const res = await fetch(`${API_BASE3}/forums/${forumId}/threads/${threadId}/similar?limit=${limit}`, {
175
+ const res = await fetch(`${getApiBase3()}/forums/${forumId}/threads/${threadId}/similar?limit=${limit}`, {
170
176
  method: "GET",
171
177
  headers: { "Content-Type": "application/json", ...authHeaders3(token) }
172
178
  });
@@ -175,30 +181,32 @@ async function getSimilarThreads(forumId, threadId, token, limit = 5) {
175
181
  }
176
182
 
177
183
  // src/views/api/comments.ts
178
- var API_BASE4 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
184
+ function getApiBase4() {
185
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
186
+ }
179
187
  function createReply2(threadId, body, token) {
180
- return createReply(API_BASE4, threadId, body, token);
188
+ return createReply(getApiBase4(), threadId, body, token);
181
189
  }
182
190
  function saveComment2(threadId, commentId, token) {
183
- return saveComment(API_BASE4, threadId, commentId, token);
191
+ return saveComment(getApiBase4(), threadId, commentId, token);
184
192
  }
185
193
  function unsaveComment2(threadId, commentId, token) {
186
- return unsaveComment(API_BASE4, threadId, commentId, token);
194
+ return unsaveComment(getApiBase4(), threadId, commentId, token);
187
195
  }
188
196
  function reportComment2(threadId, commentId, reason, token) {
189
- return reportComment(API_BASE4, threadId, commentId, reason, token);
197
+ return reportComment(getApiBase4(), threadId, commentId, reason, token);
190
198
  }
191
199
  function updateReply2(threadId, commentId, body, token) {
192
- return updateReply(API_BASE4, threadId, commentId, body, token);
200
+ return updateReply(getApiBase4(), threadId, commentId, body, token);
193
201
  }
194
202
  function deleteComment2(threadId, commentId, token) {
195
- return deleteComment(API_BASE4, threadId, commentId, token);
203
+ return deleteComment(getApiBase4(), threadId, commentId, token);
196
204
  }
197
205
  function acceptAnswer2(threadId, commentId, token) {
198
- return acceptAnswer(API_BASE4, threadId, commentId, token);
206
+ return acceptAnswer(getApiBase4(), threadId, commentId, token);
199
207
  }
200
208
  function unacceptAnswer2(threadId, commentId, token) {
201
- return unacceptAnswer(API_BASE4, threadId, commentId, token);
209
+ return unacceptAnswer(getApiBase4(), threadId, commentId, token);
202
210
  }
203
211
 
204
212
  // src/views/hooks/use-theme.ts
@@ -207,13 +215,15 @@ var ThemeHostContext = createContext({ setThemeAttr: () => {
207
215
  } });
208
216
 
209
217
  // src/views/api/ai.ts
210
- var API_BASE5 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
218
+ function getApiBase5() {
219
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
220
+ }
211
221
  function authHeaders4(token) {
212
222
  return token ? { Authorization: `Bearer ${token}` } : {};
213
223
  }
214
224
  async function callSurfaceRelated(threadId, token) {
215
225
  try {
216
- const res = await fetch(`${API_BASE5}/threads/${threadId}/ai/surface-related`, {
226
+ const res = await fetch(`${getApiBase5()}/threads/${threadId}/ai/surface-related`, {
217
227
  method: "POST",
218
228
  headers: authHeaders4(token)
219
229
  });
@@ -226,18 +236,18 @@ async function callSurfaceRelated(threadId, token) {
226
236
  }
227
237
  }
228
238
  async function callSummariseStreaming(threadId, onEvent, token) {
229
- await summariseStreaming(API_BASE5, threadId, token, onEvent);
239
+ await summariseStreaming(getApiBase5(), threadId, token, onEvent);
230
240
  }
231
241
  async function callSuggestStreaming(threadId, onEvent, token) {
232
- await suggestStreaming(API_BASE5, threadId, token, onEvent);
242
+ await suggestStreaming(getApiBase5(), threadId, token, onEvent);
233
243
  }
234
244
  async function callAskStreaming(forumId, q, token, onEvent) {
235
245
  if (!token) throw new Error("Not authenticated");
236
- await askQuestionStreaming(API_BASE5, forumId, q, token, onEvent);
246
+ await askQuestionStreaming(getApiBase5(), forumId, q, token, onEvent);
237
247
  }
238
248
  async function callSuggestMetadata(forumId, title, body, existingTags, token) {
239
249
  try {
240
- const res = await fetch(`${API_BASE5}/forums/${forumId}/ai/suggest-metadata`, {
250
+ const res = await fetch(`${getApiBase5()}/forums/${forumId}/ai/suggest-metadata`, {
241
251
  method: "POST",
242
252
  headers: { "Content-Type": "application/json", ...authHeaders4(token) },
243
253
  body: JSON.stringify({ title, body, existingTags })
@@ -251,32 +261,34 @@ async function callSuggestMetadata(forumId, title, body, existingTags, token) {
251
261
  }
252
262
 
253
263
  // src/views/api/profile.ts
254
- var API_BASE6 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
264
+ function getApiBase6() {
265
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
266
+ }
255
267
  function authHeaders5(token) {
256
268
  return token ? { Authorization: `Bearer ${token}` } : {};
257
269
  }
258
270
  function getMyProfile2(forumId, token) {
259
- return getMyProfile(API_BASE6, forumId, token);
271
+ return getMyProfile(getApiBase6(), forumId, token);
260
272
  }
261
273
  function updateMyProfile2(forumId, body, token) {
262
- return updateMyProfile(API_BASE6, forumId, body, token);
274
+ return updateMyProfile(getApiBase6(), forumId, body, token);
263
275
  }
264
276
  async function updateThemePreference(forumId, themePreference, token) {
265
- await fetch(`${API_BASE6}/forums/${forumId}/me/theme`, {
277
+ await fetch(`${getApiBase6()}/forums/${forumId}/me/theme`, {
266
278
  method: "PATCH",
267
279
  headers: { "Content-Type": "application/json", ...authHeaders5(token) },
268
280
  body: JSON.stringify({ themePreference })
269
281
  });
270
282
  }
271
283
  function updateNotificationPrefs2(forumId, prefs, token) {
272
- return updateNotificationPrefs(API_BASE6, forumId, prefs, token);
284
+ return updateNotificationPrefs(getApiBase6(), forumId, prefs, token);
273
285
  }
274
286
  function getProfileActivity2(forumId, scope, page, limit, sort, contentType, token) {
275
- return getProfileActivity(API_BASE6, forumId, scope, page, limit, sort, contentType, token);
287
+ return getProfileActivity(getApiBase6(), forumId, scope, page, limit, sort, contentType, token);
276
288
  }
277
289
  async function getUserProfile(forumId, userId, token) {
278
290
  try {
279
- const res = await fetch(`${API_BASE6}/forums/${forumId}/users/${userId}`, {
291
+ const res = await fetch(`${getApiBase6()}/forums/${forumId}/users/${userId}`, {
280
292
  headers: authHeaders5(token)
281
293
  });
282
294
  if (!res.ok) return null;
@@ -287,7 +299,7 @@ async function getUserProfile(forumId, userId, token) {
287
299
  }
288
300
  async function getUserActivity(forumId, userId, scope, page, limit, sort, contentType, token) {
289
301
  const qs = new URLSearchParams({ scope, page: String(page), limit: String(limit), sort, contentType });
290
- const res = await fetch(`${API_BASE6}/forums/${forumId}/users/${userId}/activity?${qs.toString()}`, {
302
+ const res = await fetch(`${getApiBase6()}/forums/${forumId}/users/${userId}/activity?${qs.toString()}`, {
291
303
  headers: authHeaders5(token)
292
304
  });
293
305
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
@@ -295,12 +307,14 @@ async function getUserActivity(forumId, userId, scope, page, limit, sort, conten
295
307
  }
296
308
 
297
309
  // src/views/api/forums.ts
298
- var API_BASE7 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
310
+ function getApiBase7() {
311
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
312
+ }
299
313
  function authHeaders6(token) {
300
314
  return token ? { Authorization: `Bearer ${token}` } : {};
301
315
  }
302
316
  async function getForum(forumId, token) {
303
- const res = await fetch(`${API_BASE7}/forums/${forumId}`, {
317
+ const res = await fetch(`${getApiBase7()}/forums/${forumId}`, {
304
318
  method: "GET",
305
319
  headers: { "Content-Type": "application/json", ...authHeaders6(token) }
306
320
  });
@@ -309,42 +323,48 @@ async function getForum(forumId, token) {
309
323
  }
310
324
 
311
325
  // src/views/api/votes.ts
312
- var API_BASE8 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
326
+ function getApiBase8() {
327
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
328
+ }
313
329
  function voteOnThread2(forumId, threadId, direction, token) {
314
- return voteOnThread(API_BASE8, forumId, threadId, direction, token);
330
+ return voteOnThread(getApiBase8(), forumId, threadId, direction, token);
315
331
  }
316
332
  function removeVoteFromThread2(forumId, threadId, token) {
317
- return removeVoteFromThread(API_BASE8, forumId, threadId, token);
333
+ return removeVoteFromThread(getApiBase8(), forumId, threadId, token);
318
334
  }
319
335
  function voteOnComment2(threadId, commentId, direction, token) {
320
- return voteOnComment(API_BASE8, threadId, commentId, direction, token);
336
+ return voteOnComment(getApiBase8(), threadId, commentId, direction, token);
321
337
  }
322
338
  function removeVoteFromComment2(threadId, commentId, token) {
323
- return removeVoteFromComment(API_BASE8, threadId, commentId, token);
339
+ return removeVoteFromComment(getApiBase8(), threadId, commentId, token);
324
340
  }
325
341
 
326
342
  // src/views/api/drafts.ts
327
- var API_BASE9 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
343
+ function getApiBase9() {
344
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
345
+ }
328
346
  function listDrafts2(forumId, token) {
329
- return listDrafts(API_BASE9, forumId, token);
347
+ return listDrafts(getApiBase9(), forumId, token);
330
348
  }
331
349
  function createDraft2(forumId, title, content, token) {
332
- return createDraft(API_BASE9, forumId, title, content, token);
350
+ return createDraft(getApiBase9(), forumId, title, content, token);
333
351
  }
334
352
  function updateDraft2(forumId, draftId, fields, token) {
335
- return updateDraft(API_BASE9, forumId, draftId, fields, token);
353
+ return updateDraft(getApiBase9(), forumId, draftId, fields, token);
336
354
  }
337
355
  function deleteDraft2(forumId, draftId, token) {
338
- return deleteDraft(API_BASE9, forumId, draftId, token);
356
+ return deleteDraft(getApiBase9(), forumId, draftId, token);
339
357
  }
340
358
 
341
359
  // src/views/hooks/use-session.tsx
342
360
  import { createContext as createContext2, useContext, useEffect, useRef, useState } from "react";
343
361
 
344
362
  // src/views/api/auth.ts
345
- var API_BASE10 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
363
+ function getApiBase10() {
364
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
365
+ }
346
366
  async function createSession2(apiUrl, hostToken) {
347
- return createSession(apiUrl || API_BASE10, hostToken);
367
+ return createSession(apiUrl || getApiBase10(), hostToken);
348
368
  }
349
369
 
350
370
  // src/views/hooks/use-session.tsx
@@ -3949,9 +3969,11 @@ import { useEffect as useEffect6, useRef as useRef7, useState as useState10 } fr
3949
3969
  import { useEditor, EditorContent } from "@tiptap/react";
3950
3970
 
3951
3971
  // src/views/api/gifs.ts
3952
- var API_BASE11 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
3972
+ function getApiBase11() {
3973
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
3974
+ }
3953
3975
  function searchGifs2(forumId, query, token, limit = 24) {
3954
- return searchGifs(API_BASE11, forumId, query, token, limit);
3976
+ return searchGifs(getApiBase11(), forumId, query, token, limit);
3955
3977
  }
3956
3978
 
3957
3979
  // src/views/components/thread/comment-composer.tsx
@@ -4249,7 +4271,7 @@ function CommentComposer({
4249
4271
 
4250
4272
  // src/views/components/thread/comment.tsx
4251
4273
  import { Fragment as Fragment9, jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
4252
- var RichTextEditor = lazy(() => import("./rich-text-editor-6ICCYZSK.js"));
4274
+ var RichTextEditor = lazy(() => import("./rich-text-editor-TQFAV47P.js"));
4253
4275
  function Comment({
4254
4276
  comment,
4255
4277
  threadId,
@@ -4498,7 +4520,7 @@ function MinusMark() {
4498
4520
 
4499
4521
  // src/views/components/thread/thread-view.tsx
4500
4522
  import { Fragment as Fragment10, jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
4501
- var RichTextEditor2 = lazy2(() => import("./rich-text-editor-6ICCYZSK.js"));
4523
+ var RichTextEditor2 = lazy2(() => import("./rich-text-editor-TQFAV47P.js"));
4502
4524
  function ThreadView({ forum, onBack }) {
4503
4525
  const {
4504
4526
  state,
@@ -5931,7 +5953,7 @@ function isValidUrl(s) {
5931
5953
  return false;
5932
5954
  }
5933
5955
  }
5934
- var RichTextEditor3 = lazy3(() => import("./rich-text-editor-6ICCYZSK.js"));
5956
+ var RichTextEditor3 = lazy3(() => import("./rich-text-editor-TQFAV47P.js"));
5935
5957
  var TABS = [
5936
5958
  { id: "text", label: "Text" },
5937
5959
  { id: "images", label: "Images & Video" },
@@ -6591,12 +6613,14 @@ function Notifications() {
6591
6613
  import { useEffect as useEffect10, useState as useState22 } from "react";
6592
6614
 
6593
6615
  // src/views/api/moderation.ts
6594
- var API_BASE12 = typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
6616
+ function getApiBase12() {
6617
+ return typeof window !== "undefined" ? window.FK_API_URL ?? "" : "";
6618
+ }
6595
6619
  function getModerationQueue2(params, token) {
6596
- return getModerationQueue(API_BASE12, params, token);
6620
+ return getModerationQueue(getApiBase12(), params, token);
6597
6621
  }
6598
6622
  function resolveModerationItem2(itemId, action, token) {
6599
- return resolveModerationItem(API_BASE12, itemId, action, token);
6623
+ return resolveModerationItem(getApiBase12(), itemId, action, token);
6600
6624
  }
6601
6625
 
6602
6626
  // src/views/routes/Moderation.tsx
@@ -13314,6 +13338,23 @@ button.fk-profile-filter-label {
13314
13338
 
13315
13339
  // src/components/forum-kit.ts
13316
13340
  var DEFAULT_API_URL = "";
13341
+ var FONTS_HREF = "https://fonts.googleapis.com/css2?family=Michroma&family=Inter:wght@400;500;600;700;800&display=swap";
13342
+ function ensureFontsLoaded() {
13343
+ if (document.querySelector(`link[href="${FONTS_HREF}"]`)) return;
13344
+ const preconnect1 = document.createElement("link");
13345
+ preconnect1.rel = "preconnect";
13346
+ preconnect1.href = "https://fonts.googleapis.com";
13347
+ document.head.appendChild(preconnect1);
13348
+ const preconnect2 = document.createElement("link");
13349
+ preconnect2.rel = "preconnect";
13350
+ preconnect2.href = "https://fonts.gstatic.com";
13351
+ preconnect2.crossOrigin = "anonymous";
13352
+ document.head.appendChild(preconnect2);
13353
+ const stylesheet = document.createElement("link");
13354
+ stylesheet.rel = "stylesheet";
13355
+ stylesheet.href = FONTS_HREF;
13356
+ document.head.appendChild(stylesheet);
13357
+ }
13317
13358
  var ForumKitElement = class extends HTMLElement {
13318
13359
  _config = null;
13319
13360
  _shadow;
@@ -13339,6 +13380,7 @@ var ForumKitElement = class extends HTMLElement {
13339
13380
  }
13340
13381
  constructor() {
13341
13382
  super();
13383
+ ensureFontsLoaded();
13342
13384
  this._shadow = this.attachShadow({ mode: "open" });
13343
13385
  const style = document.createElement("style");
13344
13386
  style.textContent = all_default;
@@ -13372,11 +13414,15 @@ var ForumKitElement = class extends HTMLElement {
13372
13414
  const theme = themeRaw ? JSON.parse(themeRaw) : {};
13373
13415
  const platformAttr = this.getAttribute("platform");
13374
13416
  const platform = platformAttr === "native" ? "native" : "web";
13417
+ const apiUrl = this.getAttribute("api-url") ?? DEFAULT_API_URL;
13418
+ if (typeof window !== "undefined") {
13419
+ window.FK_API_URL = apiUrl;
13420
+ }
13375
13421
  return {
13376
13422
  forumId,
13377
13423
  token,
13378
13424
  theme,
13379
- apiUrl: this.getAttribute("api-url") ?? DEFAULT_API_URL,
13425
+ apiUrl,
13380
13426
  platform,
13381
13427
  ...this._onLogout ? { onLogout: this._onLogout } : {}
13382
13428
  };
@@ -13431,4 +13477,4 @@ if (!customElements.get("forum-kit")) {
13431
13477
  export {
13432
13478
  ForumKitElement
13433
13479
  };
13434
- //# sourceMappingURL=chunk-GVC5IE24.js.map
13480
+ //# sourceMappingURL=chunk-46QQNTQZ.js.map