@wix/form-public 0.519.0 → 0.521.0

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.
package/dist/index.cjs CHANGED
@@ -15563,7 +15563,7 @@ var init_viewer_context = __esm({
15563
15563
  });
15564
15564
 
15565
15565
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/next-schema/generated/ricos_document.js
15566
- var Animation_Type, PluginContainerData_Alignment, PluginContainerData_Width_Type, LayoutData_BannerPosition, RicosDocumentNodeType, Node_Type;
15566
+ var Animation_Type, PluginContainerData_Alignment, PluginContainerData_Width_Type, FontSizeData_fontType, LayoutData_BannerPosition, RicosDocumentNodeType, Node_Type;
15567
15567
  var init_ricos_document = __esm({
15568
15568
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/next-schema/generated/ricos_document.js"() {
15569
15569
  Animation_Type = {
@@ -15581,6 +15581,10 @@ var init_ricos_document = __esm({
15581
15581
  ORIGINAL: "ORIGINAL",
15582
15582
  FULL_WIDTH: "FULL_WIDTH"
15583
15583
  };
15584
+ FontSizeData_fontType = {
15585
+ PX: "PX",
15586
+ EM: "EM"
15587
+ };
15584
15588
  LayoutData_BannerPosition = {
15585
15589
  TOP: "TOP",
15586
15590
  BOTTOM: "BOTTOM",
@@ -15733,7 +15737,7 @@ var init_plugin_names = __esm({
15733
15737
  var RICOS_VERSION;
15734
15738
  var init_version = __esm({
15735
15739
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/next-schema/version.js"() {
15736
- RICOS_VERSION = "11.20.0";
15740
+ RICOS_VERSION = "11.20.5";
15737
15741
  }
15738
15742
  });
15739
15743
 
@@ -16657,7 +16661,7 @@ var init_ReadonlyArray = __esm({
16657
16661
  });
16658
16662
 
16659
16663
  // ../../node_modules/fp-ts-esm/es6/Array.js
16660
- var append3, chainWithIndex, of3, zero, map, ap, flatMap, filterMapWithIndex, filterMap, compact, reduceWithIndex3, traverse, traverseWithIndex, getSemigroup2, getMonoid2;
16664
+ var append3, of3, zero, map, filterMapWithIndex, filterMap, compact, reduceWithIndex3, traverse, traverseWithIndex, getSemigroup2, getMonoid2;
16661
16665
  var init_Array = __esm({
16662
16666
  "../../node_modules/fp-ts-esm/es6/Array.js"() {
16663
16667
  init_Apply();
@@ -16672,21 +16676,9 @@ var init_Array = __esm({
16672
16676
  init_Witherable();
16673
16677
  init_Zero();
16674
16678
  append3 = append;
16675
- chainWithIndex = (f) => (as4) => {
16676
- const out = [];
16677
- for (let i = 0; i < as4.length; i++) {
16678
- const bs2 = f(i, as4[i]);
16679
- for (let j3 = 0; j3 < bs2.length; j3++) {
16680
- out.push(bs2[j3]);
16681
- }
16682
- }
16683
- return out;
16684
- };
16685
16679
  of3 = of;
16686
16680
  zero = () => [];
16687
16681
  map = (f) => (fa2) => fa2.map((a2) => f(a2));
16688
- ap = (fa2) => flatMap((f) => pipe(fa2, map(f)));
16689
- flatMap = /* @__PURE__ */ dual(2, (ma2, f) => pipe(ma2, chainWithIndex((i, a2) => f(a2, i))));
16690
16682
  filterMapWithIndex = (f) => (fa2) => {
16691
16683
  const out = [];
16692
16684
  for (let i = 0; i < fa2.length; i++) {
@@ -16972,6 +16964,25 @@ var init_common_enums = __esm({
16972
16964
  })(Gradient_Type2 || {});
16973
16965
  }
16974
16966
  });
16967
+
16968
+ // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.enums.js
16969
+ var FontSizeData_fontType2;
16970
+ var init_decoration_fontsize_enums = __esm({
16971
+ "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.enums.js"() {
16972
+ FontSizeData_fontType2 = /* @__PURE__ */ ((FontSizeData_fontType22) => {
16973
+ FontSizeData_fontType22["PX"] = "PX";
16974
+ FontSizeData_fontType22["EM"] = "EM";
16975
+ FontSizeData_fontType22["UNRECOGNIZED"] = "UNRECOGNIZED";
16976
+ return FontSizeData_fontType22;
16977
+ })(FontSizeData_fontType2 || {});
16978
+ }
16979
+ });
16980
+ var init_decoration_fontsize = __esm({
16981
+ "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.js"() {
16982
+ init_decoration_fontsize_enums();
16983
+ ({ unit: FontSizeData_fontType2.PX });
16984
+ }
16985
+ });
16975
16986
  var init_common = __esm({
16976
16987
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/common.js"() {
16977
16988
  init_common_enums();
@@ -17017,25 +17028,6 @@ var init_decoration_fontfamily = __esm({
17017
17028
  }
17018
17029
  });
17019
17030
 
17020
- // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.enums.js
17021
- var FontSizeData_fontType2;
17022
- var init_decoration_fontsize_enums = __esm({
17023
- "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.enums.js"() {
17024
- FontSizeData_fontType2 = /* @__PURE__ */ ((FontSizeData_fontType22) => {
17025
- FontSizeData_fontType22["PX"] = "PX";
17026
- FontSizeData_fontType22["EM"] = "EM";
17027
- FontSizeData_fontType22["UNRECOGNIZED"] = "UNRECOGNIZED";
17028
- return FontSizeData_fontType22;
17029
- })(FontSizeData_fontType2 || {});
17030
- }
17031
- });
17032
- var init_decoration_fontsize = __esm({
17033
- "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_fontsize.js"() {
17034
- init_decoration_fontsize_enums();
17035
- ({ unit: FontSizeData_fontType2.PX });
17036
- }
17037
- });
17038
-
17039
17031
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_link.js
17040
17032
  var init_decoration_link = __esm({
17041
17033
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/decoration_link.js"() {
@@ -17295,7 +17287,7 @@ var init_node_paragraph = __esm({
17295
17287
  });
17296
17288
 
17297
17289
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_app_embed.enums.js
17298
- var AppEmbedData_AppType2, AppEmbedData_ImageStyles_Position, AppEmbedData_ImageStyles_AspectRatio, AppEmbedData_ImageStyles_Resizing, AppEmbedData_RibbonStyles_Placement, AppEmbedData_CardStyles_Type, AppEmbedData_CardStyles_Alignment, AppEmbedData_CardStyles_Layout;
17290
+ var AppEmbedData_AppType2, AppEmbedData_ImageStyles_Position2, AppEmbedData_ImageStyles_AspectRatio2, AppEmbedData_ImageStyles_Resizing2, AppEmbedData_RibbonStyles_Placement2, AppEmbedData_CardStyles_Type2, AppEmbedData_CardStyles_Alignment2, AppEmbedData_CardStyles_Layout;
17299
17291
  var init_plugin_app_embed_enums = __esm({
17300
17292
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_app_embed.enums.js"() {
17301
17293
  AppEmbedData_AppType2 = /* @__PURE__ */ ((AppEmbedData_AppType22) => {
@@ -17305,44 +17297,44 @@ var init_plugin_app_embed_enums = __esm({
17305
17297
  AppEmbedData_AppType22["UNRECOGNIZED"] = "UNRECOGNIZED";
17306
17298
  return AppEmbedData_AppType22;
17307
17299
  })(AppEmbedData_AppType2 || {});
17308
- AppEmbedData_ImageStyles_Position = /* @__PURE__ */ ((AppEmbedData_ImageStyles_Position2) => {
17309
- AppEmbedData_ImageStyles_Position2["START"] = "START";
17310
- AppEmbedData_ImageStyles_Position2["END"] = "END";
17311
- AppEmbedData_ImageStyles_Position2["TOP"] = "TOP";
17312
- AppEmbedData_ImageStyles_Position2["UNRECOGNIZED"] = "UNRECOGNIZED";
17313
- return AppEmbedData_ImageStyles_Position2;
17314
- })(AppEmbedData_ImageStyles_Position || {});
17315
- AppEmbedData_ImageStyles_AspectRatio = /* @__PURE__ */ ((AppEmbedData_ImageStyles_AspectRatio2) => {
17316
- AppEmbedData_ImageStyles_AspectRatio2["SQUARE"] = "SQUARE";
17317
- AppEmbedData_ImageStyles_AspectRatio2["RECTANGLE"] = "RECTANGLE";
17318
- AppEmbedData_ImageStyles_AspectRatio2["UNRECOGNIZED"] = "UNRECOGNIZED";
17319
- return AppEmbedData_ImageStyles_AspectRatio2;
17320
- })(AppEmbedData_ImageStyles_AspectRatio || {});
17321
- AppEmbedData_ImageStyles_Resizing = /* @__PURE__ */ ((AppEmbedData_ImageStyles_Resizing2) => {
17322
- AppEmbedData_ImageStyles_Resizing2["FILL"] = "FILL";
17323
- AppEmbedData_ImageStyles_Resizing2["FIT"] = "FIT";
17324
- AppEmbedData_ImageStyles_Resizing2["UNRECOGNIZED"] = "UNRECOGNIZED";
17325
- return AppEmbedData_ImageStyles_Resizing2;
17326
- })(AppEmbedData_ImageStyles_Resizing || {});
17327
- AppEmbedData_RibbonStyles_Placement = /* @__PURE__ */ ((AppEmbedData_RibbonStyles_Placement2) => {
17328
- AppEmbedData_RibbonStyles_Placement2["IMAGE"] = "IMAGE";
17329
- AppEmbedData_RibbonStyles_Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
17330
- AppEmbedData_RibbonStyles_Placement2["UNRECOGNIZED"] = "UNRECOGNIZED";
17331
- return AppEmbedData_RibbonStyles_Placement2;
17332
- })(AppEmbedData_RibbonStyles_Placement || {});
17333
- AppEmbedData_CardStyles_Type = /* @__PURE__ */ ((AppEmbedData_CardStyles_Type2) => {
17334
- AppEmbedData_CardStyles_Type2["CONTAINED"] = "CONTAINED";
17335
- AppEmbedData_CardStyles_Type2["FRAMELESS"] = "FRAMELESS";
17336
- AppEmbedData_CardStyles_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
17337
- return AppEmbedData_CardStyles_Type2;
17338
- })(AppEmbedData_CardStyles_Type || {});
17339
- AppEmbedData_CardStyles_Alignment = /* @__PURE__ */ ((AppEmbedData_CardStyles_Alignment2) => {
17340
- AppEmbedData_CardStyles_Alignment2["START"] = "START";
17341
- AppEmbedData_CardStyles_Alignment2["CENTER"] = "CENTER";
17342
- AppEmbedData_CardStyles_Alignment2["END"] = "END";
17343
- AppEmbedData_CardStyles_Alignment2["UNRECOGNIZED"] = "UNRECOGNIZED";
17344
- return AppEmbedData_CardStyles_Alignment2;
17345
- })(AppEmbedData_CardStyles_Alignment || {});
17300
+ AppEmbedData_ImageStyles_Position2 = /* @__PURE__ */ ((AppEmbedData_ImageStyles_Position22) => {
17301
+ AppEmbedData_ImageStyles_Position22["START"] = "START";
17302
+ AppEmbedData_ImageStyles_Position22["END"] = "END";
17303
+ AppEmbedData_ImageStyles_Position22["TOP"] = "TOP";
17304
+ AppEmbedData_ImageStyles_Position22["UNRECOGNIZED"] = "UNRECOGNIZED";
17305
+ return AppEmbedData_ImageStyles_Position22;
17306
+ })(AppEmbedData_ImageStyles_Position2 || {});
17307
+ AppEmbedData_ImageStyles_AspectRatio2 = /* @__PURE__ */ ((AppEmbedData_ImageStyles_AspectRatio22) => {
17308
+ AppEmbedData_ImageStyles_AspectRatio22["SQUARE"] = "SQUARE";
17309
+ AppEmbedData_ImageStyles_AspectRatio22["RECTANGLE"] = "RECTANGLE";
17310
+ AppEmbedData_ImageStyles_AspectRatio22["UNRECOGNIZED"] = "UNRECOGNIZED";
17311
+ return AppEmbedData_ImageStyles_AspectRatio22;
17312
+ })(AppEmbedData_ImageStyles_AspectRatio2 || {});
17313
+ AppEmbedData_ImageStyles_Resizing2 = /* @__PURE__ */ ((AppEmbedData_ImageStyles_Resizing22) => {
17314
+ AppEmbedData_ImageStyles_Resizing22["FILL"] = "FILL";
17315
+ AppEmbedData_ImageStyles_Resizing22["FIT"] = "FIT";
17316
+ AppEmbedData_ImageStyles_Resizing22["UNRECOGNIZED"] = "UNRECOGNIZED";
17317
+ return AppEmbedData_ImageStyles_Resizing22;
17318
+ })(AppEmbedData_ImageStyles_Resizing2 || {});
17319
+ AppEmbedData_RibbonStyles_Placement2 = /* @__PURE__ */ ((AppEmbedData_RibbonStyles_Placement22) => {
17320
+ AppEmbedData_RibbonStyles_Placement22["IMAGE"] = "IMAGE";
17321
+ AppEmbedData_RibbonStyles_Placement22["PRODUCT_INFO"] = "PRODUCT_INFO";
17322
+ AppEmbedData_RibbonStyles_Placement22["UNRECOGNIZED"] = "UNRECOGNIZED";
17323
+ return AppEmbedData_RibbonStyles_Placement22;
17324
+ })(AppEmbedData_RibbonStyles_Placement2 || {});
17325
+ AppEmbedData_CardStyles_Type2 = /* @__PURE__ */ ((AppEmbedData_CardStyles_Type22) => {
17326
+ AppEmbedData_CardStyles_Type22["CONTAINED"] = "CONTAINED";
17327
+ AppEmbedData_CardStyles_Type22["FRAMELESS"] = "FRAMELESS";
17328
+ AppEmbedData_CardStyles_Type22["UNRECOGNIZED"] = "UNRECOGNIZED";
17329
+ return AppEmbedData_CardStyles_Type22;
17330
+ })(AppEmbedData_CardStyles_Type2 || {});
17331
+ AppEmbedData_CardStyles_Alignment2 = /* @__PURE__ */ ((AppEmbedData_CardStyles_Alignment22) => {
17332
+ AppEmbedData_CardStyles_Alignment22["START"] = "START";
17333
+ AppEmbedData_CardStyles_Alignment22["CENTER"] = "CENTER";
17334
+ AppEmbedData_CardStyles_Alignment22["END"] = "END";
17335
+ AppEmbedData_CardStyles_Alignment22["UNRECOGNIZED"] = "UNRECOGNIZED";
17336
+ return AppEmbedData_CardStyles_Alignment22;
17337
+ })(AppEmbedData_CardStyles_Alignment2 || {});
17346
17338
  AppEmbedData_CardStyles_Layout = /* @__PURE__ */ ((AppEmbedData_CardStyles_Layout2) => {
17347
17339
  AppEmbedData_CardStyles_Layout2["STACKED"] = "STACKED";
17348
17340
  AppEmbedData_CardStyles_Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
@@ -17356,16 +17348,16 @@ var init_plugin_app_embed = __esm({
17356
17348
  init_plugin_app_embed_enums();
17357
17349
  ({ type: AppEmbedData_AppType2.PRODUCT });
17358
17350
  ({
17359
- imagePosition: AppEmbedData_ImageStyles_Position.START,
17360
- aspectRatio: AppEmbedData_ImageStyles_AspectRatio.SQUARE,
17361
- resizing: AppEmbedData_ImageStyles_Resizing.FILL
17351
+ imagePosition: AppEmbedData_ImageStyles_Position2.START,
17352
+ aspectRatio: AppEmbedData_ImageStyles_AspectRatio2.SQUARE,
17353
+ resizing: AppEmbedData_ImageStyles_Resizing2.FILL
17362
17354
  });
17363
17355
  ({
17364
- ribbonPlacement: AppEmbedData_RibbonStyles_Placement.IMAGE
17356
+ ribbonPlacement: AppEmbedData_RibbonStyles_Placement2.IMAGE
17365
17357
  });
17366
17358
  ({
17367
- type: AppEmbedData_CardStyles_Type.CONTAINED,
17368
- alignment: AppEmbedData_CardStyles_Alignment.START,
17359
+ type: AppEmbedData_CardStyles_Type2.CONTAINED,
17360
+ alignment: AppEmbedData_CardStyles_Alignment2.START,
17369
17361
  titlePriceLayout: AppEmbedData_CardStyles_Layout.STACKED
17370
17362
  });
17371
17363
  }
@@ -19843,259 +19835,6 @@ var init_consts2 = __esm({
19843
19835
  }
19844
19836
  });
19845
19837
 
19846
- // ../../node_modules/fp-ts-esm/es6/boolean.js
19847
- var Eq3, SemigroupAll, SemigroupAny, MonoidAll, MonoidAny;
19848
- var init_boolean = __esm({
19849
- "../../node_modules/fp-ts-esm/es6/boolean.js"() {
19850
- Eq3 = {
19851
- equals: (first2, second) => first2 === second
19852
- };
19853
- SemigroupAll = {
19854
- concat: (first2, second) => first2 && second
19855
- };
19856
- SemigroupAny = {
19857
- concat: (first2, second) => first2 || second
19858
- };
19859
- MonoidAll = {
19860
- concat: SemigroupAll.concat,
19861
- empty: true
19862
- };
19863
- MonoidAny = {
19864
- concat: SemigroupAny.concat,
19865
- empty: false
19866
- };
19867
- ({
19868
- equals: Eq3.equals,
19869
- compare: (first2, second) => first2 < second ? -1 : first2 > second ? 1 : 0
19870
- });
19871
- }
19872
- });
19873
-
19874
- // ../../node_modules/fp-ts-esm/es6/Endomorphism.js
19875
- var init_Endomorphism = __esm({
19876
- "../../node_modules/fp-ts-esm/es6/Endomorphism.js"() {
19877
- init_function();
19878
- }
19879
- });
19880
-
19881
- // ../../node_modules/fp-ts-esm/es6/Monoid.js
19882
- var struct2, concatAll4, fold2, monoidAll, monoidAny;
19883
- var init_Monoid = __esm({
19884
- "../../node_modules/fp-ts-esm/es6/Monoid.js"() {
19885
- init_Endomorphism();
19886
- init_function();
19887
- init_internal();
19888
- init_Semigroup();
19889
- struct2 = (monoids) => {
19890
- const empty4 = {};
19891
- for (const k3 in monoids) {
19892
- if (has.call(monoids, k3)) {
19893
- empty4[k3] = monoids[k3].empty;
19894
- }
19895
- }
19896
- return {
19897
- concat: struct(monoids).concat,
19898
- empty: empty4
19899
- };
19900
- };
19901
- concatAll4 = (M2) => concatAll2(M2)(M2.empty);
19902
- ({
19903
- concat: semigroupVoid.concat,
19904
- empty: void 0
19905
- });
19906
- fold2 = concatAll4;
19907
- monoidAll = {
19908
- concat: semigroupAll.concat,
19909
- empty: true
19910
- };
19911
- monoidAny = {
19912
- concat: semigroupAny.concat,
19913
- empty: false
19914
- };
19915
- ({
19916
- concat: semigroupString.concat,
19917
- empty: ""
19918
- });
19919
- ({
19920
- concat: semigroupSum.concat,
19921
- empty: 0
19922
- });
19923
- ({
19924
- concat: semigroupProduct.concat,
19925
- empty: 1
19926
- });
19927
- }
19928
- });
19929
-
19930
- // ../../node_modules/fp-ts-esm/es6/Predicate.js
19931
- var not;
19932
- var init_Predicate = __esm({
19933
- "../../node_modules/fp-ts-esm/es6/Predicate.js"() {
19934
- init_function();
19935
- not = (predicate) => (a2) => !predicate(a2);
19936
- }
19937
- });
19938
-
19939
- // ../../node_modules/fp-ts-esm/es6/Option.js
19940
- function fromPredicate3(predicate) {
19941
- return (a2) => predicate(a2) ? some3(a2) : none2;
19942
- }
19943
- var none2, some3, getLeft, getRight, _map3, _ap2, _reduce2, _foldMap2, _reduceRight2, _traverse2, _alt, _filter2, _filterMap2, _extend, _partition2, _partitionMap2, URI2, getMonoid7, map4, Functor2, of4, ap4, flatMap3, reduce5, foldMap5, reduceRight5, orElse, alt, zero2, extend, compact3, defaultSeparated, separate2, Compactable, filter2, filterMap3, partition2, partitionMap2, traverse3, sequence2, Traversable, _wither, _wilt, throwError, isNone2, matchW2, match2, fold3, getOrElseW, getOrElse, fromNullable, chain, option, getFirstMonoid;
19944
- var init_Option = __esm({
19945
- "../../node_modules/fp-ts-esm/es6/Option.js"() {
19946
- init_Applicative();
19947
- init_Apply();
19948
- init_Chain();
19949
- init_FromEither();
19950
- init_function();
19951
- init_Functor();
19952
- init_internal();
19953
- init_Predicate();
19954
- init_Semigroup();
19955
- init_Separated();
19956
- init_Witherable();
19957
- init_Zero();
19958
- none2 = none;
19959
- some3 = some;
19960
- getLeft = (ma2) => ma2._tag === "Right" ? none2 : some3(ma2.left);
19961
- getRight = (ma2) => ma2._tag === "Left" ? none2 : some3(ma2.right);
19962
- _map3 = (fa2, f) => pipe(fa2, map4(f));
19963
- _ap2 = (fab, fa2) => pipe(fab, ap4(fa2));
19964
- _reduce2 = (fa2, b, f) => pipe(fa2, reduce5(b, f));
19965
- _foldMap2 = (M2) => {
19966
- const foldMapM = foldMap5(M2);
19967
- return (fa2, f) => pipe(fa2, foldMapM(f));
19968
- };
19969
- _reduceRight2 = (fa2, b, f) => pipe(fa2, reduceRight5(b, f));
19970
- _traverse2 = (F3) => {
19971
- const traverseF = traverse3(F3);
19972
- return (ta2, f) => pipe(ta2, traverseF(f));
19973
- };
19974
- _alt = (fa2, that) => pipe(fa2, alt(that));
19975
- _filter2 = (fa2, predicate) => pipe(fa2, filter2(predicate));
19976
- _filterMap2 = (fa2, f) => pipe(fa2, filterMap3(f));
19977
- _extend = (wa, f) => pipe(wa, extend(f));
19978
- _partition2 = (fa2, predicate) => pipe(fa2, partition2(predicate));
19979
- _partitionMap2 = (fa2, f) => pipe(fa2, partitionMap2(f));
19980
- URI2 = "Option";
19981
- getMonoid7 = (S3) => ({
19982
- concat: (x, y) => isNone2(x) ? y : isNone2(y) ? x : some3(S3.concat(x.value, y.value)),
19983
- empty: none2
19984
- });
19985
- map4 = (f) => (fa2) => isNone2(fa2) ? none2 : some3(f(fa2.value));
19986
- Functor2 = {
19987
- URI: URI2,
19988
- map: _map3
19989
- };
19990
- dual(2, as(Functor2));
19991
- of4 = some3;
19992
- ap4 = (fa2) => (fab) => isNone2(fab) ? none2 : isNone2(fa2) ? none2 : some3(fab.value(fa2.value));
19993
- flatMap3 = /* @__PURE__ */ dual(2, (ma2, f) => isNone2(ma2) ? none2 : f(ma2.value));
19994
- reduce5 = (b, f) => (fa2) => isNone2(fa2) ? b : f(b, fa2.value);
19995
- foldMap5 = (M2) => (f) => (fa2) => isNone2(fa2) ? M2.empty : f(fa2.value);
19996
- reduceRight5 = (b, f) => (fa2) => isNone2(fa2) ? b : f(fa2.value, b);
19997
- orElse = dual(2, (self2, that) => isNone2(self2) ? that() : self2);
19998
- alt = orElse;
19999
- zero2 = () => none2;
20000
- extend = (f) => (wa) => isNone2(wa) ? none2 : some3(f(wa));
20001
- compact3 = /* @__PURE__ */ flatMap3(identity);
20002
- defaultSeparated = /* @__PURE__ */ separated(none2, none2);
20003
- separate2 = (ma2) => isNone2(ma2) ? defaultSeparated : separated(getLeft(ma2.value), getRight(ma2.value));
20004
- Compactable = {
20005
- URI: URI2,
20006
- compact: compact3,
20007
- separate: separate2
20008
- };
20009
- filter2 = (predicate) => (fa2) => isNone2(fa2) ? none2 : predicate(fa2.value) ? fa2 : none2;
20010
- filterMap3 = (f) => (fa2) => isNone2(fa2) ? none2 : f(fa2.value);
20011
- partition2 = (predicate) => (fa2) => separated(_filter2(fa2, not(predicate)), _filter2(fa2, predicate));
20012
- partitionMap2 = (f) => flow(map4(f), separate2);
20013
- traverse3 = (F3) => (f) => (ta2) => isNone2(ta2) ? F3.of(none2) : F3.map(f(ta2.value), some3);
20014
- sequence2 = (F3) => (ta2) => isNone2(ta2) ? F3.of(none2) : F3.map(ta2.value, some3);
20015
- Traversable = {
20016
- URI: URI2,
20017
- map: _map3,
20018
- reduce: _reduce2,
20019
- foldMap: _foldMap2,
20020
- reduceRight: _reduceRight2,
20021
- traverse: _traverse2,
20022
- sequence: sequence2
20023
- };
20024
- _wither = /* @__PURE__ */ witherDefault(Traversable, Compactable);
20025
- _wilt = /* @__PURE__ */ wiltDefault(Traversable, Compactable);
20026
- throwError = () => none2;
20027
- isNone2 = (fa2) => fa2._tag === "None";
20028
- matchW2 = (onNone, onSome) => (ma2) => isNone2(ma2) ? onNone() : onSome(ma2.value);
20029
- match2 = matchW2;
20030
- fold3 = match2;
20031
- getOrElseW = (onNone) => (ma2) => isNone2(ma2) ? onNone() : ma2.value;
20032
- getOrElse = getOrElseW;
20033
- fromNullable = (a2) => a2 == null ? none2 : some3(a2);
20034
- chain = flatMap3;
20035
- option = {
20036
- URI: URI2,
20037
- map: _map3,
20038
- of: of4,
20039
- ap: _ap2,
20040
- chain: flatMap3,
20041
- reduce: _reduce2,
20042
- foldMap: _foldMap2,
20043
- reduceRight: _reduceRight2,
20044
- traverse: _traverse2,
20045
- sequence: sequence2,
20046
- zero: zero2,
20047
- alt: _alt,
20048
- extend: _extend,
20049
- compact: compact3,
20050
- separate: separate2,
20051
- filter: _filter2,
20052
- filterMap: _filterMap2,
20053
- partition: _partition2,
20054
- partitionMap: _partitionMap2,
20055
- wither: _wither,
20056
- wilt: _wilt,
20057
- throwError
20058
- };
20059
- getFirstMonoid = () => getMonoid7(first());
20060
- }
20061
- });
20062
-
20063
- // ../../node_modules/@wix/ricos/dist/es/ricos-content/fp-utils.js
20064
- var firstRight2, concatApply;
20065
- var init_fp_utils = __esm({
20066
- "../../node_modules/@wix/ricos/dist/es/ricos-content/fp-utils.js"() {
20067
- init_Array();
20068
- init_boolean();
20069
- init_Either();
20070
- init_function();
20071
- init_Monoid();
20072
- init_Option();
20073
- init_Semigroup();
20074
- firstRight2 = (candidate, defaultT, resolvers) => {
20075
- const firstRightSemi = getSemigroup3(first());
20076
- const concatFirstRightSemi = concatAll2(firstRightSemi)(left2(defaultT));
20077
- return pipe(
20078
- concatFirstRightSemi(
20079
- pipe(
20080
- resolvers,
20081
- map(
20082
- (r3) => pipe(
20083
- candidate,
20084
- fromPredicate2(r3[0], () => defaultT),
20085
- map3(r3[1])
20086
- )
20087
- )
20088
- )
20089
- ),
20090
- fold(identity, identity)
20091
- );
20092
- };
20093
- concatApply = (m) => (fns) => (data) => pipe(fns, ap(of3(data)), concatAll4(m));
20094
- concatApply(MonoidAll);
20095
- concatApply(MonoidAny);
20096
- }
20097
- });
20098
-
20099
19838
  // ../../node_modules/@wix/ricos/dist/es/ricos-content/get-text-direction.js
20100
19839
  var RTL, LTR, isRtlRegex, isLtrRegex, emojiRegex, getTextDirection;
20101
19840
  var init_get_text_direction = __esm({
@@ -20570,7 +20309,7 @@ var init_linkify_it = __esm({
20570
20309
  }
20571
20310
  return this.__compiled__[schema.toLowerCase()].validate(text, pos, this);
20572
20311
  };
20573
- LinkifyIt.prototype.match = function match3(text) {
20312
+ LinkifyIt.prototype.match = function match2(text) {
20574
20313
  const result2 = [];
20575
20314
  let shift = 0;
20576
20315
  if (this.__index__ >= 0 && this.__text_cache__ === text) {
@@ -20666,7 +20405,7 @@ function unfoldTree(b, f) {
20666
20405
  function unfoldForest(bs2, f) {
20667
20406
  return bs2.map((b) => unfoldTree(b, f));
20668
20407
  }
20669
- var _map4, _ap3, _reduce3, _foldMap3, _reduceRight3, _extend2, _traverse3, flatMap4, extend2, map5, reduce6, foldMap6, reduceRight6, extract2, traverse4, sequence3, of5, URI3, tree;
20408
+ var _map3, _ap2, _reduce2, _foldMap2, _reduceRight2, _extend, _traverse2, flatMap3, extend, map4, reduce5, foldMap5, reduceRight5, extract2, traverse3, sequence2, of4, URI2, tree;
20670
20409
  var init_Tree = __esm({
20671
20410
  "../../node_modules/fp-ts-esm/es6/Tree.js"() {
20672
20411
  init_Apply();
@@ -20676,54 +20415,54 @@ var init_Tree = __esm({
20676
20415
  init_function();
20677
20416
  init_Functor();
20678
20417
  init_internal();
20679
- _map4 = (fa2, f) => pipe(fa2, map5(f));
20680
- _ap3 = (fab, fa2) => flatMap4(fab, (f) => pipe(fa2, map5(f)));
20681
- _reduce3 = (fa2, b, f) => pipe(fa2, reduce6(b, f));
20682
- _foldMap3 = (M2) => {
20683
- const foldMapM = foldMap6(M2);
20418
+ _map3 = (fa2, f) => pipe(fa2, map4(f));
20419
+ _ap2 = (fab, fa2) => flatMap3(fab, (f) => pipe(fa2, map4(f)));
20420
+ _reduce2 = (fa2, b, f) => pipe(fa2, reduce5(b, f));
20421
+ _foldMap2 = (M2) => {
20422
+ const foldMapM = foldMap5(M2);
20684
20423
  return (fa2, f) => pipe(fa2, foldMapM(f));
20685
20424
  };
20686
- _reduceRight3 = (fa2, b, f) => pipe(fa2, reduceRight6(b, f));
20687
- _extend2 = (wa, f) => pipe(wa, extend2(f));
20688
- _traverse3 = (F3) => {
20689
- const traverseF = traverse4(F3);
20425
+ _reduceRight2 = (fa2, b, f) => pipe(fa2, reduceRight5(b, f));
20426
+ _extend = (wa, f) => pipe(wa, extend(f));
20427
+ _traverse2 = (F3) => {
20428
+ const traverseF = traverse3(F3);
20690
20429
  return (ta2, f) => pipe(ta2, traverseF(f));
20691
20430
  };
20692
- flatMap4 = /* @__PURE__ */ dual(2, (ma2, f) => {
20431
+ flatMap3 = /* @__PURE__ */ dual(2, (ma2, f) => {
20693
20432
  const { value, forest } = f(ma2.value);
20694
20433
  const concat = getMonoid2().concat;
20695
20434
  return {
20696
20435
  value,
20697
- forest: concat(forest, ma2.forest.map(flatMap4(f)))
20436
+ forest: concat(forest, ma2.forest.map(flatMap3(f)))
20698
20437
  };
20699
20438
  });
20700
- extend2 = (f) => (wa) => ({
20439
+ extend = (f) => (wa) => ({
20701
20440
  value: f(wa),
20702
- forest: wa.forest.map(extend2(f))
20441
+ forest: wa.forest.map(extend(f))
20703
20442
  });
20704
- map5 = (f) => (fa2) => ({
20443
+ map4 = (f) => (fa2) => ({
20705
20444
  value: f(fa2.value),
20706
- forest: fa2.forest.map(map5(f))
20445
+ forest: fa2.forest.map(map4(f))
20707
20446
  });
20708
- reduce6 = (b, f) => (fa2) => {
20447
+ reduce5 = (b, f) => (fa2) => {
20709
20448
  let r3 = f(b, fa2.value);
20710
20449
  const len = fa2.forest.length;
20711
20450
  for (let i = 0; i < len; i++) {
20712
- r3 = pipe(fa2.forest[i], reduce6(r3, f));
20451
+ r3 = pipe(fa2.forest[i], reduce5(r3, f));
20713
20452
  }
20714
20453
  return r3;
20715
20454
  };
20716
- foldMap6 = (M2) => (f) => reduce6(M2.empty, (acc, a2) => M2.concat(acc, f(a2)));
20717
- reduceRight6 = (b, f) => (fa2) => {
20455
+ foldMap5 = (M2) => (f) => reduce5(M2.empty, (acc, a2) => M2.concat(acc, f(a2)));
20456
+ reduceRight5 = (b, f) => (fa2) => {
20718
20457
  let r3 = b;
20719
20458
  const len = fa2.forest.length;
20720
20459
  for (let i = len - 1; i >= 0; i--) {
20721
- r3 = pipe(fa2.forest[i], reduceRight6(r3, f));
20460
+ r3 = pipe(fa2.forest[i], reduceRight5(r3, f));
20722
20461
  }
20723
20462
  return f(fa2.value, r3);
20724
20463
  };
20725
20464
  extract2 = (wa) => wa.value;
20726
- traverse4 = (F3) => {
20465
+ traverse3 = (F3) => {
20727
20466
  const traverseF = traverse(F3);
20728
20467
  const out = (f) => (ta2) => F3.ap(F3.map(f(ta2.value), (value) => (forest) => ({
20729
20468
  value,
@@ -20731,22 +20470,22 @@ var init_Tree = __esm({
20731
20470
  })), pipe(ta2.forest, traverseF(out(f))));
20732
20471
  return out;
20733
20472
  };
20734
- sequence3 = (F3) => traverse4(F3)(identity);
20735
- of5 = (a2) => make(a2);
20736
- URI3 = "Tree";
20473
+ sequence2 = (F3) => traverse3(F3)(identity);
20474
+ of4 = (a2) => make(a2);
20475
+ URI2 = "Tree";
20737
20476
  tree = {
20738
- URI: URI3,
20739
- map: _map4,
20740
- of: of5,
20741
- ap: _ap3,
20742
- chain: flatMap4,
20743
- reduce: _reduce3,
20744
- foldMap: _foldMap3,
20745
- reduceRight: _reduceRight3,
20746
- traverse: _traverse3,
20747
- sequence: sequence3,
20477
+ URI: URI2,
20478
+ map: _map3,
20479
+ of: of4,
20480
+ ap: _ap2,
20481
+ chain: flatMap3,
20482
+ reduce: _reduce2,
20483
+ foldMap: _foldMap2,
20484
+ reduceRight: _reduceRight2,
20485
+ traverse: _traverse2,
20486
+ sequence: sequence2,
20748
20487
  extract: extract2,
20749
- extend: _extend2
20488
+ extend: _extend
20750
20489
  };
20751
20490
  }
20752
20491
  });
@@ -20754,31 +20493,220 @@ var init_Tree = __esm({
20754
20493
  // ../../node_modules/fp-ts-esm/es6/Const.js
20755
20494
  function getApply(S3) {
20756
20495
  return {
20757
- URI: URI4,
20496
+ URI: URI3,
20758
20497
  _E: void 0,
20759
- map: _map5,
20498
+ map: _map4,
20760
20499
  ap: (fab, fa2) => make2(S3.concat(fab, fa2))
20761
20500
  };
20762
20501
  }
20763
20502
  function getApplicative(M2) {
20764
20503
  const A = getApply(M2);
20765
20504
  return {
20766
- URI: URI4,
20505
+ URI: URI3,
20767
20506
  _E: void 0,
20768
20507
  map: A.map,
20769
20508
  ap: A.ap,
20770
20509
  of: () => make2(M2.empty)
20771
20510
  };
20772
20511
  }
20773
- var make2, _map5, map6, URI4;
20512
+ var make2, _map4, map5, URI3;
20774
20513
  var init_Const = __esm({
20775
20514
  "../../node_modules/fp-ts-esm/es6/Const.js"() {
20776
20515
  init_function();
20777
20516
  init_Functor();
20778
20517
  make2 = unsafeCoerce;
20518
+ _map4 = (fa2, f) => pipe(fa2, map5(f));
20519
+ map5 = () => unsafeCoerce;
20520
+ URI3 = "Const";
20521
+ }
20522
+ });
20523
+
20524
+ // ../../node_modules/fp-ts-esm/es6/Endomorphism.js
20525
+ var init_Endomorphism = __esm({
20526
+ "../../node_modules/fp-ts-esm/es6/Endomorphism.js"() {
20527
+ init_function();
20528
+ }
20529
+ });
20530
+
20531
+ // ../../node_modules/fp-ts-esm/es6/Monoid.js
20532
+ var struct2, concatAll4, fold2, monoidAll, monoidAny;
20533
+ var init_Monoid = __esm({
20534
+ "../../node_modules/fp-ts-esm/es6/Monoid.js"() {
20535
+ init_Endomorphism();
20536
+ init_function();
20537
+ init_internal();
20538
+ init_Semigroup();
20539
+ struct2 = (monoids) => {
20540
+ const empty4 = {};
20541
+ for (const k3 in monoids) {
20542
+ if (has.call(monoids, k3)) {
20543
+ empty4[k3] = monoids[k3].empty;
20544
+ }
20545
+ }
20546
+ return {
20547
+ concat: struct(monoids).concat,
20548
+ empty: empty4
20549
+ };
20550
+ };
20551
+ concatAll4 = (M2) => concatAll2(M2)(M2.empty);
20552
+ ({
20553
+ concat: semigroupVoid.concat,
20554
+ empty: void 0
20555
+ });
20556
+ fold2 = concatAll4;
20557
+ monoidAll = {
20558
+ concat: semigroupAll.concat,
20559
+ empty: true
20560
+ };
20561
+ monoidAny = {
20562
+ concat: semigroupAny.concat,
20563
+ empty: false
20564
+ };
20565
+ ({
20566
+ concat: semigroupString.concat,
20567
+ empty: ""
20568
+ });
20569
+ ({
20570
+ concat: semigroupSum.concat,
20571
+ empty: 0
20572
+ });
20573
+ ({
20574
+ concat: semigroupProduct.concat,
20575
+ empty: 1
20576
+ });
20577
+ }
20578
+ });
20579
+
20580
+ // ../../node_modules/fp-ts-esm/es6/Predicate.js
20581
+ var not;
20582
+ var init_Predicate = __esm({
20583
+ "../../node_modules/fp-ts-esm/es6/Predicate.js"() {
20584
+ init_function();
20585
+ not = (predicate) => (a2) => !predicate(a2);
20586
+ }
20587
+ });
20588
+
20589
+ // ../../node_modules/fp-ts-esm/es6/Option.js
20590
+ function fromPredicate3(predicate) {
20591
+ return (a2) => predicate(a2) ? some3(a2) : none2;
20592
+ }
20593
+ var none2, some3, getLeft, getRight, _map5, _ap3, _reduce3, _foldMap3, _reduceRight3, _traverse3, _alt, _filter2, _filterMap2, _extend2, _partition2, _partitionMap2, URI4, getMonoid7, map6, Functor2, of5, ap4, flatMap4, reduce6, foldMap6, reduceRight6, orElse, alt, zero2, extend2, compact3, defaultSeparated, separate2, Compactable, filter2, filterMap3, partition2, partitionMap2, traverse4, sequence3, Traversable, _wither, _wilt, throwError, isNone2, matchW2, match3, fold3, getOrElseW, getOrElse, fromNullable, chain, option, getFirstMonoid;
20594
+ var init_Option = __esm({
20595
+ "../../node_modules/fp-ts-esm/es6/Option.js"() {
20596
+ init_Applicative();
20597
+ init_Apply();
20598
+ init_Chain();
20599
+ init_FromEither();
20600
+ init_function();
20601
+ init_Functor();
20602
+ init_internal();
20603
+ init_Predicate();
20604
+ init_Semigroup();
20605
+ init_Separated();
20606
+ init_Witherable();
20607
+ init_Zero();
20608
+ none2 = none;
20609
+ some3 = some;
20610
+ getLeft = (ma2) => ma2._tag === "Right" ? none2 : some3(ma2.left);
20611
+ getRight = (ma2) => ma2._tag === "Left" ? none2 : some3(ma2.right);
20779
20612
  _map5 = (fa2, f) => pipe(fa2, map6(f));
20780
- map6 = () => unsafeCoerce;
20781
- URI4 = "Const";
20613
+ _ap3 = (fab, fa2) => pipe(fab, ap4(fa2));
20614
+ _reduce3 = (fa2, b, f) => pipe(fa2, reduce6(b, f));
20615
+ _foldMap3 = (M2) => {
20616
+ const foldMapM = foldMap6(M2);
20617
+ return (fa2, f) => pipe(fa2, foldMapM(f));
20618
+ };
20619
+ _reduceRight3 = (fa2, b, f) => pipe(fa2, reduceRight6(b, f));
20620
+ _traverse3 = (F3) => {
20621
+ const traverseF = traverse4(F3);
20622
+ return (ta2, f) => pipe(ta2, traverseF(f));
20623
+ };
20624
+ _alt = (fa2, that) => pipe(fa2, alt(that));
20625
+ _filter2 = (fa2, predicate) => pipe(fa2, filter2(predicate));
20626
+ _filterMap2 = (fa2, f) => pipe(fa2, filterMap3(f));
20627
+ _extend2 = (wa, f) => pipe(wa, extend2(f));
20628
+ _partition2 = (fa2, predicate) => pipe(fa2, partition2(predicate));
20629
+ _partitionMap2 = (fa2, f) => pipe(fa2, partitionMap2(f));
20630
+ URI4 = "Option";
20631
+ getMonoid7 = (S3) => ({
20632
+ concat: (x, y) => isNone2(x) ? y : isNone2(y) ? x : some3(S3.concat(x.value, y.value)),
20633
+ empty: none2
20634
+ });
20635
+ map6 = (f) => (fa2) => isNone2(fa2) ? none2 : some3(f(fa2.value));
20636
+ Functor2 = {
20637
+ URI: URI4,
20638
+ map: _map5
20639
+ };
20640
+ dual(2, as(Functor2));
20641
+ of5 = some3;
20642
+ ap4 = (fa2) => (fab) => isNone2(fab) ? none2 : isNone2(fa2) ? none2 : some3(fab.value(fa2.value));
20643
+ flatMap4 = /* @__PURE__ */ dual(2, (ma2, f) => isNone2(ma2) ? none2 : f(ma2.value));
20644
+ reduce6 = (b, f) => (fa2) => isNone2(fa2) ? b : f(b, fa2.value);
20645
+ foldMap6 = (M2) => (f) => (fa2) => isNone2(fa2) ? M2.empty : f(fa2.value);
20646
+ reduceRight6 = (b, f) => (fa2) => isNone2(fa2) ? b : f(fa2.value, b);
20647
+ orElse = dual(2, (self2, that) => isNone2(self2) ? that() : self2);
20648
+ alt = orElse;
20649
+ zero2 = () => none2;
20650
+ extend2 = (f) => (wa) => isNone2(wa) ? none2 : some3(f(wa));
20651
+ compact3 = /* @__PURE__ */ flatMap4(identity);
20652
+ defaultSeparated = /* @__PURE__ */ separated(none2, none2);
20653
+ separate2 = (ma2) => isNone2(ma2) ? defaultSeparated : separated(getLeft(ma2.value), getRight(ma2.value));
20654
+ Compactable = {
20655
+ URI: URI4,
20656
+ compact: compact3,
20657
+ separate: separate2
20658
+ };
20659
+ filter2 = (predicate) => (fa2) => isNone2(fa2) ? none2 : predicate(fa2.value) ? fa2 : none2;
20660
+ filterMap3 = (f) => (fa2) => isNone2(fa2) ? none2 : f(fa2.value);
20661
+ partition2 = (predicate) => (fa2) => separated(_filter2(fa2, not(predicate)), _filter2(fa2, predicate));
20662
+ partitionMap2 = (f) => flow(map6(f), separate2);
20663
+ traverse4 = (F3) => (f) => (ta2) => isNone2(ta2) ? F3.of(none2) : F3.map(f(ta2.value), some3);
20664
+ sequence3 = (F3) => (ta2) => isNone2(ta2) ? F3.of(none2) : F3.map(ta2.value, some3);
20665
+ Traversable = {
20666
+ URI: URI4,
20667
+ map: _map5,
20668
+ reduce: _reduce3,
20669
+ foldMap: _foldMap3,
20670
+ reduceRight: _reduceRight3,
20671
+ traverse: _traverse3,
20672
+ sequence: sequence3
20673
+ };
20674
+ _wither = /* @__PURE__ */ witherDefault(Traversable, Compactable);
20675
+ _wilt = /* @__PURE__ */ wiltDefault(Traversable, Compactable);
20676
+ throwError = () => none2;
20677
+ isNone2 = (fa2) => fa2._tag === "None";
20678
+ matchW2 = (onNone, onSome) => (ma2) => isNone2(ma2) ? onNone() : onSome(ma2.value);
20679
+ match3 = matchW2;
20680
+ fold3 = match3;
20681
+ getOrElseW = (onNone) => (ma2) => isNone2(ma2) ? onNone() : ma2.value;
20682
+ getOrElse = getOrElseW;
20683
+ fromNullable = (a2) => a2 == null ? none2 : some3(a2);
20684
+ chain = flatMap4;
20685
+ option = {
20686
+ URI: URI4,
20687
+ map: _map5,
20688
+ of: of5,
20689
+ ap: _ap3,
20690
+ chain: flatMap4,
20691
+ reduce: _reduce3,
20692
+ foldMap: _foldMap3,
20693
+ reduceRight: _reduceRight3,
20694
+ traverse: _traverse3,
20695
+ sequence: sequence3,
20696
+ zero: zero2,
20697
+ alt: _alt,
20698
+ extend: _extend2,
20699
+ compact: compact3,
20700
+ separate: separate2,
20701
+ filter: _filter2,
20702
+ filterMap: _filterMap2,
20703
+ partition: _partition2,
20704
+ partitionMap: _partitionMap2,
20705
+ wither: _wither,
20706
+ wilt: _wilt,
20707
+ throwError
20708
+ };
20709
+ getFirstMonoid = () => getMonoid7(first());
20782
20710
  }
20783
20711
  });
20784
20712
 
@@ -20886,7 +20814,7 @@ var init_internal2 = __esm({
20886
20814
  // @ts-expect-error
20887
20815
  (a2) => F3.map(f(a2), (a3) => prismSet(a3)(sa2)(s))
20888
20816
  )));
20889
- prismModifyOption = (f) => (sa2) => (s) => pipe2(sa2.getOption(s), map4((o) => {
20817
+ prismModifyOption = (f) => (sa2) => (s) => pipe2(sa2.getOption(s), map6((o) => {
20890
20818
  const n = f(o);
20891
20819
  return n === o ? s : sa2.reverseGet(n);
20892
20820
  }));
@@ -20902,7 +20830,7 @@ var init_internal2 = __esm({
20902
20830
  set: set4
20903
20831
  });
20904
20832
  optionalAsTraversal = (sa2) => traversal((F3) => (f) => (s) => pipe2(sa2.getOption(s), fold3(() => F3.of(s), (a2) => F3.map(f(a2), (a3) => sa2.set(a3)(s)))));
20905
- optionalModifyOption = (f) => (optional3) => (s) => pipe2(optional3.getOption(s), map4((a2) => {
20833
+ optionalModifyOption = (f) => (optional3) => (s) => pipe2(optional3.getOption(s), map6((a2) => {
20906
20834
  const n = f(a2);
20907
20835
  return n === a2 ? s : optional3.set(n)(s);
20908
20836
  }));
@@ -22383,77 +22311,7 @@ function objectToKeyValue(input) {
22383
22311
  }
22384
22312
  var WixBIHeaderName;
22385
22313
 
22386
- // ../../node_modules/@wix/sdk-runtime/build/context-v2.js
22387
- function contextualizeRESTModuleV2(restModule, elevated) {
22388
- return ((...args) => {
22389
- const context = resolveContext();
22390
- if (!context) {
22391
- return restModule.apply(void 0, args);
22392
- }
22393
- return context.initWixModules(restModule, elevated).apply(void 0, args);
22394
- });
22395
- }
22396
- var init_context_v2 = __esm({
22397
- "../../node_modules/@wix/sdk-runtime/build/context-v2.js"() {
22398
- init_context();
22399
- }
22400
- });
22401
-
22402
- // ../../node_modules/@wix/sdk-runtime/build/context.js
22403
- function resolveContext() {
22404
- const oldContext = typeof $wixContext !== "undefined" && $wixContext.initWixModules ? $wixContext.initWixModules : typeof globalThis.__wix_context__ !== "undefined" && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
22405
- if (oldContext) {
22406
- return {
22407
- // @ts-expect-error
22408
- initWixModules(modules, elevated) {
22409
- return runWithoutContext(() => oldContext(modules, elevated));
22410
- },
22411
- fetchWithAuth() {
22412
- throw new Error("fetchWithAuth is not available in this context");
22413
- },
22414
- graphql() {
22415
- throw new Error("graphql is not available in this context");
22416
- }
22417
- };
22418
- }
22419
- const contextualClient = typeof $wixContext !== "undefined" ? $wixContext.client : typeof wixContext.client !== "undefined" ? wixContext.client : typeof globalThis.__wix_context__ !== "undefined" ? globalThis.__wix_context__.client : void 0;
22420
- const elevatedClient = typeof $wixContext !== "undefined" ? $wixContext.elevatedClient : typeof wixContext.elevatedClient !== "undefined" ? wixContext.elevatedClient : typeof globalThis.__wix_context__ !== "undefined" ? globalThis.__wix_context__.elevatedClient : void 0;
22421
- if (!contextualClient && !elevatedClient) {
22422
- return;
22423
- }
22424
- return {
22425
- initWixModules(wixModules, elevated) {
22426
- if (elevated) {
22427
- if (!elevatedClient) {
22428
- throw new 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");
22429
- }
22430
- return runWithoutContext(() => elevatedClient.use(wixModules));
22431
- }
22432
- if (!contextualClient) {
22433
- throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
22434
- }
22435
- return runWithoutContext(() => contextualClient.use(wixModules));
22436
- },
22437
- fetchWithAuth: (urlOrRequest, requestInit) => {
22438
- if (!contextualClient) {
22439
- throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
22440
- }
22441
- return contextualClient.fetchWithAuth(urlOrRequest, requestInit);
22442
- },
22443
- getAuth() {
22444
- if (!contextualClient) {
22445
- throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
22446
- }
22447
- return contextualClient.auth;
22448
- },
22449
- async graphql(query, variables, opts) {
22450
- if (!contextualClient) {
22451
- throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
22452
- }
22453
- return contextualClient.graphql(query, variables, opts);
22454
- }
22455
- };
22456
- }
22314
+ // ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/context.js
22457
22315
  function runWithoutContext(fn) {
22458
22316
  const globalContext = globalThis.__wix_context__;
22459
22317
  const moduleContext = {
@@ -22484,34 +22342,8 @@ function runWithoutContext(fn) {
22484
22342
  }
22485
22343
  }
22486
22344
  }
22487
- var init_context = __esm({
22488
- "../../node_modules/@wix/sdk-runtime/build/context.js"() {
22489
- init_browser();
22490
- init_context_v2();
22491
- }
22492
- });
22493
22345
 
22494
- // ../../node_modules/@wix/sdk-runtime/build/constants.js
22495
- var SDKRequestToRESTRequestRenameMap, RESTResponseToSDKResponseRenameMap;
22496
- var init_constants2 = __esm({
22497
- "../../node_modules/@wix/sdk-runtime/build/constants.js"() {
22498
- SDKRequestToRESTRequestRenameMap = {
22499
- _id: "id",
22500
- _createdDate: "createdDate",
22501
- _updatedDate: "updatedDate"
22502
- };
22503
- RESTResponseToSDKResponseRenameMap = {
22504
- id: "_id",
22505
- createdDate: "_createdDate",
22506
- updatedDate: "_updatedDate"
22507
- };
22508
- }
22509
- });
22510
-
22511
- // ../../node_modules/@wix/sdk-runtime/build/utils.js
22512
- function removeUndefinedKeys(obj) {
22513
- return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== void 0));
22514
- }
22346
+ // ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/utils.js
22515
22347
  function constantCase(input) {
22516
22348
  return split(input).map((part) => part.toLocaleUpperCase()).join("_");
22517
22349
  }
@@ -22533,16 +22365,8 @@ function split(value) {
22533
22365
  return result2.slice(start, end).split(/\0/g);
22534
22366
  }
22535
22367
  var SPLIT_LOWER_UPPER_RE, SPLIT_UPPER_UPPER_RE, SPLIT_REPLACE_VALUE, DEFAULT_STRIP_REGEXP;
22536
- var init_utils4 = __esm({
22537
- "../../node_modules/@wix/sdk-runtime/build/utils.js"() {
22538
- SPLIT_LOWER_UPPER_RE = /([\p{Ll}\d])(\p{Lu})/gu;
22539
- SPLIT_UPPER_UPPER_RE = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
22540
- SPLIT_REPLACE_VALUE = "$1\0$2";
22541
- DEFAULT_STRIP_REGEXP = /[^\p{L}\d]+/giu;
22542
- }
22543
- });
22544
22368
 
22545
- // ../../node_modules/@wix/sdk-runtime/build/transform-error.js
22369
+ // ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/transform-error.js
22546
22370
  function transformError(httpClientError, pathsToArguments = {
22547
22371
  explicitPathsToArguments: {},
22548
22372
  spreadPathsToArguments: {},
@@ -22582,126 +22406,7 @@ function transformError(httpClientError, pathsToArguments = {
22582
22406
  }
22583
22407
  return buildSystemError(httpClientError);
22584
22408
  }
22585
- var isValidationError, isApplicationError, isClientError, buildValidationError, wrapError, buildApplicationError, buildSystemError, violationsWithRenamedFields, withRenamedArgument, getArgumentIndex;
22586
- var init_transform_error = __esm({
22587
- "../../node_modules/@wix/sdk-runtime/build/transform-error.js"() {
22588
- init_utils4();
22589
- isValidationError = (httpClientError) => "validationError" in (httpClientError.response?.data?.details ?? {});
22590
- isApplicationError = (httpClientError) => "applicationError" in (httpClientError.response?.data?.details ?? {});
22591
- isClientError = (httpClientError) => (httpClientError.response?.status ?? -1) >= 400 && (httpClientError.response?.status ?? -1) < 500;
22592
- buildValidationError = (httpClientError, pathsToArguments, argumentNames) => {
22593
- const validationErrorResponse = httpClientError.response?.data;
22594
- const requestId = httpClientError.requestId;
22595
- const { fieldViolations } = validationErrorResponse.details.validationError;
22596
- const transformedFieldViolations = violationsWithRenamedFields(pathsToArguments, fieldViolations, argumentNames)?.sort((a2, b) => a2.field < b.field ? -1 : 1);
22597
- const message = `INVALID_ARGUMENT: ${transformedFieldViolations?.map(({ field, description }) => `"${field}" ${description}`)?.join(", ")}`;
22598
- const details = {
22599
- validationError: { fieldViolations: transformedFieldViolations },
22600
- requestId
22601
- };
22602
- return wrapError(httpClientError, {
22603
- message: JSON.stringify({ message, details }, null, 2),
22604
- extraProperties: {
22605
- details,
22606
- status: httpClientError.response?.status,
22607
- requestId
22608
- }
22609
- });
22610
- };
22611
- wrapError = (baseError, { message, extraProperties }) => {
22612
- return Object.assign(baseError, {
22613
- ...extraProperties,
22614
- message
22615
- });
22616
- };
22617
- buildApplicationError = (httpClientError) => {
22618
- const status = httpClientError.response?.status;
22619
- const statusText = httpClientError.response?.statusText ?? "UNKNOWN";
22620
- const message = httpClientError.response?.data?.message ?? statusText;
22621
- const description = httpClientError.response?.data?.details?.applicationError?.description ?? statusText;
22622
- const code = httpClientError.response?.data?.details?.applicationError?.code ?? constantCase(statusText);
22623
- const data = httpClientError.response?.data?.details?.applicationError?.data ?? {};
22624
- const combinedMessage = message === description ? message : `${message}: ${description}`;
22625
- const details = {
22626
- applicationError: {
22627
- description,
22628
- code,
22629
- data
22630
- },
22631
- requestId: httpClientError.requestId
22632
- };
22633
- return wrapError(httpClientError, {
22634
- message: JSON.stringify({ message: combinedMessage, details }, null, 2),
22635
- extraProperties: {
22636
- details,
22637
- status,
22638
- requestId: httpClientError.requestId
22639
- }
22640
- });
22641
- };
22642
- buildSystemError = (httpClientError) => {
22643
- const message = httpClientError.requestId ? `System error occurred, request-id: ${httpClientError.requestId}` : `System error occurred: ${JSON.stringify(httpClientError)}`;
22644
- return wrapError(httpClientError, {
22645
- message,
22646
- extraProperties: {
22647
- requestId: httpClientError.requestId,
22648
- status: httpClientError.response?.status,
22649
- code: constantCase(httpClientError.response?.statusText ?? "UNKNOWN"),
22650
- ...!httpClientError.response && {
22651
- runtimeError: httpClientError
22652
- }
22653
- }
22654
- });
22655
- };
22656
- violationsWithRenamedFields = ({ spreadPathsToArguments, explicitPathsToArguments, singleArgumentUnchanged }, fieldViolations, argumentNames) => {
22657
- const allPathsToArguments = {
22658
- ...spreadPathsToArguments,
22659
- ...explicitPathsToArguments
22660
- };
22661
- const allPathsToArgumentsKeys = Object.keys(allPathsToArguments);
22662
- return fieldViolations?.filter((fieldViolation) => {
22663
- const containedInAMoreSpecificViolationField = fieldViolations.some((anotherViolation) => anotherViolation.field.length > fieldViolation.field.length && anotherViolation.field.startsWith(fieldViolation.field) && allPathsToArgumentsKeys.includes(anotherViolation.field));
22664
- return !containedInAMoreSpecificViolationField;
22665
- }).map((fieldViolation) => {
22666
- const exactMatchArgumentExpression = explicitPathsToArguments[fieldViolation.field];
22667
- if (exactMatchArgumentExpression) {
22668
- return {
22669
- ...fieldViolation,
22670
- field: withRenamedArgument(exactMatchArgumentExpression, argumentNames)
22671
- };
22672
- }
22673
- const longestPartialPathMatch = allPathsToArgumentsKeys?.sort((a2, b) => b.length - a2.length)?.find((path) => fieldViolation.field.startsWith(path));
22674
- if (longestPartialPathMatch) {
22675
- const partialMatchArgumentExpression = allPathsToArguments[longestPartialPathMatch];
22676
- if (partialMatchArgumentExpression) {
22677
- return {
22678
- ...fieldViolation,
22679
- field: fieldViolation.field.replace(longestPartialPathMatch, withRenamedArgument(partialMatchArgumentExpression, argumentNames))
22680
- };
22681
- }
22682
- }
22683
- if (singleArgumentUnchanged) {
22684
- return {
22685
- ...fieldViolation,
22686
- field: `${argumentNames[0]}.${fieldViolation.field}`
22687
- };
22688
- }
22689
- return fieldViolation;
22690
- });
22691
- };
22692
- withRenamedArgument = (fieldValue, argumentNames) => {
22693
- const argIndex = getArgumentIndex(fieldValue);
22694
- if (argIndex !== null && typeof argIndex !== "undefined") {
22695
- return fieldValue.replace(`$[${argIndex}]`, argumentNames[argIndex]);
22696
- }
22697
- return fieldValue;
22698
- };
22699
- getArgumentIndex = (s) => {
22700
- const match4 = s.match(/\$\[(?<argIndex>\d+)\]/);
22701
- return match4 && match4.groups && Number(match4.groups.argIndex);
22702
- };
22703
- }
22704
- });
22409
+ var isValidationError, isApplicationError, isClientError, buildValidationError, wrapError, buildApplicationError, buildSystemError;
22705
22410
 
22706
22411
  // ../../node_modules/@wix/sdk/build/rest-modules.js
22707
22412
  function buildRESTDescriptor(origFunc, publicMetadata, boundFetch, errorHandler, wixAPIFetch, getActiveToken, getAuthHeaders, options, hostName, useCDN, validateRequestSchema) {
@@ -22780,158 +22485,6 @@ function buildRESTDescriptor(origFunc, publicMetadata, boundFetch, errorHandler,
22780
22485
  }
22781
22486
  var errorBuilder2;
22782
22487
 
22783
- // ../../node_modules/@wix/sdk-runtime/build/rest-modules.js
22784
- function createRESTModule(descriptor, elevated = false) {
22785
- return contextualizeRESTModuleV2(descriptor, elevated);
22786
- }
22787
- function toURLSearchParams(params, isComplexRequest) {
22788
- const flatten = flattenParams(params);
22789
- Object.entries(flatten).some(([key, value]) => key.includes(".") || Array.isArray(value) && value.some((v) => typeof v === "object"));
22790
- {
22791
- return Object.entries(flatten).reduce((urlSearchParams, [key, value]) => {
22792
- const keyParams = Array.isArray(value) ? value : [value];
22793
- keyParams.forEach((param) => {
22794
- if (param === void 0 || param === null || Array.isArray(value) && typeof param === "object") {
22795
- return;
22796
- }
22797
- urlSearchParams.append(key, param);
22798
- });
22799
- return urlSearchParams;
22800
- }, new URLSearchParams());
22801
- }
22802
- }
22803
- function resolveUrl(opts) {
22804
- const domain = resolveDomain(opts.host);
22805
- const mappings = resolveMappingsByDomain(domain, opts.domainToMappings);
22806
- const path = injectDataIntoProtoPath(opts.protoPath, opts.data || {});
22807
- return resolvePathFromMappings(path, mappings);
22808
- }
22809
- function flattenParams(data, path = "") {
22810
- const params = {};
22811
- Object.entries(data).forEach(([key, value]) => {
22812
- const isObject7 = value !== null && typeof value === "object" && !Array.isArray(value);
22813
- const fieldPath = resolvePath(path, key);
22814
- if (isObject7) {
22815
- const serializedObject = flattenParams(value, fieldPath);
22816
- Object.assign(params, serializedObject);
22817
- } else {
22818
- params[fieldPath] = value;
22819
- }
22820
- });
22821
- return params;
22822
- }
22823
- function resolvePath(path, key) {
22824
- return `${path}${path ? "." : ""}${key}`;
22825
- }
22826
- function resolveDomain(host) {
22827
- const resolvedHost = fixHostExceptions(host);
22828
- return resolvedHost.replace(REGEX_CAPTURE_DOMAINS, "._base_domain_").replace(REGEX_CAPTURE_API_DOMAINS, "._api_base_domain_").replace(REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN, "*.dev.wix-code.com");
22829
- }
22830
- function fixHostExceptions(host) {
22831
- return HOST_ALIASES[host] ?? host;
22832
- }
22833
- function resolveMappingsByDomain(domain, domainToMappings) {
22834
- const mappings = domainToMappings[domain];
22835
- if (mappings) {
22836
- return mappings;
22837
- }
22838
- const matchedMappings = resolveRootDomain(domain, domainToMappings) ?? resolveWildcardDomain(domain, domainToMappings);
22839
- if (!matchedMappings) {
22840
- if (isBaseDomain(domain)) {
22841
- const wwwMappings = domainToMappings[wwwBaseDomain];
22842
- if (wwwMappings) {
22843
- return wwwMappings;
22844
- }
22845
- }
22846
- const userMappings = domainToMappings[USER_DOMAIN];
22847
- if (userMappings) {
22848
- return userMappings;
22849
- }
22850
- }
22851
- return matchedMappings ?? [];
22852
- }
22853
- function resolveRootDomain(domain, domainToMappings) {
22854
- return Object.entries(domainToMappings).find(([entryDomain]) => {
22855
- const [, ...rooDomainSegments] = domain.split(".");
22856
- return rooDomainSegments.join(".") === entryDomain;
22857
- })?.[1];
22858
- }
22859
- function resolveWildcardDomain(domain, domainToMappings) {
22860
- const matchingEntries = Object.entries(domainToMappings).filter(([entryDomain]) => matchesWildcardDomain(domain, entryDomain));
22861
- const [mostSpecificEntry] = matchingEntries.sort(([entryDomainA], [entryDomainB]) => entryDomainB.length - entryDomainA.length);
22862
- if (!mostSpecificEntry) {
22863
- return void 0;
22864
- }
22865
- const [, mappings] = mostSpecificEntry;
22866
- return mappings;
22867
- }
22868
- function matchesWildcardDomain(domain, entryDomain) {
22869
- if (!entryDomain.startsWith(WILDCARD_PREFIX)) {
22870
- return false;
22871
- }
22872
- const suffix = entryDomain.slice(WILDCARD_PREFIX.length - 1);
22873
- return domain.length > suffix.length && domain.endsWith(suffix);
22874
- }
22875
- function isBaseDomain(domain) {
22876
- return !!domain.match(/\._base_domain_$/);
22877
- }
22878
- function injectDataIntoProtoPath(protoPath, data) {
22879
- return protoPath.split("/").map((path) => maybeProtoPathToData(path, data)).join("/");
22880
- }
22881
- function maybeProtoPathToData(protoPath, data) {
22882
- const protoRegExpMatch = protoPath.match(REGEX_CAPTURE_PROTO_FIELD) || [];
22883
- const field = protoRegExpMatch[1];
22884
- if (field) {
22885
- const suffix = protoPath.replace(protoRegExpMatch[0], "");
22886
- return findByPath(data, field, protoPath, suffix);
22887
- }
22888
- return protoPath;
22889
- }
22890
- function findByPath(obj, path, defaultValue, suffix) {
22891
- let result2 = obj;
22892
- for (const field of path.split(".")) {
22893
- if (!result2) {
22894
- return defaultValue;
22895
- }
22896
- result2 = result2[field];
22897
- }
22898
- return `${result2}${suffix}`;
22899
- }
22900
- function resolvePathFromMappings(protoPath, mappings) {
22901
- const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
22902
- if (!mapping) {
22903
- return protoPath;
22904
- }
22905
- return mapping.srcPath + protoPath.slice(mapping.destPath.length);
22906
- }
22907
- var DOMAINS, USER_DOMAIN, WILDCARD_PREFIX, REGEX_CAPTURE_DOMAINS, WIX_API_DOMAINS, HOST_ALIASES, DEV_WIX_CODE_DOMAIN, REGEX_CAPTURE_PROTO_FIELD, REGEX_CAPTURE_API_DOMAINS, REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN, wwwBaseDomain;
22908
- var init_rest_modules2 = __esm({
22909
- "../../node_modules/@wix/sdk-runtime/build/rest-modules.js"() {
22910
- init_context_v2();
22911
- init_constants2();
22912
- DOMAINS = ["wix.com", "editorx.com"];
22913
- USER_DOMAIN = "_";
22914
- WILDCARD_PREFIX = "*.";
22915
- REGEX_CAPTURE_DOMAINS = new RegExp(`\\.(${DOMAINS.join("|")})$`);
22916
- WIX_API_DOMAINS = [
22917
- "42.wixprod.net",
22918
- "uw2-edt-1.wixprod.net",
22919
- "virginia-edt.wixprod.net"
22920
- ];
22921
- HOST_ALIASES = {
22922
- // payments.base44.com runs customised Business Manager, which needs to work exactly the same as normal BM on manage.wix.com
22923
- "payments.base44.com": "manage.wix.com",
22924
- // https://system-kb.wixanswers.com/kb/en/article/editorx-domains-matching-to-wixcom
22925
- "create.editorx.com": "editor.editorx.com"
22926
- };
22927
- DEV_WIX_CODE_DOMAIN = "dev.wix-code.com";
22928
- REGEX_CAPTURE_PROTO_FIELD = /{(.*)}/;
22929
- REGEX_CAPTURE_API_DOMAINS = new RegExp(`\\.(${WIX_API_DOMAINS.join("|")})$`);
22930
- REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN = new RegExp(`.*\\.${DEV_WIX_CODE_DOMAIN}$`);
22931
- wwwBaseDomain = "www._base_domain_";
22932
- }
22933
- });
22934
-
22935
22488
  // ../../node_modules/@wix/sdk/build/modified-fields-manipulator.js
22936
22489
  function attemptTransformationWithModifiedFields(envelope, transformFromRESTFn) {
22937
22490
  const modifiedFields = envelope?.modifiedFields;
@@ -22987,7 +22540,7 @@ function attemptFlatten(transformedModifiedFields, modifiedFieldsManipulator) {
22987
22540
  }
22988
22541
  var ModifiedFieldsManipulator;
22989
22542
 
22990
- // ../../node_modules/@wix/sdk-runtime/build/nanoevents.js
22543
+ // ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/nanoevents.js
22991
22544
  function createNanoEvents() {
22992
22545
  return {
22993
22546
  emit(event, ...args) {
@@ -23641,28 +23194,18 @@ function isImageTypeSupported(uri) {
23641
23194
  function isValidRequest(fittingType, src, target) {
23642
23195
  return target && src && !isUrlEmptyOrNone(src.id) && Object.values(fittingTypes).includes(fittingType);
23643
23196
  }
23644
- function canTransformAnimatedWebpOrAvif(uri, hasAnimation, allowAnimatedTransform) {
23645
- const isAvifWebpFormat = isWEBP(uri) || isAVIF(uri);
23646
- if (!isAvifWebpFormat || !hasAnimation) {
23647
- return true;
23648
- }
23649
- return allowAnimatedTransform;
23650
- }
23651
- function canTransformGIF(uri, allowAnimatedTransform, allowFullGIFTransformation) {
23197
+ function canTransformGIF(uri, allowFullGIFTransformation, isPlaceholderFlow) {
23652
23198
  if (!isGIF(uri)) {
23653
23199
  return false;
23654
23200
  }
23655
- return !!(allowAnimatedTransform || allowFullGIFTransformation);
23201
+ return !!(allowFullGIFTransformation || isPlaceholderFlow);
23656
23202
  }
23657
- function isImageTransformApplicable(uri, hasAnimation, allowAnimatedTransform, allowFullGIFTransformation) {
23203
+ function isImageTransformApplicable(uri, allowFullGIFTransformation, isPlaceholderFlow) {
23658
23204
  if (isExternalUrl(uri)) {
23659
23205
  return false;
23660
23206
  }
23661
- if (!canTransformAnimatedWebpOrAvif(uri, hasAnimation, allowAnimatedTransform)) {
23662
- return false;
23663
- }
23664
23207
  const isSupportedImageType = isImageTypeSupported(uri);
23665
- const isTransformableGif = canTransformGIF(uri, allowAnimatedTransform, allowFullGIFTransformation);
23208
+ const isTransformableGif = canTransformGIF(uri, allowFullGIFTransformation, isPlaceholderFlow);
23666
23209
  return isSupportedImageType || isTransformableGif;
23667
23210
  }
23668
23211
  function isJPG(uri) {
@@ -24268,7 +23811,7 @@ function getTransform(fittingType, src, target, options) {
24268
23811
  const devicePixelRatio2 = _isSEOBot ? 1 : getDevicePixelRatio(target);
24269
23812
  const fileExtension = getFileExtension(src.id);
24270
23813
  const preferredExtension = fileExtension;
24271
- const canTransformImage = isImageTransformApplicable(src.id, options?.hasAnimation, options?.allowAnimatedTransform, options?.allowFullGIFTransformation);
23814
+ const canTransformImage = isImageTransformApplicable(src.id, options?.allowFullGIFTransformation, options?.isPlaceholderFlow);
24272
23815
  const transformsObj = {
24273
23816
  fileName,
24274
23817
  fileExtension,
@@ -24449,15 +23992,8 @@ var init_transforms = __esm({
24449
23992
 
24450
23993
  // ../../node_modules/@wix/image-kit/dist/esm/api/uri.js
24451
23994
  function getURI(fittingType, src, target, options = {}, transformObj) {
24452
- if (isImageTransformApplicable(src.id, options?.hasAnimation, options?.allowAnimatedTransform, options?.allowFullGIFTransformation)) {
24453
- if ((isWEBP(src.id) || isAVIF(src.id)) && !options.allowWebpAvifTransforms) {
24454
- const { alignment, ...transformTarget } = target;
24455
- src.focalPoint = { x: void 0, y: void 0 };
24456
- delete src?.crop;
24457
- transformObj = getTransform(fittingType, src, transformTarget, options);
24458
- } else {
24459
- transformObj = transformObj || getTransform(fittingType, src, target, options);
24460
- }
23995
+ if (isImageTransformApplicable(src.id, options?.allowFullGIFTransformation, options?.isPlaceholderFlow)) {
23996
+ transformObj = transformObj || getTransform(fittingType, src, target, options);
24461
23997
  return getImageURI(transformObj);
24462
23998
  }
24463
23999
  return src.id;
@@ -25954,34 +25490,202 @@ var gallery_media_default;
25954
25490
  var init_gallery_media_scss = __esm({
25955
25491
  "../../node_modules/@wix/ricos/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js"() {
25956
25492
  gallery_media_default = {
25957
- "media": "BYj-D",
25958
- "fit": "GYoUx",
25959
- "failure": "sE4wg",
25960
- "playButton": "ChIn-",
25961
- "playIcon": "lO9sz",
25962
- "navigationArrow": "sKUmG",
25963
- "arrowStart": "eafcn",
25964
- "arrowEnd": "ct3mr",
25965
- "arrowIcon": "_4RIRs",
25966
- "fill": "h8tgO",
25967
- "intrinsic": "_5X23C",
25968
- "cell": "xDt4R",
25969
- "expandButton": "H-2Qq",
25970
- "expandIcon": "PI7br",
25971
- "expandChrome": "hY4vP",
25972
- "expandIconGlyph": "aLNhD",
25973
- "editorOverlay": "-salV",
25974
- "horizontal": "_5djrR",
25975
- "viewport": "nsMzs",
25976
- "track": "MpXDY",
25977
- "previous": "M-BGj"
25978
- };
25979
- }
25980
- });
25981
- var import_classnames, NavigationArrow;
25493
+ "media": "iizEA",
25494
+ "fit": "_3zeqy",
25495
+ "failure": "YjyUY",
25496
+ "playButton": "eite2",
25497
+ "playIcon": "okpUz",
25498
+ "navigationArrow": "Vvdkm",
25499
+ "arrowStart": "C0w3T",
25500
+ "arrowEnd": "OyB8O",
25501
+ "arrowIcon": "J0i1x",
25502
+ "fill": "b2o-E",
25503
+ "intrinsic": "Wvbdk",
25504
+ "cell": "PXWWe",
25505
+ "expandButton": "AuHrT",
25506
+ "expandIcon": "MGV-x",
25507
+ "expandChrome": "VMu-h",
25508
+ "expandIconGlyph": "_7dFXn",
25509
+ "editorOverlay": "ynMWI",
25510
+ "horizontal": "nDKdf",
25511
+ "viewport": "_4JEMd",
25512
+ "track": "ySUzr",
25513
+ "previous": "sCtZw"
25514
+ };
25515
+ }
25516
+ });
25517
+ var import_classnames, DEFAULT_TARGET_WIDTHS, GalleryMedia, GalleryImage;
25518
+ var init_gallery_media = __esm({
25519
+ "../../node_modules/@wix/ricos/dist/es/plugin-gallery/media/gallery-media.js"() {
25520
+ import_classnames = __toESM(require_classnames(), 1);
25521
+ init_gallery_media_scss();
25522
+ DEFAULT_TARGET_WIDTHS = [320, 640, 960, 1280, 1920];
25523
+ GalleryMedia = ({
25524
+ item,
25525
+ presentation,
25526
+ sizes,
25527
+ eager,
25528
+ runtime,
25529
+ targetWidths = DEFAULT_TARGET_WIDTHS
25530
+ }) => {
25531
+ const [failed, setFailed] = React173.useState(false);
25532
+ const [videoStarted, setVideoStarted] = React173.useState(false);
25533
+ React173.useEffect(() => {
25534
+ setFailed(false);
25535
+ setVideoStarted(false);
25536
+ }, [item.id, item.source.url]);
25537
+ const style = { aspectRatio: `${item.width} / ${item.height}` };
25538
+ const interactionDeterrents = item.disableDownload ? {
25539
+ onContextMenu: (event) => event.preventDefault()
25540
+ } : {};
25541
+ if (failed) {
25542
+ return /* @__PURE__ */ React173__default.default.createElement(
25543
+ "span",
25544
+ {
25545
+ className: (0, import_classnames.default)(gallery_media_default.media, gallery_media_default.failure),
25546
+ style,
25547
+ "data-hook": "gallery-media-failure",
25548
+ "aria-hidden": "true"
25549
+ }
25550
+ );
25551
+ }
25552
+ if (item.type === "video") {
25553
+ if (videoStarted) {
25554
+ return /* @__PURE__ */ React173__default.default.createElement(
25555
+ "span",
25556
+ {
25557
+ className: (0, import_classnames.default)(gallery_media_default.media, gallery_media_default[presentation]),
25558
+ style,
25559
+ "data-hook": "gallery-media-video",
25560
+ ...interactionDeterrents
25561
+ },
25562
+ /* @__PURE__ */ React173__default.default.createElement(
25563
+ "video",
25564
+ {
25565
+ src: item.source.url,
25566
+ controls: true,
25567
+ controlsList: item.disableDownload ? "nodownload" : void 0,
25568
+ playsInline: true,
25569
+ autoPlay: true,
25570
+ loop: false,
25571
+ muted: false,
25572
+ preload: eager ? "metadata" : "none",
25573
+ onError: () => setFailed(true)
25574
+ }
25575
+ )
25576
+ );
25577
+ }
25578
+ return /* @__PURE__ */ React173__default.default.createElement(
25579
+ "span",
25580
+ {
25581
+ className: (0, import_classnames.default)(gallery_media_default.media, gallery_media_default[presentation]),
25582
+ style,
25583
+ "data-hook": "gallery-media-video-poster",
25584
+ ...interactionDeterrents
25585
+ },
25586
+ item.poster ? /* @__PURE__ */ React173__default.default.createElement(
25587
+ GalleryImage,
25588
+ {
25589
+ itemId: item.id,
25590
+ source: item.poster,
25591
+ alt: "",
25592
+ presentation,
25593
+ sizes,
25594
+ eager,
25595
+ disableDownload: item.disableDownload,
25596
+ runtime,
25597
+ targetWidths,
25598
+ onError: () => setFailed(true)
25599
+ }
25600
+ ) : null,
25601
+ /* @__PURE__ */ React173__default.default.createElement(
25602
+ "button",
25603
+ {
25604
+ type: "button",
25605
+ className: gallery_media_default.playButton,
25606
+ "aria-label": item.title ? `${runtime.playVideoLabel}: ${item.title}` : runtime.playVideoLabel,
25607
+ onClick: () => setVideoStarted(true),
25608
+ "data-hook": "gallery-video-play"
25609
+ },
25610
+ /* @__PURE__ */ React173__default.default.createElement("span", { className: gallery_media_default.playIcon, "aria-hidden": "true" })
25611
+ )
25612
+ );
25613
+ }
25614
+ return /* @__PURE__ */ React173__default.default.createElement(
25615
+ "span",
25616
+ {
25617
+ className: (0, import_classnames.default)(gallery_media_default.media, gallery_media_default[presentation]),
25618
+ style,
25619
+ "data-hook": "gallery-media-image",
25620
+ ...interactionDeterrents
25621
+ },
25622
+ /* @__PURE__ */ React173__default.default.createElement(
25623
+ GalleryImage,
25624
+ {
25625
+ itemId: item.id,
25626
+ source: item.source,
25627
+ alt: item.alt,
25628
+ presentation,
25629
+ sizes,
25630
+ eager,
25631
+ disableDownload: item.disableDownload,
25632
+ runtime,
25633
+ targetWidths,
25634
+ onError: () => setFailed(true)
25635
+ }
25636
+ )
25637
+ );
25638
+ };
25639
+ GalleryImage = ({
25640
+ itemId,
25641
+ source,
25642
+ alt: alt2,
25643
+ presentation,
25644
+ sizes,
25645
+ eager,
25646
+ disableDownload,
25647
+ runtime,
25648
+ targetWidths,
25649
+ targetRatio,
25650
+ onError
25651
+ }) => {
25652
+ const responsiveSource = runtime.createMediaUrl({
25653
+ source,
25654
+ transformMode: presentation === "fill" ? "fill" : "fit",
25655
+ targetWidths,
25656
+ targetRatio
25657
+ });
25658
+ const imageProps = runtime.imageProps?.(itemId);
25659
+ const imageRef = React173.useRef(null);
25660
+ React173.useEffect(() => {
25661
+ const image = imageRef.current;
25662
+ if (image?.complete && image.naturalWidth === 0) {
25663
+ onError();
25664
+ }
25665
+ }, [onError, responsiveSource.src]);
25666
+ return /* @__PURE__ */ React173__default.default.createElement(
25667
+ "img",
25668
+ {
25669
+ ref: imageRef,
25670
+ ...imageProps,
25671
+ src: responsiveSource.src,
25672
+ srcSet: responsiveSource.srcSet,
25673
+ sizes: responsiveSource.srcSet ? sizes : void 0,
25674
+ alt: alt2,
25675
+ width: source.width,
25676
+ height: source.height,
25677
+ loading: eager ? "eager" : "lazy",
25678
+ draggable: disableDownload ? false : void 0,
25679
+ onError
25680
+ }
25681
+ );
25682
+ };
25683
+ }
25684
+ });
25685
+ var import_classnames2, NavigationArrow;
25982
25686
  var init_navigation_arrow = __esm({
25983
25687
  "../../node_modules/@wix/ricos/dist/es/plugin-gallery/media/navigation-arrow.js"() {
25984
- import_classnames = __toESM(require_classnames(), 1);
25688
+ import_classnames2 = __toESM(require_classnames(), 1);
25985
25689
  init_gallery_media_scss();
25986
25690
  NavigationArrow = ({
25987
25691
  direction,
@@ -25996,7 +25700,7 @@ var init_navigation_arrow = __esm({
25996
25700
  "button",
25997
25701
  {
25998
25702
  type: "button",
25999
- className: (0, import_classnames.default)(gallery_media_default.navigationArrow, className),
25703
+ className: (0, import_classnames2.default)(gallery_media_default.navigationArrow, className),
26000
25704
  "aria-label": label,
26001
25705
  "aria-disabled": disabled || void 0,
26002
25706
  disabled: disabled && !focusableWhenDisabled,
@@ -26008,7 +25712,7 @@ var init_navigation_arrow = __esm({
26008
25712
  /* @__PURE__ */ React173__default.default.createElement(
26009
25713
  "svg",
26010
25714
  {
26011
- className: (0, import_classnames.default)(gallery_media_default.arrowIcon, "slideshow-arrow", {
25715
+ className: (0, import_classnames2.default)(gallery_media_default.arrowIcon, "slideshow-arrow", {
26012
25716
  [gallery_media_default.previous]: direction === "previous"
26013
25717
  }),
26014
25718
  width: "46",
@@ -26023,10 +25727,10 @@ var init_navigation_arrow = __esm({
26023
25727
  );
26024
25728
  }
26025
25729
  });
26026
- var import_classnames2, GalleryNavigationArrows;
25730
+ var import_classnames3, GalleryNavigationArrows;
26027
25731
  var init_gallery_navigation_arrows = __esm({
26028
25732
  "../../node_modules/@wix/ricos/dist/es/plugin-gallery/media/gallery-navigation-arrows.js"() {
26029
- import_classnames2 = __toESM(require_classnames(), 1);
25733
+ import_classnames3 = __toESM(require_classnames(), 1);
26030
25734
  init_gallery_media_scss();
26031
25735
  init_navigation_arrow();
26032
25736
  GalleryNavigationArrows = ({
@@ -26047,7 +25751,7 @@ var init_gallery_navigation_arrows = __esm({
26047
25751
  label: previousLabel,
26048
25752
  disabled: previousDisabled,
26049
25753
  onActivate: onPrevious,
26050
- className: (0, import_classnames2.default)(gallery_media_default.arrowStart, previousClassName),
25754
+ className: (0, import_classnames3.default)(gallery_media_default.arrowStart, previousClassName),
26051
25755
  focusableWhenDisabled: focusedArrow === "previous",
26052
25756
  onFocus: () => onFocusedArrowChange("previous"),
26053
25757
  onBlur: () => onFocusedArrowChange(void 0)
@@ -26059,7 +25763,7 @@ var init_gallery_navigation_arrows = __esm({
26059
25763
  label: nextLabel,
26060
25764
  disabled: nextDisabled,
26061
25765
  onActivate: onNext,
26062
- className: (0, import_classnames2.default)(gallery_media_default.arrowEnd, nextClassName),
25766
+ className: (0, import_classnames3.default)(gallery_media_default.arrowEnd, nextClassName),
26063
25767
  focusableWhenDisabled: focusedArrow === "next",
26064
25768
  onFocus: () => onFocusedArrowChange("next"),
26065
25769
  onBlur: () => onFocusedArrowChange(void 0)
@@ -26292,174 +25996,6 @@ var init_use_horizontal_navigation = __esm({
26292
25996
  };
26293
25997
  }
26294
25998
  });
26295
- var import_classnames3, DEFAULT_TARGET_WIDTHS, GalleryMedia, GalleryImage;
26296
- var init_gallery_media = __esm({
26297
- "../../node_modules/@wix/ricos/dist/es/plugin-gallery/media/gallery-media.js"() {
26298
- import_classnames3 = __toESM(require_classnames(), 1);
26299
- init_gallery_media_scss();
26300
- DEFAULT_TARGET_WIDTHS = [320, 640, 960, 1280, 1920];
26301
- GalleryMedia = ({
26302
- item,
26303
- presentation,
26304
- sizes,
26305
- eager,
26306
- runtime,
26307
- targetWidths = DEFAULT_TARGET_WIDTHS
26308
- }) => {
26309
- const [failed, setFailed] = React173.useState(false);
26310
- const [videoStarted, setVideoStarted] = React173.useState(false);
26311
- React173.useEffect(() => {
26312
- setFailed(false);
26313
- setVideoStarted(false);
26314
- }, [item.id, item.source.url]);
26315
- const style = { aspectRatio: `${item.width} / ${item.height}` };
26316
- const interactionDeterrents = item.disableDownload ? {
26317
- onContextMenu: (event) => event.preventDefault()
26318
- } : {};
26319
- if (failed) {
26320
- return /* @__PURE__ */ React173__default.default.createElement(
26321
- "span",
26322
- {
26323
- className: (0, import_classnames3.default)(gallery_media_default.media, gallery_media_default.failure),
26324
- style,
26325
- "data-hook": "gallery-media-failure",
26326
- "aria-hidden": "true"
26327
- }
26328
- );
26329
- }
26330
- if (item.type === "video") {
26331
- if (videoStarted) {
26332
- return /* @__PURE__ */ React173__default.default.createElement(
26333
- "span",
26334
- {
26335
- className: (0, import_classnames3.default)(gallery_media_default.media, gallery_media_default[presentation]),
26336
- style,
26337
- "data-hook": "gallery-media-video",
26338
- ...interactionDeterrents
26339
- },
26340
- /* @__PURE__ */ React173__default.default.createElement(
26341
- "video",
26342
- {
26343
- src: item.source.url,
26344
- controls: true,
26345
- controlsList: item.disableDownload ? "nodownload" : void 0,
26346
- playsInline: true,
26347
- autoPlay: true,
26348
- loop: false,
26349
- muted: false,
26350
- preload: eager ? "metadata" : "none",
26351
- onError: () => setFailed(true)
26352
- }
26353
- )
26354
- );
26355
- }
26356
- return /* @__PURE__ */ React173__default.default.createElement(
26357
- "span",
26358
- {
26359
- className: (0, import_classnames3.default)(gallery_media_default.media, gallery_media_default[presentation]),
26360
- style,
26361
- "data-hook": "gallery-media-video-poster",
26362
- ...interactionDeterrents
26363
- },
26364
- item.poster ? /* @__PURE__ */ React173__default.default.createElement(
26365
- GalleryImage,
26366
- {
26367
- itemId: item.id,
26368
- source: item.poster,
26369
- alt: "",
26370
- presentation,
26371
- sizes,
26372
- eager,
26373
- disableDownload: item.disableDownload,
26374
- runtime,
26375
- targetWidths,
26376
- onError: () => setFailed(true)
26377
- }
26378
- ) : null,
26379
- /* @__PURE__ */ React173__default.default.createElement(
26380
- "button",
26381
- {
26382
- type: "button",
26383
- className: gallery_media_default.playButton,
26384
- "aria-label": item.title ? `${runtime.playVideoLabel}: ${item.title}` : runtime.playVideoLabel,
26385
- onClick: () => setVideoStarted(true),
26386
- "data-hook": "gallery-video-play"
26387
- },
26388
- /* @__PURE__ */ React173__default.default.createElement("span", { className: gallery_media_default.playIcon, "aria-hidden": "true" })
26389
- )
26390
- );
26391
- }
26392
- return /* @__PURE__ */ React173__default.default.createElement(
26393
- "span",
26394
- {
26395
- className: (0, import_classnames3.default)(gallery_media_default.media, gallery_media_default[presentation]),
26396
- style,
26397
- "data-hook": "gallery-media-image",
26398
- ...interactionDeterrents
26399
- },
26400
- /* @__PURE__ */ React173__default.default.createElement(
26401
- GalleryImage,
26402
- {
26403
- itemId: item.id,
26404
- source: item.source,
26405
- alt: item.alt,
26406
- presentation,
26407
- sizes,
26408
- eager,
26409
- disableDownload: item.disableDownload,
26410
- runtime,
26411
- targetWidths,
26412
- onError: () => setFailed(true)
26413
- }
26414
- )
26415
- );
26416
- };
26417
- GalleryImage = ({
26418
- itemId,
26419
- source,
26420
- alt: alt2,
26421
- presentation,
26422
- sizes,
26423
- eager,
26424
- disableDownload,
26425
- runtime,
26426
- targetWidths,
26427
- targetRatio,
26428
- onError
26429
- }) => {
26430
- const responsiveSource = runtime.createMediaUrl({
26431
- source,
26432
- transformMode: presentation === "fill" ? "fill" : "fit",
26433
- targetWidths,
26434
- targetRatio
26435
- });
26436
- const imageProps = runtime.imageProps?.(itemId);
26437
- const imageRef = React173.useRef(null);
26438
- React173.useEffect(() => {
26439
- const image = imageRef.current;
26440
- if (image?.complete && image.naturalWidth === 0) {
26441
- onError();
26442
- }
26443
- }, [onError, responsiveSource.src]);
26444
- return /* @__PURE__ */ React173__default.default.createElement(
26445
- "img",
26446
- {
26447
- ref: imageRef,
26448
- ...imageProps,
26449
- src: responsiveSource.src,
26450
- srcSet: responsiveSource.srcSet,
26451
- sizes: responsiveSource.srcSet ? sizes : void 0,
26452
- alt: alt2,
26453
- width: source.width,
26454
- height: source.height,
26455
- loading: eager ? "eager" : "lazy",
26456
- draggable: disableDownload ? false : void 0,
26457
- onError
26458
- }
26459
- );
26460
- };
26461
- }
26462
- });
26463
25999
 
26464
26000
  // ../../node_modules/@wix/ricos/dist/es/_shared/debounce.js
26465
26001
  function debounce(fn, wait = 0, options) {
@@ -26686,9 +26222,9 @@ var init_data_hooks = __esm({
26686
26222
  var styleDataHash, injectCss, fullscreen_default;
26687
26223
  var init_fullscreen_scss = __esm({
26688
26224
  "../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js"() {
26689
- styleDataHash = "2209a6e8";
26225
+ styleDataHash = "ea494fa0";
26690
26226
  injectCss = (() => {
26691
- var css = `.uKVFY [data-hook^=gallery-media-]{display:block;inline-size:100%;overflow:hidden;position:relative}.uKVFY [data-hook^=gallery-media-]>img,.uKVFY [data-hook^=gallery-media-]>video{block-size:100%;display:block;inline-size:100%;object-position:center}.uKVFY [data-hook^=gallery-media-]{align-items:center;display:flex;justify-content:center}.uKVFY [data-hook^=gallery-media-]>img,.uKVFY [data-hook^=gallery-media-]>video{block-size:auto;inline-size:auto;margin:auto;max-block-size:100%;max-inline-size:100%;object-fit:contain}.uKVFY [data-hook=gallery-media-failure]{background:#e5e5e5;min-block-size:1px;min-inline-size:1px}.uKVFY [data-hook=gallery-video-play]{appearance:none;background:transparent;border:0;cursor:pointer;inline-size:100%;inset:0;padding:0;position:absolute}.uKVFY [data-hook=gallery-video-play]:focus-visible{outline:2px solid #3899ec;outline-offset:-2px}.uKVFY [data-hook=gallery-video-play]>span{block-size:0;border-block:12px solid transparent;border-inline-start:18px solid #fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6));inline-size:0;inset-block-start:50%;inset-inline-start:50%;position:absolute;transform:translate(-40%,-50%)}.nVV6j{align-items:center;appearance:none;background:transparent;block-size:39px;border:0;border-radius:0;color:#000;cursor:pointer;display:inline-flex;inline-size:23px;justify-content:center;overflow:hidden;padding:0;position:relative;transition:opacity .12s ease}.nVV6j:disabled,[aria-disabled=true].nVV6j:not(:focus-visible){pointer-events:none;visibility:hidden}.nVV6j:focus-visible{outline:2px solid #3899ec;outline-offset:2px}@media (prefers-reduced-motion:reduce){.nVV6j{transition:none}}.nVV6j{inset-block-start:50%;position:absolute;transform:translateY(-50%)}.nVV6j svg{block-size:39px;display:block;inline-size:46px;inset-block-start:0;inset-inline-end:0;position:absolute;fill:currentColor;filter:drop-shadow(0 1px .15px #b2b2b2)}.cGNV0,.ncx3G{background:#fff;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;height:100dvh;inset:0;position:fixed;width:100vw;z-index:100001}.ncx3G{padding-block:70px 20px}@media only screen and (max-width:640px){.ncx3G{padding-block-start:40px}}.cGNV0{padding:0}.MnmQz{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;padding:0;position:fixed;right:17px;top:10px;width:fit-content;z-index:1001}@media only screen and (max-width:640px){.MnmQz{right:20px;top:5px}.MnmQz>svg{height:30px;width:30px}}.MnmQz:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.pjRHV{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;left:22px;padding:0;position:fixed;top:10px;width:fit-content;z-index:1001}.pjRHV:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.RK4GW{font-size:14px;line-height:20px;text-align:center;white-space:normal}.nrc-A{box-sizing:border-box;display:flex;justify-content:center;min-height:60px;padding:16px 20px;width:100%}.SQjwd{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}.GvC-Y{height:100%;min-height:0;min-width:0;position:relative;--ricos-internal-gallery-arrow-inset:20px}.DHzv7{height:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:inline mandatory;scrollbar-width:none}.DHzv7::-webkit-scrollbar{display:none}.eYMTg{display:flex;height:100%;list-style:none;margin:0;padding:0}.uKVFY{flex:0 0 100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}.uKVFY [data-hook^=gallery-media-]{background:transparent;height:100%}.nVV6j{color:inherit;z-index:1}.nVV6j[data-hook=gallery-navigation-previous]{inset-inline-start:var(--ricos-internal-gallery-arrow-inset,12px)}.nVV6j[data-hook=gallery-navigation-previous] svg{inset-inline-end:auto;inset-inline-start:0}.nVV6j[data-hook=gallery-navigation-next]{inset-inline-end:var(--ricos-internal-gallery-arrow-inset,12px)}`;
26227
+ var css = `.BV4mz [data-hook^=gallery-media-]{display:block;inline-size:100%;overflow:hidden;position:relative}.BV4mz [data-hook^=gallery-media-]>img,.BV4mz [data-hook^=gallery-media-]>video{block-size:100%;display:block;inline-size:100%;object-position:center}.BV4mz [data-hook^=gallery-media-]{align-items:center;display:flex;justify-content:center}.BV4mz [data-hook^=gallery-media-]>img,.BV4mz [data-hook^=gallery-media-]>video{block-size:auto;inline-size:auto;margin:auto;max-block-size:100%;max-inline-size:100%;object-fit:contain}.BV4mz [data-hook=gallery-media-failure]{background:#e5e5e5;min-block-size:1px;min-inline-size:1px}.BV4mz [data-hook=gallery-video-play]{appearance:none;background:transparent;border:0;cursor:pointer;inline-size:100%;inset:0;padding:0;position:absolute}.BV4mz [data-hook=gallery-video-play]:focus-visible{outline:2px solid #3899ec;outline-offset:-2px}.BV4mz [data-hook=gallery-video-play]>span{block-size:0;border-block:12px solid transparent;border-inline-start:18px solid #fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6));inline-size:0;inset-block-start:50%;inset-inline-start:50%;position:absolute;transform:translate(-40%,-50%)}.SYMJl{align-items:center;appearance:none;background:transparent;block-size:39px;border:0;border-radius:0;color:#000;cursor:pointer;display:inline-flex;inline-size:23px;justify-content:center;overflow:hidden;padding:0;position:relative;transition:opacity .12s ease}.SYMJl:disabled,[aria-disabled=true].SYMJl:not(:focus-visible){pointer-events:none;visibility:hidden}.SYMJl:focus-visible{outline:2px solid #3899ec;outline-offset:2px}@media (prefers-reduced-motion:reduce){.SYMJl{transition:none}}.SYMJl{inset-block-start:50%;position:absolute;transform:translateY(-50%)}.SYMJl svg{block-size:39px;display:block;inline-size:46px;inset-block-start:0;inset-inline-end:0;position:absolute;fill:currentColor;filter:drop-shadow(0 1px .15px #b2b2b2)}.WAOR5,._7T-kx{background:#fff;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;height:100dvh;inset:0;position:fixed;width:100vw;z-index:100001}._7T-kx{padding-block:70px 20px}@media only screen and (max-width:640px){._7T-kx{padding-block-start:40px}}.WAOR5{padding:0}.UpN2b{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;padding:0;position:fixed;right:17px;top:10px;width:fit-content;z-index:1001}@media only screen and (max-width:640px){.UpN2b{right:20px;top:5px}.UpN2b>svg{height:30px;width:30px}}.UpN2b:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.Z4F2C{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;left:22px;padding:0;position:fixed;top:10px;width:fit-content;z-index:1001}.Z4F2C:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.bZbsI{font-size:14px;line-height:20px;text-align:center;white-space:normal}.qmZdg{box-sizing:border-box;display:flex;justify-content:center;min-height:60px;padding:16px 20px;width:100%}.PmPcR{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}.CX4TG{height:100%;min-height:0;min-width:0;position:relative;--ricos-internal-gallery-arrow-inset:20px}.IpWDp{height:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:inline mandatory;scrollbar-width:none}.IpWDp::-webkit-scrollbar{display:none}.qDx45{display:flex;height:100%;list-style:none;margin:0;padding:0}.BV4mz{flex:0 0 100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}.BV4mz [data-hook^=gallery-media-]{background:transparent;height:100%}.SYMJl{color:inherit;z-index:1}.SYMJl[data-hook=gallery-navigation-previous]{inset-inline-start:var(--ricos-internal-gallery-arrow-inset,12px)}.SYMJl[data-hook=gallery-navigation-previous] svg{inset-inline-end:auto;inset-inline-start:0}.SYMJl[data-hook=gallery-navigation-next]{inset-inline-end:var(--ricos-internal-gallery-arrow-inset,12px)}`;
26692
26228
  typeof process !== "undefined" && process.env && false;
26693
26229
  if (typeof document === "undefined") {
26694
26230
  return;
@@ -26709,18 +26245,18 @@ var init_fullscreen_scss = __esm({
26709
26245
  });
26710
26246
  injectCss();
26711
26247
  fullscreen_default = {
26712
- "slide": "uKVFY",
26713
- "arrow": "nVV6j",
26714
- "fullscreen_mode": "cGNV0",
26715
- "expand_mode": "ncx3G",
26716
- "close": "MnmQz",
26717
- "expand_button": "pjRHV",
26718
- "title": "RK4GW",
26719
- "info_container": "nrc-A",
26720
- "visuallyHidden": "SQjwd",
26721
- "carousel": "GvC-Y",
26722
- "viewport": "DHzv7",
26723
- "track": "eYMTg"
26248
+ "slide": "BV4mz",
26249
+ "arrow": "SYMJl",
26250
+ "fullscreen_mode": "WAOR5",
26251
+ "expand_mode": "_7T-kx",
26252
+ "close": "UpN2b",
26253
+ "expand_button": "Z4F2C",
26254
+ "title": "bZbsI",
26255
+ "info_container": "qmZdg",
26256
+ "visuallyHidden": "PmPcR",
26257
+ "carousel": "CX4TG",
26258
+ "viewport": "IpWDp",
26259
+ "track": "qDx45"
26724
26260
  };
26725
26261
  }
26726
26262
  });
@@ -33943,9 +33479,9 @@ var require_messages_zh = __commonJS({
33943
33479
  var styleDataHash6, injectCss6, viewer_inline_toolbar_default;
33944
33480
  var init_viewer_inline_toolbar_scss = __esm({
33945
33481
  "../../node_modules/@wix/ricos/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js"() {
33946
- styleDataHash6 = "f225be53";
33482
+ styleDataHash6 = "3fb4eb45";
33947
33483
  injectCss6 = (() => {
33948
- var css = `.axLsN{background-color:#fff;border:1px solid #ededed;border-radius:6px;box-shadow:0 4px 8px 0 rgba(0,0,0,.07);display:flex;height:43px;overflow:hidden;position:absolute;transform:translate(-50%,-100%);transition:all .5s ease-out}.CuyEJ{align-items:center;background:#fff;border:none;cursor:pointer;display:flex;justify-content:center;width:43px}`;
33484
+ var css = `._8Wttd{background-color:#fff;border:1px solid #ededed;border-radius:6px;box-shadow:0 4px 8px 0 rgba(0,0,0,.07);display:flex;height:43px;overflow:hidden;position:absolute;transform:translate(-50%,-100%);transition:all .5s ease-out}.DvpTS{align-items:center;background:#fff;border:none;cursor:pointer;display:flex;justify-content:center;width:43px}`;
33949
33485
  typeof process !== "undefined" && process.env && false;
33950
33486
  if (typeof document === "undefined") {
33951
33487
  return;
@@ -33966,8 +33502,8 @@ var init_viewer_inline_toolbar_scss = __esm({
33966
33502
  });
33967
33503
  injectCss6();
33968
33504
  viewer_inline_toolbar_default = {
33969
- "toolbar": "axLsN",
33970
- "button": "CuyEJ"
33505
+ "toolbar": "_8Wttd",
33506
+ "button": "DvpTS"
33971
33507
  };
33972
33508
  }
33973
33509
  });
@@ -34925,12 +34461,12 @@ var require_src2 = __commonJS({
34925
34461
  return typeof value === "number";
34926
34462
  }
34927
34463
  exports.isNumber = isNumber2;
34928
- function isObject7(value) {
34464
+ function isObject8(value) {
34929
34465
  return typeof value === "object";
34930
34466
  }
34931
- exports.isObject = isObject7;
34467
+ exports.isObject = isObject8;
34932
34468
  function isPlainObject2(value) {
34933
- return isObject7(value) && Object.prototype.toString.call(value) === "[object Object]";
34469
+ return isObject8(value) && Object.prototype.toString.call(value) === "[object Object]";
34934
34470
  }
34935
34471
  exports.isPlainObject = isPlainObject2;
34936
34472
  function isRegExp2(value) {
@@ -36047,11 +35583,11 @@ var require_baseGetTag = __commonJS({
36047
35583
  // ../../node_modules/lodash/isObject.js
36048
35584
  var require_isObject = __commonJS({
36049
35585
  "../../node_modules/lodash/isObject.js"(exports, module) {
36050
- function isObject7(value) {
35586
+ function isObject8(value) {
36051
35587
  var type = typeof value;
36052
35588
  return value != null && (type == "object" || type == "function");
36053
35589
  }
36054
- module.exports = isObject7;
35590
+ module.exports = isObject8;
36055
35591
  }
36056
35592
  });
36057
35593
 
@@ -36059,13 +35595,13 @@ var require_isObject = __commonJS({
36059
35595
  var require_isFunction = __commonJS({
36060
35596
  "../../node_modules/lodash/isFunction.js"(exports, module) {
36061
35597
  var baseGetTag = require_baseGetTag();
36062
- var isObject7 = require_isObject();
35598
+ var isObject8 = require_isObject();
36063
35599
  var asyncTag = "[object AsyncFunction]";
36064
35600
  var funcTag = "[object Function]";
36065
35601
  var genTag = "[object GeneratorFunction]";
36066
35602
  var proxyTag = "[object Proxy]";
36067
35603
  function isFunction2(value) {
36068
- if (!isObject7(value)) {
35604
+ if (!isObject8(value)) {
36069
35605
  return false;
36070
35606
  }
36071
35607
  var tag = baseGetTag(value);
@@ -36126,7 +35662,7 @@ var require_baseIsNative = __commonJS({
36126
35662
  "../../node_modules/lodash/_baseIsNative.js"(exports, module) {
36127
35663
  var isFunction2 = require_isFunction();
36128
35664
  var isMasked = require_isMasked();
36129
- var isObject7 = require_isObject();
35665
+ var isObject8 = require_isObject();
36130
35666
  var toSource = require_toSource();
36131
35667
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
36132
35668
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
@@ -36138,7 +35674,7 @@ var require_baseIsNative = __commonJS({
36138
35674
  "^" + funcToString.call(hasOwnProperty3).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
36139
35675
  );
36140
35676
  function baseIsNative(value) {
36141
- if (!isObject7(value) || isMasked(value)) {
35677
+ if (!isObject8(value) || isMasked(value)) {
36142
35678
  return false;
36143
35679
  }
36144
35680
  var pattern = isFunction2(value) ? reIsNative : reIsHostCtor;
@@ -36884,13 +36420,13 @@ var require_nativeKeysIn = __commonJS({
36884
36420
  // ../../node_modules/lodash/_baseKeysIn.js
36885
36421
  var require_baseKeysIn = __commonJS({
36886
36422
  "../../node_modules/lodash/_baseKeysIn.js"(exports, module) {
36887
- var isObject7 = require_isObject();
36423
+ var isObject8 = require_isObject();
36888
36424
  var isPrototype = require_isPrototype();
36889
36425
  var nativeKeysIn = require_nativeKeysIn();
36890
36426
  var objectProto = Object.prototype;
36891
36427
  var hasOwnProperty3 = objectProto.hasOwnProperty;
36892
36428
  function baseKeysIn(object) {
36893
- if (!isObject7(object)) {
36429
+ if (!isObject8(object)) {
36894
36430
  return nativeKeysIn(object);
36895
36431
  }
36896
36432
  var isProto = isPrototype(object), result2 = [];
@@ -37362,13 +36898,13 @@ var require_initCloneByTag = __commonJS({
37362
36898
  // ../../node_modules/lodash/_baseCreate.js
37363
36899
  var require_baseCreate = __commonJS({
37364
36900
  "../../node_modules/lodash/_baseCreate.js"(exports, module) {
37365
- var isObject7 = require_isObject();
36901
+ var isObject8 = require_isObject();
37366
36902
  var objectCreate = Object.create;
37367
36903
  var baseCreate = /* @__PURE__ */ (function() {
37368
36904
  function object() {
37369
36905
  }
37370
36906
  return function(proto) {
37371
- if (!isObject7(proto)) {
36907
+ if (!isObject8(proto)) {
37372
36908
  return {};
37373
36909
  }
37374
36910
  if (objectCreate) {
@@ -37468,7 +37004,7 @@ var require_baseClone = __commonJS({
37468
37004
  var isArray2 = require_isArray();
37469
37005
  var isBuffer = require_isBuffer();
37470
37006
  var isMap = require_isMap();
37471
- var isObject7 = require_isObject();
37007
+ var isObject8 = require_isObject();
37472
37008
  var isSet = require_isSet();
37473
37009
  var keys3 = require_keys();
37474
37010
  var keysIn = require_keysIn();
@@ -37512,7 +37048,7 @@ var require_baseClone = __commonJS({
37512
37048
  if (result2 !== void 0) {
37513
37049
  return result2;
37514
37050
  }
37515
- if (!isObject7(value)) {
37051
+ if (!isObject8(value)) {
37516
37052
  return value;
37517
37053
  }
37518
37054
  var isArr = isArray2(value);
@@ -37581,6 +37117,218 @@ var require_cloneDeep = __commonJS({
37581
37117
  }
37582
37118
  });
37583
37119
 
37120
+ // ../../node_modules/@wix/sdk-runtime/build/constants.js
37121
+ var SDKRequestToRESTRequestRenameMap, RESTResponseToSDKResponseRenameMap2;
37122
+ var init_constants4 = __esm({
37123
+ "../../node_modules/@wix/sdk-runtime/build/constants.js"() {
37124
+ SDKRequestToRESTRequestRenameMap = {
37125
+ _id: "id",
37126
+ _createdDate: "createdDate",
37127
+ _updatedDate: "updatedDate"
37128
+ };
37129
+ RESTResponseToSDKResponseRenameMap2 = {
37130
+ id: "_id",
37131
+ createdDate: "_createdDate",
37132
+ updatedDate: "_updatedDate"
37133
+ };
37134
+ }
37135
+ });
37136
+
37137
+ // ../../node_modules/@wix/sdk-runtime/build/utils.js
37138
+ function removeUndefinedKeys(obj) {
37139
+ return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== void 0));
37140
+ }
37141
+ function constantCase2(input) {
37142
+ return split2(input).map((part) => part.toLocaleUpperCase()).join("_");
37143
+ }
37144
+ function split2(value) {
37145
+ let result2 = value.trim();
37146
+ result2 = result2.replace(SPLIT_LOWER_UPPER_RE2, SPLIT_REPLACE_VALUE2).replace(SPLIT_UPPER_UPPER_RE2, SPLIT_REPLACE_VALUE2);
37147
+ result2 = result2.replace(DEFAULT_STRIP_REGEXP2, "\0");
37148
+ let start = 0;
37149
+ let end = result2.length;
37150
+ while (result2.charAt(start) === "\0") {
37151
+ start++;
37152
+ }
37153
+ if (start === end) {
37154
+ return [];
37155
+ }
37156
+ while (result2.charAt(end - 1) === "\0") {
37157
+ end--;
37158
+ }
37159
+ return result2.slice(start, end).split(/\0/g);
37160
+ }
37161
+ var SPLIT_LOWER_UPPER_RE2, SPLIT_UPPER_UPPER_RE2, SPLIT_REPLACE_VALUE2, DEFAULT_STRIP_REGEXP2;
37162
+ var init_utils6 = __esm({
37163
+ "../../node_modules/@wix/sdk-runtime/build/utils.js"() {
37164
+ SPLIT_LOWER_UPPER_RE2 = /([\p{Ll}\d])(\p{Lu})/gu;
37165
+ SPLIT_UPPER_UPPER_RE2 = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
37166
+ SPLIT_REPLACE_VALUE2 = "$1\0$2";
37167
+ DEFAULT_STRIP_REGEXP2 = /[^\p{L}\d]+/giu;
37168
+ }
37169
+ });
37170
+
37171
+ // ../../node_modules/@wix/sdk-runtime/build/transform-error.js
37172
+ function transformError2(httpClientError, pathsToArguments = {
37173
+ explicitPathsToArguments: {},
37174
+ spreadPathsToArguments: {},
37175
+ singleArgumentUnchanged: false
37176
+ }, argumentNames = []) {
37177
+ if (typeof httpClientError !== "object" || httpClientError === null) {
37178
+ throw httpClientError;
37179
+ }
37180
+ if (isValidationError2(httpClientError)) {
37181
+ return buildValidationError2(httpClientError, pathsToArguments, argumentNames);
37182
+ }
37183
+ if (isApplicationError2(httpClientError)) {
37184
+ return buildApplicationError2(httpClientError);
37185
+ }
37186
+ if (isClientError2(httpClientError)) {
37187
+ const status = httpClientError.response?.status;
37188
+ const statusText = httpClientError.response?.statusText ?? "UNKNOWN";
37189
+ const message = httpClientError.response?.data?.message ?? statusText;
37190
+ const details = {
37191
+ applicationError: {
37192
+ description: statusText,
37193
+ code: constantCase2(statusText),
37194
+ data: {}
37195
+ },
37196
+ requestId: httpClientError.requestId
37197
+ };
37198
+ return wrapError2(httpClientError, {
37199
+ message: JSON.stringify({
37200
+ message,
37201
+ details
37202
+ }, null, 2),
37203
+ extraProperties: {
37204
+ details,
37205
+ status
37206
+ }
37207
+ });
37208
+ }
37209
+ return buildSystemError2(httpClientError);
37210
+ }
37211
+ var isValidationError2, isApplicationError2, isClientError2, buildValidationError2, wrapError2, buildApplicationError2, buildSystemError2, violationsWithRenamedFields2, withRenamedArgument2, getArgumentIndex2;
37212
+ var init_transform_error2 = __esm({
37213
+ "../../node_modules/@wix/sdk-runtime/build/transform-error.js"() {
37214
+ init_utils6();
37215
+ isValidationError2 = (httpClientError) => "validationError" in (httpClientError.response?.data?.details ?? {});
37216
+ isApplicationError2 = (httpClientError) => "applicationError" in (httpClientError.response?.data?.details ?? {});
37217
+ isClientError2 = (httpClientError) => (httpClientError.response?.status ?? -1) >= 400 && (httpClientError.response?.status ?? -1) < 500;
37218
+ buildValidationError2 = (httpClientError, pathsToArguments, argumentNames) => {
37219
+ const validationErrorResponse = httpClientError.response?.data;
37220
+ const requestId = httpClientError.requestId;
37221
+ const { fieldViolations } = validationErrorResponse.details.validationError;
37222
+ const transformedFieldViolations = violationsWithRenamedFields2(pathsToArguments, fieldViolations, argumentNames)?.sort((a2, b) => a2.field < b.field ? -1 : 1);
37223
+ const message = `INVALID_ARGUMENT: ${transformedFieldViolations?.map(({ field, description }) => `"${field}" ${description}`)?.join(", ")}`;
37224
+ const details = {
37225
+ validationError: { fieldViolations: transformedFieldViolations },
37226
+ requestId
37227
+ };
37228
+ return wrapError2(httpClientError, {
37229
+ message: JSON.stringify({ message, details }, null, 2),
37230
+ extraProperties: {
37231
+ details,
37232
+ status: httpClientError.response?.status,
37233
+ requestId
37234
+ }
37235
+ });
37236
+ };
37237
+ wrapError2 = (baseError, { message, extraProperties }) => {
37238
+ return Object.assign(baseError, {
37239
+ ...extraProperties,
37240
+ message
37241
+ });
37242
+ };
37243
+ buildApplicationError2 = (httpClientError) => {
37244
+ const status = httpClientError.response?.status;
37245
+ const statusText = httpClientError.response?.statusText ?? "UNKNOWN";
37246
+ const message = httpClientError.response?.data?.message ?? statusText;
37247
+ const description = httpClientError.response?.data?.details?.applicationError?.description ?? statusText;
37248
+ const code = httpClientError.response?.data?.details?.applicationError?.code ?? constantCase2(statusText);
37249
+ const data = httpClientError.response?.data?.details?.applicationError?.data ?? {};
37250
+ const combinedMessage = message === description ? message : `${message}: ${description}`;
37251
+ const details = {
37252
+ applicationError: {
37253
+ description,
37254
+ code,
37255
+ data
37256
+ },
37257
+ requestId: httpClientError.requestId
37258
+ };
37259
+ return wrapError2(httpClientError, {
37260
+ message: JSON.stringify({ message: combinedMessage, details }, null, 2),
37261
+ extraProperties: {
37262
+ details,
37263
+ status,
37264
+ requestId: httpClientError.requestId
37265
+ }
37266
+ });
37267
+ };
37268
+ buildSystemError2 = (httpClientError) => {
37269
+ const message = httpClientError.requestId ? `System error occurred, request-id: ${httpClientError.requestId}` : `System error occurred: ${JSON.stringify(httpClientError)}`;
37270
+ return wrapError2(httpClientError, {
37271
+ message,
37272
+ extraProperties: {
37273
+ requestId: httpClientError.requestId,
37274
+ status: httpClientError.response?.status,
37275
+ code: constantCase2(httpClientError.response?.statusText ?? "UNKNOWN"),
37276
+ ...!httpClientError.response && {
37277
+ runtimeError: httpClientError
37278
+ }
37279
+ }
37280
+ });
37281
+ };
37282
+ violationsWithRenamedFields2 = ({ spreadPathsToArguments, explicitPathsToArguments, singleArgumentUnchanged }, fieldViolations, argumentNames) => {
37283
+ const allPathsToArguments = {
37284
+ ...spreadPathsToArguments,
37285
+ ...explicitPathsToArguments
37286
+ };
37287
+ const allPathsToArgumentsKeys = Object.keys(allPathsToArguments);
37288
+ return fieldViolations?.filter((fieldViolation) => {
37289
+ const containedInAMoreSpecificViolationField = fieldViolations.some((anotherViolation) => anotherViolation.field.length > fieldViolation.field.length && anotherViolation.field.startsWith(fieldViolation.field) && allPathsToArgumentsKeys.includes(anotherViolation.field));
37290
+ return !containedInAMoreSpecificViolationField;
37291
+ }).map((fieldViolation) => {
37292
+ const exactMatchArgumentExpression = explicitPathsToArguments[fieldViolation.field];
37293
+ if (exactMatchArgumentExpression) {
37294
+ return {
37295
+ ...fieldViolation,
37296
+ field: withRenamedArgument2(exactMatchArgumentExpression, argumentNames)
37297
+ };
37298
+ }
37299
+ const longestPartialPathMatch = allPathsToArgumentsKeys?.sort((a2, b) => b.length - a2.length)?.find((path) => fieldViolation.field.startsWith(path));
37300
+ if (longestPartialPathMatch) {
37301
+ const partialMatchArgumentExpression = allPathsToArguments[longestPartialPathMatch];
37302
+ if (partialMatchArgumentExpression) {
37303
+ return {
37304
+ ...fieldViolation,
37305
+ field: fieldViolation.field.replace(longestPartialPathMatch, withRenamedArgument2(partialMatchArgumentExpression, argumentNames))
37306
+ };
37307
+ }
37308
+ }
37309
+ if (singleArgumentUnchanged) {
37310
+ return {
37311
+ ...fieldViolation,
37312
+ field: `${argumentNames[0]}.${fieldViolation.field}`
37313
+ };
37314
+ }
37315
+ return fieldViolation;
37316
+ });
37317
+ };
37318
+ withRenamedArgument2 = (fieldValue, argumentNames) => {
37319
+ const argIndex = getArgumentIndex2(fieldValue);
37320
+ if (argIndex !== null && typeof argIndex !== "undefined") {
37321
+ return fieldValue.replace(`$[${argIndex}]`, argumentNames[argIndex]);
37322
+ }
37323
+ return fieldValue;
37324
+ };
37325
+ getArgumentIndex2 = (s) => {
37326
+ const match4 = s.match(/\$\[(?<argIndex>\d+)\]/);
37327
+ return match4 && match4.groups && Number(match4.groups.argIndex);
37328
+ };
37329
+ }
37330
+ });
37331
+
37584
37332
  // ../../node_modules/@wix/sdk-runtime/build/field-rename.js
37585
37333
  function renameFieldPathBySegment(fieldPath, renameMap) {
37586
37334
  return fieldPath?.split(".").map((segment) => renameMap?.[segment] ?? segment).join(".");
@@ -37639,15 +37387,274 @@ function renameKeysFromSDKRequestToRESTRequest(payload, ignorePaths = []) {
37639
37387
  return renameAllNestedKeys(payload, SDKRequestToRESTRequestRenameMap, ignorePaths);
37640
37388
  }
37641
37389
  function renameKeysFromRESTResponseToSDKResponse(payload, ignorePaths = []) {
37642
- return renameAllNestedKeys(payload, RESTResponseToSDKResponseRenameMap, ignorePaths);
37390
+ return renameAllNestedKeys(payload, RESTResponseToSDKResponseRenameMap2, ignorePaths);
37643
37391
  }
37644
37392
  var init_rename_all_nested_keys = __esm({
37645
37393
  "../../node_modules/@wix/sdk-runtime/build/rename-all-nested-keys.js"() {
37646
- init_constants2();
37394
+ init_constants4();
37647
37395
  init_field_rename();
37648
37396
  }
37649
37397
  });
37650
37398
 
37399
+ // ../../node_modules/@wix/sdk-runtime/build/context.js
37400
+ function resolveContext() {
37401
+ const oldContext = typeof $wixContext !== "undefined" && $wixContext.initWixModules ? $wixContext.initWixModules : typeof globalThis.__wix_context__ !== "undefined" && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
37402
+ if (oldContext) {
37403
+ return {
37404
+ // @ts-expect-error
37405
+ initWixModules(modules, elevated) {
37406
+ return runWithoutContext2(() => oldContext(modules, elevated));
37407
+ },
37408
+ fetchWithAuth() {
37409
+ throw new Error("fetchWithAuth is not available in this context");
37410
+ },
37411
+ graphql() {
37412
+ throw new Error("graphql is not available in this context");
37413
+ }
37414
+ };
37415
+ }
37416
+ const contextualClient = typeof $wixContext !== "undefined" ? $wixContext.client : typeof wixContext.client !== "undefined" ? wixContext.client : typeof globalThis.__wix_context__ !== "undefined" ? globalThis.__wix_context__.client : void 0;
37417
+ const elevatedClient = typeof $wixContext !== "undefined" ? $wixContext.elevatedClient : typeof wixContext.elevatedClient !== "undefined" ? wixContext.elevatedClient : typeof globalThis.__wix_context__ !== "undefined" ? globalThis.__wix_context__.elevatedClient : void 0;
37418
+ if (!contextualClient && !elevatedClient) {
37419
+ return;
37420
+ }
37421
+ return {
37422
+ initWixModules(wixModules, elevated) {
37423
+ if (elevated) {
37424
+ if (!elevatedClient) {
37425
+ throw new 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");
37426
+ }
37427
+ return runWithoutContext2(() => elevatedClient.use(wixModules));
37428
+ }
37429
+ if (!contextualClient) {
37430
+ throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
37431
+ }
37432
+ return runWithoutContext2(() => contextualClient.use(wixModules));
37433
+ },
37434
+ fetchWithAuth: (urlOrRequest, requestInit) => {
37435
+ if (!contextualClient) {
37436
+ throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
37437
+ }
37438
+ return contextualClient.fetchWithAuth(urlOrRequest, requestInit);
37439
+ },
37440
+ getAuth() {
37441
+ if (!contextualClient) {
37442
+ throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
37443
+ }
37444
+ return contextualClient.auth;
37445
+ },
37446
+ async graphql(query, variables, opts) {
37447
+ if (!contextualClient) {
37448
+ throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");
37449
+ }
37450
+ return contextualClient.graphql(query, variables, opts);
37451
+ }
37452
+ };
37453
+ }
37454
+ function runWithoutContext2(fn) {
37455
+ const globalContext = globalThis.__wix_context__;
37456
+ const moduleContext = {
37457
+ client: wixContext.client,
37458
+ elevatedClient: wixContext.elevatedClient
37459
+ };
37460
+ let closureContext;
37461
+ globalThis.__wix_context__ = void 0;
37462
+ wixContext.client = void 0;
37463
+ wixContext.elevatedClient = void 0;
37464
+ if (typeof $wixContext !== "undefined") {
37465
+ closureContext = {
37466
+ client: $wixContext?.client,
37467
+ elevatedClient: $wixContext?.elevatedClient
37468
+ };
37469
+ delete $wixContext.client;
37470
+ delete $wixContext.elevatedClient;
37471
+ }
37472
+ try {
37473
+ return fn();
37474
+ } finally {
37475
+ globalThis.__wix_context__ = globalContext;
37476
+ wixContext.client = moduleContext.client;
37477
+ wixContext.elevatedClient = moduleContext.elevatedClient;
37478
+ if (typeof $wixContext !== "undefined") {
37479
+ $wixContext.client = closureContext.client;
37480
+ $wixContext.elevatedClient = closureContext.elevatedClient;
37481
+ }
37482
+ }
37483
+ }
37484
+ var init_context2 = __esm({
37485
+ "../../node_modules/@wix/sdk-runtime/build/context.js"() {
37486
+ init_browser();
37487
+ init_context_v22();
37488
+ }
37489
+ });
37490
+
37491
+ // ../../node_modules/@wix/sdk-runtime/build/context-v2.js
37492
+ function contextualizeRESTModuleV2(restModule, elevated) {
37493
+ return ((...args) => {
37494
+ const context = resolveContext();
37495
+ if (!context) {
37496
+ return restModule.apply(void 0, args);
37497
+ }
37498
+ return context.initWixModules(restModule, elevated).apply(void 0, args);
37499
+ });
37500
+ }
37501
+ var init_context_v22 = __esm({
37502
+ "../../node_modules/@wix/sdk-runtime/build/context-v2.js"() {
37503
+ init_context2();
37504
+ }
37505
+ });
37506
+
37507
+ // ../../node_modules/@wix/sdk-runtime/build/rest-modules.js
37508
+ function createRESTModule(descriptor, elevated = false) {
37509
+ return contextualizeRESTModuleV2(descriptor, elevated);
37510
+ }
37511
+ function toURLSearchParams(params, isComplexRequest) {
37512
+ const flatten = flattenParams(params);
37513
+ Object.entries(flatten).some(([key, value]) => key.includes(".") || Array.isArray(value) && value.some((v) => typeof v === "object"));
37514
+ {
37515
+ return Object.entries(flatten).reduce((urlSearchParams, [key, value]) => {
37516
+ const keyParams = Array.isArray(value) ? value : [value];
37517
+ keyParams.forEach((param) => {
37518
+ if (param === void 0 || param === null || Array.isArray(value) && typeof param === "object") {
37519
+ return;
37520
+ }
37521
+ urlSearchParams.append(key, param);
37522
+ });
37523
+ return urlSearchParams;
37524
+ }, new URLSearchParams());
37525
+ }
37526
+ }
37527
+ function resolveUrl(opts) {
37528
+ const domain = resolveDomain(opts.host);
37529
+ const mappings = resolveMappingsByDomain(domain, opts.domainToMappings);
37530
+ const path = injectDataIntoProtoPath(opts.protoPath, opts.data || {});
37531
+ return resolvePathFromMappings(path, mappings);
37532
+ }
37533
+ function flattenParams(data, path = "") {
37534
+ const params = {};
37535
+ Object.entries(data).forEach(([key, value]) => {
37536
+ const isObject8 = value !== null && typeof value === "object" && !Array.isArray(value);
37537
+ const fieldPath = resolvePath(path, key);
37538
+ if (isObject8) {
37539
+ const serializedObject = flattenParams(value, fieldPath);
37540
+ Object.assign(params, serializedObject);
37541
+ } else {
37542
+ params[fieldPath] = value;
37543
+ }
37544
+ });
37545
+ return params;
37546
+ }
37547
+ function resolvePath(path, key) {
37548
+ return `${path}${path ? "." : ""}${key}`;
37549
+ }
37550
+ function resolveDomain(host) {
37551
+ const resolvedHost = fixHostExceptions(host);
37552
+ return resolvedHost.replace(REGEX_CAPTURE_DOMAINS2, "._base_domain_").replace(REGEX_CAPTURE_API_DOMAINS2, "._api_base_domain_").replace(REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN2, "*.dev.wix-code.com");
37553
+ }
37554
+ function fixHostExceptions(host) {
37555
+ return HOST_ALIASES[host] ?? host;
37556
+ }
37557
+ function resolveMappingsByDomain(domain, domainToMappings) {
37558
+ const mappings = domainToMappings[domain];
37559
+ if (mappings) {
37560
+ return mappings;
37561
+ }
37562
+ const matchedMappings = resolveRootDomain(domain, domainToMappings) ?? resolveWildcardDomain(domain, domainToMappings);
37563
+ if (!matchedMappings) {
37564
+ if (isBaseDomain(domain)) {
37565
+ const wwwMappings = domainToMappings[wwwBaseDomain];
37566
+ if (wwwMappings) {
37567
+ return wwwMappings;
37568
+ }
37569
+ }
37570
+ const userMappings = domainToMappings[USER_DOMAIN];
37571
+ if (userMappings) {
37572
+ return userMappings;
37573
+ }
37574
+ }
37575
+ return matchedMappings ?? [];
37576
+ }
37577
+ function resolveRootDomain(domain, domainToMappings) {
37578
+ return Object.entries(domainToMappings).find(([entryDomain]) => {
37579
+ const [, ...rooDomainSegments] = domain.split(".");
37580
+ return rooDomainSegments.join(".") === entryDomain;
37581
+ })?.[1];
37582
+ }
37583
+ function resolveWildcardDomain(domain, domainToMappings) {
37584
+ const matchingEntries = Object.entries(domainToMappings).filter(([entryDomain]) => matchesWildcardDomain(domain, entryDomain));
37585
+ const [mostSpecificEntry] = matchingEntries.sort(([entryDomainA], [entryDomainB]) => entryDomainB.length - entryDomainA.length);
37586
+ if (!mostSpecificEntry) {
37587
+ return void 0;
37588
+ }
37589
+ const [, mappings] = mostSpecificEntry;
37590
+ return mappings;
37591
+ }
37592
+ function matchesWildcardDomain(domain, entryDomain) {
37593
+ if (!entryDomain.startsWith(WILDCARD_PREFIX)) {
37594
+ return false;
37595
+ }
37596
+ const suffix = entryDomain.slice(WILDCARD_PREFIX.length - 1);
37597
+ return domain.length > suffix.length && domain.endsWith(suffix);
37598
+ }
37599
+ function isBaseDomain(domain) {
37600
+ return !!domain.match(/\._base_domain_$/);
37601
+ }
37602
+ function injectDataIntoProtoPath(protoPath, data) {
37603
+ return protoPath.split("/").map((path) => maybeProtoPathToData(path, data)).join("/");
37604
+ }
37605
+ function maybeProtoPathToData(protoPath, data) {
37606
+ const protoRegExpMatch = protoPath.match(REGEX_CAPTURE_PROTO_FIELD) || [];
37607
+ const field = protoRegExpMatch[1];
37608
+ if (field) {
37609
+ const suffix = protoPath.replace(protoRegExpMatch[0], "");
37610
+ return findByPath(data, field, protoPath, suffix);
37611
+ }
37612
+ return protoPath;
37613
+ }
37614
+ function findByPath(obj, path, defaultValue, suffix) {
37615
+ let result2 = obj;
37616
+ for (const field of path.split(".")) {
37617
+ if (!result2) {
37618
+ return defaultValue;
37619
+ }
37620
+ result2 = result2[field];
37621
+ }
37622
+ return `${result2}${suffix}`;
37623
+ }
37624
+ function resolvePathFromMappings(protoPath, mappings) {
37625
+ const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
37626
+ if (!mapping) {
37627
+ return protoPath;
37628
+ }
37629
+ return mapping.srcPath + protoPath.slice(mapping.destPath.length);
37630
+ }
37631
+ var DOMAINS2, USER_DOMAIN, WILDCARD_PREFIX, REGEX_CAPTURE_DOMAINS2, WIX_API_DOMAINS2, HOST_ALIASES, DEV_WIX_CODE_DOMAIN2, REGEX_CAPTURE_PROTO_FIELD, REGEX_CAPTURE_API_DOMAINS2, REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN2, wwwBaseDomain;
37632
+ var init_rest_modules3 = __esm({
37633
+ "../../node_modules/@wix/sdk-runtime/build/rest-modules.js"() {
37634
+ init_context_v22();
37635
+ DOMAINS2 = ["wix.com", "editorx.com"];
37636
+ USER_DOMAIN = "_";
37637
+ WILDCARD_PREFIX = "*.";
37638
+ REGEX_CAPTURE_DOMAINS2 = new RegExp(`\\.(${DOMAINS2.join("|")})$`);
37639
+ WIX_API_DOMAINS2 = [
37640
+ "42.wixprod.net",
37641
+ "uw2-edt-1.wixprod.net",
37642
+ "virginia-edt.wixprod.net"
37643
+ ];
37644
+ HOST_ALIASES = {
37645
+ // payments.base44.com runs customised Business Manager, which needs to work exactly the same as normal BM on manage.wix.com
37646
+ "payments.base44.com": "manage.wix.com",
37647
+ // https://system-kb.wixanswers.com/kb/en/article/editorx-domains-matching-to-wixcom
37648
+ "create.editorx.com": "editor.editorx.com"
37649
+ };
37650
+ DEV_WIX_CODE_DOMAIN2 = "dev.wix-code.com";
37651
+ REGEX_CAPTURE_PROTO_FIELD = /{(.*)}/;
37652
+ REGEX_CAPTURE_API_DOMAINS2 = new RegExp(`\\.(${WIX_API_DOMAINS2.join("|")})$`);
37653
+ REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN2 = new RegExp(`.*\\.${DEV_WIX_CODE_DOMAIN2}$`);
37654
+ wwwBaseDomain = "www._base_domain_";
37655
+ }
37656
+ });
37657
+
37651
37658
  // ../../node_modules/@wix/sdk-runtime/build/transformations/float.js
37652
37659
  function transformSDKFloatToRESTFloat(val) {
37653
37660
  return isFinite(val) ? val : val.toString();
@@ -37670,36 +37677,121 @@ var init_float = __esm({
37670
37677
  });
37671
37678
 
37672
37679
  // ../../node_modules/@wix/sdk-runtime/build/transformations/transform-paths.js
37673
- function transformPath(obj, { path, isRepeated, isMap }, transformFn) {
37674
- const pathParts = path.split(".");
37675
- if (pathParts.length === 1 && path in obj) {
37676
- obj[path] = isRepeated ? obj[path].map(transformFn) : isMap ? Object.fromEntries(Object.entries(obj[path]).map(([key, value]) => [key, transformFn(value)])) : transformFn(obj[path]);
37677
- return obj;
37680
+ function createPathTree() {
37681
+ return {
37682
+ leaves: void 0,
37683
+ fields: void 0,
37684
+ mapFields: void 0,
37685
+ anyField: void 0
37686
+ };
37687
+ }
37688
+ function getOrCreateChild(children, key) {
37689
+ let child = children.get(key);
37690
+ if (!child) {
37691
+ child = createPathTree();
37692
+ children.set(key, child);
37693
+ }
37694
+ return child;
37695
+ }
37696
+ function getChild(tree2, segment) {
37697
+ if (segment === "*") {
37698
+ tree2.anyField ?? (tree2.anyField = createPathTree());
37699
+ return tree2.anyField;
37700
+ }
37701
+ if (segment.endsWith("{}")) {
37702
+ tree2.mapFields ?? (tree2.mapFields = /* @__PURE__ */ new Map());
37703
+ return getOrCreateChild(tree2.mapFields, segment.slice(0, -2));
37704
+ }
37705
+ tree2.fields ?? (tree2.fields = /* @__PURE__ */ new Map());
37706
+ return getOrCreateChild(tree2.fields, segment);
37707
+ }
37708
+ function buildPathTree(paths) {
37709
+ const root = createPathTree();
37710
+ for (const transformPath of paths) {
37711
+ const tree2 = transformPath.path.split(".").reduce(getChild, root);
37712
+ tree2.leaves ?? (tree2.leaves = []);
37713
+ tree2.leaves.push(transformPath);
37678
37714
  }
37679
- const [first2, ...rest] = pathParts;
37680
- if (first2.endsWith("{}")) {
37681
- const cleanPath = first2.slice(0, -2);
37682
- obj[cleanPath] = Object.fromEntries(Object.entries(obj[cleanPath]).map(([key, value]) => [
37715
+ return root;
37716
+ }
37717
+ function getPathTree(paths) {
37718
+ let tree2 = pathTrees.get(paths);
37719
+ if (!tree2) {
37720
+ tree2 = buildPathTree(paths);
37721
+ pathTrees.set(paths, tree2);
37722
+ }
37723
+ return tree2;
37724
+ }
37725
+ function isObject7(value) {
37726
+ return typeof value === "object" && value !== null;
37727
+ }
37728
+ function transformLeaf(value, { isRepeated, isMap }, transformFn) {
37729
+ if (isRepeated) {
37730
+ return Array.isArray(value) ? value.map(transformFn) : value;
37731
+ }
37732
+ if (isMap) {
37733
+ return isObject7(value) ? Object.fromEntries(Object.entries(value).map(([key, entry]) => [
37683
37734
  key,
37684
- transformPath(value, { path: rest.join("."), isRepeated, isMap }, transformFn)
37685
- ]));
37686
- } else if (Array.isArray(obj[first2])) {
37687
- obj[first2] = obj[first2].map((item) => transformPath(item, { path: rest.join("."), isRepeated, isMap }, transformFn));
37688
- } else if (first2 in obj && typeof obj[first2] === "object" && obj[first2] !== null) {
37689
- obj[first2] = transformPath(obj[first2], { path: rest.join("."), isRepeated, isMap }, transformFn);
37690
- } else if (first2 === "*") {
37691
- Object.keys(obj).reduce((acc, curr) => {
37692
- acc[curr] = transformPath(obj[curr], { path: rest.join("."), isRepeated, isMap }, transformFn);
37693
- return acc;
37694
- }, obj);
37735
+ transformFn(entry)
37736
+ ])) : value;
37737
+ }
37738
+ return transformFn(value);
37739
+ }
37740
+ function transformNested(value, tree2, transformFn) {
37741
+ if (isObject7(value)) {
37742
+ transformObject(value, tree2, transformFn);
37743
+ }
37744
+ }
37745
+ function transformFields(obj, fields, transformFn) {
37746
+ for (const [key, field] of fields) {
37747
+ if (!(key in obj)) {
37748
+ continue;
37749
+ }
37750
+ if (field.leaves) {
37751
+ for (const leaf of field.leaves) {
37752
+ obj[key] = transformLeaf(obj[key], leaf, transformFn);
37753
+ }
37754
+ }
37755
+ const value = obj[key];
37756
+ if (Array.isArray(value)) {
37757
+ value.forEach((item) => transformNested(item, field, transformFn));
37758
+ } else {
37759
+ transformNested(value, field, transformFn);
37760
+ }
37761
+ }
37762
+ }
37763
+ function transformMapFields(obj, mapFields, transformFn) {
37764
+ for (const [key, valueTree] of mapFields) {
37765
+ const map7 = obj[key];
37766
+ if (isObject7(map7)) {
37767
+ Object.values(map7).forEach((value) => transformNested(value, valueTree, transformFn));
37768
+ }
37769
+ }
37770
+ }
37771
+ function transformObject(obj, { fields, mapFields, anyField }, transformFn) {
37772
+ if (fields) {
37773
+ transformFields(obj, fields, transformFn);
37774
+ }
37775
+ if (mapFields) {
37776
+ transformMapFields(obj, mapFields, transformFn);
37777
+ }
37778
+ if (anyField) {
37779
+ Object.values(obj).forEach((value) => transformNested(value, anyField, transformFn));
37695
37780
  }
37696
- return obj;
37697
37781
  }
37698
37782
  function transformPaths(obj, transformations) {
37699
- return transformations.reduce((acc, { paths, transformFn }) => paths.reduce((transformerAcc, path) => transformPath(transformerAcc, path, transformFn), acc), obj);
37783
+ if (!isObject7(obj)) {
37784
+ return obj;
37785
+ }
37786
+ for (const { paths, transformFn } of transformations) {
37787
+ transformObject(obj, getPathTree(paths), transformFn);
37788
+ }
37789
+ return obj;
37700
37790
  }
37791
+ var pathTrees;
37701
37792
  var init_transform_paths = __esm({
37702
37793
  "../../node_modules/@wix/sdk-runtime/build/transformations/transform-paths.js"() {
37794
+ pathTrees = /* @__PURE__ */ new WeakMap();
37703
37795
  }
37704
37796
  });
37705
37797
 
@@ -37808,7 +37900,7 @@ var require_isSymbol = __commonJS({
37808
37900
  var require_toNumber = __commonJS({
37809
37901
  "../../node_modules/lodash/toNumber.js"(exports, module) {
37810
37902
  var baseTrim = require_baseTrim();
37811
- var isObject7 = require_isObject();
37903
+ var isObject8 = require_isObject();
37812
37904
  var isSymbol = require_isSymbol();
37813
37905
  var NAN = 0 / 0;
37814
37906
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
@@ -37822,9 +37914,9 @@ var require_toNumber = __commonJS({
37822
37914
  if (isSymbol(value)) {
37823
37915
  return NAN;
37824
37916
  }
37825
- if (isObject7(value)) {
37917
+ if (isObject8(value)) {
37826
37918
  var other = typeof value.valueOf == "function" ? value.valueOf() : value;
37827
- value = isObject7(other) ? other + "" : other;
37919
+ value = isObject8(other) ? other + "" : other;
37828
37920
  }
37829
37921
  if (typeof value != "string") {
37830
37922
  return value === 0 ? value : +value;
@@ -37840,7 +37932,7 @@ var require_toNumber = __commonJS({
37840
37932
  // ../../node_modules/lodash/debounce.js
37841
37933
  var require_debounce2 = __commonJS({
37842
37934
  "../../node_modules/lodash/debounce.js"(exports, module) {
37843
- var isObject7 = require_isObject();
37935
+ var isObject8 = require_isObject();
37844
37936
  var now = require_now();
37845
37937
  var toNumber = require_toNumber();
37846
37938
  var FUNC_ERROR_TEXT = "Expected a function";
@@ -37852,7 +37944,7 @@ var require_debounce2 = __commonJS({
37852
37944
  throw new TypeError(FUNC_ERROR_TEXT);
37853
37945
  }
37854
37946
  wait = toNumber(wait) || 0;
37855
- if (isObject7(options)) {
37947
+ if (isObject8(options)) {
37856
37948
  leading = !!options.leading;
37857
37949
  maxing = "maxWait" in options;
37858
37950
  maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
@@ -38482,6 +38574,7 @@ var normalizeGalleryItems = ({
38482
38574
  type: "image",
38483
38575
  id: `gallery-item:${nodeId}:${index2}`,
38484
38576
  sourceIndex: index2,
38577
+ seed: getSeed(item.image.media, index2),
38485
38578
  title,
38486
38579
  alt: alt2,
38487
38580
  width: dimensions.width,
@@ -38503,6 +38596,7 @@ var normalizeGalleryItems = ({
38503
38596
  type: "video",
38504
38597
  id: `gallery-item:${nodeId}:${index2}`,
38505
38598
  sourceIndex: index2,
38599
+ seed: getSeed(item.video.media, index2),
38506
38600
  title,
38507
38601
  alt: alt2,
38508
38602
  width: dimensions.width,
@@ -38528,6 +38622,10 @@ var normalizeSource = (media, type) => {
38528
38622
  ...isPositiveFinite2(media.height) ? { height: media.height } : {}
38529
38623
  };
38530
38624
  };
38625
+ var getSeed = (media, index2) => Array.from(`${media.src?.url || media.src?.id || ""}_${index2}`).reduce(
38626
+ (sum, character) => sum + character.charCodeAt(0),
38627
+ 0
38628
+ );
38531
38629
  var normalizeDimensions = (media) => ({
38532
38630
  width: isPositiveFinite2(media.width) ? media.width : FALLBACK_DIMENSION,
38533
38631
  height: isPositiveFinite2(media.height) ? media.height : FALLBACK_DIMENSION
@@ -38563,6 +38661,20 @@ var normalizeRel = (rel) => {
38563
38661
  return values.join(" ");
38564
38662
  };
38565
38663
 
38664
+ // ../../node_modules/@wix/ricos/dist/es/_shared/build-responsive-css.js
38665
+ var VIEWPORT_ROOT = "[data-ricos-responsive=viewport]";
38666
+ var buildResponsiveCss = (query, rules) => {
38667
+ const scoped = (scope) => rules.map(({ selector, declarations }) => `${scope(selector)} {${declarations}}`).join("\n");
38668
+ return `
38669
+ @container ${query} {
38670
+ ${scoped((selector) => `${selector}:where(:not(${VIEWPORT_ROOT} *))`)}
38671
+ }
38672
+ @media ${query} {
38673
+ ${scoped((selector) => `:where(${VIEWPORT_ROOT}) ${selector}`)}
38674
+ }
38675
+ `;
38676
+ };
38677
+
38566
38678
  // ../../node_modules/@wix/ricos/dist/es/_shared/line-spacing-utils.js
38567
38679
  var MIN_LINE_HEIGHT = 0.8;
38568
38680
  var normalizeLineHeight = (lineHeight) => {
@@ -39858,21 +39970,21 @@ init_wix_rich_content_common();
39858
39970
 
39859
39971
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js
39860
39972
  var rich_content_viewer_default = {
39861
- "fontElementMap": "foN3c",
39862
- "wrapper": "DxgWL",
39863
- "pluginContainerMobile": "IYHIJ",
39864
- "viewer": "Ztb7q",
39865
- "android": "bxIYS",
39866
- "rootedTraversedContent": "_119kl",
39867
- "atomic": "_8OXQ1",
39868
- "toolbar": "yEYNg",
39869
- "block": "_3wMje"
39973
+ "fontElementMap": "EpgrZ",
39974
+ "wrapper": "yONbw",
39975
+ "pluginContainerMobile": "_1qwlX",
39976
+ "viewer": "GH4wW",
39977
+ "android": "rR3oR",
39978
+ "rootedTraversedContent": "_9mfdz",
39979
+ "atomic": "bDmul",
39980
+ "toolbar": "YhpZ9",
39981
+ "block": "KnySL"
39870
39982
  };
39871
39983
 
39872
39984
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/rtl-scss.js
39873
39985
  var rtl_default = {
39874
- "rtl": "hKQHr",
39875
- "ltr": "O0ZTD"
39986
+ "rtl": "EJpHg",
39987
+ "ltr": "APc9Z"
39876
39988
  };
39877
39989
 
39878
39990
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/components/anchor.js
@@ -39927,9 +40039,13 @@ var viewer_default = BoldDecorator;
39927
40039
 
39928
40040
  // ../../node_modules/@wix/ricos/dist/es/ricos-common-plugins/font-size/viewer.js
39929
40041
  init_v1();
40042
+
40043
+ // ../../node_modules/@wix/ricos/dist/es/_shared/format-font-size.js
40044
+ var formatFontSize = ({ value, unit }, config) => config?.overrideInlineFontSize && value ? config.overrideInlineFontSize(value.toString(), unit) : `${value}${(unit ?? "PX").toLowerCase()}`;
40045
+
40046
+ // ../../node_modules/@wix/ricos/dist/es/ricos-common-plugins/font-size/viewer.js
39930
40047
  var decorator4 = (element, fontSizeDecoration, config) => {
39931
- const { unit, value } = fontSizeDecoration.fontSizeData || {};
39932
- const fontSize = config?.overrideInlineFontSize && value ? config.overrideInlineFontSize(value?.toString() ?? "", unit) : `${value}${unit ? unit.toLowerCase() : "px"}`;
40048
+ const fontSize = formatFontSize(fontSizeDecoration.fontSizeData || {}, config);
39933
40049
  return /* @__PURE__ */ React173__default.default.createElement(
39934
40050
  "span",
39935
40051
  {
@@ -40168,13 +40284,13 @@ init_ricos_context2();
40168
40284
 
40169
40285
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/indentation-scss.js
40170
40286
  var indentation_default = {
40171
- "indentZero": "oUcKW",
40172
- "indentOne": "ZUIVQ",
40173
- "indentTwo": "nhO5Y",
40174
- "indentThree": "_5PA9H",
40175
- "indentFour": "z7A6b",
40176
- "indentFive": "u1LrQ",
40177
- "indentSix": "cqI2i"
40287
+ "indentZero": "l2HIx",
40288
+ "indentOne": "CG84K",
40289
+ "indentTwo": "_7wtfO",
40290
+ "indentThree": "rXsF0",
40291
+ "indentFour": "vCEDx",
40292
+ "indentFive": "_664FN",
40293
+ "indentSix": "_4BRNs"
40178
40294
  };
40179
40295
  var Anchorable = ({ nodeId, children }) => {
40180
40296
  return React173__default.default.cloneElement(React173__default.default.Children.only(children), {
@@ -40207,8 +40323,8 @@ var alignmentToFlex = {
40207
40323
 
40208
40324
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js
40209
40325
  var blockquote_default = {
40210
- "quoteContainer": "jYTPF",
40211
- "quote": "tjETq"
40326
+ "quoteContainer": "_8cKzM",
40327
+ "quote": "JaSGB"
40212
40328
  };
40213
40329
 
40214
40330
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote.js
@@ -40250,34 +40366,34 @@ init_v1();
40250
40366
 
40251
40367
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/alignment-scss.js
40252
40368
  var alignment_default = {
40253
- "alignLeft": "Pmy-r",
40254
- "textWrapNowrap": "bLUh-",
40255
- "alignRight": "fgmUU",
40256
- "alignCenter": "hZnqD",
40257
- "sizeFullWidth": "_9zD4n",
40258
- "renderedInTable": "_2FXpS",
40259
- "sizeOriginal": "vhF7I",
40260
- "sizeContent": "Qvd1D",
40261
- "sizeSmall": "XhBET",
40262
- "sizeSmallCenter": "cUffh",
40263
- "flex": "vkRoT",
40264
- "LEFT": "D5Imq",
40265
- "CENTER": "-n7f5",
40266
- "RIGHT": "drIg9",
40267
- "AUTO": "rQSGI",
40268
- "JUSTIFY": "THAsa"
40369
+ "alignLeft": "_9FGo3",
40370
+ "textWrapNowrap": "Z5EMa",
40371
+ "alignRight": "aNf42",
40372
+ "alignCenter": "SPrjH",
40373
+ "sizeFullWidth": "QrwB7",
40374
+ "renderedInTable": "TFwzN",
40375
+ "sizeOriginal": "_53ubd",
40376
+ "sizeContent": "_1sQzR",
40377
+ "sizeSmall": "EWRBd",
40378
+ "sizeSmallCenter": "SPCuV",
40379
+ "flex": "EZIL1",
40380
+ "LEFT": "_5mwy4",
40381
+ "CENTER": "ICLVs",
40382
+ "RIGHT": "bP9Bu",
40383
+ "AUTO": "z6Hxc",
40384
+ "JUSTIFY": "y2aXj"
40269
40385
  };
40270
40386
 
40271
40387
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js
40272
40388
  var codeblock_default = {
40273
- "codeBlock": "sYPTy _1OaR1"};
40389
+ "codeBlock": "e36Yd mZzF2"};
40274
40390
 
40275
40391
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js
40276
40392
  var CodeBlock = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) => {
40277
- const { seoMode } = React173.useContext(RicosViewerContext);
40393
+ const { seoMode, plugins } = React173.useContext(RicosViewerContext);
40278
40394
  const { textAlignment: parentAlignment } = React173.useContext(RicosAlignmentContext);
40279
40395
  const { parentNode } = React173.useContext(RicosNodeContext);
40280
- const { textAlignment, lineHeight } = node.codeBlockData?.textStyle || {};
40396
+ const { textAlignment, lineHeight, fontSize } = node.codeBlockData?.textStyle || {};
40281
40397
  const codeBlockClassName = (0, import_classnames7.default)(
40282
40398
  codeblock_default.codeBlock,
40283
40399
  alignment_default[textAlignment || parentAlignment || TextStyle_TextAlignment2.AUTO],
@@ -40285,7 +40401,14 @@ var CodeBlock = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) =
40285
40401
  );
40286
40402
  const nodeStyle = {
40287
40403
  ...node.style,
40288
- ...lineHeight && { lineHeight: normalizeLineHeight(lineHeight) }
40404
+ ...lineHeight && { lineHeight: normalizeLineHeight(lineHeight) },
40405
+ // Text renders at its own sizes, so only an empty block takes its own
40406
+ ...!node.nodes?.length && fontSize?.value && {
40407
+ fontSize: formatFontSize(
40408
+ fontSize,
40409
+ plugins?.find((plugin) => plugin.type === "fontSize")
40410
+ )
40411
+ }
40289
40412
  };
40290
40413
  return /* @__PURE__ */ React173__default.default.createElement(Anchorable, { nodeId: node.id }, /* @__PURE__ */ React173__default.default.createElement("pre", { className: codeBlockClassName, style: nodeStyle, dir: "auto" }, /* @__PURE__ */ React173__default.default.createElement(
40291
40414
  "span",
@@ -40294,7 +40417,7 @@ var CodeBlock = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) =
40294
40417
  textAlignment === TextStyle_TextAlignment2.JUSTIFY && alignment_default[textAlignment]
40295
40418
  )
40296
40419
  },
40297
- /* @__PURE__ */ React173__default.default.createElement(RicosNodeContextProvider, { parentNode: node, parentIndex: nodeIndex }, /* @__PURE__ */ React173__default.default.createElement(RicosNodesRenderer2, { nodes: node.nodes ?? [] }))
40420
+ node.nodes?.length ? /* @__PURE__ */ React173__default.default.createElement(RicosNodeContextProvider, { parentNode: node, parentIndex: nodeIndex }, /* @__PURE__ */ React173__default.default.createElement(RicosNodesRenderer2, { nodes: node.nodes })) : /* @__PURE__ */ React173__default.default.createElement("br", { role: "presentation" })
40298
40421
  )));
40299
40422
  };
40300
40423
  var CodeBlockRenderer = ({ node, ...props2 }) => {
@@ -40309,15 +40432,15 @@ init_v1();
40309
40432
 
40310
40433
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js
40311
40434
  var heading_default = {
40312
- "fontElementMap": "hwiM8",
40313
- "elementSpacing": "HaWix",
40314
- "headerOne": "Uef77 HaWix",
40315
- "headerTwo": "VAiYQ HaWix",
40316
- "headerThree": "p9bqS HaWix",
40317
- "headerFour": "_0MJNL HaWix",
40318
- "headerFive": "KzrPD HaWix",
40319
- "headerSix": "_3Jr55 HaWix",
40320
- "child": "-qG0v"
40435
+ "fontElementMap": "CDadn",
40436
+ "elementSpacing": "QTRu3",
40437
+ "headerOne": "j-6WO QTRu3",
40438
+ "headerTwo": "-d3em QTRu3",
40439
+ "headerThree": "lwu2i QTRu3",
40440
+ "headerFour": "sofPP QTRu3",
40441
+ "headerFive": "qR99E QTRu3",
40442
+ "headerSix": "f0yg8 QTRu3",
40443
+ "child": "OQrn5"
40321
40444
  };
40322
40445
 
40323
40446
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js
@@ -40339,13 +40462,13 @@ var levelToTag = {
40339
40462
  };
40340
40463
  var FALLBACK_LEVEL = 1;
40341
40464
  var Heading = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) => {
40342
- const { seoMode } = React173.useContext(RicosViewerContext);
40465
+ const { seoMode, plugins } = React173.useContext(RicosViewerContext);
40343
40466
  const { textAlignment: parentAlignment } = React173.useContext(RicosAlignmentContext);
40344
40467
  const { parentNode } = React173.useContext(RicosNodeContext);
40345
40468
  const directionHandled = React173.useContext(RicosDirectionHandledContext);
40346
40469
  const { level = 0, textStyle, indentation = 0, renderedLevel } = node.headingData || {};
40347
40470
  const tagLevel = renderedLevel && renderedLevel >= 1 && renderedLevel <= 6 ? renderedLevel : level;
40348
- const { textAlignment, lineHeight } = textStyle || {};
40471
+ const { textAlignment, lineHeight, fontSize } = textStyle || {};
40349
40472
  const headingClassName = (0, import_classnames8.default)(
40350
40473
  heading_default[levelToClassName[level] ?? levelToClassName[FALLBACK_LEVEL]],
40351
40474
  alignment_default[textAlignment || parentAlignment || TextStyle_TextAlignment2.AUTO],
@@ -40358,8 +40481,12 @@ var Heading = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) =>
40358
40481
  );
40359
40482
  const Tag3 = levelToTag[tagLevel] ?? levelToTag[FALLBACK_LEVEL];
40360
40483
  const nodeStyle = node.style ? { ...node.style } : {};
40361
- lineHeight && (nodeStyle.lineHeight = normalizeLineHeight(lineHeight));
40362
40484
  const isEmpty5 = !node.nodes?.length;
40485
+ lineHeight && (nodeStyle.lineHeight = normalizeLineHeight(lineHeight));
40486
+ isEmpty5 && fontSize?.value && (nodeStyle.fontSize = formatFontSize(
40487
+ fontSize,
40488
+ plugins?.find((plugin) => plugin.type === "fontSize")
40489
+ ));
40363
40490
  const doesEndWithSoftLine = !isEmpty5 && node.nodes?.[node.nodes.length - 1]?.textData?.text?.slice(-1) === "\n";
40364
40491
  const Content = isEmpty5 ? /* @__PURE__ */ React173__default.default.createElement("br", { role: "presentation" }) : /* @__PURE__ */ React173__default.default.createElement(RicosNodeContextProvider, { parentNode: node, parentIndex: nodeIndex }, /* @__PURE__ */ React173__default.default.createElement(RicosNodesRenderer2, { key: `children-${node.id}`, nodes: node.nodes ?? [] }));
40365
40492
  return /* @__PURE__ */ React173__default.default.createElement(Anchorable, { nodeId: node.id }, /* @__PURE__ */ React173__default.default.createElement(
@@ -40394,16 +40521,16 @@ init_ricos_context2();
40394
40521
 
40395
40522
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js
40396
40523
  var layout_default = {
40397
- "sectionDividerClip": "xsKBF",
40398
- "sectionDivider": "E14V6",
40399
- "sectionDividerTop": "RO-eQ",
40400
- "sectionDividerBottom": "_9C42s",
40401
- "layoutWrapper": "_4Hh47",
40402
- "layout": "_9B7Yj",
40403
- "designOnLayout": "UBc-H",
40404
- "designOnCell": "IjJwV",
40405
- "cell": "eRq-8",
40406
- "mobile": "-T9d0"
40524
+ "sectionDividerClip": "Ctmnf",
40525
+ "sectionDivider": "GQej4",
40526
+ "sectionDividerTop": "A4R-C",
40527
+ "sectionDividerBottom": "MSu7P",
40528
+ "layoutWrapper": "M9IqF",
40529
+ "layout": "f-cAa",
40530
+ "designOnLayout": "_7x8la",
40531
+ "designOnCell": "xmz5-",
40532
+ "cell": "FUDyb",
40533
+ "mobile": "AzqtI"
40407
40534
  };
40408
40535
 
40409
40536
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/cell.js
@@ -40741,20 +40868,6 @@ var getDividerLayers = (divider) => {
40741
40868
  init_ricos_context2();
40742
40869
  init_viewer_context();
40743
40870
 
40744
- // ../../node_modules/@wix/ricos/dist/es/_shared/build-responsive-css.js
40745
- var VIEWPORT_ROOT = "[data-ricos-responsive=viewport]";
40746
- var buildResponsiveCss = (query, rules) => {
40747
- const scoped = (scope) => rules.map(({ selector, declarations }) => `${scope(selector)} {${declarations}}`).join("\n");
40748
- return `
40749
- @container ${query} {
40750
- ${scoped((selector) => `${selector}:where(:not(${VIEWPORT_ROOT} *))`)}
40751
- }
40752
- @media ${query} {
40753
- ${scoped((selector) => `:where(${VIEWPORT_ROOT}) ${selector}`)}
40754
- }
40755
- `;
40756
- };
40757
-
40758
40871
  // ../../node_modules/@wix/ricos/dist/es/_shared/is-edge-banner.js
40759
40872
  init_next_schema();
40760
40873
  var isEdgeBanner = (banner) => !!banner && banner.position !== LayoutData_BannerPosition.PAYWALL;
@@ -40771,9 +40884,9 @@ function resolveBackwardCompatOverlay(color, imageOpacity, opacityMax) {
40771
40884
  init_resolve_css_color();
40772
40885
 
40773
40886
  // ../../node_modules/@wix/ricos/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js
40774
- var styleDataHash2 = "aa012177";
40887
+ var styleDataHash2 = "6e3f55a7";
40775
40888
  var injectCss2 = (() => {
40776
- var css = `.lueNP{--shimmer-base-color:#f5f5f5;background-color:var(--shimmer-base-color);inset:0;pointer-events:none;position:absolute;z-index:1}._8VSta{inset:0;overflow:hidden;position:absolute}._8VSta:after{animation:EaLZo 1s linear infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent 50%);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes EaLZo{to{transform:translateX(100%)}}`;
40889
+ var css = `.w3T5e{--shimmer-base-color:#f5f5f5;background-color:var(--shimmer-base-color);inset:0;pointer-events:none;position:absolute;z-index:1}.yLX3t{inset:0;overflow:hidden;position:absolute}.yLX3t:after{animation:Z4EbH 1s linear infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent 50%);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes Z4EbH{to{transform:translateX(100%)}}`;
40777
40890
  typeof process !== "undefined" && process.env && false;
40778
40891
  if (typeof document === "undefined") {
40779
40892
  return;
@@ -40794,8 +40907,8 @@ var injectCss2 = (() => {
40794
40907
  });
40795
40908
  injectCss2();
40796
40909
  var layout_background_loader_default = {
40797
- "overlay": "lueNP",
40798
- "shimmer": "_8VSta"};
40910
+ "overlay": "w3T5e",
40911
+ "shimmer": "yLX3t"};
40799
40912
 
40800
40913
  // ../../node_modules/@wix/ricos/dist/es/ui-components/layout-background-loader/layout-background-loader.js
40801
40914
  var DEFAULT_BACKGROUND_COLOR = "#f5f5f5";
@@ -41106,11 +41219,11 @@ init_v1();
41106
41219
 
41107
41220
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js
41108
41221
  var lists_default = {
41109
- "orderedlist": "EE2bJ",
41110
- "bulletedlist": "CS-Er",
41111
- "listItem": "YtFdT",
41112
- "checkboxList": "_7HDni",
41113
- "checkboxInput": "G1Ecr"
41222
+ "orderedlist": "_7AJpk",
41223
+ "bulletedlist": "hYiwr",
41224
+ "listItem": "VfvfH",
41225
+ "checkboxList": "oaXQ0",
41226
+ "checkboxInput": "zZn12"
41114
41227
  };
41115
41228
 
41116
41229
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/bulleted-list.js
@@ -41166,6 +41279,10 @@ init_ricos_context2();
41166
41279
  init_v1();
41167
41280
  init_ricos_types();
41168
41281
 
41282
+ // ../../node_modules/@wix/ricos/dist/es/_shared/get-px-font-size.js
41283
+ init_next_schema();
41284
+ var getPxFontSize = (fontSize) => fontSize?.value && (fontSize.unit ?? FontSizeData_fontType.PX) === FontSizeData_fontType.PX ? Number(fontSize.value) : void 0;
41285
+
41169
41286
  // ../../node_modules/@wix/ricos/dist/es/_shared/list-checkbox/get-block-default-font-size.js
41170
41287
  init_theme_constants();
41171
41288
  var getBlockDefaultFontSize = (headingLevel) => parseFloat(
@@ -41209,7 +41326,7 @@ var ListItem = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) =>
41209
41326
  const { visibleIndentation } = React173.useContext(VisibleIndentationContext);
41210
41327
  const firstChild = node.nodes[0];
41211
41328
  const dataProperty = `${firstChild?.type?.toLowerCase()}Data`;
41212
- const { textAlignment } = firstChild?.[dataProperty]?.textStyle || {};
41329
+ const { textAlignment, fontSize: blockFontSize } = firstChild?.[dataProperty]?.textStyle || {};
41213
41330
  const { textAlignment: parentAlignment } = React173.useContext(RicosAlignmentContext);
41214
41331
  const finalAlignment = textAlignment && textAlignment !== TextStyle_TextAlignment2.AUTO ? textAlignment : parentAlignment;
41215
41332
  const listStylePosition = textAlignment && textAlignment === TextStyle_TextAlignment2.CENTER;
@@ -41224,9 +41341,12 @@ var ListItem = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) =>
41224
41341
  lists_default.listItem,
41225
41342
  isPaywallSeo(seoMode) && getPaywallSeoClass(seoMode?.paywall || {}, nodeIndex + parentIndex)
41226
41343
  );
41227
- const childFontSize = firstChild?.nodes?.[0]?.textData?.decorations?.find(
41228
- (decoration) => decoration.type === Decoration_Type2.FONT_SIZE
41229
- )?.fontSizeData?.value;
41344
+ const [firstText] = firstChild?.nodes ?? [];
41345
+ const childFontSize = getPxFontSize(
41346
+ firstText ? firstText.textData?.decorations?.find(
41347
+ (decoration) => decoration.type === Decoration_Type2.FONT_SIZE
41348
+ )?.fontSizeData : blockFontSize
41349
+ );
41230
41350
  const shouldFitChildFont = !!childFontSize && childFontSize < getBlockDefaultFontSize(headingLevel || void 0);
41231
41351
  const animationDomAttrs = hasPlugin(ANIMATION_TYPE, plugins) ? getAnimationDomAttrs(node) : {};
41232
41352
  return /* @__PURE__ */ React173__default.default.createElement(
@@ -41298,8 +41418,8 @@ init_v1();
41298
41418
 
41299
41419
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js
41300
41420
  var paragraph_default = {
41301
- "text": "lkQt0 _1nK5N",
41302
- "child": "_4K-BC"
41421
+ "text": "FC-4G VkchC",
41422
+ "child": "C-9s7"
41303
41423
  };
41304
41424
 
41305
41425
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js
@@ -41309,12 +41429,12 @@ var Paragraph = ({
41309
41429
  RicosNodesRenderer: RicosNodesRenderer2,
41310
41430
  shouldParagraphApplyTextStyle
41311
41431
  }) => {
41312
- const { seoMode } = React173.useContext(RicosViewerContext);
41432
+ const { seoMode, plugins } = React173.useContext(RicosViewerContext);
41313
41433
  const { textAlignment: parentAlignment } = React173.useContext(RicosAlignmentContext);
41314
41434
  const { parentNode } = React173.useContext(RicosNodeContext);
41315
41435
  const directionHandled = React173.useContext(RicosDirectionHandledContext);
41316
41436
  const { indentation = 0 } = node.paragraphData || {};
41317
- const { textAlignment, lineHeight } = node.paragraphData?.textStyle || {};
41437
+ const { textAlignment, lineHeight, fontSize } = node.paragraphData?.textStyle || {};
41318
41438
  const finalParagraphAlignment = textAlignment === TextStyle_TextAlignment2.AUTO || !textAlignment ? parentAlignment : textAlignment;
41319
41439
  const paragraphClassName = (0, import_classnames14.default)(
41320
41440
  shouldParagraphApplyTextStyle && paragraph_default.text,
@@ -41331,7 +41451,14 @@ var Paragraph = ({
41331
41451
  const Tag3 = isEmpty5 || !shouldParagraphApplyTextStyle ? "div" : "p";
41332
41452
  const nodeStyle = {
41333
41453
  ...node.style,
41334
- ...lineHeight && { lineHeight: normalizeLineHeight(lineHeight) }
41454
+ ...lineHeight && { lineHeight: normalizeLineHeight(lineHeight) },
41455
+ // Text renders at its own sizes, so only an empty block takes its own
41456
+ ...isEmpty5 && fontSize?.value && {
41457
+ fontSize: formatFontSize(
41458
+ fontSize,
41459
+ plugins?.find((plugin) => plugin.type === "fontSize")
41460
+ )
41461
+ }
41335
41462
  };
41336
41463
  const Content = isEmpty5 ? /* @__PURE__ */ React173__default.default.createElement("br", { role: "presentation" }) : /* @__PURE__ */ React173__default.default.createElement(RicosNodeContextProvider, { parentNode: node, parentIndex: nodeIndex }, /* @__PURE__ */ React173__default.default.createElement(RicosNodesRenderer2, { key: `children-${node.id}`, nodes: node.nodes ?? [] }));
41337
41464
  return /* @__PURE__ */ React173__default.default.createElement(Anchorable, { nodeId: node.id }, /* @__PURE__ */ React173__default.default.createElement(
@@ -41386,6 +41513,35 @@ var renderers = {
41386
41513
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/get-plugin-renderers.js
41387
41514
  init_v1();
41388
41515
 
41516
+ // ../../node_modules/@wix/ricos/dist/es/ricos-content/fp-utils.js
41517
+ init_Array();
41518
+
41519
+ // ../../node_modules/@wix/ricos/dist/es/ricos-content/fp-utils.js
41520
+ init_Either();
41521
+ init_function();
41522
+ init_Monoid();
41523
+ init_Option();
41524
+ init_Semigroup();
41525
+ var firstRight2 = (candidate, defaultT, resolvers) => {
41526
+ const firstRightSemi = getSemigroup3(first());
41527
+ const concatFirstRightSemi = concatAll2(firstRightSemi)(left2(defaultT));
41528
+ return pipe(
41529
+ concatFirstRightSemi(
41530
+ pipe(
41531
+ resolvers,
41532
+ map(
41533
+ (r3) => pipe(
41534
+ candidate,
41535
+ fromPredicate2(r3[0], () => defaultT),
41536
+ map3(r3[1])
41537
+ )
41538
+ )
41539
+ )
41540
+ ),
41541
+ fold(identity, identity)
41542
+ );
41543
+ };
41544
+
41389
41545
  // ../../node_modules/@wix/ricos/dist/es/ricos-content/converters/draft/toDraft/convert-struct-to-json.js
41390
41546
  init_Array();
41391
41547
  init_function();
@@ -41393,7 +41549,6 @@ init_Monoid();
41393
41549
  init_Record();
41394
41550
  init_Semigroup();
41395
41551
  init_Tuple();
41396
- init_fp_utils();
41397
41552
 
41398
41553
  // ../../node_modules/@wix/ricos/dist/es/ricos-content/converters/draft/struct-refined-types.js
41399
41554
  init_v1();
@@ -41431,9 +41586,9 @@ init_v1();
41431
41586
  __toESM(require_classnames(), 1);
41432
41587
 
41433
41588
  // ../../node_modules/@wix/ricos/dist/es/wix-rich-content-common/statics/styles/general-scss.js
41434
- var styleDataHash3 = "b1ce36bb";
41589
+ var styleDataHash3 = "9804e71d";
41435
41590
  var injectCss3 = (() => {
41436
- var css = `.p2ebN{margin-left:0;margin-right:auto;z-index:1}.p2ebN:not(.M6uvN){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.p2ebN:not(.M6uvN){float:none;margin-right:auto}}}@container (width < 480px){.p2ebN:not(.M6uvN):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-right:auto}}@media (width < 480px){.p2ebN:not(.M6uvN):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .p2ebN:not(.M6uvN){float:none;margin-right:auto}}.fwiIi{margin-left:auto;margin-right:0;z-index:1}.fwiIi:not(.M6uvN){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.fwiIi:not(.M6uvN){float:none;margin-left:auto}}}@container (width < 480px){.fwiIi:not(.M6uvN):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-left:auto}}@media (width < 480px){.fwiIi:not(.M6uvN):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .fwiIi:not(.M6uvN){float:none;margin-left:auto}}.GI6z5{clear:both;display:block}.GI6z5:not(.JE166){margin-left:auto;margin-right:auto;max-width:100%}.JE166,.M6uvN{width:100%}.VgxPr .JE166,.VgxPr .M6uvN{margin:0 -8px;width:auto}.wUNHA{width:fit-content}._6TNvD{margin-left:auto;margin-right:auto;max-width:100%}.BFJZa{width:min(350px,100%)!important}.VgxPr .BFJZa{width:50%}.eKE21{margin-left:auto;margin-right:auto}.VgxPr .eKE21{width:150px}.G4bof{display:flex}`;
41591
+ var css = `.ONLrB{margin-left:0;margin-right:auto;z-index:1}.ONLrB:not(.BvCRw){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.ONLrB:not(.BvCRw){float:none;margin-right:auto}}}@container (width < 480px){.ONLrB:not(.BvCRw):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-right:auto}}@media (width < 480px){.ONLrB:not(.BvCRw):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .ONLrB:not(.BvCRw){float:none;margin-right:auto}}._5pfmQ{margin-left:auto;margin-right:0;z-index:1}._5pfmQ:not(.BvCRw){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){._5pfmQ:not(.BvCRw){float:none;margin-left:auto}}}@container (width < 480px){._5pfmQ:not(.BvCRw):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-left:auto}}@media (width < 480px){._5pfmQ:not(.BvCRw):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._5pfmQ:not(.BvCRw){float:none;margin-left:auto}}.pQvEI{clear:both;display:block}.pQvEI:not(.Ha4A4){margin-left:auto;margin-right:auto;max-width:100%}.BvCRw,.Ha4A4{width:100%}.BMUqP .BvCRw,.BMUqP .Ha4A4{margin:0 -8px;width:auto}.LOR-Z{width:fit-content}.LS-Dd{margin-left:auto;margin-right:auto;max-width:100%}.uJp4f{width:min(350px,100%)!important}.BMUqP .uJp4f{width:50%}.F9COf{margin-left:auto;margin-right:auto}.BMUqP .F9COf{width:150px}.xKUKw{display:flex}`;
41437
41592
  typeof process !== "undefined" && process.env && false;
41438
41593
  if (typeof document === "undefined") {
41439
41594
  return;
@@ -41455,9 +41610,9 @@ var injectCss3 = (() => {
41455
41610
  injectCss3();
41456
41611
 
41457
41612
  // ../../node_modules/@wix/ricos/dist/es/editor-common/statics/styles/general-scss.js
41458
- var styleDataHash4 = "913ea73b";
41613
+ var styleDataHash4 = "afcc38d8";
41459
41614
  var injectCss4 = (() => {
41460
- var css = `.FcLic,._5FzYe,button{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._3lA4E{display:flex}.dR7Ru:hover{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.o-J3X{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.CR-A9 .o-J3X{box-shadow:none!important}[data-hook^=figure-][data-cropping] .o-J3X{box-shadow:none!important}.CR-A9 :is([data-resize-handle],[data-hook=image-corner-radius-handle],[data-hook=image-corner-radius-label]){display:none!important}.f-a-3{cursor:move;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.f-a-3._-37WI{pointer-events:none}.EdZMm ::selection{background:transparent}.TSADE{display:none}.FcLic{position:relative}.TLHqS{max-width:100%}.Z4pZ9{color:#333;text-decoration:none}.EPlfK{display:block}.Ca1kk{position:relative}.Ec5X3{margin-left:-20px;margin-right:-20px;overflow-x:auto;overflow-y:hidden}.Ec5X3.S72dN::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}.Ec5X3.ejePb::-webkit-scrollbar-thumb{background-color:transparent}.BGkCi{max-width:max-content!important;min-width:100%}.Ec5X3::-webkit-scrollbar{-webkit-appearance:none}.Ec5X3::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px}.Ec5X3::-webkit-scrollbar:horizontal{height:10px}`;
41615
+ var css = `.ajbVf,.jY8Ia,button{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.TBUth{display:flex}.A2Wyt:hover{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.FENCw{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.JkzRx .FENCw{box-shadow:none!important}[data-hook^=figure-][data-cropping] .FENCw{box-shadow:none!important}.JkzRx :is([data-resize-handle],[data-hook=image-corner-radius-handle],[data-hook=image-corner-radius-label]){display:none!important}.hSkdU{cursor:move;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.hSkdU.jfonJ{pointer-events:none}.O9bMG ::selection{background:transparent}.F9yMx{display:none}.jY8Ia{position:relative}.VDQg6{max-width:100%}._6rjck{color:#333;text-decoration:none}.ksBqU{display:block}.x7qqW{position:relative}.nQ9S4{margin-left:-20px;margin-right:-20px;overflow-x:auto;overflow-y:hidden}.nQ9S4.tLBQD::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}.nQ9S4.HO6Ux::-webkit-scrollbar-thumb{background-color:transparent}.r8neN{max-width:max-content!important;min-width:100%}.nQ9S4::-webkit-scrollbar{-webkit-appearance:none}.nQ9S4::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px}.nQ9S4::-webkit-scrollbar:horizontal{height:10px}`;
41461
41616
  typeof process !== "undefined" && process.env && false;
41462
41617
  if (typeof document === "undefined") {
41463
41618
  return;
@@ -41487,21 +41642,21 @@ var getContainerData = (node) => {
41487
41642
 
41488
41643
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js
41489
41644
  var plugin_default = {
41490
- "alignLeft": "dYRLU",
41491
- "textWrapNowrap": "kKRji",
41492
- "alignRight": "I-U2C",
41493
- "alignCenter": "_9Zmc2",
41494
- "sizeFullWidth": "F1xwv",
41495
- "renderedInTable": "km4zW",
41496
- "sizeOriginal": "JVc55",
41497
- "sizeContent": "m7Jum",
41498
- "sizeSmall": "RehgI",
41499
- "sizeSmallCenter": "FeEFR",
41500
- "flex": "GcKDD",
41501
- "atomic": "p2aJX",
41502
- "embed": "q5cSc",
41503
- "horizontalScrollbar": "KPA3u",
41504
- "pluginContainerMobile": "qms9d"
41645
+ "alignLeft": "OkSYX",
41646
+ "textWrapNowrap": "BAaIL",
41647
+ "alignRight": "EtvtD",
41648
+ "alignCenter": "sPB6L",
41649
+ "sizeFullWidth": "_2QFDh",
41650
+ "renderedInTable": "wy84Y",
41651
+ "sizeOriginal": "l9igK",
41652
+ "sizeContent": "f2SBf",
41653
+ "sizeSmall": "_165Xx",
41654
+ "sizeSmallCenter": "ZS-rM",
41655
+ "flex": "eF33-",
41656
+ "atomic": "FuJrB",
41657
+ "embed": "_0qHTY",
41658
+ "horizontalScrollbar": "bPpW-",
41659
+ "pluginContainerMobile": "M-Uze"
41505
41660
  };
41506
41661
 
41507
41662
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/get-class-names.js
@@ -41599,8 +41754,8 @@ init_wix_rich_content_common();
41599
41754
 
41600
41755
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js
41601
41756
  var link_viewer_wrapper_default = {
41602
- "anchor": "tl2sN",
41603
- "link": "xBo10"
41757
+ "anchor": "q9xF5",
41758
+ "link": "FoMBc"
41604
41759
  };
41605
41760
 
41606
41761
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper.js
@@ -41952,9 +42107,9 @@ init_v1();
41952
42107
  var import_classnames19 = __toESM(require_classnames(), 1);
41953
42108
 
41954
42109
  // ../../node_modules/@wix/ricos/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js
41955
- var styleDataHash5 = "72c85e2a";
42110
+ var styleDataHash5 = "ab33b243";
41956
42111
  var injectCss5 = (() => {
41957
- var css = `.NBIfU,.Z-Y22{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.NBIfU:not(._89pVJ):hover .qsJC8,.Z-Y22:not(._89pVJ):hover .qsJC8{opacity:1}.NBIfU._89pVJ,._89pVJ.Z-Y22{cursor:auto;height:0;pointer-events:none}.Z-Y22{cursor:none;pointer-events:none}.QQwLC .qsJC8{opacity:1}.qsJC8{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.qsJC8:after,.qsJC8:before{background-color:#116dff;content:"";height:3px;left:0;opacity:.3;position:absolute;width:100%}.qsJC8:before{top:-3px}.qsJC8:after{bottom:-3px}.HTm-M{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}.i8d2F{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){.i8d2F{display:block}}}@container (width < 480px){.i8d2F:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){.i8d2F:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .i8d2F{display:block}}.iqkFn{margin-top:14px}`;
42112
+ var css = `.YX9Tc,.gf-ne{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.YX9Tc:not(.jpC8W):hover .H-M6-,.gf-ne:not(.jpC8W):hover .H-M6-{opacity:1}.YX9Tc.jpC8W,.jpC8W.gf-ne{cursor:auto;height:0;pointer-events:none}.gf-ne{cursor:none;pointer-events:none}.pFjDE .H-M6-{opacity:1}.H-M6-{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.H-M6-:after,.H-M6-:before{background-color:#116dff;content:"";height:3px;left:0;opacity:.3;position:absolute;width:100%}.H-M6-:before{top:-3px}.H-M6-:after{bottom:-3px}._3Ze55{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}._9VcPI{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){._9VcPI{display:block}}}@container (width < 480px){._9VcPI:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){._9VcPI:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._9VcPI{display:block}}.PBvfR{margin-top:14px}`;
41958
42113
  typeof process !== "undefined" && process.env && false;
41959
42114
  if (typeof document === "undefined") {
41960
42115
  return;
@@ -41975,9 +42130,9 @@ var injectCss5 = (() => {
41975
42130
  });
41976
42131
  injectCss5();
41977
42132
  var gap_spacer_styles_default = {
41978
- "gapSpacerViewer": "Z-Y22",
41979
- "collapsed": "_89pVJ",
41980
- "betweenFloated": "i8d2F"};
42133
+ "gapSpacerViewer": "gf-ne",
42134
+ "collapsed": "jpC8W",
42135
+ "betweenFloated": "_9VcPI"};
41981
42136
 
41982
42137
  // ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/components/gap-spacer.js
41983
42138
  var GapSpacer = ({
@@ -42782,7 +42937,7 @@ var RicosViewerNext = class extends React173.Component {
42782
42937
  console.error({ error, errorInfo });
42783
42938
  }
42784
42939
  componentDidMount() {
42785
- addDevToolsClickListener(
42940
+ this.removeDevToolsClickListener = addDevToolsClickListener(
42786
42941
  this.viewerRef.current,
42787
42942
  () => this.setState({ debugInvokedWithMouse: true })
42788
42943
  );
@@ -42790,6 +42945,9 @@ var RicosViewerNext = class extends React173.Component {
42790
42945
  this.props.onLoad?.();
42791
42946
  }
42792
42947
  }
42948
+ componentWillUnmount() {
42949
+ this.removeDevToolsClickListener?.();
42950
+ }
42793
42951
  render() {
42794
42952
  const { seoSettings, mediaSettings, content, debugMode, isPrint } = this.props;
42795
42953
  const { TextSelectionToolbar: TextSelectionToolbar2 } = this.state;
@@ -43131,6 +43289,7 @@ var ForcedState = /* @__PURE__ */ (function(ForcedState2) {
43131
43289
  ForcedState2["INPUT_FIELDS_FOCUS"] = "INPUT_FIELDS_FOCUS";
43132
43290
  ForcedState2["INPUT_FIELDS_ERROR"] = "INPUT_FIELDS_ERROR";
43133
43291
  ForcedState2["SUCCESS_MESSAGE"] = "SUCCESS_MESSAGE";
43292
+ ForcedState2["FORM_CLOSED"] = "FORM_CLOSED";
43134
43293
  ForcedState2["HIDDEN_FIELDS"] = "HIDDEN_FIELDS";
43135
43294
  return ForcedState2;
43136
43295
  })({});
@@ -56982,15 +57141,15 @@ __export(es_exports, {
56982
57141
  SubdivisionType: () => SubdivisionType,
56983
57142
  getPlace: () => getPlace4
56984
57143
  });
56985
- init_transform_error();
57144
+ init_transform_error2();
56986
57145
  init_rename_all_nested_keys();
56987
- init_rest_modules2();
57146
+ init_rest_modules3();
56988
57147
  init_float();
56989
57148
  init_transform_paths();
56990
- init_rest_modules2();
57149
+ init_rest_modules3();
56991
57150
 
56992
57151
  // ../../node_modules/@wix/sdk-runtime/build/transformations/address.js
56993
- init_utils4();
57152
+ init_utils6();
56994
57153
  function transformSDKAddressToRESTAddress(payload) {
56995
57154
  return payload && removeUndefinedKeys({
56996
57155
  city: payload.city,
@@ -57034,7 +57193,7 @@ function transformRESTAddressToSDKAddress(payload) {
57034
57193
 
57035
57194
  // ../../node_modules/@wix/auto_sdk_atlas_places/build/es/index.mjs
57036
57195
  init_transform_paths();
57037
- init_rest_modules2();
57196
+ init_rest_modules3();
57038
57197
  var TRANSFORM_PATHS_0 = [
57039
57198
  { path: "place.address.geocode.latitude" },
57040
57199
  { path: "place.address.geocode.longitude" }
@@ -57215,7 +57374,7 @@ async function getPlace2(searchId, options) {
57215
57374
  ])
57216
57375
  );
57217
57376
  } catch (err) {
57218
- const transformedError = transformError(
57377
+ const transformedError = transformError2(
57219
57378
  err,
57220
57379
  {
57221
57380
  spreadPathsToArguments: {},
@@ -57247,12 +57406,12 @@ __export(es_exports2, {
57247
57406
  FilterType: () => FilterType,
57248
57407
  predict: () => predict4
57249
57408
  });
57250
- init_transform_error();
57409
+ init_transform_error2();
57251
57410
  init_rename_all_nested_keys();
57252
57411
  init_float();
57253
57412
  init_transform_paths();
57254
- init_rest_modules2();
57255
- init_rest_modules2();
57413
+ init_rest_modules3();
57414
+ init_rest_modules3();
57256
57415
  var TRANSFORM_PATHS_03 = [
57257
57416
  { path: "origin.latitude" },
57258
57417
  { path: "origin.longitude" },
@@ -57426,7 +57585,7 @@ async function predict2(input, options) {
57426
57585
  sideEffects?.onSuccess?.(result2);
57427
57586
  return renameKeysFromRESTResponseToSDKResponse(result2.data);
57428
57587
  } catch (err) {
57429
- const transformedError = transformError(
57588
+ const transformedError = transformError2(
57430
57589
  err,
57431
57590
  {
57432
57591
  spreadPathsToArguments: {},
@@ -57464,14 +57623,14 @@ __export(es_exports3, {
57464
57623
  SubdivisionType: () => SubdivisionType2,
57465
57624
  search: () => search4
57466
57625
  });
57467
- init_transform_error();
57626
+ init_transform_error2();
57468
57627
  init_rename_all_nested_keys();
57469
- init_rest_modules2();
57628
+ init_rest_modules3();
57470
57629
  init_float();
57471
57630
  init_transform_paths();
57472
- init_rest_modules2();
57631
+ init_rest_modules3();
57473
57632
  init_transform_paths();
57474
- init_rest_modules2();
57633
+ init_rest_modules3();
57475
57634
  var TRANSFORM_PATHS_04 = [
57476
57635
  { path: "searchResults.address.geocode.latitude" },
57477
57636
  { path: "searchResults.address.geocode.longitude" }
@@ -57677,7 +57836,7 @@ async function search2(options) {
57677
57836
  ])
57678
57837
  );
57679
57838
  } catch (err) {
57680
- const transformedError = transformError(
57839
+ const transformedError = transformError2(
57681
57840
  err,
57682
57841
  {
57683
57842
  spreadPathsToArguments: {},