@wix/himalaya-cli 0.1761.0 → 0.1763.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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +5 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +23 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +136 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +112 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{7c3c05d452efd3f1e1e81b47dde7d9fa870c1e5217b00b253661a22b571fdbef.bin → a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +51413 -50002
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/base44-app-to-himi-app.md +56 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +10 -0
- package/guides/himi-json-output.md +35 -0
- package/guides/one-app-section-mappings.md +6 -6
- package/guides/one-app-to-himi-app.md +33 -4
- package/guides/push-cli-onboarding.md +25 -14
- package/guides/recipe-dynamic-list.md +4 -2
- package/guides/wix-business-context.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +9 -420
- package/templates/beauty-salon/l10n/cs.json +9 -420
- package/templates/beauty-salon/l10n/da.json +9 -420
- package/templates/beauty-salon/l10n/de.json +9 -420
- package/templates/beauty-salon/l10n/el.json +9 -420
- package/templates/beauty-salon/l10n/en.json +8 -61
- package/templates/beauty-salon/l10n/es.json +9 -420
- package/templates/beauty-salon/l10n/fi.json +9 -420
- package/templates/beauty-salon/l10n/fr.json +9 -420
- package/templates/beauty-salon/l10n/he.json +9 -338
- package/templates/beauty-salon/l10n/hu.json +9 -420
- package/templates/beauty-salon/l10n/id.json +9 -420
- package/templates/beauty-salon/l10n/it.json +9 -420
- package/templates/beauty-salon/l10n/ja.json +9 -420
- package/templates/beauty-salon/l10n/ko.json +9 -420
- package/templates/beauty-salon/l10n/lt.json +9 -420
- package/templates/beauty-salon/l10n/nl.json +9 -420
- package/templates/beauty-salon/l10n/no.json +9 -420
- package/templates/beauty-salon/l10n/pl.json +9 -420
- package/templates/beauty-salon/l10n/pt.json +9 -420
- package/templates/beauty-salon/l10n/ru.json +9 -420
- package/templates/beauty-salon/l10n/sv.json +9 -420
- package/templates/beauty-salon/l10n/th.json +9 -420
- package/templates/beauty-salon/l10n/tr.json +9 -420
- package/templates/beauty-salon/l10n/uk.json +9 -420
- package/templates/beauty-salon/l10n/vi.json +9 -420
- package/templates/beauty-salon/l10n/zh.json +9 -420
- package/templates/branded-lite/l10n/ar.json +31 -5
- package/templates/branded-lite/l10n/cs.json +31 -5
- package/templates/branded-lite/l10n/da.json +31 -5
- package/templates/branded-lite/l10n/de.json +31 -5
- package/templates/branded-lite/l10n/el.json +31 -5
- package/templates/branded-lite/l10n/en.json +8 -6
- package/templates/branded-lite/l10n/es.json +31 -5
- package/templates/branded-lite/l10n/fi.json +31 -5
- package/templates/branded-lite/l10n/fr.json +31 -5
- package/templates/branded-lite/l10n/he.json +27 -4
- package/templates/branded-lite/l10n/hu.json +31 -5
- package/templates/branded-lite/l10n/id.json +31 -5
- package/templates/branded-lite/l10n/it.json +31 -5
- package/templates/branded-lite/l10n/ja.json +31 -5
- package/templates/branded-lite/l10n/ko.json +31 -5
- package/templates/branded-lite/l10n/lt.json +31 -5
- package/templates/branded-lite/l10n/nl.json +31 -5
- package/templates/branded-lite/l10n/no.json +31 -5
- package/templates/branded-lite/l10n/pl.json +31 -5
- package/templates/branded-lite/l10n/pt.json +31 -5
- package/templates/branded-lite/l10n/ru.json +31 -5
- package/templates/branded-lite/l10n/sv.json +31 -5
- package/templates/branded-lite/l10n/th.json +31 -5
- package/templates/branded-lite/l10n/tr.json +31 -5
- package/templates/branded-lite/l10n/uk.json +31 -5
- package/templates/branded-lite/l10n/vi.json +31 -5
- package/templates/branded-lite/l10n/zh.json +31 -5
- package/templates/branded-lite/recipes/blog-search.json +45 -0
- package/templates/{events-meetups/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-carousel.json} +39 -118
- package/templates/{gym-fitness/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-list.json} +43 -121
- package/templates/{community-club/recipes/events-inline-list.json → branded-lite/recipes/group-feed.json} +112 -89
- package/templates/{beauty-salon/recipes/programs-participant-carousel.json → branded-lite/recipes/groups-cards.json} +71 -93
- package/templates/{beauty-salon/recipes/groups-list.json → branded-lite/recipes/services-list.json} +33 -9
- package/templates/{community-club/recipes/groups-list.json → branded-lite/recipes/subscriptions-list.json} +124 -60
- package/templates/branded-lite/recipes/upcoming-bookings.json +350 -0
- package/templates/branded-lite/recipes/videos-carousel.json +248 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +75 -21
- package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +115 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +137 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -3
- package/templates/branded-lite/tier5-src/_shared/my-subscriptions-section.ts +107 -0
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +11 -3
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -0
- package/templates/branded-lite/tier5-src/_shared/services-section.ts +122 -0
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +102 -0
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +91 -0
- package/templates/brandy/README.md +21 -3
- package/templates/brandy/config.ts +131 -14
- package/templates/brandy/dev/index.ts +41 -5
- package/templates/brandy/dev/member-screens.ts +14412 -0
- package/templates/brandy/provisioning.member.example.json +25 -0
- package/templates/brandy/tier5-src/_shared/branded-lite-hosted.ts +280 -0
- package/templates/brandy/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/brandy/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/brandy/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +194 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +252 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +423 -0
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +523 -0
- package/templates/brandy/tier5-src/_shared/himi-account.ts +194 -0
- package/templates/brandy/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/brandy/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/brandy/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/brandy/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/brandy/tier5-src/_shared/live-session.ts +172 -0
- package/templates/brandy/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/brandy/tier5-src/_shared/member-access.ts +63 -0
- package/templates/brandy/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/brandy/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/brandy/tier5-src/_shared/member-read.ts +82 -0
- package/templates/brandy/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/brandy/tier5-src/_shared/notification-target.ts +141 -0
- package/templates/brandy/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/brandy/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/brandy/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/brandy/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/brandy/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/brandy/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/brandy/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/brandy/tier5-src/_shared/store-order-presentation.ts +56 -0
- package/templates/brandy/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/brandy/tier5-src/_shared/wix-member-links.ts +114 -0
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +92 -0
- package/templates/brandy/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
- package/templates/brandy/tier5-src/himi-branded-lite-order/index.ts +477 -0
- package/templates/brandy/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/brandy/tier5-src/himi-store-account/index.ts +1007 -0
- package/templates/brandy/tier5-src/wix-spaces-chat-thread/index.ts +350 -0
- package/templates/brandy/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/brandy/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
- package/templates/brandy/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/brandy/tokens.json +25 -0
- package/templates/community-club/l10n/ar.json +0 -412
- package/templates/community-club/l10n/cs.json +0 -412
- package/templates/community-club/l10n/da.json +0 -412
- package/templates/community-club/l10n/de.json +0 -412
- package/templates/community-club/l10n/el.json +0 -412
- package/templates/community-club/l10n/en.json +1 -46
- package/templates/community-club/l10n/es.json +0 -412
- package/templates/community-club/l10n/fi.json +0 -412
- package/templates/community-club/l10n/fr.json +0 -412
- package/templates/community-club/l10n/he.json +0 -331
- package/templates/community-club/l10n/hu.json +0 -412
- package/templates/community-club/l10n/id.json +0 -412
- package/templates/community-club/l10n/it.json +0 -412
- package/templates/community-club/l10n/ja.json +0 -412
- package/templates/community-club/l10n/ko.json +0 -412
- package/templates/community-club/l10n/lt.json +0 -412
- package/templates/community-club/l10n/nl.json +0 -412
- package/templates/community-club/l10n/no.json +0 -412
- package/templates/community-club/l10n/pl.json +0 -412
- package/templates/community-club/l10n/pt.json +0 -412
- package/templates/community-club/l10n/ru.json +0 -412
- package/templates/community-club/l10n/sv.json +0 -412
- package/templates/community-club/l10n/th.json +0 -412
- package/templates/community-club/l10n/tr.json +0 -412
- package/templates/community-club/l10n/uk.json +0 -412
- package/templates/community-club/l10n/vi.json +0 -412
- package/templates/community-club/l10n/zh.json +0 -412
- package/templates/events-meetups/l10n/ar.json +0 -412
- package/templates/events-meetups/l10n/cs.json +0 -412
- package/templates/events-meetups/l10n/da.json +0 -412
- package/templates/events-meetups/l10n/de.json +0 -412
- package/templates/events-meetups/l10n/el.json +0 -412
- package/templates/events-meetups/l10n/en.json +1 -46
- package/templates/events-meetups/l10n/es.json +0 -412
- package/templates/events-meetups/l10n/fi.json +0 -412
- package/templates/events-meetups/l10n/fr.json +0 -412
- package/templates/events-meetups/l10n/he.json +0 -331
- package/templates/events-meetups/l10n/hu.json +0 -412
- package/templates/events-meetups/l10n/id.json +0 -412
- package/templates/events-meetups/l10n/it.json +0 -412
- package/templates/events-meetups/l10n/ja.json +0 -412
- package/templates/events-meetups/l10n/ko.json +0 -412
- package/templates/events-meetups/l10n/lt.json +0 -412
- package/templates/events-meetups/l10n/nl.json +0 -412
- package/templates/events-meetups/l10n/no.json +0 -412
- package/templates/events-meetups/l10n/pl.json +0 -412
- package/templates/events-meetups/l10n/pt.json +0 -412
- package/templates/events-meetups/l10n/ru.json +0 -412
- package/templates/events-meetups/l10n/sv.json +0 -412
- package/templates/events-meetups/l10n/th.json +0 -412
- package/templates/events-meetups/l10n/tr.json +0 -412
- package/templates/events-meetups/l10n/uk.json +0 -412
- package/templates/events-meetups/l10n/vi.json +0 -412
- package/templates/events-meetups/l10n/zh.json +0 -412
- package/templates/gym-fitness/l10n/ar.json +9 -405
- package/templates/gym-fitness/l10n/cs.json +9 -405
- package/templates/gym-fitness/l10n/da.json +9 -405
- package/templates/gym-fitness/l10n/de.json +9 -405
- package/templates/gym-fitness/l10n/el.json +9 -405
- package/templates/gym-fitness/l10n/en.json +8 -51
- package/templates/gym-fitness/l10n/es.json +9 -405
- package/templates/gym-fitness/l10n/fi.json +9 -405
- package/templates/gym-fitness/l10n/fr.json +9 -405
- package/templates/gym-fitness/l10n/he.json +9 -326
- package/templates/gym-fitness/l10n/hu.json +9 -405
- package/templates/gym-fitness/l10n/id.json +9 -405
- package/templates/gym-fitness/l10n/it.json +9 -405
- package/templates/gym-fitness/l10n/ja.json +9 -405
- package/templates/gym-fitness/l10n/ko.json +9 -405
- package/templates/gym-fitness/l10n/lt.json +9 -405
- package/templates/gym-fitness/l10n/nl.json +9 -405
- package/templates/gym-fitness/l10n/no.json +9 -405
- package/templates/gym-fitness/l10n/pl.json +9 -405
- package/templates/gym-fitness/l10n/pt.json +9 -405
- package/templates/gym-fitness/l10n/ru.json +9 -405
- package/templates/gym-fitness/l10n/sv.json +9 -405
- package/templates/gym-fitness/l10n/th.json +9 -405
- package/templates/gym-fitness/l10n/tr.json +9 -405
- package/templates/gym-fitness/l10n/uk.json +9 -405
- package/templates/gym-fitness/l10n/vi.json +9 -405
- package/templates/gym-fitness/l10n/zh.json +9 -405
- package/templates/nonprofit-cause/l10n/ar.json +0 -387
- package/templates/nonprofit-cause/l10n/cs.json +0 -387
- package/templates/nonprofit-cause/l10n/da.json +0 -387
- package/templates/nonprofit-cause/l10n/de.json +0 -387
- package/templates/nonprofit-cause/l10n/el.json +0 -387
- package/templates/nonprofit-cause/l10n/en.json +1 -46
- package/templates/nonprofit-cause/l10n/es.json +0 -387
- package/templates/nonprofit-cause/l10n/fi.json +0 -387
- package/templates/nonprofit-cause/l10n/fr.json +0 -387
- package/templates/nonprofit-cause/l10n/he.json +0 -311
- package/templates/nonprofit-cause/l10n/hu.json +0 -387
- package/templates/nonprofit-cause/l10n/id.json +0 -387
- package/templates/nonprofit-cause/l10n/it.json +0 -387
- package/templates/nonprofit-cause/l10n/ja.json +0 -387
- package/templates/nonprofit-cause/l10n/ko.json +0 -387
- package/templates/nonprofit-cause/l10n/lt.json +0 -387
- package/templates/nonprofit-cause/l10n/nl.json +0 -387
- package/templates/nonprofit-cause/l10n/no.json +0 -387
- package/templates/nonprofit-cause/l10n/pl.json +0 -387
- package/templates/nonprofit-cause/l10n/pt.json +0 -387
- package/templates/nonprofit-cause/l10n/ru.json +0 -387
- package/templates/nonprofit-cause/l10n/sv.json +0 -387
- package/templates/nonprofit-cause/l10n/th.json +0 -387
- package/templates/nonprofit-cause/l10n/tr.json +0 -387
- package/templates/nonprofit-cause/l10n/uk.json +0 -387
- package/templates/nonprofit-cause/l10n/vi.json +0 -387
- package/templates/nonprofit-cause/l10n/zh.json +0 -387
- package/templates/podcast-creator/l10n/ar.json +0 -417
- package/templates/podcast-creator/l10n/cs.json +0 -417
- package/templates/podcast-creator/l10n/da.json +0 -417
- package/templates/podcast-creator/l10n/de.json +0 -417
- package/templates/podcast-creator/l10n/el.json +0 -417
- package/templates/podcast-creator/l10n/en.json +1 -46
- package/templates/podcast-creator/l10n/es.json +0 -417
- package/templates/podcast-creator/l10n/fi.json +0 -417
- package/templates/podcast-creator/l10n/fr.json +0 -417
- package/templates/podcast-creator/l10n/he.json +0 -335
- package/templates/podcast-creator/l10n/hu.json +0 -417
- package/templates/podcast-creator/l10n/id.json +0 -417
- package/templates/podcast-creator/l10n/it.json +0 -417
- package/templates/podcast-creator/l10n/ja.json +0 -417
- package/templates/podcast-creator/l10n/ko.json +0 -417
- package/templates/podcast-creator/l10n/lt.json +0 -417
- package/templates/podcast-creator/l10n/nl.json +0 -417
- package/templates/podcast-creator/l10n/no.json +0 -417
- package/templates/podcast-creator/l10n/pl.json +0 -417
- package/templates/podcast-creator/l10n/pt.json +0 -417
- package/templates/podcast-creator/l10n/ru.json +0 -417
- package/templates/podcast-creator/l10n/sv.json +0 -417
- package/templates/podcast-creator/l10n/th.json +0 -417
- package/templates/podcast-creator/l10n/tr.json +0 -417
- package/templates/podcast-creator/l10n/uk.json +0 -417
- package/templates/podcast-creator/l10n/vi.json +0 -417
- package/templates/podcast-creator/l10n/zh.json +0 -417
- package/templates/portfolio-creative/l10n/ar.json +0 -437
- package/templates/portfolio-creative/l10n/cs.json +0 -437
- package/templates/portfolio-creative/l10n/da.json +0 -437
- package/templates/portfolio-creative/l10n/de.json +0 -437
- package/templates/portfolio-creative/l10n/el.json +0 -437
- package/templates/portfolio-creative/l10n/en.json +1 -46
- package/templates/portfolio-creative/l10n/es.json +0 -437
- package/templates/portfolio-creative/l10n/fi.json +0 -437
- package/templates/portfolio-creative/l10n/fr.json +0 -437
- package/templates/portfolio-creative/l10n/he.json +0 -351
- package/templates/portfolio-creative/l10n/hu.json +0 -437
- package/templates/portfolio-creative/l10n/id.json +0 -437
- package/templates/portfolio-creative/l10n/it.json +0 -437
- package/templates/portfolio-creative/l10n/ja.json +0 -437
- package/templates/portfolio-creative/l10n/ko.json +0 -437
- package/templates/portfolio-creative/l10n/lt.json +0 -437
- package/templates/portfolio-creative/l10n/nl.json +0 -437
- package/templates/portfolio-creative/l10n/no.json +0 -437
- package/templates/portfolio-creative/l10n/pl.json +0 -437
- package/templates/portfolio-creative/l10n/pt.json +0 -437
- package/templates/portfolio-creative/l10n/ru.json +0 -437
- package/templates/portfolio-creative/l10n/sv.json +0 -437
- package/templates/portfolio-creative/l10n/th.json +0 -437
- package/templates/portfolio-creative/l10n/tr.json +0 -437
- package/templates/portfolio-creative/l10n/uk.json +0 -437
- package/templates/portfolio-creative/l10n/vi.json +0 -437
- package/templates/portfolio-creative/l10n/zh.json +0 -437
- package/templates/restaurant/l10n/ar.json +0 -447
- package/templates/restaurant/l10n/cs.json +0 -447
- package/templates/restaurant/l10n/da.json +0 -447
- package/templates/restaurant/l10n/de.json +0 -447
- package/templates/restaurant/l10n/el.json +0 -447
- package/templates/restaurant/l10n/en.json +1 -46
- package/templates/restaurant/l10n/es.json +0 -447
- package/templates/restaurant/l10n/fi.json +0 -447
- package/templates/restaurant/l10n/fr.json +0 -447
- package/templates/restaurant/l10n/he.json +0 -359
- package/templates/restaurant/l10n/hu.json +0 -447
- package/templates/restaurant/l10n/id.json +0 -447
- package/templates/restaurant/l10n/it.json +0 -447
- package/templates/restaurant/l10n/ja.json +0 -447
- package/templates/restaurant/l10n/ko.json +0 -447
- package/templates/restaurant/l10n/lt.json +0 -447
- package/templates/restaurant/l10n/nl.json +0 -447
- package/templates/restaurant/l10n/no.json +0 -447
- package/templates/restaurant/l10n/pl.json +0 -447
- package/templates/restaurant/l10n/pt.json +0 -447
- package/templates/restaurant/l10n/ru.json +0 -447
- package/templates/restaurant/l10n/sv.json +0 -447
- package/templates/restaurant/l10n/th.json +0 -447
- package/templates/restaurant/l10n/tr.json +0 -447
- package/templates/restaurant/l10n/uk.json +0 -447
- package/templates/restaurant/l10n/vi.json +0 -447
- package/templates/restaurant/l10n/zh.json +0 -447
- package/templates/retail-store/l10n/ar.json +0 -462
- package/templates/retail-store/l10n/cs.json +0 -462
- package/templates/retail-store/l10n/da.json +0 -462
- package/templates/retail-store/l10n/de.json +0 -462
- package/templates/retail-store/l10n/el.json +0 -462
- package/templates/retail-store/l10n/en.json +1 -61
- package/templates/retail-store/l10n/es.json +0 -462
- package/templates/retail-store/l10n/fi.json +0 -462
- package/templates/retail-store/l10n/fr.json +0 -462
- package/templates/retail-store/l10n/he.json +0 -371
- package/templates/retail-store/l10n/hu.json +0 -462
- package/templates/retail-store/l10n/id.json +0 -462
- package/templates/retail-store/l10n/it.json +0 -462
- package/templates/retail-store/l10n/ja.json +0 -462
- package/templates/retail-store/l10n/ko.json +0 -462
- package/templates/retail-store/l10n/lt.json +0 -462
- package/templates/retail-store/l10n/nl.json +0 -462
- package/templates/retail-store/l10n/no.json +0 -462
- package/templates/retail-store/l10n/pl.json +0 -462
- package/templates/retail-store/l10n/pt.json +0 -462
- package/templates/retail-store/l10n/ru.json +0 -462
- package/templates/retail-store/l10n/sv.json +0 -462
- package/templates/retail-store/l10n/th.json +0 -462
- package/templates/retail-store/l10n/tr.json +0 -462
- package/templates/retail-store/l10n/uk.json +0 -462
- package/templates/retail-store/l10n/vi.json +0 -462
- package/templates/retail-store/l10n/zh.json +0 -462
- package/templates/yoga-studio/l10n/ar.json +9 -197
- package/templates/yoga-studio/l10n/cs.json +9 -197
- package/templates/yoga-studio/l10n/da.json +9 -197
- package/templates/yoga-studio/l10n/de.json +9 -197
- package/templates/yoga-studio/l10n/el.json +9 -197
- package/templates/yoga-studio/l10n/en.json +8 -30
- package/templates/yoga-studio/l10n/es.json +9 -197
- package/templates/yoga-studio/l10n/fi.json +9 -197
- package/templates/yoga-studio/l10n/fr.json +9 -197
- package/templates/yoga-studio/l10n/he.json +9 -159
- package/templates/yoga-studio/l10n/hu.json +9 -197
- package/templates/yoga-studio/l10n/id.json +9 -197
- package/templates/yoga-studio/l10n/it.json +9 -197
- package/templates/yoga-studio/l10n/ja.json +9 -197
- package/templates/yoga-studio/l10n/ko.json +9 -197
- package/templates/yoga-studio/l10n/lt.json +9 -197
- package/templates/yoga-studio/l10n/nl.json +9 -197
- package/templates/yoga-studio/l10n/no.json +9 -197
- package/templates/yoga-studio/l10n/pl.json +9 -197
- package/templates/yoga-studio/l10n/pt.json +9 -197
- package/templates/yoga-studio/l10n/ru.json +9 -197
- package/templates/yoga-studio/l10n/sv.json +9 -197
- package/templates/yoga-studio/l10n/th.json +9 -197
- package/templates/yoga-studio/l10n/tr.json +9 -197
- package/templates/yoga-studio/l10n/uk.json +9 -197
- package/templates/yoga-studio/l10n/vi.json +9 -197
- package/templates/yoga-studio/l10n/zh.json +9 -197
- package/templates/beauty-salon/recipes/announcement-card.json +0 -72
- package/templates/beauty-salon/recipes/blog-hero.json +0 -95
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +0 -394
- package/templates/beauty-salon/recipes/blog-list.json +0 -394
- package/templates/beauty-salon/recipes/blog-see-all.json +0 -50
- package/templates/beauty-salon/recipes/events-inline-list.json +0 -228
- package/templates/beauty-salon/recipes/events-inline.json +0 -309
- package/templates/beauty-salon/recipes/faq-list.json +0 -503
- package/templates/beauty-salon/recipes/members-list.json +0 -445
- package/templates/beauty-salon/recipes/plans-card.json +0 -811
- package/templates/beauty-salon/recipes/products-carousel.json +0 -141
- package/templates/beauty-salon/recipes/products-grid.json +0 -143
- package/templates/beauty-salon/recipes/programs-card.json +0 -254
- package/templates/beauty-salon/recipes/programs-carousel.json +0 -234
- package/templates/beauty-salon/recipes/programs-filters.json +0 -94
- package/templates/beauty-salon/recipes/programs-see-all.json +0 -43
- package/templates/beauty-salon/recipes/section-error.json +0 -58
- package/templates/beauty-salon/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/beauty-salon/tier5-src/_shared/events-card.ts +0 -33
- package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +0 -76
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/community-club/recipes/announcement-card.json +0 -72
- package/templates/community-club/recipes/blog-hero.json +0 -95
- package/templates/community-club/recipes/blog-list-thumb-start.json +0 -394
- package/templates/community-club/recipes/blog-list.json +0 -394
- package/templates/community-club/recipes/blog-see-all.json +0 -50
- package/templates/community-club/recipes/events-inline.json +0 -309
- package/templates/community-club/recipes/faq-list.json +0 -503
- package/templates/community-club/recipes/members-list.json +0 -445
- package/templates/community-club/recipes/plans-card.json +0 -811
- package/templates/community-club/recipes/products-carousel.json +0 -141
- package/templates/community-club/recipes/products-grid.json +0 -143
- package/templates/community-club/recipes/programs-card.json +0 -254
- package/templates/community-club/recipes/programs-carousel.json +0 -234
- package/templates/community-club/recipes/programs-filters.json +0 -94
- package/templates/community-club/recipes/programs-participant-carousel.json +0 -257
- package/templates/community-club/recipes/programs-see-all.json +0 -43
- package/templates/community-club/recipes/section-error.json +0 -58
- package/templates/community-club/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/community-club/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/community-club/tier5-src/_shared/events-card.ts +0 -33
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/community-club/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/community-club/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/community-club/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/community-club/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/community-club/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/community-club/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/community-club/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/community-club/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/community-club/tier5-src/_shared/products-section.ts +0 -76
- package/templates/community-club/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/community-club/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/community-club/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/events-meetups/recipes/announcement-card.json +0 -72
- package/templates/events-meetups/recipes/blog-hero.json +0 -95
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +0 -394
- package/templates/events-meetups/recipes/blog-list.json +0 -394
- package/templates/events-meetups/recipes/blog-see-all.json +0 -50
- package/templates/events-meetups/recipes/events-inline-list.json +0 -228
- package/templates/events-meetups/recipes/events-inline.json +0 -309
- package/templates/events-meetups/recipes/faq-list.json +0 -503
- package/templates/events-meetups/recipes/groups-list.json +0 -196
- package/templates/events-meetups/recipes/members-list.json +0 -445
- package/templates/events-meetups/recipes/plans-card.json +0 -811
- package/templates/events-meetups/recipes/products-carousel.json +0 -141
- package/templates/events-meetups/recipes/products-grid.json +0 -143
- package/templates/events-meetups/recipes/programs-card.json +0 -254
- package/templates/events-meetups/recipes/programs-carousel.json +0 -234
- package/templates/events-meetups/recipes/programs-filters.json +0 -94
- package/templates/events-meetups/recipes/programs-see-all.json +0 -43
- package/templates/events-meetups/recipes/section-error.json +0 -58
- package/templates/events-meetups/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +0 -51
- package/templates/events-meetups/tier5-src/_shared/events-card.ts +0 -33
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/events-meetups/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/events-meetups/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +0 -76
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/gym-fitness/recipes/announcement-card.json +0 -72
- package/templates/gym-fitness/recipes/blog-hero.json +0 -95
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +0 -394
- package/templates/gym-fitness/recipes/blog-list.json +0 -394
- package/templates/gym-fitness/recipes/blog-see-all.json +0 -50
- package/templates/gym-fitness/recipes/events-inline-list.json +0 -228
- package/templates/gym-fitness/recipes/events-inline.json +0 -309
- package/templates/gym-fitness/recipes/faq-list.json +0 -503
- package/templates/gym-fitness/recipes/groups-list.json +0 -196
- package/templates/gym-fitness/recipes/members-list.json +0 -445
- package/templates/gym-fitness/recipes/plans-card.json +0 -811
- package/templates/gym-fitness/recipes/products-carousel.json +0 -141
- package/templates/gym-fitness/recipes/products-grid.json +0 -143
- package/templates/gym-fitness/recipes/programs-card.json +0 -254
- package/templates/gym-fitness/recipes/programs-carousel.json +0 -234
- package/templates/gym-fitness/recipes/programs-filters.json +0 -94
- package/templates/gym-fitness/recipes/programs-see-all.json +0 -43
- package/templates/gym-fitness/recipes/section-error.json +0 -58
- package/templates/gym-fitness/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/gym-fitness/tier5-src/_shared/events-card.ts +0 -33
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +0 -76
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/nonprofit-cause/recipes/announcement-card.json +0 -72
- package/templates/nonprofit-cause/recipes/blog-hero.json +0 -95
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-list.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-see-all.json +0 -50
- package/templates/nonprofit-cause/recipes/events-inline-list.json +0 -228
- package/templates/nonprofit-cause/recipes/events-inline.json +0 -309
- package/templates/nonprofit-cause/recipes/faq-list.json +0 -503
- package/templates/nonprofit-cause/recipes/groups-list.json +0 -196
- package/templates/nonprofit-cause/recipes/members-list.json +0 -445
- package/templates/nonprofit-cause/recipes/plans-card.json +0 -811
- package/templates/nonprofit-cause/recipes/products-carousel.json +0 -141
- package/templates/nonprofit-cause/recipes/products-grid.json +0 -143
- package/templates/nonprofit-cause/recipes/programs-card.json +0 -254
- package/templates/nonprofit-cause/recipes/programs-carousel.json +0 -234
- package/templates/nonprofit-cause/recipes/programs-filters.json +0 -94
- package/templates/nonprofit-cause/recipes/programs-participant-carousel.json +0 -257
- package/templates/nonprofit-cause/recipes/programs-see-all.json +0 -43
- package/templates/nonprofit-cause/recipes/section-error.json +0 -58
- package/templates/nonprofit-cause/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +0 -33
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +0 -76
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/podcast-creator/recipes/announcement-card.json +0 -72
- package/templates/podcast-creator/recipes/blog-hero.json +0 -95
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +0 -394
- package/templates/podcast-creator/recipes/blog-list.json +0 -394
- package/templates/podcast-creator/recipes/blog-see-all.json +0 -50
- package/templates/podcast-creator/recipes/events-inline-list.json +0 -228
- package/templates/podcast-creator/recipes/events-inline.json +0 -309
- package/templates/podcast-creator/recipes/faq-list.json +0 -503
- package/templates/podcast-creator/recipes/groups-list.json +0 -196
- package/templates/podcast-creator/recipes/members-list.json +0 -445
- package/templates/podcast-creator/recipes/plans-card.json +0 -811
- package/templates/podcast-creator/recipes/products-carousel.json +0 -141
- package/templates/podcast-creator/recipes/products-grid.json +0 -143
- package/templates/podcast-creator/recipes/programs-card.json +0 -254
- package/templates/podcast-creator/recipes/programs-carousel.json +0 -234
- package/templates/podcast-creator/recipes/programs-filters.json +0 -94
- package/templates/podcast-creator/recipes/programs-participant-carousel.json +0 -257
- package/templates/podcast-creator/recipes/programs-see-all.json +0 -43
- package/templates/podcast-creator/recipes/section-error.json +0 -58
- package/templates/podcast-creator/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/podcast-creator/tier5-src/_shared/events-card.ts +0 -33
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +0 -76
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/portfolio-creative/recipes/announcement-card.json +0 -72
- package/templates/portfolio-creative/recipes/blog-hero.json +0 -95
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +0 -394
- package/templates/portfolio-creative/recipes/blog-list.json +0 -394
- package/templates/portfolio-creative/recipes/blog-see-all.json +0 -50
- package/templates/portfolio-creative/recipes/events-inline-list.json +0 -228
- package/templates/portfolio-creative/recipes/events-inline.json +0 -309
- package/templates/portfolio-creative/recipes/faq-list.json +0 -503
- package/templates/portfolio-creative/recipes/groups-list.json +0 -196
- package/templates/portfolio-creative/recipes/members-list.json +0 -445
- package/templates/portfolio-creative/recipes/plans-card.json +0 -811
- package/templates/portfolio-creative/recipes/products-carousel.json +0 -141
- package/templates/portfolio-creative/recipes/products-grid.json +0 -143
- package/templates/portfolio-creative/recipes/programs-card.json +0 -254
- package/templates/portfolio-creative/recipes/programs-carousel.json +0 -234
- package/templates/portfolio-creative/recipes/programs-filters.json +0 -94
- package/templates/portfolio-creative/recipes/programs-participant-carousel.json +0 -257
- package/templates/portfolio-creative/recipes/programs-see-all.json +0 -43
- package/templates/portfolio-creative/recipes/section-error.json +0 -58
- package/templates/portfolio-creative/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +0 -33
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +0 -76
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/restaurant/recipes/announcement-card.json +0 -72
- package/templates/restaurant/recipes/blog-hero.json +0 -95
- package/templates/restaurant/recipes/blog-list-thumb-start.json +0 -394
- package/templates/restaurant/recipes/blog-list.json +0 -394
- package/templates/restaurant/recipes/blog-see-all.json +0 -50
- package/templates/restaurant/recipes/events-inline-list.json +0 -228
- package/templates/restaurant/recipes/events-inline.json +0 -309
- package/templates/restaurant/recipes/faq-list.json +0 -503
- package/templates/restaurant/recipes/groups-list.json +0 -196
- package/templates/restaurant/recipes/members-list.json +0 -445
- package/templates/restaurant/recipes/plans-card.json +0 -811
- package/templates/restaurant/recipes/products-carousel.json +0 -141
- package/templates/restaurant/recipes/products-grid.json +0 -143
- package/templates/restaurant/recipes/programs-card.json +0 -254
- package/templates/restaurant/recipes/programs-carousel.json +0 -234
- package/templates/restaurant/recipes/programs-filters.json +0 -94
- package/templates/restaurant/recipes/programs-participant-carousel.json +0 -257
- package/templates/restaurant/recipes/programs-see-all.json +0 -43
- package/templates/restaurant/recipes/section-error.json +0 -58
- package/templates/restaurant/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/restaurant/tier5-src/_shared/events-card.ts +0 -33
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/restaurant/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/restaurant/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/restaurant/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/restaurant/tier5-src/_shared/products-section.ts +0 -76
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/retail-store/recipes/announcement-card.json +0 -72
- package/templates/retail-store/recipes/blog-hero.json +0 -95
- package/templates/retail-store/recipes/blog-list-thumb-start.json +0 -394
- package/templates/retail-store/recipes/blog-list.json +0 -394
- package/templates/retail-store/recipes/blog-see-all.json +0 -50
- package/templates/retail-store/recipes/events-inline-list.json +0 -228
- package/templates/retail-store/recipes/events-inline.json +0 -309
- package/templates/retail-store/recipes/faq-list.json +0 -503
- package/templates/retail-store/recipes/groups-list.json +0 -196
- package/templates/retail-store/recipes/members-list.json +0 -445
- package/templates/retail-store/recipes/plans-card.json +0 -811
- package/templates/retail-store/recipes/products-carousel.json +0 -141
- package/templates/retail-store/recipes/products-grid.json +0 -143
- package/templates/retail-store/recipes/programs-card.json +0 -254
- package/templates/retail-store/recipes/programs-carousel.json +0 -234
- package/templates/retail-store/recipes/programs-filters.json +0 -94
- package/templates/retail-store/recipes/programs-participant-carousel.json +0 -257
- package/templates/retail-store/recipes/programs-see-all.json +0 -43
- package/templates/retail-store/recipes/section-error.json +0 -58
- package/templates/retail-store/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/retail-store/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/retail-store/tier5-src/_shared/events-card.ts +0 -33
- package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/retail-store/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/retail-store/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/retail-store/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/retail-store/tier5-src/_shared/products-section.ts +0 -76
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/yoga-studio/recipes/announcement-card.json +0 -72
- package/templates/yoga-studio/recipes/blog-hero.json +0 -95
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +0 -394
- package/templates/yoga-studio/recipes/blog-list.json +0 -394
- package/templates/yoga-studio/recipes/blog-see-all.json +0 -50
- package/templates/yoga-studio/recipes/events-inline-list.json +0 -228
- package/templates/yoga-studio/recipes/events-inline.json +0 -309
- package/templates/yoga-studio/recipes/faq-list.json +0 -503
- package/templates/yoga-studio/recipes/groups-list.json +0 -196
- package/templates/yoga-studio/recipes/members-list.json +0 -445
- package/templates/yoga-studio/recipes/plans-card.json +0 -811
- package/templates/yoga-studio/recipes/products-carousel.json +0 -141
- package/templates/yoga-studio/recipes/products-grid.json +0 -143
- package/templates/yoga-studio/recipes/programs-card.json +0 -254
- package/templates/yoga-studio/recipes/programs-carousel.json +0 -234
- package/templates/yoga-studio/recipes/programs-filters.json +0 -94
- package/templates/yoga-studio/recipes/programs-participant-carousel.json +0 -257
- package/templates/yoga-studio/recipes/programs-see-all.json +0 -43
- package/templates/yoga-studio/recipes/section-error.json +0 -58
- package/templates/yoga-studio/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/yoga-studio/tier5-src/_shared/events-card.ts +0 -33
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +0 -76
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +0 -21
- /package/templates/{community-club → brandy}/tier5-src/_shared/detail-presence.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"site": {
|
|
3
|
+
"origin": "https://your-account.wixsite.com/your-site",
|
|
4
|
+
"kind": "wix",
|
|
5
|
+
"pages": [
|
|
6
|
+
{ "id": "home", "title": "Home", "path": "/", "icon": "home" },
|
|
7
|
+
{ "id": "blog", "title": "Blog", "path": "/blog", "icon": "newspaper" },
|
|
8
|
+
{ "id": "contact", "title": "Contact", "path": "/contact", "icon": "mail", "placement": "drawer" }
|
|
9
|
+
],
|
|
10
|
+
"chrome": { "hideSiteHeader": true, "hideSiteFooter": true, "hideWixAds": true },
|
|
11
|
+
"nativePages": [
|
|
12
|
+
{ "id": "my_account", "screenId": "himi_account", "title": "Account", "icon": "person", "placement": "drawer" },
|
|
13
|
+
{ "id": "activity", "screenId": "himi_notifications", "title": "Notifications", "icon": "bell", "placement": "drawer", "public": true }
|
|
14
|
+
],
|
|
15
|
+
"topBar": {
|
|
16
|
+
"actions": [
|
|
17
|
+
{ "id": "notifications", "icon": "bell", "label": "Notifications", "target": { "screen": "himi_notifications" } }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"wix": {
|
|
22
|
+
"clientId": "00000000-0000-0000-0000-000000000000",
|
|
23
|
+
"redirectUri": "himalaya-your-app://oauth"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
// Hosted mode: ONE served Branded Lite that opens any site at runtime, inside a host app such as
|
|
2
|
+
// Spaces Lite, instead of one build per customer.
|
|
3
|
+
//
|
|
4
|
+
// A single-site build decides its verticals at build time from `provisioning.json`. A hosted build
|
|
5
|
+
// declares every vertical and decides at RUNTIME from the site the host opened it for: each
|
|
6
|
+
// vertical's nav row carries a fail-closed `hiddenPath` (`hiddenUntilResolved`: hidden until it resolves), and
|
|
7
|
+
// the app-level nav worker resolves it from the site the host hands over.
|
|
8
|
+
//
|
|
9
|
+
// WHERE THE SITE COMES FROM: the host. A hosted app's Wix capability is pinned to its site and only
|
|
10
|
+
// reaches www.wixapis.com, so it cannot read its own provisioning (the Member View
|
|
11
|
+
// lives on apps.wix.com, the display options on manage.wix.com). The host resolves it with its own
|
|
12
|
+
// account session (the site provisioning mapper) and core injects it into every worker's input under the
|
|
13
|
+
// reserved key `HOST_SITE_INPUT_KEY`, after the nav params are merged — so a deep link's query can
|
|
14
|
+
// never supply or replace it (WorkerPreferenceContext.inject, iOS + Android).
|
|
15
|
+
//
|
|
16
|
+
// PURE and import-free, so the nav and home workers (and the CLI templates that copy them) can
|
|
17
|
+
// bundle it. The app's hosted-mode module re-exports it with the app's types.
|
|
18
|
+
|
|
19
|
+
/** A Branded Lite vertical id (the app contract's `BrandedLiteVertical`). A plain
|
|
20
|
+
* string here: this module is copied into CLI templates, which only allow `_shared` imports. */
|
|
21
|
+
export type BrandedLiteVertical = string;
|
|
22
|
+
|
|
23
|
+
export type BrandedLiteMode = "single-site" | "hosted";
|
|
24
|
+
|
|
25
|
+
/** The worker-input key the host's site arrives under. Core owns it: it is set (or blanked) after
|
|
26
|
+
* every other input source, so nothing but the host can put a site there. */
|
|
27
|
+
export const HOST_SITE_INPUT_KEY = "__himiHostSite";
|
|
28
|
+
|
|
29
|
+
/** The host's site from a worker's `himalaya.input`, or null. */
|
|
30
|
+
export function hostSiteFromInput(input: unknown): HostedSite | null {
|
|
31
|
+
const raw = input && typeof input === "object" ? (input as Record<string, unknown>)[HOST_SITE_INPUT_KEY] : undefined;
|
|
32
|
+
return readHostedSite(raw);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** What the host hands a hosted Branded Lite about the site it opened (`himalaya.input[HOST_SITE_INPUT_KEY]`). */
|
|
36
|
+
export interface HostedSite {
|
|
37
|
+
metaSiteId: string;
|
|
38
|
+
name: string;
|
|
39
|
+
installedVerticals: BrandedLiteVertical[];
|
|
40
|
+
/** #RRGGBB, or "" when the site has none (the build's own brand stays). */
|
|
41
|
+
primaryColor: string;
|
|
42
|
+
logoUrl: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** Verticals a hosted build always shows: every member area has a member list, whatever the
|
|
46
|
+
* owner installed. (Home, its About section and Profile are not verticals — always there.) */
|
|
47
|
+
export const HOSTED_ALWAYS: readonly BrandedLiteVertical[] = ["members"];
|
|
48
|
+
|
|
49
|
+
/** The screen each vertical's nav rows open, so a route to an uninstalled vertical can be answered. */
|
|
50
|
+
export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>> = {
|
|
51
|
+
store: ["himi_shop"], bookings: ["himi_services", "himi_agenda"], restaurants: ["himi_menu", "himi_reserve"],
|
|
52
|
+
programs: ["himi_programs"], plans: ["himi_plans"], feed: ["himi_feed"], members: ["himi_members"],
|
|
53
|
+
forum: ["himi_forum"], coupons: ["himi_coupons"], notifications: ["himi_notifications"],
|
|
54
|
+
loyalty: ["himi_loyalty"], reviews: ["himi_reviews"], portfolio: ["himi_portfolio"],
|
|
55
|
+
reservations: ["himi_reservations"], invoices: ["himi_invoices"], badges: ["himi_badges"],
|
|
56
|
+
notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
|
|
57
|
+
groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
|
|
58
|
+
videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
|
|
59
|
+
inbox: ["himi_business_chat"], faq: ["himi_faq"], fileShare: ["himi_file_share"],
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
|
|
63
|
+
* root) lands on `NOT_AVAILABLE_SCREEN` when the site does not have it. A screen several verticals
|
|
64
|
+
* share opens when any of them is shown. Pinned against the app's screen registry
|
|
65
|
+
* (`brandedLiteScreenOwners`, checked by the app's hosted-mode tests), so a screen added
|
|
66
|
+
* to a vertical without being listed here fails the build. */
|
|
67
|
+
export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLiteVertical[]>> = {
|
|
68
|
+
himi_address: ["restaurants", "store"],
|
|
69
|
+
himi_addresses: ["restaurants", "store"],
|
|
70
|
+
himi_agenda: ["bookings"],
|
|
71
|
+
himi_badge: ["badges"],
|
|
72
|
+
himi_badges: ["badges"],
|
|
73
|
+
himi_blog: ["blog"],
|
|
74
|
+
himi_bookings: ["bookings"],
|
|
75
|
+
himi_cart: ["store"],
|
|
76
|
+
himi_business_chat: ["inbox"],
|
|
77
|
+
himi_chat_thread: ["inbox", "members"],
|
|
78
|
+
himi_cms: ["cms"],
|
|
79
|
+
himi_collection: ["store"],
|
|
80
|
+
himi_collections: ["store"],
|
|
81
|
+
himi_coupon: ["coupons"],
|
|
82
|
+
himi_coupons: ["coupons"],
|
|
83
|
+
himi_create_post: ["blog", "forum"],
|
|
84
|
+
himi_donation: ["donations"],
|
|
85
|
+
himi_donations: ["donations"],
|
|
86
|
+
himi_events: ["events"],
|
|
87
|
+
himi_faq: ["faq"],
|
|
88
|
+
himi_feed: ["feed"],
|
|
89
|
+
himi_file_share: ["fileShare"],
|
|
90
|
+
himi_food_order: ["restaurants"],
|
|
91
|
+
himi_food_orders: ["restaurants"],
|
|
92
|
+
himi_form: ["forms"],
|
|
93
|
+
himi_forms: ["forms"],
|
|
94
|
+
himi_forum: ["forum"],
|
|
95
|
+
himi_forum_post: ["forum"],
|
|
96
|
+
himi_galleries: ["galleries"],
|
|
97
|
+
himi_gallery: ["galleries"],
|
|
98
|
+
himi_gift_card: ["giftCards"],
|
|
99
|
+
himi_gift_cards: ["giftCards"],
|
|
100
|
+
himi_groups: ["groups"],
|
|
101
|
+
himi_inbox: ["inbox"],
|
|
102
|
+
himi_group_about: ["groups"],
|
|
103
|
+
himi_my_groups: ["groups"],
|
|
104
|
+
himi_invoice: ["invoices"],
|
|
105
|
+
himi_invoices: ["invoices"],
|
|
106
|
+
himi_loyalty: ["loyalty"],
|
|
107
|
+
himi_loyalty_reward: ["loyalty"],
|
|
108
|
+
himi_member: ["members"],
|
|
109
|
+
himi_members: ["members"],
|
|
110
|
+
himi_menu: ["restaurants"],
|
|
111
|
+
himi_my_events: ["events"],
|
|
112
|
+
himi_my_subscriptions: ["plans"],
|
|
113
|
+
himi_new_message: ["inbox", "members"],
|
|
114
|
+
himi_notifications: ["notifications"],
|
|
115
|
+
himi_orders: ["store"],
|
|
116
|
+
himi_photo_album: ["galleries"],
|
|
117
|
+
himi_place_summary: ["bookings", "plans"],
|
|
118
|
+
himi_plan: ["plans"],
|
|
119
|
+
himi_plans: ["plans"],
|
|
120
|
+
himi_podcast: ["podcasts"],
|
|
121
|
+
himi_podcasts: ["podcasts"],
|
|
122
|
+
himi_portfolio: ["portfolio"],
|
|
123
|
+
himi_portfolio_project: ["portfolio"],
|
|
124
|
+
himi_programs: ["programs"],
|
|
125
|
+
himi_member_programs: ["programs"],
|
|
126
|
+
himi_reservations: ["reservations"],
|
|
127
|
+
himi_reserve: ["restaurants"],
|
|
128
|
+
himi_review: ["reviews"],
|
|
129
|
+
himi_reviews: ["reviews"],
|
|
130
|
+
himi_saved: ["blog"],
|
|
131
|
+
himi_saved_products: ["store"],
|
|
132
|
+
himi_services: ["bookings"],
|
|
133
|
+
himi_shop: ["store"],
|
|
134
|
+
himi_subscription: ["plans"],
|
|
135
|
+
himi_video: ["videos"],
|
|
136
|
+
himi_video_channel: ["videos"],
|
|
137
|
+
himi_videos: ["videos"],
|
|
138
|
+
himi_wallet: ["bookings", "plans", "restaurants", "store"],
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/** The templated (`<prefix>[_/]<id>`) detail routes each vertical owns, pinned the same way. */
|
|
142
|
+
export const HOSTED_ROUTE_PREFIXES: Readonly<Record<string, readonly BrandedLiteVertical[]>> = {
|
|
143
|
+
himi_order: ["store"],
|
|
144
|
+
himi_product: ["store"],
|
|
145
|
+
himi_service: ["bookings"],
|
|
146
|
+
himi_time: ["bookings"],
|
|
147
|
+
himi_menu_item: ["restaurants"],
|
|
148
|
+
himi_program: ["programs"],
|
|
149
|
+
himi_event: ["events"],
|
|
150
|
+
himi_rsvp: ["events"],
|
|
151
|
+
himi_blog_post: ["blog"],
|
|
152
|
+
himi_group: ["groups"],
|
|
153
|
+
himi_cms_collection: ["cms"],
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
/** The verticals that own [screenId], or undefined for a screen every site has (Home, Profile…). */
|
|
157
|
+
export function screenVerticals(screenId: string): readonly BrandedLiteVertical[] | undefined {
|
|
158
|
+
const exact = HOSTED_SCREEN_VERTICALS[screenId];
|
|
159
|
+
if (exact) return exact;
|
|
160
|
+
// The registry's `^<prefix>(?:[_/](.+))?$`: the bare prefix, or the prefix, a separator and an id.
|
|
161
|
+
for (const [prefix, verticals] of Object.entries(HOSTED_ROUTE_PREFIXES)) {
|
|
162
|
+
if (screenId === prefix) return verticals;
|
|
163
|
+
const sep = screenId.charAt(prefix.length);
|
|
164
|
+
if (screenId.startsWith(prefix) && (sep === "_" || sep === "/") && screenId.length > prefix.length + 1) return verticals;
|
|
165
|
+
}
|
|
166
|
+
return undefined;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** The drawer's collapsible folders and the verticals in each (config.ts builds them from this).
|
|
170
|
+
* A folder header is hidden when none of its verticals shows, so a site never sees an empty one. */
|
|
171
|
+
export const HOSTED_DRAWER_FOLDERS: Readonly<Record<string, readonly BrandedLiteVertical[]>> = {
|
|
172
|
+
drawer_sec_community: ["feed", "forum", "groups", "members", "reviews", "badges", "blog"],
|
|
173
|
+
drawer_sec_media: ["videos", "podcasts", "portfolio", "cms", "galleries", "faq", "fileShare"],
|
|
174
|
+
drawer_sec_offers: ["coupons", "giftCards", "donations", "loyalty"],
|
|
175
|
+
drawer_sec_activity: ["inbox", "reservations", "invoices", "forms", "notifications", "notifsettings"],
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
/** The vertical a nav row's screen belongs to, or undefined (Home, Profile, Steps…). */
|
|
179
|
+
export function verticalOfScreen(screenId: string | undefined): BrandedLiteVertical | undefined {
|
|
180
|
+
if (!screenId) return undefined;
|
|
181
|
+
for (const [vertical, roots] of Object.entries(VERTICAL_ROOT_SCREENS) as [string, readonly string[]][]) {
|
|
182
|
+
if (roots.includes(screenId)) return vertical;
|
|
183
|
+
}
|
|
184
|
+
return undefined;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/** The screen a route to an uninstalled vertical lands on. */
|
|
188
|
+
export const NOT_AVAILABLE_SCREEN = "himi_not_available";
|
|
189
|
+
|
|
190
|
+
const HEX = /^#[0-9A-Fa-f]{6}$/;
|
|
191
|
+
const VERTICALS = new Set(Object.keys(VERTICAL_ROOT_SCREENS));
|
|
192
|
+
|
|
193
|
+
/** The host's site, or null when it is missing or malformed — a hosted build then shows no
|
|
194
|
+
* vertical at all (fail closed), never every one. */
|
|
195
|
+
export function readHostedSite(raw: unknown): HostedSite | null {
|
|
196
|
+
let value = raw;
|
|
197
|
+
if (typeof value === "string") {
|
|
198
|
+
try { value = JSON.parse(value); } catch { return null; }
|
|
199
|
+
}
|
|
200
|
+
if (!value || typeof value !== "object") return null;
|
|
201
|
+
const v = value as Record<string, unknown>;
|
|
202
|
+
const metaSiteId = typeof v.metaSiteId === "string" ? v.metaSiteId.trim() : "";
|
|
203
|
+
if (!metaSiteId || !Array.isArray(v.installedVerticals)) return null;
|
|
204
|
+
const installed = v.installedVerticals.filter((x): x is BrandedLiteVertical => typeof x === "string" && VERTICALS.has(x));
|
|
205
|
+
const color = typeof v.primaryColor === "string" && HEX.test(v.primaryColor) ? v.primaryColor : "";
|
|
206
|
+
return {
|
|
207
|
+
metaSiteId,
|
|
208
|
+
name: typeof v.name === "string" ? v.name : "",
|
|
209
|
+
installedVerticals: [...new Set(installed)],
|
|
210
|
+
primaryColor: color,
|
|
211
|
+
logoUrl: typeof v.logoUrl === "string" && /^https:\/\//.test(v.logoUrl) ? v.logoUrl : "",
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/** The verticals a hosted build shows for [site]: its installed ones plus the always-on ones.
|
|
216
|
+
* None at all without a site. */
|
|
217
|
+
export function hostedVerticals(site: HostedSite | null): Set<BrandedLiteVertical> {
|
|
218
|
+
if (!site) return new Set();
|
|
219
|
+
return new Set<BrandedLiteVertical>([...site.installedVerticals, ...HOSTED_ALWAYS]);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/** `hiddenPath` flags (true hides the row), for the nav worker to publish: one per vertical, and
|
|
223
|
+
* one per drawer folder (hidden when none of its verticals shows). */
|
|
224
|
+
export function hostedHiddenFlags(site: HostedSite | null): Record<string, boolean> {
|
|
225
|
+
const shown = hostedVerticals(site);
|
|
226
|
+
const out: Record<string, boolean> = {};
|
|
227
|
+
for (const v of Object.keys(VERTICAL_ROOT_SCREENS) as BrandedLiteVertical[]) out[v] = !shown.has(v);
|
|
228
|
+
for (const [folder, verticals] of Object.entries(HOSTED_DRAWER_FOLDERS)) out[folder] = !verticals.some((v) => shown.has(v));
|
|
229
|
+
return out;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** Where a route to [screenId] lands for [site]: itself, or the "not available on this site" screen
|
|
233
|
+
* when every vertical that owns it is missing from the site. A screen no vertical owns (Home,
|
|
234
|
+
* Profile, settings) is on every site and passes through. */
|
|
235
|
+
export function hostedRoute(screenId: string, site: HostedSite | null): string {
|
|
236
|
+
const owners = screenVerticals(screenId);
|
|
237
|
+
if (!owners) return screenId;
|
|
238
|
+
const shown = hostedVerticals(site);
|
|
239
|
+
return owners.some((v) => shown.has(v)) ? screenId : NOT_AVAILABLE_SCREEN;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/** One hosted Home "Explore" card. The descriptor hands the worker the whole catalog (its copy is
|
|
243
|
+
* build-time localized) as `himalaya.input.hostedExplore`; the worker publishes only the site's. */
|
|
244
|
+
export interface HostedExploreCard {
|
|
245
|
+
vertical: BrandedLiteVertical;
|
|
246
|
+
icon: string;
|
|
247
|
+
title: string;
|
|
248
|
+
body: string;
|
|
249
|
+
/** Always the vertical's own root screen — never taken from the input. */
|
|
250
|
+
screenId: string;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/** The Explore cards to show for [site], in catalog order: one per catalog entry whose vertical the
|
|
254
|
+
* site shows. Empty without a site or a catalog, so a worker that never boots shows no card at all
|
|
255
|
+
* (the grid binds this list — fail closed, unlike a per-card `hiddenPath`, which native renderers
|
|
256
|
+
* treat as visible until it resolves). */
|
|
257
|
+
export function hostedExploreCards(catalog: unknown, site: HostedSite | null): HostedExploreCard[] {
|
|
258
|
+
if (!Array.isArray(catalog)) return [];
|
|
259
|
+
const shown = hostedVerticals(site);
|
|
260
|
+
const out: HostedExploreCard[] = [];
|
|
261
|
+
const seen = new Set<string>();
|
|
262
|
+
for (const entry of catalog) {
|
|
263
|
+
if (!entry || typeof entry !== "object") continue;
|
|
264
|
+
const e = entry as Record<string, unknown>;
|
|
265
|
+
const vertical = typeof e.vertical === "string" ? e.vertical : "";
|
|
266
|
+
const screenId = VERTICAL_ROOT_SCREENS[vertical]?.[0];
|
|
267
|
+
if (!screenId || !shown.has(vertical) || seen.has(vertical)) continue;
|
|
268
|
+
seen.add(vertical);
|
|
269
|
+
out.push({
|
|
270
|
+
vertical, screenId,
|
|
271
|
+
icon: typeof e.icon === "string" ? e.icon : "grid",
|
|
272
|
+
title: typeof e.title === "string" ? e.title : "",
|
|
273
|
+
body: typeof e.body === "string" ? e.body : "",
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
return out;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/** The `$service` path a hosted nav row's visibility binds to (a vertical, or a drawer folder id). */
|
|
280
|
+
export const hostedHiddenPath = (key: string): string => `$service:brandedLiteNav.hosted.${key}`;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// Load-state honesty for the branded-lite vertical workers.
|
|
2
|
+
//
|
|
3
|
+
// These workers used to answer every failed or empty query with representative SAMPLE
|
|
4
|
+
// rows — discount codes, gift-card balances, invoices, reservations, inbox messages —
|
|
5
|
+
// under a "Sample content" banner. On a customer build that is invented data presented
|
|
6
|
+
// as the customer's own: a code that does not exist, a balance in the wrong currency, an
|
|
7
|
+
// "Overdue" invoice, a booking labelled "tap to cancel". The banner did not make it
|
|
8
|
+
// honest; the rows were still the first thing a visitor read.
|
|
9
|
+
//
|
|
10
|
+
// The rule now:
|
|
11
|
+
// • query FAILED → status "error" with a customer sentence, a Retry, and — when
|
|
12
|
+
// Wix refused an anonymous visitor (401) — a Sign in path instead;
|
|
13
|
+
// • query was EMPTY → status "ready", no rows, the vertical's own empty sentence;
|
|
14
|
+
// • sample rows → ONLY when the host explicitly asked for sample data (the web
|
|
15
|
+
// preview's sample data mode, `__himiOwnerPreview: "sample"`).
|
|
16
|
+
// Never on a device, never as a fallback.
|
|
17
|
+
//
|
|
18
|
+
// Every field here is flat and boolean-gated because descriptors can only
|
|
19
|
+
// `hiddenWhen(<path>)` on a TRUE value: `notErrored` hides the error card, `noSignIn`
|
|
20
|
+
// hides the sign-in CTA, `signInRequired` hides Retry when retrying cannot help.
|
|
21
|
+
import { copyParam } from "./himi-copy.js";
|
|
22
|
+
|
|
23
|
+
export interface LoadFlags {
|
|
24
|
+
status: "loading" | "ready" | "error";
|
|
25
|
+
/** The customer-facing failure sentence; "" unless status is "error". */
|
|
26
|
+
error: string;
|
|
27
|
+
signInRequired: boolean;
|
|
28
|
+
notErrored: boolean;
|
|
29
|
+
/** hiddenWhen gate for a loading skeleton. */
|
|
30
|
+
notLoading: boolean;
|
|
31
|
+
/** Loading or failed — gates content that has nothing to say in either. */
|
|
32
|
+
busy: boolean;
|
|
33
|
+
noSignIn: boolean;
|
|
34
|
+
isMock: boolean;
|
|
35
|
+
notMock: boolean;
|
|
36
|
+
notMockEmpty: boolean;
|
|
37
|
+
notMockUnavailable: boolean;
|
|
38
|
+
/** hiddenWhen gate for the empty state: false ONLY when the site answered with no rows
|
|
39
|
+
* (`notMockEmpty` is true then — it gates the sample banner, not the empty state). */
|
|
40
|
+
hideEmpty: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const LOADING: LoadFlags = {
|
|
44
|
+
status: "loading", error: "", signInRequired: false, notErrored: true, notLoading: false, busy: true, noSignIn: true,
|
|
45
|
+
isMock: false, notMock: true, notMockEmpty: true, notMockUnavailable: true, hideEmpty: true,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const READY: LoadFlags = { ...LOADING, status: "ready", notLoading: true, busy: false };
|
|
49
|
+
|
|
50
|
+
/** Did the HOST ask for sample data? Only the web preview's sample mode does; a native
|
|
51
|
+
* build, a visitor preview and a live owner preview never carry it. */
|
|
52
|
+
export function samplesRequested(): boolean {
|
|
53
|
+
const input = (globalThis as { himalaya?: { input?: Record<string, unknown> } }).himalaya?.input;
|
|
54
|
+
return input?.__himiOwnerPreview === "sample";
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Wix refused an ANONYMOUS visitor: signing in is the fix, not retrying. A 403 is not
|
|
58
|
+
* this — it also answers "feature not installed" and a signed-in member without the
|
|
59
|
+
* permission, where a Sign in button leads nowhere — so it stays a Retry-able failure. */
|
|
60
|
+
export function needsSignIn(err: unknown): boolean {
|
|
61
|
+
const msg = String((err as { message?: unknown })?.message ?? err ?? "");
|
|
62
|
+
return /\b401\b|unauthori[sz]ed|unauthenticated/i.test(msg);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface LoadCopy<T> {
|
|
66
|
+
/** The copy namespace (`giftCards`, `coupons`, …) — keys resolve through copyParam. */
|
|
67
|
+
prefix: string;
|
|
68
|
+
/** Shown when the site genuinely has none. */
|
|
69
|
+
empty: string;
|
|
70
|
+
/** Shown when the query failed. */
|
|
71
|
+
error: string;
|
|
72
|
+
/** Shown when Wix refused the visitor (member-only data). */
|
|
73
|
+
signIn: string;
|
|
74
|
+
/** Sample rows for the explicit sample preview ONLY. */
|
|
75
|
+
sample: () => T[];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
type Rows<K extends string, T> = { [P in K]: T[] } & { emptyText: string } & LoadFlags;
|
|
79
|
+
|
|
80
|
+
/** A query answered. Rows win; an empty answer is a real empty state. */
|
|
81
|
+
export function loaded<K extends string, T>(key: K, rows: T[], copy: LoadCopy<T>): Rows<K, T> {
|
|
82
|
+
if (rows.length) return { ...READY, [key]: rows, emptyText: "" } as Rows<K, T>;
|
|
83
|
+
if (samplesRequested()) return sampleRows(key, copy, "empty");
|
|
84
|
+
return { ...READY, [key]: [], emptyText: copyParam(`${copy.prefix}.emptyText`, copy.empty), hideEmpty: false } as Rows<K, T>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** A query threw. Never rows the customer did not create. */
|
|
88
|
+
export function loadFailed<K extends string, T>(key: K, err: unknown, copy: LoadCopy<T>): Rows<K, T> {
|
|
89
|
+
if (samplesRequested()) return sampleRows(key, copy, "unavailable");
|
|
90
|
+
const signIn = needsSignIn(err);
|
|
91
|
+
return {
|
|
92
|
+
...READY,
|
|
93
|
+
status: "error",
|
|
94
|
+
[key]: [],
|
|
95
|
+
emptyText: "",
|
|
96
|
+
error: signIn ? copyParam(`${copy.prefix}.signInText`, copy.signIn) : copyParam(`${copy.prefix}.errorText`, copy.error),
|
|
97
|
+
signInRequired: signIn,
|
|
98
|
+
notErrored: false,
|
|
99
|
+
busy: true,
|
|
100
|
+
noSignIn: !signIn,
|
|
101
|
+
} as Rows<K, T>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function sampleRows<K extends string, T>(key: K, copy: LoadCopy<T>, reason: "empty" | "unavailable"): Rows<K, T> {
|
|
105
|
+
return {
|
|
106
|
+
...READY, [key]: copy.sample(), emptyText: "",
|
|
107
|
+
isMock: true, notMock: false, notMockEmpty: reason !== "empty", notMockUnavailable: reason !== "unavailable",
|
|
108
|
+
} as Rows<K, T>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
// How an open chat thread stays live — one helper for owner-lite's Inbox thread and
|
|
2
|
+
// branded-lite's member chat.
|
|
3
|
+
//
|
|
4
|
+
// Two paths, and the worker never has to choose between them by platform:
|
|
5
|
+
//
|
|
6
|
+
// 1. REALTIME. With a Wix Chat channel configured, `load` returns a `_stream` directive
|
|
7
|
+
// whose url is `wix-realtime://<appDefId>/<channel>?slug=<slug>&resourceId=<chatroom>`.
|
|
8
|
+
// The iOS and Android hosts open a Wix Duplexer channel for it and
|
|
9
|
+
// dispatch `onEvent` for each matching message.
|
|
10
|
+
// 2. FALLBACK. With no channel, or once the stream fails (`onError` — which is also what
|
|
11
|
+
// the web host answers, since it refuses `wix-realtime://`), a `_poll` directive asks
|
|
12
|
+
// the host to re-read the thread every 4 s.
|
|
13
|
+
//
|
|
14
|
+
// The fallback is a HOST timer, not a worker one: the worker sandbox has no
|
|
15
|
+
// `setInterval`. That is also what keeps it to the
|
|
16
|
+
// foreground — every host suspends a poll when the app is backgrounded or the screen is
|
|
17
|
+
// pooled off-view, and cancels it when the screen is torn down — so a hidden thread never
|
|
18
|
+
// polls. A poll has no stop verb; a thread that has its stream simply never asks for one.
|
|
19
|
+
//
|
|
20
|
+
// An event is only ever "the thread changed". Its payload is not read: its shape is
|
|
21
|
+
// unverified, and the host deliberately does not interpret it either. The worker re-reads
|
|
22
|
+
// the messages instead — one cheap call that cannot desync — and `createReloadGate`
|
|
23
|
+
// folds a burst of events into one read.
|
|
24
|
+
//
|
|
25
|
+
// This file is copied verbatim into every generated starter app, so it explains itself
|
|
26
|
+
// without pointing at anything only this repo has.
|
|
27
|
+
|
|
28
|
+
import type { PollDirective, StreamDirective } from "@himalaya/state";
|
|
29
|
+
|
|
30
|
+
/** A Wix Chat Duplexer channel: the `ns` (an app def id), the bare channel name, and the
|
|
31
|
+
* event slug a new message arrives under. */
|
|
32
|
+
export interface ChatRealtimeConfig {
|
|
33
|
+
appDefId: string;
|
|
34
|
+
channel: string;
|
|
35
|
+
slug: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** The stream's id. One per screen: a new directive under the same id replaces the old
|
|
39
|
+
* channel instead of opening a second one. */
|
|
40
|
+
export const CHAT_LIVE_STREAM_ID = "chat-live";
|
|
41
|
+
/** The fallback poll's id. Re-arming it replaces the timer, never stacks a second one. */
|
|
42
|
+
export const CHAT_LIVE_POLL_ID = "chat-live-poll";
|
|
43
|
+
/** "A message from the other side appears within 5 s." */
|
|
44
|
+
export const CHAT_LIVE_POLL_MS = 4000;
|
|
45
|
+
|
|
46
|
+
/** Which path is keeping the thread live: `off` before a conversation is open, `stream`
|
|
47
|
+
* when a realtime channel was asked for, `poll` on the fallback. Diagnostic. */
|
|
48
|
+
export type ChatLiveMode = "off" | "stream" | "poll";
|
|
49
|
+
|
|
50
|
+
const GUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
51
|
+
|
|
52
|
+
/** A complete, well-formed channel, or null. A half-filled one would subscribe to
|
|
53
|
+
* nothing and never fire, which looks exactly like a quiet conversation. */
|
|
54
|
+
export function chatRealtimeConfig(value: unknown): ChatRealtimeConfig | null {
|
|
55
|
+
let v = value;
|
|
56
|
+
if (typeof v === "string") {
|
|
57
|
+
if (!v.trim()) return null;
|
|
58
|
+
try { v = JSON.parse(v); } catch { return null; }
|
|
59
|
+
}
|
|
60
|
+
if (!v || typeof v !== "object") return null;
|
|
61
|
+
const { appDefId, channel, slug } = v as Record<string, unknown>;
|
|
62
|
+
if (typeof appDefId !== "string" || !GUID.test(appDefId)) return null;
|
|
63
|
+
if (typeof channel !== "string" || !channel.trim()) return null;
|
|
64
|
+
if (typeof slug !== "string" || !slug.trim()) return null;
|
|
65
|
+
return { appDefId, channel, slug };
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** The `wix-realtime://` url for one conversation. */
|
|
69
|
+
export function chatRealtimeUrl(cfg: ChatRealtimeConfig, chatroomId: string): string {
|
|
70
|
+
return `wix-realtime://${cfg.appDefId}/${encodeURIComponent(cfg.channel)}?slug=${encodeURIComponent(cfg.slug)}&resourceId=${encodeURIComponent(chatroomId)}`;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** The stream directive that keeps `chatroomId` live, or null when there is no channel
|
|
74
|
+
* (or no conversation) to open. `onEvent` / `onError` are action names of the calling
|
|
75
|
+
* service. */
|
|
76
|
+
export function liveThreadDirective(
|
|
77
|
+
cfg: ChatRealtimeConfig | null,
|
|
78
|
+
chatroomId: string,
|
|
79
|
+
actions: { onEvent: string; onError: string },
|
|
80
|
+
): StreamDirective | null {
|
|
81
|
+
if (!cfg || !chatroomId) return null;
|
|
82
|
+
return {
|
|
83
|
+
id: CHAT_LIVE_STREAM_ID,
|
|
84
|
+
request: { method: "GET", url: chatRealtimeUrl(cfg, chatroomId) },
|
|
85
|
+
onEvent: actions.onEvent,
|
|
86
|
+
onError: actions.onError,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** The 4 s foreground re-read. `action` is fully qualified (`"<service>.<action>"`). */
|
|
91
|
+
export function livePollDirective(action: string, intervalMs = CHAT_LIVE_POLL_MS): PollDirective {
|
|
92
|
+
return { id: CHAT_LIVE_POLL_ID, intervalMs, action, immediate: false };
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** What `load` returns beside its state to keep the conversation live: the stream when a
|
|
96
|
+
* channel is configured, else the poll. Nothing when there is no conversation. The
|
|
97
|
+
* service's actions must be named `onStreamEvent`, `onStreamError` and `refresh`. */
|
|
98
|
+
export function liveDirectives(
|
|
99
|
+
cfg: ChatRealtimeConfig | null,
|
|
100
|
+
chatroomId: string,
|
|
101
|
+
service: string,
|
|
102
|
+
): { live: ChatLiveMode; _stream?: StreamDirective; _poll?: PollDirective } {
|
|
103
|
+
if (!chatroomId) return { live: "off" };
|
|
104
|
+
const stream = liveThreadDirective(cfg, chatroomId, { onEvent: "onStreamEvent", onError: "onStreamError" });
|
|
105
|
+
if (stream) return { live: "stream", _stream: stream };
|
|
106
|
+
return { live: "poll", _poll: livePollDirective(`${service}.refresh`) };
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** What `onStreamError` returns beside its state: the stream is gone, so poll. */
|
|
110
|
+
export function liveFallback(service: string): { live: ChatLiveMode; _poll: PollDirective } {
|
|
111
|
+
return { live: "poll", _poll: livePollDirective(`${service}.refresh`) };
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Fold re-read requests so a burst costs one read.
|
|
116
|
+
*
|
|
117
|
+
* Requests made in the same tick share one read. A request made while a read is in
|
|
118
|
+
* flight gets ONE trailing read after it — never more than one, however many arrive —
|
|
119
|
+
* because the in-flight read may have left the server before the change that prompted
|
|
120
|
+
* the request, and returning its answer would drop that message.
|
|
121
|
+
*/
|
|
122
|
+
export function createReloadGate<T>(read: () => Promise<T>): { request(): Promise<T> } {
|
|
123
|
+
let queued: Promise<T> | null = null;
|
|
124
|
+
let running: Promise<void> | null = null;
|
|
125
|
+
return {
|
|
126
|
+
request() {
|
|
127
|
+
if (queued) return queued;
|
|
128
|
+
const prior = running ?? Promise.resolve();
|
|
129
|
+
const next = prior.then(() => {
|
|
130
|
+
queued = null;
|
|
131
|
+
return read();
|
|
132
|
+
});
|
|
133
|
+
queued = next;
|
|
134
|
+
const settled = next.then(() => undefined, () => undefined);
|
|
135
|
+
running = settled;
|
|
136
|
+
void settled.then(() => {
|
|
137
|
+
if (running === settled) running = null;
|
|
138
|
+
});
|
|
139
|
+
return next;
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* One chat token per thread VISIT.
|
|
146
|
+
*
|
|
147
|
+
* Every chat-web call needs a token, and minting one is a request of its own — so a thread
|
|
148
|
+
* that re-reads every 4 s would otherwise mint every 4 s. `get()` mints on first use and
|
|
149
|
+
* shares that token with every read and send; `reset()` starts a new visit; `drop(p)`
|
|
150
|
+
* forgets a token after a call that used it failed (an expired token costs one failed call,
|
|
151
|
+
* and the next one mints again). `drop` only forgets THAT token: a late failure from an
|
|
152
|
+
* earlier visit must not throw away the token the current visit just minted.
|
|
153
|
+
*/
|
|
154
|
+
export function createVisitToken(mint: () => Promise<string>): {
|
|
155
|
+
get(): Promise<string>;
|
|
156
|
+
drop(token: Promise<string> | null): void;
|
|
157
|
+
reset(): void;
|
|
158
|
+
} {
|
|
159
|
+
let current: Promise<string> | null = null;
|
|
160
|
+
const drop = (token: Promise<string> | null): void => {
|
|
161
|
+
if (token && current === token) current = null;
|
|
162
|
+
};
|
|
163
|
+
return {
|
|
164
|
+
get() {
|
|
165
|
+
if (!current) {
|
|
166
|
+
const minted = mint();
|
|
167
|
+
current = minted;
|
|
168
|
+
minted.catch(() => drop(minted));
|
|
169
|
+
}
|
|
170
|
+
return current;
|
|
171
|
+
},
|
|
172
|
+
drop,
|
|
173
|
+
reset() {
|
|
174
|
+
current = null;
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Did a chat-web call fail because its token was refused? The status chat-web uses for an
|
|
180
|
+
* expired chatToken is NOT verified against a live session: 401 and 403 are both treated as
|
|
181
|
+
* "refused", and either way a retry with the same message id is the same send intent, so a
|
|
182
|
+
* wrong guess costs one extra request, never a second message. Any other failure may have
|
|
183
|
+
* posted the message, so it is not retried. */
|
|
184
|
+
export function isTokenRejected(e: unknown): boolean {
|
|
185
|
+
return /HTTP 40[13]\b/.test(String((e as Error)?.message ?? e ?? ""));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** UUID v4 for a send's idempotency id (the worker realm has no crypto.randomUUID). */
|
|
189
|
+
export function uuidV4(): string {
|
|
190
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
191
|
+
const r = Math.floor(Math.random() * 16);
|
|
192
|
+
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Send ids that belong to the INTENT, not the tap.
|
|
198
|
+
*
|
|
199
|
+
* The same id on a retry is the same send to chat-web, so the server keeps one message. A
|
|
200
|
+
* send that failed ambiguously (a gateway timeout after the backend stored it) and is tapped
|
|
201
|
+
* again must reuse its id, or the business receives the message twice. An intent is the
|
|
202
|
+
* conversation plus the exact text; it is settled once the send succeeds, and any other text
|
|
203
|
+
* is a new intent.
|
|
204
|
+
*/
|
|
205
|
+
export function createSendIntents(): { idFor(chatroomId: string, text: string): string; settle(chatroomId: string, text: string): void } {
|
|
206
|
+
const ids = new Map<string, string>();
|
|
207
|
+
const keyOf = (chatroomId: string, text: string) => `${chatroomId}\u0000${text}`;
|
|
208
|
+
return {
|
|
209
|
+
idFor(chatroomId, text) {
|
|
210
|
+
const key = keyOf(chatroomId, text);
|
|
211
|
+
let id = ids.get(key);
|
|
212
|
+
if (!id) { id = uuidV4(); ids.set(key, id); }
|
|
213
|
+
return id;
|
|
214
|
+
},
|
|
215
|
+
settle(chatroomId, text) {
|
|
216
|
+
ids.delete(keyOf(chatroomId, text));
|
|
217
|
+
},
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** Post with the visit's token, re-minting once if chat-web refused the token. Whichever
|
|
222
|
+
* token a failed attempt used is dropped, so a rejected token is never reused. */
|
|
223
|
+
export async function postWithVisitToken(
|
|
224
|
+
token: ReturnType<typeof createVisitToken>,
|
|
225
|
+
send: (chatToken: string) => Promise<void>,
|
|
226
|
+
): Promise<void> {
|
|
227
|
+
const first = token.get();
|
|
228
|
+
try {
|
|
229
|
+
await send(await first);
|
|
230
|
+
return;
|
|
231
|
+
} catch (e) {
|
|
232
|
+
token.drop(first);
|
|
233
|
+
if (!isTokenRejected(e)) throw e;
|
|
234
|
+
}
|
|
235
|
+
const retry = token.get();
|
|
236
|
+
try {
|
|
237
|
+
await send(await retry);
|
|
238
|
+
} catch (e) {
|
|
239
|
+
token.drop(retry);
|
|
240
|
+
throw e;
|
|
241
|
+
}
|
|
242
|
+
}
|