@wix/himalaya-cli 0.1387.0 → 0.1389.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.
Files changed (149) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/commerce-contract.d.ts +24 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/commerce-core.d.ts +3 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/index.d.ts +1 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +66 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/index.d.ts +185 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +57 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +57 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +324 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  10. package/dist/cli.mjs +10 -5
  11. package/guides/iap-screen-adoption.md +53 -1
  12. package/guides/importable-sdks.md +1 -0
  13. package/guides/sdk-reference.json +261 -2
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/dev/index.ts +193 -1
  16. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +1 -1
  17. package/templates/beauty-salon/tier5-src/_shared/iap-worker.ts +84 -3
  18. package/templates/beauty-salon/tier5-src/_shared/video-caption.ts +21 -0
  19. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +31 -1
  20. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +36 -1
  21. package/templates/beauty-salon-owner/config.ts +11 -0
  22. package/templates/beauty-salon-owner/dev/index.ts +540 -0
  23. package/templates/beauty-salon-owner/himalaya.content.json +6 -0
  24. package/templates/beauty-salon-owner/platforms.json +2 -1
  25. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +1 -1
  26. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  27. package/templates/branded-lite/dev/index.ts +1212 -54
  28. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +1 -1
  29. package/templates/branded-lite/tier5-src/_shared/iap-worker.ts +84 -3
  30. package/templates/branded-lite/tier5-src/_shared/video-caption.ts +21 -0
  31. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +31 -1
  32. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +23 -32
  33. package/templates/branded-lite/tier5-src/himi-branded-lite-videos/index.ts +44 -38
  34. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +36 -1
  35. package/templates/community-club/dev/index.ts +193 -1
  36. package/templates/community-club/tier5-src/_shared/collection-contract.ts +1 -1
  37. package/templates/community-club/tier5-src/_shared/iap-worker.ts +84 -3
  38. package/templates/community-club/tier5-src/_shared/video-caption.ts +21 -0
  39. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +31 -1
  40. package/templates/community-club/tier5-src/himi-store-account/index.ts +36 -1
  41. package/templates/community-club-owner/config.ts +11 -0
  42. package/templates/community-club-owner/dev/index.ts +540 -0
  43. package/templates/community-club-owner/himalaya.content.json +6 -0
  44. package/templates/community-club-owner/platforms.json +2 -1
  45. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +1 -1
  46. package/templates/community-club-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  47. package/templates/events-meetups/dev/index.ts +193 -1
  48. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +1 -1
  49. package/templates/events-meetups/tier5-src/_shared/iap-worker.ts +84 -3
  50. package/templates/events-meetups/tier5-src/_shared/video-caption.ts +21 -0
  51. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +31 -1
  52. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +36 -1
  53. package/templates/events-meetups-owner/config.ts +11 -0
  54. package/templates/events-meetups-owner/dev/index.ts +540 -0
  55. package/templates/events-meetups-owner/himalaya.content.json +6 -0
  56. package/templates/events-meetups-owner/platforms.json +2 -1
  57. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +1 -1
  58. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  59. package/templates/gym-fitness/dev/index.ts +193 -1
  60. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +1 -1
  61. package/templates/gym-fitness/tier5-src/_shared/iap-worker.ts +84 -3
  62. package/templates/gym-fitness/tier5-src/_shared/video-caption.ts +21 -0
  63. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +31 -1
  64. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +36 -1
  65. package/templates/gym-fitness-owner/config.ts +11 -0
  66. package/templates/gym-fitness-owner/dev/index.ts +540 -0
  67. package/templates/gym-fitness-owner/himalaya.content.json +6 -0
  68. package/templates/gym-fitness-owner/platforms.json +2 -1
  69. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +1 -1
  70. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  71. package/templates/nonprofit-cause/dev/index.ts +193 -1
  72. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +1 -1
  73. package/templates/nonprofit-cause/tier5-src/_shared/iap-worker.ts +84 -3
  74. package/templates/nonprofit-cause/tier5-src/_shared/video-caption.ts +21 -0
  75. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +31 -1
  76. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +36 -1
  77. package/templates/nonprofit-cause-owner/config.ts +11 -0
  78. package/templates/nonprofit-cause-owner/dev/index.ts +540 -0
  79. package/templates/nonprofit-cause-owner/himalaya.content.json +6 -0
  80. package/templates/nonprofit-cause-owner/platforms.json +2 -1
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +1 -1
  82. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  83. package/templates/owner-lite/config.ts +11 -0
  84. package/templates/owner-lite/dev/index.ts +540 -0
  85. package/templates/owner-lite/himalaya.content.json +6 -0
  86. package/templates/owner-lite/platforms.json +2 -1
  87. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +1 -1
  88. package/templates/owner-lite/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  89. package/templates/podcast-creator/dev/index.ts +193 -1
  90. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +1 -1
  91. package/templates/podcast-creator/tier5-src/_shared/iap-worker.ts +84 -3
  92. package/templates/podcast-creator/tier5-src/_shared/video-caption.ts +21 -0
  93. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +31 -1
  94. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +36 -1
  95. package/templates/podcast-creator-owner/config.ts +11 -0
  96. package/templates/podcast-creator-owner/dev/index.ts +540 -0
  97. package/templates/podcast-creator-owner/himalaya.content.json +6 -0
  98. package/templates/podcast-creator-owner/platforms.json +2 -1
  99. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +1 -1
  100. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  101. package/templates/portfolio-creative/dev/index.ts +193 -1
  102. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +1 -1
  103. package/templates/portfolio-creative/tier5-src/_shared/iap-worker.ts +84 -3
  104. package/templates/portfolio-creative/tier5-src/_shared/video-caption.ts +21 -0
  105. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +31 -1
  106. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +36 -1
  107. package/templates/portfolio-creative-owner/config.ts +11 -0
  108. package/templates/portfolio-creative-owner/dev/index.ts +540 -0
  109. package/templates/portfolio-creative-owner/himalaya.content.json +6 -0
  110. package/templates/portfolio-creative-owner/platforms.json +2 -1
  111. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +1 -1
  112. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  113. package/templates/restaurant/dev/index.ts +193 -1
  114. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +1 -1
  115. package/templates/restaurant/tier5-src/_shared/iap-worker.ts +84 -3
  116. package/templates/restaurant/tier5-src/_shared/video-caption.ts +21 -0
  117. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +31 -1
  118. package/templates/restaurant/tier5-src/himi-store-account/index.ts +36 -1
  119. package/templates/restaurant-owner/config.ts +11 -0
  120. package/templates/restaurant-owner/dev/index.ts +540 -0
  121. package/templates/restaurant-owner/himalaya.content.json +6 -0
  122. package/templates/restaurant-owner/platforms.json +2 -1
  123. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +1 -1
  124. package/templates/restaurant-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  125. package/templates/retail-store/dev/index.ts +193 -1
  126. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +1 -1
  127. package/templates/retail-store/tier5-src/_shared/iap-worker.ts +84 -3
  128. package/templates/retail-store/tier5-src/_shared/video-caption.ts +21 -0
  129. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +31 -1
  130. package/templates/retail-store/tier5-src/himi-store-account/index.ts +36 -1
  131. package/templates/retail-store-owner/config.ts +11 -0
  132. package/templates/retail-store-owner/dev/index.ts +540 -0
  133. package/templates/retail-store-owner/himalaya.content.json +6 -0
  134. package/templates/retail-store-owner/platforms.json +2 -1
  135. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +1 -1
  136. package/templates/retail-store-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  137. package/templates/yoga-studio/dev/index.ts +193 -1
  138. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +1 -1
  139. package/templates/yoga-studio/tier5-src/_shared/iap-worker.ts +84 -3
  140. package/templates/yoga-studio/tier5-src/_shared/video-caption.ts +21 -0
  141. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +31 -1
  142. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +36 -1
  143. package/templates/yoga-studio-owner/config.ts +11 -0
  144. package/templates/yoga-studio-owner/dev/index.ts +540 -0
  145. package/templates/yoga-studio-owner/himalaya.content.json +6 -0
  146. package/templates/yoga-studio-owner/platforms.json +2 -1
  147. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +1 -1
  148. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-wrist/index.ts +350 -0
  149. package/templates/branded-lite/tier5-src/_shared/vod.ts +0 -71
