@wix/blog 1.0.697 → 1.0.699

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.
Files changed (108) hide show
  1. package/_sdk-exports/{context-blog-feed-context-provider → context-blog-feed}/runtime.js +3 -3
  2. package/_sdk-exports/{context-post-context-provider → context-post}/runtime.js +2 -2
  3. package/_sdk-exports/context-post-by-id/runtime.js +5 -0
  4. package/_sdk-exports/context-related-posts/runtime.js +5 -0
  5. package/blog-feed-context-provider/package.json +1 -1
  6. package/build/cjs/{context-blog-feed-context-provider.js → context-blog-feed.js} +201 -186
  7. package/build/cjs/context-blog-feed.js.map +1 -0
  8. package/build/cjs/{context-category-item-context-provider.js → context-category-item.js} +6 -6
  9. package/build/cjs/context-category-item.js.map +1 -0
  10. package/build/cjs/{context-post-by-id-context-provider.js → context-post-by-id.js} +480 -473
  11. package/build/cjs/context-post-by-id.js.map +1 -0
  12. package/build/cjs/{context-post-item-context-provider.js → context-post-item.js} +6 -6
  13. package/build/cjs/context-post-item.js.map +1 -0
  14. package/build/cjs/{context-post-context-provider.js → context-post.js} +214 -198
  15. package/build/cjs/context-post.js.map +1 -0
  16. package/build/cjs/{context-related-posts-context-provider.js → context-related-posts.js} +779 -763
  17. package/build/cjs/context-related-posts.js.map +1 -0
  18. package/build/cjs/{context-tag-item-context-provider.js → context-tag-item.js} +6 -6
  19. package/build/cjs/context-tag-item.js.map +1 -0
  20. package/build/es/{context-blog-feed-context-provider.mjs → context-blog-feed.mjs} +197 -182
  21. package/build/es/context-blog-feed.mjs.map +1 -0
  22. package/build/es/{context-category-item-context-provider.mjs → context-category-item.mjs} +2 -2
  23. package/build/es/context-category-item.mjs.map +1 -0
  24. package/build/es/{context-post-by-id-context-provider.mjs → context-post-by-id.mjs} +476 -469
  25. package/build/es/context-post-by-id.mjs.map +1 -0
  26. package/build/es/{context-post-item-context-provider.mjs → context-post-item.mjs} +2 -2
  27. package/build/es/context-post-item.mjs.map +1 -0
  28. package/build/es/{context-post-context-provider.mjs → context-post.mjs} +210 -194
  29. package/build/es/context-post.mjs.map +1 -0
  30. package/build/es/{context-related-posts-context-provider.mjs → context-related-posts.mjs} +775 -759
  31. package/build/es/context-related-posts.mjs.map +1 -0
  32. package/build/es/{context-tag-item-context-provider.mjs → context-tag-item.mjs} +2 -2
  33. package/build/es/context-tag-item.mjs.map +1 -0
  34. package/category-item-context-provider/package.json +1 -1
  35. package/context/blog-feed/package.json +3 -0
  36. package/context/category-item/package.json +3 -0
  37. package/context/post/package.json +3 -0
  38. package/context/post-by-id/package.json +3 -0
  39. package/context/post-item/package.json +3 -0
  40. package/context/related-posts/package.json +3 -0
  41. package/context/tag-item/package.json +3 -0
  42. package/package.json +60 -60
  43. package/post-by-id-context-provider/package.json +1 -1
  44. package/post-context-provider/package.json +1 -1
  45. package/post-item-context-provider/package.json +1 -1
  46. package/related-posts-context-provider/package.json +1 -1
  47. package/tag-item-context-provider/package.json +1 -1
  48. package/_sdk-exports/context-post-by-id-context-provider/runtime.js +0 -5
  49. package/_sdk-exports/context-related-posts-context-provider/runtime.js +0 -5
  50. package/build/cjs/context-blog-feed-context-provider.js.map +0 -1
  51. package/build/cjs/context-category-item-context-provider.js.map +0 -1
  52. package/build/cjs/context-post-by-id-context-provider.js.map +0 -1
  53. package/build/cjs/context-post-context-provider.js.map +0 -1
  54. package/build/cjs/context-post-item-context-provider.js.map +0 -1
  55. package/build/cjs/context-related-posts-context-provider.js.map +0 -1
  56. package/build/cjs/context-tag-item-context-provider.js.map +0 -1
  57. package/build/es/context-blog-feed-context-provider.mjs.map +0 -1
  58. package/build/es/context-category-item-context-provider.mjs.map +0 -1
  59. package/build/es/context-post-by-id-context-provider.mjs.map +0 -1
  60. package/build/es/context-post-context-provider.mjs.map +0 -1
  61. package/build/es/context-post-item-context-provider.mjs.map +0 -1
  62. package/build/es/context-related-posts-context-provider.mjs.map +0 -1
  63. package/build/es/context-tag-item-context-provider.mjs.map +0 -1
  64. package/context/blog-feed-context-provider/package.json +0 -3
  65. package/context/category-item-context-provider/package.json +0 -3
  66. package/context/post-by-id-context-provider/package.json +0 -3
  67. package/context/post-context-provider/package.json +0 -3
  68. package/context/post-item-context-provider/package.json +0 -3
  69. package/context/related-posts-context-provider/package.json +0 -3
  70. package/context/tag-item-context-provider/package.json +0 -3
  71. /package/_sdk-exports/{context-blog-feed-context-provider → context-blog-feed}/runtime.d.ts +0 -0
  72. /package/_sdk-exports/{context-category-item-context-provider → context-category-item}/runtime.d.ts +0 -0
  73. /package/_sdk-exports/{context-category-item-context-provider → context-category-item}/runtime.js +0 -0
  74. /package/_sdk-exports/{context-post-context-provider → context-post}/runtime.d.ts +0 -0
  75. /package/_sdk-exports/{context-post-by-id-context-provider → context-post-by-id}/runtime.d.ts +0 -0
  76. /package/_sdk-exports/{context-post-item-context-provider → context-post-item}/runtime.d.ts +0 -0
  77. /package/_sdk-exports/{context-post-item-context-provider → context-post-item}/runtime.js +0 -0
  78. /package/_sdk-exports/{context-related-posts-context-provider → context-related-posts}/runtime.d.ts +0 -0
  79. /package/_sdk-exports/{context-tag-item-context-provider → context-tag-item}/runtime.d.ts +0 -0
  80. /package/_sdk-exports/{context-tag-item-context-provider → context-tag-item}/runtime.js +0 -0
  81. /package/build/cjs/{context-blog-feed-context-provider.d.ts → context-blog-feed.d.ts} +0 -0
  82. /package/build/cjs/{context-category-item-context-provider.d.ts → context-category-item.d.ts} +0 -0
  83. /package/build/cjs/{context-post-by-id-context-provider.d.ts → context-post-by-id.d.ts} +0 -0
  84. /package/build/cjs/{context-post-item-context-provider.d.ts → context-post-item.d.ts} +0 -0
  85. /package/build/cjs/{context-post-context-provider.d.ts → context-post.d.ts} +0 -0
  86. /package/build/cjs/{context-related-posts-context-provider.d.ts → context-related-posts.d.ts} +0 -0
  87. /package/build/cjs/{context-tag-item-context-provider.d.ts → context-tag-item.d.ts} +0 -0
  88. /package/build/es/{context-blog-feed-context-provider.d.mts → context-blog-feed.d.mts} +0 -0
  89. /package/build/es/{context-category-item-context-provider.d.mts → context-category-item.d.mts} +0 -0
  90. /package/build/es/{context-post-by-id-context-provider.d.mts → context-post-by-id.d.mts} +0 -0
  91. /package/build/es/{context-post-item-context-provider.d.mts → context-post-item.d.mts} +0 -0
  92. /package/build/es/{context-post-context-provider.d.mts → context-post.d.mts} +0 -0
  93. /package/build/es/{context-related-posts-context-provider.d.mts → context-related-posts.d.mts} +0 -0
  94. /package/build/es/{context-tag-item-context-provider.d.mts → context-tag-item.d.mts} +0 -0
  95. /package/build/internal/cjs/{context-blog-feed-context-provider.d.ts → context-blog-feed.d.ts} +0 -0
  96. /package/build/internal/cjs/{context-category-item-context-provider.d.ts → context-category-item.d.ts} +0 -0
  97. /package/build/internal/cjs/{context-post-by-id-context-provider.d.ts → context-post-by-id.d.ts} +0 -0
  98. /package/build/internal/cjs/{context-post-item-context-provider.d.ts → context-post-item.d.ts} +0 -0
  99. /package/build/internal/cjs/{context-post-context-provider.d.ts → context-post.d.ts} +0 -0
  100. /package/build/internal/cjs/{context-related-posts-context-provider.d.ts → context-related-posts.d.ts} +0 -0
  101. /package/build/internal/cjs/{context-tag-item-context-provider.d.ts → context-tag-item.d.ts} +0 -0
  102. /package/build/internal/es/{context-blog-feed-context-provider.d.mts → context-blog-feed.d.mts} +0 -0
  103. /package/build/internal/es/{context-category-item-context-provider.d.mts → context-category-item.d.mts} +0 -0
  104. /package/build/internal/es/{context-post-by-id-context-provider.d.mts → context-post-by-id.d.mts} +0 -0
  105. /package/build/internal/es/{context-post-item-context-provider.d.mts → context-post-item.d.mts} +0 -0
  106. /package/build/internal/es/{context-post-context-provider.d.mts → context-post.d.mts} +0 -0
  107. /package/build/internal/es/{context-related-posts-context-provider.d.mts → context-related-posts.d.mts} +0 -0
  108. /package/build/internal/es/{context-tag-item-context-provider.d.mts → context-tag-item.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- // _sdk-exports/context-blog-feed-context-provider/runtime.js
1
+ // _sdk-exports/context-blog-feed/runtime.js
2
2
  import { Component as e, Suspense as t, createContext as n, createElement as r, startTransition as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
3
3
  import { useGetService as d, useService as f } from "@wix/services-manager-react";
4
4
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -72,8 +72,8 @@ var w = class extends Error {
72
72
  };
73
73
  var T = (e6, t2, n2, r2) => ({ details: { ...!n2?.validationError && { applicationError: { description: t2, code: e6, data: r2 } }, ...n2 }, message: t2, requestId: r2?.requestId });
74
74
  var E = (e6) => e6?.method && [`post`, `put`, `patch`].includes(e6.method.toLocaleLowerCase()) && e6.body ? { "Content-Type": `application/json` } : {};
75
- var D = (e6) => e6 && typeof e6 == `object` && !Array.isArray(e6);
76
- var ee = (e6) => e6.__type === `host`;
75
+ var ee = (e6) => e6 && typeof e6 == `object` && !Array.isArray(e6);
76
+ var D = (e6) => e6.__type === `host`;
77
77
  function te(e6, t2) {
78
78
  return e6.create(t2);
79
79
  }
@@ -449,7 +449,7 @@ function He(e6) {
449
449
  }, p2 = (t3, n3) => {
450
450
  if (Le(t3)) return d2(t3);
451
451
  if (Be(t3)) return l2(t3);
452
- if (ee(t3) && e6.host) return te(t3, e6.host);
452
+ if (D(t3) && e6.host) return te(t3, e6.host);
453
453
  if (typeof t3 == `function`) {
454
454
  if (`__type` in t3 && t3.__type === `wix_spi_error`) return t3;
455
455
  let r3 = e6.host?.apiBaseUrl ?? `www.wixapis.com`, o3 = e6.useCDN === void 0 ? i2().shouldUseCDN : e6.useCDN;
@@ -458,7 +458,7 @@ function He(e6) {
458
458
  return n4.host = r3, n4.protocol = `https`, f2(n4.toString(), t4);
459
459
  }, i2().getActiveToken, async () => a2(), { HTTPHost: r3 }, e6.host?.name, o3, e6.validateRequestSchema);
460
460
  }
461
- return D(t3) ? Object.fromEntries(Object.entries(t3).map(([e7, n4]) => [e7, p2(n4, t3[S])])) : t3;
461
+ return ee(t3) ? Object.fromEntries(Object.entries(t3).map(([e7, n4]) => [e7, p2(n4, t3[S])])) : t3;
462
462
  }, m2 = (e7) => {
463
463
  for (let n3 in e7) t2[n3] = e7[n3];
464
464
  };
@@ -2129,8 +2129,8 @@ var io = class e3 extends Xa {
2129
2129
  if (d2?.toLowerCase() === `cimode`) return f2 ? a2 ? { res: `${l2}${u2}${s2}`, usedKey: s2, exactUsedKey: s2, usedLng: d2, usedNS: l2, usedParams: this.getUsedParamsDetails(i2) } : `${l2}${u2}${s2}` : a2 ? { res: s2, usedKey: s2, exactUsedKey: s2, usedLng: d2, usedNS: l2, usedParams: this.getUsedParamsDetails(i2) } : s2;
2130
2130
  let p2 = this.resolve(t2, i2), m2 = p2?.res, h2 = p2?.usedKey || s2, g2 = p2?.exactUsedKey || s2, _2 = [`[object Number]`, `[object Function]`, `[object RegExp]`], v2 = i2.joinArrays === void 0 ? this.options.joinArrays : i2.joinArrays, y2 = !this.i18nFormat || this.i18nFormat.handleAsObject, b2 = i2.count !== void 0 && !G(i2.count), x2 = e3.hasDefaultValue(i2), S2 = b2 ? this.pluralResolver.getSuffix(d2, i2.count, i2) : ``, C2 = i2.ordinal && b2 ? this.pluralResolver.getSuffix(d2, i2.count, { ordinal: false }) : ``, w2 = b2 && !i2.ordinal && i2.count === 0, T2 = w2 && i2[`defaultValue${this.options.pluralSeparator}zero`] || i2[`defaultValue${S2}`] || i2[`defaultValue${C2}`] || i2.defaultValue, E2 = m2;
2131
2131
  y2 && !m2 && x2 && (E2 = T2);
2132
- let D2 = ro(E2), ee2 = Object.prototype.toString.apply(E2);
2133
- if (y2 && E2 && D2 && !_2.includes(ee2) && !(G(v2) && Array.isArray(E2))) {
2132
+ let ee2 = ro(E2), D2 = Object.prototype.toString.apply(E2);
2133
+ if (y2 && E2 && ee2 && !_2.includes(D2) && !(G(v2) && Array.isArray(E2))) {
2134
2134
  if (!i2.returnObjects && !this.options.returnObjects) {
2135
2135
  this.options.returnedObjectHandler || this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);
2136
2136
  let e6 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h2, E2, { ...i2, ns: c2 }) : `key '${s2} (${this.language})' returned an object instead of string.`;
@@ -4142,23 +4142,37 @@ var pl = (e6, t2) => {
4142
4142
  let n2 = (n3) => (r2) => e6(n3, { count: r2, formatted: fl(r2, `full`, t2) });
4143
4143
  return { timeToRead: (t3) => e6(Z.timeToRead, { count: t3 }), viewCount: n2(Z.viewCount), commentCount: n2(Z.commentCount), likeCount: n2(Z.likeCount), noPostsEmptyState: () => ({ title: e6(Z.noPostsTitle), description: e6(Z.noPostsDescription) }), noRelatedPostsEmptyState: () => ({ title: e6(Z.noRelatedPostsTitle), description: e6(Z.noRelatedPostsDescription) }), canvas: { postTitle: () => e6(Z.canvasPostTitle), authorName: () => e6(Z.canvasAuthorName), excerpt: () => e6(Z.canvasExcerpt), content: () => e6(Z.canvasContent), category: () => e6(Z.canvasCategory), categoryNumbered: (t3) => e6(Z.canvasCategoryNumbered, { number: t3 }), tagNumbered: (t3) => e6(Z.canvasTagNumbered, { number: t3 }), coverAlt: () => e6(Z.canvasCoverAlt), authorPhotoAlt: () => e6(Z.canvasAuthorPhotoAlt) } };
4144
4144
  };
4145
- var ml = [{ path: `members.createdDate` }, { path: `members.updatedDate` }, { path: `members.lastLoginDate` }];
4146
- var hl = [{ path: `query.sorting.origin.latitude` }, { path: `query.sorting.origin.longitude` }];
4147
- function gl(e6) {
4145
+ var ml = (e6) => M(P(e6, [{ transformFn: U, paths: [{ path: `posts.url` }, { path: `posts.translations.url` }] }, { transformFn: H, paths: [{ path: `posts.heroImage` }, { path: `posts.media.wixMedia.image` }] }, { transformFn: Ki, paths: [{ path: `posts.media.wixMedia.videoV2` }] }]), [`posts.richContent`, `posts.rich_content`]).posts ?? [];
4146
+ var hl = `https://blog.wixsite.com/blog-demo-posts`;
4147
+ var gl = I((e6) => async (t2) => {
4148
+ let n2 = await e6.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${jt(t2)}`);
4149
+ if (!n2.ok) throw Error(`ListDemoPosts answered ${n2.status}`);
4150
+ return ml(await n2.json()).filter((e7) => !e7.url?.startsWith(hl));
4151
+ });
4152
+ var _l = async (e6) => {
4153
+ try {
4154
+ return await gl(e6);
4155
+ } catch (e7) {
4156
+ return console.info(`[blog demo posts]`, `read failed`, e7), [];
4157
+ }
4158
+ };
4159
+ var vl = [{ path: `members.createdDate` }, { path: `members.updatedDate` }, { path: `members.lastLoginDate` }];
4160
+ var yl = [{ path: `query.sorting.origin.latitude` }, { path: `query.sorting.origin.longitude` }];
4161
+ function bl(e6) {
4148
4162
  return Mt(Object.assign(e6, { domainToMappings: { "www.wixapis.com": [{ srcPath: `/members/v1/members`, destPath: `/v1/members` }], "api._api_base_domain_": [{ srcPath: `/members-ng-api`, destPath: `` }], "www._base_domain_": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "manage._base_domain_": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "editor._base_domain_": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "blocks._base_domain_": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "create.editorx": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "editor.wixapps.net": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "*.dev.wix-code.com": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "bo._base_domain_": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "wixbo.ai": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "wix-bo.com": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], _: [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }], "members.wixapps.net": [{ srcPath: `/_api/members/v1/members`, destPath: `/v1/members` }] } }));
4149
4163
  }
4150
- var _l = `@wix/auto_sdk_members_members`;
4151
- function vl(e6) {
4164
+ var xl = `@wix/auto_sdk_members_members`;
4165
+ function Sl(e6) {
4152
4166
  function t2({ host: t3 }) {
4153
- let n2 = P(e6, [{ transformFn: an, paths: hl }]);
4154
- return { entityFqdn: `wix.members.v1.member`, method: `POST`, methodFqn: `com.wixpress.members.api.Members.QueryMembers`, packageName: _l, migrationOptions: { optInTransformResponse: true }, url: gl({ protoPath: `/v1/members/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => P(e7, [{ transformFn: N, paths: ml }]) };
4167
+ let n2 = P(e6, [{ transformFn: an, paths: yl }]);
4168
+ return { entityFqdn: `wix.members.v1.member`, method: `POST`, methodFqn: `com.wixpress.members.api.Members.QueryMembers`, packageName: xl, migrationOptions: { optInTransformResponse: true }, url: bl({ protoPath: `/v1/members/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => P(e7, [{ transformFn: N, paths: vl }]) };
4155
4169
  }
4156
4170
  return t2;
4157
4171
  }
4158
- function yl(e6) {
4172
+ function Cl(e6) {
4159
4173
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
4160
4174
  return ri({ func: async (r2) => {
4161
- let i2 = vl({ ...r2, ...e6 ?? {} });
4175
+ let i2 = Sl({ ...r2, ...e6 ?? {} });
4162
4176
  n2?.onSiteCall?.();
4163
4177
  try {
4164
4178
  let e7 = await t2.request(i2);
@@ -4176,8 +4190,8 @@ function yl(e6) {
4176
4190
  throw F(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
4177
4191
  }, pagingMethod: `OFFSET`, transformationPaths: {} });
4178
4192
  }
4179
- async function bl(e6, t2) {
4180
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = vl(j({ query: e6, ...t2 }));
4193
+ async function wl(e6, t2) {
4194
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Sl(j({ query: e6, ...t2 }));
4181
4195
  r2?.onSiteCall?.();
4182
4196
  try {
4183
4197
  let e7 = await n2.request(i2);
@@ -4187,25 +4201,25 @@ async function bl(e6, t2) {
4187
4201
  throw r2?.onError?.(e7), t3;
4188
4202
  }
4189
4203
  }
4190
- function xl(e6) {
4191
- return (t2) => yl(t2, { httpClient: e6 });
4204
+ function Tl(e6) {
4205
+ return (t2) => Cl(t2, { httpClient: e6 });
4192
4206
  }
4193
- function Sl(e6) {
4194
- return (t2, n2) => bl(t2, n2, { httpClient: e6 });
4207
+ function El(e6) {
4208
+ return (t2, n2) => wl(t2, n2, { httpClient: e6 });
4195
4209
  }
4196
- function Cl(e6) {
4197
- let t2 = pi({ builderQueryFunction: (t3) => xl(e6)(t3), typedQueryFunction: (t3, n3) => Sl(e6)(t3, n3), hasOptionsParameter: true });
4210
+ function Dl(e6) {
4211
+ let t2 = pi({ builderQueryFunction: (t3) => Tl(e6)(t3), typedQueryFunction: (t3, n3) => El(e6)(t3, n3), hasOptionsParameter: true });
4198
4212
  function n2(e7, n3) {
4199
4213
  return t2(...arguments);
4200
4214
  }
4201
4215
  return n2;
4202
4216
  }
4203
- var wl = I(Cl);
4204
- var Tl = async (e6) => {
4217
+ var Ol = I(Dl);
4218
+ var kl = async (e6) => {
4205
4219
  let t2 = [...new Set(e6.filter((e7) => !!e7))];
4206
4220
  if (t2.length === 0) return {};
4207
4221
  try {
4208
- let { items: e7 } = await wl({ fieldsets: [`PUBLIC`] }).in(`_id`, t2).limit(t2.length).find();
4222
+ let { items: e7 } = await Ol({ fieldsets: [`PUBLIC`] }).in(`_id`, t2).limit(t2.length).find();
4209
4223
  return Object.fromEntries(e7.flatMap((e8) => {
4210
4224
  let { _id: t3 } = e8;
4211
4225
  return t3 ? [[t3, e8]] : [];
@@ -4214,32 +4228,32 @@ var Tl = async (e6) => {
4214
4228
  return {};
4215
4229
  }
4216
4230
  };
4217
- var El = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
4218
- var Dl = [{ path: `posts.richContentCompressed` }];
4219
- var Ol = [{ path: `posts.heroImage.focalPoint.x` }, { path: `posts.heroImage.focalPoint.y` }, { path: `posts.media.wixMedia.image.focalPoint.x` }, { path: `posts.media.wixMedia.image.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `posts.metrics.averageRating` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `posts.richContent.nodes.galleryData.items.image.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `posts.richContent.nodes.galleryData.options.item.ratio` }, { path: `posts.richContent.nodes.imageData.image.duration` }, { path: `posts.richContent.nodes.imageData.crop.x` }, { path: `posts.richContent.nodes.imageData.crop.y` }, { path: `posts.richContent.nodes.imageData.crop.width` }, { path: `posts.richContent.nodes.imageData.crop.height` }, { path: `posts.richContent.nodes.mapData.mapSettings.lat` }, { path: `posts.richContent.nodes.mapData.mapSettings.lng` }, { path: `posts.richContent.nodes.pollData.poll.image.duration` }, { path: `posts.richContent.nodes.pollData.poll.options.image.duration` }, { path: `posts.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.appEmbedData.image.duration` }, { path: `posts.richContent.nodes.videoData.video.duration` }, { path: `posts.richContent.nodes.videoData.thumbnail.duration` }, { path: `posts.richContent.nodes.audioData.audio.duration` }, { path: `posts.richContent.nodes.audioData.coverImage.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `posts.richContent.nodes.shapeData.shape.duration` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.tocData.fontSize` }, { path: `posts.richContent.nodes.tocData.itemSpacing` }, { path: `posts.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
4220
- var kl = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
4221
- function Al(e6) {
4231
+ var Al = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
4232
+ var jl = [{ path: `posts.richContentCompressed` }];
4233
+ var Ml = [{ path: `posts.heroImage.focalPoint.x` }, { path: `posts.heroImage.focalPoint.y` }, { path: `posts.media.wixMedia.image.focalPoint.x` }, { path: `posts.media.wixMedia.image.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `posts.metrics.averageRating` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `posts.richContent.nodes.galleryData.items.image.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `posts.richContent.nodes.galleryData.options.item.ratio` }, { path: `posts.richContent.nodes.imageData.image.duration` }, { path: `posts.richContent.nodes.imageData.crop.x` }, { path: `posts.richContent.nodes.imageData.crop.y` }, { path: `posts.richContent.nodes.imageData.crop.width` }, { path: `posts.richContent.nodes.imageData.crop.height` }, { path: `posts.richContent.nodes.mapData.mapSettings.lat` }, { path: `posts.richContent.nodes.mapData.mapSettings.lng` }, { path: `posts.richContent.nodes.pollData.poll.image.duration` }, { path: `posts.richContent.nodes.pollData.poll.options.image.duration` }, { path: `posts.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.appEmbedData.image.duration` }, { path: `posts.richContent.nodes.videoData.video.duration` }, { path: `posts.richContent.nodes.videoData.thumbnail.duration` }, { path: `posts.richContent.nodes.audioData.audio.duration` }, { path: `posts.richContent.nodes.audioData.coverImage.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `posts.richContent.nodes.shapeData.shape.duration` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.tocData.fontSize` }, { path: `posts.richContent.nodes.tocData.itemSpacing` }, { path: `posts.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
4234
+ var Nl = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
4235
+ function Pl(e6) {
4222
4236
  return Mt(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www.wixapis.com": [{ srcPath: `/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/blog/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/v3/posts`, destPath: `/v3/posts` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/post-service-api-proxy/v3/bulk/posts`, destPath: `/v3/bulk/posts` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "dev._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }] } }));
4223
4237
  }
4224
- var jl = `@wix/auto_sdk_blog_posts`;
4225
- function Ml(e6) {
4238
+ var Fl = `@wix/auto_sdk_blog_posts`;
4239
+ function Il(e6) {
4226
4240
  function t2({ host: t3 }) {
4227
- let n2 = P(e6, [{ transformFn: an, paths: kl }]);
4228
- return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: jl, migrationOptions: { optInTransformResponse: true }, url: Al({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => P(e7, [{ transformFn: N, paths: El }, { transformFn: on, paths: Dl }, { transformFn: L, paths: Ol }]) };
4241
+ let n2 = P(e6, [{ transformFn: an, paths: Nl }]);
4242
+ return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: Fl, migrationOptions: { optInTransformResponse: true }, url: Pl({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => P(e7, [{ transformFn: N, paths: Al }, { transformFn: on, paths: jl }, { transformFn: L, paths: Ml }]) };
4229
4243
  }
4230
4244
  return t2;
4231
4245
  }
4232
- function Nl() {
4233
- let e6 = Ml({});
4246
+ function Ll() {
4247
+ let e6 = Il({});
4234
4248
  return { getUrl: (t2) => {
4235
4249
  let { url: n2 } = e6(t2);
4236
4250
  return n2;
4237
4251
  }, httpMethod: `POST`, path: `/v3/posts/query`, pathParams: {}, __requestType: null, __originalRequestType: null, __responseType: null, __originalResponseType: null };
4238
4252
  }
4239
- var Pl = Nl();
4240
- var Fl = (e6) => (t2) => ({ method: `POST`, url: Pl.getUrl(t2), data: { query: { filter: { id: { $in: e6 } }, paging: { limit: e6.length } } } });
4241
- var Il = I((e6) => async (t2) => {
4242
- let { data: n2 } = await e6.request(Fl(t2)), r2 = {};
4253
+ var Rl = Ll();
4254
+ var zl = (e6) => (t2) => ({ method: `POST`, url: Rl.getUrl(t2), data: { query: { filter: { id: { $in: e6 } }, paging: { limit: e6.length } } } });
4255
+ var Bl = I((e6) => async (t2) => {
4256
+ let { data: n2 } = await e6.request(zl(t2)), r2 = {};
4243
4257
  for (let e7 of n2.posts ?? []) {
4244
4258
  let { id: t3 } = e7, n3 = e7.media?.wixMedia?.videoV2?.resolutions;
4245
4259
  if (!t3 || !n3?.length) continue;
@@ -4248,77 +4262,77 @@ var Il = I((e6) => async (t2) => {
4248
4262
  }
4249
4263
  return r2;
4250
4264
  });
4251
- var Ll = async (e6) => {
4265
+ var Vl = async (e6) => {
4252
4266
  if (e6.length === 0) return {};
4253
4267
  try {
4254
- return await Il(e6);
4268
+ return await Bl(e6);
4255
4269
  } catch {
4256
4270
  return {};
4257
4271
  }
4258
4272
  };
4259
- var Rl = `TRANSLATIONS`;
4273
+ var Hl = `TRANSLATIONS`;
4260
4274
  W.RICH_CONTENT, W.SEO, W.URL, W.CONTENT_TEXT, W.RICH_CONTENT, W.URL;
4261
- var zl = [W.URL, W.METRICS];
4262
- var Bl = (e6) => {
4275
+ var Ul = [W.URL, W.METRICS];
4276
+ var Wl = (e6) => {
4263
4277
  let { status: t2, details: n2 } = e6 ?? {};
4264
4278
  return t2 === 404 || String(n2?.applicationError?.code ?? ``).includes(`NOT_FOUND`);
4265
4279
  };
4266
- var Vl = (e6) => Tl(e6.map(({ memberId: e7 }) => e7));
4267
- var Hl = (e6) => Ll(e6.filter((e7) => e7.media?.wixMedia?.videoV2).map(({ _id: e7 }) => e7).filter((e7) => !!e7));
4268
- var Ul = 100;
4269
- var Wl = async () => {
4280
+ var Gl = (e6) => kl(e6.map(({ memberId: e7 }) => e7));
4281
+ var Kl = (e6) => Vl(e6.filter((e7) => e7.media?.wixMedia?.videoV2).map(({ _id: e7 }) => e7).filter((e7) => !!e7));
4282
+ var ql = 100;
4283
+ var Jl = async () => {
4270
4284
  try {
4271
- let { categories: e6 } = await Wi({ paging: { limit: Ul } });
4285
+ let { categories: e6 } = await Wi({ paging: { limit: ql } });
4272
4286
  return e6 ?? [];
4273
4287
  } catch {
4274
4288
  return [];
4275
4289
  }
4276
4290
  };
4277
- var Gl = (e6, t2) => {
4291
+ var Yl = (e6, t2) => {
4278
4292
  let { categoryIds: n2 } = e6 ?? {};
4279
4293
  if (!n2?.length) return [];
4280
4294
  let r2 = new Map(t2.map((e7) => [e7._id, e7]));
4281
4295
  return n2.map((e7) => r2.get(e7)).filter((e7) => e7 !== void 0);
4282
4296
  };
4283
- var Kl = (e6, t2) => {
4297
+ var Xl = (e6, t2) => {
4284
4298
  let n2 = {};
4285
- for (let r2 of e6) for (let { _id: e7, label: i2 } of Gl(r2, t2)) e7 && (n2[e7] = i2 ?? ``);
4299
+ for (let r2 of e6) for (let { _id: e7, label: i2 } of Yl(r2, t2)) e7 && (n2[e7] = i2 ?? ``);
4286
4300
  return n2;
4287
4301
  };
4288
- var ql = async ({ ids: e6, currentPostId: t2, limit: n2 }) => {
4289
- let { items: r2 } = await fa({ fieldsets: zl }).in(`_id`, e6).limit(n2).find(), i2 = new Map(r2.map((e7) => {
4302
+ var Zl = async ({ ids: e6, currentPostId: t2, limit: n2 }) => {
4303
+ let { items: r2 } = await fa({ fieldsets: Ul }).in(`_id`, e6).limit(n2).find(), i2 = new Map(r2.map((e7) => {
4290
4304
  let { _id: t3 } = e7;
4291
4305
  return [t3, e7];
4292
4306
  }));
4293
4307
  return e6.filter((e7) => e7 !== t2).map((e7) => i2.get(e7)).filter((e7) => e7 !== void 0).slice(0, n2);
4294
4308
  };
4295
- var Jl = () => ({ posts: [], hasMore: false, authorsByMemberId: {}, categoryLabelsById: {}, videoSourcesByPostId: {} });
4296
- var Yl = /* @__PURE__ */ new Map();
4297
- var Xl = /* @__PURE__ */ new Map();
4298
- var Zl = (e6, t2, n2) => {
4309
+ var Ql = () => ({ posts: [], hasMore: false, authorsByMemberId: {}, categoryLabelsById: {}, videoSourcesByPostId: {} });
4310
+ var $l = /* @__PURE__ */ new Map();
4311
+ var eu = /* @__PURE__ */ new Map();
4312
+ var tu = (e6, t2, n2) => {
4299
4313
  let r2 = e6.get(t2);
4300
4314
  if (r2) return r2;
4301
4315
  let i2 = n2().then((e7) => e7 ?? null).catch((n3) => {
4302
- if (e6.delete(t2), Bl(n3)) return null;
4316
+ if (e6.delete(t2), Wl(n3)) return null;
4303
4317
  throw n3;
4304
4318
  });
4305
4319
  return e6.set(t2, i2), i2;
4306
4320
  };
4307
- var Ql = (e6, t2) => Zl(Yl, `${e6}|${t2 ?? ``}`, async () => {
4308
- let { category: n2 } = await Ui(e6, { fieldsets: [Rl], ...t2 && { language: t2 } });
4321
+ var nu = (e6, t2) => tu($l, `${e6}|${t2 ?? ``}`, async () => {
4322
+ let { category: n2 } = await Ui(e6, { fieldsets: [Hl], ...t2 && { language: t2 } });
4309
4323
  return n2;
4310
4324
  });
4311
- var $l = (e6) => Zl(Yl, `${e6}|*`, async () => {
4325
+ var ru = (e6) => tu($l, `${e6}|*`, async () => {
4312
4326
  let { items: t2 } = await Gi().eq(`slug`, e6).limit(1).find();
4313
4327
  return t2[0];
4314
4328
  });
4315
- var eu = (e6, t2) => Zl(Xl, `${e6}|${t2 ?? ``}`, async () => {
4329
+ var iu = (e6, t2) => tu(eu, `${e6}|${t2 ?? ``}`, async () => {
4316
4330
  let { tag: n2 } = await ba(e6, { ...t2 && { language: t2 } });
4317
4331
  return n2;
4318
4332
  });
4319
- var tu = /* @__PURE__ */ new Map();
4320
- var nu = (e6, t2) => {
4321
- let n2 = `${e6}|${t2 ?? ``}`, r2 = tu.get(n2);
4333
+ var au = /* @__PURE__ */ new Map();
4334
+ var ou = (e6, t2) => {
4335
+ let n2 = `${e6}|${t2 ?? ``}`, r2 = au.get(n2);
4322
4336
  if (r2) return r2;
4323
4337
  let i2 = Hi(e6).then(async ({ category: e7 }) => {
4324
4338
  let { _id: n3, translationId: r3, language: i3 } = e7 ?? {};
@@ -4327,12 +4341,12 @@ var nu = (e6, t2) => {
4327
4341
  let { items: a2 } = await Gi().eq(`translationId`, r3).eq(`language`, t2).limit(1).find();
4328
4342
  return a2[0]?._id ?? null;
4329
4343
  }).catch((e7) => {
4330
- if (Bl(e7)) return null;
4331
- throw tu.delete(n2), e7;
4344
+ if (Wl(e7)) return null;
4345
+ throw au.delete(n2), e7;
4332
4346
  });
4333
- return tu.set(n2, i2), i2;
4347
+ return au.set(n2, i2), i2;
4334
4348
  };
4335
- var ru = async (e6, t2) => {
4349
+ var su = async (e6, t2) => {
4336
4350
  try {
4337
4351
  let { items: n2 } = await Gi().eq(`translationId`, e6).eq(`language`, t2).limit(1).find();
4338
4352
  return n2[0]?.slug ?? void 0;
@@ -4340,42 +4354,43 @@ var ru = async (e6, t2) => {
4340
4354
  return;
4341
4355
  }
4342
4356
  };
4343
- var iu = [`newest`, `oldest`, `titleAsc`, `titleDesc`, `mostViewed`, `mostLiked`];
4344
- var au = { newest: `FEED`, oldest: `PUBLISHED_DATE_ASC`, titleAsc: `TITLE_ASC`, titleDesc: `TITLE_DESC`, mostViewed: `VIEW_COUNT`, mostLiked: `LIKE_COUNT` };
4345
- var ou = async ({ offset: e6, limit: t2, language: n2, categoryId: r2, categorySlug: i2, tagSlug: a2, postIds: o2, sortOrder: s2, featuredOnly: c2, propagateErrors: l2 = false }) => {
4346
- let u2 = Wl();
4357
+ var cu = [`newest`, `oldest`, `titleAsc`, `titleDesc`, `mostViewed`, `mostLiked`];
4358
+ var lu = { newest: `FEED`, oldest: `PUBLISHED_DATE_ASC`, titleAsc: `TITLE_ASC`, titleDesc: `TITLE_DESC`, mostViewed: `VIEW_COUNT`, mostLiked: `LIKE_COUNT` };
4359
+ var uu = async (e6, { limit: t2, offset: n2 = 0, language: r2, sortOrder: i2 }) => e6.posts.length > 0 ? e6 : { ...e6, demoPosts: await _l({ paging: { limit: t2, offset: n2 }, fieldsets: Ul, ...r2 && { language: r2 }, ...i2 && { sort: lu[i2] } }) };
4360
+ var du = async ({ offset: e6, limit: t2, language: n2, categoryId: r2, categorySlug: i2, tagSlug: a2, postIds: o2, sortOrder: s2, featuredOnly: c2, propagateErrors: l2 = false }) => {
4361
+ let u2 = Jl();
4347
4362
  try {
4348
4363
  let l3, d2, f2, p2, m2;
4349
4364
  if (i2) {
4350
- let e7 = await Ql(i2, n2);
4365
+ let e7 = await nu(i2, n2);
4351
4366
  if (!e7?._id) {
4352
- let e8 = n2 ? await $l(i2) : null;
4353
- return { ...Jl(), ...e8?.translationId && e8.language !== n2 && { mismatchedCategory: e8 } };
4367
+ let e8 = n2 ? await ru(i2) : null;
4368
+ return { ...Ql(), ...e8?.translationId && e8.language !== n2 && { mismatchedCategory: e8 } };
4354
4369
  }
4355
4370
  f2 = e7, l3 = [e7._id];
4356
4371
  } else if (a2) {
4357
- let e7 = await eu(a2, n2);
4358
- if (!e7?._id) return Jl();
4372
+ let e7 = await iu(a2, n2);
4373
+ if (!e7?._id) return Ql();
4359
4374
  p2 = e7, d2 = [e7._id];
4360
- } else if (o2?.length) m2 = await ql({ ids: o2, limit: o2.length });
4375
+ } else if (o2?.length) m2 = await Zl({ ids: o2, limit: o2.length });
4361
4376
  else if (r2) {
4362
- let e7 = await nu(r2, n2);
4363
- if (!e7) return Jl();
4377
+ let e7 = await ou(r2, n2);
4378
+ if (!e7) return Ql();
4364
4379
  l3 = [e7];
4365
4380
  }
4366
- let h2 = s2 ? au[s2] : void 0, g2 = m2 ?? (await da({ paging: { limit: t2, offset: e6 }, fieldsets: zl, ...n2 && { language: n2 }, ...l3 && { categoryIds: l3 }, ...d2 && { tagIds: d2 }, ...h2 && h2 !== `FEED` && { sort: h2 }, ...c2 && { featured: true } })).posts ?? [], [_2, v2, y2] = await Promise.all([Vl(g2), u2, Hl(g2)]);
4367
- return { posts: g2, hasMore: !m2 && g2.length === t2, authorsByMemberId: _2, categoryLabelsById: Kl(g2, v2), videoSourcesByPostId: y2, ...f2 && { filterCategory: f2 }, ...p2 && { filterTag: p2 } };
4381
+ let h2 = s2 ? lu[s2] : void 0, g2 = m2 ?? (await da({ paging: { limit: t2, offset: e6 }, fieldsets: Ul, ...n2 && { language: n2 }, ...l3 && { categoryIds: l3 }, ...d2 && { tagIds: d2 }, ...h2 && h2 !== `FEED` && { sort: h2 }, ...c2 && { featured: true } })).posts ?? [], [_2, v2, y2] = await Promise.all([Gl(g2), u2, Kl(g2)]);
4382
+ return { posts: g2, hasMore: !m2 && g2.length === t2, authorsByMemberId: _2, categoryLabelsById: Xl(g2, v2), videoSourcesByPostId: y2, ...f2 && { filterCategory: f2 }, ...p2 && { filterTag: p2 } };
4368
4383
  } catch (e7) {
4369
4384
  if (l2) throw e7;
4370
- return Jl();
4385
+ return Ql();
4371
4386
  }
4372
4387
  };
4373
- var su = `categoryId`;
4374
- var cu = (e6) => lu(e6?.[su]);
4375
- var lu = (e6) => {
4388
+ var fu = `categoryId`;
4389
+ var pu = (e6) => mu(e6?.[fu]);
4390
+ var mu = (e6) => {
4376
4391
  if (e6 && typeof e6 == `object`) return (typeof e6.$eq == `string` ? e6.$eq : Array.isArray(e6.$in) ? e6.$in.find((e7) => typeof e7 == `string` && e7.trim() !== ``) : void 0)?.trim() || void 0;
4377
4392
  };
4378
- var uu = class extends e {
4393
+ var hu = class extends e {
4379
4394
  state = { error: void 0 };
4380
4395
  static getDerivedStateFromError(e6) {
4381
4396
  return { error: e6 ?? Error(`Unknown render error`) };
@@ -4389,102 +4404,102 @@ var uu = class extends e {
4389
4404
  return this.props.fallback;
4390
4405
  }
4391
4406
  };
4392
- var du = (e6) => e6.then((e7) => ({ ...e7, fetchedAt: Date.now() }));
4393
- var fu = `postId`;
4394
- var pu = (e6) => {
4395
- let t2 = e6?.[fu];
4407
+ var gu = (e6) => e6.then((e7) => ({ ...e7, fetchedAt: Date.now() }));
4408
+ var _u = `postId`;
4409
+ var vu = (e6) => {
4410
+ let t2 = e6?.[_u];
4396
4411
  if (!t2 || typeof t2 != `object`) return [];
4397
4412
  let n2 = Array.isArray(t2.$in) ? t2.$in : [t2.$eq];
4398
4413
  return [...new Set(n2.flatMap((e7) => typeof e7 == `string` && e7.trim() !== `` ? [e7.trim()] : []))];
4399
4414
  };
4400
- var mu = 6e4;
4401
- var hu = mu * 60;
4402
- var gu = hu * 24;
4403
- var _u = gu * 7;
4404
- var vu = (e6) => e6 < mu ? [`second`, e6 / 1e3] : e6 < hu ? [`minute`, e6 / mu] : e6 < gu ? [`hour`, e6 / hu] : [`day`, e6 / gu];
4405
- var yu = (e6, t2, n2 = Date.now()) => {
4415
+ var yu = 6e4;
4416
+ var bu = yu * 60;
4417
+ var xu = bu * 24;
4418
+ var Su = xu * 7;
4419
+ var Cu = (e6) => e6 < yu ? [`second`, e6 / 1e3] : e6 < bu ? [`minute`, e6 / yu] : e6 < xu ? [`hour`, e6 / bu] : [`day`, e6 / xu];
4420
+ var wu = (e6, t2, n2 = Date.now()) => {
4406
4421
  let r2 = e6 instanceof Date ? e6 : new Date(e6), i2 = n2 - r2.getTime();
4407
- if (i2 >= 0 && i2 < _u) {
4408
- let [e7, n3] = vu(i2);
4422
+ if (i2 >= 0 && i2 < Su) {
4423
+ let [e7, n3] = Cu(i2);
4409
4424
  return new Intl.RelativeTimeFormat(t2).format(-Math.round(n3), e7);
4410
4425
  }
4411
4426
  let a2 = r2.getFullYear() === new Date(n2).getFullYear();
4412
4427
  return new Intl.DateTimeFormat(t2, { ...a2 ? {} : { year: `numeric` }, month: `short`, day: `numeric` }).format(r2);
4413
4428
  };
4414
- var bu = `https://static.wixstatic.com/media/`;
4415
- var xu = `wix:video://`;
4416
- var Su = (e6) => {
4429
+ var Tu = `https://static.wixstatic.com/media/`;
4430
+ var Eu = `wix:video://`;
4431
+ var Du = (e6) => {
4417
4432
  if (!e6) return;
4418
4433
  let t2 = Number.parseInt(e6, 10);
4419
4434
  return Number.isFinite(t2) && t2 > 0 ? t2 : void 0;
4420
4435
  };
4421
- var Cu = (e6) => {
4422
- if (!e6.startsWith(xu)) return;
4436
+ var Ou = (e6) => {
4437
+ if (!e6.startsWith(Eu)) return;
4423
4438
  let [t2, n2] = e6.slice(12).split(`#`), [, r2] = t2.split(`/`).filter(Boolean);
4424
4439
  if (!r2) return;
4425
4440
  let i2 = new URLSearchParams(n2 ?? ``), a2 = i2.get(`posterUri`);
4426
- return { id: decodeURIComponent(r2), posterUrl: a2 ? `${bu}${a2}` : void 0, posterWidth: Su(i2.get(`posterWidth`)), posterHeight: Su(i2.get(`posterHeight`)) };
4441
+ return { id: decodeURIComponent(r2), posterUrl: a2 ? `${Tu}${a2}` : void 0, posterWidth: Du(i2.get(`posterWidth`)), posterHeight: Du(i2.get(`posterHeight`)) };
4427
4442
  };
4428
- var wu = [/https?:\/\/(?:www\.|m\.)?youtube\.com\/watch\?(?:[^#]*&)?v=([\w-]+)/i, /https?:\/\/(?:www\.)?youtube\.com\/embed\/([\w-]+)/i, /https?:\/\/youtu\.be\/([\w-]+)/i];
4429
- var Tu = [/https?:\/\/player\.vimeo\.com\/video\/(\d+)/i, /https?:\/\/vimeo\.com\/(\d+)/i];
4430
- var Eu = (e6, t2) => {
4443
+ var ku = [/https?:\/\/(?:www\.|m\.)?youtube\.com\/watch\?(?:[^#]*&)?v=([\w-]+)/i, /https?:\/\/(?:www\.)?youtube\.com\/embed\/([\w-]+)/i, /https?:\/\/youtu\.be\/([\w-]+)/i];
4444
+ var Au = [/https?:\/\/player\.vimeo\.com\/video\/(\d+)/i, /https?:\/\/vimeo\.com\/(\d+)/i];
4445
+ var ju = (e6, t2) => {
4431
4446
  for (let n2 of e6) {
4432
4447
  let e7 = n2.exec(t2);
4433
4448
  if (e7) return e7[1];
4434
4449
  }
4435
4450
  };
4436
- var Du = (e6) => {
4437
- let t2 = Eu(wu, e6);
4451
+ var Mu = (e6) => {
4452
+ let t2 = ju(ku, e6);
4438
4453
  if (t2) return { provider: `youtube`, embedUrl: `https://www.youtube.com/embed/${t2}?autoplay=1` };
4439
- let n2 = Eu(Tu, e6);
4454
+ let n2 = ju(Au, e6);
4440
4455
  return n2 ? { provider: `vimeo`, embedUrl: `https://player.vimeo.com/video/${n2}?autoplay=1` } : { provider: `unknown` };
4441
4456
  };
4442
- var Ou = (e6, t2 = []) => {
4457
+ var Nu = (e6, t2 = []) => {
4443
4458
  let n2 = e6?.media;
4444
4459
  if (!n2 || n2.displayed === false) return;
4445
4460
  let r2 = tr(e6);
4446
4461
  if (r2) return { kind: `image`, image: r2 };
4447
- let i2 = n2.altText ?? e6?.title ?? ``, a2 = n2.wixMedia?.videoV2 ? Cu(n2.wixMedia.videoV2) : void 0;
4462
+ let i2 = n2.altText ?? e6?.title ?? ``, a2 = n2.wixMedia?.videoV2 ? Ou(n2.wixMedia.videoV2) : void 0;
4448
4463
  if (a2) return { kind: `wixVideo`, ...a2, sources: t2, altText: i2 };
4449
4464
  let o2 = n2.embedMedia?.video?.url;
4450
4465
  if (o2) {
4451
4466
  let { thumbnail: e7 } = n2.embedMedia ?? {};
4452
- return { kind: `embed`, videoUrl: o2, ...Du(o2), thumbnailUrl: e7?.url, thumbnailWidth: e7?.width, thumbnailHeight: e7?.height, altText: i2 };
4467
+ return { kind: `embed`, videoUrl: o2, ...Mu(o2), thumbnailUrl: e7?.url, thumbnailWidth: e7?.width, thumbnailHeight: e7?.height, altText: i2 };
4453
4468
  }
4454
4469
  };
4455
- var ku = (e6) => {
4470
+ var Pu = (e6) => {
4456
4471
  let t2 = tr(e6), n2 = e6?.media?.wixMedia?.videoV2;
4457
4472
  if (t2 || !n2) return t2;
4458
- let r2 = Cu(n2), i2 = er(r2?.posterUrl?.slice(35), e6?.media?.altText ?? e6?.title);
4473
+ let r2 = Ou(n2), i2 = er(r2?.posterUrl?.slice(35), e6?.media?.altText ?? e6?.title);
4459
4474
  return i2 && { ...i2, width: r2?.posterWidth ?? i2.width, height: r2?.posterHeight ?? i2.height };
4460
4475
  };
4461
- var Au = `2026-05-12T12:00:00.000Z`;
4462
- var ju = (e6) => ({ href: e6 ?? `#`, target: `_self` });
4463
- var Mu = (e6) => `https://static.wixstatic.com/media/${e6}/v1/fit/w_1200,h_1200,al_c,q_85/cover.jpg`;
4464
- var Nu = (e6) => {
4476
+ var Fu = `2026-05-12T12:00:00.000Z`;
4477
+ var Iu = (e6) => ({ href: e6 ?? `#`, target: `_self` });
4478
+ var Lu = (e6) => `https://static.wixstatic.com/media/${e6}/v1/fit/w_1200,h_1200,al_c,q_85/cover.jpg`;
4479
+ var Ru = (e6) => {
4465
4480
  if (!e6) return;
4466
4481
  let t2 = e6 instanceof Date ? e6 : new Date(e6);
4467
4482
  return Number.isFinite(t2.getTime()) ? t2.toISOString() : void 0;
4468
4483
  };
4469
- var Pu = (e6) => typeof e6 == `number` && e6 > 0 ? e6 : void 0;
4470
- var Fu = (e6) => e6.replace(/&/g, `&amp;`).replace(/</g, `&lt;`).replace(/>/g, `&gt;`).replace(/"/g, `&quot;`).replace(/'/g, `&#39;`);
4471
- var Q = (e6) => ({ text: e6, html: `<p>${Fu(e6)}</p>`, linkList: [] });
4484
+ var zu = (e6) => typeof e6 == `number` && e6 > 0 ? e6 : void 0;
4485
+ var Bu = (e6) => e6.replace(/&/g, `&amp;`).replace(/</g, `&lt;`).replace(/>/g, `&gt;`).replace(/"/g, `&quot;`).replace(/'/g, `&#39;`);
4486
+ var Q = (e6) => ({ text: e6, html: `<p>${Bu(e6)}</p>`, linkList: [] });
4472
4487
  var $ = { minutesToRead: 5, views: 120, comments: 4 };
4473
- var Iu = (e6) => {
4488
+ var Vu = (e6) => {
4474
4489
  let { metrics: t2 } = e6;
4475
4490
  return { views: typeof t2?.views == `number` ? t2.views : void 0, comments: typeof t2?.comments == `number` ? t2.comments : void 0 };
4476
4491
  };
4477
- var Lu = (e6, t2, n2, r2) => Q(e6 === void 0 ? n2 ? r2(t2) : `` : r2(e6));
4478
- var Ru = (e6, t2, n2, r2) => {
4492
+ var Hu = (e6, t2, n2, r2) => Q(e6 === void 0 ? n2 ? r2(t2) : `` : r2(e6));
4493
+ var Uu = (e6, t2, n2, r2) => {
4479
4494
  let i2 = e6.categoryIds?.map((e7) => t2[e7]).find(Boolean);
4480
4495
  return Q(i2 ?? (n2 ? r2.canvas.category() : ``));
4481
4496
  };
4482
- var zu = (e6, t2, n2, r2, i2 = {}, a2 = {}, o2 = false, s2 = {}, c2 = Date.now()) => {
4483
- let { _id: l2, memberId: u2 } = e6, d2 = u2 ? i2[u2] : void 0, f2 = Iu(e6);
4484
- return { _id: l2 ?? e6.slug ?? ``, title: e6.title ?? ``, itemTitle: Q(e6.title ?? ``), itemExcerpt: Q(e6.excerpt ?? ``), itemCoverImage: ku(e6), itemCoverMedia: Ou(e6, s2[l2 ?? ``] ?? []), itemLink: dr(e6, r2), itemPublishedDate: Q(yu(e6.firstPublishedDate ?? new Date(c2), n2, c2)), publishedDateValue: Nu(e6.firstPublishedDate), clockValue: c2, minutesToReadValue: Pu(e6.minutesToRead), initialViewCount: f2.views ?? (o2 ? $.views : void 0), initialCommentCount: f2.comments ?? (o2 ? $.comments : void 0), authorName: Q(d2?.profile?.nickname ?? ``), authorImage: mr(d2, t2.canvas.authorPhotoAlt()), timeToRead: Q(typeof e6.minutesToRead == `number` && e6.minutesToRead > 0 ? t2.timeToRead(e6.minutesToRead) : ``), viewCount: Lu(f2.views, $.views, o2, t2.viewCount), commentCount: Lu(f2.comments, $.comments, o2, t2.commentCount), itemCategoryLabel: Ru(e6, a2, o2, t2), recentPostItem: { title: e6.title ?? ``, slug: e6.slug ?? `` }, commentingEnabled: e6.commentingEnabled };
4497
+ var Wu = (e6, t2, n2, r2, i2 = {}, a2 = {}, o2 = false, s2 = {}, c2 = Date.now()) => {
4498
+ let { _id: l2, memberId: u2 } = e6, d2 = u2 ? i2[u2] : void 0, f2 = Vu(e6);
4499
+ return { _id: l2 ?? e6.slug ?? ``, title: e6.title ?? ``, itemTitle: Q(e6.title ?? ``), itemExcerpt: Q(e6.excerpt ?? ``), itemCoverImage: Pu(e6), itemCoverMedia: Nu(e6, s2[l2 ?? ``] ?? []), itemLink: dr(e6, r2), itemPublishedDate: Q(wu(e6.firstPublishedDate ?? new Date(c2), n2, c2)), publishedDateValue: Ru(e6.firstPublishedDate), clockValue: c2, minutesToReadValue: zu(e6.minutesToRead), initialViewCount: f2.views ?? (o2 ? $.views : void 0), initialCommentCount: f2.comments ?? (o2 ? $.comments : void 0), authorName: Q(d2?.profile?.nickname ?? ``), authorImage: mr(d2, t2.canvas.authorPhotoAlt()), timeToRead: Q(typeof e6.minutesToRead == `number` && e6.minutesToRead > 0 ? t2.timeToRead(e6.minutesToRead) : ``), viewCount: Hu(f2.views, $.views, o2, t2.viewCount), commentCount: Hu(f2.comments, $.comments, o2, t2.commentCount), itemCategoryLabel: Uu(e6, a2, o2, t2), recentPostItem: { title: e6.title ?? ``, slug: e6.slug ?? `` }, commentingEnabled: e6.commentingEnabled };
4485
4500
  };
4486
- var Bu = (e6, t2, n2 = []) => {
4487
- let r2 = Ou(e6, n2);
4501
+ var Gu = (e6, t2, n2 = []) => {
4502
+ let r2 = Nu(e6, n2);
4488
4503
  if (!r2) return;
4489
4504
  let i2 = dr(e6, t2), a2 = { slug: e6.slug ?? void 0, title: e6.title ?? ``, description: e6.excerpt ?? ``, ...i2 ? { action: { link: i2 } } : {} };
4490
4505
  if (r2.kind === `image`) return r2.image.url ? { ...a2, type: `image`, src: r2.image.url, width: r2.image.width, height: r2.image.height, parameters: { alt: r2.image.alt } } : void 0;
@@ -4494,78 +4509,78 @@ var Bu = (e6, t2, n2 = []) => {
4494
4509
  }
4495
4510
  if (r2.thumbnailUrl) return { ...a2, type: `image`, src: r2.thumbnailUrl, width: r2.thumbnailWidth, height: r2.thumbnailHeight, parameters: { alt: r2.altText } };
4496
4511
  };
4497
- var Vu = 3;
4498
- var Hu = [{ uri: `728f9d_a03266fe4a4d4651b9aa06077eef5d9c~mv2.png`, width: 2304, height: 1728 }, { uri: `728f9d_635778e429524b59856cb2a18ed0d4f8~mv2.jpg`, width: 2624, height: 1472 }, { uri: `728f9d_d6071d5e8a0544098238188bae67e5e4~mv2.png`, width: 2304, height: 1728 }];
4499
- var Uu = (e6, t2) => {
4500
- let { uri: n2, width: r2, height: i2 } = Hu[e6 % Hu.length];
4501
- return { uri: n2, url: Mu(n2), name: n2, width: r2, height: i2, alt: t2 };
4512
+ var Ku = 3;
4513
+ var qu = [{ uri: `728f9d_a03266fe4a4d4651b9aa06077eef5d9c~mv2.png`, width: 2304, height: 1728 }, { uri: `728f9d_635778e429524b59856cb2a18ed0d4f8~mv2.jpg`, width: 2624, height: 1472 }, { uri: `728f9d_d6071d5e8a0544098238188bae67e5e4~mv2.png`, width: 2304, height: 1728 }];
4514
+ var Ju = (e6, t2) => {
4515
+ let { uri: n2, width: r2, height: i2 } = qu[e6 % qu.length];
4516
+ return { uri: n2, url: Lu(n2), name: n2, width: r2, height: i2, alt: t2 };
4502
4517
  };
4503
- var Wu = (e6, t2) => {
4504
- let { uri: n2 } = Hu[(e6 + 1) % Hu.length];
4505
- return { uri: n2, url: Mu(n2), name: n2, width: 100, height: 100, alt: t2 };
4518
+ var Yu = (e6, t2) => {
4519
+ let { uri: n2 } = qu[(e6 + 1) % qu.length];
4520
+ return { uri: n2, url: Lu(n2), name: n2, width: 100, height: 100, alt: t2 };
4506
4521
  };
4507
- var Gu = (e6) => Array.from({ length: Vu }, (t2, n2) => {
4508
- let r2 = Uu(n2, e6.canvas.coverAlt());
4522
+ var Xu = (e6) => Array.from({ length: Ku }, (t2, n2) => {
4523
+ let r2 = Ju(n2, e6.canvas.coverAlt());
4509
4524
  return { type: `image`, src: r2.url ?? ``, title: e6.canvas.postTitle(), description: e6.canvas.excerpt(), width: r2.width, height: r2.height, parameters: { alt: r2.alt } };
4510
4525
  });
4511
- var Ku = (e6, t2, n2, r2 = Date.now()) => Array.from({ length: Vu }, (i2, a2) => {
4512
- let o2 = e6.canvas.postTitle(), s2 = Uu(a2, e6.canvas.coverAlt());
4513
- return { _id: `placeholder-${a2}`, title: o2, itemTitle: Q(o2), itemExcerpt: Q(e6.canvas.excerpt()), itemCoverImage: s2, itemCoverMedia: { kind: `image`, image: s2 }, itemLink: ju(n2), itemPublishedDate: Q(yu(new Date(r2), t2, r2)), publishedDateValue: Au, clockValue: r2, minutesToReadValue: $.minutesToRead, initialViewCount: $.views, initialCommentCount: $.comments, authorName: Q(e6.canvas.authorName()), authorImage: Wu(a2, e6.canvas.authorPhotoAlt()), timeToRead: Q(e6.timeToRead($.minutesToRead)), viewCount: Q(e6.viewCount($.views)), commentCount: Q(e6.commentCount($.comments)), itemCategoryLabel: Q(e6.canvas.category()), recentPostItem: { title: o2, slug: `` }, commentingEnabled: void 0 };
4526
+ var Zu = (e6, t2, n2, r2 = Date.now()) => Array.from({ length: Ku }, (i2, a2) => {
4527
+ let o2 = e6.canvas.postTitle(), s2 = Ju(a2, e6.canvas.coverAlt());
4528
+ return { _id: `placeholder-${a2}`, title: o2, itemTitle: Q(o2), itemExcerpt: Q(e6.canvas.excerpt()), itemCoverImage: s2, itemCoverMedia: { kind: `image`, image: s2 }, itemLink: Iu(n2), itemPublishedDate: Q(wu(new Date(r2), t2, r2)), publishedDateValue: Fu, clockValue: r2, minutesToReadValue: $.minutesToRead, initialViewCount: $.views, initialCommentCount: $.comments, authorName: Q(e6.canvas.authorName()), authorImage: Yu(a2, e6.canvas.authorPhotoAlt()), timeToRead: Q(e6.timeToRead($.minutesToRead)), viewCount: Q(e6.viewCount($.views)), commentCount: Q(e6.commentCount($.comments)), itemCategoryLabel: Q(e6.canvas.category()), recentPostItem: { title: o2, slug: `` }, commentingEnabled: void 0 };
4514
4529
  });
4515
- var qu = n(void 0);
4516
- function Ju() {
4517
- let e6 = o(qu);
4530
+ var Qu = n(void 0);
4531
+ function $u() {
4532
+ let e6 = o(Qu);
4518
4533
  if (!e6) throw Error(`useBlogFeedContext must be used within a PostListProvider`);
4519
4534
  return e6;
4520
4535
  }
4521
- var Yu = 6;
4522
- var Xu = (e6) => typeof e6 == `number` && Number.isFinite(e6) && e6 >= 1 ? Math.min(Math.floor(e6), 100) : Yu;
4523
- var Zu = (e6) => typeof e6 == `number` && Number.isFinite(e6) && e6 >= 1 ? Math.floor(e6) : 0;
4524
- var Qu = (e6) => iu.includes(e6 ?? ``) ? e6 : `newest`;
4525
- var $u = { postsList: [], postGalleryItems: [], emptyState: null, hasError: false, hasMorePosts: false, isLoadingPosts: true, loadMorePosts: async () => {
4536
+ var ed = 6;
4537
+ var td = (e6) => typeof e6 == `number` && Number.isFinite(e6) && e6 >= 1 ? Math.min(Math.floor(e6), 100) : ed;
4538
+ var nd = (e6) => typeof e6 == `number` && Number.isFinite(e6) && e6 >= 1 ? Math.floor(e6) : 0;
4539
+ var rd = (e6) => cu.includes(e6 ?? ``) ? e6 : `newest`;
4540
+ var id = { postsList: [], postGalleryItems: [], emptyState: null, hasError: false, hasMorePosts: false, isLoadingPosts: true, loadMorePosts: async () => {
4526
4541
  }, filteredView: { kind: `pending` } };
4527
- var ed = { ...$u, isLoadingPosts: false, hasError: true };
4528
- var td = (e6, t2) => {
4542
+ var ad = { ...id, isLoadingPosts: false, hasError: true };
4543
+ var od = (e6, t2) => {
4529
4544
  if (e6.kind === `category` && t2.filterCategory) {
4530
4545
  let { label: e7, description: n2, coverImage: r2 } = t2.filterCategory, i2 = e7 ?? ``;
4531
4546
  return { kind: `category`, title: i2, description: n2 ?? ``, coverImage: er(r2, i2) };
4532
4547
  }
4533
4548
  return e6.kind === `tag` && t2.filterTag ? { kind: `tag`, title: t2.filterTag.label ?? `` } : { kind: `all` };
4534
4549
  };
4535
- var nd = (e6) => ({ page: e6, hasError: false });
4536
- var rd = () => ({ page: { ...Jl(), fetchedAt: Date.now() }, hasError: true });
4537
- var id = (e6) => {
4550
+ var sd = (e6) => ({ page: e6, hasError: false });
4551
+ var cd = () => ({ page: { ...Ql(), fetchedAt: Date.now() }, hasError: true });
4552
+ var ld = (e6) => {
4538
4553
  throw e6;
4539
4554
  };
4540
- var ad = (e6, t2) => Ln(e6, nd, t2 ? id : rd);
4541
- var od = ({ children: e6, firstPagePromise: t2, monitoringClient: n2, language: r2, route: i2, categoryId: o2, categorySlug: s2, tagSlug: d2, postIds: f2, pageSize: m2, postOffset: h2, sortOrder: g2, featuredOnly: _2 }) => {
4555
+ var ud = (e6, t2) => Ln(e6, sd, t2 ? ld : cd);
4556
+ var dd = ({ children: e6, firstPagePromise: t2, monitoringClient: n2, language: r2, route: i2, categoryId: o2, categorySlug: s2, tagSlug: d2, postIds: f2, pageSize: m2, postOffset: h2, sortOrder: g2, featuredOnly: _2 }) => {
4542
4557
  let { page: v2, hasError: y2 } = Fn(t2), b2 = Ar(v2.fetchedAt), x2 = Jr(), S2 = Pr();
4543
- Or(i2, v2, S2, n2), Ca(i2.kind === `category` ? v2.mismatchedCategory : void 0, r2, ru);
4544
- let { t: C2 } = Pc(), w2 = Vr(), T2 = c(() => pl(C2, w2), [C2, w2]), [E2, D2] = u(v2.posts), [ee2, te2] = u(v2.authorsByMemberId), [ne2, re2] = u(v2.categoryLabelsById), [ie2, ae2] = u(v2.videoSourcesByPostId), [oe2, se2] = u(v2.hasMore), [ce2, le2] = u(false), [O2, ue2] = u(y2), de2 = l(h2 + v2.posts.length), fe2 = l(v2.hasMore), k2 = l(null), pe2 = a(async () => {
4558
+ Or(i2, v2, S2, n2), Ca(i2.kind === `category` ? v2.mismatchedCategory : void 0, r2, su);
4559
+ let { t: C2 } = Pc(), w2 = Vr(), T2 = c(() => pl(C2, w2), [C2, w2]), [E2, ee2] = u(v2.posts), [D2, te2] = u(v2.authorsByMemberId), [ne2, re2] = u(v2.categoryLabelsById), [ie2, ae2] = u(v2.videoSourcesByPostId), [oe2, se2] = u(v2.hasMore), [ce2, le2] = u(false), [O2, ue2] = u(y2), de2 = l(h2 + v2.posts.length), fe2 = l(v2.hasMore), k2 = l(null), pe2 = a(async () => {
4545
4560
  if (k2.current) return k2.current;
4546
- if (fe2.current) return le2(true), k2.current = ou({ offset: de2.current, limit: m2, language: r2, categoryId: o2, ...s2 && { categorySlug: s2 }, ...d2 && { tagSlug: d2 }, ...f2 && { postIds: f2.split(`,`) }, sortOrder: g2, featuredOnly: _2, propagateErrors: true }).then((e7) => {
4547
- D2((t3) => [...t3, ...e7.posts]), te2((t3) => ({ ...t3, ...e7.authorsByMemberId })), re2((t3) => ({ ...t3, ...e7.categoryLabelsById })), ae2((t3) => ({ ...t3, ...e7.videoSourcesByPostId })), se2(e7.hasMore), fe2.current = e7.hasMore, de2.current += e7.posts.length, ue2(false);
4561
+ if (fe2.current) return le2(true), k2.current = du({ offset: de2.current, limit: m2, language: r2, categoryId: o2, ...s2 && { categorySlug: s2 }, ...d2 && { tagSlug: d2 }, ...f2 && { postIds: f2.split(`,`) }, sortOrder: g2, featuredOnly: _2, propagateErrors: true }).then((e7) => {
4562
+ ee2((t3) => [...t3, ...e7.posts]), te2((t3) => ({ ...t3, ...e7.authorsByMemberId })), re2((t3) => ({ ...t3, ...e7.categoryLabelsById })), ae2((t3) => ({ ...t3, ...e7.videoSourcesByPostId })), se2(e7.hasMore), fe2.current = e7.hasMore, de2.current += e7.posts.length, ue2(false);
4548
4563
  }).catch((e7) => {
4549
4564
  ue2(true), Tr(n2, e7, { feature: Sr.feed, action: `load-more-posts`, contexts: { feed: { offset: de2.current, pageSize: m2, categoryId: o2, categorySlug: s2, tagSlug: d2 } } });
4550
4565
  }).finally(() => {
4551
4566
  k2.current = null, le2(false);
4552
4567
  }), k2.current;
4553
4568
  }, [r2, o2, s2, d2, f2, m2, g2, _2, n2]), me2 = c(() => {
4554
- let e7 = E2.map((e8) => zu(e8, T2, w2, S2, ee2, ne2, x2, ie2, b2)), t3 = E2.map((e8) => Bu(e8, S2, ie2[e8._id ?? ``] ?? [])).filter((e8) => e8 !== void 0), n3 = x2 && !_2 && !o2 && !f2 && !s2 && !d2;
4555
- return { postsList: e7.length === 0 && n3 ? Ku(T2, w2, S2, b2) : e7, postGalleryItems: t3.length === 0 && n3 ? Gu(T2) : t3, emptyState: e7.length === 0 && !O2 ? T2.noPostsEmptyState() : null, hasError: O2, hasMorePosts: oe2, isLoadingPosts: ce2, loadMorePosts: pe2, filteredView: td(i2, v2) };
4556
- }, [i2, v2, E2, ee2, ne2, ie2, T2, w2, S2, x2, b2, O2, _2, o2, f2, s2, d2, oe2, ce2, pe2]);
4557
- return Lr(Fr.feedProvider, O2 ? `error` : E2.length > 0 ? `data` : `empty`), p(qu.Provider, { value: me2, children: e6 });
4569
+ let e7 = x2 && !_2 && !o2 && !f2 && !s2 && !d2, t3 = E2.length === 0 && e7 ? v2.demoPosts ?? [] : E2, n3 = t3.map((e8) => Wu(e8, T2, w2, S2, D2, ne2, x2, ie2, b2)), r3 = t3.map((e8) => Gu(e8, S2, ie2[e8._id ?? ``] ?? [])).filter((e8) => e8 !== void 0);
4570
+ return { postsList: n3.length === 0 && e7 ? Zu(T2, w2, S2, b2) : n3, postGalleryItems: r3.length === 0 && e7 ? Xu(T2) : r3, emptyState: E2.length === 0 && !O2 ? T2.noPostsEmptyState() : null, hasError: O2, hasMorePosts: oe2, isLoadingPosts: ce2, loadMorePosts: pe2, filteredView: od(i2, v2) };
4571
+ }, [i2, v2, E2, D2, ne2, ie2, T2, w2, S2, x2, b2, O2, _2, o2, f2, s2, d2, oe2, ce2, pe2]);
4572
+ return Lr(Fr.feedProvider, O2 ? `error` : E2.length > 0 ? `data` : `empty`), p(Qu.Provider, { value: me2, children: e6 });
4558
4573
  };
4559
- var sd = (e6, t2, n2, r2, i2, a2, o2, s2, c2) => `blog-builder:feed:${e6 ?? ``}|${t2 ?? ``}|c:${n2 ?? ``}|t:${r2 ?? ``}|p:${i2}|${a2}|${o2}|${s2}|${+!!c2}`;
4560
- function cd({ children: e6, categoryPicker: n2, postsPicker: r2, pageSize: i2, postOffset: a2, sortOrder: o2, featuredOnly: s2, liveRefreshGeneration: l2 = 0 }) {
4561
- let u2 = Br(), d2 = jr(), f2 = Wn(), h2 = f2.kind === `category` ? f2.slug : void 0, g2 = f2.kind === `tag` ? f2.slug : void 0, _2 = h2 || g2 ? void 0 : cu(n2), v2 = h2 || g2 ? `` : pu(r2).join(`,`), y2 = Xu(i2), b2 = Zu(a2), x2 = Qu(o2), S2 = s2 === true, C2 = Ta(), w2 = c(() => Cr(Nn), []), { i18n: T2, locale: E2 } = rl(dl), D2 = Nr(() => ({ language: u2, route: Vn(h2, g2), filterCategoryId: _2, filterPostIds: v2, categorySlug: h2, tagSlug: g2, pageSize: y2, postOffset: b2, sortOrder: x2, featuredOnly: S2, liveRefreshGeneration: l2, firstPagePromise: ad(Wc({ key: l2 > 0 ? null : sd(u2, _2, h2, g2, v2, y2, b2, x2, S2), warmupData: C2, fetchData: () => du(Er(w2, `feed-first-page`, { feature: Sr.feed, tags: { sortOrder: x2 } }, ou({ offset: b2, limit: y2, language: u2, categoryId: _2, ...h2 && { categorySlug: h2 }, ...g2 && { tagSlug: g2 }, ...v2 && { postIds: v2.split(`,`) }, sortOrder: x2, featuredOnly: S2, propagateErrors: true }))) }), d2) }), [u2, d2, _2, v2, h2, g2, y2, b2, x2, S2, l2, C2, w2]);
4562
- return p(Fc, { i18n: T2, children: m(t, { fallback: p(qu.Provider, { value: $u, children: e6 }), children: [p(nl, { i18n: T2, locale: E2 }), p(uu, { fallback: p(qu.Provider, { value: ed, children: e6 }), feature: Sr.feed, monitoringClient: w2, rethrow: d2, children: p(od, { firstPagePromise: D2.firstPagePromise, monitoringClient: w2, language: D2.language, route: D2.route, categoryId: D2.filterCategoryId, categorySlug: D2.categorySlug, tagSlug: D2.tagSlug, postIds: D2.filterPostIds, pageSize: D2.pageSize, postOffset: D2.postOffset, sortOrder: D2.sortOrder, featuredOnly: D2.featuredOnly, children: e6 }, `${sd(D2.language, D2.filterCategoryId, D2.categorySlug, D2.tagSlug, D2.filterPostIds, D2.pageSize, D2.postOffset, D2.sortOrder, D2.featuredOnly)}#${D2.liveRefreshGeneration}`) })] }) });
4574
+ var fd = (e6, t2, n2, r2, i2, a2, o2, s2, c2) => `blog-builder:feed:${e6 ?? ``}|${t2 ?? ``}|c:${n2 ?? ``}|t:${r2 ?? ``}|p:${i2}|${a2}|${o2}|${s2}|${+!!c2}`;
4575
+ function pd({ children: e6, categoryPicker: n2, postsPicker: r2, pageSize: i2, postOffset: a2, sortOrder: o2, featuredOnly: s2, liveRefreshGeneration: l2 = 0 }) {
4576
+ let u2 = Br(), d2 = jr(), f2 = Wn(), h2 = f2.kind === `category` ? f2.slug : void 0, g2 = f2.kind === `tag` ? f2.slug : void 0, _2 = h2 || g2 ? void 0 : pu(n2), v2 = h2 || g2 ? `` : vu(r2).join(`,`), y2 = td(i2), b2 = nd(a2), x2 = rd(o2), S2 = s2 === true, C2 = Jr() && !S2 && !_2 && !v2 && !h2 && !g2, w2 = Ta(), T2 = c(() => Cr(Nn), []), { i18n: E2, locale: ee2 } = rl(dl), D2 = Nr(() => ({ language: u2, route: Vn(h2, g2), filterCategoryId: _2, filterPostIds: v2, categorySlug: h2, tagSlug: g2, pageSize: y2, postOffset: b2, sortOrder: x2, featuredOnly: S2, liveRefreshGeneration: l2, firstPagePromise: ud(Wc({ key: l2 > 0 ? null : fd(u2, _2, h2, g2, v2, y2, b2, x2, S2), warmupData: w2, fetchData: () => gu(Er(T2, `feed-first-page`, { feature: Sr.feed, tags: { sortOrder: x2 } }, du({ offset: b2, limit: y2, language: u2, categoryId: _2, ...h2 && { categorySlug: h2 }, ...g2 && { tagSlug: g2 }, ...v2 && { postIds: v2.split(`,`) }, sortOrder: x2, featuredOnly: S2, propagateErrors: true }).then((e7) => C2 ? uu(e7, { limit: y2, offset: b2, language: u2, sortOrder: x2 }) : e7))) }), d2) }), [u2, d2, C2, _2, v2, h2, g2, y2, b2, x2, S2, l2, w2, T2]);
4577
+ return p(Fc, { i18n: E2, children: m(t, { fallback: p(Qu.Provider, { value: id, children: e6 }), children: [p(nl, { i18n: E2, locale: ee2 }), p(hu, { fallback: p(Qu.Provider, { value: ad, children: e6 }), feature: Sr.feed, monitoringClient: T2, rethrow: d2, children: p(dd, { firstPagePromise: D2.firstPagePromise, monitoringClient: T2, language: D2.language, route: D2.route, categoryId: D2.filterCategoryId, categorySlug: D2.categorySlug, tagSlug: D2.tagSlug, postIds: D2.filterPostIds, pageSize: D2.pageSize, postOffset: D2.postOffset, sortOrder: D2.sortOrder, featuredOnly: D2.featuredOnly, children: e6 }, `${fd(D2.language, D2.filterCategoryId, D2.categorySlug, D2.tagSlug, D2.filterPostIds, D2.pageSize, D2.postOffset, D2.sortOrder, D2.featuredOnly)}#${D2.liveRefreshGeneration}`) })] }) });
4563
4578
  }
4564
- var ld = En(`ada94d8c-4889-444e-b773-f1a875693fdb`);
4579
+ var md = En(`ada94d8c-4889-444e-b773-f1a875693fdb`);
4565
4580
  export {
4566
- cd as PostListProvider,
4567
- cd as default,
4568
- ld as injectAccessTokenGetter,
4569
- Ju as useBlogFeedContext
4581
+ pd as PostListProvider,
4582
+ pd as default,
4583
+ md as injectAccessTokenGetter,
4584
+ $u as useBlogFeedContext
4570
4585
  };
4571
- //# sourceMappingURL=context-blog-feed-context-provider.mjs.map
4586
+ //# sourceMappingURL=context-blog-feed.mjs.map