@wix/blog 1.0.729 → 1.0.731

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.
@@ -691,92 +691,92 @@ function Pt(e6, t2) {
691
691
  function P(e6, t2 = false) {
692
692
  return Pt(e6, t2);
693
693
  }
694
- function Ft(e6, t2) {
695
- let n2 = Lt(e6), r2 = Object.entries(n2).some(([e7, t3]) => e7.includes(`.`) || Array.isArray(t3) && t3.some((e8) => typeof e8 == `object`));
696
- return t2 && r2 ? new URLSearchParams({ ".r": zt(JSON.stringify(e6)) }) : Object.entries(n2).reduce((e7, [t3, n3]) => ((Array.isArray(n3) ? n3 : [n3]).forEach((r3) => {
694
+ function F(e6, t2) {
695
+ let n2 = It(e6), r2 = Object.entries(n2).some(([e7, t3]) => e7.includes(`.`) || Array.isArray(t3) && t3.some((e8) => typeof e8 == `object`));
696
+ return t2 && r2 ? new URLSearchParams({ ".r": Rt(JSON.stringify(e6)) }) : Object.entries(n2).reduce((e7, [t3, n3]) => ((Array.isArray(n3) ? n3 : [n3]).forEach((r3) => {
697
697
  r3 == null || Array.isArray(n3) && typeof r3 == `object` || e7.append(t3, r3);
698
698
  }), e7), new URLSearchParams());
699
699
  }
700
- function It(e6) {
701
- let t2 = Qt(Xt(e6.host), e6.domainToMappings);
702
- return cn(an(e6.protoPath, e6.data || {}), t2);
700
+ function Ft(e6) {
701
+ let t2 = Zt(Yt(e6.host), e6.domainToMappings);
702
+ return sn(rn(e6.protoPath, e6.data || {}), t2);
703
703
  }
704
- function Lt(e6, t2 = ``) {
704
+ function It(e6, t2 = ``) {
705
705
  let n2 = {};
706
706
  return Object.entries(e6).forEach(([e7, r2]) => {
707
- let i2 = typeof r2 == `object` && !!r2 && !Array.isArray(r2), a2 = Rt(t2, e7);
707
+ let i2 = typeof r2 == `object` && !!r2 && !Array.isArray(r2), a2 = Lt(t2, e7);
708
708
  if (i2) {
709
- let e8 = Lt(r2, a2);
709
+ let e8 = It(r2, a2);
710
710
  Object.assign(n2, e8);
711
711
  } else n2[a2] = r2;
712
712
  }), n2;
713
713
  }
714
- function Rt(e6, t2) {
714
+ function Lt(e6, t2) {
715
715
  return `${e6}${e6 ? `.` : ``}${t2}`;
716
716
  }
717
- var zt = (e6) => {
717
+ var Rt = (e6) => {
718
718
  let t2 = new TextEncoder().encode(e6);
719
719
  return (typeof btoa < `u` ? btoa(String.fromCodePoint(...t2)) : Buffer.from(e6, `utf-8`).toString(`base64`)).replace(/=/g, ``).replace(/\+/g, `-`).replace(/\//g, `_`);
720
720
  };
721
- var Bt = [`wix.com`, `editorx.com`];
722
- var Vt = `_`;
723
- var Ht = `*.`;
724
- var Ut = RegExp(`\\.(${Bt.join(`|`)})$`);
725
- var Wt = [`42.wixprod.net`, `uw2-edt-1.wixprod.net`, `virginia-edt.wixprod.net`];
726
- var Gt = { "payments.base44.com": `manage.wix.com`, "create.editorx.com": `editor.editorx.com` };
727
- var Kt = `dev.wix-code.com`;
728
- var qt = /{(.*)}/;
729
- var Jt = RegExp(`\\.(${Wt.join(`|`)})$`);
730
- var Yt = RegExp(`.*\\.${Kt}$`);
731
- function Xt(e6) {
732
- return Zt(e6).replace(Ut, `._base_domain_`).replace(Jt, `._api_base_domain_`).replace(Yt, `*.dev.wix-code.com`);
721
+ var zt = [`wix.com`, `editorx.com`];
722
+ var Bt = `_`;
723
+ var Vt = `*.`;
724
+ var Ht = RegExp(`\\.(${zt.join(`|`)})$`);
725
+ var Ut = [`42.wixprod.net`, `uw2-edt-1.wixprod.net`, `virginia-edt.wixprod.net`];
726
+ var Wt = { "payments.base44.com": `manage.wix.com`, "create.editorx.com": `editor.editorx.com` };
727
+ var Gt = `dev.wix-code.com`;
728
+ var Kt = /{(.*)}/;
729
+ var qt = RegExp(`\\.(${Ut.join(`|`)})$`);
730
+ var Jt = RegExp(`.*\\.${Gt}$`);
731
+ function Yt(e6) {
732
+ return Xt(e6).replace(Ht, `._base_domain_`).replace(qt, `._api_base_domain_`).replace(Jt, `*.dev.wix-code.com`);
733
733
  }
734
- function Zt(e6) {
735
- return Gt[e6] ?? e6;
734
+ function Xt(e6) {
735
+ return Wt[e6] ?? e6;
736
736
  }
737
- function Qt(e6, t2) {
737
+ function Zt(e6, t2) {
738
738
  let n2 = t2[e6];
739
739
  if (n2) return n2;
740
- let r2 = $t(e6, t2) ?? en(e6, t2);
740
+ let r2 = Qt(e6, t2) ?? $t(e6, t2);
741
741
  if (!r2) {
742
- if (nn(e6)) {
743
- let e7 = t2[rn];
742
+ if (tn(e6)) {
743
+ let e7 = t2[nn];
744
744
  if (e7) return e7;
745
745
  }
746
- let n3 = t2[Vt];
746
+ let n3 = t2[Bt];
747
747
  if (n3) return n3;
748
748
  }
749
749
  return r2 ?? [];
750
750
  }
751
- function $t(e6, t2) {
751
+ function Qt(e6, t2) {
752
752
  return Object.entries(t2).find(([t3]) => {
753
753
  let [, ...n2] = e6.split(`.`);
754
754
  return n2.join(`.`) === t3;
755
755
  })?.[1];
756
756
  }
757
- function en(e6, t2) {
758
- let [n2] = Object.entries(t2).filter(([t3]) => tn(e6, t3)).sort(([e7], [t3]) => t3.length - e7.length);
757
+ function $t(e6, t2) {
758
+ let [n2] = Object.entries(t2).filter(([t3]) => en(e6, t3)).sort(([e7], [t3]) => t3.length - e7.length);
759
759
  if (!n2) return;
760
760
  let [, r2] = n2;
761
761
  return r2;
762
762
  }
763
- function tn(e6, t2) {
764
- if (!t2.startsWith(Ht)) return false;
763
+ function en(e6, t2) {
764
+ if (!t2.startsWith(Vt)) return false;
765
765
  let n2 = t2.slice(1);
766
766
  return e6.length > n2.length && e6.endsWith(n2);
767
767
  }
768
- function nn(e6) {
768
+ function tn(e6) {
769
769
  return !!e6.match(/\._base_domain_$/);
770
770
  }
771
- var rn = `www._base_domain_`;
772
- function an(e6, t2) {
773
- return e6.split(`/`).map((e7) => on(e7, t2)).join(`/`);
771
+ var nn = `www._base_domain_`;
772
+ function rn(e6, t2) {
773
+ return e6.split(`/`).map((e7) => an(e7, t2)).join(`/`);
774
774
  }
775
- function on(e6, t2) {
776
- let n2 = e6.match(qt) || [], r2 = n2[1];
777
- return r2 ? sn(t2, r2, e6, e6.replace(n2[0], ``)) : e6;
775
+ function an(e6, t2) {
776
+ let n2 = e6.match(Kt) || [], r2 = n2[1];
777
+ return r2 ? on(t2, r2, e6, e6.replace(n2[0], ``)) : e6;
778
778
  }
779
- function sn(e6, t2, n2, r2) {
779
+ function on(e6, t2, n2, r2) {
780
780
  let i2 = e6;
781
781
  for (let e7 of t2.split(`.`)) {
782
782
  if (!i2) return n2;
@@ -784,28 +784,28 @@ function sn(e6, t2, n2, r2) {
784
784
  }
785
785
  return `${i2}${r2}`;
786
786
  }
787
- function cn(e6, t2) {
787
+ function sn(e6, t2) {
788
788
  let n2 = t2?.find((t3) => e6.startsWith(t3.destPath));
789
789
  return n2 ? n2.srcPath + e6.slice(n2.destPath.length) : e6;
790
790
  }
791
- function ln(e6) {
791
+ function cn(e6) {
792
792
  return isFinite(e6) ? e6 : e6.toString();
793
793
  }
794
- function F(e6) {
794
+ function I(e6) {
795
795
  return e6 === `NaN` ? NaN : e6 === `Infinity` ? 1 / 0 : e6 === `-Infinity` ? -1 / 0 : e6;
796
796
  }
797
- function un(e6) {
797
+ function ln(e6) {
798
798
  return Uint8Array.from(atob(e6), (e7) => e7.charCodeAt(0));
799
799
  }
800
- var dn = `modulepreload`;
801
- var fn = function(e6, t2) {
800
+ var un = `modulepreload`;
801
+ var dn = function(e6, t2) {
802
802
  return new URL(e6, t2).href;
803
803
  };
804
- var pn = {};
805
- var mn = function(e6) {
804
+ var fn = {};
805
+ var pn = function(e6) {
806
806
  return e6.pathname.endsWith(`.css`);
807
807
  };
808
- var hn = function(e6, t2, n2) {
808
+ var mn = function(e6, t2, n2) {
809
809
  if (t2 in e6) return e6[t2];
810
810
  let r2 = n2();
811
811
  if (!r2) {
@@ -819,7 +819,7 @@ var hn = function(e6, t2, n2) {
819
819
  });
820
820
  return e6[t2] = i2, i2;
821
821
  };
822
- var I = function(e6, t2, n2) {
822
+ var L = function(e6, t2, n2) {
823
823
  let r2 = Promise.resolve();
824
824
  if (t2 && t2.length > 0) {
825
825
  let o3 = function(e8) {
@@ -830,9 +830,9 @@ var I = function(e6, t2, n2) {
830
830
  var o2 = o3, s2 = s3;
831
831
  let e7, i3 = document.querySelector(`meta[property=csp-nonce]`), a2 = i3?.nonce || i3?.getAttribute(`nonce`);
832
832
  r2 = o3(t2.map((t3) => {
833
- t3 = fn(t3, n2);
834
- let r3 = s3(t3), i4 = mn(r3);
835
- return hn(pn, r3.href, () => {
833
+ t3 = dn(t3, n2);
834
+ let r3 = s3(t3), i4 = pn(r3);
835
+ return mn(fn, r3.href, () => {
836
836
  if (e7 === void 0) {
837
837
  e7 = { all: /* @__PURE__ */ new Set(), styles: /* @__PURE__ */ new Set() };
838
838
  let t5 = document.getElementsByTagName(`link`);
@@ -843,7 +843,7 @@ var I = function(e6, t2, n2) {
843
843
  }
844
844
  if ((i4 ? e7.styles : e7.all).has(r3.href)) return;
845
845
  let t4 = document.createElement(`link`);
846
- if (t4.rel = i4 ? `stylesheet` : dn, i4 || (t4.as = `script`), t4.crossOrigin = ``, t4.href = r3.href, a2 && t4.setAttribute(`nonce`, a2), document.head.appendChild(t4), i4) return new Promise((e8, n3) => {
846
+ if (t4.rel = i4 ? `stylesheet` : un, i4 || (t4.as = `script`), t4.crossOrigin = ``, t4.href = r3.href, a2 && t4.setAttribute(`nonce`, a2), document.head.appendChild(t4), i4) return new Promise((e8, n3) => {
847
847
  t4.addEventListener(`load`, e8), t4.addEventListener(`error`, () => n3(Error(`Unable to preload CSS for ${r3}`)));
848
848
  });
849
849
  });
@@ -858,36 +858,36 @@ var I = function(e6, t2, n2) {
858
858
  return e6().catch(i2);
859
859
  });
860
860
  };
861
- var gn = `x-wix-currency`;
862
- var _n = () => {
863
- let e6 = wn(`currency`);
864
- if (e6) return { [gn]: e6 };
861
+ var hn = `x-wix-currency`;
862
+ var gn = () => {
863
+ let e6 = Cn(`currency`);
864
+ if (e6) return { [hn]: e6 };
865
865
  };
866
- var vn = `x-wix-linguist`;
867
- var yn = `00000000-0000-0000-0000-000000000000`;
868
- var bn = `false`;
869
- var xn = () => {
870
- let e6 = wn(`language`), t2 = wn(`locale`);
871
- if (e6) return { [vn]: [e6, t2 || e6, bn, yn].join(`|`) };
866
+ var _n = `x-wix-linguist`;
867
+ var vn = `00000000-0000-0000-0000-000000000000`;
868
+ var yn = `false`;
869
+ var bn = () => {
870
+ let e6 = Cn(`language`), t2 = Cn(`locale`);
871
+ if (e6) return { [_n]: [e6, t2 || e6, yn, vn].join(`|`) };
872
872
  };
873
- function Sn() {
873
+ function xn() {
874
874
  let e6 = null, t2 = null;
875
875
  return { promise: new Promise((n2, r2) => {
876
876
  e6 = n2, t2 = r2;
877
877
  }), resolve: e6, reject: t2 };
878
878
  }
879
- var Cn = () => (typeof window < `u` ? window.commonConfig : void 0) ?? globalThis.commonConfig;
880
- var wn = (e6) => Cn()?.[e6];
881
- var Tn = ({ createHost: e6 }) => ({ __type: `host`, create: (e7) => ({}), host: (t2) => {
882
- let { applicationId: n2, componentId: r2 } = t2 ?? {}, i2 = typeof window < `u` ? window.wixEmbedsAPI : void 0, a2 = e6(t2), o2 = Dn();
883
- return { ...a2, apiBaseUrl: o2, getMonitoringClient: i2?.getMonitoringClientFunction?.(n2, r2), essentials: { language: wn(`language`), locale: wn(`locale`), get passThroughHeaders() {
884
- let e7 = { ...xn(), ..._n() };
879
+ var Sn = () => (typeof window < `u` ? window.commonConfig : void 0) ?? globalThis.commonConfig;
880
+ var Cn = (e6) => Sn()?.[e6];
881
+ var wn = ({ createHost: e6 }) => ({ __type: `host`, create: (e7) => ({}), host: (t2) => {
882
+ let { applicationId: n2, componentId: r2 } = t2 ?? {}, i2 = typeof window < `u` ? window.wixEmbedsAPI : void 0, a2 = e6(t2), o2 = En();
883
+ return { ...a2, apiBaseUrl: o2, getMonitoringClient: i2?.getMonitoringClientFunction?.(n2, r2), essentials: { language: Cn(`language`), locale: Cn(`locale`), get passThroughHeaders() {
884
+ let e7 = { ...bn(), ...gn() };
885
885
  return Object.keys(e7).length > 0 ? e7 : void 0;
886
886
  } } };
887
887
  }, auth: (e7) => {
888
888
  let t2 = typeof window < `u` ? window.wixEmbedsAPI : void 0;
889
- !e7 && En() && (e7 = t2?.getAccessTokenFunction?.());
890
- let n2 = false, { resolve: r2, promise: i2 } = Sn();
889
+ !e7 && Tn() && (e7 = t2?.getAccessTokenFunction?.());
890
+ let n2 = false, { resolve: r2, promise: i2 } = xn();
891
891
  return { getAuthHeaders: async () => {
892
892
  if (!e7 && n2 && (e7 = await i2), !e7) throw Error(`Failed to resolve auth token`);
893
893
  return { headers: { Authorization: await e7() } };
@@ -895,37 +895,37 @@ var Tn = ({ createHost: e6 }) => ({ __type: `host`, create: (e7) => ({}), host:
895
895
  r2(e8);
896
896
  }) };
897
897
  } });
898
- function En() {
898
+ function Tn() {
899
899
  return typeof document < `u` && document.currentScript?.tagName === `SCRIPT`;
900
900
  }
901
- function Dn() {
901
+ function En() {
902
902
  let e6 = (typeof window < `u` ? window.wixEmbedsAPI : void 0)?.getExternalBaseUrl?.();
903
903
  if (!e6) return;
904
904
  let t2 = new URL(e6);
905
905
  return t2?.pathname && t2.pathname !== `/` ? `${t2.hostname}${t2.pathname}` : t2.hostname;
906
906
  }
907
- var On = ({ clientSdk: e6, applicationId: t2 }) => ({ invoke: async ({ namespace: n2, method: r2, args: i2 }) => {
907
+ var Dn = ({ clientSdk: e6, applicationId: t2 }) => ({ invoke: async ({ namespace: n2, method: r2, args: i2 }) => {
908
908
  if (!e6) throw Error(`Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction`);
909
909
  return e6.invoke({ namespace: n2, method: r2, args: i2, applicationId: t2, accessToken: `accessToken` });
910
910
  }, getAccessToken: () => {
911
911
  throw Error(`Not implemented`);
912
912
  }, observeState: () => ({ disconnect: () => {
913
913
  } }) });
914
- var kn = Tn({ createHost: function(e6) {
914
+ var On = wn({ createHost: function(e6) {
915
915
  let t2 = (typeof $wixContext < `u` ? $wixContext.clientSdk : void 0) ?? e6?.clientSdk ?? (typeof window < `u` ? window?.clientSdk : void 0), { applicationId: n2 } = e6 || {};
916
916
  if (!n2) throw Error(`"createHost" was called without a required field "applicationId"`);
917
- return { channel: On({ clientSdk: t2, applicationId: n2 }), close: () => {
917
+ return { channel: Dn({ clientSdk: t2, applicationId: n2 }), close: () => {
918
918
  } };
919
919
  } });
920
- var An = (e6, t2) => {
921
- let n2 = kn.host({ applicationId: e6, componentId: t2 }), r2 = kn.auth();
920
+ var kn = (e6, t2) => {
921
+ let n2 = On.host({ applicationId: e6, componentId: t2 }), r2 = On.auth();
922
922
  return Ke({ auth: r2, host: n2 }).enableContext(`module`), r2.getAccessTokenInjector();
923
923
  };
924
- var jn = (e6) => An(`14bcded7-0066-7c35-14d7-466cb3f09103`, e6);
925
- function Mn() {
924
+ var An = (e6) => kn(`14bcded7-0066-7c35-14d7-466cb3f09103`, e6);
925
+ function jn() {
926
926
  let e6 = typeof $wixContext < `u` && $wixContext.initWixModules ? $wixContext.initWixModules : globalThis.__wix_context__ !== void 0 && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
927
927
  if (e6) return { initWixModules(t3, n3) {
928
- return Nn(() => e6(t3, n3));
928
+ return Mn(() => e6(t3, n3));
929
929
  }, fetchWithAuth() {
930
930
  throw Error(`fetchWithAuth is not available in this context`);
931
931
  }, graphql() {
@@ -935,10 +935,10 @@ function Mn() {
935
935
  if (t2 || n2) return { initWixModules(e7, r2) {
936
936
  if (r2) {
937
937
  if (!n2) throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);
938
- return Nn(() => n2.use(e7));
938
+ return Mn(() => n2.use(e7));
939
939
  }
940
940
  if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
941
- return Nn(() => t2.use(e7));
941
+ return Mn(() => t2.use(e7));
942
942
  }, fetchWithAuth: (e7, n3) => {
943
943
  if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
944
944
  return t2.fetchWithAuth(e7, n3);
@@ -950,7 +950,7 @@ function Mn() {
950
950
  return t2.graphql(e7, n3, r2);
951
951
  } };
952
952
  }
953
- function Nn(e6) {
953
+ function Mn(e6) {
954
954
  let t2 = globalThis.__wix_context__, n2 = { client: y.client, elevatedClient: y.elevatedClient }, r2;
955
955
  globalThis.__wix_context__ = void 0, y.client = void 0, y.elevatedClient = void 0, typeof $wixContext < `u` && (r2 = { client: $wixContext?.client, elevatedClient: $wixContext?.elevatedClient }, delete $wixContext.client, delete $wixContext.elevatedClient);
956
956
  try {
@@ -959,17 +959,17 @@ function Nn(e6) {
959
959
  globalThis.__wix_context__ = t2, y.client = n2.client, y.elevatedClient = n2.elevatedClient, typeof $wixContext < `u` && ($wixContext.client = r2.client, $wixContext.elevatedClient = r2.elevatedClient);
960
960
  }
961
961
  }
962
- function Pn(e6, t2) {
962
+ function Nn(e6, t2) {
963
963
  return { ...e6, ...Object.fromEntries(t2.map((t3) => [t3, (...n2) => {
964
- let r2 = Mn();
964
+ let r2 = jn();
965
965
  if (!r2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
966
966
  return r2.initWixModules(e6)[t3].apply(void 0, n2);
967
967
  }])) };
968
968
  }
969
- function Fn(e6) {
970
- return Pn({ __type: `host`, create: (t2) => Object.entries(e6).reduce((e7, [n2, r2]) => ({ ...e7, [n2]: r2(t2) }), {}) }, Object.keys(e6));
969
+ function Pn(e6) {
970
+ return Nn({ __type: `host`, create: (t2) => Object.entries(e6).reduce((e7, [n2, r2]) => ({ ...e7, [n2]: r2(t2) }), {}) }, Object.keys(e6));
971
971
  }
972
- var In = class {
972
+ var Fn = class {
973
973
  constructor(e6) {
974
974
  this.message = e6, this.captureException = () => {
975
975
  console.error(this.message);
@@ -984,13 +984,13 @@ var In = class {
984
984
  };
985
985
  }
986
986
  };
987
- var Ln = (e6) => new In(e6);
988
- var Rn = Fn({ getMonitoringClient: (e6) => () => e6.getMonitoringClient ? e6.getMonitoringClient() : Ln(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`) });
989
- function zn(e6) {
987
+ var In = (e6) => new Fn(e6);
988
+ var Ln = Pn({ getMonitoringClient: (e6) => () => e6.getMonitoringClient ? e6.getMonitoringClient() : In(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`) });
989
+ function Rn(e6) {
990
990
  let t2 = Promise.resolve(e6);
991
991
  return t2.status = `fulfilled`, t2.value = e6, t2;
992
992
  }
993
- function Bn(e6) {
993
+ function zn(e6) {
994
994
  if (e6.status === `fulfilled`) return e6.value;
995
995
  throw e6.status === `rejected` ? e6.reason : (e6.status === `pending` || (e6.status = `pending`, e6.then((t2) => {
996
996
  e6.status = `fulfilled`, e6.value = t2;
@@ -998,17 +998,17 @@ function Bn(e6) {
998
998
  e6.status = `rejected`, e6.reason = t2;
999
999
  })), e6);
1000
1000
  }
1001
- var Vn = /* @__PURE__ */ new WeakMap();
1002
- function Hn(e6, t2, n2) {
1003
- let r2 = Vn.get(e6);
1004
- r2 || (r2 = /* @__PURE__ */ new WeakMap(), Vn.set(e6, r2));
1001
+ var Bn = /* @__PURE__ */ new WeakMap();
1002
+ function Vn(e6, t2, n2) {
1003
+ let r2 = Bn.get(e6);
1004
+ r2 || (r2 = /* @__PURE__ */ new WeakMap(), Bn.set(e6, r2));
1005
1005
  let i2 = r2.get(t2);
1006
1006
  i2 || (i2 = /* @__PURE__ */ new WeakMap(), r2.set(t2, i2));
1007
1007
  let a2 = i2.get(n2);
1008
1008
  if (!a2) {
1009
- if (e6.status === `fulfilled`) a2 = zn(t2(e6.value));
1009
+ if (e6.status === `fulfilled`) a2 = Rn(t2(e6.value));
1010
1010
  else if (e6.status === `rejected`) try {
1011
- a2 = zn(n2(e6.reason));
1011
+ a2 = Rn(n2(e6.reason));
1012
1012
  } catch {
1013
1013
  a2 = e6.then(t2, n2);
1014
1014
  }
@@ -1017,88 +1017,111 @@ function Hn(e6, t2, n2) {
1017
1017
  }
1018
1018
  return a2;
1019
1019
  }
1020
- function L(e6) {
1020
+ function R(e6) {
1021
1021
  return e6;
1022
1022
  }
1023
- var Un = L(`@wix/site-service-url`);
1024
- var Wn = `post`;
1025
- var R = { kind: `all` };
1023
+ var Hn = R(`@wix/site-service-url`);
1024
+ var Un = `post`;
1025
+ var Wn = { kind: `all` };
1026
1026
  var Gn = (e6) => {
1027
1027
  let t2 = e6.split(`/`).filter(Boolean);
1028
- if (t2.length < 2) return R;
1028
+ if (t2.length < 2) return Wn;
1029
1029
  let [n2, r2] = t2.slice(-2), i2;
1030
1030
  try {
1031
1031
  i2 = decodeURIComponent(r2);
1032
1032
  } catch {
1033
1033
  i2 = r2;
1034
1034
  }
1035
- return i2 ? n2 === `category` ? { kind: `category`, slug: i2 } : n2 === `tag` ? { kind: `tag`, slug: i2 } : R : R;
1035
+ return i2 ? n2 === `category` ? { kind: `category`, slug: i2 } : n2 === `tag` ? { kind: `tag`, slug: i2 } : Wn : Wn;
1036
1036
  };
1037
- var Kn = (e6, t2) => e6 ? { kind: `category`, slug: e6 } : t2 ? { kind: `tag`, slug: t2 } : R;
1037
+ var Kn = (e6, t2) => e6 ? { kind: `category`, slug: e6 } : t2 ? { kind: `tag`, slug: t2 } : Wn;
1038
1038
  var qn = (e6) => {
1039
- if (!e6) return R;
1039
+ if (!e6) return Wn;
1040
1040
  try {
1041
1041
  return Gn(new URL(e6).pathname);
1042
1042
  } catch {
1043
- return R;
1043
+ return Wn;
1044
1044
  }
1045
1045
  };
1046
1046
  var Jn = { kind: `all` };
1047
1047
  var Yn = () => {
1048
1048
  let e6, t2 = false;
1049
1049
  try {
1050
- e6 = f(Un).currentUrl;
1050
+ e6 = f(Hn).currentUrl;
1051
1051
  } catch {
1052
1052
  t2 = true;
1053
1053
  }
1054
1054
  let n2 = c(() => qn(e6), [e6]);
1055
1055
  return t2 ? Jn : n2;
1056
1056
  };
1057
- var Xn = L(`seo/seo-service`);
1058
- var Zn = L(`@wix/site-service-renderer-configuration`);
1059
- var Qn = L(`@wix/site-service-rendering-context`);
1060
- var $n = `https://static.wixstatic.com/media/`;
1061
- var er = `wix:image://`;
1062
- var tr = 1200;
1063
- var nr = 800;
1064
- var rr = (e6) => {
1057
+ var Xn = R(`seo/seo-service`);
1058
+ var Zn = R(`@wix/site-service-renderer-configuration`);
1059
+ var Qn = R(`@wix/site-service-rendering-context`);
1060
+ var $n = R(`@wix/site-service-editor-context`);
1061
+ var er = () => {
1062
+ try {
1063
+ return !!f($n).previewMode;
1064
+ } catch {
1065
+ return false;
1066
+ }
1067
+ };
1068
+ var tr = n({ isEditor: false, isPreview: false });
1069
+ var nr = () => o(tr);
1070
+ var rr = ({ isEditor: e6, isPreview: t2 }) => e6 && !t2;
1071
+ var ir = () => {
1072
+ try {
1073
+ let { SSR: e6, SEO: t2 } = f(Qn);
1074
+ return e6 || t2;
1075
+ } catch {
1076
+ return false;
1077
+ }
1078
+ };
1079
+ var ar = () => {
1080
+ let e6 = ir();
1081
+ return rr(nr()) && !e6;
1082
+ };
1083
+ var or = `https://static.wixstatic.com/media/`;
1084
+ var sr = `wix:image://`;
1085
+ var cr = 1200;
1086
+ var lr = 800;
1087
+ var ur = (e6) => {
1065
1088
  if (!e6) return;
1066
1089
  let t2 = Number.parseInt(e6, 10);
1067
1090
  return Number.isFinite(t2) && t2 > 0 ? t2 : void 0;
1068
1091
  };
1069
- var ir = (e6) => {
1070
- if (!e6.startsWith(er)) {
1092
+ var dr = (e6) => {
1093
+ if (!e6.startsWith(sr)) {
1071
1094
  let t3 = e6.split(/[?#]/)[0];
1072
1095
  return t3 ? { uri: t3 } : void 0;
1073
1096
  }
1074
1097
  let [t2, n2] = e6.slice(12).split(`#`), [, r2, i2] = t2.split(`/`).filter(Boolean);
1075
1098
  if (!r2) return;
1076
1099
  let a2 = new URLSearchParams(n2 ?? ``);
1077
- return { uri: decodeURIComponent(r2), name: i2 ? decodeURIComponent(i2) : void 0, width: rr(a2.get(`originWidth`)), height: rr(a2.get(`originHeight`)) };
1100
+ return { uri: decodeURIComponent(r2), name: i2 ? decodeURIComponent(i2) : void 0, width: ur(a2.get(`originWidth`)), height: ur(a2.get(`originHeight`)) };
1078
1101
  };
1079
- var ar = (e6, t2) => {
1102
+ var fr = (e6, t2) => {
1080
1103
  if (!e6) return;
1081
- let n2 = ir(e6);
1104
+ let n2 = dr(e6);
1082
1105
  if (!n2) return;
1083
1106
  let r2 = n2.name ?? n2.uri;
1084
- return { uri: n2.uri, url: `${$n}${n2.uri}`, name: r2, width: n2.width ?? tr, height: n2.height ?? nr, alt: t2 ?? r2 };
1107
+ return { uri: n2.uri, url: `${or}${n2.uri}`, name: r2, width: n2.width ?? cr, height: n2.height ?? lr, alt: t2 ?? r2 };
1085
1108
  };
1086
- var or = (e6) => {
1109
+ var pr = (e6) => {
1087
1110
  let t2 = e6?.media?.wixMedia?.image;
1088
1111
  if (!t2) return;
1089
- let n2 = ir(t2);
1112
+ let n2 = dr(t2);
1090
1113
  if (!n2) return;
1091
1114
  let r2 = n2.name ?? n2.uri;
1092
- return { uri: n2.uri, url: `${$n}${n2.uri}`, name: r2, width: n2.width ?? tr, height: n2.height ?? nr, alt: e6?.media?.altText ?? e6?.title ?? r2 };
1115
+ return { uri: n2.uri, url: `${or}${n2.uri}`, name: r2, width: n2.width ?? cr, height: n2.height ?? lr, alt: e6?.media?.altText ?? e6?.title ?? r2 };
1093
1116
  };
1094
- var sr = `14bcded7-0066-7c35-14d7-466cb3f09103`;
1095
- var cr = `builder-post`;
1096
- var lr = `__blog_unknown_section__`;
1097
- var ur = (e6) => {
1117
+ var mr = `14bcded7-0066-7c35-14d7-466cb3f09103`;
1118
+ var hr = `builder-post`;
1119
+ var gr = `__blog_unknown_section__`;
1120
+ var _r = (e6) => {
1098
1121
  let t2;
1099
1122
  try {
1100
- let n3 = e6.appSectionRelativeUrl(sr, cr);
1101
- if (t2 = e6.appSectionRelativeUrl(sr, cr, true), n3 === e6.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`, lr) && !n3?.endsWith(`/post-page`) && t2 === n3) return;
1123
+ let n3 = e6.appSectionRelativeUrl(mr, hr);
1124
+ if (t2 = e6.appSectionRelativeUrl(mr, hr, true), n3 === e6.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`, gr) && !n3?.endsWith(`/post-page`) && t2 === n3) return;
1102
1125
  } catch {
1103
1126
  return;
1104
1127
  }
@@ -1106,12 +1129,12 @@ var ur = (e6) => {
1106
1129
  let n2 = t2.split(`/`).filter(Boolean);
1107
1130
  return n2[n2.length - 1] === `post-page` && n2.pop(), n2.length > 0 ? n2.join(`/`) : void 0;
1108
1131
  };
1109
- var dr = (e6) => `${e6}/${Wn}`;
1110
- var fr = (e6) => {
1111
- let t2 = ur(e6);
1112
- if (t2 && e6.siteUrl) return `${e6.siteUrl.replace(/\/+$/, ``)}/${dr(t2)}`;
1132
+ var vr = (e6) => `${e6}/${Un}`;
1133
+ var yr = (e6) => {
1134
+ let t2 = _r(e6);
1135
+ if (t2 && e6.siteUrl) return `${e6.siteUrl.replace(/\/+$/, ``)}/${vr(t2)}`;
1113
1136
  };
1114
- var pr = (e6, t2) => {
1137
+ var br = (e6, t2) => {
1115
1138
  if (!e6 || !t2) return;
1116
1139
  let n2;
1117
1140
  try {
@@ -1125,14 +1148,14 @@ var pr = (e6, t2) => {
1125
1148
  if (r2.endsWith(t3) && i2.endsWith(`/post`)) return `${n2.origin}${i2}`;
1126
1149
  }
1127
1150
  };
1128
- var mr = (e6) => {
1151
+ var xr = (e6) => {
1129
1152
  if (!e6) return;
1130
1153
  if (typeof e6 == `string`) return e6;
1131
1154
  let { base: t2, path: n2 } = e6;
1132
1155
  return t2 ? `${t2.replace(/\/+$/, ``)}${n2 ?? ``}` : void 0;
1133
1156
  };
1134
- var hr = (e6, t2) => {
1135
- let n2 = mr(e6.url), r2 = `/${Wn}`;
1157
+ var Sr = (e6, t2) => {
1158
+ let n2 = xr(e6.url), r2 = `/${Un}`;
1136
1159
  if (!n2 || !t2?.endsWith(r2)) return;
1137
1160
  let i2, a2;
1138
1161
  try {
@@ -1145,23 +1168,23 @@ var hr = (e6, t2) => {
1145
1168
  let u2 = o2.startsWith(`${c2}/`), d2 = o2.split(`/`), { slug: f2 } = e6, p2 = f2 ? d2.includes(f2) || d2.includes(encodeURIComponent(f2)) : false, m2 = i2.origin === a2.origin && o2.startsWith(`${l2}/`) && p2;
1146
1169
  return u2 || m2 ? n2 : void 0;
1147
1170
  };
1148
- var gr = (e6, t2) => {
1149
- let n2 = hr(e6, t2);
1171
+ var Cr = (e6, t2) => {
1172
+ let n2 = Sr(e6, t2);
1150
1173
  if (n2) return { href: n2, target: `_self` };
1151
1174
  if (t2 && e6.slug) return { href: `${t2}/${encodeURIComponent(e6.slug)}`, target: `_self` };
1152
- let r2 = mr(e6.url);
1175
+ let r2 = xr(e6.url);
1153
1176
  return r2 ? { href: r2, target: `_self` } : void 0;
1154
1177
  };
1155
- var _r = `https://static.wixstatic.com/media/`;
1156
- var vr = 100;
1157
- var yr = (e6, t2 = ``) => {
1178
+ var wr = `https://static.wixstatic.com/media/`;
1179
+ var Tr = 100;
1180
+ var Er = (e6, t2 = ``) => {
1158
1181
  let n2 = e6?.profile?.photo;
1159
1182
  if (!n2?.url) return;
1160
- let r2 = e6?.profile?.nickname, { _id: i2 } = n2, a2 = i2 || (n2.url.startsWith(_r) ? n2.url.slice(35).split(/[?#]/)[0] : void 0);
1161
- return { ...a2 && { uri: a2 }, url: n2.url, name: r2 ?? a2 ?? `author-photo`, width: n2.width || vr, height: n2.height || vr, alt: r2 ?? t2 };
1183
+ let r2 = e6?.profile?.nickname, { _id: i2 } = n2, a2 = i2 || (n2.url.startsWith(wr) ? n2.url.slice(35).split(/[?#]/)[0] : void 0);
1184
+ return { ...a2 && { uri: a2 }, url: n2.url, name: r2 ?? a2 ?? `author-photo`, width: n2.width || Tr, height: n2.height || Tr, alt: r2 ?? t2 };
1162
1185
  };
1163
- var br = (e6, t2 = []) => (e6.translations ?? []).flatMap(({ language: e7, url: n2 }) => !e7 || !n2 ? [] : [{ url: n2, langCode: (t2.find(({ id: t3 }) => t3 === e7) ?? t2.find(({ languageCode: t3 }) => t3 === e7))?.regionalFormat || e7 }]);
1164
- var xr = (e6, t2) => {
1186
+ var Dr = (e6, t2 = []) => (e6.translations ?? []).flatMap(({ language: e7, url: n2 }) => !e7 || !n2 ? [] : [{ url: n2, langCode: (t2.find(({ id: t3 }) => t3 === e7) ?? t2.find(({ languageCode: t3 }) => t3 === e7))?.regionalFormat || e7 }]);
1187
+ var Or = (e6, t2) => {
1165
1188
  try {
1166
1189
  let n2 = new URL(t2 ?? ``).searchParams.get(`lang`);
1167
1190
  if (!n2) return e6;
@@ -1171,57 +1194,57 @@ var xr = (e6, t2) => {
1171
1194
  return e6;
1172
1195
  }
1173
1196
  };
1174
- var Sr = { totalPages: 1, currentPage: 1 };
1175
- var Cr = (e6) => {
1197
+ var kr = { totalPages: 1, currentPage: 1 };
1198
+ var Ar = (e6) => {
1176
1199
  if (e6) try {
1177
1200
  let t2 = new URL(e6);
1178
- return xr(`${t2.origin}${t2.pathname.replace(/\/+$/, ``)}`, e6);
1201
+ return Or(`${t2.origin}${t2.pathname.replace(/\/+$/, ``)}`, e6);
1179
1202
  } catch {
1180
1203
  return;
1181
1204
  }
1182
1205
  };
1183
- var wr = (e6, t2, n2, r2) => {
1184
- let i2 = e6.label ?? ``, a2 = ar(e6.coverImage, i2);
1185
- return { category: { ...e6._id && { id: e6._id }, title: e6.title || i2, label: i2, description: e6.description ?? ``, canonicalUrl: t2, items: { numberOfItems: e6.postCount ?? n2.length }, pagination: Sr, ...a2?.width && a2.height && { mainImage: { url: a2.url, width: a2.width, height: a2.height, hasImage: true } }, ...e6.language && { language: e6.language }, translatedPages: br(e6, r2) } };
1206
+ var jr = (e6, t2, n2, r2) => {
1207
+ let i2 = e6.label ?? ``, a2 = fr(e6.coverImage, i2);
1208
+ return { category: { ...e6._id && { id: e6._id }, title: e6.title || i2, label: i2, description: e6.description ?? ``, canonicalUrl: t2, items: { numberOfItems: e6.postCount ?? n2.length }, pagination: kr, ...a2?.width && a2.height && { mainImage: { url: a2.url, width: a2.width, height: a2.height, hasImage: true } }, ...e6.language && { language: e6.language }, translatedPages: Dr(e6, r2) } };
1186
1209
  };
1187
- var Tr = (e6) => {
1210
+ var Mr = (e6) => {
1188
1211
  if (!e6) return;
1189
1212
  let t2 = new Date(e6);
1190
1213
  return Number.isNaN(t2.getTime()) ? void 0 : t2.toISOString();
1191
1214
  };
1192
- var Er = (e6, t2, n2, r2) => {
1215
+ var Nr = (e6, t2, n2, r2) => {
1193
1216
  let i2 = e6.label ?? ``;
1194
1217
  return { tag: { name: i2, title: i2, fullUrl: t2, listItems: n2.flatMap((e7) => {
1195
- let t3 = gr(e7, r2)?.href;
1218
+ let t3 = Cr(e7, r2)?.href;
1196
1219
  return t3 ? [`${t3.replace(/\/+$/, ``)}/`] : [];
1197
- }), items: { numberOfItems: n2.length }, created: Tr(e6._createdDate), postCount: e6.publishedPostCount ?? e6.postCount, ...e6.slug && { slug: e6.slug }, ...e6.language && { language: e6.language }, pagination: Sr } };
1220
+ }), items: { numberOfItems: n2.length }, created: Mr(e6._createdDate), postCount: e6.publishedPostCount ?? e6.postCount, ...e6.slug && { slug: e6.slug }, ...e6.language && { language: e6.language }, pagination: kr } };
1198
1221
  };
1199
- var Dr = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
1200
- var Or = (e6) => {
1222
+ var Pr = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
1223
+ var Fr = (e6) => {
1201
1224
  try {
1202
1225
  return e6.getMonitoringClient?.() ?? null;
1203
1226
  } catch {
1204
1227
  return null;
1205
1228
  }
1206
1229
  };
1207
- var kr = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
1208
- function Ar(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
1209
- let s2 = kr(e6, `captureException`);
1230
+ var Ir = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
1231
+ function Lr(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
1232
+ let s2 = Ir(e6, `captureException`);
1210
1233
  if (!s2) return;
1211
1234
  let c2 = t2 instanceof Error ? t2 : Error(String(t2));
1212
1235
  s2.captureException(c2, { level: i2, tags: { feature: n2, action: r2, ...a2 }, ...o2 ? { contexts: o2 } : {} });
1213
1236
  }
1214
- function jr(e6, t2, { feature: n2, tags: r2 }, i2) {
1215
- let a2 = kr(e6, `startSpanManual`);
1237
+ function Rr(e6, t2, { feature: n2, tags: r2 }, i2) {
1238
+ let a2 = Ir(e6, `startSpanManual`);
1216
1239
  if (!a2) return i2;
1217
1240
  let o2 = a2.startSpanManual({ name: t2, tags: { feature: n2, ...r2 } });
1218
1241
  return i2.then(() => o2.end(), (e7) => o2.fail(e7 instanceof Error ? e7 : Error(String(e7)))), i2;
1219
1242
  }
1220
- var Mr = /* @__PURE__ */ new WeakSet();
1221
- var Nr = (e6, t2, n2, r2) => {
1243
+ var zr = /* @__PURE__ */ new WeakSet();
1244
+ var Br = (e6, t2, n2, r2) => {
1222
1245
  let i2;
1223
1246
  try {
1224
- i2 = { seo: f(Xn), url: f(Un), renderingContext: f(Qn) };
1247
+ i2 = { seo: f(Xn), url: f(Hn) };
1225
1248
  } catch {
1226
1249
  return;
1227
1250
  }
@@ -1230,71 +1253,72 @@ var Nr = (e6, t2, n2, r2) => {
1230
1253
  a2 = f(Zn).locales;
1231
1254
  } catch {
1232
1255
  }
1233
- if (Mr.has(t2) || e6.kind === `all` || !i2.renderingContext.SSR) return;
1234
- let o2 = Cr(i2.url.currentUrl);
1235
- o2 && (e6.kind === `category` && t2.filterCategory ? (Mr.add(t2), i2.seo.setSeoEntity({ itemType: `BLOG_CATEGORY`, itemData: wr(t2.filterCategory, o2, t2.posts, a2), seoData: t2.filterCategory.seoData }).catch((t3) => {
1236
- Ar(r2, t3, { feature: Dr.seo, action: `set-category-seo-entity`, contexts: { seo: { slug: e6.kind === `category` ? e6.slug : void 0 } } });
1237
- })) : e6.kind === `tag` && t2.filterTag && (Mr.add(t2), i2.seo.setSeoEntity({ itemType: `BLOG_TAGS`, itemData: Er(t2.filterTag, o2, t2.posts, n2), asNewPage: true }).catch((t3) => {
1238
- Ar(r2, t3, { feature: Dr.seo, action: `set-tag-seo-entity`, contexts: { seo: { slug: e6.kind === `tag` ? e6.slug : void 0 } } });
1256
+ let { isEditor: o2 } = nr();
1257
+ if (zr.has(t2) || e6.kind === `all` || o2) return;
1258
+ let s2 = Ar(i2.url.currentUrl);
1259
+ s2 && (e6.kind === `category` && t2.filterCategory ? (zr.add(t2), i2.seo.setSeoEntity({ itemType: `BLOG_CATEGORY`, itemData: jr(t2.filterCategory, s2, t2.posts, a2), seoData: t2.filterCategory.seoData }).catch((t3) => {
1260
+ Lr(r2, t3, { feature: Pr.seo, action: `set-category-seo-entity`, contexts: { seo: { slug: e6.kind === `category` ? e6.slug : void 0 } } });
1261
+ })) : e6.kind === `tag` && t2.filterTag && (zr.add(t2), i2.seo.setSeoEntity({ itemType: `BLOG_TAGS`, itemData: Nr(t2.filterTag, s2, t2.posts, n2), asNewPage: true }).catch((t3) => {
1262
+ Lr(r2, t3, { feature: Pr.seo, action: `set-tag-seo-entity`, contexts: { seo: { slug: e6.kind === `tag` ? e6.slug : void 0 } } });
1239
1263
  })));
1240
1264
  };
1241
- var Pr = 1e4;
1242
- function Fr(e6) {
1265
+ var Vr = 1e4;
1266
+ function Hr(e6) {
1243
1267
  let [t2, n2] = u(void 0);
1244
1268
  return s(() => {
1245
1269
  let t3 = Date.now();
1246
- t3 - e6 > Pr && i(() => n2(t3));
1270
+ t3 - e6 > Vr && i(() => n2(t3));
1247
1271
  }, []), t2 ?? e6;
1248
1272
  }
1249
- var Ir = () => {
1273
+ var Ur = () => {
1250
1274
  try {
1251
1275
  return f(Qn).SSR;
1252
1276
  } catch {
1253
1277
  return false;
1254
1278
  }
1255
1279
  };
1256
- var Lr = (e6, t2) => e6.length === t2.length && e6.every((e7, n2) => Object.is(e7, t2[n2]));
1257
- function Rr(e6, t2) {
1280
+ var Wr = (e6, t2) => e6.length === t2.length && e6.every((e7, n2) => Object.is(e7, t2[n2]));
1281
+ function Gr(e6, t2) {
1258
1282
  let [n2, r2] = u(() => ({ deps: t2, value: e6() }));
1259
1283
  return s(() => {
1260
- if (Lr(n2.deps, t2)) return;
1284
+ if (Wr(n2.deps, t2)) return;
1261
1285
  let a2 = e6();
1262
1286
  i(() => r2({ deps: t2, value: a2 }));
1263
1287
  }, t2), n2.value;
1264
1288
  }
1265
- var zr = (e6) => {
1289
+ var Kr = (e6) => {
1266
1290
  let t2;
1267
1291
  try {
1268
- t2 = f(Un);
1292
+ t2 = f(Hn);
1269
1293
  } catch {
1270
1294
  return;
1271
1295
  }
1272
- return fr(t2) ?? pr(t2.currentUrl, e6);
1296
+ return yr(t2) ?? br(t2.currentUrl, e6);
1273
1297
  };
1274
- var Br = { categoryHeader: `WixBlog.CategoryHeader`, coverMedia: `WixBlog.PostCoverMedia`, postActions: `WixBlog.PostActionBar`, postCategories: `WixBlog.PostCategoryList`, postCounters: `WixBlog.PostCounterBar`, postMetadata: `WixBlog.PostMetadataBar`, postTags: `WixBlog.PostTagList`, feedProvider: `WixBlog.BlogFeedContextProvider`, postBySlugProvider: `WixBlog.PostBySlugContextProvider`, postByIdProvider: `WixBlog.PostByIdContextProvider`, relatedPostsProvider: `WixBlog.RelatedPostsContextProvider` };
1275
- var Vr = (e6) => `${e6} rendered`;
1276
- var Hr = (e6, t2, n2) => {
1298
+ var qr = { categoryHeader: `WixBlog.CategoryHeader`, coverMedia: `WixBlog.PostCoverMedia`, postActions: `WixBlog.PostActionBar`, postCategories: `WixBlog.PostCategoryList`, postCounters: `WixBlog.PostCounterBar`, postMetadata: `WixBlog.PostMetadataBar`, postTags: `WixBlog.PostTagList`, feedProvider: `WixBlog.BlogFeedContextProvider`, postBySlugProvider: `WixBlog.PostBySlugContextProvider`, postByIdProvider: `WixBlog.PostByIdContextProvider`, relatedPostsProvider: `WixBlog.RelatedPostsContextProvider` };
1299
+ var Jr = (e6) => `${e6} rendered`;
1300
+ var Yr = (e6, t2, n2) => {
1277
1301
  s(() => {
1278
1302
  if (t2 !== `loading` && typeof performance < `u` && typeof performance.mark == `function`) try {
1279
- performance.mark(Vr(e6), { detail: { state: t2, compId: n2 } });
1303
+ performance.mark(Jr(e6), { detail: { state: t2, compId: n2 } });
1280
1304
  } catch {
1281
1305
  }
1282
1306
  }, [e6, t2, n2]);
1283
1307
  };
1284
- var Ur = L(`@wix/site-service-locale`);
1285
- var Wr = () => {
1308
+ var Xr = R(`@wix/site-service-locale`);
1309
+ var Zr = () => {
1286
1310
  let e6, t2;
1287
1311
  try {
1288
1312
  e6 = f(Zn).languageCode;
1289
1313
  } catch {
1290
1314
  }
1291
1315
  try {
1292
- t2 = f(Ur).language;
1316
+ t2 = f(Xr).language;
1293
1317
  } catch {
1294
1318
  }
1295
1319
  return e6 || t2;
1296
1320
  };
1297
- var Gr = () => {
1321
+ var Qr = () => {
1298
1322
  let e6;
1299
1323
  try {
1300
1324
  let { multilingualEnabled: t3, locales: n3, languageCode: r2 } = f(Zn), i2 = n3.filter((e7) => e7.languageCode === r2), a2 = n3.find(({ id: e7 }) => e7 === r2) ?? (i2.length === 1 ? i2[0] : void 0);
@@ -1303,34 +1327,11 @@ var Gr = () => {
1303
1327
  }
1304
1328
  let t2, n2;
1305
1329
  try {
1306
- ({ locale: t2, language: n2 } = f(Ur));
1330
+ ({ locale: t2, language: n2 } = f(Xr));
1307
1331
  } catch {
1308
1332
  }
1309
1333
  return e6 || t2 || n2;
1310
1334
  };
1311
- var Kr = L(`@wix/site-service-editor-context`);
1312
- var qr = () => {
1313
- try {
1314
- return !!f(Kr).previewMode;
1315
- } catch {
1316
- return false;
1317
- }
1318
- };
1319
- var Jr = n({ isEditor: false, isPreview: false });
1320
- var Yr = () => o(Jr);
1321
- var Xr = ({ isEditor: e6, isPreview: t2 }) => e6 && !t2;
1322
- var Zr = () => {
1323
- try {
1324
- let { SSR: e6, SEO: t2 } = f(Qn);
1325
- return e6 || t2;
1326
- } catch {
1327
- return false;
1328
- }
1329
- };
1330
- var Qr = () => {
1331
- let e6 = Zr();
1332
- return Xr(Yr()) && !e6;
1333
- };
1334
1335
  function $r(e6) {
1335
1336
  return Object.keys(e6).length === 1 && `$and` in e6 && Array.isArray(e6.$and);
1336
1337
  }
@@ -1550,31 +1551,31 @@ var Si = [{ path: `categories.updatedDate` }, { path: `categories.coverImage.url
1550
1551
  var Ci = [{ path: `categories.coverImage.focalPoint.x` }, { path: `categories.coverImage.focalPoint.y` }];
1551
1552
  var wi = [{ path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
1552
1553
  function Ti(e6) {
1553
- return It(Object.assign(e6, { domainToMappings: { "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/category`, destPath: `/v3/bulk/category` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/categories`, destPath: `/v3/bulk/categories` }], "*.pub.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], _: [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www.wixapis.com": [{ srcPath: `/blog/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/v3/categories`, destPath: `/v3/categories` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "api._api_base_domain_": [{ srcPath: `/category-service-api-proxy`, destPath: `` }] } }));
1554
+ return Ft(Object.assign(e6, { domainToMappings: { "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/category`, destPath: `/v3/bulk/category` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/categories`, destPath: `/v3/bulk/categories` }], "*.pub.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], _: [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www.wixapis.com": [{ srcPath: `/blog/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/v3/categories`, destPath: `/v3/categories` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "api._api_base_domain_": [{ srcPath: `/category-service-api-proxy`, destPath: `` }] } }));
1554
1555
  }
1555
1556
  var Ei = `@wix/auto_sdk_blog_categories`;
1556
1557
  function Di(e6) {
1557
1558
  function t2({ host: t3 }) {
1558
- return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/{categoryId}`, data: e6, host: t3 }), params: Ft(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bi }, { transformFn: F, paths: xi }]) };
1559
+ return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/{categoryId}`, data: e6, host: t3 }), params: F(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bi }, { transformFn: I, paths: xi }]) };
1559
1560
  }
1560
1561
  return t2;
1561
1562
  }
1562
1563
  function Oi(e6) {
1563
1564
  function t2({ host: t3 }) {
1564
- return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/slugs/{slug}`, data: e6, host: t3 }), params: Ft(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bi }, { transformFn: F, paths: xi }]) };
1565
+ return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/slugs/{slug}`, data: e6, host: t3 }), params: F(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bi }, { transformFn: I, paths: xi }]) };
1565
1566
  }
1566
1567
  return t2;
1567
1568
  }
1568
1569
  function ki(e6) {
1569
1570
  function t2({ host: t3 }) {
1570
- return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories`, data: e6, host: t3 }), params: Ft(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Si }, { transformFn: F, paths: Ci }]) };
1571
+ return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories`, data: e6, host: t3 }), params: F(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Si }, { transformFn: I, paths: Ci }]) };
1571
1572
  }
1572
1573
  return t2;
1573
1574
  }
1574
1575
  function Ai(e6) {
1575
1576
  function t2({ host: t3 }) {
1576
- let n2 = M(e6, [{ transformFn: ln, paths: wi }]);
1577
- return { entityFqdn: `wix.blog.v3.category`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Si }, { transformFn: F, paths: Ci }]) };
1577
+ let n2 = M(e6, [{ transformFn: cn, paths: wi }]);
1578
+ return { entityFqdn: `wix.blog.v3.category`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories`, packageName: Ei, migrationOptions: { optInTransformResponse: true }, url: Ti({ protoPath: `/v3/categories/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Si }, { transformFn: I, paths: Ci }]) };
1578
1579
  }
1579
1580
  return t2;
1580
1581
  }
@@ -1693,19 +1694,19 @@ var Qi = [{ path: `posts.richContentCompressed` }];
1693
1694
  var $i = [{ 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` }];
1694
1695
  var ea = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
1695
1696
  function ta(e6) {
1696
- return It(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` }] } }));
1697
+ return Ft(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` }] } }));
1697
1698
  }
1698
1699
  var na = `@wix/auto_sdk_blog_posts`;
1699
1700
  function ra(e6) {
1700
1701
  function t2({ host: t3 }) {
1701
- return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/posts`, data: e6, host: t3 }), params: Ft(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Zi }, { transformFn: un, paths: Qi }, { transformFn: F, paths: $i }]) };
1702
+ return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/posts`, data: e6, host: t3 }), params: F(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Zi }, { transformFn: ln, paths: Qi }, { transformFn: I, paths: $i }]) };
1702
1703
  }
1703
1704
  return t2;
1704
1705
  }
1705
1706
  function ia(e6) {
1706
1707
  function t2({ host: t3 }) {
1707
- let n2 = M(e6, [{ transformFn: ln, paths: ea }]);
1708
- return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Zi }, { transformFn: un, paths: Qi }, { transformFn: F, paths: $i }]) };
1708
+ let n2 = M(e6, [{ transformFn: cn, paths: ea }]);
1709
+ return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: Zi }, { transformFn: ln, paths: Qi }, { transformFn: I, paths: $i }]) };
1709
1710
  }
1710
1711
  return t2;
1711
1712
  }
@@ -1776,12 +1777,12 @@ var ha = P(da);
1776
1777
  var ga = P(ma);
1777
1778
  var _a = [{ path: `tag.createdDate` }, { path: `tag.updatedDate` }];
1778
1779
  function va(e6) {
1779
- return It(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www.wixapis.com": [{ srcPath: `/v3/tags`, destPath: `/v3/tags` }, { srcPath: `/blog/v3/tags`, destPath: `/v3/tags` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v2/tags`, destPath: `/v2/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tag`, destPath: `/v3/bulk/tag` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tags`, destPath: `/v3/bulk/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }] } }));
1780
+ return Ft(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www.wixapis.com": [{ srcPath: `/v3/tags`, destPath: `/v3/tags` }, { srcPath: `/blog/v3/tags`, destPath: `/v3/tags` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v2/tags`, destPath: `/v2/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tag`, destPath: `/v3/bulk/tag` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tags`, destPath: `/v3/bulk/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }] } }));
1780
1781
  }
1781
1782
  var ya = `@wix/auto_sdk_blog_tags`;
1782
1783
  function ba(e6) {
1783
1784
  function t2({ host: t3 }) {
1784
- return { entityFqdn: `wix.blog.v3.tag`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.TagService.GetTagBySlug`, packageName: ya, migrationOptions: { optInTransformResponse: true }, url: va({ protoPath: `/v3/tags/slugs/{slug}`, data: e6, host: t3 }), params: Ft(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: _a }]) };
1785
+ return { entityFqdn: `wix.blog.v3.tag`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.TagService.GetTagBySlug`, packageName: ya, migrationOptions: { optInTransformResponse: true }, url: va({ protoPath: `/v3/tags/slugs/{slug}`, data: e6, host: t3 }), params: F(e6), transformResponse: (e7) => M(e7, [{ transformFn: j, paths: _a }]) };
1785
1786
  }
1786
1787
  return t2;
1787
1788
  }
@@ -1803,7 +1804,7 @@ function Ca(e6) {
1803
1804
  var wa = P(Ca);
1804
1805
  var Ta = () => {
1805
1806
  try {
1806
- return f(Un).currentUrl;
1807
+ return f(Hn).currentUrl;
1807
1808
  } catch {
1808
1809
  return;
1809
1810
  }
@@ -1819,7 +1820,7 @@ var Ea = (e6, t2) => {
1819
1820
  if (r2.length !== 0) return r2[r2.length - 1] = encodeURIComponent(t2), n2.pathname = `/${r2.join(`/`)}`, n2.toString();
1820
1821
  };
1821
1822
  var Da = (e6, t2, n2) => {
1822
- let r2 = Ta(), i2 = Qr(), a2 = qr(), { language: o2, translationId: c2 } = e6 ?? {}, l2 = !!(t2 && c2 && o2 && o2 !== t2);
1823
+ let r2 = Ta(), i2 = ar(), a2 = er(), { language: o2, translationId: c2 } = e6 ?? {}, l2 = !!(t2 && c2 && o2 && o2 !== t2);
1823
1824
  s(() => {
1824
1825
  if (!l2 || !t2 || !c2 || !r2 || i2 || a2) return;
1825
1826
  let e7 = false;
@@ -1831,9 +1832,9 @@ var Da = (e6, t2, n2) => {
1831
1832
  };
1832
1833
  }, [l2, t2, c2, r2, i2, a2, n2]);
1833
1834
  };
1834
- var Oa = L(`@wix/site-service-warmup-data`);
1835
+ var Oa = R(`@wix/site-service-warmup-data`);
1835
1836
  function ka() {
1836
- let e6 = Ir(), t2 = null;
1837
+ let e6 = Ur(), t2 = null;
1837
1838
  try {
1838
1839
  t2 = d()(Oa);
1839
1840
  } catch {
@@ -4192,7 +4193,7 @@ function Yc({ key: e6, warmupData: t2, fetchData: n2 }) {
4192
4193
  if (a2) return a2.promise;
4193
4194
  let o2 = Uc(e6);
4194
4195
  if (o2 !== void 0) {
4195
- let t3 = zn(o2);
4196
+ let t3 = Rn(o2);
4196
4197
  return r2.set(e6, { promise: t3, expiresAt: i2 + Wc }), t3;
4197
4198
  }
4198
4199
  let s2 = (async () => await t2.get(e6) ?? n2())();
@@ -4457,21 +4458,21 @@ var Kd;
4457
4458
  var qd = g(() => {
4458
4459
  Gd = `My App`, Kd = { "canvas.category": `\u985E\u5225`, "post-list.empty-state.description": `\u5DF2\u767C\u4F48\u7684\u6587\u7AE0\u6703\u5728\u6B64\u8655\u51FA\u73FE\u3002`, "canvas.tag-numbered": `\u6A19\u7C64 {number}`, "cover-media.play": `\u64AD\u653E\u5F71\u7247`, "post-comments.unavailable": `\u7559\u8A00\u4E0D\u53EF\u7528\u3002\u6C92\u6709\u61C9\u7528\u7A0B\u5F0F\u57F7\u884C\u500B\u9AD4\u3002`, "post-counters.loading-likes": `\u6B63\u5728\u8F09\u5165\u8B9A\u597D`, "post-comments.loading": `\u6B63\u5728\u8F09\u5165\u7559\u8A00\u2026\u2026`, "post-actions.like": `\u8B9A\u597D\u6587\u7AE0`, "canvas.content": `\u5B8C\u6574\u6587\u7AE0\u6703\u986F\u793A\u5728\u9019\u88E1\u3002\u8ACB\u5728\u9019\u88E1\u64B0\u5BEB\u5167\u5BB9\uFF0C\u4E26\u5F9E\u7BA1\u7406\u4ECB\u9762\u65B0\u589E\u5716\u7247\u3001\u5716\u5EAB\u548C\u5F71\u7247\u3002\u4F7F\u7528\u6A19\u984C\u548C\u5F15\u8A00\uFF0C\u8B93\u5167\u5BB9\u66F4\u5BB9\u6613\u95B1\u8B80\u3002`, "related-posts.empty-state.title": `\u5C1A\u7121\u76F8\u95DC\u6587\u7AE0`, "post.time-to-read": `{count, plural, other {{count,number} \u5206\u9418\u95B1\u8B80}}`, "post-actions.link-copied": `\u5DF2\u8907\u88FD\u9023\u7D50`, "category-header.all-posts": `\u6240\u6709\u6587\u7AE0`, "post-actions.copy-manually": `\u8ACB\u8907\u88FD\u4E0B\u65B9\u9023\u7D50\u4F86\u5206\u4EAB\u9019\u7BC7\u6587\u7AE0\u3002`, "post-actions.copy-link": `\u8907\u88FD\u9023\u7D50`, "cover-media.placeholder-alt": `\u6587\u7AE0\u5C01\u9762\u5716\u7247`, "post-actions.link-label": `\u6587\u7AE0\u9023\u7D50`, "post-list.empty-state.title": `\u5C1A\u7121\u6587\u7AE0`, "post-actions.share-dialog": `\u5206\u4EAB\u6587\u7AE0`, "canvas.post-title": `\u6587\u7AE0\u6A19\u984C`, "post-actions.unlike": `\u53D6\u6D88\u8B9A\u597D\u6587\u7AE0`, "post-comments.no-post": `\u6B64\u7DB2\u5740\u5C1A\u672A\u89E3\u6790\u51FA\u6587\u7AE0\u3002`, "post.like-count": `{count, plural, other {{formatted} \u500B\u8B9A\u597D}}`, "canvas.category-numbered": `\u985E\u5225 {number}`, "post.comment-count": `{count, plural, other {{formatted} \u5247\u7559\u8A00}}`, "post-actions.share": `\u5206\u4EAB\u6587\u7AE0`, "post.view-count": `{count, plural, other {{formatted} \u6B21\u67E5\u770B}}`, "post-actions.close": `\u95DC\u9589`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u4F5C\u8005\u76F8\u7247`, "canvas.author-name": `\u4F5C\u8005\u540D\u7A31`, "post-comments.demo-notice": `\u7DE8\u8F2F\u6642\u6703\u986F\u793A\u7BC4\u4F8B\u7559\u8A00\u3002\u8A2A\u5BA2\u6703\u770B\u5230\u5BE6\u969B\u7559\u8A00\u3002`, title: Gd, "related-posts.empty-state.description": `\u76F8\u95DC\u6587\u7AE0\u6703\u5728\u6B64\u8655\u51FA\u73FE\u3002`, "canvas.excerpt": `\u5728\u9019\u88E1\u5206\u4EAB\u6587\u7AE0\u7684\u6838\u5FC3\u60F3\u6CD5\u3002\u9019\u6BB5\u7C21\u77ED\u6458\u8981\u6703\u986F\u793A\u5728\u52D5\u614B\u6D88\u606F\u5361\u7247\u548C\u641C\u5C0B\u7D50\u679C\u4E2D\uFF0C\u4E26\u544A\u8A34\u8B80\u8005\u9019\u7BC7\u6587\u7AE0\u503C\u5F97\u95B1\u8B80\u7684\u539F\u56E0\u3002` };
4459
4460
  });
4460
- Ma({ isDev: false, loadMessages: (e6) => rl(Object.assign({ "../assets/locale/messages_ar.json": () => I(() => Promise.resolve().then(() => (cl(), al)), void 0, import.meta.url), "../assets/locale/messages_bg.json": () => I(() => Promise.resolve().then(() => (fl(), ll)), void 0, import.meta.url), "../assets/locale/messages_ca.json": () => I(() => Promise.resolve().then(() => (gl(), pl)), void 0, import.meta.url), "../assets/locale/messages_cs.json": () => I(() => Promise.resolve().then(() => (bl(), _l)), void 0, import.meta.url), "../assets/locale/messages_da.json": () => I(() => Promise.resolve().then(() => (wl(), xl)), void 0, import.meta.url), "../assets/locale/messages_de.json": () => I(() => Promise.resolve().then(() => (Ol(), Tl)), void 0, import.meta.url), "../assets/locale/messages_el.json": () => I(() => Promise.resolve().then(() => (Ml(), kl)), void 0, import.meta.url), "../assets/locale/messages_en.dev.json": () => I(() => Promise.resolve().then(() => (Fl(), Nl)), void 0, import.meta.url), "../assets/locale/messages_en.json": () => I(() => Promise.resolve().then(() => (zl(), Il)), void 0, import.meta.url), "../assets/locale/messages_es.json": () => I(() => Promise.resolve().then(() => (Ul(), Bl)), void 0, import.meta.url), "../assets/locale/messages_fi.json": () => I(() => Promise.resolve().then(() => (ql(), Wl)), void 0, import.meta.url), "../assets/locale/messages_fr.json": () => I(() => Promise.resolve().then(() => (Zl(), Jl)), void 0, import.meta.url), "../assets/locale/messages_he.json": () => I(() => Promise.resolve().then(() => (tu(), Ql)), void 0, import.meta.url), "../assets/locale/messages_hi.json": () => I(() => Promise.resolve().then(() => (au(), nu)), void 0, import.meta.url), "../assets/locale/messages_hr.json": () => I(() => Promise.resolve().then(() => (lu(), ou)), void 0, import.meta.url), "../assets/locale/messages_hu.json": () => I(() => Promise.resolve().then(() => (pu(), uu)), void 0, import.meta.url), "../assets/locale/messages_id.json": () => I(() => Promise.resolve().then(() => (_u(), mu)), void 0, import.meta.url), "../assets/locale/messages_it.json": () => I(() => Promise.resolve().then(() => (xu(), vu)), void 0, import.meta.url), "../assets/locale/messages_ja.json": () => I(() => Promise.resolve().then(() => (Tu(), Su)), void 0, import.meta.url), "../assets/locale/messages_ko.json": () => I(() => Promise.resolve().then(() => (ku(), Eu)), void 0, import.meta.url), "../assets/locale/messages_lt.json": () => I(() => Promise.resolve().then(() => (Nu(), Au)), void 0, import.meta.url), "../assets/locale/messages_lv.json": () => I(() => Promise.resolve().then(() => (Lu(), Pu)), void 0, import.meta.url), "../assets/locale/messages_ms.json": () => I(() => Promise.resolve().then(() => (Vu(), Ru)), void 0, import.meta.url), "../assets/locale/messages_nl.json": () => I(() => Promise.resolve().then(() => (Gu(), Hu)), void 0, import.meta.url), "../assets/locale/messages_no.json": () => I(() => Promise.resolve().then(() => (Yu(), Ku)), void 0, import.meta.url), "../assets/locale/messages_pl.json": () => I(() => Promise.resolve().then(() => ($u(), Xu)), void 0, import.meta.url), "../assets/locale/messages_pt.json": () => I(() => Promise.resolve().then(() => (rd(), ed)), void 0, import.meta.url), "../assets/locale/messages_ro.json": () => I(() => Promise.resolve().then(() => (sd(), id)), void 0, import.meta.url), "../assets/locale/messages_ru.json": () => I(() => Promise.resolve().then(() => (dd(), cd)), void 0, import.meta.url), "../assets/locale/messages_sk.json": () => I(() => Promise.resolve().then(() => (hd(), fd)), void 0, import.meta.url), "../assets/locale/messages_sl.json": () => I(() => Promise.resolve().then(() => (yd(), gd)), void 0, import.meta.url), "../assets/locale/messages_sv.json": () => I(() => Promise.resolve().then(() => (Cd(), bd)), void 0, import.meta.url), "../assets/locale/messages_th.json": () => I(() => Promise.resolve().then(() => (Dd(), wd)), void 0, import.meta.url), "../assets/locale/messages_tl.json": () => I(() => Promise.resolve().then(() => (jd(), Od)), void 0, import.meta.url), "../assets/locale/messages_tr.json": () => I(() => Promise.resolve().then(() => (Fd(), Md)), void 0, import.meta.url), "../assets/locale/messages_uk.json": () => I(() => Promise.resolve().then(() => (zd(), Id)), void 0, import.meta.url), "../assets/locale/messages_vi.json": () => I(() => Promise.resolve().then(() => (Ud(), Bd)), void 0, import.meta.url), "../assets/locale/messages_zh.json": () => I(() => Promise.resolve().then(() => (qd(), Wd)), void 0, import.meta.url) }), `../assets/locale/messages_${il(e6)}.json`, 4), loadDevMessages: (e6) => rl(Object.assign({ "../assets/locale/messages_en.dev.json": () => I(() => Promise.resolve().then(() => (Fl(), Nl)), void 0, import.meta.url) }), `../assets/locale/messages_${il(e6)}.dev.json`, 4) });
4461
+ Ma({ isDev: false, loadMessages: (e6) => rl(Object.assign({ "../assets/locale/messages_ar.json": () => L(() => Promise.resolve().then(() => (cl(), al)), void 0, import.meta.url), "../assets/locale/messages_bg.json": () => L(() => Promise.resolve().then(() => (fl(), ll)), void 0, import.meta.url), "../assets/locale/messages_ca.json": () => L(() => Promise.resolve().then(() => (gl(), pl)), void 0, import.meta.url), "../assets/locale/messages_cs.json": () => L(() => Promise.resolve().then(() => (bl(), _l)), void 0, import.meta.url), "../assets/locale/messages_da.json": () => L(() => Promise.resolve().then(() => (wl(), xl)), void 0, import.meta.url), "../assets/locale/messages_de.json": () => L(() => Promise.resolve().then(() => (Ol(), Tl)), void 0, import.meta.url), "../assets/locale/messages_el.json": () => L(() => Promise.resolve().then(() => (Ml(), kl)), void 0, import.meta.url), "../assets/locale/messages_en.dev.json": () => L(() => Promise.resolve().then(() => (Fl(), Nl)), void 0, import.meta.url), "../assets/locale/messages_en.json": () => L(() => Promise.resolve().then(() => (zl(), Il)), void 0, import.meta.url), "../assets/locale/messages_es.json": () => L(() => Promise.resolve().then(() => (Ul(), Bl)), void 0, import.meta.url), "../assets/locale/messages_fi.json": () => L(() => Promise.resolve().then(() => (ql(), Wl)), void 0, import.meta.url), "../assets/locale/messages_fr.json": () => L(() => Promise.resolve().then(() => (Zl(), Jl)), void 0, import.meta.url), "../assets/locale/messages_he.json": () => L(() => Promise.resolve().then(() => (tu(), Ql)), void 0, import.meta.url), "../assets/locale/messages_hi.json": () => L(() => Promise.resolve().then(() => (au(), nu)), void 0, import.meta.url), "../assets/locale/messages_hr.json": () => L(() => Promise.resolve().then(() => (lu(), ou)), void 0, import.meta.url), "../assets/locale/messages_hu.json": () => L(() => Promise.resolve().then(() => (pu(), uu)), void 0, import.meta.url), "../assets/locale/messages_id.json": () => L(() => Promise.resolve().then(() => (_u(), mu)), void 0, import.meta.url), "../assets/locale/messages_it.json": () => L(() => Promise.resolve().then(() => (xu(), vu)), void 0, import.meta.url), "../assets/locale/messages_ja.json": () => L(() => Promise.resolve().then(() => (Tu(), Su)), void 0, import.meta.url), "../assets/locale/messages_ko.json": () => L(() => Promise.resolve().then(() => (ku(), Eu)), void 0, import.meta.url), "../assets/locale/messages_lt.json": () => L(() => Promise.resolve().then(() => (Nu(), Au)), void 0, import.meta.url), "../assets/locale/messages_lv.json": () => L(() => Promise.resolve().then(() => (Lu(), Pu)), void 0, import.meta.url), "../assets/locale/messages_ms.json": () => L(() => Promise.resolve().then(() => (Vu(), Ru)), void 0, import.meta.url), "../assets/locale/messages_nl.json": () => L(() => Promise.resolve().then(() => (Gu(), Hu)), void 0, import.meta.url), "../assets/locale/messages_no.json": () => L(() => Promise.resolve().then(() => (Yu(), Ku)), void 0, import.meta.url), "../assets/locale/messages_pl.json": () => L(() => Promise.resolve().then(() => ($u(), Xu)), void 0, import.meta.url), "../assets/locale/messages_pt.json": () => L(() => Promise.resolve().then(() => (rd(), ed)), void 0, import.meta.url), "../assets/locale/messages_ro.json": () => L(() => Promise.resolve().then(() => (sd(), id)), void 0, import.meta.url), "../assets/locale/messages_ru.json": () => L(() => Promise.resolve().then(() => (dd(), cd)), void 0, import.meta.url), "../assets/locale/messages_sk.json": () => L(() => Promise.resolve().then(() => (hd(), fd)), void 0, import.meta.url), "../assets/locale/messages_sl.json": () => L(() => Promise.resolve().then(() => (yd(), gd)), void 0, import.meta.url), "../assets/locale/messages_sv.json": () => L(() => Promise.resolve().then(() => (Cd(), bd)), void 0, import.meta.url), "../assets/locale/messages_th.json": () => L(() => Promise.resolve().then(() => (Dd(), wd)), void 0, import.meta.url), "../assets/locale/messages_tl.json": () => L(() => Promise.resolve().then(() => (jd(), Od)), void 0, import.meta.url), "../assets/locale/messages_tr.json": () => L(() => Promise.resolve().then(() => (Fd(), Md)), void 0, import.meta.url), "../assets/locale/messages_uk.json": () => L(() => Promise.resolve().then(() => (zd(), Id)), void 0, import.meta.url), "../assets/locale/messages_vi.json": () => L(() => Promise.resolve().then(() => (Ud(), Bd)), void 0, import.meta.url), "../assets/locale/messages_zh.json": () => L(() => Promise.resolve().then(() => (qd(), Wd)), void 0, import.meta.url) }), `../assets/locale/messages_${il(e6)}.json`, 4), loadDevMessages: (e6) => rl(Object.assign({ "../assets/locale/messages_en.dev.json": () => L(() => Promise.resolve().then(() => (Fl(), Nl)), void 0, import.meta.url) }), `../assets/locale/messages_${il(e6)}.dev.json`, 4) });
4461
4462
  var Jd = /* @__PURE__ */ new WeakMap();
4462
4463
  function Yd(e6) {
4463
4464
  let t2 = Jd.get(e6);
4464
4465
  return t2 || (t2 = tl(e6).finally(() => Jd.delete(e6)), Jd.set(e6, t2)), t2;
4465
4466
  }
4466
4467
  function Xd({ i18n: e6, locale: t2 }) {
4467
- let n2 = Ir(), r2 = ka();
4468
+ let n2 = Ur(), r2 = ka();
4468
4469
  if (!n2) return null;
4469
4470
  if (!e6.isInitialized || !e6.hasLoadedNamespace(`translation`)) throw Yd(e6);
4470
4471
  let i2 = nl(e6, t2);
4471
4472
  return i2 && r2.set(Xc, { locale: t2, messages: i2 }), null;
4472
4473
  }
4473
4474
  function Zd(e6) {
4474
- let t2 = Wr(), n2 = Qc()?.locale ?? t2 ?? `en`;
4475
+ let t2 = Zr(), n2 = Qc()?.locale ?? t2 ?? `en`;
4475
4476
  return { i18n: el(n2, e6), locale: n2 };
4476
4477
  }
4477
4478
  cl(), fl(), gl(), bl(), wl(), Ol(), Ml(), Fl(), zl(), Ul(), ql(), Zl(), tu(), au(), lu(), pu(), _u(), xu(), Tu(), ku(), Nu(), Lu(), Vu(), Gu(), Yu(), $u(), rd(), sd(), dd(), hd(), yd(), Cd(), Dd(), jd(), Fd(), zd(), Ud(), qd();
@@ -4490,7 +4491,7 @@ var nf = (e6, t2) => {
4490
4491
  var rf = (e6) => A(M(e6, [{ transformFn: H, paths: [{ path: `posts.url` }, { path: `posts.translations.url` }] }, { transformFn: V, paths: [{ path: `posts.heroImage` }, { path: `posts.media.wixMedia.image` }] }, { transformFn: Xi, paths: [{ path: `posts.media.wixMedia.videoV2` }] }]), [`posts.richContent`, `posts.rich_content`]).posts ?? [];
4491
4492
  var af = `https://blog.wixsite.com/blog-demo-posts`;
4492
4493
  var of = P((e6) => async (t2) => {
4493
- let n2 = await e6.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${Ft(t2)}`);
4494
+ let n2 = await e6.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${F(t2)}`);
4494
4495
  if (!n2.ok) throw Error(`ListDemoPosts answered ${n2.status}`);
4495
4496
  return rf(await n2.json()).filter((e7) => !e7.url?.startsWith(af));
4496
4497
  });
@@ -4504,12 +4505,12 @@ var sf = async (e6) => {
4504
4505
  var cf = [{ path: `members.createdDate` }, { path: `members.updatedDate` }, { path: `members.lastLoginDate` }];
4505
4506
  var lf = [{ path: `query.sorting.origin.latitude` }, { path: `query.sorting.origin.longitude` }];
4506
4507
  function uf(e6) {
4507
- return It(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` }] } }));
4508
+ return Ft(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` }] } }));
4508
4509
  }
4509
4510
  var df = `@wix/auto_sdk_members_members`;
4510
4511
  function ff(e6) {
4511
4512
  function t2({ host: t3 }) {
4512
- let n2 = M(e6, [{ transformFn: ln, paths: lf }]);
4513
+ let n2 = M(e6, [{ transformFn: cn, paths: lf }]);
4513
4514
  return { entityFqdn: `wix.members.v1.member`, method: `POST`, methodFqn: `com.wixpress.members.api.Members.QueryMembers`, packageName: df, migrationOptions: { optInTransformResponse: true }, url: uf({ protoPath: `/v1/members/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: cf }]) };
4514
4515
  }
4515
4516
  return t2;
@@ -4578,13 +4579,13 @@ var xf = [{ path: `posts.richContentCompressed` }];
4578
4579
  var Sf = [{ 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` }];
4579
4580
  var Cf = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
4580
4581
  function wf(e6) {
4581
- return It(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` }] } }));
4582
+ return Ft(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` }] } }));
4582
4583
  }
4583
4584
  var Tf = `@wix/auto_sdk_blog_posts`;
4584
4585
  function Ef(e6) {
4585
4586
  function t2({ host: t3 }) {
4586
- let n2 = M(e6, [{ transformFn: ln, paths: Cf }]);
4587
- return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: Tf, migrationOptions: { optInTransformResponse: true }, url: wf({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bf }, { transformFn: un, paths: xf }, { transformFn: F, paths: Sf }]) };
4587
+ let n2 = M(e6, [{ transformFn: cn, paths: Cf }]);
4588
+ return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: Tf, migrationOptions: { optInTransformResponse: true }, url: wf({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => M(e7, [{ transformFn: j, paths: bf }, { transformFn: ln, paths: xf }, { transformFn: I, paths: Sf }]) };
4588
4589
  }
4589
4590
  return t2;
4590
4591
  }
@@ -4768,7 +4769,7 @@ var ap = class extends e {
4768
4769
  return { error: e6 ?? Error(`Unknown render error`) };
4769
4770
  }
4770
4771
  componentDidCatch(e6, t2) {
4771
- Ar(this.props.monitoringClient, e6, { feature: this.props.feature, action: `render`, tags: this.props.component ? { component: this.props.component } : void 0, contexts: { react: { componentStack: t2.componentStack } } });
4772
+ Lr(this.props.monitoringClient, e6, { feature: this.props.feature, action: `render`, tags: this.props.component ? { component: this.props.component } : void 0, contexts: { react: { componentStack: t2.componentStack } } });
4772
4773
  }
4773
4774
  render() {
4774
4775
  if (this.state.error === void 0) return this.props.children;
@@ -4829,7 +4830,7 @@ var Sp = (e6) => {
4829
4830
  var Cp = (e6, t2 = []) => {
4830
4831
  let n2 = e6?.media;
4831
4832
  if (!n2 || n2.displayed === false) return;
4832
- let r2 = or(e6);
4833
+ let r2 = pr(e6);
4833
4834
  if (r2) return { kind: `image`, image: r2 };
4834
4835
  let i2 = n2.altText ?? e6?.title ?? ``, a2 = n2.wixMedia?.videoV2 ? vp(n2.wixMedia.videoV2) : void 0;
4835
4836
  if (a2) return { kind: `wixVideo`, ...a2, sources: t2, altText: i2 };
@@ -4840,9 +4841,9 @@ var Cp = (e6, t2 = []) => {
4840
4841
  }
4841
4842
  };
4842
4843
  var wp = (e6) => {
4843
- let t2 = or(e6), n2 = e6?.media?.wixMedia?.videoV2;
4844
+ let t2 = pr(e6), n2 = e6?.media?.wixMedia?.videoV2;
4844
4845
  if (t2 || !n2) return t2;
4845
- let r2 = vp(n2), i2 = ar(r2?.posterUrl?.slice(35), e6?.media?.altText ?? e6?.title);
4846
+ let r2 = vp(n2), i2 = fr(r2?.posterUrl?.slice(35), e6?.media?.altText ?? e6?.title);
4846
4847
  return i2 && { ...i2, width: r2?.posterWidth ?? i2.width, height: r2?.posterHeight ?? i2.height };
4847
4848
  };
4848
4849
  var Tp = `2026-05-12T12:00:00.000Z`;
@@ -4868,12 +4869,12 @@ var Np = (e6, t2, n2, r2) => {
4868
4869
  };
4869
4870
  var Pp = (e6, t2, n2, r2, i2 = {}, a2 = {}, o2 = false, s2 = {}, c2 = Date.now()) => {
4870
4871
  let { _id: l2, memberId: u2 } = e6, d2 = u2 ? i2[u2] : void 0, f2 = jp(e6);
4871
- return { _id: l2 ?? e6.slug ?? ``, title: e6.title ?? ``, itemTitle: Q(e6.title ?? ``), itemExcerpt: Q(e6.excerpt ?? ``), itemCoverImage: wp(e6), itemCoverMedia: Cp(e6, s2[l2 ?? ``] ?? []), itemLink: gr(e6, r2), itemPublishedDate: Q(mp(e6.firstPublishedDate ?? new Date(c2), n2, c2)), publishedDateValue: Op(e6.firstPublishedDate), clockValue: c2, minutesToReadValue: kp(e6.minutesToRead), initialViewCount: f2.views ?? (o2 ? $.views : void 0), initialCommentCount: f2.comments ?? (o2 ? $.comments : void 0), initialLikeCount: f2.likes ?? (o2 ? $.likes : void 0), authorName: Q(d2?.profile?.nickname ?? ``), authorImage: yr(d2, t2.canvas.authorPhotoAlt()), timeToRead: Q(typeof e6.minutesToRead == `number` && e6.minutesToRead > 0 ? t2.timeToRead(e6.minutesToRead) : ``), viewCount: Mp(f2.views, $.views, o2, t2.viewCount), commentCount: Mp(f2.comments, $.comments, o2, t2.commentCount), itemCategoryLabel: Np(e6, a2, o2, t2), recentPostItem: { title: e6.title ?? ``, slug: e6.slug ?? `` }, commentingEnabled: e6.commentingEnabled };
4872
+ return { _id: l2 ?? e6.slug ?? ``, title: e6.title ?? ``, itemTitle: Q(e6.title ?? ``), itemExcerpt: Q(e6.excerpt ?? ``), itemCoverImage: wp(e6), itemCoverMedia: Cp(e6, s2[l2 ?? ``] ?? []), itemLink: Cr(e6, r2), itemPublishedDate: Q(mp(e6.firstPublishedDate ?? new Date(c2), n2, c2)), publishedDateValue: Op(e6.firstPublishedDate), clockValue: c2, minutesToReadValue: kp(e6.minutesToRead), initialViewCount: f2.views ?? (o2 ? $.views : void 0), initialCommentCount: f2.comments ?? (o2 ? $.comments : void 0), initialLikeCount: f2.likes ?? (o2 ? $.likes : void 0), authorName: Q(d2?.profile?.nickname ?? ``), authorImage: Er(d2, t2.canvas.authorPhotoAlt()), timeToRead: Q(typeof e6.minutesToRead == `number` && e6.minutesToRead > 0 ? t2.timeToRead(e6.minutesToRead) : ``), viewCount: Mp(f2.views, $.views, o2, t2.viewCount), commentCount: Mp(f2.comments, $.comments, o2, t2.commentCount), itemCategoryLabel: Np(e6, a2, o2, t2), recentPostItem: { title: e6.title ?? ``, slug: e6.slug ?? `` }, commentingEnabled: e6.commentingEnabled };
4872
4873
  };
4873
4874
  var Fp = (e6, t2, n2 = []) => {
4874
4875
  let r2 = Cp(e6, n2);
4875
4876
  if (!r2) return;
4876
- let i2 = gr(e6, t2), a2 = { slug: e6.slug ?? void 0, title: e6.title ?? ``, description: e6.excerpt ?? ``, ...i2 ? { action: { link: i2 } } : {} };
4877
+ let i2 = Cr(e6, t2), a2 = { slug: e6.slug ?? void 0, title: e6.title ?? ``, description: e6.excerpt ?? ``, ...i2 ? { action: { link: i2 } } : {} };
4877
4878
  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;
4878
4879
  if (r2.kind === `wixVideo`) {
4879
4880
  let e7 = r2.sources[0]?.url;
@@ -4915,7 +4916,7 @@ var Yp = { ...Jp, isLoadingPosts: false, hasError: true };
4915
4916
  var Xp = (e6, t2) => {
4916
4917
  if (e6.kind === `category` && t2.filterCategory) {
4917
4918
  let { label: e7, description: n2, coverImage: r2 } = t2.filterCategory, i2 = e7 ?? ``;
4918
- return { kind: `category`, title: i2, description: n2 ?? ``, coverImage: ar(r2, i2) };
4919
+ return { kind: `category`, title: i2, description: n2 ?? ``, coverImage: fr(r2, i2) };
4919
4920
  }
4920
4921
  return e6.kind === `tag` && t2.filterTag ? { kind: `tag`, title: t2.filterTag.label ?? `` } : { kind: `all` };
4921
4922
  };
@@ -4924,16 +4925,16 @@ var Qp = () => ({ page: { ...Hf(), fetchedAt: Date.now() }, hasError: true });
4924
4925
  var $p = (e6) => {
4925
4926
  throw e6;
4926
4927
  };
4927
- var em = (e6, t2) => Hn(e6, Zp, t2 ? $p : Qp);
4928
+ var em = (e6, t2) => Vn(e6, Zp, t2 ? $p : Qp);
4928
4929
  var tm = ({ 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 }) => {
4929
- let { page: v2, hasError: y2 } = Bn(t2), b2 = Fr(v2.fetchedAt), x2 = Qr(), S2 = zr();
4930
- Nr(i2, v2, S2, n2), Da(i2.kind === `category` ? v2.mismatchedCategory : void 0, r2, Zf);
4931
- let { t: C2 } = zc(), w2 = Gr(), T2 = c(() => nf(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), [ue2, de2] = u(y2), fe2 = l(h2 + v2.posts.length), pe2 = l(v2.hasMore), me2 = l(null), he2 = a(async () => {
4930
+ let { page: v2, hasError: y2 } = zn(t2), b2 = Hr(v2.fetchedAt), x2 = ar(), S2 = Kr();
4931
+ Br(i2, v2, S2, n2), Da(i2.kind === `category` ? v2.mismatchedCategory : void 0, r2, Zf);
4932
+ let { t: C2 } = zc(), w2 = Qr(), T2 = c(() => nf(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), [ue2, de2] = u(y2), fe2 = l(h2 + v2.posts.length), pe2 = l(v2.hasMore), me2 = l(null), he2 = a(async () => {
4932
4933
  if (me2.current) return me2.current;
4933
4934
  if (pe2.current) return le2(true), me2.current = tp({ offset: fe2.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) => {
4934
4935
  ee2((t3) => [...t3, ...e7.posts]), te2((t3) => ({ ...t3, ...e7.authorsByMemberId })), re2((t3) => ({ ...t3, ...e7.categoryLabelsById })), ae2((t3) => ({ ...t3, ...e7.videoSourcesByPostId })), se2(e7.hasMore), pe2.current = e7.hasMore, fe2.current += e7.posts.length, de2(false);
4935
4936
  }).catch((e7) => {
4936
- de2(true), Ar(n2, e7, { feature: Dr.feed, action: `load-more-posts`, contexts: { feed: { offset: fe2.current, pageSize: m2, categoryId: o2, categorySlug: s2, tagSlug: d2 } } });
4937
+ de2(true), Lr(n2, e7, { feature: Pr.feed, action: `load-more-posts`, contexts: { feed: { offset: fe2.current, pageSize: m2, categoryId: o2, categorySlug: s2, tagSlug: d2 } } });
4937
4938
  }).finally(() => {
4938
4939
  me2.current = null, le2(false);
4939
4940
  }), me2.current;
@@ -4941,14 +4942,14 @@ var tm = ({ children: e6, firstPagePromise: t2, monitoringClient: n2, language:
4941
4942
  let e7 = x2 && !_2 && !o2 && !f2 && !s2 && !d2, t3 = E2.length === 0 && e7 ? v2.demoPosts ?? [] : E2, n3 = t3.map((e8) => Pp(e8, T2, w2, S2, D2, ne2, x2, ie2, b2)), r3 = t3.map((e8) => Fp(e8, S2, ie2[e8._id ?? ``] ?? [])).filter((e8) => e8 !== void 0);
4942
4943
  return { postsList: n3.length === 0 && e7 ? Vp(T2, w2, S2, b2) : n3, postGalleryItems: r3.length === 0 && e7 ? Bp(T2) : r3, emptyState: E2.length === 0 && !ue2 ? T2.noPostsEmptyState() : null, hasError: ue2, hasMorePosts: oe2, isLoadingPosts: ce2, loadMorePosts: he2, filteredView: Xp(i2, v2) };
4943
4944
  }, [i2, v2, E2, D2, ne2, ie2, T2, w2, S2, x2, b2, ue2, _2, o2, f2, s2, d2, oe2, ce2, he2]);
4944
- return Hr(Br.feedProvider, ue2 ? `error` : E2.length > 0 ? `data` : `empty`), p(Hp.Provider, { value: ge2, children: e6 });
4945
+ return Yr(qr.feedProvider, ue2 ? `error` : E2.length > 0 ? `data` : `empty`), p(Hp.Provider, { value: ge2, children: e6 });
4945
4946
  };
4946
4947
  var nm = (e6, t2, n2, r2, i2, a2, o2, s2, c2) => `blog-builder:feed:${e6 ?? ``}|${t2 ?? ``}|c:${n2 ?? ``}|t:${r2 ?? ``}|p:${i2}|${a2}|${o2}|${s2}|${+!!c2}`;
4947
4948
  function rm({ children: e6, categoryPicker: n2, postsPicker: r2, pageSize: i2, postOffset: a2, sortOrder: o2, featuredOnly: s2, liveRefreshGeneration: l2 = 0 }) {
4948
- let u2 = Wr(), d2 = Ir(), f2 = Yn(), h2 = f2.kind === `category` ? f2.slug : void 0, g2 = f2.kind === `tag` ? f2.slug : void 0, _2 = h2 || g2 ? void 0 : rp(n2), v2 = h2 || g2 ? `` : cp(r2).join(`,`), y2 = Gp(i2), b2 = Kp(a2), x2 = qp(o2), S2 = s2 === true, C2 = Qr() && !S2 && !_2 && !v2 && !h2 && !g2, w2 = ka(), T2 = c(() => Or(Rn), []), { i18n: E2, locale: ee2 } = Zd(ef), D2 = Rr(() => ({ language: u2, route: Kn(h2, g2), filterCategoryId: _2, filterPostIds: v2, categorySlug: h2, tagSlug: g2, pageSize: y2, postOffset: b2, sortOrder: x2, featuredOnly: S2, liveRefreshGeneration: l2, firstPagePromise: em(Yc({ key: l2 > 0 ? null : nm(u2, _2, h2, g2, v2, y2, b2, x2, S2), warmupData: w2, fetchData: () => op(jr(T2, `feed-first-page`, { feature: Dr.feed, tags: { sortOrder: x2 } }, tp({ offset: b2, limit: y2, language: u2, categoryId: _2, ...h2 && { categorySlug: h2 }, ...g2 && { tagSlug: g2 }, ...v2 && { postIds: v2.split(`,`) }, sortOrder: x2, featuredOnly: S2, propagateErrors: true, memoizeLookups: !w2.isServer }).then((e7) => C2 ? ep(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]);
4949
- return p(Bc, { i18n: E2, children: m(t, { fallback: p(Hp.Provider, { value: Jp, children: e6 }), children: [p(Xd, { i18n: E2, locale: ee2 }), p(ap, { fallback: p(Hp.Provider, { value: Yp, children: e6 }), feature: Dr.feed, monitoringClient: T2, rethrow: d2, children: p(tm, { 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 }, `${nm(D2.language, D2.filterCategoryId, D2.categorySlug, D2.tagSlug, D2.filterPostIds, D2.pageSize, D2.postOffset, D2.sortOrder, D2.featuredOnly)}#${D2.liveRefreshGeneration}`) })] }) });
4949
+ let u2 = Zr(), d2 = Ur(), f2 = Yn(), h2 = f2.kind === `category` ? f2.slug : void 0, g2 = f2.kind === `tag` ? f2.slug : void 0, _2 = h2 || g2 ? void 0 : rp(n2), v2 = h2 || g2 ? `` : cp(r2).join(`,`), y2 = Gp(i2), b2 = Kp(a2), x2 = qp(o2), S2 = s2 === true, C2 = ar() && !S2 && !_2 && !v2 && !h2 && !g2, w2 = ka(), T2 = c(() => Fr(Ln), []), { i18n: E2, locale: ee2 } = Zd(ef), D2 = Gr(() => ({ language: u2, route: Kn(h2, g2), filterCategoryId: _2, filterPostIds: v2, categorySlug: h2, tagSlug: g2, pageSize: y2, postOffset: b2, sortOrder: x2, featuredOnly: S2, liveRefreshGeneration: l2, firstPagePromise: em(Yc({ key: l2 > 0 ? null : nm(u2, _2, h2, g2, v2, y2, b2, x2, S2), warmupData: w2, fetchData: () => op(Rr(T2, `feed-first-page`, { feature: Pr.feed, tags: { sortOrder: x2 } }, tp({ offset: b2, limit: y2, language: u2, categoryId: _2, ...h2 && { categorySlug: h2 }, ...g2 && { tagSlug: g2 }, ...v2 && { postIds: v2.split(`,`) }, sortOrder: x2, featuredOnly: S2, propagateErrors: true, memoizeLookups: !w2.isServer }).then((e7) => C2 ? ep(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]);
4950
+ return p(Bc, { i18n: E2, children: m(t, { fallback: p(Hp.Provider, { value: Jp, children: e6 }), children: [p(Xd, { i18n: E2, locale: ee2 }), p(ap, { fallback: p(Hp.Provider, { value: Yp, children: e6 }), feature: Pr.feed, monitoringClient: T2, rethrow: d2, children: p(tm, { 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 }, `${nm(D2.language, D2.filterCategoryId, D2.categorySlug, D2.tagSlug, D2.filterPostIds, D2.pageSize, D2.postOffset, D2.sortOrder, D2.featuredOnly)}#${D2.liveRefreshGeneration}`) })] }) });
4950
4951
  }
4951
- var im = jn(`ada94d8c-4889-444e-b773-f1a875693fdb`);
4952
+ var im = An(`ada94d8c-4889-444e-b773-f1a875693fdb`);
4952
4953
  export {
4953
4954
  rm as PostListProvider,
4954
4955
  rm as default,