@@ -2622,6 +2622,335 @@ const SCREENS = runtimeSetting({
2622
2622
  "pressFeedback": "scale",
2623
2623
  "haptic": "light"
2624
2624
  }
2625
+ },
2626
+ {
2627
+ "id": "himi_branded_home.videos_section",
2628
+ "body": {
2629
+ "package": "himalaya",
2630
+ "type": "VStack",
2631
+ "props": {
2632
+ "spacing": 10,
2633
+ "alignment": "leading",
2634
+ "children": [
2635
+ {
2636
+ "id": "",
2637
+ "body": {
2638
+ "package": "himalaya",
2639
+ "type": "VStack",
2640
+ "props": {
2641
+ "spacing": 3,
2642
+ "alignment": "leading",
2643
+ "children": [
2644
+ {
2645
+ "id": "",
2646
+ "body": {
2647
+ "package": "himalaya",
2648
+ "type": "Text",
2649
+ "props": {
2650
+ "text": "Videos",
2651
+ "style": "title3"
2652
+ }
2653
+ }
2654
+ },
2655
+ {
2656
+ "id": "",
2657
+ "body": {
2658
+ "package": "himalaya",
2659
+ "type": "Text",
2660
+ "props": {
2661
+ "text": "The latest from our channels",
2662
+ "style": "footnote",
2663
+ "color": "textSecondary"
2664
+ }
2665
+ }
2666
+ }
2667
+ ]
2668
+ }
2669
+ }
2670
+ },
2671
+ {
2672
+ "id": "himi_branded_home.video_rail",
2673
+ "body": {
2674
+ "package": "himalaya",
2675
+ "type": "Carousel",
2676
+ "props": {
2677
+ "itemsPath": "$service:himiBrandedHome.homeVideos",
2678
+ "items": [
2679
+ {
2680
+ "id": "",
2681
+ "body": {
2682
+ "package": "himalaya",
2683
+ "type": "VStack",
2684
+ "props": {
2685
+ "spacing": 8,
2686
+ "alignment": "leading",
2687
+ "children": [
2688
+ {
2689
+ "id": "",
2690
+ "body": {
2691
+ "package": "himalaya",
2692
+ "type": "ZStack",
2693
+ "props": {
2694
+ "alignment": "leading",
2695
+ "children": [
2696
+ {
2697
+ "id": "",
2698
+ "body": {
2699
+ "package": "himalaya",
2700
+ "type": "Image",
2701
+ "props": {
2702
+ "url": "$item.coverUrl",
2703
+ "fillWidth": true,
2704
+ "height": 158,
2705
+ "contentMode": "fill"
2706
+ }
2707
+ },
2708
+ "modifiers": {
2709
+ "accessibilityRole": "decorative",
2710
+ "hiddenPath": "$item.noCover"
2711
+ }
2712
+ },
2713
+ {
2714
+ "id": "",
2715
+ "body": {
2716
+ "package": "himalaya",
2717
+ "type": "ZStack",
2718
+ "props": {
2719
+ "alignment": "center",
2720
+ "children": [
2721
+ {
2722
+ "id": "",
2723
+ "body": {
2724
+ "package": "himalaya",
2725
+ "type": "Icon",
2726
+ "props": {
2727
+ "name": "play",
2728
+ "size": 28,
2729
+ "tint": "accentPrimary"
2730
+ }
2731
+ },
2732
+ "modifiers": {
2733
+ "accessibilityRole": "decorative"
2734
+ }
2735
+ }
2736
+ ]
2737
+ }
2738
+ },
2739
+ "modifiers": {
2740
+ "fillMaxWidth": true,
2741
+ "height": 158,
2742
+ "background": {
2743
+ "token": "accentSurface"
2744
+ },
2745
+ "hiddenPath": "$item.hasCover"
2746
+ }
2747
+ },
2748
+ {
2749
+ "id": "",
2750
+ "body": {
2751
+ "package": "himalaya",
2752
+ "type": "VStack",
2753
+ "props": {
2754
+ "spacing": 0,
2755
+ "alignment": "leading",
2756
+ "children": [
2757
+ {
2758
+ "id": "",
2759
+ "body": {
2760
+ "package": "himalaya",
2761
+ "type": "Spacer",
2762
+ "props": {}
2763
+ }
2764
+ },
2765
+ {
2766
+ "id": "",
2767
+ "body": {
2768
+ "package": "himalaya",
2769
+ "type": "HStack",
2770
+ "props": {
2771
+ "spacing": 8,
2772
+ "children": [
2773
+ {
2774
+ "id": "",
2775
+ "body": {
2776
+ "package": "himalaya",
2777
+ "type": "Icon",
2778
+ "props": {
2779
+ "name": "play",
2780
+ "size": 14,
2781
+ "tint": "textOnAccent"
2782
+ }
2783
+ },
2784
+ "modifiers": {
2785
+ "accessibilityRole": "decorative"
2786
+ }
2787
+ },
2788
+ {
2789
+ "id": "",
2790
+ "body": {
2791
+ "package": "himalaya",
2792
+ "type": "VStack",
2793
+ "props": {
2794
+ "spacing": 1,
2795
+ "alignment": "leading",
2796
+ "children": [
2797
+ {
2798
+ "id": "",
2799
+ "body": {
2800
+ "package": "himalaya",
2801
+ "type": "Text",
2802
+ "props": {
2803
+ "text": "$item.title",
2804
+ "style": "bodyEmphasis",
2805
+ "color": "textOnAccent",
2806
+ "maxLines": 1
2807
+ }
2808
+ }
2809
+ },
2810
+ {
2811
+ "id": "",
2812
+ "body": {
2813
+ "package": "himalaya",
2814
+ "type": "Text",
2815
+ "props": {
2816
+ "text": "$item.meta",
2817
+ "style": "caption",
2818
+ "color": "textOnAccent",
2819
+ "maxLines": 1,
2820
+ "collapseWhenEmpty": true
2821
+ }
2822
+ }
2823
+ }
2824
+ ]
2825
+ }
2826
+ }
2827
+ }
2828
+ ]
2829
+ }
2830
+ },
2831
+ "modifiers": {
2832
+ "background": {
2833
+ "token": "accentPrimary"
2834
+ },
2835
+ "cornerRadius": 10,
2836
+ "padding": {
2837
+ "leading": 10,
2838
+ "trailing": 12,
2839
+ "top": 6,
2840
+ "bottom": 6
2841
+ }
2842
+ }
2843
+ }
2844
+ ]
2845
+ }
2846
+ },
2847
+ "modifiers": {
2848
+ "height": 158,
2849
+ "fillMaxWidth": true,
2850
+ "padding": {
2851
+ "leading": 10,
2852
+ "trailing": 10,
2853
+ "bottom": 10
2854
+ },
2855
+ "hiddenPath": "$item.captionBelow"
2856
+ }
2857
+ }
2858
+ ]
2859
+ }
2860
+ },
2861
+ "modifiers": {
2862
+ "fillMaxWidth": true,
2863
+ "height": 158,
2864
+ "cornerRadius": 12
2865
+ }
2866
+ },
2867
+ {
2868
+ "id": "",
2869
+ "body": {
2870
+ "package": "himalaya",
2871
+ "type": "VStack",
2872
+ "props": {
2873
+ "spacing": 2,
2874
+ "alignment": "leading",
2875
+ "children": [
2876
+ {
2877
+ "id": "",
2878
+ "body": {
2879
+ "package": "himalaya",
2880
+ "type": "Text",
2881
+ "props": {
2882
+ "text": "$item.title",
2883
+ "style": "bodyEmphasis",
2884
+ "maxLines": 2
2885
+ }
2886
+ }
2887
+ },
2888
+ {
2889
+ "id": "",
2890
+ "body": {
2891
+ "package": "himalaya",
2892
+ "type": "Text",
2893
+ "props": {
2894
+ "text": "$item.meta",
2895
+ "style": "caption",
2896
+ "color": "textSecondary",
2897
+ "maxLines": 1,
2898
+ "collapseWhenEmpty": true
2899
+ }
2900
+ }
2901
+ }
2902
+ ]
2903
+ }
2904
+ },
2905
+ "modifiers": {
2906
+ "hiddenPath": "$item.captionOnImage"
2907
+ }
2908
+ }
2909
+ ]
2910
+ }
2911
+ },
2912
+ "modifiers": {
2913
+ "width": 280,
2914
+ "onTap": {
2915
+ "actionId": "himi.open",
2916
+ "params": {
2917
+ "screenId": "himi_video",
2918
+ "id": "$item.id",
2919
+ "channelId": "$item.channelId"
2920
+ }
2921
+ },
2922
+ "pressFeedback": "scale",
2923
+ "haptic": "light",
2924
+ "accessibilityLabel": "$item.accessibilityLabel"
2925
+ }
2926
+ }
2927
+ ]
2928
+ }
2929
+ }
2930
+ },
2931
+ {
2932
+ "id": "himi_branded_home.videos_all",
2933
+ "body": {
2934
+ "package": "himalaya",
2935
+ "type": "Button",
2936
+ "props": {
2937
+ "title": "See all videos",
2938
+ "style": "plain",
2939
+ "action": {
2940
+ "actionId": "himi.open",
2941
+ "params": {
2942
+ "screenId": "himi_videos"
2943
+ }
2944
+ }
2945
+ }
2946
+ }
2947
+ }
2948
+ ]
2949
+ }
2950
+ },
2951
+ "modifiers": {
2952
+ "hiddenPath": "$service:himiBrandedHome.noHomeVideos"
2953
+ }
2625
2954
  }
2626
2955
  ]
2627
2956
  }
@@ -2961,6 +3290,7 @@ const SCREENS = runtimeSetting({
2961
3290
  "verticals": "[\"store\",\"bookings\",\"restaurants\",\"programs\",\"plans\",\"feed\",\"members\",\"forum\",\"coupons\",\"notifications\",\"loyalty\",\"reviews\",\"portfolio\",\"reservations\",\"invoices\",\"badges\",\"notifsettings\",\"events\",\"blog\",\"groups\",\"cms\",\"donations\",\"giftCards\",\"videos\",\"podcasts\",\"forms\",\"galleries\",\"inbox\",\"faq\"]",
2962
3291
  "homeModules": "[{\"id\":\"member_progress\",\"label\":\"This week's schedule\",\"dataSource\":\"member.bookings.schedule\",\"emptyWhen\":[\"hideMemberProgress\"]},{\"id\":\"up_next\",\"label\":\"Up next\",\"dataSource\":\"member.bookings\",\"emptyWhen\":[\"hideNextBooking\",\"hidePersonalError\"]},{\"id\":\"saved\",\"label\":\"Saved on this device\",\"dataSource\":\"device.saved_items\",\"emptyWhen\":[\"noSavedContent\"]},{\"id\":\"section_0\",\"label\":\"Discover 1\",\"dataSource\":\"classic.section0\",\"emptyWhen\":[\"hideFeaturedSkeleton\"]},{\"id\":\"section_1\",\"label\":\"Featured products\",\"dataSource\":\"classic.section1\"}]",
2963
3292
  "ownerDefaultLayout": "",
3293
+ "videoCaption": "overlay",
2964
3294
  "weeklyGoal": "2"
2965
3295
  }
2966
3296
  }
@@ -3976,7 +4306,7 @@ const SCREENS = runtimeSetting({
3976
4306
  }
3977
4307
  },
3978
4308
  {
3979
- "id": "himi_account.invoices",
4309
+ "id": "himi_account.restore",
3980
4310
  "body": {
3981
4311
  "package": "himalaya",
3982
4312
  "type": "HStack",
@@ -3989,7 +4319,7 @@ const SCREENS = runtimeSetting({
3989
4319
  "package": "himalaya",
3990
4320
  "type": "Icon",
3991
4321
  "props": {
3992
- "name": "document",
4322
+ "name": "refresh",
3993
4323
  "size": 18,
3994
4324
  "tint": "accentPrimary"
3995
4325
  }
@@ -4004,7 +4334,7 @@ const SCREENS = runtimeSetting({
4004
4334
  "package": "himalaya",
4005
4335
  "type": "Text",
4006
4336
  "props": {
4007
- "text": "My invoices",
4337
+ "text": "$service:himiStoreAccount.restoreLabel",
4008
4338
  "style": "bodyEmphasis"
4009
4339
  }
4010
4340
  }
@@ -4016,21 +4346,6 @@ const SCREENS = runtimeSetting({
4016
4346
  "type": "Spacer",
4017
4347
  "props": {}
4018
4348
  }
4019
- },
4020
- {
4021
- "id": "",
4022
- "body": {
4023
- "package": "himalaya",
4024
- "type": "Icon",
4025
- "props": {
4026
- "name": "chevron_right",
4027
- "size": 16,
4028
- "tint": "textTertiary"
4029
- }
4030
- },
4031
- "modifiers": {
4032
- "accessibilityRole": "decorative"
4033
- }
4034
4349
  }
4035
4350
  ]
4036
4351
  }
@@ -4053,18 +4368,32 @@ const SCREENS = runtimeSetting({
4053
4368
  "bottom": 13
4054
4369
  },
4055
4370
  "onTap": {
4056
- "actionId": "himi.open",
4057
- "params": {
4058
- "screenId": "himi_invoices"
4059
- }
4371
+ "actionId": "tier5.himiStoreAccount.iapRestore"
4060
4372
  },
4061
4373
  "pressFeedback": "scale",
4062
4374
  "haptic": "light",
4063
- "accessibilityLabel": "My invoices"
4375
+ "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
4376
+ "hiddenPath": "$service:himiStoreAccount.restoreHidden"
4064
4377
  }
4065
4378
  },
4066
4379
  {
4067
- "id": "himi_account.coupons",
4380
+ "id": "himi_account.restore_message",
4381
+ "body": {
4382
+ "package": "himalaya",
4383
+ "type": "Text",
4384
+ "props": {
4385
+ "text": "$service:himiStoreAccount.restoreMessage",
4386
+ "style": "footnote",
4387
+ "color": "textSecondary",
4388
+ "collapseWhenEmpty": true
4389
+ }
4390
+ },
4391
+ "modifiers": {
4392
+ "hiddenPath": "$service:himiStoreAccount.restoreHidden"
4393
+ }
4394
+ },
4395
+ {
4396
+ "id": "himi_account.invoices",
4068
4397
  "body": {
4069
4398
  "package": "himalaya",
4070
4399
  "type": "HStack",
@@ -4077,7 +4406,7 @@ const SCREENS = runtimeSetting({
4077
4406
  "package": "himalaya",
4078
4407
  "type": "Icon",
4079
4408
  "props": {
4080
- "name": "star",
4409
+ "name": "document",
4081
4410
  "size": 18,
4082
4411
  "tint": "accentPrimary"
4083
4412
  }
@@ -4092,7 +4421,7 @@ const SCREENS = runtimeSetting({
4092
4421
  "package": "himalaya",
4093
4422
  "type": "Text",
4094
4423
  "props": {
4095
- "text": "My coupons",
4424
+ "text": "My invoices",
4096
4425
  "style": "bodyEmphasis"
4097
4426
  }
4098
4427
  }
@@ -4143,16 +4472,16 @@ const SCREENS = runtimeSetting({
4143
4472
  "onTap": {
4144
4473
  "actionId": "himi.open",
4145
4474
  "params": {
4146
- "screenId": "himi_coupons"
4475
+ "screenId": "himi_invoices"
4147
4476
  }
4148
4477
  },
4149
4478
  "pressFeedback": "scale",
4150
4479
  "haptic": "light",
4151
- "accessibilityLabel": "My coupons"
4480
+ "accessibilityLabel": "My invoices"
4152
4481
  }
4153
4482
  },
4154
4483
  {
4155
- "id": "himi_account.food_orders",
4484
+ "id": "himi_account.coupons",
4156
4485
  "body": {
4157
4486
  "package": "himalaya",
4158
4487
  "type": "HStack",
@@ -4165,7 +4494,7 @@ const SCREENS = runtimeSetting({
4165
4494
  "package": "himalaya",
4166
4495
  "type": "Icon",
4167
4496
  "props": {
4168
- "name": "bag",
4497
+ "name": "star",
4169
4498
  "size": 18,
4170
4499
  "tint": "accentPrimary"
4171
4500
  }
@@ -4180,7 +4509,7 @@ const SCREENS = runtimeSetting({
4180
4509
  "package": "himalaya",
4181
4510
  "type": "Text",
4182
4511
  "props": {
4183
- "text": "My food orders",
4512
+ "text": "My coupons",
4184
4513
  "style": "bodyEmphasis"
4185
4514
  }
4186
4515
  }
@@ -4231,16 +4560,16 @@ const SCREENS = runtimeSetting({
4231
4560
  "onTap": {
4232
4561
  "actionId": "himi.open",
4233
4562
  "params": {
4234
- "screenId": "himi_food_orders"
4563
+ "screenId": "himi_coupons"
4235
4564
  }
4236
4565
  },
4237
4566
  "pressFeedback": "scale",
4238
4567
  "haptic": "light",
4239
- "accessibilityLabel": "My food orders"
4568
+ "accessibilityLabel": "My coupons"
4240
4569
  }
4241
4570
  },
4242
4571
  {
4243
- "id": "himi_account.addresses",
4572
+ "id": "himi_account.food_orders",
4244
4573
  "body": {
4245
4574
  "package": "himalaya",
4246
4575
  "type": "HStack",
@@ -4253,7 +4582,7 @@ const SCREENS = runtimeSetting({
4253
4582
  "package": "himalaya",
4254
4583
  "type": "Icon",
4255
4584
  "props": {
4256
- "name": "location",
4585
+ "name": "bag",
4257
4586
  "size": 18,
4258
4587
  "tint": "accentPrimary"
4259
4588
  }
@@ -4268,7 +4597,95 @@ const SCREENS = runtimeSetting({
4268
4597
  "package": "himalaya",
4269
4598
  "type": "Text",
4270
4599
  "props": {
4271
- "text": "My addresses",
4600
+ "text": "My food orders",
4601
+ "style": "bodyEmphasis"
4602
+ }
4603
+ }
4604
+ },
4605
+ {
4606
+ "id": "",
4607
+ "body": {
4608
+ "package": "himalaya",
4609
+ "type": "Spacer",
4610
+ "props": {}
4611
+ }
4612
+ },
4613
+ {
4614
+ "id": "",
4615
+ "body": {
4616
+ "package": "himalaya",
4617
+ "type": "Icon",
4618
+ "props": {
4619
+ "name": "chevron_right",
4620
+ "size": 16,
4621
+ "tint": "textTertiary"
4622
+ }
4623
+ },
4624
+ "modifiers": {
4625
+ "accessibilityRole": "decorative"
4626
+ }
4627
+ }
4628
+ ]
4629
+ }
4630
+ },
4631
+ "modifiers": {
4632
+ "background": {
4633
+ "token": "surfaceElevated"
4634
+ },
4635
+ "border": {
4636
+ "width": 1,
4637
+ "color": {
4638
+ "token": "border"
4639
+ }
4640
+ },
4641
+ "cornerRadius": 8,
4642
+ "padding": {
4643
+ "leading": 14,
4644
+ "trailing": 14,
4645
+ "top": 13,
4646
+ "bottom": 13
4647
+ },
4648
+ "onTap": {
4649
+ "actionId": "himi.open",
4650
+ "params": {
4651
+ "screenId": "himi_food_orders"
4652
+ }
4653
+ },
4654
+ "pressFeedback": "scale",
4655
+ "haptic": "light",
4656
+ "accessibilityLabel": "My food orders"
4657
+ }
4658
+ },
4659
+ {
4660
+ "id": "himi_account.addresses",
4661
+ "body": {
4662
+ "package": "himalaya",
4663
+ "type": "HStack",
4664
+ "props": {
4665
+ "spacing": 12,
4666
+ "children": [
4667
+ {
4668
+ "id": "",
4669
+ "body": {
4670
+ "package": "himalaya",
4671
+ "type": "Icon",
4672
+ "props": {
4673
+ "name": "location",
4674
+ "size": 18,
4675
+ "tint": "accentPrimary"
4676
+ }
4677
+ },
4678
+ "modifiers": {
4679
+ "accessibilityRole": "decorative"
4680
+ }
4681
+ },
4682
+ {
4683
+ "id": "",
4684
+ "body": {
4685
+ "package": "himalaya",
4686
+ "type": "Text",
4687
+ "props": {
4688
+ "text": "My addresses",
4272
4689
  "style": "bodyEmphasis"
4273
4690
  }
4274
4691
  }
@@ -4756,6 +5173,109 @@ const SCREENS = runtimeSetting({
4756
5173
  "hiddenPath": "$service:himiStoreAccount.isMember"
4757
5174
  }
4758
5175
  },
5176
+ {
5177
+ "id": "",
5178
+ "body": {
5179
+ "package": "himalaya",
5180
+ "type": "VStack",
5181
+ "props": {
5182
+ "spacing": 8,
5183
+ "alignment": "leading",
5184
+ "children": [
5185
+ {
5186
+ "id": "himi_account.restore_guest",
5187
+ "body": {
5188
+ "package": "himalaya",
5189
+ "type": "HStack",
5190
+ "props": {
5191
+ "spacing": 12,
5192
+ "children": [
5193
+ {
5194
+ "id": "",
5195
+ "body": {
5196
+ "package": "himalaya",
5197
+ "type": "Icon",
5198
+ "props": {
5199
+ "name": "refresh",
5200
+ "size": 18,
5201
+ "tint": "accentPrimary"
5202
+ }
5203
+ },
5204
+ "modifiers": {
5205
+ "accessibilityRole": "decorative"
5206
+ }
5207
+ },
5208
+ {
5209
+ "id": "",
5210
+ "body": {
5211
+ "package": "himalaya",
5212
+ "type": "Text",
5213
+ "props": {
5214
+ "text": "$service:himiStoreAccount.restoreLabel",
5215
+ "style": "bodyEmphasis"
5216
+ }
5217
+ }
5218
+ },
5219
+ {
5220
+ "id": "",
5221
+ "body": {
5222
+ "package": "himalaya",
5223
+ "type": "Spacer",
5224
+ "props": {}
5225
+ }
5226
+ }
5227
+ ]
5228
+ }
5229
+ },
5230
+ "modifiers": {
5231
+ "background": {
5232
+ "token": "surfaceElevated"
5233
+ },
5234
+ "border": {
5235
+ "width": 1,
5236
+ "color": {
5237
+ "token": "border"
5238
+ }
5239
+ },
5240
+ "cornerRadius": 8,
5241
+ "padding": {
5242
+ "leading": 14,
5243
+ "trailing": 14,
5244
+ "top": 13,
5245
+ "bottom": 13
5246
+ },
5247
+ "onTap": {
5248
+ "actionId": "tier5.himiStoreAccount.iapRestore"
5249
+ },
5250
+ "pressFeedback": "scale",
5251
+ "haptic": "light",
5252
+ "accessibilityLabel": "$service:himiStoreAccount.restoreLabel",
5253
+ "hiddenPath": "$service:himiStoreAccount.restoreHidden"
5254
+ }
5255
+ },
5256
+ {
5257
+ "id": "himi_account.restore_guest_message",
5258
+ "body": {
5259
+ "package": "himalaya",
5260
+ "type": "Text",
5261
+ "props": {
5262
+ "text": "$service:himiStoreAccount.restoreMessage",
5263
+ "style": "footnote",
5264
+ "color": "textSecondary",
5265
+ "collapseWhenEmpty": true
5266
+ }
5267
+ },
5268
+ "modifiers": {
5269
+ "hiddenPath": "$service:himiStoreAccount.restoreHidden"
5270
+ }
5271
+ }
5272
+ ]
5273
+ }
5274
+ },
5275
+ "modifiers": {
5276
+ "hiddenPath": "$service:himiStoreAccount.isMember"
5277
+ }
5278
+ },
4759
5279
  {
4760
5280
  "id": "himi_account.language",
4761
5281
  "body": {
@@ -5124,7 +5644,8 @@ const SCREENS = runtimeSetting({
5124
5644
  "onAppear": {
5125
5645
  "actionId": "tier5.himiStoreAccount.refresh",
5126
5646
  "params": {
5127
- "memberAccountLinks": "1"
5647
+ "memberAccountLinks": "1",
5648
+ "restorePurchases": "1"
5128
5649
  }
5129
5650
  }
5130
5651
  }
@@ -5135,7 +5656,8 @@ const SCREENS = runtimeSetting({
5135
5656
  "contentType": "application/javascript+ts-bundle",
5136
5657
  "declaredCapabilities": [
5137
5658
  "wix_api",
5138
- "app_info"
5659
+ "app_info",
5660
+ "iap"
5139
5661
  ],
5140
5662
  "minBinaryVersion": "0.2.0",
5141
5663
  "bundleVersion": "0.0.1"
@@ -69337,6 +69859,358 @@ const SCREENS = runtimeSetting({
69337
69859
  "hiddenPath": "$service:himiBrandedVideos.notMockUnavailable"
69338
69860
  }
69339
69861
  },
69862
+ {
69863
+ "id": "himi_videos.loading",
69864
+ "body": {
69865
+ "package": "himalaya",
69866
+ "type": "ZStack",
69867
+ "props": {
69868
+ "alignment": "center",
69869
+ "children": []
69870
+ }
69871
+ },
69872
+ "modifiers": {
69873
+ "height": 158,
69874
+ "background": {
69875
+ "token": "surfaceSecondary"
69876
+ },
69877
+ "border": {
69878
+ "width": 1,
69879
+ "color": {
69880
+ "token": "border"
69881
+ }
69882
+ },
69883
+ "cornerRadius": 8,
69884
+ "hiddenPath": "$service:himiBrandedVideos.notLoading"
69885
+ }
69886
+ },
69887
+ {
69888
+ "id": "himi_videos.latest_section",
69889
+ "body": {
69890
+ "package": "himalaya",
69891
+ "type": "VStack",
69892
+ "props": {
69893
+ "spacing": 10,
69894
+ "alignment": "leading",
69895
+ "children": [
69896
+ {
69897
+ "id": "",
69898
+ "body": {
69899
+ "package": "himalaya",
69900
+ "type": "VStack",
69901
+ "props": {
69902
+ "spacing": 3,
69903
+ "alignment": "leading",
69904
+ "children": [
69905
+ {
69906
+ "id": "",
69907
+ "body": {
69908
+ "package": "himalaya",
69909
+ "type": "Text",
69910
+ "props": {
69911
+ "text": "Latest videos",
69912
+ "style": "title3"
69913
+ }
69914
+ }
69915
+ }
69916
+ ]
69917
+ }
69918
+ }
69919
+ },
69920
+ {
69921
+ "id": "himi_videos.latest",
69922
+ "body": {
69923
+ "package": "himalaya",
69924
+ "type": "Carousel",
69925
+ "props": {
69926
+ "itemsPath": "$service:himiBrandedVideos.latestVideos",
69927
+ "items": [
69928
+ {
69929
+ "id": "",
69930
+ "body": {
69931
+ "package": "himalaya",
69932
+ "type": "VStack",
69933
+ "props": {
69934
+ "spacing": 8,
69935
+ "alignment": "leading",
69936
+ "children": [
69937
+ {
69938
+ "id": "",
69939
+ "body": {
69940
+ "package": "himalaya",
69941
+ "type": "ZStack",
69942
+ "props": {
69943
+ "alignment": "leading",
69944
+ "children": [
69945
+ {
69946
+ "id": "",
69947
+ "body": {
69948
+ "package": "himalaya",
69949
+ "type": "Image",
69950
+ "props": {
69951
+ "url": "$item.coverUrl",
69952
+ "fillWidth": true,
69953
+ "height": 158,
69954
+ "contentMode": "fill"
69955
+ }
69956
+ },
69957
+ "modifiers": {
69958
+ "accessibilityRole": "decorative",
69959
+ "hiddenPath": "$item.noCover"
69960
+ }
69961
+ },
69962
+ {
69963
+ "id": "",
69964
+ "body": {
69965
+ "package": "himalaya",
69966
+ "type": "ZStack",
69967
+ "props": {
69968
+ "alignment": "center",
69969
+ "children": [
69970
+ {
69971
+ "id": "",
69972
+ "body": {
69973
+ "package": "himalaya",
69974
+ "type": "Icon",
69975
+ "props": {
69976
+ "name": "play",
69977
+ "size": 28,
69978
+ "tint": "accentPrimary"
69979
+ }
69980
+ },
69981
+ "modifiers": {
69982
+ "accessibilityRole": "decorative"
69983
+ }
69984
+ }
69985
+ ]
69986
+ }
69987
+ },
69988
+ "modifiers": {
69989
+ "fillMaxWidth": true,
69990
+ "height": 158,
69991
+ "background": {
69992
+ "token": "accentSurface"
69993
+ },
69994
+ "hiddenPath": "$item.hasCover"
69995
+ }
69996
+ },
69997
+ {
69998
+ "id": "",
69999
+ "body": {
70000
+ "package": "himalaya",
70001
+ "type": "VStack",
70002
+ "props": {
70003
+ "spacing": 0,
70004
+ "alignment": "leading",
70005
+ "children": [
70006
+ {
70007
+ "id": "",
70008
+ "body": {
70009
+ "package": "himalaya",
70010
+ "type": "Spacer",
70011
+ "props": {}
70012
+ }
70013
+ },
70014
+ {
70015
+ "id": "",
70016
+ "body": {
70017
+ "package": "himalaya",
70018
+ "type": "HStack",
70019
+ "props": {
70020
+ "spacing": 8,
70021
+ "children": [
70022
+ {
70023
+ "id": "",
70024
+ "body": {
70025
+ "package": "himalaya",
70026
+ "type": "Icon",
70027
+ "props": {
70028
+ "name": "play",
70029
+ "size": 14,
70030
+ "tint": "textOnAccent"
70031
+ }
70032
+ },
70033
+ "modifiers": {
70034
+ "accessibilityRole": "decorative"
70035
+ }
70036
+ },
70037
+ {
70038
+ "id": "",
70039
+ "body": {
70040
+ "package": "himalaya",
70041
+ "type": "VStack",
70042
+ "props": {
70043
+ "spacing": 1,
70044
+ "alignment": "leading",
70045
+ "children": [
70046
+ {
70047
+ "id": "",
70048
+ "body": {
70049
+ "package": "himalaya",
70050
+ "type": "Text",
70051
+ "props": {
70052
+ "text": "$item.title",
70053
+ "style": "bodyEmphasis",
70054
+ "color": "textOnAccent",
70055
+ "maxLines": 1
70056
+ }
70057
+ }
70058
+ },
70059
+ {
70060
+ "id": "",
70061
+ "body": {
70062
+ "package": "himalaya",
70063
+ "type": "Text",
70064
+ "props": {
70065
+ "text": "$item.meta",
70066
+ "style": "caption",
70067
+ "color": "textOnAccent",
70068
+ "maxLines": 1,
70069
+ "collapseWhenEmpty": true
70070
+ }
70071
+ }
70072
+ }
70073
+ ]
70074
+ }
70075
+ }
70076
+ }
70077
+ ]
70078
+ }
70079
+ },
70080
+ "modifiers": {
70081
+ "background": {
70082
+ "token": "accentPrimary"
70083
+ },
70084
+ "cornerRadius": 10,
70085
+ "padding": {
70086
+ "leading": 10,
70087
+ "trailing": 12,
70088
+ "top": 6,
70089
+ "bottom": 6
70090
+ }
70091
+ }
70092
+ }
70093
+ ]
70094
+ }
70095
+ },
70096
+ "modifiers": {
70097
+ "height": 158,
70098
+ "fillMaxWidth": true,
70099
+ "padding": {
70100
+ "leading": 10,
70101
+ "trailing": 10,
70102
+ "bottom": 10
70103
+ },
70104
+ "hiddenPath": "$item.captionBelow"
70105
+ }
70106
+ }
70107
+ ]
70108
+ }
70109
+ },
70110
+ "modifiers": {
70111
+ "fillMaxWidth": true,
70112
+ "height": 158,
70113
+ "cornerRadius": 12
70114
+ }
70115
+ },
70116
+ {
70117
+ "id": "",
70118
+ "body": {
70119
+ "package": "himalaya",
70120
+ "type": "VStack",
70121
+ "props": {
70122
+ "spacing": 2,
70123
+ "alignment": "leading",
70124
+ "children": [
70125
+ {
70126
+ "id": "",
70127
+ "body": {
70128
+ "package": "himalaya",
70129
+ "type": "Text",
70130
+ "props": {
70131
+ "text": "$item.title",
70132
+ "style": "bodyEmphasis",
70133
+ "maxLines": 2
70134
+ }
70135
+ }
70136
+ },
70137
+ {
70138
+ "id": "",
70139
+ "body": {
70140
+ "package": "himalaya",
70141
+ "type": "Text",
70142
+ "props": {
70143
+ "text": "$item.meta",
70144
+ "style": "caption",
70145
+ "color": "textSecondary",
70146
+ "maxLines": 1,
70147
+ "collapseWhenEmpty": true
70148
+ }
70149
+ }
70150
+ }
70151
+ ]
70152
+ }
70153
+ },
70154
+ "modifiers": {
70155
+ "hiddenPath": "$item.captionOnImage"
70156
+ }
70157
+ }
70158
+ ]
70159
+ }
70160
+ },
70161
+ "modifiers": {
70162
+ "width": 280,
70163
+ "onTap": {
70164
+ "actionId": "himi.open",
70165
+ "params": {
70166
+ "screenId": "himi_video",
70167
+ "id": "$item.id",
70168
+ "channelId": "$item.channelId"
70169
+ }
70170
+ },
70171
+ "pressFeedback": "scale",
70172
+ "haptic": "light",
70173
+ "accessibilityLabel": "$item.accessibilityLabel"
70174
+ }
70175
+ }
70176
+ ]
70177
+ }
70178
+ }
70179
+ }
70180
+ ]
70181
+ }
70182
+ },
70183
+ "modifiers": {
70184
+ "hiddenPath": "$service:himiBrandedVideos.noLatestVideos"
70185
+ }
70186
+ },
70187
+ {
70188
+ "id": "",
70189
+ "body": {
70190
+ "package": "himalaya",
70191
+ "type": "VStack",
70192
+ "props": {
70193
+ "spacing": 3,
70194
+ "alignment": "leading",
70195
+ "children": [
70196
+ {
70197
+ "id": "",
70198
+ "body": {
70199
+ "package": "himalaya",
70200
+ "type": "Text",
70201
+ "props": {
70202
+ "text": "Channels",
70203
+ "style": "title3"
70204
+ }
70205
+ }
70206
+ }
70207
+ ]
70208
+ }
70209
+ },
70210
+ "modifiers": {
70211
+ "hiddenPath": "$service:himiBrandedVideos.noChannels"
70212
+ }
70213
+ },
69340
70214
  {
69341
70215
  "id": "himi_videos.rows.collection.toolbar",
69342
70216
  "body": {
@@ -69369,7 +70243,7 @@ const SCREENS = runtimeSetting({
69369
70243
  "package": "himalaya",
69370
70244
  "type": "SearchField",
69371
70245
  "props": {
69372
- "placeholder": "Search",
70246
+ "placeholder": "Search channels",
69373
70247
  "value": "$service:himiBrandedVideos.collection.query",
69374
70248
  "debounceMs": 200,
69375
70249
  "onChange": {
@@ -70060,6 +70934,73 @@ const SCREENS = runtimeSetting({
70060
70934
  "spacing": 8,
70061
70935
  "alignment": "leading",
70062
70936
  "children": [
70937
+ {
70938
+ "id": "",
70939
+ "body": {
70940
+ "package": "himalaya",
70941
+ "type": "VStack",
70942
+ "props": {
70943
+ "spacing": 0,
70944
+ "children": [
70945
+ {
70946
+ "id": "himi_videos.rows.collection.grid.$item.collectionId/image",
70947
+ "body": {
70948
+ "package": "himalaya",
70949
+ "type": "Image",
70950
+ "props": {
70951
+ "url": "$item.collectionImage",
70952
+ "contentDescription": "$item.collectionTitle",
70953
+ "contentMode": "fill",
70954
+ "height": 112,
70955
+ "fillWidth": true
70956
+ }
70957
+ },
70958
+ "modifiers": {
70959
+ "cornerRadius": 12,
70960
+ "hiddenPath": "$item.collectionNoImage"
70961
+ }
70962
+ },
70963
+ {
70964
+ "id": "",
70965
+ "body": {
70966
+ "package": "himalaya",
70967
+ "type": "ZStack",
70968
+ "props": {
70969
+ "alignment": "center",
70970
+ "children": [
70971
+ {
70972
+ "id": "",
70973
+ "body": {
70974
+ "package": "himalaya",
70975
+ "type": "Icon",
70976
+ "props": {
70977
+ "name": "photo",
70978
+ "size": 28,
70979
+ "tint": "accentPrimary"
70980
+ }
70981
+ },
70982
+ "modifiers": {
70983
+ "accessibilityRole": "decorative"
70984
+ }
70985
+ }
70986
+ ]
70987
+ }
70988
+ },
70989
+ "modifiers": {
70990
+ "height": 112,
70991
+ "fillMaxWidth": true,
70992
+ "cornerRadius": 12,
70993
+ "background": {
70994
+ "token": "surfaceSecondary"
70995
+ },
70996
+ "accessibilityLabel": "No image available",
70997
+ "hiddenPath": "$item.collectionHasImage"
70998
+ }
70999
+ }
71000
+ ]
71001
+ }
71002
+ }
71003
+ },
70063
71004
  {
70064
71005
  "id": "",
70065
71006
  "body": {
@@ -70604,6 +71545,73 @@ const SCREENS = runtimeSetting({
70604
71545
  "spacing": 8,
70605
71546
  "alignment": "leading",
70606
71547
  "children": [
71548
+ {
71549
+ "id": "",
71550
+ "body": {
71551
+ "package": "himalaya",
71552
+ "type": "VStack",
71553
+ "props": {
71554
+ "spacing": 0,
71555
+ "children": [
71556
+ {
71557
+ "id": "himi_videos.rows.collection.compact-grid.$item.collectionId/image",
71558
+ "body": {
71559
+ "package": "himalaya",
71560
+ "type": "Image",
71561
+ "props": {
71562
+ "url": "$item.collectionImage",
71563
+ "contentDescription": "$item.collectionTitle",
71564
+ "contentMode": "fill",
71565
+ "height": 80,
71566
+ "fillWidth": true
71567
+ }
71568
+ },
71569
+ "modifiers": {
71570
+ "cornerRadius": 12,
71571
+ "hiddenPath": "$item.collectionNoImage"
71572
+ }
71573
+ },
71574
+ {
71575
+ "id": "",
71576
+ "body": {
71577
+ "package": "himalaya",
71578
+ "type": "ZStack",
71579
+ "props": {
71580
+ "alignment": "center",
71581
+ "children": [
71582
+ {
71583
+ "id": "",
71584
+ "body": {
71585
+ "package": "himalaya",
71586
+ "type": "Icon",
71587
+ "props": {
71588
+ "name": "photo",
71589
+ "size": 28,
71590
+ "tint": "accentPrimary"
71591
+ }
71592
+ },
71593
+ "modifiers": {
71594
+ "accessibilityRole": "decorative"
71595
+ }
71596
+ }
71597
+ ]
71598
+ }
71599
+ },
71600
+ "modifiers": {
71601
+ "height": 80,
71602
+ "fillMaxWidth": true,
71603
+ "cornerRadius": 12,
71604
+ "background": {
71605
+ "token": "surfaceSecondary"
71606
+ },
71607
+ "accessibilityLabel": "No image available",
71608
+ "hiddenPath": "$item.collectionHasImage"
71609
+ }
71610
+ }
71611
+ ]
71612
+ }
71613
+ }
71614
+ },
70607
71615
  {
70608
71616
  "id": "",
70609
71617
  "body": {
@@ -71161,6 +72169,73 @@ const SCREENS = runtimeSetting({
71161
72169
  "spacing": 8,
71162
72170
  "alignment": "leading",
71163
72171
  "children": [
72172
+ {
72173
+ "id": "",
72174
+ "body": {
72175
+ "package": "himalaya",
72176
+ "type": "VStack",
72177
+ "props": {
72178
+ "spacing": 0,
72179
+ "children": [
72180
+ {
72181
+ "id": "himi_videos.rows.collection.preview.$item.collectionId/image",
72182
+ "body": {
72183
+ "package": "himalaya",
72184
+ "type": "Image",
72185
+ "props": {
72186
+ "url": "$item.collectionImage",
72187
+ "contentDescription": "$item.collectionTitle",
72188
+ "contentMode": "fill",
72189
+ "height": 112,
72190
+ "fillWidth": true
72191
+ }
72192
+ },
72193
+ "modifiers": {
72194
+ "cornerRadius": 12,
72195
+ "hiddenPath": "$item.collectionNoImage"
72196
+ }
72197
+ },
72198
+ {
72199
+ "id": "",
72200
+ "body": {
72201
+ "package": "himalaya",
72202
+ "type": "ZStack",
72203
+ "props": {
72204
+ "alignment": "center",
72205
+ "children": [
72206
+ {
72207
+ "id": "",
72208
+ "body": {
72209
+ "package": "himalaya",
72210
+ "type": "Icon",
72211
+ "props": {
72212
+ "name": "photo",
72213
+ "size": 28,
72214
+ "tint": "accentPrimary"
72215
+ }
72216
+ },
72217
+ "modifiers": {
72218
+ "accessibilityRole": "decorative"
72219
+ }
72220
+ }
72221
+ ]
72222
+ }
72223
+ },
72224
+ "modifiers": {
72225
+ "height": 112,
72226
+ "fillMaxWidth": true,
72227
+ "cornerRadius": 12,
72228
+ "background": {
72229
+ "token": "surfaceSecondary"
72230
+ },
72231
+ "accessibilityLabel": "No image available",
72232
+ "hiddenPath": "$item.collectionHasImage"
72233
+ }
72234
+ }
72235
+ ]
72236
+ }
72237
+ }
72238
+ },
71164
72239
  {
71165
72240
  "id": "",
71166
72241
  "body": {
@@ -71400,7 +72475,10 @@ const SCREENS = runtimeSetting({
71400
72475
  "bottom": 28
71401
72476
  },
71402
72477
  "onAppear": {
71403
- "actionId": "tier5.himiBrandedVideos.load"
72478
+ "actionId": "tier5.himiBrandedVideos.load",
72479
+ "params": {
72480
+ "videoCaption": "overlay"
72481
+ }
71404
72482
  }
71405
72483
  }
71406
72484
  },
@@ -71484,32 +72562,112 @@ const SCREENS = runtimeSetting({
71484
72562
  "id": "",
71485
72563
  "body": {
71486
72564
  "package": "himalaya",
71487
- "type": "VStack",
72565
+ "type": "HStack",
71488
72566
  "props": {
71489
- "spacing": 4,
71490
- "alignment": "leading",
72567
+ "spacing": 12,
71491
72568
  "children": [
71492
72569
  {
71493
72570
  "id": "",
71494
72571
  "body": {
71495
72572
  "package": "himalaya",
71496
- "type": "Text",
72573
+ "type": "Image",
71497
72574
  "props": {
71498
- "text": "$item.title",
71499
- "style": "bodyEmphasis"
72575
+ "url": "$item.coverUrl",
72576
+ "width": 112,
72577
+ "height": 63,
72578
+ "contentMode": "fill"
71500
72579
  }
72580
+ },
72581
+ "modifiers": {
72582
+ "accessibilityRole": "decorative",
72583
+ "cornerRadius": 8,
72584
+ "hiddenPath": "$item.noCover"
71501
72585
  }
71502
72586
  },
71503
72587
  {
71504
72588
  "id": "",
71505
72589
  "body": {
71506
72590
  "package": "himalaya",
71507
- "type": "Text",
72591
+ "type": "ZStack",
71508
72592
  "props": {
71509
- "text": "$item.subtitle",
71510
- "style": "caption",
71511
- "color": "textSecondary",
71512
- "collapseWhenEmpty": true
72593
+ "alignment": "center",
72594
+ "children": [
72595
+ {
72596
+ "id": "",
72597
+ "body": {
72598
+ "package": "himalaya",
72599
+ "type": "Icon",
72600
+ "props": {
72601
+ "name": "play",
72602
+ "size": 20,
72603
+ "tint": "accentPrimary"
72604
+ }
72605
+ },
72606
+ "modifiers": {
72607
+ "accessibilityRole": "decorative"
72608
+ }
72609
+ }
72610
+ ]
72611
+ }
72612
+ },
72613
+ "modifiers": {
72614
+ "width": 112,
72615
+ "height": 63,
72616
+ "background": {
72617
+ "token": "accentSurface"
72618
+ },
72619
+ "cornerRadius": 8,
72620
+ "hiddenPath": "$item.hasCover"
72621
+ }
72622
+ },
72623
+ {
72624
+ "id": "",
72625
+ "body": {
72626
+ "package": "himalaya",
72627
+ "type": "VStack",
72628
+ "props": {
72629
+ "spacing": 4,
72630
+ "alignment": "leading",
72631
+ "children": [
72632
+ {
72633
+ "id": "",
72634
+ "body": {
72635
+ "package": "himalaya",
72636
+ "type": "Text",
72637
+ "props": {
72638
+ "text": "$item.title",
72639
+ "style": "bodyEmphasis",
72640
+ "maxLines": 2
72641
+ }
72642
+ }
72643
+ },
72644
+ {
72645
+ "id": "",
72646
+ "body": {
72647
+ "package": "himalaya",
72648
+ "type": "Text",
72649
+ "props": {
72650
+ "text": "$item.meta",
72651
+ "style": "caption",
72652
+ "color": "textSecondary",
72653
+ "collapseWhenEmpty": true
72654
+ }
72655
+ }
72656
+ },
72657
+ {
72658
+ "id": "",
72659
+ "body": {
72660
+ "package": "himalaya",
72661
+ "type": "Text",
72662
+ "props": {
72663
+ "text": "$item.subtitle",
72664
+ "style": "caption",
72665
+ "color": "textSecondary",
72666
+ "collapseWhenEmpty": true
72667
+ }
72668
+ }
72669
+ }
72670
+ ]
71513
72671
  }
71514
72672
  }
71515
72673
  }
@@ -71522,10 +72680,10 @@ const SCREENS = runtimeSetting({
71522
72680
  },
71523
72681
  "cornerRadius": 12,
71524
72682
  "padding": {
71525
- "leading": 16,
72683
+ "leading": 10,
71526
72684
  "trailing": 16,
71527
- "top": 12,
71528
- "bottom": 12
72685
+ "top": 10,
72686
+ "bottom": 10
71529
72687
  },
71530
72688
  "onTap": {
71531
72689
  "actionId": "himi.open",