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ACA,2BACA,iBACA,wBACA,mCACA,wCACA,wCACA,wCACA,qCACA,4CACA,iDACA,iDACA,iDACA,8CACA,qBACA,WACA,wBACA,uBACA,iBACA,iBACA,gBACA,kBACA,0BACA,8BACA,2BACA,WACA,wBACA,qBACA,gCAKYC,EAA2B,IAAID,IAAI,CAY/C,4BACA,0BACA,+BACA,yCACA,+BACA,+BACA,kDACA,qCACA,0CACA,oDACA,0CACA,0CACA,mCACA,iCACA,sCACA,gDACA,sCACA,sCACA,mCACA,iCACA,sCACA,gDACA,wCAGYE,EAAmC,IAAIF,IAAI,CACvD,yCAGYG,EAAqC,IAAIH,IAAI,CACzD,uBACA,UACA,0BACA,mBACA,oBACA,cACA,mBACA,YACA,eACA,mBACA,gBACA,YACA,gBACA,YACA,cACA,gBACA,oBACA,qBACA,wBACA,2BACA,kBACA,iCACA,wBACA,sCACA,gCACA,mBACA,mBACA,sBACA,oBACA,oBACA,SACA,8BACA,wBACA,wBACA,cACA,mBACA,uBACA,oBACA,WACA,0BACA,2BACA,wBACA,wBACA,wBACA,mCACA,wCACA,wCACA,wCACA,qCACA,4CACA,iDACA,iDACA,iDACA,8CACA,sBACA,4BACA,gBACA,qBACA,0BACA,kBACA,6BACA,yBACA,wBACA,uCACA,0CACA,uDACA,0BACA,8BACA,2BACA,WACA,wBACA,qBACA,gCAGYI,EAAyC,IAAIJ,IAAI,CAAC,iBAAkB,0B,kCCxK1E,MAAMK,EAAkBxG,OAAO,Y,mCCA/B,MAAMyG,EAAuB,CACnC,IAAIC,IAAI,wBACR,IAAIA,IAAI,uCACR,IAAIA,IAAI,qBACR,IAAIA,IAAI,qBCUIC,EAA4B,CAACC,EAAmCC,KAC5E,MAAMC,EAAU,IAAIJ,IAba,iCAaWG,GACtCE,EAAM,IAAIL,IAAIE,EAA2BE,GAE/C,GAdwB,EAACF,EAAgCI,EAAwBP,IAC1EO,EAAUC,KAAMC,GAErBN,EAA0BO,WAAaD,EAASC,UAChDP,EAA0BQ,WAAaF,EAASE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B,GAa/B,OAXAvsE,OAAOmX,KAAKq4D,GACV7uE,IAAK4oB,GAAQ3vB,OAAO2vB,IACpBu0C,KAAK,CAAC+R,EAAG32B,IAAO22B,EAAI32B,GAAK,EAAI,GAC7BzhD,QAAQ,CAACk4E,EAAWh4E,KACpB40E,EAAS50E,GAAS63E,EAAaG,KAGjCpD,EAAS90E,QAASk1E,IACjBA,EAAI7O,KAAK,CAAC+R,EAAG32B,IAAO22B,EAAEC,WAAa52B,EAAE42B,YAAc,EAAI,KAGjDvD,GAiBUwD,CAAcP,GACzBhD,EAfgB,CAACD,IACvB,MAAMC,EAA6B,CAAC,EAQpC,OANAD,EAAS90E,QAAQ,CAACu4E,EAASC,KAC1BD,EAAQv4E,QAAQ,CAACg4E,EAAMS,KACtB1D,EAAWiD,EAAKt5E,IAAM,CAAEw2E,IAAKsD,EAAUrD,OAAQsD,OAI1C1D,GAMY2D,CAAe5D,GAElC,MAAO,CAAEA,WAAUC,c","sources":["webpack:///../../thunderbolt-commons/src/fonts/fontFixer.ts","webpack:///../../thunderbolt-symbols/src/symbols/componentsStylesOverrides.ts","webpack:///../../thunderbolt-commons/src/repeaterUtils.ts","webpack:///../../feature-consent-policy/src/symbols.ts","webpack:///../../feature-wix-ecom-frontend-wix-code-sdk/src/symbols.ts","webpack:///../../feature-navigation-manager/src/symbols.ts","webpack:///../../thunderbolt-commons/src/deprecatedBrowserUtils.ts","webpack:///../../feature-tpa/src/utils/constants.ts","webpack:///../../thunderbolt-commons/src/translations/constants.ts","webpack:///../../thunderbolt-commons/src/translations/directionUtils.ts","webpack:///../../thunderbolt-platform/src/constants.ts","webpack:///../../feature-sticky-to-component/src/symbols.ts","webpack:///../../feature-tpa-worker/src/symbols.ts","webpack:///../../thunderbolt-commons/src/bi/constants.ts","webpack:///../../thunderbolt-symbols/src/symbols/ssrLogger.ts","webpack:///../../thunderbolt-commons/src/whitelistedEndpoints.ts","webpack:///../../thunderbolt-commons/src/getEditorElementsAssetUrl.ts","webpack:///../../thunderbolt-commons/src/repeater/index.ts","webpack:///../../thunderbolt-commons/src/hoverBoxUtils.ts","webpack:///../../feature-environment/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/businessLogger.ts","webpack:///../../thunderbolt-symbols/src/symbols/baseComponent.ts","webpack:///../../feature-site-theme-service/src/symbols.ts","webpack:///../../feature-business-logger/src/symbols.ts","webpack:///../../feature-captcha/src/symbols.ts","webpack:///../../feature-menu-container/src/symbols.ts","webpack:///../../src/comlink.ts","webpack:///../../feature-onload-comps-behaviors/src/symbols.ts","webpack:///../../thunderbolt-commons/src/safeJsonStringify.ts","webpack:///../../feature-external-component/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/experiments.ts","webpack:///../../feature-repeaters/src/symbols.ts","webpack:///../../feature-components-loader/src/symbols.ts","webpack:///../../feature-dynamic-pages/src/symbols.ts","webpack:///../../feature-image-placeholder/src/symbols.ts","webpack:///../../feature-window-wix-code-sdk/src/symbols.ts","webpack:///../../feature-container-slider/src/symbols.ts","webpack:///../../feature-mobile-full-screen/src/symbols.ts","webpack:///../../feature-seo/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/clickHandlerRegistrar.ts","webpack:///../../../node_modules/@wix/http-client/dist/es/src/constants.js","webpack:///../../thunderbolt-commons/src/animationsUtils.ts","webpack:///../../feature-sosp/src/symbols.ts","webpack:///../../../node_modules/@wix/css-gradient-generator/dist/esm/constants.js","webpack:///../../feature-code-embed/src/symbols.ts","webpack:///../../thunderbolt-commons/src/text.ts","webpack:///../../feature-debug/src/seo/constants.ts","webpack:///../../thunderbolt-symbols/src/features/thunderbolt/LifeCycle.ts","webpack:///../../feature-app-monitoring/src/symbols.ts","webpack:///../../feature-common-config/src/symbols.ts","webpack:///../../feature-scroll-to-anchor/src/symbols.ts","webpack:///../../thunderbolt-catharsis/src/symbols.ts","webpack:///../../feature-svg-loader/src/symbols.ts","webpack:///../../thunderbolt-commons/src/tpa/withViewModeRestriction.ts","webpack:///../../thunderbolt-commons/src/tpa/extractInnerRoute.ts","webpack:///../../thunderbolt-symbols/src/features/constants.ts","webpack:///../../feature-builder-component/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/features/logger/ILogger.ts","webpack:///../../thunderbolt-symbols/src/features/types.ts","webpack:///../../thunderbolt-commons/src/responsive/variablesToCss.ts","webpack:///../../thunderbolt-symbols/src/symbolToFeature.ts","webpack:///../../feature-thunderbolt-initializer/src/symbols.ts","webpack:///../../feature-site-members/src/symbols.ts","webpack:///../../feature-speculation-rules/src/symbols.ts","webpack:///../../../node_modules/@wix/panorama-client-web/dist/esm/constants.js","webpack:///../../thunderbolt-symbols/src/symbols/features.ts","webpack:///../../feature-components/src/symbols.ts","webpack:///../../thunderbolt-commons/src/scriptUtils.ts","webpack:///../../thunderbolt-commons/src/vectorImage/svgParser.ts","webpack:///../../thunderbolt-fetch-shapes/src/constants.ts","webpack:///../../feature-fedops-wix-code-sdk/src/symbols.ts","webpack:///../../feature-environment-wix-code-sdk/src/symbols.ts","webpack:///../../../node_modules/postcss/lib/symbols.js","webpack:///../../feature-custom-url-mapper/src/symbols.ts","webpack:///../../feature-navigation/src/symbols.ts","webpack:///../../feature-search-box/src/symbols.ts","webpack:///../../thunderbolt-commons/src/constants/whitelists.ts","webpack:///../../feature-wix-custom-element-component/src/constants.ts","webpack:///../../thunderbolt-viewer-manager-types/src/symbols.ts","webpack:///../../../node_modules/@wix/panorama-common-shared/dist/esm/constants.js","webpack:///../../thunderbolt-symbols/src/symbols/body.ts","webpack:///../../feature-topology-service/src/symbols.ts","webpack:///../../feature-interactions-service/src/symbols.ts","webpack:///../../../node_modules/has-symbols/index.js","webpack:///../../feature-cookies-manager/src/symbols.ts","webpack:///../../thunderbolt-commons/src/menu.ts","webpack:///../../thunderbolt-commons/src/editorSdkUtils.ts","webpack:///../../feature-custom-css/src/symbols.ts","webpack:///../../thunderbolt-components/src/components/FacebookLikeBox/constants.ts","webpack:///../../feature-components/src/groupByMultipleComponentTypes.ts","webpack:///../../feature-render-indicator/src/symbols.ts","webpack:///../../feature-seo/src/api/constants.ts","webpack:///../../thunderbolt-symbols/src/symbols/core.ts","webpack:///../../thunderbolt-commons/src/transformationsUtils.ts","webpack:///../../thunderbolt-symbols/src/symbols/fetch.ts","webpack:///../../feature-used-platform-apis/src/symbols.ts","webpack:///../../feature-animations-wix-code-sdk/src/symbols.ts","webpack:///../../feature-test-api/src/symbols.ts","webpack:///../../thunderbolt-platform/src/symbols.ts","webpack:///../../feature-client-sdk/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/features/compsLifeCycle/interfaces.ts","webpack:///../../thunderbolt-becky-types/src/constants.ts","webpack:///../../feature-session-manager/src/constants.ts","webpack:///../../../node_modules/@wix/advanced-seo-utils/dist/es/src/private/item-types/bookings-service/constants.js","webpack:///../../feature-co-branding/src/symbols.ts","webpack:///../../thunderbolt-commons/src/commonConfig.ts","webpack:///../../thunderbolt-commons/src/runtimeStyleOverridesManager.ts","webpack:///../../thunderbolt-symbols/src/symbols/page.ts","webpack:///../../../node_modules/@wix/stylable-panel-drivers/dist/stylable-aggregation-constants.js","webpack:///../../feature-location-wix-code-sdk/src/symbols.ts","webpack:///../../thunderbolt-catharsis-extensions/src/features/zIndexCss/constants.ts","webpack:///../../feature-translations/src/symbols.ts","webpack:///../../thunderbolt-commons/src/builder/builderComponentsData.ts","webpack:///../../thunderbolt-symbols/src/symbols/ds/layoutDone.ts","webpack:///../../thunderbolt-ioc/src/ioc/symbols.ts","webpack:///../../thunderbolt-commons/src/ooi/ooiCss.ts","webpack:///../../feature-version-indicator/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/ds/index.ts","webpack:///../../feature-hover-box/src/symbols.ts","webpack:///../../feature-scroll-restoration/src/symbols.ts","webpack:///../../thunderbolt-commons/src/constants/siteAssetsModules.ts","webpack:///../../feature-auto-display-lightbox/src/symbols.ts","webpack:///../../feature-chat/src/symbols.ts","webpack:///../../feature-page-anchors/src/symbols.ts","webpack:///../../feature-custom-css/src/constants.ts","webpack:///../../feature-page-context-service/src/symbols.ts","webpack:///../../feature-assets-loader/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/pageScrollRegistrar.ts","webpack:///../../feature-lightbox/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/reporter.ts","webpack:///../../thunderbolt-commons/src/zIndex.ts","webpack:///../../thunderbolt-commons/src/responsive/layoutToCss.ts","webpack:///../../thunderbolt-commons/src/performance/taskify.ts","webpack:///../../feature-site-wix-code-sdk/src/symbols.ts","webpack:///../../ds-feature-model-updates-invoker/src/symbols.ts","webpack:///../../thunderbolt-commons/src/renderer.ts","webpack:///../../feature-dashboard-wix-code-sdk/src/symbols.ts","webpack:///../../feature-cyclic-tabbing-service/src/symbols.ts","webpack:///../../thunderbolt-commons/src/captchaUtils.ts","webpack:///../../thunderbolt-commons/src/responsive/layoutValuesToCss.ts","webpack:///../../thunderbolt-symbols/src/symbols/metricsReporter.ts","webpack:///../../thunderbolt-symbols/src/features/sessionManager/types.ts","webpack:///../../feature-screen-in/src/symbols.ts","webpack:///../../feature-quick-action-bar/src/symbols.ts","webpack:///../../feature-tpa-commons/src/symbols.ts","webpack:///../../thunderbolt-commons/src/constants/queryParamsWhitelist.ts","webpack:///../../feature-consent-policy-service/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/compEventsRegistrar.ts","webpack:///../../thunderbolt-commons/src/builder/builderSelectorUtils.ts","webpack:///../../../node_modules/data-capsule/dist/es/src/utils/constants.js","webpack:///../../thunderbolt-commons/src/accessibillity.ts","webpack:///../../feature-window-scroll/src/symbols.ts","webpack:///../../thunderbolt-catharsis-extensions/src/utils/constants.ts","webpack:///../../feature-environment-service/src/symbols.ts","webpack:///../../feature-tpa/src/constants.ts","webpack:///../../thunderbolt-commons/src/errors.ts","webpack:///../../../node_modules/@wix/tpa-style-webpack-plugin/dist/runtime/constants.js","webpack:///../../feature-service-registrar/src/symbols.ts","webpack:///../../feature-window-message-registrar/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/reducedMotion.ts","webpack:///../../feature-protected-pages/src/symbols.ts","webpack:///../../thunderbolt-commons/src/monitoring.ts","webpack:///../../feature-authentication-wix-code-sdk/src/symbols.ts","webpack:///../../thunderbolt-catharsis/src/refs/constants.ts","webpack:///../../feature-editor-wix-code-sdk/src/symbols.ts","webpack:///../../feature-page-anchors/src/constants.ts","webpack:///../../feature-triggers-and-reactions/src/constants.ts","webpack:///../../thunderbolt-commons/src/pageUtils.ts","webpack:///../../feature-container-slider-service/src/symbols.ts","webpack:///../../feature-motion/src/symbols.ts","webpack:///../../thunderbolt-commons/src/retainedQueryParams.ts","webpack:///../../feature-debug/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/platformConfig.ts","webpack:///../../thunderbolt-commons/src/css.ts","webpack:///../../thunderbolt-symbols/src/symbols/tpa.ts","webpack:///../../thunderbolt-symbols/src/features/compRefs/interfaces.ts","webpack:///../../feature-scroll-to-anchor/src/constants.ts","webpack:///../../thunderbolt-commons/src/tpa/runtimeTpaCompIdBuilder.ts","webpack:///../../feature-session-manager/src/symbols.ts","webpack:///../../feature-link-utils-service/src/symbols.ts","webpack:///../../feature-router/src/resolveUrl.ts","webpack:///../../thunderbolt-commons/src/screenSizeUtils.ts","webpack:///../../../node_modules/@wix/panorama-client/dist/esm/plugins/sentry/sentry-plugin-constants.js","webpack:///../../feature-wix-custom-element-component/src/symbols.ts","webpack:///../../feature-editor-elements-dynamic-theme/src/symbols.ts","webpack:///../../feature-pages/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/features/compEventsRegistrar/interfaces.ts","webpack:///../../feature-ooi-tpa-shared-config/src/symbols.ts","webpack:///../../feature-site-members/src/constants.ts","webpack:///../../thunderbolt-commons/src/bi/panoramaConfig.ts","webpack:///../../thunderbolt-catharsis-extensions/src/features/variables/constants.ts","webpack:///../../feature-qa-api/src/symbols.ts","webpack:///../../feature-tpa-module-provider/src/symbols.ts","webpack:///../../feature-ssr-cache/src/symbols.ts","webpack:///../../feature-react-renderer/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/currentLanguage.ts","webpack:///../../../node_modules/@wix/panorama-client/dist/esm/plugins/batch/batch-constants.js","webpack:///../../thunderbolt-symbols/src/symbols/siteAssetsClient.ts","webpack:///../../../node_modules/has-symbols/shams.js","webpack:///../../../node_modules/message-channel/dist/src/constants.js","webpack:///../../thunderbolt-symbols/src/symbols/service.ts","webpack:///../../thunderbolt-symbols/src/types/headContent.ts","webpack:///../../thunderbolt-commons/src/ooi/styleParamsOverrides.ts","webpack:///../../thunderbolt-commons/src/ooi/index.ts","webpack:///../../feature-router/src/symbols.ts","webpack:///../../feature-canvas/src/symbols.ts","webpack:///../../feature-mobile-actions-menu/src/symbols.ts","webpack:///../../../node_modules/@wix/panorama-client/dist/esm/constants.js","webpack:///../../feature-landing-page/src/symbols.ts","webpack:///../../thunderbolt-commons/src/data.ts","webpack:///../../feature-image-placeholder-service/src/symbols.ts","webpack:///../../feature-site-scroll-blocker/src/symbols.ts","webpack:///../../feature-components-registry/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/router.ts","webpack:///../../thunderbolt-symbols/src/symbols/styleIds.ts","webpack:///../../feature-reporter/src/symbols.ts","webpack:///../../thunderbolt-commons/src/vectorImage/svgFiltersParts.ts","webpack:///../../thunderbolt-commons/src/vectorImage/svgFiltersTemplates.ts","webpack:///../../thunderbolt-commons/src/vectorImage/index.ts","webpack:///../../thunderbolt-commons/src/vectorImage/svgFilters.ts","webpack:///../../thunderbolt-commons/src/withCache.ts","webpack:///../../thunderbolt-commons/src/fetchApi.ts","webpack:///../../thunderbolt-commons/src/experiments.ts","webpack:///../../thunderbolt-becky-root/src/constants.ts","webpack:///../../feature-widget-wix-code-sdk/src/symbols.ts","webpack:///../../feature-tiny-menu/src/symbols.ts","webpack:///../../thunderbolt-commons/src/promiseUtils.ts","webpack:///../../feature-reporter/src/channels/constants.ts","webpack:///../../thunderbolt-components/src/core/carmi/InputUtils/constants.ts","webpack:///../../feature-site-members-wix-code-sdk/src/symbols.ts","webpack:///../../feature-image-zoom/src/symbols.ts","webpack:///../../feature-reporter/src/constants.ts","webpack:///../../feature-warmup-data/src/symbols.ts","webpack:///../../feature-builder-component/src/constants.ts","webpack:///../../feature-components-qa-api/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/captcha.ts","webpack:///../../feature-router-fetch/src/symbols.ts","webpack:///../../feature-interactions-service/src/constants.ts","webpack:///../../feature-triggers-and-reactions/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/ds/manifest.ts","webpack:///../../thunderbolt-commons/src/color.ts","webpack:///../../thunderbolt-commons/src/logger/loggerUtils.ts","webpack:///../../../node_modules/@wix/web-bi-logger/dist/src/constants.js","webpack:///../../thunderbolt-commons/src/envUtils.ts","webpack:///../../thunderbolt-commons/src/refUtils.ts","webpack:///../../feature-slider-gallery/src/symbols.ts","webpack:///../../feature-animations/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/navigationManager.ts","webpack:///../../feature-named-signals-service/src/symbols.ts","webpack:///../../feature-translations-service/src/symbols.ts","webpack:///../../feature-router/src/urlUtils.ts","webpack:///../../feature-page-transitions/src/symbols.ts","webpack:///../../feature-tpa/src/symbols.ts","webpack:///../../feature-structure-api/src/symbols.ts","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/variable-placeholders.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/page-mapping.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/url-mappings-keys.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/product-page.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/regex-patterns.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/legacy-mappings.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/post.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/blog.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/forum.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/group.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/bookings.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/supported-verticals/challenges.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/verticals-mapping.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/main-mapping-pattern.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/verticals/vertical-mappings-utils.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-url-mapping.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/errors.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/key.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/item-data.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/required-variables-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/build-customized-url.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/build-custom-url-validators.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/get-url-path.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/constants/valid-base-url.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/sort-url-mappings-segments.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/types.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/get-mapping-regex.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/resolve-mapping-variables.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-mapping-variables.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-matched-mapping.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/legacy/checkers/legacy-blog-url-checker.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/utils/legacy/get-legacy-url-segments.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/url.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-customized-url-segments.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/param-validators/get-url-segments-validators.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-url-page-id.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/no-spaces-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/max-length-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/no-empty-segment-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/contain-main-variable-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/only-one-variable-per-segment-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/utils.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/only-unique-published-url-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/only-unique-mapping-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/no-invalid-characters.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/no-starting-or-ending-slash-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validators/only-unique-saved-url-validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/validator/validator.js","webpack:///../../../node_modules/@wix/url-mapper-utils/dist/es/src/get-default-mapping.js","webpack:///../../feature-ooi/src/symbols.ts","webpack:///../../thunderbolt-commons/src/fonts/fontsParser.ts","webpack:///../../thunderbolt-commons/src/textPresets.ts","webpack:///../../thunderbolt-symbols/src/symbols/stores.ts","webpack:///../../thunderbolt-symbols/src/symbols/ds/beckyPropsInitialStore.ts","webpack:///../../feature-mpa-navigation/src/symbols.ts","webpack:///../../thunderbolt-catharsis-ioc/src/symbols.ts","webpack:///../../feature-remote-structure-renderer/src/symbols.ts","webpack:///../../feature-page-scroll/src/symbols.ts","webpack:///../../thunderbolt-commons/src/compPathUtils.ts","webpack:///../../thunderbolt-commons/src/attributes.ts","webpack:///../../thunderbolt-commons/src/stylableMetadataUtils.ts","webpack:///../../thunderbolt-commons/src/builder/builderExternalDependencies.ts","webpack:///../../thunderbolt-commons/src/componentUtils.ts","webpack:///../../feature-password-protected-page/src/symbols.ts","webpack:///../../feature-multilingual/src/symbols.ts","webpack:///../../feature-click-handler-registrar/src/symbols.ts","webpack:///../../thunderbolt-commons/src/crossOriginMessageUtils.ts","webpack:///../../thunderbolt-symbols/src/symbols/head.ts","webpack:///../../thunderbolt-symbols/src/symbols/ds/platform.ts","webpack:///../../feature-svg-loader/src/constants.ts","webpack:///../../feature-platform-pubsub/src/symbols.ts","webpack:///../../feature-dom-store/src/symbols.ts","webpack:///../../feature-wix-embeds-api/src/symbols.ts","webpack:///../../thunderbolt-components/src/components/GoogleMap/constants.ts","webpack:///../../feature-navigation-phases/src/symbols.ts","webpack:///../../feature-background-scrub/src/symbols.ts","webpack:///../../feature-content-reflow/src/symbols.ts","webpack:///../../thunderbolt-commons/src/errorPages.ts","webpack:///../../thunderbolt-commons/src/ooi/IsOOI.ts","webpack:///../../../node_modules/@wix/bsi-manager/dist/esm/constants.js","webpack:///../../feature-seo-wix-code-sdk/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/quickActionsBar.ts","webpack:///../../thunderbolt-commons/src/repeater/getNextCell.ts","webpack:///../../feature-wixapps/src/symbols.ts","webpack:///../../feature-cyclic-tabbing/src/symbols.ts","webpack:///../../thunderbolt-symbols/src/symbols/dynamicLoader.ts","webpack:///../../thunderbolt-commons/src/tpa/tpaFullScreenUtils.ts","webpack:///../../thunderbolt-commons/src/links.ts","webpack:///../../../node_modules/comlink/dist/esm/comlink.mjs","webpack:///../../thunderbolt-commons/src/repeater/getRepeaterCells.ts"],"sourcesContent":["import { fontsMetadata } from '@wix/fonts-data'\n\nexport function getFontFamilyWithFallbacks(fontFamily: string): string {\n\tif (!fontFamily) {\n\t\treturn ''\n\t}\n\n\tconst cleanFontName = fontFamily.replace(/\\+/g, ' ').toLowerCase()\n\tconst [highestPriorityFont] = cleanFontName.split(',')\n\tconst metaData = fontsMetadata[highestPriorityFont]\n\tif (!metaData) {\n\t\treturn fontFamily\n\t}\n\treturn [highestPriorityFont, metaData.fallbacks, metaData.genericFamily].filter((t) => t).join(',')\n}\n","export const ComponentsStylesOverridesSymbol = Symbol('ComponentsStylesOverrides')\n","import type { CompProps, IPropsStore } from '@wix/thunderbolt-symbols'\n\nexport const REPEATER_DELIMITER = '__'\n\nexport const isRepeatedComponent = (compId: string) => compId.includes(REPEATER_DELIMITER)\n\nexport const getDisplayedId = (originalId: string, itemId: string) => `${originalId}${REPEATER_DELIMITER}${itemId}`\n\nexport const getInflatedItemId = (itemId: string, outerItemId: string) =>\n\touterItemId ? `${itemId}${REPEATER_DELIMITER}${outerItemId}` : itemId\n\nexport const getFullId = (id: string) => id.split(REPEATER_DELIMITER, 1)[0]\n\nexport const getTemplateItemId = (id: string) => id.split(REPEATER_DELIMITER, 2)[1]\n\nexport const getDisplayedItemId = (id: string) => {\n\tconst [_compId, ...restItemIds] = id.split(REPEATER_DELIMITER)\n\treturn restItemIds.join(REPEATER_DELIMITER)\n}\n\nexport const getInnerMostItemId = (itemId: string) => itemId.split(REPEATER_DELIMITER, 1)[0]\n\nexport const getTemplateCompIdAndRepeaterScope = (id: string) => {\n\tconst [templateCompId, ...itemIds] = id.split(REPEATER_DELIMITER)\n\treturn { templateCompId, scope: itemIds }\n}\n\nexport const getFullItemId = (id: string) => {\n\tconst delimiterIndex = id.indexOf(REPEATER_DELIMITER)\n\treturn delimiterIndex !== -1 ? id.slice(delimiterIndex + REPEATER_DELIMITER.length) : ''\n}\n\nexport const getOuterItemId = (id: string) => {\n\tconst [_compId, _innerItemId, ...outerItemIds] = id.split(REPEATER_DELIMITER)\n\treturn outerItemIds.join(REPEATER_DELIMITER)\n}\n\nexport const getItemOuterItemId = (id: string) => {\n\tconst [_innerItemId, ...outerItemIds] = id.split(REPEATER_DELIMITER)\n\treturn outerItemIds.join(REPEATER_DELIMITER)\n}\n\nexport const isDisplayedOnly = (id: string) => getFullId(id) !== id\n\nexport const isRepeater = (compType: string) => {\n\tconst tail = compType.split('.').pop()\n\treturn tail === 'Repeater' || tail === 'DynamicRepeater'\n}\n\nexport const hasTemplateContainer = (compProps: CompProps) => {\n\tconst templateContainers = (compProps && compProps.templateContainers) ?? {}\n\treturn Object.keys(templateContainers).length > 0\n}\n\nexport const isRepeatedComponentOfTemplate = (templateCompId: string) => {\n\tconst templatePrefix = `${templateCompId}${REPEATER_DELIMITER}`\n\treturn (compId: string) => compId.startsWith(templatePrefix)\n}\n\nexport const getRepeatedCompSelector = (compId: string) =>\n\t// @ts-ignore\n\tglobalThis.shouldUseClassSelectors ? `.${compId}` : `[id^=\"${compId}${REPEATER_DELIMITER}\"]`\n\n// 'itemInner__itemMiddle__itemOuter' => [ 'itemInner__itemMiddle__itemOuter', 'itemInner__itemMiddle', 'itemInner' ]\nexport const getRepeaterItemsAncestorChain = (itemId: string) => {\n\tconst repeaterItemsAncestorChain: Array<string> = []\n\titemId\n\t\t.split(REPEATER_DELIMITER)\n\t\t.forEach((item, index) =>\n\t\t\tindex === 0\n\t\t\t\t? repeaterItemsAncestorChain.push(item)\n\t\t\t\t: repeaterItemsAncestorChain.push(getDisplayedId(repeaterItemsAncestorChain[index - 1], item))\n\t\t)\n\treturn repeaterItemsAncestorChain.reverse()\n}\n\nexport const getRepeaterItemsFromProps = (\n\trepeaterId: string,\n\tgetProps: IPropsStore['get']\n): Array<string> | undefined => {\n\tconst items = getProps(repeaterId)?.items as Array<string> | undefined\n\tif (!isDisplayedOnly(repeaterId)) {\n\t\treturn items\n\t}\n\tif (items) {\n\t\tconst { scope } = getTemplateCompIdAndRepeaterScope(repeaterId)\n\t\treturn items.map((itemId) => {\n\t\t\treturn getInflatedItemId(itemId, scope.join(REPEATER_DELIMITER))\n\t\t})\n\t}\n\tconst { templateCompId: repeaterTemplate, scope } = getTemplateCompIdAndRepeaterScope(repeaterId)\n\tscope.pop()\n\tconst outerScope = scope.join(REPEATER_DELIMITER)\n\treturn getRepeaterItemsFromProps(\n\t\touterScope ? getDisplayedId(repeaterTemplate, outerScope) : repeaterTemplate,\n\t\tgetProps\n\t)\n}\n","export const name = 'consentPolicy' as const\n\nexport const ConsentPolicySymbol = Symbol('ConsentPolicy')\n","export const name = 'wixEcomFrontendWixCodeSdk' as const\nexport const namespace = 'ecom' as const\n","export const name = 'navigationManager' as const\nexport { NavigationManagerSymbol } from '@wix/thunderbolt-symbols'\n","/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on documentMode: https://www.geeksforgeeks.org/html-dom-documentmode-property/\n */\nexport const isIE = (window: Window): boolean => {\n\t// @ts-ignore - documentMode is a feature only in IE\n\treturn !!window && !!window.document && !!window.document.documentMode\n}\n\n/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on edge user agent: https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-string\n */\nexport const isEdge = (window: Window): boolean => getUserAgent(window).indexOf('edg') > -1\n\n/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on firefox user agent: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox\n */\nexport const isFirefox = (window: Window): boolean => getUserAgent(window).indexOf('firefox') > -1\n\n/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on safari user agent: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent#Safari_UA_string\n * notice that safari user agent has \"Version\" directive\n */\nexport const isSafari = (window: Window): boolean => {\n\tconst userAgent = getUserAgent(window)\n\treturn userAgent.indexOf('safari') > -1 && userAgent.indexOf('version') > -1\n}\n\n/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on safari user agent: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent#Safari_UA_string\n */\nexport const getSafariMajorVersion = (window: Window): number => {\n\tif (isSafari(window)) {\n\t\tconst userAgent = getUserAgent(window)\n\t\tlet version: any = userAgent.split(' ')\n\t\tversion = version.find((directive: string) => directive.startsWith('version/'))\n\t\tversion = version.split('/')[1]\n\t\treturn parseInt(version, 10)\n\t}\n\treturn -1\n}\n\n/**\n * @deprecated util method.\n * Prefer using feature detection over browser detection when possible.\n * see documentation on chrome user agent: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent#chrome_ua_string\n */\nexport const isChrome = (window: Window): boolean => getUserAgent(window).indexOf('chrome') > -1\n\n/**\n *\n * Chrome on ios user agent https://developer.chrome.com/multidevice/user-agent#chrome_for_ios_user_agent\n */\n\nexport const isChromeOnIos = (window: Window): boolean => {\n\tconst userAgent = getUserAgent(window)\n\treturn userAgent.indexOf('safari') > -1 && userAgent.indexOf('crios') > -1\n}\n\nconst getUserAgent = (window: Window): string =>\n\twindow && window.navigator && window.navigator.userAgent ? window.navigator.userAgent.toLowerCase() : ''\n\nconst getPlatform = (window: Window): string => (window && window.navigator && window.navigator.platform) || ''\n\nexport const isIOS11Device = (window: Window) => {\n\tconst userAgent = getUserAgent(window)\n\treturn /ip(hone|od|ad).*os 11/.test(userAgent)\n}\n\nexport const isIOS = (window: Window): boolean => {\n\tconst platform = getPlatform(window)\n\treturn !!platform && /iPad|iPhone|iPod/.test(platform)\n}\n\nexport const getIOSVersion = (window: Window) => {\n\tconst userAgent = getUserAgent(window)\n\tconst iOSRegex = /(iphone|ipod|ipad).*os (\\d+)_/\n\tif (!iOSRegex.test(userAgent)) {\n\t\treturn NaN\n\t}\n\n\tconst iOSgroups = userAgent.match(iOSRegex)\n\treturn iOSgroups && Number(iOSgroups[2])\n}\n\nexport const isFacebookApp = (window: Window): boolean => {\n\tconst userAgent = getUserAgent(window)\n\treturn userAgent.includes('fban') || userAgent.includes('fbav')\n}\n\nexport const isInstagramApp = (window: Window): boolean => {\n\tconst userAgent = getUserAgent(window)\n\treturn userAgent.includes('instagram')\n}\n\n/**\n * Specific check for iPad as Safari on iOS >=13 uses desktop user-agent\n */\nexport const getIsIpad = (window: Window) => {\n\tconst userAgent = window.navigator.userAgent.toLowerCase()\n\tconst ipadInUserAgent = userAgent.indexOf('ipad') !== -1\n\tconst macInUserAgent = userAgent.indexOf('mac') !== -1\n\n\tif (!ipadInUserAgent && macInUserAgent && window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2) {\n\t\treturn true\n\t}\n\n\treturn ipadInUserAgent\n}\n\nexport function isIphone(window: Window): boolean {\n\treturn /iPhone/.test(window.navigator.userAgent)\n}\n","export const TPA_HANDLER_EMPTY_RESPONSE = Symbol('TPA_HANDLER_EMPTY_RESPONSE')\n\nexport const PERMITTED_FULL_SCREEN_TPAS_IN_MOBILE = {\n\tWIX_CHAT: '14517e1a-3ff0-af98-408e-2bd6953c36a2',\n\tWIX_RESTAURANTS: '13e8d036-5516-6104-b456-c8466db39542',\n}\n\nexport const LINK_TYPES = {\n\tPAGE_LINK: 'PageLink',\n\tEXTERNAL_LINK: 'ExternalLink',\n\tANCHOR_LINK: 'AnchorLink',\n\tLOGIN_TO_WIX_LINK: 'LoginToWixLink',\n\tEMAIL_LINK: 'EmailLink',\n\tPHONE_LINK: 'PhoneLink',\n\tWHATSAPP_LINK: 'WhatsAppLink',\n\tDOCUMENT_LINK: 'DocumentLink',\n\tSWITCH_MOBILE_VIEW_MODE: 'SwitchMobileViewMode',\n\tDYNAMIC_PAGE_LINK: 'DynamicPageLink',\n\tADDRESS_LINK: 'AddressLink',\n\tMENU_HEADER: 'MenuHeader',\n}\n","export const ALL_LANGUAGE_CODES = {\n\tar: 'ar',\n\tbg: 'bg',\n\tca: 'ca',\n\tzh: 'zh',\n\tcs: 'cs',\n\tda: 'da',\n\tnl: 'nl',\n\tfi: 'fi',\n\tfr: 'fr',\n\tde: 'de',\n\tel: 'el',\n\the: 'he',\n\thi: 'hi',\n\thu: 'hu',\n\tid: 'id',\n\tit: 'it',\n\tja: 'ja',\n\tjp: 'jp',\n\tko: 'ko',\n\tkr: 'kr',\n\tlt: 'lt',\n\tms: 'ms',\n\tno: 'no',\n\tpl: 'pl',\n\tpt: 'pt',\n\tro: 'ro',\n\tru: 'ru',\n\tes: 'es',\n\tsk: 'sk',\n\tsl: 'sl',\n\tsv: 'sv',\n\ttl: 'tl',\n\tth: 'th',\n\ttr: 'tr',\n\tuk: 'uk',\n\tvi: 'vi',\n\thr: 'hr',\n\tlv: 'lv',\n\ten: 'en',\n} as const\n\nexport const RTL_LANGUAGES = [\n\t'ar',\n\t'arc',\n\t'bcc',\n\t'bqi',\n\t'ckb',\n\t'dv',\n\t'fa',\n\t'glk',\n\t'ha',\n\t'he',\n\t'khw',\n\t'ks',\n\t'ku',\n\t'mzn',\n\t'pnb',\n\t'ps',\n\t'sd',\n\t'ug',\n\t'ur',\n\t'yi',\n]\n","import { RTL_LANGUAGES } from './constants'\nimport type { Language, LanguageDirection } from '@wix/thunderbolt-becky-types'\n\nexport const isRTL = (language: Language) => RTL_LANGUAGES.includes(extractLanguageCode(language))\n\nexport const getDirection = (language: Language): LanguageDirection =>\n\tisRTL(language) ? ('rtl' as const) : ('ltr' as const)\n\nconst extractLanguageCode = (language: Language) => {\n\treturn language && language.split('-')[0]\n}\n","export const platformUpdatesFunctionsNames = ['setControllerProps', 'updateProps', 'updateStyles', 'updateStructure', 'handleRepeaterDataUpdate']\n","export const name = 'stickyToComponent' as const\nexport const StickyToComponentSymbol = Symbol('StickyToComponent')\nexport const ShouldObserveHeaderHandlerSymbol = Symbol('ShouldObserveHeaderHandler')\n","export const name = 'tpaWorkerFeature' as const\nexport const TpaWorkerSymbol = Symbol('TpaWorker')\n","/**\n A LIST CONTAIN THE EVENTS THAT WILL NOT BE MUTED\n */\n\nexport const UNSAMPLED_EVENTS: Set<string> = new Set([\n\t'navigation_blocker_manager',\n\t'page-navigation',\n\t'page_features_loaded',\n\t'byoc-load-css',\n\t'byoc-load-component-retry',\n\t'byoc-load-component',\n\t'multilingual_init',\n\t'partially_visible',\n\t'widget_will_load',\n\t'script_loaded',\n\t'init_app_for_page',\n\t'create_controllers',\n\t'controller_page_ready',\n\t'await_controller_promise',\n\t'controller_script_loaded',\n\t'platform_error',\n\t'translationCorruption',\n\t'execute-fallback-thunderbolt-css',\n\t'execute-fallback-thunderbolt-platform',\n\t'execute-fallback-thunderbolt-features',\n\t'execute-fallback-thunderbolt-site-map',\n\t'execute-fallback-thunderbolt-byref',\n\t'platform_execute-fallback-thunderbolt-css',\n\t'platform_execute-fallback-thunderbolt-platform',\n\t'platform_execute-fallback-thunderbolt-features',\n\t'platform_execute-fallback-thunderbolt-site-map',\n\t'platform_execute-fallback-thunderbolt-byref',\n\t'react_render_error',\n\t'react_18',\n\t'components-under-fold',\n\t'partialRouteMatching',\n\t'fetchServerCss',\n\t'fetchClientCss',\n\t'bi_test_value',\n\t'unused_preloads',\n\t'remove-item-interaction',\n\t'update-quantity-interaction',\n\t'apply-coupon-interaction',\n\t'book-now',\n\t'bookings-viewer-cache',\n\t'query-availability',\n\t'page-navigation-inner-route',\n])\n/**\n A LIST CONTAIN THE EVENTS THAT WILL ALWAYS BE MUTED\n */\nexport const MUTING_LIST: Set<string> = new Set([\n\t// APPEARS IN THE FEDOPS_WHITELIST\n\t// 'react_render_error',\n\t// 'platform',\n\t// 'page-navigation',\n\t// 'execute-fallback-thunderbolt-css',\n\t// 'execute-fallback-thunderbolt-features',\n\t// 'execute-fallback-thunderbolt-platform',\n\t// 'execute-fallback-thunderbolt-site-map',\n\t// 'cdn-hit-cloudfront-thunderbolt-byref',\n\t// 'execute-fallback-thunderbolt-byref',\n\n\t'execute-thunderbolt-byref',\n\t'execute-thunderbolt-css',\n\t'execute-thunderbolt-features',\n\t'execute-thunderbolt-mobile-app-builder',\n\t'execute-thunderbolt-platform',\n\t'execute-thunderbolt-site-map',\n\t'execute-fallback-thunderbolt-mobile-app-builder',\n\t'cdn-hit-cloudfront-thunderbolt-css',\n\t'cdn-hit-cloudfront-thunderbolt-features',\n\t'cdn-hit-cloudfront-thunderbolt-mobile-app-builder',\n\t'cdn-hit-cloudfront-thunderbolt-platform',\n\t'cdn-hit-cloudfront-thunderbolt-site-map',\n\t'cdn-hit-google-thunderbolt-byref',\n\t'cdn-hit-google-thunderbolt-css',\n\t'cdn-hit-google-thunderbolt-features',\n\t'cdn-hit-google-thunderbolt-mobile-app-builder',\n\t'cdn-hit-google-thunderbolt-platform',\n\t'cdn-hit-google-thunderbolt-site-map',\n\t'cdn-hit-unkown-thunderbolt-byref',\n\t'cdn-hit-unkown-thunderbolt-css',\n\t'cdn-hit-unkown-thunderbolt-features',\n\t'cdn-hit-unkown-thunderbolt-mobile-app-builder',\n\t'cdn-hit-unkown-thunderbolt-platform',\n])\n\nexport const AppsMutingWhiteList: Set<string> = new Set([\n\t'1380b703-ce81-ff05-f115-39571d94dfcd', // ECOM\n])\n\nexport const EVENTS_REPORTED_TO_BI: Set<string> = new Set([\n\t'checkout-page-loaded',\n\t'buy-now',\n\t'checkout-button-clicked',\n\t'cart-icon-loaded',\n\t'line-items-loaded',\n\t'page-loaded',\n\t'component_loader',\n\t'init_page',\n\t'main_loading',\n\t'load_environment',\n\t'load_renderer',\n\t'tb_client',\n\t'client_render',\n\t'dom_ready',\n\t'render_body',\n\t'script_loaded',\n\t'init_app_for_page',\n\t'create_controllers',\n\t'controller_page_ready',\n\t'await_controller_promise',\n\t'router_navigate',\n\t'structureAPI_addShellStructure',\n\t'features_appWillMount',\n\t'loadSiteFeatures_renderFeaturesOnly',\n\t'loadMasterPageFeaturesConfigs',\n\t'loadDynamicModel',\n\t'loadSiteFeatures',\n\t'container_get_phase',\n\t'thunderbolt_ready',\n\t'partially_visible',\n\t'hidden',\n\t'createComponentsRegistryCSR',\n\t'runThunderbolt-client',\n\t'browser_not_supported',\n\t'fetch_model',\n\t'load_main_assets',\n\t'page_features_loaded',\n\t'multilingual_init',\n\t'platform',\n\t'platform_initialisation',\n\t'platform_runApplications',\n\t'platform_init_modules',\n\t'translationCorruption',\n\t'components-under-fold',\n\t'execute-fallback-thunderbolt-css',\n\t'execute-fallback-thunderbolt-platform',\n\t'execute-fallback-thunderbolt-features',\n\t'execute-fallback-thunderbolt-site-map',\n\t'execute-fallback-thunderbolt-byref',\n\t'platform_execute-fallback-thunderbolt-css',\n\t'platform_execute-fallback-thunderbolt-platform',\n\t'platform_execute-fallback-thunderbolt-features',\n\t'platform_execute-fallback-thunderbolt-site-map',\n\t'platform_execute-fallback-thunderbolt-byref',\n\t'byoc-load-component',\n\t'byoc-load-component-retry',\n\t'byoc-load-css',\n\t'react_render_error',\n\t'site_assets_execute_css',\n\t'page-navigation',\n\t'navigation_blocker_manager',\n\t'widget-load-editor-sdk',\n\t'platform_get_page_css',\n\t'platform_elementory_support_get_json',\n\t'platform_custom_router_fetch_route_info',\n\t'siteMemberId_is_defined_while_smToken_is_not_defined',\n\t'remove-item-interaction',\n\t'update-quantity-interaction',\n\t'apply-coupon-interaction',\n\t'book-now',\n\t'bookings-viewer-cache',\n\t'query-availability',\n\t'page-navigation-inner-route',\n])\n\nexport const APP_NAME_FEDOPS_WHITELIST: Set<string> = new Set(['input-elements', 'wixstores-wix-code-sdk'])\n","export const SsrLoggerSymbol = Symbol('SsrLogger')\n","export const whitelistedEndpoints = [\n\tnew URL('https://sled.wix.dev'),\n\tnew URL('https://bo.wix.com/suricate/tunnel/'),\n\tnew URL('https://localhost'),\n\tnew URL('http://localhost'),\n]\n","import { whitelistedEndpoints } from './whitelistedEndpoints'\n\nexport const EditorElementsPath = 'services/editor-elements/dist/'\n\nexport const isSafeUrl = (urlFromTestsOrFileVersion: URL, validUrls: Array<URL> = whitelistedEndpoints) => {\n\treturn validUrls.some((endpoint) => {\n\t\treturn (\n\t\t\turlFromTestsOrFileVersion.hostname === endpoint.hostname &&\n\t\t\turlFromTestsOrFileVersion.protocol === endpoint.protocol &&\n\t\t\turlFromTestsOrFileVersion.pathname.startsWith(endpoint.pathname)\n\t\t)\n\t})\n}\n\nexport const getEditorElementsAssetUrl = (urlFromTestsOrFileVersion: string, fileRepoUrl: string): string => {\n\tconst baseUrl = new URL(EditorElementsPath, fileRepoUrl)\n\tconst url = new URL(urlFromTestsOrFileVersion, baseUrl)\n\tconst validUrls = [...whitelistedEndpoints, baseUrl]\n\tif (isSafeUrl(url, validUrls)) {\n\t\treturn url.href\n\t}\n\n\tthrow new Error('Invalid editor-elements url')\n}\n","export { getRepeaterCells } from './getRepeaterCells'\nexport { getNextCell } from './getNextCell'\n\nexport const supportedKeyboardKeys = ['ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight', 'Home', 'End']\n\nexport type IdIndexMapType = Record<string, { row: number; column: number }>\nexport type CellsMapType = Array<Array<HTMLElement>>\n","export const MODES_TYPE: { [index: string]: string } = {\n\thover: 'HOVER',\n\tdefault: 'DEFAULT',\n}\n\nexport const HOVER_SUFFIX = ':hover'\n\nexport const DEFAULT_DATA_MODE = '[data-mode=default]'\n\nexport const HOVER_DATA_MODE = '[data-mode=hover]'\n\nexport const getHoverCompId = (compId: string): string => `${compId}${HOVER_SUFFIX}`\n\nexport const getDefaultCompId = (compId: string): string => (compId ? compId.replace(HOVER_SUFFIX, '') : compId)\n\nexport const isDefaultCompId = (compId: string): boolean => !compId.endsWith(HOVER_SUFFIX)\n\nconst COMP_SELECTOR_PLACEHOLDER = '#<%= compId %>'\n\nexport const compIdToCssSelector = (compId: string, shouldReturnPlaceholderSelector: boolean): string => {\n\tconst defaultCompId = getDefaultCompId(compId)\n\tconst fallbackSelector = shouldReturnPlaceholderSelector ? `${COMP_SELECTOR_PLACEHOLDER}` : `#${compId}`\n\treturn compId.endsWith(HOVER_SUFFIX) ? `${HOVER_DATA_MODE} #${defaultCompId}` : fallbackSelector\n}\n","export const name = 'environment' as const\n","export const BusinessLoggerSymbol = Symbol('BusinessLogger')\n","export const BaseComponentSymbol = Symbol('BaseComponent')\n","export const name = 'siteThemeService' as const\nexport const VIEWER_SERVICE_PACKAGE_NAME = '@wix/viewer-service-site-theme' as const\n","export const name = 'businessLogger' as const\nexport const BsiManagerSymbol = Symbol('BsiManager')\n","export const name = 'captcha' as const\n","export const name = 'menuContainer' as const\nexport const MenuContainerHooksSymbol = Symbol('MenuContainerHooks')\n","/**\n * Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *     http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n  Endpoint,\n  EventSource,\n  Message,\n  MessageType,\n  PostMessageWithOrigin,\n  WireValue,\n  WireValueType,\n} from \"./protocol\";\nexport { Endpoint };\n\nexport const proxyMarker = Symbol(\"Comlink.proxy\");\nexport const createEndpoint = Symbol(\"Comlink.endpoint\");\nexport const releaseProxy = Symbol(\"Comlink.releaseProxy\");\n\nconst throwMarker = Symbol(\"Comlink.thrown\");\n\n/**\n * Interface of values that were marked to be proxied with `comlink.proxy()`.\n * Can also be implemented by classes.\n */\nexport interface ProxyMarked {\n  [proxyMarker]: true;\n}\n\n/**\n * Takes a type and wraps it in a Promise, if it not already is one.\n * This is to avoid `Promise<Promise<T>>`.\n *\n * This is the inverse of `Unpromisify<T>`.\n */\ntype Promisify<T> = T extends Promise<unknown> ? T : Promise<T>;\n/**\n * Takes a type that may be Promise and unwraps the Promise type.\n * If `P` is not a Promise, it returns `P`.\n *\n * This is the inverse of `Promisify<T>`.\n */\ntype Unpromisify<P> = P extends Promise<infer T> ? T : P;\n\n/**\n * Takes the raw type of a remote property and returns the type that is visible to the local thread on the proxy.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions.\n * See https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype RemoteProperty<T> =\n  // If the value is a method, comlink will proxy it automatically.\n  // Objects are only proxied if they are marked to be proxied.\n  // Otherwise, the property is converted to a Promise that resolves the cloned value.\n  T extends Function | ProxyMarked ? Remote<T> : Promisify<T>;\n\n/**\n * Takes the raw type of a property as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This is the inverse of `RemoteProperty<T>`.\n *\n * Note: This needs to be its own type alias, otherwise it will not distribute over unions. See\n * https://www.typescriptlang.org/docs/handbook/advanced-types.html#distributive-conditional-types\n */\ntype LocalProperty<T> = T extends Function | ProxyMarked\n  ? Local<T>\n  : Unpromisify<T>;\n\n/**\n * Proxies `T` if it is a `ProxyMarked`, clones it otherwise (as handled by structured cloning and transfer handlers).\n */\nexport type ProxyOrClone<T> = T extends ProxyMarked ? Remote<T> : T;\n/**\n * Inverse of `ProxyOrClone<T>`.\n */\nexport type UnproxyOrClone<T> = T extends RemoteObject<ProxyMarked>\n  ? Local<T>\n  : T;\n\n/**\n * Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread\n * when proxied with `Comlink.proxy()`.\n *\n * This does not handle call signatures, which is handled by the more general `Remote<T>` type.\n *\n * @template T The raw type of a remote object as seen in the other thread.\n */\nexport type RemoteObject<T> = { [P in keyof T]: RemoteProperty<T[P]> };\n/**\n * Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function\n * argument) and returns the type that the local thread has to supply.\n *\n * This does not handle call signatures, which is handled by the more general `Local<T>` type.\n *\n * This is the inverse of `RemoteObject<T>`.\n *\n * @template T The type of a proxied object.\n */\nexport type LocalObject<T> = { [P in keyof T]: LocalProperty<T[P]> };\n\n/**\n * Additional special comlink methods available on each proxy returned by `Comlink.wrap()`.\n */\nexport interface ProxyMethods {\n  [createEndpoint]: () => Promise<MessagePort>;\n  [releaseProxy]: () => void;\n}\n\n/**\n * Takes the raw type of a remote object, function or class in the other thread and returns the type as it is visible to\n * the local thread from the proxy return value of `Comlink.wrap()` or `Comlink.proxy()`.\n */\nexport type Remote<T> =\n  // Handle properties\n  RemoteObject<T> &\n    // Handle call signature (if present)\n    (T extends (...args: infer TArguments) => infer TReturn\n      ? (\n          ...args: { [I in keyof TArguments]: UnproxyOrClone<TArguments[I]> }\n        ) => Promisify<ProxyOrClone<Unpromisify<TReturn>>>\n      : unknown) &\n    // Handle construct signature (if present)\n    // The return of construct signatures is always proxied (whether marked or not)\n    (T extends { new (...args: infer TArguments): infer TInstance }\n      ? {\n          new (\n            ...args: {\n              [I in keyof TArguments]: UnproxyOrClone<TArguments[I]>;\n            }\n          ): Promisify<Remote<TInstance>>;\n        }\n      : unknown) &\n    // Include additional special comlink methods available on the proxy.\n    ProxyMethods;\n\n/**\n * Expresses that a type can be either a sync or async.\n */\ntype MaybePromise<T> = Promise<T> | T;\n\n/**\n * Takes the raw type of a remote object, function or class as a remote thread would see it through a proxy (e.g. when\n * passed in as a function argument) and returns the type the local thread has to supply.\n *\n * This is the inverse of `Remote<T>`. It takes a `Remote<T>` and returns its original input `T`.\n */\nexport type Local<T> =\n  // Omit the special proxy methods (they don't need to be supplied, comlink adds them)\n  Omit<LocalObject<T>, keyof ProxyMethods> &\n    // Handle call signatures (if present)\n    (T extends (...args: infer TArguments) => infer TReturn\n      ? (\n          ...args: { [I in keyof TArguments]: ProxyOrClone<TArguments[I]> }\n        ) => // The raw function could either be sync or async, but is always proxied automatically\n        MaybePromise<UnproxyOrClone<Unpromisify<TReturn>>>\n      : unknown) &\n    // Handle construct signature (if present)\n    // The return of construct signatures is always proxied (whether marked or not)\n    (T extends { new (...args: infer TArguments): infer TInstance }\n      ? {\n          new (\n            ...args: {\n              [I in keyof TArguments]: ProxyOrClone<TArguments[I]>;\n            }\n          ): // The raw constructor could either be sync or async, but is always proxied automatically\n          MaybePromise<Local<Unpromisify<TInstance>>>;\n        }\n      : unknown);\n\nconst isObject = (val: unknown): val is object =>\n  (typeof val === \"object\" && val !== null) || typeof val === \"function\";\n\n/**\n * Customizes the serialization of certain values as determined by `canHandle()`.\n *\n * @template T The input type being handled by this transfer handler.\n * @template S The serialized type sent over the wire.\n */\nexport interface TransferHandler<T, S> {\n  /**\n   * Gets called for every value to determine whether this transfer handler\n   * should serialize the value, which includes checking that it is of the right\n   * type (but can perform checks beyond that as well).\n   */\n  canHandle(value: unknown): value is T;\n\n  /**\n   * Gets called with the value if `canHandle()` returned `true` to produce a\n   * value that can be sent in a message, consisting of structured-cloneable\n   * values and/or transferrable objects.\n   */\n  serialize(value: T): [S, Transferable[]];\n\n  /**\n   * Gets called to deserialize an incoming value that was serialized in the\n   * other thread with this transfer handler (known through the name it was\n   * registered under).\n   */\n  deserialize(value: S): T;\n}\n\n/**\n * Internal transfer handle to handle objects marked to proxy.\n */\nconst proxyTransferHandler: TransferHandler<object, MessagePort> = {\n  canHandle: (val): val is ProxyMarked =>\n    isObject(val) && (val as ProxyMarked)[proxyMarker],\n  serialize(obj) {\n    const { port1, port2 } = new MessageChannel();\n    expose(obj, port1);\n    return [port2, [port2]];\n  },\n  deserialize(port) {\n    port.start();\n    return wrap(port);\n  },\n};\n\ninterface ThrownValue {\n  [throwMarker]: unknown; // just needs to be present\n  value: unknown;\n}\ntype SerializedThrownValue =\n  | { isError: true; value: Error }\n  | { isError: false; value: unknown };\n\n/**\n * Internal transfer handler to handle thrown exceptions.\n */\nconst throwTransferHandler: TransferHandler<\n  ThrownValue,\n  SerializedThrownValue\n> = {\n  canHandle: (value): value is ThrownValue =>\n    isObject(value) && throwMarker in value,\n  serialize({ value }) {\n    let serialized: SerializedThrownValue;\n    if (value instanceof Error) {\n      serialized = {\n        isError: true,\n        value: {\n          message: value.message,\n          name: value.name,\n          stack: value.stack,\n        },\n      };\n    } else {\n      serialized = { isError: false, value };\n    }\n    return [serialized, []];\n  },\n  deserialize(serialized) {\n    if (serialized.isError) {\n      throw Object.assign(\n        new Error(serialized.value.message),\n        serialized.value\n      );\n    }\n    throw serialized.value;\n  },\n};\n\n/**\n * Allows customizing the serialization of certain values.\n */\nexport const transferHandlers = new Map<\n  string,\n  TransferHandler<unknown, unknown>\n>([\n  [\"proxy\", proxyTransferHandler],\n  [\"throw\", throwTransferHandler],\n]);\n\nexport function expose(obj: any, ep: Endpoint = self as any) {\n  ep.addEventListener(\"message\", function callback(ev: MessageEvent) {\n    if (!ev || !ev.data) {\n      return;\n    }\n    const { id, type, path } = {\n      path: [] as string[],\n      ...(ev.data as Message),\n    };\n    const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n    let returnValue;\n    try {\n      const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n      const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n      switch (type) {\n        case MessageType.GET:\n          {\n            returnValue = rawValue;\n          }\n          break;\n        case MessageType.SET:\n          {\n            parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n            returnValue = true;\n          }\n          break;\n        case MessageType.APPLY:\n          {\n            returnValue = rawValue.apply(parent, argumentList);\n          }\n          break;\n        case MessageType.CONSTRUCT:\n          {\n            const value = new rawValue(...argumentList);\n            returnValue = proxy(value);\n          }\n          break;\n        case MessageType.ENDPOINT:\n          {\n            const { port1, port2 } = new MessageChannel();\n            expose(obj, port2);\n            returnValue = transfer(port1, [port1]);\n          }\n          break;\n        case MessageType.RELEASE:\n          {\n            returnValue = undefined;\n          }\n          break;\n      }\n    } catch (value) {\n      returnValue = { value, [throwMarker]: 0 };\n    }\n    Promise.resolve(returnValue)\n      .catch((value) => {\n        return { value, [throwMarker]: 0 };\n      })\n      .then((returnValue) => {\n        const [wireValue, transferables] = toWireValue(returnValue);\n        ep.postMessage({ ...wireValue, id }, transferables);\n        if (type === MessageType.RELEASE) {\n          // detach and deactive after sending release response above.\n          ep.removeEventListener(\"message\", callback as any);\n          closeEndPoint(ep);\n        }\n      });\n  } as any);\n  if (ep.start) {\n    ep.start();\n  }\n}\n\nfunction isMessagePort(endpoint: Endpoint): endpoint is MessagePort {\n  return endpoint.constructor.name === \"MessagePort\";\n}\n\nfunction closeEndPoint(endpoint: Endpoint) {\n  if (isMessagePort(endpoint)) endpoint.close();\n}\n\nexport function wrap<T>(ep: Endpoint, target?: any): Remote<T> {\n  return createProxy<T>(ep, [], target) as any;\n}\n\nfunction throwIfProxyReleased(isReleased: boolean) {\n  if (isReleased) {\n    throw new Error(\"Proxy has been released and is not useable\");\n  }\n}\n\nfunction createProxy<T>(\n  ep: Endpoint,\n  path: (string | number | symbol)[] = [],\n  target: object = function () {}\n): Remote<T> {\n  let isProxyReleased = false;\n  const proxy = new Proxy(target, {\n    get(_target, prop) {\n      throwIfProxyReleased(isProxyReleased);\n      if (prop === releaseProxy) {\n        return () => {\n          return requestResponseMessage(ep, {\n            type: MessageType.RELEASE,\n            path: path.map((p) => p.toString()),\n          }).then(() => {\n            closeEndPoint(ep);\n            isProxyReleased = true;\n          });\n        };\n      }\n      if (prop === \"then\") {\n        if (path.length === 0) {\n          return { then: () => proxy };\n        }\n        const r = requestResponseMessage(ep, {\n          type: MessageType.GET,\n          path: path.map((p) => p.toString()),\n        }).then(fromWireValue);\n        return r.then.bind(r);\n      }\n      return createProxy(ep, [...path, prop]);\n    },\n    set(_target, prop, rawValue) {\n      throwIfProxyReleased(isProxyReleased);\n      // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n      // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n      const [value, transferables] = toWireValue(rawValue);\n      return requestResponseMessage(\n        ep,\n        {\n          type: MessageType.SET,\n          path: [...path, prop].map((p) => p.toString()),\n          value,\n        },\n        transferables\n      ).then(fromWireValue) as any;\n    },\n    apply(_target, _thisArg, rawArgumentList) {\n      throwIfProxyReleased(isProxyReleased);\n      const last = path[path.length - 1];\n      if ((last as any) === createEndpoint) {\n        return requestResponseMessage(ep, {\n          type: MessageType.ENDPOINT,\n        }).then(fromWireValue);\n      }\n      // We just pretend that `bind()` didn’t happen.\n      if (last === \"bind\") {\n        return createProxy(ep, path.slice(0, -1));\n      }\n      const [argumentList, transferables] = processArguments(rawArgumentList);\n      return requestResponseMessage(\n        ep,\n        {\n          type: MessageType.APPLY,\n          path: path.map((p) => p.toString()),\n          argumentList,\n        },\n        transferables\n      ).then(fromWireValue);\n    },\n    construct(_target, rawArgumentList) {\n      throwIfProxyReleased(isProxyReleased);\n      const [argumentList, transferables] = processArguments(rawArgumentList);\n      return requestResponseMessage(\n        ep,\n        {\n          type: MessageType.CONSTRUCT,\n          path: path.map((p) => p.toString()),\n          argumentList,\n        },\n        transferables\n      ).then(fromWireValue);\n    },\n  });\n  return proxy as any;\n}\n\nfunction myFlat<T>(arr: (T | T[])[]): T[] {\n  return Array.prototype.concat.apply([], arr);\n}\n\nfunction processArguments(argumentList: any[]): [WireValue[], Transferable[]] {\n  const processed = argumentList.map(toWireValue);\n  return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n}\n\nconst transferCache = new WeakMap<any, Transferable[]>();\nexport function transfer(obj: any, transfers: Transferable[]) {\n  transferCache.set(obj, transfers);\n  return obj;\n}\n\nexport function proxy<T>(obj: T): T & ProxyMarked {\n  return Object.assign(obj, { [proxyMarker]: true }) as any;\n}\n\nexport function windowEndpoint(\n  w: PostMessageWithOrigin,\n  context: EventSource = self,\n  targetOrigin = \"*\"\n): Endpoint {\n  return {\n    postMessage: (msg: any, transferables: Transferable[]) =>\n      w.postMessage(msg, targetOrigin, transferables),\n    addEventListener: context.addEventListener.bind(context),\n    removeEventListener: context.removeEventListener.bind(context),\n  };\n}\n\nfunction toWireValue(value: any): [WireValue, Transferable[]] {\n  for (const [name, handler] of transferHandlers) {\n    if (handler.canHandle(value)) {\n      const [serializedValue, transferables] = handler.serialize(value);\n      return [\n        {\n          type: WireValueType.HANDLER,\n          name,\n          value: serializedValue,\n        },\n        transferables,\n      ];\n    }\n  }\n  return [\n    {\n      type: WireValueType.RAW,\n      value,\n    },\n    transferCache.get(value) || [],\n  ];\n}\n\nfunction fromWireValue(value: WireValue): any {\n  switch (value.type) {\n    case WireValueType.HANDLER:\n      return transferHandlers.get(value.name)!.deserialize(value.value);\n    case WireValueType.RAW:\n      return value.value;\n  }\n}\n\nfunction requestResponseMessage(\n  ep: Endpoint,\n  msg: Message,\n  transfers?: Transferable[]\n): Promise<WireValue> {\n  return new Promise((resolve) => {\n    const id = generateUUID();\n    ep.addEventListener(\"message\", function l(ev: MessageEvent) {\n      if (!ev.data || !ev.data.id || ev.data.id !== id) {\n        return;\n      }\n      ep.removeEventListener(\"message\", l as any);\n      resolve(ev.data);\n    } as any);\n    if (ep.start) {\n      ep.start();\n    }\n    ep.postMessage({ id, ...msg }, transfers);\n  });\n}\n\nfunction generateUUID(): string {\n  return new Array(4)\n    .fill(0)\n    .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n    .join(\"-\");\n}\n","export const name = 'onloadCompsBehaviors' as const\n","const closingTagRegex = /\\//g\nconst scaryCharactersRegex = /[\\u2028\\u2029\\u000b]/g // eslint-disable-line no-control-regex\nconst escape = (str: string) => str.replace(closingTagRegex, '\\\\/').replace(scaryCharactersRegex, '')\n// we JSON.stringify(json) in order to remove undefined values\nexport const safeJsonStringify = (json: any) => escape(JSON.stringify(json))\n","export const name = 'externalComponent' as const\n\nexport const ExternalComponentAPISymbol = Symbol('ExternalComponentAPI')\nexport const ExternalComponentFetchSymbol = Symbol('ExternalComponentFetch')\nexport const ExternalComponentLoaderSymbol = Symbol('ExternalComponentLoader')\nexport const ExternalComponentCssManagerSymbol = Symbol('externalComponentCssManager')\nexport const ExternalComponentSsrManagerSymbol = Symbol('ExternalComponentSsrManager')\nexport const ExternalComponentCssApplierSymbol = Symbol('externalComponentCssApplier')\n\nexport const ExternalComponentDsApiSymbol = Symbol('externalComponentDsApi')\nexport const ExternalComponentDsPublicApiSymbol = Symbol('externalComponentDsPublicApi')\nexport const ExternalComponentLoaderSsrSymbol = Symbol('externalComponentLoaderSsr')\nexport const ExternalComponentConsentManagerSymbol = Symbol('externalComponentConsentManager')\n\nexport const ExternalComponentUiLibProvidersSymbol = Symbol('externalComponentUiLibProviders')\n\nexport const ExternalComponentWixCodeUrlGeneratorSymbol = Symbol('externalComponentWixCodeUrlGenerator')\n","import type { Experiments } from '../features/experiments'\nimport { createIdentifier } from '@wix/thunderbolt-ioc'\n\nexport const ExperimentsSymbol = createIdentifier<Experiments>(Symbol('ExperimentsSymbol'))\n","export const name = 'repeaters' as const\n","export const ComponentsLoaderSymbol = Symbol('ComponentsLoader')\nexport const ComponentsRegistrarSymbol = Symbol('ComponentsRegistrar')\nexport const ComponentWrapperSymbol = Symbol('ComponentWrapper')\nexport const ComponentDidMountWrapperSymbol = Symbol('ComponentDidMountWrapperSymbol')\nexport const ExecuteComponentWrappersSymbol = Symbol('ExecuteComponentWrappers')\nexport const name = 'componentsLoader'\n","export const name = 'dynamicPages' as const\nexport const DynamicPagesResponseHandlerSymbol = Symbol('DynamicPagesResponseHandlerSymbol')\nexport const PermissionsHandlerSymbol = Symbol('PermissionsHandler')\nexport const PermissionsHandlerProviderSymbol = Symbol('PermissionsHandlerProvider')\n","export const name = 'imagePlaceholder' as const\n\nexport const ImagePlaceholderSymbol = Symbol('ImagePlaceholder')\n","export const name = 'windowWixCodeSdk' as const\nexport const namespace = 'window' as const\nexport const WindowWixCodeSdkWarmupDataEnricherSymbol = Symbol('WindowWixCodeSdkWarmupDataEnricher')\n","export const name = 'containerSlider' as const\n","export const name = 'mobileFullScreen' as const\nexport const TpaFullScreenModeAPISymbol = Symbol('TpaFullScreenModeAPI')\n","export const SeoPageSymbol = Symbol('Seo')\nexport const SeoSiteSymbol = Symbol('SeoSite')\n\nexport const name = 'seo' as const\n","export const LinkClickHandlerSymbol = Symbol('LinkClickHandler')\nexport const SiteLinkClickHandlerSymbol = Symbol('SiteLinkClickHandlerSymbol')\nexport const NavigationClickHandlerSymbol = Symbol('NavigationClickHandlerSymbol')\n","export const NO_SCENARIO_FOUND = 'NO_SCENARIO_FOUND';\nexport const SSR_HOST = 'www.wix.com';\nexport const SSR_PROTOCOL = 'http';\nexport const ORIGINAL_URL_HEADER = 'x-wix-metro-original-url';\nexport const ORIGINAL_HOST_HEADER = 'x-wix-metro-original-host';\nexport const ORIGINAL_PROTOCOL_HEADER = 'x-wix-metro-original-protocol';\n// Nginx max url length (9kb)\nexport const MAX_NGINX_URL_LENGTH = 2000;\n//# sourceMappingURL=constants.js.map","export const DEFAULT_DURATIONS_MS = {\n\tSlideHorizontal: 600,\n\tSlideVertical: 600,\n\tCrossFade: 600,\n\tOutIn: 700,\n}\n","export const name = 'sosp' as const\n","export const gradientConstants = {\n  TYPES: {\n    GRADIENT_LINEAR: 'GradientLinear',\n    GRADIENT_ELLIPSE: 'GradientEllipse',\n    GRADIENT_CIRCLE: 'GradientCircle',\n    GRADIENT_CONIC: 'GradientConic'\n  },\n  CSS_FUNC: {\n    RADIAL_GRADIENT: 'radial-gradient',\n    CONIC_GRADIENT: 'conic-gradient',\n    LINEAR_GRADIENT: 'linear-gradient'\n  },\n  REPEATING: 'repeating',\n  DEG: 'deg',\n  AT_CENTER: 'at center',\n  CIRCLE: 'circle',\n  ELLIPSE: 'ellipse',\n  FROM: 'from',\n  PERCENTAGE: 'percentage',\n  RGBA: 'rgba'\n};\n//# sourceMappingURL=constants.js.map","export const name = 'codeEmbed' as const\n\nexport const HEAD = 'head'\nexport const BODY_START = 'bodyStart'\nexport const BODY_END = 'bodyEnd'\nexport const locations = [HEAD, BODY_START, BODY_END]\n\nexport const locationToHtmlEmbedsSectionBeginIds: any = {\n\t[HEAD]: 'pageHtmlEmbeds.head start',\n\t[BODY_START]: 'pageHtmlEmbeds.bodyStart start',\n\t[BODY_END]: 'pageHtmlEmbeds.bodyEnd start',\n}\n\nexport const locationToHtmlEmbedsSectionEndIds: any = {\n\t[HEAD]: 'pageHtmlEmbeds.head end',\n\t[BODY_START]: 'pageHtmlEmbeds.bodyStart end',\n\t[BODY_END]: 'pageHtmlEmbeds.bodyEnd end',\n}\n\nexport const dynamicPageHtmlEmbedSectionIds: any = {\n\thead: {\n\t\tstart: 'dynamicPage.htmlEmbedHead start',\n\t\tend: 'dynamicPage.htmlEmbedHead end',\n\t},\n\tbodyStart: {\n\t\tstart: 'dynamicPage.htmlEmbedBodyStart start',\n\t\tend: 'dynamicPage.htmlEmbedBodyStart end',\n\t},\n\tbodyEnd: {\n\t\tstart: 'dynamicPage.htmlEmbedBodyEnd start',\n\t\tend: 'dynamicPage.htmlEmbedBodyEnd end',\n\t},\n}\n","export const unwrapVerticalText = (text: string): string => {\n\treturn (\n\t\ttext\n\t\t\t.replace(' data-vertical-text=\"true\"', '')\n\t\t\t.replace('vertical-rl', 'inherit')\n\t\t\t.replace('mixed', 'inherit')\n\t\t\t// Replacing the first two occurrences precisely\n\t\t\t.replace('100%', 'auto')\n\t\t\t.replace('100%', 'auto')\n\t)\n}\n\nexport const wrapVerticalText = (text: string): string => {\n\treturn `<div data-vertical-text=\"true\" style=\"writing-mode: vertical-rl; text-orientation: mixed; height: 100%\">${text}</div>`\n}\n\nexport const dataFixVerticalText = (text: string): string => {\n\treturn text.replace(\n\t\t'height:100%; text-orientation:mixed; width:100%; writing-mode:vertical-rl',\n\t\t'height:100%; text-orientation:mixed; writing-mode:vertical-rl'\n\t)\n}\n\nexport const hasVerticalTextData = (text: string) =>\n\ttext.indexOf('data-vertical-text=\"true\"') !== -1 || text.indexOf('writing-mode: vertical-rl') !== -1\n","export const SSR_DONE_MSG = '----SSR Done----'\n","export interface IAppWillMountHandler {\n\tappWillMount: () => Promise<void> | void\n}\n\nexport interface IAppWillLoadPageHandler {\n\tname: string\n\tappWillLoadPage: (pageInfo: { pageId: string; contextId: string; isLightbox?: boolean }) => Promise<void> | void\n}\n\nexport interface IAppWillRenderFirstPageHandler {\n\tappWillRenderFirstPage: (pageInfo: { pageId: string; contextId: string }) => Promise<void> | void\n}\n\nexport interface IPageDidLoadHandler {\n\tpageDidLoad: (pageInfo: { pageId: string; contextId: string }) => Promise<void> | void\n}\n\nexport interface IAppDidLoadPageHandler {\n\tappDidLoadPage: (pageInfo: { pageId: string; contextId: string }) => Promise<void> | void\n}\n\nexport interface IPageWillMountHandler {\n\tname: string\n\tpageWillMount: (pageId: string) => Promise<void> | void\n}\n\nexport interface IPageWillUnmountHandler {\n\tpageWillUnmount: (pageInfo: { pageId: string; contextId: string }) => Promise<void> | void\n}\n\nexport interface DynamicLoadFeature {\n\tinit: (pageId: string) => void\n}\n\ntype IPageDidMountHandlerResult = IPageDidUnmountHandler['pageDidUnmount']\n\nexport interface IPageDidMountHandler {\n\tpageDidMount: (\n\t\tpageId: string\n\t) => IPageDidMountHandlerResult | Promise<IPageDidMountHandlerResult> | void | Promise<void>\n}\n\nexport interface IPageDidUnmountHandler {\n\tpageDidUnmount: (pageId: string) => void\n}\n\nexport interface IAppDidMountHandler {\n\tappDidMount: () => void\n}\n\nexport interface IAppWillUnmountHandler {\n\t/**\n\t * cleanup lifecycle - invoked before deleting thunderbolt container\n\t * use for clearing side effects (e.g. event listeners)\n\t * prevents memory leaks when creating and disposing multiple thunderbolt containers\n\t * */\n\tappWillUnmount: () => Promise<void> | void\n}\n\nconst AppWillMountHandlerSym = Symbol('AppWillMountHandler')\nconst AppWillLoadPageHandlerSym = Symbol('AppWillLoadPageHandler')\nconst AppWillRenderFirstPageHandlerSym = Symbol('AppWillRenderFirstPageHandler')\nconst AppDidLoadPageHandlerSym = Symbol('AppDidLoadPageHandler')\nconst PageDidLoadHandlerSym = Symbol('PageDidLoadHandler')\nconst PageWillMountHandlerSym = Symbol('PageWillMountHandler')\nconst PageDidMountHandlerSym = Symbol('PageDidMountHandler')\nconst PageWillUnmountHandlerSym = Symbol('PageWillUnmountHandler')\nconst PageDidUnmountHandlerSym = Symbol('PageDidUnmountHandler')\nconst AppDidMountHandlerSym = Symbol('AppDidMountHandler')\nconst AppWillUnmountHandlerSym = Symbol('AppWillUnmountHandler')\n\nexport const LifecycleKeys: Record<symbol, boolean> = {\n\t[AppWillMountHandlerSym]: true,\n\t[AppWillLoadPageHandlerSym]: true,\n\t[AppWillRenderFirstPageHandlerSym]: true,\n\t[AppDidLoadPageHandlerSym]: true,\n\t[PageDidLoadHandlerSym]: true,\n\t[PageWillMountHandlerSym]: true,\n\t[PageDidMountHandlerSym]: true,\n\t[PageWillUnmountHandlerSym]: true,\n\t[PageDidUnmountHandlerSym]: true,\n\t[AppDidMountHandlerSym]: true,\n\t[AppWillUnmountHandlerSym]: true,\n}\n\nexport const LifeCycle = {\n\t// Site features events\n\tAppWillMountHandler: AppWillMountHandlerSym,\n\tAppWillLoadPageHandler: AppWillLoadPageHandlerSym,\n\tAppWillRenderFirstPageHandler: AppWillRenderFirstPageHandlerSym,\n\tAppDidLoadPageHandler: AppDidLoadPageHandlerSym,\n\tAppDidMountHandler: AppDidMountHandlerSym,\n\tAppWillUnmountHandler: AppWillUnmountHandlerSym,\n\t// Page features events\n\tPageDidLoadHandler: PageDidLoadHandlerSym,\n\tPageWillMountHandler: PageWillMountHandlerSym,\n\tPageDidMountHandler: PageDidMountHandlerSym,\n\tPageWillUnmountHandler: PageWillUnmountHandlerSym,\n\tPageDidUnmountHandler: PageDidUnmountHandlerSym,\n}\n","export const AppMonitoringSymbol = Symbol('AppMonitoring')\n\nexport const name = 'appMonitoring' as const\n","export const name = 'commonConfig' as const\nexport const CommonConfigSymbol = Symbol('CommonConfig')\n","export const name = 'scrollToAnchor' as const\nexport const SamePageScrollSymbol = Symbol('SamePageScroll')\nexport const SamePageAnchorPropsResolverSymbol = Symbol('SamePageAnchorPropsResolver')\nexport const AnchorCompIdProviderSymbol = Symbol('AnchorCompIdProvider')\nexport const ScrollToAnchorHandlerProviderSymbol = Symbol('ScrollToAnchorHandlerProvider')\n","import { createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { MegaStoreWithSubscriptions } from './stores/megaStore'\nimport type { Catharsis } from './types/catharsis.types'\n\nexport const CatharsisMegaStoreSymbol = createIdentifier<MegaStoreWithSubscriptions>(Symbol('CatharsisMegaStore'))\nexport const CatharsisSymbol = createIdentifier<Catharsis>(Symbol('CatharsisSymbol'))\nexport const ComponentsCssStringifierSymbol = Symbol('ComponentsCssStringifierSymbol')\n","export const SvgContentBuilderSymbol = Symbol('SvgContentBuilder')\n\nexport const name = 'svgLoader' as const\n","import type { TpaHandler } from '@wix/thunderbolt-symbols'\nimport _ from 'lodash'\n\ntype ViewMode = 'editor' | 'preview' | 'site'\n\nexport const withViewModeRestriction = (allowedModes: Array<ViewMode>, tpaHandler: TpaHandler): TpaHandler => {\n\tconst allowedModesMap = _.fromPairs(allowedModes.map((mode) => [mode, true]))\n\treturn (compId, data, extras) => {\n\t\tif (!allowedModesMap[extras.viewMode]) {\n\t\t\treturn Promise.reject(\n\t\t\t\tnew Error(\n\t\t\t\t\t`withViewModeRestriction: Invalid view mode. This function cannot be called in ${\n\t\t\t\t\t\textras.viewMode\n\t\t\t\t\t} mode. Supported view modes are: [${allowedModes.join(', ')}]`\n\t\t\t\t)\n\t\t\t)\n\t\t}\n\t\treturn tpaHandler(compId, data, extras)\n\t}\n}\n","export const extractInnerRoute = (path: string, tpaPageUri?: string) => {\n\tconst parts = path.split('/')\n\tconst i = parts.indexOf(tpaPageUri || '')\n\tif (i < 0 || parts[i] !== tpaPageUri) {\n\t\treturn null\n\t}\n\tconst [, ...remains] = parts.splice(i)\n\treturn remains\n}\n","export const METASITE_APP_DEF_ID = '22bef345-3c5b-4c18-b782-74d4085112ff'\nexport const VIEWER_SERVICE_EXTENSION_NAME = 'VIEWER_SERVICE'\n// list of components that will use the svg loader feature\nexport const SVG_COMPONENTS_WITH_TRANSFORMATION = ['VectorImage', 'BackToTopButton'] as const\nexport const SVG_COMPONENTS = ['Breadcrumbs', ...SVG_COMPONENTS_WITH_TRANSFORMATION] as const\n","export const name = 'builderComponent' as const\nexport const BuilderComponentLoaderSymbol = Symbol('BuilderComponentLoader')\nexport const BuilderComponentRegistrarSymbol = Symbol('BuilderComponentRegistrar')\nexport const BuilderComponentStyleApiSymbol = Symbol('BuilderComponentStyleApi')\nexport const BuilderComponentResolverSymbol = Symbol('BuilderComponentResolver')\nexport const BuilderComponentWarmupDataEnricherSymbol = Symbol('BuilderComponentWarmupDataEnricher')\nexport const BuilderResourcesManagerSymbol = Symbol('BuilderResourcesManager')\nexport const CompTypeToAllDescendantsHandlerSymbol = Symbol('CompTypeToAllDescendantsHandler')\n","import type { IStartInteractionOptions, IEndInteractionOptions, IAppIdentifier } from '@wix/fe-essentials-viewer-platform/fedops'\nimport type { Factory } from '@wix/fe-essentials-viewer-platform/bi'\nimport type {\n\tBiSsrEvent,\n\tPhaseLoggerOptions,\n\tPlatformAppPerformanceEvent,\n\tResourceFetchPerformanceEvent,\n} from '@wix/thunderbolt-types'\n\nexport type Interaction = string\nexport type Phase = string\n\nexport type InteractionStarted = (\n\tinteraction: Interaction,\n\tcustomParam?: Partial<IStartInteractionOptions>,\n\tshouldAddBreadcrumb?: boolean\n) => void\nexport type InteractionEnded = (\n\tinteraction: Interaction,\n\tcustomParam?: Partial<IEndInteractionOptions>,\n\tshouldAddBreadcrumb?: boolean\n) => void\nexport type meter = (\n\tmeterName: string,\n\tcustomParam?: Partial<IEndInteractionOptions>,\n\tshouldAddBreadcrumb?: boolean\n) => void\nexport type phaseMark = (interaction: Phase, customParam?: object, loggerOptions?: PhaseLoggerOptions) => void\nexport type AppLoaded = (options?: Partial<IAppIdentifier>) => void\nexport type ReportAppLoadStarted = () => void\nexport type captureError = (\n\terror: Error,\n\t{\n\t\ttags,\n\t\textra,\n\t\tgroupErrorsBy,\n\t\tlevel,\n\t}: {\n\t\ttags: { feature: string; [key: string]: string | boolean }\n\t\textra?: { isFatal?: boolean; [key: string]: any }\n\t\tgroupErrorsBy?: 'tags' | 'values'\n\t\tlevel?: string\n\t}\n) => void\nexport type setGlobalsForErrors = (enrichment: any) => void\nexport type breadcrumb = (breadcrumb: any, additionalData?: object) => void\n\nexport const LOADING_PHASES = {\n\tWAIT_FOR_IMPORTS: 'wait-for-imports',\n\tAPPLY_POLYFILLS: 'apply-polyfills',\n\tGET_COMPONENTS_MAPPERS: 'get-components-mappers',\n\tGET_CLIENT_WORKER: 'get-client-worker',\n\tGET_VIEWER_API: 'getViewerApi',\n\tINIT_DS_CARMI: 'init_ds_carmi',\n\tINIT_REGULAR_DS_CARMI: 'init_regular_ds_carmi',\n\tINIT_BY_REF_DS_CARMI: 'init_by_ref_ds_carmi',\n\tINIT_BY_REFSIS: 'init_by_refsis',\n\tGET_BECKY_MODEL: 'get_becky_model',\n\tINIT_DS_CONTAINER: 'init_ds_container',\n\tLOAD_INITIAL_DS_COMPONENTS: 'load_initial_ds_components',\n\tDS_LOAD_MASTER_PAGE: 'ds_load_masterPage',\n\tDS_ROUTER_NAVIGATE: 'ds_router_navigate',\n\tDS_LOAD_PAGE_ASSETS: 'ds_load_page_assets',\n\tDS_LOAD_MASTER_PAGE_ASSETS: 'ds_load_masterPage_assets',\n\tINIT_DS_VIEWER_API: 'init_ds_viewerApi',\n\tINITIAL_DS_RENDER: 'initial_ds_render',\n\tAPP_WILL_RENDER_FIRST_PAGE: 'app_will_render_first_page',\n\tDS_WAIT_FOR_DID_MOUNT: 'ds_wait_for_didMount',\n\tDS_INVOKE_RENDER_DONE_HANDLERS: 'ds_invoke_render_done_handlers',\n\tDS_INVOKE_LAYOUT_CHANGE_HANDLERS: 'ds_invoke_layout_change_handlers',\n\tDS_NOTIFY_RENDER_DONE: 'ds_notify_render_done',\n\tDS_NOTIFY_LAYOUT_CHANGE: 'ds_notify_layout_change',\n\tDS_WAIT_FOR_LAYOUT_DONE: 'ds_wait_for_layout_done',\n\tDS_WAIT_FOR_VIEW_MODE: 'ds_wait_for_view_mode',\n\tDS_WAIT_FOR_DATA_REQUIREMENTS: 'ds_wait_for_data_requirements',\n\tDS_PENDING_REQUIREMENTS_builderComponentRefs: 'ds_pending_requirements_builderComponentRefs',\n\tDS_PENDING_REQUIREMENTS_builderComponentHierarchy: 'ds_pending_requirements_builderComponentHierarchy',\n\tDS_PENDING_REQUIREMENTS_viewerManagerFontsApi: 'ds_pending_requirements_viewerManagerFontsApi',\n\tDS_PENDING_REQUIREMENTS_viewerManagerByRefApi: 'ds_pending_requirements_viewerManagerByRefApi',\n\tDS_PENDING_REQUIREMENTS_componentsUpdatesManager: 'ds_pending_requirements_componentsUpdatesManager',\n\tDS_PENDING_REQUIREMENTS_viewerManagerUpdateStatusApi: 'ds_pending_requirements_viewerManagerUpdateStatusApi',\n\tDS_PENDING_REQUIREMENTS_navigationManager: 'ds_pending_requirements_navigationManager',\n\tDS_PENDING_REQUIREMENTS_translations: 'ds_pending_requirements_translations',\n\tDS_WAIT_FOR_NAVIGATION: 'ds_wait_for_navigation',\n\tDS_INITIAL_NAVIGATION: 'ds_initial_navigation',\n\tPAGE_REFLECTOR: 'page_reflector',\n}\n\nexport type ServerPerformanceEvent = {\n\tname: string\n\tstartTime: number\n}\n\nexport interface ILogger {\n\tupdatePageNumber: (pn: number) => void\n\tupdatePageId: (pageId: string) => void\n\tupdateApplicationsMetaSite: (instance: string) => void\n\treportAsyncWithCustomKey<T>(\n\t\tasyncMethod: () => Promise<T>,\n\t\tfeature: string,\n\t\tmethodName: string,\n\t\tkey: string\n\t): Promise<T>\n\trunAsyncAndReport<T>(asyncMethod: () => Promise<T>, feature: string, methodName: string): Promise<T>\n\trunAndReport<T>(method: () => T, feature: string, methodName: string): T\n\tcaptureError: captureError\n\tsetGlobalsForErrors: setGlobalsForErrors\n\tbreadcrumb: breadcrumb\n\taddBreadcrumbToBatch(message: string, data: any): void\n\tflushBreadcrumbBatch(): void\n\tinteractionStarted: InteractionStarted\n\tinteractionEnded: InteractionEnded\n\tphaseStarted: phaseMark\n\tphaseEnded: phaseMark\n\tmeter: meter\n\treportAppLoadStarted: ReportAppLoadStarted\n\tappLoaded: AppLoaded\n\tregisterPlatformWidgets(widgetAppNames: Array<string>): void\n\tgetEventsData: () => Array<ServerPerformanceEvent>\n\taddSSRPerformanceEvents: (events: Array<ServerPerformanceEvent>) => void\n\taddPlatformAppEvent(taskId: string, event: PlatformAppPerformanceEvent): void\n\tfinishPlatformAppEvent(appId: string, error?: string): void\n\treportPlatformEndEvent(errorName?: string, errorMessage?: string): Promise<void>\n\taddResourceFetchEvent(event: ResourceFetchPerformanceEvent): (error?: string) => void\n\tgetAllResourceFetchEvents(): Array<ResourceFetchPerformanceEvent>\n\treportSsrBi(params: BiSsrEvent): Promise<void>\n}\n\nexport interface BaseFactory extends Factory {\n\tupdateDefaults(params: {\n\t\t[key: string]: any\n\t\tmsid?: never\n\t\t_msid?: never\n\t\tvisitorId?: never\n\t\t_visitorId?: never\n\t\tsiteMemberId?: never\n\t\t_siteMemberId?: never\n\t\tvsi?: never\n\t\t_av?: never\n\t}): this\n}\n","import type { RenderConfig } from '../types/becky'\n\nexport const InitSymbol = Symbol('InitSymbol')\n\nexport type FeatureName =\n\t'accessibility' | 'activePopup' | 'activeVariantsApi' | 'addressInput' | 'anchorsService' | 'animations' | 'animationsWixCodeSdk' | 'appMonitoring' | 'applePay' | 'assetsLoader' | 'authenticationWixCodeSdk' | 'autoDisplayLightbox' | 'backgroundGroup' | 'backgroundScrub' | 'blockingLayer' | 'bookings' | 'breadcrumbs' | 'builderComponent' | 'builderComponentHierarchy' | 'builderComponentRefs' | 'businessLogger' | 'businessLoggerService' | 'businessManager' | 'canvas' | 'captcha' | 'chat' | 'clickHandlerRegistrar' | 'clientSdk' | 'coBranding' | 'codeEmbed' | 'commonConfig' | 'components' | 'componentsLoader' | 'componentsMeasures' | 'componentsPreviewTooltip' | 'componentsQaApi' | 'componentsReact' | 'componentsRegistry' | 'componentsUpdatesManager' | 'consentPolicy' | 'consentPolicyService' | 'containerSlider' | 'containerSliderService' | 'contentReflow' | 'cookiesManager' | 'crmWixCodeSdk' | 'customCss' | 'customUrlMapper' | 'cyclicTabbing' | 'cyclicTabbingService' | 'dashboardWixCodeSdk' | 'dataWixCodeSdk' | 'debug' | 'debugDs' | 'domStore' | 'dynamicPages' | 'editorAnimations' | 'editorElementsDynamicTheme' | 'editorNavigation' | 'editorPopups' | 'editorRouter' | 'editorWixCodeSdk' | 'elementorySupportWixCodeSdk' | 'embeddedInIframe' | 'environment' | 'environmentService' | 'environmentWixCodeSdk' | 'experiments' | 'externalComponent' | 'extraSiteHeight' | 'fedops' | 'fedopsLoggerService' | 'fedopsWixCodeSdk' | 'feedback' | 'fileUploader' | 'freemiumBanner' | 'headerContainer' | 'hoverBox' | 'imagePlaceholder' | 'imagePlaceholderService' | 'imageZoom' | 'interactions' | 'landingPage' | 'lightbox' | 'lightboxService' | 'linkUtilsService' | 'locationWixCodeSdk' | 'loginButton' | 'manifestManager' | 'mappersLegacyService' | 'measuresApi' | 'membersService' | 'menuContainer' | 'menusCurrentPage' | 'mobileActionsMenu' | 'mobileFullScreen' | 'modelUpdatesInvoker' | 'motion' | 'motionEffects' | 'mpaNavigation' | 'multilingual' | 'namedSignalsService' | 'nativeMobileWixCodeSdk' | 'navigation' | 'navigationManager' | 'navigationPhases' | 'onloadCompsBehaviors' | 'ooi' | 'ooiTpaSharedConfig' | 'pageAnchors' | 'pageContextService' | 'pageScroll' | 'pageTransitions' | 'pages' | 'paidPlansWixCodeSdk' | 'panorama' | 'passwordProtectedPage' | 'platform' | 'platformPubsub' | 'popupLink' | 'pricingPlansWixCodeSdk' | 'protectedPages' | 'provideComponentService' | 'provideCssService' | 'qaApi' | 'quickActionBar' | 'realtimeWixCodeSdk' | 'remoteStructureRenderer' | 'render' | 'renderIndicator' | 'renderer' | 'repeaters' | 'reporter' | 'router' | 'routerFetch' | 'routerService' | 'screenIn' | 'scrollRestoration' | 'scrollToAnchor' | 'sdkStateService' | 'searchBox' | 'searchWixCodeSdk' | 'seo' | 'seoTpa' | 'seoWixCodeSdk' | 'serviceRegistrar' | 'sessionManager' | 'sessionManagerService' | 'siteMembers' | 'siteMembersService' | 'siteMembersWixCodeSdk' | 'siteOverflow' | 'siteScrollBlocker' | 'siteScrollBlockerService' | 'siteThemeService' | 'siteWixCodeSdk' | 'sliderGallery' | 'sosp' | 'speculationRules' | 'ssrCache' | 'stickyToComponent' | 'stores' | 'storesWixCodeSdk' | 'structureApi' | 'styleUtilsService' | 'svgLoader' | 'telemetryWixCodeSdk' | 'testApi' | 'testService' | 'thunderboltInitializer' | 'thunderboltLogger' | 'tinyMenu' | 'topologyService' | 'tpa' | 'tpaCommons' | 'tpaModuleProvider' | 'tpaWorkerFeature' | 'translations' | 'translationsService' | 'triggersAndReactions' | 'urlService' | 'usedPlatformApis' | 'versionIndicator' | 'viewMode' | 'viewerManagerActionApi' | 'viewerManagerActionsAndBehaviorsApi' | 'viewerManagerAnimationApi' | 'viewerManagerBlocksApi' | 'viewerManagerByRefApi' | 'viewerManagerComponentApi' | 'viewerManagerComponentDetectorApi' | 'viewerManagerComponentPreviewApi' | 'viewerManagerCustomCss' | 'viewerManagerCustomElementsApi' | 'viewerManagerDataApi' | 'viewerManagerDiagnosticsApi' | 'viewerManagerDisplayedOnlyComponentsApi' | 'viewerManagerDocumentServicesModelApi' | 'viewerManagerExternalComponentsApi' | 'viewerManagerFontsApi' | 'viewerManagerLayoutApi' | 'viewerManagerLivePreviewApi' | 'viewerManagerMembersApi' | 'viewerManagerModesApi' | 'viewerManagerMultilingualApi' | 'viewerManagerNavigationApi' | 'viewerManagerPagesApi' | 'viewerManagerPlatformApi' | 'viewerManagerQueryApi' | 'viewerManagerRealTimeConfigApi' | 'viewerManagerRenderFlagsApi' | 'viewerManagerRendererModelApi' | 'viewerManagerResponsiveApi' | 'viewerManagerRuntimeApi' | 'viewerManagerRuntimeLayoutApi' | 'viewerManagerScopesApi' | 'viewerManagerScrollApi' | 'viewerManagerStructureApi' | 'viewerManagerStylableApi' | 'viewerManagerSvgApi' | 'viewerManagerTpaApi' | 'viewerManagerUpdateStatusApi' | 'viewerManagerVariantsApi' | 'viewerManagerVeloApi' | 'visibility' | 'warmupData' | 'welcomeScreen' | 'widget' | 'widgetWixCodeSdk' | 'windowMessageRegistrar' | 'windowScroll' | 'windowWixCodeSdk' | 'wixCustomElementComponent' | 'wixEcomFrontendWixCodeSdk' | 'wixEmbedsApi' | 'wixEventsWixCodeSdk' | 'wixapps' | 'wrichtextWrapOnAdd'\n\nexport type FeaturesConfig = Partial<Record<FeatureName | '__componentsConfig__', any>>\nexport type PageFeaturesConfig = Partial<Omit<Record<FeatureName | '__componentsConfig__', any>, 'render'>> & {\n\trender: RenderConfig\n}\n","import type {\n\tItemsAlignmentValue,\n\tJustifyContentValue,\n\tUnitSizeValue,\n\tVariablesValues,\n\tNumberValue,\n\tKeywordLengthValue,\n\tPositionTypeValue,\n\tLayoutSizeValue,\n\tSpx,\n} from '@wix/thunderbolt-becky-types'\nimport {\n\tunitSizeToString,\n\tgridAlignmentToString,\n\tflexAlignmentToString,\n\tflexJustifyContentToString,\n\tnumberToString,\n\ttemplateLengthToString,\n\tpositionToCss,\n} from './layoutValuesToCss'\nimport { resolveSpxAttribute } from '../css'\n\nexport const isUnitSizeValue = (value: VariablesValues): value is UnitSizeValue => value.type === 'UnitSizeValue'\nexport const isItemsAlignmentValue = (value: VariablesValues): value is ItemsAlignmentValue =>\n\tvalue.type === 'ItemsAlignmentValue'\nexport const isJustifyContentValue = (value: VariablesValues): value is JustifyContentValue =>\n\tvalue.type === 'JustifyContentValue'\nexport const isNumberValue = (value: VariablesValues): value is NumberValue => value.type === 'NumberValue'\n\nexport const isKeywordLengthValue = (value: VariablesValues): value is KeywordLengthValue =>\n\tvalue.type === 'KeywordLengthValue'\nexport const isPositionTypeValue = (value: VariablesValues): value is PositionTypeValue =>\n\tvalue.type === 'PositionTypeValue'\n\nexport const isLayoutSizeValue = (value: VariablesValues): value is LayoutSizeValue => value.type === 'LayoutSizeValue'\n\nconst getBaseVarName = (varId: string) => `--${varId}`\n\nconst getVarNameWithSuffix = (varId: string, suffix: string) => `${getBaseVarName(varId)}-${suffix}`\n\nexport const variableNameGetters = {\n\tunitSize: {\n\t\tget: (varId: string) => getBaseVarName(varId),\n\t},\n\talignment: {\n\t\tgetForGrid: (varId: string) => getVarNameWithSuffix(varId, 'grid'),\n\t\tgetForFlex: (varId: string) => getVarNameWithSuffix(varId, 'flex'),\n\t},\n\tjustifyContent: {\n\t\tget: (varId: string) => getBaseVarName(varId),\n\t},\n\tnumber: {\n\t\tget: (varId: string) => getBaseVarName(varId),\n\t},\n\trepeatLength: { get: (varId: string) => getBaseVarName(varId) },\n\tposition: {\n\t\tget: (varId: string) => getBaseVarName(varId),\n\t\tgetForceAuto: (varId: string) => getVarNameWithSuffix(varId, 'force-auto'),\n\t\tgetHeaderOffset: (varId: string) => getVarNameWithSuffix(varId, 'header-offset'),\n\t\tgetStickyOffset: (varId: string) => getVarNameWithSuffix(varId, 'sticky-offset'),\n\t},\n\tlayoutSize: {\n\t\tget: (varId: string) => getBaseVarName(varId),\n\t},\n}\n\nexport const getVariableCss = (\n\tvarValue: VariablesValues,\n\tvariableKey: string,\n\tenvironmentRefs: { renderSticky: boolean },\n\tisNewStyleApi: boolean,\n\tdefaultSpx: Spx,\n\tmaintainSPX: boolean = false\n): Record<string, string> => {\n\tif (isUnitSizeValue(varValue)) {\n\t\treturn { [variableNameGetters.unitSize.get(variableKey)]: unitSizeToString(varValue.value) }\n\t}\n\n\tif (isItemsAlignmentValue(varValue)) {\n\t\treturn {\n\t\t\t[variableNameGetters.alignment.getForGrid(variableKey)]: gridAlignmentToString(varValue.value),\n\t\t\t[variableNameGetters.alignment.getForFlex(variableKey)]: flexAlignmentToString(varValue.value),\n\t\t}\n\t}\n\n\tif (isJustifyContentValue(varValue)) {\n\t\treturn {\n\t\t\t[variableNameGetters.justifyContent.get(variableKey)]: flexJustifyContentToString(varValue.value),\n\t\t}\n\t}\n\n\tif (isNumberValue(varValue)) {\n\t\treturn { [variableNameGetters.number.get(variableKey)]: numberToString(varValue.value) }\n\t}\n\n\tif (isKeywordLengthValue(varValue)) {\n\t\treturn { [variableNameGetters.repeatLength.get(variableKey)]: templateLengthToString(varValue.value) }\n\t}\n\tif (isPositionTypeValue(varValue)) {\n\t\tconst { position, stickyOffset, headerOffset, forceAuto } = positionToCss(varValue.value, environmentRefs)\n\t\treturn {\n\t\t\t[variableNameGetters.position.get(variableKey)]: position,\n\t\t\t[variableNameGetters.position.getForceAuto(variableKey)]: forceAuto,\n\t\t\t...(stickyOffset ? { [variableNameGetters.position.getStickyOffset(variableKey)]: stickyOffset } : {}),\n\t\t\t...(headerOffset ? { [variableNameGetters.position.getHeaderOffset(variableKey)]: headerOffset } : {}),\n\t\t}\n\t}\n\n\tif (isLayoutSizeValue(varValue)) {\n\t\tif (varValue.value.type === 'Calc') {\n\t\t\treturn {\n\t\t\t\t[variableNameGetters.layoutSize.get(variableKey)]: `calc(${resolveSpxAttribute(\n\t\t\t\t\tvarValue.value.value,\n\t\t\t\t\tundefined,\n\t\t\t\t\ttrue\n\t\t\t\t)})`,\n\t\t\t}\n\t\t}\n\t}\n\n\tif (isNewStyleApi) {\n\t\tconst valueAsString = `${varValue.value}`\n\t\treturn { [getBaseVarName(variableKey)]: maintainSPX ? valueAsString : resolveSpxAttribute(valueAsString, defaultSpx, true) }\n\t}\n\n\treturn {}\n}\n","import type { IPageDidUnmountHandler } from './types'\n\nexport const RegisterToUnmountSym = Symbol('RegisterToUnmount')\n\nexport type RegisterToUnmount = {\n\tregisterToPageDidUnmount: (pageDidUnmount: IPageDidUnmountHandler['pageDidUnmount']) => void\n}\n","export const name = 'thunderboltInitializer' as const\n\nexport const Thunderbolt = Symbol('Thunderbolt')\n","export const SiteMembersSymbol = Symbol('SiteMembers')\nexport const SiteMembersApiSymbol = Symbol('SiteMembersApi')\n\nexport const name = 'siteMembers' as const\n\nexport const DialogComponentId = 'SM_ROOT_COMP'\n","export const name = 'speculationRules' as const\n\nexport const SpeculationRulesSymbol = Symbol('SpeculationRulesSymbol')\n","export const BATCH_THROTTLE_DURATION_MS = 300;\nexport const EXTRA_BASE_PARAMS = ['dataCenter', 'isCached', 'isRollout', 'isDacRollout', 'isSavRollout', 'isHeadless', 'isSsr'];\n//# sourceMappingURL=constants.js.map","export const SiteFeatureConfigSymbol = Symbol('SiteFeatureConfig')\nexport const EditorFeatureConfigSymbol = Symbol('EditorFeatureConfig')\nexport const PageFeatureConfigSymbol = Symbol('PageFeatureConfig')\nexport const MasterPageFeatureConfigSymbol = Symbol('MasterPageFeatureConfig')\nexport const FeatureStateSymbol = Symbol('FeatureState')\nexport const FeatureExportsSymbol = Symbol('FeatureExports')\nexport const DynamicPagesSymbol = Symbol('DynamicPagesSymbol')\nexport const ConsentPolicySymbol = Symbol('ConsentPolicy')\nexport const PageFeatureConfigsSymbol = Symbol('PageFeatureConfigs')\n","export const name = 'components' as const\n\nexport const ComponentPropsExtenderSymbol = Symbol('ComponentPropsExtender')\nexport const ComponentDriverSymbol = Symbol('ComponentDriver')\nexport const ComponentDriverProviderSymbol = Symbol('ComponentDriverProvider')\nexport const BaseTraitSymbol = Symbol('BaseTrait')\nexport const ComponentWillMountSymbol = Symbol('ComponentWillMount')\nexport const ComponentsStoreSymbol = Symbol('ComponentsStore')\n","import type { BrowserWindow } from '@wix/thunderbolt-symbols'\nimport _ from 'lodash'\n\nexport type PmRpc = {\n\tapi: {\n\t\tset(appId: string, api: any): void\n\t\trequest<T>(appId: string, target: { target: Element | Window | Worker }): Promise<T>\n\t}\n}\n\ndeclare global {\n\tinterface Window {\n\t\tdefine?: Function & { amd: boolean }\n\t\tpmrpc?: PmRpc\n\t}\n}\n\ntype ScriptType = 'module'\nfunction _loadScriptTag(src: string, type?: ScriptType): Promise<unknown> {\n\treturn new Promise((resolve, reject) => {\n\t\tif (typeof document === 'undefined') {\n\t\t\treject('document is not defined when trying to load script tag')\n\t\t}\n\t\tconst script = document.createElement('script')\n\t\tscript.src = src\n\t\tif (type) {\n\t\t\tscript.type = type\n\t\t}\n\t\tscript.onerror = reject\n\t\tscript.onload = resolve\n\t\tdocument.head.appendChild(script)\n\t})\n}\n\nexport function loadScriptTag(src: string): Promise<unknown> {\n\treturn _loadScriptTag(src)\n}\n\nexport function loadModuleScriptTag(src: string): Promise<unknown> {\n\treturn _loadScriptTag(src, 'module')\n}\n\nexport function loadScriptWithRequireJS<T>(src: string): Promise<T> {\n\treturn new Promise((resolve, reject) => __non_webpack_require__([src], resolve, reject))\n}\n\nexport const scriptUrls = (moduleRepoUrl: string) => ({\n\tPM_RPC: `${moduleRepoUrl}/pm-rpc@3.0.3/build/pm-rpc.min.js`,\n\tREQUIRE_JS: `${moduleRepoUrl}/requirejs-bolt@2.3.6/requirejs.min.js`,\n})\n\nexport const loadPmRpc = async (moduleRepoUrl: string) => {\n\tif (window.pmrpc) {\n\t\treturn window.pmrpc\n\t}\n\tif (window.define?.amd) {\n\t\treturn loadScriptWithRequireJS<PmRpc>(scriptUrls(moduleRepoUrl).PM_RPC) as Promise<PmRpc>\n\t}\n\tawait loadScriptTag(scriptUrls(moduleRepoUrl).PM_RPC)\n\treturn window.pmrpc!\n}\n\nexport const loadRequireJS = _.once(\n\tasync (window: NonNullable<BrowserWindow>, moduleRepoUrl = 'https://static.parastorage.com/unpkg') => {\n\t\t// since react umd bundles do not define named modules, we must load react before loading requirejs.\n\t\t// further details here: https://requirejs.org/docs/errors.html#mismatch\n\t\t// requirejs will be hopefully removed once ooi comps will be consumed as comp libraries.\n\t\tawait window.reactAndReactDOMLoaded\n\t\tawait loadScriptTag(scriptUrls(moduleRepoUrl).REQUIRE_JS)\n\t\twindow.define!('lodash', [], () => _)\n\t\twindow.define!('_', [], () => _)\n\t\twindow.define!('reactDOM', [], () => window.ReactDOM)\n\t\twindow.define!('react', [], () => window.React)\n\t\twindow.define!('imageClientSDK', [], () => window.__imageClientApi__.sdk)\n\t\twindow.define!('imageClientApi', [], () => window.__imageClientApi__)\n\t}\n)\n","import type { ParsedSvg } from './typing'\n\ntype SvgTypes = 'shape' | 'tint' | 'color' | 'ugc'\n\nconst SVG_TYPES: { [k: string]: SvgTypes } = {\n\tSHAPE: 'shape',\n\tTINT: 'tint',\n\tCOLOR: 'color',\n\tUGC: 'ugc',\n}\n\nconst attributesRegexes = {\n\tfill: /fill=\"(.*?)\"/g,\n\t'data-color': /data-color=\"(.*?)\"/g,\n\t'data-type': /data-type=\"(.*?)\"/g,\n\t'data-bbox': /data-bbox=\"(.*?)\"/g,\n\twidth: /width=\"(.*?)\"/g,\n\theight: /height=\"(.*?)\"/g,\n\tviewBox: /viewBox=\"(.*?)\"/g,\n}\n\nconst elementsRegexes = {\n\tsvg: /(<svg(.*?)>)/g,\n\tpath: /(<path(.*?)>)/g,\n}\n\nconst getViewBoxObject = (viewBox: string) => {\n\tconst vieBoxArr = viewBox.split(' ')\n\treturn {\n\t\tx: vieBoxArr[0],\n\t\ty: vieBoxArr[1],\n\t\twidth: vieBoxArr[2],\n\t\theight: vieBoxArr[3],\n\t}\n}\n\nconst getAll = (str: string, regex: RegExp, defaultValue?: string): Array<string> => {\n\tconst match = regex.exec(str)\n\tif (match) {\n\t\treturn [match[1], ...getAll(str, regex, defaultValue)]\n\t}\n\treturn defaultValue ? [defaultValue] : []\n}\n\nconst getUGCViewBox = (svgType: SvgTypes, svgNode: string) => {\n\tif (svgType === SVG_TYPES.UGC) {\n\t\tconst [width] = getAll(svgNode, attributesRegexes.width)\n\t\tconst [height] = getAll(svgNode, attributesRegexes.height)\n\t\tif (width && height) {\n\t\t\treturn `0 0 ${width} ${height}`\n\t\t}\n\t}\n\treturn ''\n}\n\nconst getColors = (nodes: Array<string>) =>\n\tnodes.reduce((colors: { [k: string]: string }, node: string) => {\n\t\tconst [dataColor] = getAll(node, attributesRegexes['data-color'])\n\t\tconst [fill] = getAll(node, attributesRegexes.fill)\n\t\tcolors[`color${dataColor}`] = fill\n\t\treturn colors\n\t}, {})\n\nconst parseSvgString = (svgString: string, svgId = ''): ParsedSvg => {\n\tconst [svgNode] = getAll(svgString, elementsRegexes.svg)\n\tconst pathNodes = getAll(svgString, elementsRegexes.path)\n\n\tconst [svgType] = getAll(svgNode, attributesRegexes['data-type'], SVG_TYPES.SHAPE)\n\tconst [viewBox] = getAll(svgNode, attributesRegexes.viewBox).concat([getUGCViewBox(svgType as SvgTypes, svgNode)])\n\tconst [bbox] = getAll(svgNode, attributesRegexes['data-bbox'])\n\n\tconst svgInfo = {\n\t\t...getColors(pathNodes),\n\t\tsvgType,\n\t\tviewBox,\n\t\tbbox: bbox || '',\n\t}\n\n\treturn {\n\t\tcontent: svgString,\n\t\tinfo: svgInfo,\n\t\tboxBoundaries: bbox ? getViewBoxObject(bbox) : {},\n\t\tsvgId,\n\t}\n}\n\nexport { parseSvgString, attributesRegexes, elementsRegexes, getAll, SvgTypes, SVG_TYPES }\n","export const ShapeDividerBuilderID = 'wixSystemElements.BackgroundShapeDivider'\n","export const name = 'fedopsWixCodeSdk' as const\nexport const namespace = 'fedops' as const\n","export const name = 'environmentWixCodeSdk' as const\nexport const namespace = 'environment' as const\n","'use strict'\n\nmodule.exports.isClean = Symbol('isClean')\n\nmodule.exports.my = Symbol('my')\n","export const name = 'customUrlMapper' as const\nexport const CustomUrlMapperSymbol = Symbol('CustomUrlMapper')\n","export const NavigationSymbol = Symbol('Navigation')\n\nexport const name = 'navigation' as const\n","export const name = 'searchBox' as const\n","import type { Experiments, SiteAssetsExperimentMetadata } from '@wix/thunderbolt-symbols'\nimport { siteAssetsModules } from './siteAssetsModules'\n\nconst createExperiments = <T extends Record<string, SiteAssetsExperimentMetadata>>(obj: T) => obj\n\nexport const beckySpecs = createExperiments({\n\t'specs.thunderbolt.dynamicSlots': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.encodeUris': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.fixRatingsInputLeftShift': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.fixAiChatOnSafari': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\tdm_changeCSMKeys: {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform', 'thunderbolt-site-map'],\n\t},\n\t'specs.thunderbolt.deprecateAppId': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform', 'thunderbolt-site-map'],\n\t},\n\t'specs.thunderbolt.newControllersModel': {\n\t\tmodules: ['thunderbolt-platform', 'thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.breakingBekyCache': { modules: siteAssetsModules }, // closed by default. used only for urgent cases which require breaking tb modules cache\n\t'specs.thunderbolt.DatePickerPortal': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform', 'thunderbolt-css', 'thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.LinkBarPlaceholderImages': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.applyCssOnRefcompTpawidgetParent': { modules: ['thunderbolt-css'] },\n\t'specs.thunderbolt.repeater_keyboard_navigation': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.dropdownOptionStyle': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.oneDocStrictMode': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.shouldUseViewTransition': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.mpaViewTransitionsCssFeature': { modules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.shouldUseResponsiveImages': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.useResponsiveImgClassicFixed': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.DDMenuMigrateCssCarmiMapper': { modules: ['thunderbolt-css', 'thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.designableListForMobileDropdown': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.fiveGridLineStudioSkins': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.takeTranslationsFromManifest': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.keepTextInputHeight': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.calculateCollapsibleTextLineHeightByFont': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.migrateStylableComponentsInBlocksWidgets': { modules: siteAssetsModules }, // Internal Use\n\t'specs.thunderbolt.propsCarmiMappersMigration1': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.propsCarmiMappersMigration2': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.propsCarmiMappersMigration4': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.propsCarmiMappersMigration5': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.doNotInflateSharedParts': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.reuseDynamicRefSchemas': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.supportExternalDependenciesCss': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'component-manifest-css',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t],\n\t},\n\t'specs.thunderbolt.renderPlatformBuilderComponent': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.TextInputAutoFillFix': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.buttonUdp': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.enableOneDoc': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.A11yWPhotoPopupSemanticsAndKeyboardOperability': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.one_cell_grid_display_flex': { modules: ['thunderbolt-css', 'thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.one_cell_grid_display_flex_header_height': {\n\t\tmodules: ['thunderbolt-css', 'thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.one_cell_grid_display_block': { modules: ['thunderbolt-css', 'thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.ooiCssAsLinkTag': { modules: ['thunderbolt-css', 'thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.motionBgScrub': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.motionTimeAnimationsCSS': { modules: ['thunderbolt-features', 'thunderbolt-css'] },\n\t'specs.thunderbolt.motionScrollCSS': { modules: ['thunderbolt-css'] },\n\t'specs.thunderbolt.sandboxForCustomElement': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.fixCustomElementInWidgetInRepeater': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.forceStudio': { modules: siteAssetsModules }, // internal experiment, not for public use\n\t'specs.thunderbolt.useSvgLoaderFeature': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.useClassnameInResponsiveAppWidget': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.isClassNameToRootEnabled': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform', 'thunderbolt-css', 'thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.WixFreeSiteBannerDesktop': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.WixFreeSiteBannerMobile': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.svgResolver_2': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.removeSafariStickyFix': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.safariStickyFix': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.imageEncodingAVIF': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.updateRichTextSemanticClassNamesOnCorvid': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.responsiveTextInStretched': {\n\t\tmodules: ['thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.useWixMediaCanvas': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.LoginBarEnableLoggingInStateInSSR': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.servicesInfra': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.dummySATestCacheImpact': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.expandableMenuItemSubItemColor': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.showContentReflowBanner': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.DisableDocumentScrollWhenLightBoxOpen': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.overflowXClipHeaderAndFooter': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.whitelistedSpecForTesting': { modules: [] },\n\t'specs.thunderbolt.cssInBlocks': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.eeFixedGradiantBackground': { modules: ['thunderbolt-css'] },\n\t'specs.thunderbolt.useWowImageInFastGallery': { modules: ['thunderbolt-features', 'thunderbolt-platform'] },\n\t'specs.thunderbolt.extractLanguageCode': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.useImageAvifFormatInNativeProGallery': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.forceMpaNavigation': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.expandableMenuNewDirectionality': {\n\t\tmodules: ['thunderbolt-css', 'thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.ClassicRepeaterOrderFix': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.dom_store': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.spxStopper': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.pinnedTopAuto': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.interactionsFeature': { modules: ['thunderbolt-features', 'thunderbolt-css'] },\n\t'specs.thunderbolt.motionBackgroundSiteParallax': { modules: ['thunderbolt-features'] },\n\t'specs.thunderbolt.withInteractionsHOC': { modules: ['thunderbolt-features', 'thunderbolt-css'] },\n\t'specs.thunderbolt.EnableCustomCSSVarsForLoginSocialBar': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform', 'thunderbolt-css', 'thunderbolt-css-mappers'],\n\t},\n\t'specs.thunderbolt.useClassSelectors': {\n\t\tmodules: ['thunderbolt-css', 'thunderbolt-css-mappers', 'thunderbolt-platform', 'thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.fixMsbStateBox': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.removeFrozenFooterFromAnchors': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.reactGoogleMaps': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.removeIdsFromBuilderComponent': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.disableBuilderWixComponents': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.changeFocusRing': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.UseNewLoginSocialBarMemberInitialsAvatar': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.UseLoginSocialBarCustomMenu': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.browserZoomForSPX': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n\t'specs.thunderbolt.newStyleApi': {\n\t\tmodules: [\n\t\t\t'thunderbolt-features',\n\t\t\t'thunderbolt-css',\n\t\t\t'thunderbolt-css-mappers',\n\t\t\t'thunderbolt-platform',\n\t\t\t'thunderbolt-site-map',\n\t\t],\n\t},\n\t'specs.thunderbolt.UseNewLoginSocialBarCustomMenuPositioning': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.css_nesting_selectors': { modules: ['thunderbolt-css-mappers'] },\n\t'specs.thunderbolt.customScaleMinBreakpoint': {\n\t\tmodules: ['thunderbolt-css'],\n\t},\n\t'specs.thunderbolt.tpaAutoHeightWrapper': {\n\t\tmodules: ['thunderbolt-css']\n\t},\n\t'specs.thunderbolt.UseNewLoginSocialBarElementStructure': {\n\t\tmodules: ['thunderbolt-features', 'thunderbolt-platform'],\n\t},\n\t'specs.thunderbolt.useViewerRuntimeCssUrl': {\n\t\tmodules: [\n\t\t\t'thunderbolt-css',\n\t\t\t'component-manifest-css'\n\t\t],\n\t},\n\t'specs.thunderbolt.dontFilterSlots': {\n\t\tmodules: ['thunderbolt-features'],\n\t},\n})\n\n/*\n * This list contains experiments names that are relevant to code running in site-assets (A.K.A Becky)\n * They are available via envApi.getExperiments() for carmi code and compInfo['experiments'] for components mappers\n * If the code that uses the experiment runs in feature - you don't need to add it here\n * See becky experiment guidelines here: https://wix.slack.com/canvas/C4D8A09PZ\n * */\nexport type beckyWhitelistSpecType = keyof typeof beckySpecs\nexport const beckyWhitelist = Object.keys(beckySpecs) as Array<beckyWhitelistSpecType>\n\n/*\n * This list contains experiments names that are relevant to data-fixer code running in site-assets\n * They are passed to becky (site-assets modules) so that it can get fixed JSONs as input\n * Add only data-fixers experiments relevant to TB (they will be sent only if the experiment is open in thunderbolt-viewer scope)\n * */\nexport const dataFixersSpecsWhitelist = [\n\t'sv_migrateTpaToSemiNative',\n\t'bv_migrateAbsoluteLayoutToDataMaps',\n\t'bv_scrollEffectsFixer',\n\t'bv_migrate',\n\t'bv_migrateResponsiveLayoutToSingleLayoutData',\n\t'dm_removeMissingResponsiveRefs',\n\t'bv_removeMenuDataFromPageJson',\n\t'dm_fixMobileSplitInVariantNs',\n\t'dm_fixMobileSplitDesign',\n\t'dm_keepChildlessAppWidget',\n\t'dm_removeResponsiveDataFromClassicEditorFixer',\n\t'dm_enableDefaultA11ySettings',\n\t'dm_linkRelDefaults',\n\t'dm_pageWithItemLayoutFixer',\n\t'dm_migrateCollapsibleTextToNonStylable',\n\t'dm_migrateBreadcrumbsToNonStylable',\n\t'dm_migrateStylableButtonToNonStylable',\n\t'dm_migrateSelectableContainerInput',\n\t'dm_migrateSelectableContainerToNonStylable',\n\t'dm_migrateBlocksWidgetsToNonStylable',\n\t'dm_migrateProGalleryToNonStylable',\n]\n\n/*\n * This list contains experiments names that are relevant to data-fixer code running in site-assets\n * They are passed to becky (site-assets modules) so that it can get fixed JSONs as input\n * These experiments are always sent, regardless of conduction in thunderbolt-viewer scope.\n * */\nexport const hardCodedListOfDataFixersExperiments: Experiments = {}\n","const studioCustomColors = {\n\t// Studio Custom Colors added by the designer (in addition to the 6 colors base palette)\n\t'--wst-color-custom-1': 'color_13',\n\t'--wst-color-custom-2': 'color_16',\n\t'--wst-color-custom-3': 'color_17',\n\t'--wst-color-custom-4': 'color_19',\n\t'--wst-color-custom-5': 'color_20',\n\t'--wst-color-custom-6': 'color_21',\n\t'--wst-color-custom-7': 'color_22',\n\t'--wst-color-custom-8': 'color_23',\n\t'--wst-color-custom-9': 'color_24',\n\t'--wst-color-custom-10': 'color_25',\n\t'--wst-color-custom-11': 'color_26',\n\t'--wst-color-custom-12': 'color_27',\n\t'--wst-color-custom-13': 'color_28',\n\t'--wst-color-custom-14': 'color_29',\n\t'--wst-color-custom-15': 'color_30',\n\t'--wst-color-custom-16': 'color_31',\n\t'--wst-color-custom-17': 'color_32',\n\t'--wst-color-custom-18': 'color_33',\n\t'--wst-color-custom-19': 'color_34',\n\t'--wst-color-custom-20': 'color_35',\n}\n\nexport const colorMapping = {\n\t'--wst-color-fill-background-primary': 'color_11',\n\t'--wst-color-fill-background-secondary': 'color_12',\n\t'--wst-color-text-primary': 'color_15',\n\t'--wst-color-text-secondary': 'color_14',\n\t'--wst-color-action': 'color_18',\n\t'--wst-color-disabled': 'color_39',\n\t'--wst-color-title': 'color_45',\n\t'--wst-color-subtitle': 'color_46',\n\t'--wst-color-line': 'color_47',\n\t'--wst-button-color-fill-primary': 'color_48',\n\t'--wst-button-color-border-primary': 'color_49',\n\t'--wst-button-color-text-primary': 'color_50',\n\t'--wst-button-color-fill-primary-hover': 'color_51',\n\t'--wst-button-color-border-primary-hover': 'color_52',\n\t'--wst-button-color-text-primary-hover': 'color_53',\n\t'--wst-button-color-fill-primary-disabled': 'color_54',\n\t'--wst-button-color-border-primary-disabled': 'color_55',\n\t'--wst-button-color-text-primary-disabled': 'color_56',\n\t'--wst-button-color-fill-secondary': 'color_57',\n\t'--wst-button-color-border-secondary': 'color_58',\n\t'--wst-button-color-text-secondary': 'color_59',\n\t'--wst-button-color-fill-secondary-hover': 'color_60',\n\t'--wst-button-color-border-secondary-hover': 'color_61',\n\t'--wst-button-color-text-secondary-hover': 'color_62',\n\t'--wst-button-color-fill-secondary-disabled': 'color_63',\n\t'--wst-button-color-border-secondary-disabled': 'color_64',\n\t'--wst-button-color-text-secondary-disabled': 'color_65',\n\t'--wst-color-fill-base-1': 'color_36',\n\t'--wst-color-fill-base-2': 'color_37',\n\t'--wst-color-fill-base-shade-1': 'color_38',\n\t'--wst-color-fill-base-shade-2': 'color_39',\n\t'--wst-color-fill-base-shade-3': 'color_40',\n\t'--wst-color-fill-accent-1': 'color_41',\n\t'--wst-color-fill-accent-2': 'color_42',\n\t'--wst-color-fill-accent-3': 'color_43',\n\t'--wst-color-fill-accent-4': 'color_44',\n\t...studioCustomColors,\n}\n\nexport const fontMapping = {\n\t'--wst-font-style-h2': 'font_2',\n\t'--wst-font-style-h3': 'font_3',\n\t'--wst-font-style-h4': 'font_4',\n\t'--wst-font-style-h5': 'font_5',\n\t'--wst-font-style-h6': 'font_6',\n\t'--wst-font-style-body-large': 'font_7',\n\t'--wst-font-style-body-medium': 'font_8',\n\t'--wst-font-style-body-small': 'font_9',\n\t'--wst-font-style-body-x-small': 'font_10',\n}\n\nexport const CUSTOM_ELEMENT_GET_APP_TOKEN_EXPERIMENT = 'specs.thunderbolt.getAppTokenForCustomElement'\n","export const ViewerManagerApiImplementor = Symbol('ViewerManagerApiImplementor')\nexport const ViewerManagerApi = Symbol('ViewerManagerApi')\nexport const ViewerSourceSymbol = Symbol('ViewerSource')\nexport const ViewerBaseSymbol = Symbol('ViewerBase')\nexport const ManifestSymbol = Symbol('Manifest')\n","export const PANORAMA_APP_DEF_ID = 'b60344aa-05b6-49e0-815e-502ffab84c07';\nexport const PANORAMA_GRAFANA_BASE_URL = 'https://panorama-grafana.mon.wixprod.net';\nexport const DEV_PORTAL_BASE_URL = 'https://bo.wix.com/dev';\nexport const SUCCESS_RATE_GRAFANA_INVESTIGATION_DASHBOARD_URL = 'https://panorama-grafana.mon.wixprod.net/d/QOCglcv4z/success-rate-drop-breakdown';\nexport const DURATION_GRAFANA_INVESTIGATION_DASHBOARD_URL = 'https://panorama-grafana.mon.wixprod.net/d/2TD775vVk/duration-increase-breakdown';\nexport const CLICKHOUSE_REPORT_URL = 'https://panorama.wixapps.net/api/v1/log';\nexport const CLICKHOUSE_BATCH_REPORT_URL = 'https://panorama.wixapps.net/api/v1/bulklog';\n//# sourceMappingURL=constants.js.map","export const BodyContentSymbol = Symbol.for('BodyContentSymbol')\n","export const name = 'topologyService' as const\nexport const VIEWER_SERVICE_PACKAGE_NAME = '@wix/viewer-service-topology' as const\n","export const name = 'interactions' as const\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","export const name = 'cookiesManager' as const\n\nexport const CookiesManagerSymbol = Symbol('CookiesManager')\n","import type { MenuItemProps } from '@wix/thunderbolt-becky-types'\n\nconst slotItemWithSubItemClearance = (item: MenuItemProps) => {\n\tconst subItems = item.items || []\n\n\treturn subItems.length > 0\n}\n\nexport const filterItemsWithSlot = (\n\titems: Array<MenuItemProps>,\n\tallowSlotItemWithSubItems = false\n): Array<MenuItemProps> => {\n\treturn (Array.isArray(items) ? items : []).filter((item) => {\n\t\tconst hasSlot = !!item.slot\n\n\t\tif (!hasSlot) {\n\t\t\treturn true\n\t\t} else if (allowSlotItemWithSubItems) {\n\t\t\treturn slotItemWithSubItemClearance(item)\n\t\t}\n\n\t\treturn false\n\t})\n}\n","import { getEditorSDKurl } from '@wix/platform-editor-sdk/lib/loader'\nimport type { EditorSDKModule, EditorSDK, ApplicationContextOptions } from '@wix/platform-editor-sdk'\nimport type { Experiments } from '@wix/thunderbolt-symbols'\n\nexport interface InitEditorSdkOptions {\n\tloadEditorScript: (sdkScriptSrc: string) => Promise<unknown>\n\tsendMessageToEditor: (ev: MessageEvent) => void\n\tgetWindowUrl: () => string\n\texperiments: Experiments\n}\n\nexport const getMainFrameUrlParams = (windowUrl: string) => {\n\tconst params = new URL(windowUrl).searchParams\n\tconst sdkVersion = params.get('sdkVersion')\n\tconst appDefinitionId = params.get('appDefinitionId')\n\tconst applicationIdParam = params.get('applicationId')\n\n\treturn {\n\t\tsdkVersion,\n\t\tappDefinitionId,\n\t\tapplicationIdParam,\n\t}\n}\n\nexport const initEditorSdk = async (options: InitEditorSdkOptions): Promise<EditorSDK> => {\n\tconst { sendMessageToEditor, loadEditorScript, getWindowUrl, experiments } = options\n\tconst channel = new MessageChannel()\n\n\tconst windowUrl = getWindowUrl()\n\n\tconst { sdkVersion, appDefinitionId, applicationIdParam } = getMainFrameUrlParams(windowUrl)\n\n\tif (typeof appDefinitionId !== 'string') {\n\t\tthrow new Error('appDefinitionId should be string')\n\t}\n\n\tif (!sdkVersion) {\n\t\tthrow new Error('Could not find sdkVersion')\n\t}\n\n\tconst applicationIdAsNumber = Number(applicationIdParam)\n\tconst applicationId =\n\t\t!experiments['specs.thunderbolt.deprecateAppId'] && applicationIdParam && !isNaN(applicationIdAsNumber)\n\t\t\t? applicationIdAsNumber\n\t\t\t: undefined\n\n\tconst contextOptions: ApplicationContextOptions = {\n\t\tappDefinitionId,\n\t\tapplicationId,\n\t}\n\n\tchannel.port1.onmessage = (ev) => {\n\t\tsendMessageToEditor(ev)\n\t}\n\n\tconst sdkScriptSrc = getEditorSDKurl(windowUrl)\n\n\tawait loadEditorScript(sdkScriptSrc)\n\n\tawait editorSDK.__initWithTarget(channel.port2, [], '')\n\n\treturn editorSDK.getBoundedSDK(contextOptions)\n}\n\ndeclare const editorSDK: EditorSDKModule\n","export const name = 'customCss' as const\nexport const CustomCssAPISymbol = Symbol('CustomCssAPISymbol')\nexport const CustomCssDsAPISymbol = Symbol('CustomCssDsAPISymbol')\n","export const COMP_HEIGHTS = {\n\tSIMPLE: 130,\n\tFACES: 214,\n\tSTREAM: 575,\n\tMAX: 2000,\n}\n\nexport const COMP_WIDTHS = {\n\tMIN_WIDTH: 280,\n\tMAX_WIDTH: 500,\n}\n","import type { MultipleComponentsLifecycle } from './types'\n\nexport const groupByMultipleComponentTypes = <T extends MultipleComponentsLifecycle>(array: Array<T>) => {\n\treturn array.reduce<{ [componentType: string]: Array<T> }>((acc, x) => {\n\t\tx.componentTypes.forEach((componentType) => {\n\t\t\tacc[componentType] = acc[componentType] || []\n\t\t\tacc[componentType].push(x)\n\t\t})\n\t\treturn acc\n\t}, {})\n}\n","export const name = 'renderIndicator' as const\nexport const RenderIndicatorSymbol = Symbol('renderIndicator')\n","export const DEFAULT_STATUS_CODE = 200\n","import { createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { BrowserWindow } from '../types'\n\nexport const BrowserWindowSymbol = createIdentifier<NonNullable<BrowserWindow>>(Symbol('BrowserWindow'))\nexport const ViewerModelSym = Symbol('ViewerModel')\nexport const LanguageSymbol = Symbol('Language')\nexport const ViewModeSym = Symbol('ViewMode')\nexport const RendererPropsExtenderSym = Symbol('RendererPropsExtenderSym')\nexport const ComponentLibrariesSymbol = Symbol('ComponentLibraries')\nexport const LoggerSymbol = Symbol('LOG')\nexport const MockModulesForTestsSymbol = Symbol('MockModulesForTestsSymbol')\nexport const PlatformEnvDataProviderSymbol = Symbol('PlatformEnvDataProviderSymbol')\nexport const PlatformViewportAPISym = Symbol('PlatformViewportAPISym')\nexport const WixCodeSdkHandlersProviderSym = Symbol('WixCodeSdkHandlersProviderSym')\nexport const StoresProviderSymbol = Symbol('storesProviderSymbol')\nexport const PlatformSymbol = Symbol('PlatformSymbol')\nexport const PlatformWorkerPromiseSym = Symbol('PlatformWorkerPromiseSym')\nexport const AppDidMountPromiseSymbol = Symbol('AppDidMountPromiseSymbol')\nexport const RendererSymbol = Symbol('RendererSymbol')\nexport const BatchingStrategySymbol = Symbol('BatchingStrategySymbol')\nexport const DomReadySymbol = Symbol('DomReady')\nexport const ReactContextSymbol = Symbol('ReactContext')\nexport const PlatformPropsSyncManagerSymbol = Symbol('PlatformPropsSyncManager')\nexport const DynamicModelSymbol = Symbol('DynamicModel')\nexport const SessionModelSymbol = Symbol('SessionModelSymbol')\nexport const FetchAccessTokensSymbol = Symbol('FetchAccessTokens')\nexport const RendererExtensionsSymbol = Symbol('RendererExtensionsSymbol')\nexport const MawSdkSymbol = Symbol('MawSdkSymbol')\nexport const NotifyErrorSymbol = Symbol('NotifyErrorSymbol')\nexport const AuthenticationSymbol = Symbol('AuthenticationSymbol')\nexport const PerfReporterSymbol = Symbol('PerfReporterSymbol')\nexport const WorkerIframeWrapperManagerSymbol = Symbol('WorkerIframeWrapperManager')\nexport const TBReadySymbol = Symbol('TBReadySymbol')\nexport const SessionProviderSymbol = Symbol('SessionProvider')\n","import _ from 'lodash'\nimport type { TransformData } from '@wix/thunderbolt-becky-types'\n\nimport { unitSizeToString } from './responsive'\n\nconst orderedTransformationKeys = ['translate', 'scale', 'rotate', 'skew']\nconst DEFAULT_TRANSLATE = 'translateX(0)translateY(0)'\nconst DEFAULT_SCALE = 'scaleX(1)scaleY(1)'\nconst DEFAULT_SKEW = 'skewX(0deg)skewY(0deg)'\nconst DEFAULT_ROTATE = 'rotate(0deg)'\n\nconst isPropertyDefined = (property: keyof TransformData, styleItem: Partial<TransformData>) =>\n\tstyleItem.hasOwnProperty(property) && styleItem[property] !== undefined && styleItem[property] !== null\n\nconst resolveNumber = (value: number) => value || 0\n\nconst isStyleItemContainsTransformProps = (styleItem: Partial<TransformData>) =>\n\torderedTransformationKeys.some((property) => isPropertyDefined(property as keyof TransformData, styleItem))\n\nconst getTranslateString = (translate?: TransformData['translate'], options?: { vhScalingFactor?: string }) => {\n\tlet translateString = ''\n\tif (!translate) {\n\t\treturn DEFAULT_TRANSLATE\n\t}\n\n\tconst { vhScalingFactor } = options ?? {}\n\tconst { x: translateX, y: translateY } = translate\n\tif (translateX) {\n\t\ttranslateString += `translateX(${unitSizeToString(translateX, { vhScalingFactor })})`\n\t} else {\n\t\ttranslateString += 'translateX(0)'\n\t}\n\tif (translateY) {\n\t\ttranslateString += `translateY(${unitSizeToString(translateY, { vhScalingFactor })})`\n\t} else {\n\t\ttranslateString += 'translateY(0)'\n\t}\n\treturn translateString\n}\n\nconst getScaleString = (scale?: TransformData['scale']) => {\n\tlet scaleString = ''\n\tif (!scale) {\n\t\treturn DEFAULT_SCALE\n\t}\n\tconst { x: scaleX = 1, y: scaleY = 1 } = scale\n\tif (_.isNumber(scaleX)) {\n\t\tscaleString += `scaleX(${scaleX})`\n\t}\n\tif (_.isNumber(scaleY)) {\n\t\tscaleString += `scaleY(${scaleY})`\n\t}\n\treturn scaleString\n}\n\nconst getRotateString = (componentDefaultRotation?: number, rotate?: number) => {\n\tif (_.isNumber(rotate) || componentDefaultRotation) {\n\t\tconst compRotation = componentDefaultRotation || 0\n\t\tconst variantRotation = rotate || 0\n\t\t// chrome bug - An element with 3d transform ignores 'overflow: hidden' on a parent, when angles are multiplies of 90.\n\t\t// Jira - https://jira.wixpress.com/browse/WOW-83\n\t\t// Chrome bug report - https://bugs.chromium.org/p/chromium/issues/detail?id=1207151\n\t\tconst adjustRotationForChrome = rotate && rotate % 90 === 0 ? 0.0001 : 0\n\t\treturn `rotate(${resolveNumber(variantRotation) + compRotation + adjustRotationForChrome}deg)`\n\t}\n\treturn DEFAULT_ROTATE\n}\n\nconst getSkewString = (skew?: TransformData['skew']) => {\n\tlet skewString = ''\n\tif (!skew) {\n\t\treturn DEFAULT_SKEW\n\t}\n\tconst { x: skewX = 0, y: skewY = 0 } = skew\n\tif (_.isNumber(skewX)) {\n\t\tskewString += `skewX(${skewX}deg)`\n\t}\n\tif (_.isNumber(skewY)) {\n\t\tskewString += `skewY(${skewY}deg)`\n\t}\n\treturn skewString\n}\n\nexport {\n\tisStyleItemContainsTransformProps,\n\tgetTranslateString,\n\tgetRotateString,\n\tgetScaleString,\n\tgetSkewString,\n\torderedTransformationKeys,\n}\n","export const Fetch = Symbol('Fetch')\nexport const ContextWrappedFetchSym = Symbol('ContextWrappedFetch')\n","export const name = 'usedPlatformApis' as const\nexport const UsedPlatformApisSymbol = Symbol('UsedPlatformApis')\n","export const name = 'animationsWixCodeSdk' as const\nexport const namespace = 'animations' as const\n","export const name = 'testApi' as const\n","export const name = 'platform' as const\nexport const PlatformInitializerSym = Symbol.for('PlatformInitializer')\nexport const UnfinishedTasksManagerSymbol = Symbol('UnfinishedTasksHandlers')\nexport const PlatformWarmupDataManagerSymbol = Symbol('PlatformWarmupDataManager')\nexport const MainGridAppIdProviderSymbol = Symbol('MainGridAppIdProviderSymbol')\nexport const PlatformRefreshStateManagerSymbol = Symbol('PlatformRefreshStateManager')\n","export const name = 'clientSdk' as const\n","export interface ICompsLifeCycle {\n\tregisterToCompLifeCycle: (\n\t\tcompIds: Array<string>,\n\t\tcallbackName: string,\n\t\tcallback: (compId: string, displayedId: string, element: HTMLElement) => any\n\t) => () => void\n\tnotifyCompDidMount: (compId: string, displayedId: string) => void\n\twaitForComponentToRender: (compId: string) => Promise<Array<HTMLElement>>\n\tcomponentDidUnmount: (compId: string, displayedId?: string) => void\n}\n\nexport const CompsLifeCycleSym = Symbol.for('CompsLifeCycle')\n","import _ from 'lodash'\n\nconst componentAndDataConsts = {\n\tcomponents: {\n\t\tPROPERTY_TYPES: {\n\t\t\t/** @type {'components'} */\n\t\t\tCOMPONENTS: 'components',\n\t\t\t/** @type {'componentType'} */\n\t\t\tCOMPONENT_TYPE: 'componentType',\n\t\t\t/** @type {'builderType'} */\n\t\t\tBUILDER_TYPE: 'builderType',\n\t\t\t/** @type {'connectionQuery'} */\n\t\t\tCONNECTION_QUERY: 'connectionQuery',\n\t\t\t/** @type {'classnamesQuery'} */\n\t\t\tCLASSNAMES_QUERY: 'classnamesQuery',\n\t\t\t/** @type {'dataQuery'} */\n\t\t\tDATA_QUERY: 'dataQuery',\n\t\t\t/** @type {'propertyQuery'} */\n\t\t\tPROPERTY_QUERY: 'propertyQuery',\n\t\t\t/** @type {'designQuery'} */\n\t\t\tDESIGN_QUERY: 'designQuery',\n\t\t\t/** @type {'behaviorQuery'} */\n\t\t\tBEHAVIOR_QUERY: 'behaviorQuery',\n\t\t\t/** @type {'layoutQuery'} */\n\t\t\tLAYOUT_QUERY: 'layoutQuery',\n\t\t\t/** @type {'cursorQuery'} */\n\t\t\tCURSOR_QUERY: 'cursorQuery',\n\t\t\t/** @type {'transitionQuery'} */\n\t\t\tTRANSITION_QUERY: 'transitionQuery',\n\t\t\t/** @type {'reactionsQuery'} */\n\t\t\tREACTION_QUERY: 'reactionsQuery',\n\t\t\t/** @type {'triggersQuery'} */\n\t\t\tTRIGGERS_QUERY: 'triggersQuery',\n\t\t\t/** @type {'transitionQuery'} */\n\t\t\tTRANSFORMATION_QUERY: 'transformationQuery',\n\t\t\t/** @type {'presetsQuery'} */\n\t\t\tPRESETS_QUERY: 'presetsQuery',\n\t\t\t/** @type {'slotsQuery'} */\n\t\t\tSLOTS_QUERY: 'slotsQuery',\n\t\t\t/** @type {'id'} */\n\t\t\tID: 'id',\n\t\t\t/** @type {'layout'} */\n\t\t\tLAYOUT: 'layout',\n\t\t\t/** @type {'metaData'} */\n\t\t\tMETA_DATA: 'metaData',\n\t\t\t/** @type {'mobileHintsQuery'} */\n\t\t\tMOBILE_HINTS_QUERY: 'mobileHintsQuery',\n\t\t\t/** @type {'modes'} */\n\t\t\tMODES: 'modes',\n\t\t\t/** @type {'skin'} */\n\t\t\tSKIN: 'skin',\n\t\t\t/** @type {'styleId'} */\n\t\t\tSTYLE_ID: 'styleId',\n\t\t\t/** @type {'parent'} */\n\t\t\tPARENT: 'parent',\n\t\t\t/** @type {'type'} */\n\t\t\tTYPE: 'type',\n\t\t\t/** @type {'uiType'} */\n\t\t\tUI_TYPE: 'uiType',\n\t\t\t/** @type {'anchorQuery'} */\n\t\t\tANCHOR_QUERY: 'anchorQuery',\n\t\t\t/** @type {'variablesQuery'} */\n\t\t\tVARIABLES_QUERY: 'variablesQuery',\n\t\t\t/** @type {'patternsQuery'} */\n\t\t\tPATTERNS_QUERY: 'patternsQuery',\n\t\t\t/** @type {'effectsQuery'} */\n\t\t\tEFFECTS_QUERY: 'effectsQuery',\n\t\t\t/** @type {'variantsQuery'} */\n\t\t\tVARIANTS_QUERY: 'variantsQuery',\n\t\t\t/** @type {'statesQuery'} */\n\t\t\tSTATES_QUERY: 'statesQuery',\n\t\t\t/** @type {'innerElementsQuery'} */\n\t\t\tINNER_ELEMENTS_QUERY: 'innerElementsQuery',\n\t\t},\n\t},\n\tdata: {\n\t\tDATA_MAPS: {\n\t\t\t/** @type {'behaviors_data'} */\n\t\t\tBEHAVIORS: 'behaviors_data',\n\t\t\t/** @type {'connections_data'} */\n\t\t\tCONNECTIONS: 'connections_data',\n\t\t\t/** @type {'document_data'} */\n\t\t\tDATA: 'document_data',\n\t\t\t/** @type {'classnames'} */\n\t\t\tCLASSNAMES: 'classnames',\n\t\t\t/** @type {'design_data'} */\n\t\t\tDESIGN: 'design_data',\n\t\t\t/** @type {'cursor'} */\n\t\t\tCURSOR: 'cursor',\n\t\t\t/** @type {'mobile_hints'} */\n\t\t\tMOBILE_HINTS: 'mobile_hints',\n\t\t\t/** @type {'component_properties'} */\n\t\t\tPROPERTIES: 'component_properties',\n\t\t\t/** @type {'layout_data'} */\n\t\t\tLAYOUT: 'layout_data',\n\t\t\t/** @type {'theme_data'} */\n\t\t\tSTYLE: 'theme_data',\n\t\t\t/** @type {'transformations_data'} */\n\t\t\tTRANSFORMATIONS: 'transformations_data',\n\t\t\t/** @type {'patters'} */\n\t\t\tPATTERNS: 'patterns',\n\t\t\t/** @type {'transitions_data'} */\n\t\t\tTRANSITIONS: 'transitions_data',\n\t\t\t/** @type {'presets'} */\n\t\t\tPRESETS: 'presets',\n\t\t\t/** @type {'slots'} */\n\t\t\tSLOTS: 'slots',\n\t\t\t/** @type {'anchor_data'} */\n\t\t\tANCHOR: 'anchors_data',\n\t\t\t/** @type {'variant_data'} */\n\t\t\tVARIANTS: 'variants_data',\n\t\t\t/** @type {'reactions'} */\n\t\t\tREACTIONS: 'reactions',\n\t\t\t/** @type {'triggers'} */\n\t\t\tTRIGGERS: 'triggers',\n\t\t\t/** @type {'variables'} */\n\t\t\tVARIABLES: 'variables',\n\t\t\t/** @type {'effects'} */\n\t\t\tEFFECTS: 'effects',\n\t\t\t/** @type {'states'} */\n\t\t\tSTATES: 'states',\n\t\t\t/** @type {'inner_elements'} */\n\t\t\tINNER_ELEMENTS: 'innerElements',\n\t\t\t/** @type {'intent'} */\n\t\t\tINTENT: 'intent',\n\t\t},\n\t\tDATA_TYPES: {\n\t\t\tSVG: 'SVGItem',\n\t\t},\n\t},\n} as const\n\nconst QUERY_TO_MAP_NAME = {\n\t[componentAndDataConsts.components.PROPERTY_TYPES.BEHAVIOR_QUERY]: componentAndDataConsts.data.DATA_MAPS.BEHAVIORS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.CONNECTION_QUERY]:\n\t\tcomponentAndDataConsts.data.DATA_MAPS.CONNECTIONS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.DATA_QUERY]: componentAndDataConsts.data.DATA_MAPS.DATA,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.CLASSNAMES_QUERY]:\n\t\tcomponentAndDataConsts.data.DATA_MAPS.CLASSNAMES,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.DESIGN_QUERY]: componentAndDataConsts.data.DATA_MAPS.DESIGN,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.PROPERTY_QUERY]: componentAndDataConsts.data.DATA_MAPS.PROPERTIES,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.STYLE_ID]: componentAndDataConsts.data.DATA_MAPS.STYLE,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.LAYOUT_QUERY]: componentAndDataConsts.data.DATA_MAPS.LAYOUT,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.CURSOR_QUERY]: componentAndDataConsts.data.DATA_MAPS.CURSOR,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.REACTION_QUERY]: componentAndDataConsts.data.DATA_MAPS.REACTIONS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.TRIGGERS_QUERY]: componentAndDataConsts.data.DATA_MAPS.TRIGGERS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.TRANSFORMATION_QUERY]:\n\t\tcomponentAndDataConsts.data.DATA_MAPS.TRANSFORMATIONS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.TRANSITION_QUERY]:\n\t\tcomponentAndDataConsts.data.DATA_MAPS.TRANSITIONS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.PRESETS_QUERY]: componentAndDataConsts.data.DATA_MAPS.PRESETS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.SLOTS_QUERY]: componentAndDataConsts.data.DATA_MAPS.SLOTS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.MOBILE_HINTS_QUERY]:\n\t\tcomponentAndDataConsts.data.DATA_MAPS.MOBILE_HINTS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.ANCHOR_QUERY]: componentAndDataConsts.data.DATA_MAPS.ANCHOR,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.VARIABLES_QUERY]: componentAndDataConsts.data.DATA_MAPS.VARIABLES,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.PATTERNS_QUERY]: componentAndDataConsts.data.DATA_MAPS.PATTERNS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.EFFECTS_QUERY]: componentAndDataConsts.data.DATA_MAPS.EFFECTS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.VARIANTS_QUERY]: componentAndDataConsts.data.DATA_MAPS.VARIANTS,\n\t[componentAndDataConsts.components.PROPERTY_TYPES.STATES_QUERY]: componentAndDataConsts.data.DATA_MAPS.STATES,\n}\n\nconst MAP_NAME_TO_QUERY = _.invert(QUERY_TO_MAP_NAME)\n\nconst pointers = {\n\tQUERY_TO_MAP_NAME,\n\tMAP_NAME_TO_QUERY,\n\t...componentAndDataConsts,\n} as const\n\nexport const childrenKeys = {\n\tMOBILE_COMPONENTS: 'mobileComponents',\n\tMASTER_PAGE_CHILDREN: 'children',\n\tCOMPONENTS: 'components',\n} as const\n\nconst VARIANTS_CSS_STRATEGIES = {\n\tALL_CHILDREN: 'ALL_CHILDREN',\n\tDIRECT_CHILDREN: 'DIRECT_CHILDREN',\n}\n\nexport type Z_LAYER_KEYS = 'BELOW_PINNED' | 'ABOVE_PINNED' | 'ABOVE_ALL_COMPS'\n\nconst Z_LAYER_VALUE_MAP: Record<Z_LAYER_KEYS, number> = {\n\tBELOW_PINNED: 1,\n\tABOVE_PINNED: 51,\n\tABOVE_ALL_COMPS: 100000,\n}\n\nexport const MASTER_PAGE_ID = 'masterPage'\n\nexport const TPA_GALLERIES = [\n\t'Accordion',\n\t'Collage',\n\t'Freestyle',\n\t'Honeycomb',\n\t'Impress',\n\t'Masonry',\n\t'StripShowcase',\n\t'StripSlideshow',\n\t'TPA3DCarousel',\n\t'TPA3DGallery',\n\t'Thumbnails',\n]\n\nexport const AUTO_HEIGHT_COMP_TYPES: { [compType: string]: boolean } = {\n\tSelectionTagsList: true,\n\tRefComponent: true,\n\tCheckbox: true,\n\tComboBoxInput: true,\n\tCheckboxGroup: true,\n\tTextMask: true,\n\tTextAreaInput: true,\n\tCollapsibleText: true,\n\tRadioGroup: true,\n\tTabs: true,\n\tTextMarquee: true,\n\tFileUploader: true,\n\tPagination: true,\n}\n\nexport const TPA_WIDGETS_WITH_AUTO_HEIGHT: { [roleType: string]: boolean } = {\n\tsliderGallery: true,\n\tgridGallery: true\n}\n\nexport { pointers, VARIANTS_CSS_STRATEGIES, Z_LAYER_VALUE_MAP }\n\nexport const COMPONENTS_WITH_PORTAL_PREFIXES: { [compType: string]: string } = {\n\tDatePicker: 'portal-',\n\tComboBoxInput: 'listModal_',\n\tRichTextBox: 'linkModal_',\n\tVideoBox: 'VideoBox_dummy_',\n\tMenu: 'portal-',\n}\n","export const DEFAULT_EXPIRATION_TIME = 210 * 60 * 1000 // 210 minutes = 3.5 hours\nexport const META_SITE_APP_ID = -666\n","export var SESSION_TYPES = {\n    COURSE: 'course',\n    SERVICE: 'service',\n};\nexport var RATE_TYPES = {\n    FIXED: 'fixed',\n    VARIED: 'varied',\n    NO_FEE: 'no_fee',\n    CUSTOM: 'custom',\n    UNKNOWN_RATE_TYPE: 'unknown_rate_type',\n};\n","export const name = 'coBranding' as const\n","import type { CommonConfig, CommonConfigHeader } from '@wix/thunderbolt-symbols'\n\n// https://github.com/wix-private/fed-infra/blob/87e30c76eee659b0cbb1d3fa431413c831cbae4e/wix-headers/src/headers/common-config.ts#L38\nexport const getCommonConfigHeader = (commonConfig: CommonConfig): CommonConfigHeader => {\n\tconst commonConfigHeader: any = { ...commonConfig }\n\t// Needed since the Aspect in the server expects BSI according to it's proto: https://github.com/wix-private/fed-infra/blob/master/fed-infra-protos/src/main/proto/common-config.proto#L26\n\tcommonConfigHeader.BSI = commonConfigHeader.bsi\n\t// using deny list instead so we don't need to manually add every new property\n\tdelete commonConfigHeader.consentPolicyHeader\n\tdelete commonConfigHeader.consentPolicy\n\treturn commonConfigHeader\n}\n","import type { BrowserWindow } from '@wix/thunderbolt-symbols'\n\nexport type CssOverrides = { [prop: string]: string }\nexport type CssOverridesWithPriorities = { [prop: string]: { value: string; priority?: string } }\n\nexport const getRuntimeStyleOverridesManager = () => {\n\tconst stylePropertiesToRestore: { [selector: string]: CssOverrides } = {}\n\n\tconst styleOverrides = {\n\t\tsetItemCssOverrides: (\n\t\t\tcssOverridesWithPriorities: CssOverridesWithPriorities,\n\t\t\tselector: string,\n\t\t\twindow: NonNullable<BrowserWindow>\n\t\t) => {\n\t\t\tif (!process.env.browser && process.env.NODE_ENV !== 'test') {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tconst nodes = window.document.querySelectorAll<HTMLElement>(selector)\n\t\t\tnodes.forEach((node) => {\n\t\t\t\tstylePropertiesToRestore[selector] = stylePropertiesToRestore[selector] || {}\n\t\t\t\tObject.entries(cssOverridesWithPriorities).forEach(([prop, override]) => {\n\t\t\t\t\tif (typeof stylePropertiesToRestore[selector][prop] === 'undefined') {\n\t\t\t\t\t\t// first override of this prop - save the original value to restore it later\n\t\t\t\t\t\tstylePropertiesToRestore[selector][prop] = node.style.getPropertyValue(prop)\n\t\t\t\t\t}\n\n\t\t\t\t\tnode.style.setProperty(prop, override.value, override.priority)\n\t\t\t\t})\n\t\t\t})\n\t\t},\n\t\tclearItemCssOverrides: (selector: string, window: NonNullable<BrowserWindow>) => {\n\t\t\tconst itemOverridesOriginalValues = stylePropertiesToRestore[selector]\n\t\t\tif (!itemOverridesOriginalValues) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst nodes = window.document.querySelectorAll<HTMLElement>(selector)\n\t\t\tnodes.forEach((node) => {\n\t\t\t\tObject.entries(itemOverridesOriginalValues).forEach(([prop, originalValue]) => {\n\t\t\t\t\tnode.style.setProperty(prop, originalValue)\n\t\t\t\t})\n\n\t\t\t\tif (node.getAttribute('style') === '') {\n\t\t\t\t\tnode.removeAttribute('style')\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tdelete stylePropertiesToRestore[selector]\n\t\t},\n\t\tclearAllItemsCssOverrides: (window: NonNullable<BrowserWindow>) => {\n\t\t\tObject.keys(stylePropertiesToRestore).forEach((selector) => {\n\t\t\t\tstyleOverrides.clearItemCssOverrides(selector, window)\n\t\t\t})\n\t\t},\n\t}\n\n\treturn styleOverrides\n}\n","export const pageIdSym = Symbol('pageId')\nexport const contextIdSymbol = Symbol('contextId')\nexport const PageAssetsLoaderSymbol = Symbol('PageAssetsLoaderSymbol')\nexport const CssFetcherSymbol = Symbol('CssFetcher')\nexport const PageResourceFetcherSymbol = Symbol('PageResourceFetcher')\nexport const PageFeatureLoaderSym = Symbol('PageFeatureLoader')\nexport const PageTransitionsCompletedSymbol = Symbol('PageTransitionsCompleted')\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.COMMENT_START_IN_RAWS_BETWEEN_REGEX = exports.SELECTOR_STATE_REGEX = exports.PROPS_SUPPORTING_COMMENTS = exports.DEFAULT_FILTER = void 0;\nvar DEFAULT_FILTER = function (_) { return true; };\nexports.DEFAULT_FILTER = DEFAULT_FILTER;\nexports.PROPS_SUPPORTING_COMMENTS = ['background', 'box-shadow', 'text-shadow'];\nexports.SELECTOR_STATE_REGEX = /.*[^:]:([^:]*)$/;\nexports.COMMENT_START_IN_RAWS_BETWEEN_REGEX = /^:\\s*\\/\\*/;\n//# sourceMappingURL=stylable-aggregation-constants.js.map","export const name = 'locationWixCodeSdk' as const\nexport const namespace = 'location' as const\n\nexport const EditorLocationSDKHandlersSymbols = Symbol('EditorLocationSDKHandlers')\n","export const ABOVE_ALL_IN_CONTAINER_Z_INDEX_DEFINED: number = 10000\nexport const ABOVE_ALL_IN_CONTAINER_Z_INDEX_NOT_DEFINED: number = 49\nexport const PINNED_LAYER_IN_CONTAINER: number = 99991\n\nexport const INITIAL_Z_INDEX: number = 50\nexport const Z_INDEX_RANGE: number = 1\nexport const RESPONSIVE_Z_INDEX_ADDITION: number = 2\nexport const ABOVE_ALL_COMP_Z_INDEX: string = 'calc(var(--above-all-z-index) - 2)'\n\nexport const PINNED_LAYER_SUFFIX: string = '-pinned-layer'\nexport const SECTIONS_CONTAINER_PREFIX: string = 'PAGE_SECTIONS'\n\n// Container IDS\nexport const CONTAINER_IDS = {\n\tMASTER_PAGE: 'masterPage',\n\tSITE_HEADER: 'SITE_HEADER',\n\tSITE_FOOTER: 'SITE_FOOTER',\n\tSOSP_CONTAINER_CUSTOM_ID: 'SOSP_CONTAINER_CUSTOM_ID',\n\tPAGES_CONTAINER: 'PAGES_CONTAINER',\n\tQUICK_ACTION_BAR: 'QUICK_ACTION_BAR',\n}\n\nexport const EXCLUDED_COMPONENTS_CLASSIC = [\n\tCONTAINER_IDS.SITE_HEADER,\n\tCONTAINER_IDS.SOSP_CONTAINER_CUSTOM_ID,\n\tCONTAINER_IDS.PAGES_CONTAINER,\n\tCONTAINER_IDS.SITE_FOOTER,\n]\nexport const ABOVE_ALL_COMPONENTS_CLASSIC = [CONTAINER_IDS.QUICK_ACTION_BAR]\n\n// CSS Properties\nexport const CSS_PROPERTIES = {\n\tZ_INDEX: 'z-index',\n\tABOVE_ALL_IN_CONTAINER: '--above-all-in-container',\n\tPINNED_LAYER_IN_CONTAINER: '--pinned-layer-in-container',\n\tPINNED_LAYERS_IN_PAGE: '--pinned-layers-in-page',\n\tPINNED_LAYER_IN_CONTAINER_VAR: 'var(--pinned-layer-in-container, 0)',\n\tPINNED_LAYERS_IN_PAGE_VAR: 'var(--pinned-layers-in-page, 0)',\n}\n\n// Layout types\nexport const FIXED_ITEM_LAYOUT = 'FixedItemLayout'\nexport const FIXED_POSITION_ITEM_LAYOUT = 'FixedPositionItemLayout'\nexport const MASTER_PAGE_ITEM_LAYOUT = 'MasterPageItemLayout'\n\n// Component types\nexport const COMPONENT_TYPES = {\n\tREF_COMPONENT: 'RefComponent',\n\tREF_ARRAY: 'RefArray',\n\tSECTION: 'Section',\n\tHEADER_SECTION: 'HeaderSection',\n\tFOOTER_SECTION: 'FooterSection',\n\tPAGE: 'Page',\n\tMASTER_PAGE: 'MasterPage',\n\tSITE: 'Site',\n}\n","export const name = 'translations' as const\n","import type { Cache } from '@wix/thunderbolt-ssr-api'\nimport type {\n\tAppSpecData,\n\tBuilderCompData,\n\tBuilderComponentsData,\n\tBuilderCompTranslations,\n\tBuilderPublicPackagesUrls,\n\tViewerClientSpecMap,\n} from '@wix/thunderbolt-symbols'\nimport { NoopCache } from '../withCache'\n\nconst LOCAL_PILER_STATICS = 'http://localhost:3003'\n\nexport const isPilerComponent = (componentUrl: string) => componentUrl.includes('piler-router')\n\nexport type IGetBuilderComponentsData = (\n\tclientSpecMap: ViewerClientSpecMap,\n\tisBuilderComponentModel?: boolean,\n\tserviceTopology?: Record<string, string>,\n\tbuilderPublicManifest?: Record<string, string>,\n\tuseLocalPiler?: boolean,\n\tdebug?: boolean,\n\tshouldDisableBuilderWixComponents?: boolean,\n) => BuilderComponentsData\n\nexport type IGetBuilderComponentsTranslations = (\n\tclientSpecMap: ViewerClientSpecMap\n) => Record<string, BuilderCompTranslations>\n\nconst builderPublicPackages = [\n\t'builder-interactions',\n\t'builder-state',\n\t'builder-state-react',\n\t'builder-velo',\n\t'builder-velo-react',\n\t'builder-wix-components',\n\t'builder-element-removal',\n\t'builder-utils',\n]\n\nexport const VIEWER_ASSETS_BASE_URL = 'https://viewer-assets.parastorage.com'\nexport const PILER_SITEASSETS_PACKAGE = '@wix/piler-siteassets'\n\nexport const getBuilderPublicManifest = async (\n\tbaseUrl: string,\n\tversion: string,\n\tcache: Cache<string, string> = NoopCache()\n): Promise<Record<string, string>> => {\n\tconst url = `${baseUrl}/builder-public-manifests/${version}/piler-siteassets-manifest.json`\n\n\tif (cache.get(url)) {\n\t\treturn JSON.parse(cache.get(url)!)\n\t}\n\n\treturn fetch(url)\n\t\t.then((res) => {\n\t\t\tif (!res.ok) {\n\t\t\t\tthrow new Error(`failed to fetch builder public manifest from ${url}: ${res.statusText}`)\n\t\t\t}\n\t\t\treturn res.text()\n\t\t})\n\t\t.then((txt) => {\n\t\t\tcache.set(url, txt)\n\t\t\treturn JSON.parse(txt)\n\t\t})\n}\n\nexport const getPublicPackagesUrls = (\n\tserviceTopology: Record<string, string>,\n\tbuilderPublicManifest: Record<string, string> = {},\n\tuseLocalPiler = false,\n\tdebug = false,\n\tshouldDisableBuilderWixComponents = false\n): BuilderPublicPackagesUrls => {\n\tconst getUrlFor = (pkg: string) => {\n\t\tconst base = serviceTopology[pkg]\n\t\tconst url = builderPublicManifest[pkg] ? `${base.replace(/\\/[^/]+$/, '')}/${builderPublicManifest[pkg]}` : base\n\n\t\tif (pkg === 'services-manager-react') {\n\t\t\treturn url\n\t\t}\n\t\tif (useLocalPiler) {\n\t\t\treturn LOCAL_PILER_STATICS\n\t\t}\n\t\treturn debug ? `${url}/debug` : url\n\t}\n\n\tconst builderBundleUrlFor = (pkg: string, format: string) => {\n\t\tconst suffix = format === 'es' ? 'mjs' : 'js'\n\t\tconst baseUrl = getUrlFor(pkg)\n\t\treturn `${baseUrl}/${format}/${pkg}.${suffix}`\n\t}\n\n\tconst urls = {\n\t\tumd: {\n\t\t\t...(!shouldDisableBuilderWixComponents && {\n\t\t\t\t'builder-wix-components-sdks': `${getUrlFor('builder-wix-components')}/sdks/umd/sdks.js`,\n\t\t\t}),\n\t\t},\n\t\tesm: {\n\t\t\t'services-manager-react': process.env.browser\n\t\t\t\t? `${getUrlFor('services-manager-react')}/browser/index.js`\n\t\t\t\t: `${getUrlFor('services-manager-react')}/index.js`,\n\t\t\t...(!shouldDisableBuilderWixComponents && {\n\t\t\t\t'builder-wix-components-sdks': `${getUrlFor('builder-wix-components')}/sdks/es/sdks.mjs`,\n\t\t\t}),\n\t\t},\n\t} as BuilderPublicPackagesUrls\n\n\treturn builderPublicPackages.reduce((acc, pkg) => {\n\t\tif (shouldDisableBuilderWixComponents && pkg === 'builder-wix-components') {\n\t\t\treturn acc\n\t\t}\n\t\tacc.umd[pkg] = builderBundleUrlFor(pkg, 'umd')\n\t\tacc.esm[pkg] = builderBundleUrlFor(pkg, 'es')\n\t\treturn acc\n\t}, urls)\n}\n\nexport const getBuilderComponentsData: IGetBuilderComponentsData = (\n\tclientSpecMap,\n\tisBuilderComponentModel,\n\tserviceTopology,\n\tbuilderPublicManifest,\n\tuseLocalPiler,\n\tdebug,\n\tshouldDisableBuilderWixComponents\n): BuilderComponentsData => {\n\t// If we are not in builder component model (e.g. in studio/classic), we don't want to load builder components data\n\tif (!isBuilderComponentModel) {\n\t\treturn {\n\t\t\tcomponents: {},\n\t\t\tpublicPackagesUrls: {},\n\t\t} as BuilderComponentsData\n\t}\n\tconst componentsData = Object.values(clientSpecMap).reduce((acc, spec: AppSpecData) => {\n\t\tconst { appDefinitionId, components } = spec\n\t\tif (!components) {\n\t\t\treturn acc\n\t\t}\n\n\t\tcomponents\n\t\t\t.filter((comp) => comp.type === 'EDITOR_REACT_COMPONENT')\n\t\t\t.forEach((comp) => {\n\t\t\t\tconst { componentId, data } = comp\n\t\t\t\tconst { type, resources } = data\n\t\t\t\tconst sdkUrl = resources.sdk?.url\n\t\t\t\tconst serverUrl = resources.server?.url || ''\n\t\t\t\tconst editorComponentUrl = resources.editor?.componentUrl\n\t\t\t\tconst editorCssUrl = resources.editor?.cssUrl\n\t\t\t\tconst componentUrl = resources.client?.componentUrl || ''\n\t\t\t\tconst moduleSpecifier = resources.client?.moduleSpecifier\n\n\t\t\t\tconst translations = resources.translations\n\t\t\t\tconst viewerReducedModel = resources.viewerReducedModel\n\t\t\t\tconst viewerRuntimeCss = resources.viewerRuntimeCss\n\n\t\t\t\tacc[type] = {\n\t\t\t\t\tappDefinitionId,\n\t\t\t\t\tcomponentId,\n\t\t\t\t\tcomponentType: type,\n\t\t\t\t\tcomponentUrl,\n\t\t\t\t\teditorComponentUrl,\n\t\t\t\t\tcssUrl: resources?.client?.cssUrl || '',\n\t\t\t\t\teditorCssUrl,\n\t\t\t\t\tviewerReducedModel,\n\t\t\t\t\tviewerRuntimeCss,\n\t\t\t\t\t...(sdkUrl && {\n\t\t\t\t\t\tsdkUrl,\n\t\t\t\t\t}),\n\t\t\t\t\t...(serverUrl && {\n\t\t\t\t\t\tserverUrl,\n\t\t\t\t\t}),\n\t\t\t\t\t...(translations && {\n\t\t\t\t\t\ttranslations,\n\t\t\t\t\t}),\n\t\t\t\t\t...(moduleSpecifier && {\n\t\t\t\t\t\tmoduleSpecifier,\n\t\t\t\t\t}),\n\t\t\t\t}\n\t\t\t})\n\n\t\treturn acc\n\t}, {} as Record<string, BuilderCompData>)\n\n\treturn {\n\t\tcomponents: componentsData,\n\t\tpublicPackagesUrls: serviceTopology ? getPublicPackagesUrls(serviceTopology, builderPublicManifest, useLocalPiler, debug, shouldDisableBuilderWixComponents) : {},\n\t} as BuilderComponentsData\n}\n\nexport const getBuilderComponentsTranslations: IGetBuilderComponentsTranslations = (clientSpecMap) => {\n\treturn Object.values(clientSpecMap).reduce((acc, spec: AppSpecData) => {\n\t\tconst { components } = spec\n\t\tif (!components) {\n\t\t\treturn acc\n\t\t}\n\n\t\tcomponents\n\t\t\t.filter((comp) => comp.type === 'EDITOR_REACT_COMPONENT')\n\t\t\t.forEach((comp) => {\n\t\t\t\tconst { data } = comp\n\t\t\t\tconst { type, resources } = data\n\n\t\t\t\tconst translations = resources.translations\n\n\t\t\t\tif (translations) {\n\t\t\t\t\tacc[type] = translations\n\t\t\t\t}\n\t\t\t})\n\n\t\treturn acc\n\t}, {} as Record<string, BuilderCompTranslations>)\n}\n\nconst isBuilderData = (type: string) => type?.endsWith('.Data')\n\nexport const extractComponentData = (componentData: any): any => {\n\tif (!componentData || typeof componentData !== 'object') {\n\t\treturn componentData\n\t}\n\n\tif (Array.isArray(componentData)) {\n\t\treturn componentData.map((item) => extractComponentData(item))\n\t}\n\n\tif (isBuilderData(componentData.type) && componentData.data) {\n\t\treturn extractComponentData(componentData.data)\n\t}\n\n\treturn Object.entries(componentData)\n\t\t.reduce(\n\t\t\t(result, [key, value]) => ({\n\t\t\t\t...result,\n\t\t\t\t[key]: extractComponentData(value),\n\t\t\t}),\n\t\t\t{}\n\t\t)\n}\n","export const LayoutDoneServiceSymbol = Symbol('LayoutDoneService')\nexport const RenderDoneObserverSymbol = Symbol('RenderDoneObserver')\nexport const LayoutChangeObserverSymbol = Symbol('LayoutChangeObserver')\nexport const RenderDoneHookSymbol = Symbol('RenderDoneHook')\nexport const LayoutChangeHookSymbol = Symbol('LayoutChangeHook')\nexport const LayoutDiagnosticSymbol = Symbol('LayoutDiagnostic')\n","import type { Identifier, TypedIdentifier } from './types'\n\nexport const ModuleMetadataSymbol = Symbol.for('module metadata')\n\nexport const createIdentifier = <T>(sym: Identifier): TypedIdentifier<T> => sym as TypedIdentifier<T>\n","import {\n\tgetComponentCssVariables,\n\tgetProcessedCssWithConfig,\n\tgetSiteCssVariables,\n\tgetBuildTimeStaticCss,\n} from '@wix/tpa-style-webpack-plugin/standalone'\nimport type { OOICssConfig } from '@wix/thunderbolt-becky-types'\nimport type { TextPresetFontObject } from '../textPresets'\nimport type { StyleParams } from '@wix/thunderbolt-symbols'\n\ntype StyleData = {\n\tsiteColors: Array<{ name: string; value: string; reference: string }>\n\tsiteTextPresets: Record<string, TextPresetFontObject>\n\tstyle: StyleParams\n}\n\ntype TpaStylePluginOptions = {\n\tisRTL: boolean\n\tisMobile: boolean\n\tdimensions: {\n\t\twidth: number | ''\n\t\theight: number | ''\n\t}\n\tprefixSelector: string\n\tusesCssPerBreakpoint: boolean\n}\n\nconst generateCssVars = ({\n\tstyleData,\n\tprefixSelector,\n\toptions,\n\tcssConfig,\n\ttpaData,\n\tvariables,\n}: {\n\tstyleData: StyleData\n\tprefixSelector: string\n\toptions: TpaStylePluginOptions & {\n\t\tdimensions: {\n\t\t\twidth: number\n\t\t\theight: number\n\t\t}\n\t}\n\tcssConfig: OOICssConfig\n\ttpaData: any\n\tvariables?: { [key: string]: string } | null\n}) => {\n\tconst { siteColors, siteTextPresets, style: styleParams } = styleData\n\tconst siteCssVars = getSiteCssVariables(siteColors, siteTextPresets)\n\tconst customExpressions = {} // custom json per app->widget\n\tconst widgetCssVars = getComponentCssVariables(\n\t\t{ siteColors, siteTextPresets, styleParams },\n\t\tcustomExpressions,\n\t\t{},\n\t\toptions,\n\t\tcssConfig.defaults,\n\t\tcssConfig.customCssVars,\n\t\ttpaData\n\t)\n\treturn `${prefixSelector} {\n\t\t\t\t${widgetCssVars.stylesheet}\n\t\t\t\t${siteCssVars.stylesheet}\n\t\t}`\n}\n\nexport const processOoiCss = ({\n\twidgetId,\n\tstyleData,\n\tprefixSelector,\n\tcssConfig,\n\tisRTL,\n\tisMobile,\n\tdimensions,\n\tusesCssPerBreakpoint,\n\tshouldRemoveStaticCss = false,\n\tgetStaticCss = (cssconfig) => getBuildTimeStaticCss(cssconfig).css,\n\trunAndReport = (syncMethod, _) => syncMethod(),\n\ttpaData,\n\tvariables,\n}: TpaStylePluginOptions & {\n\twidgetId: string\n\tstyleData: StyleData\n\tprefixSelector: string\n\tcssConfig?: OOICssConfig\n\tshouldRemoveStaticCss?: boolean\n\tgetStaticCss?: (cssConfig: OOICssConfig) => string\n\trunAndReport?<T>(syncMethod: () => T, methodName: string): T\n\ttpaData: any\n\tisResponsive?: boolean\n\tvariables?: { [key: string]: string } | null\n}): string => {\n\tif (!cssConfig) {\n\t\treturn ''\n\t}\n\tconst options = { isRTL, isMobile, prefixSelector, usesCssPerBreakpoint, dimensions } as TpaStylePluginOptions & {\n\t\tdimensions: {\n\t\t\twidth: number\n\t\t\theight: number\n\t\t}\n\t}\n\tconst cssVars = generateCssVars({ styleData, prefixSelector, cssConfig, options, tpaData, variables })\n\n\tconst cssConfigCss = runAndReport(\n\t\t() =>\n\t\t\tgetProcessedCssWithConfig(\n\t\t\t\tcssConfig,\n\t\t\t\t{\n\t\t\t\t\tsiteColors: styleData.siteColors,\n\t\t\t\t\tsiteTextPresets: styleData.siteTextPresets,\n\t\t\t\t\tstyleParams: styleData.style,\n\t\t\t\t},\n\t\t\t\toptions\n\t\t\t),\n\t\t`getProcessedCssWithConfig-${widgetId}`\n\t)\n\tconst staticCss = shouldRemoveStaticCss ? '' : runAndReport(() => getStaticCss(cssConfig), 'staticCssProcessor')\n\treturn cssVars + staticCss + cssConfigCss\n}\n","export const name = 'versionIndicator' as const\nexport const VersionIndicatorSymbol = Symbol('versionIndicator')\n","export * from './viewerManagerStructureApi'\nexport * from './viewerManagerDataApi'\nexport * from './beckyPropsInitialStore'\nexport * from './platform'\nexport * from './layoutDone'\nexport * from './languageChangeHandler'\nexport * from './appSpecUpdatedHandler'\nexport * from './manifest'\n\nexport const CarmiInstance = Symbol('CarmiInstance')\nexport const isViewerFragmentSymbol = Symbol('isViewerFragment')\nexport const DataRequirementsCheckerSymbol = Symbol('DataRequirementsChecker')\nexport const PagesModelsRegistrarSymbol = Symbol('PagesModelsRegistrar')\nexport const TBInstanceIdSymbol = Symbol('tbInstanceId')\n","export const name = 'hoverBox' as const\nexport const HoverBoxAPISym = Symbol('HoverBoxAPISym')\nexport const HoverBoxHooksSym = Symbol('HoverBoxHooksSym')\nexport const ComponentType = 'HoverBox'\n","export const name = 'scrollRestoration' as const\n\nexport const ScrollRestorationAPISymbol = Symbol('ScrollRestorationAPISymbol')\n","import type { SiteAssetsModuleName } from '@wix/thunderbolt-symbols'\n\nexport const siteAssetsModules: Array<SiteAssetsModuleName> = [\n\t'thunderbolt-features',\n\t'thunderbolt-css',\n\t'thunderbolt-css-mappers',\n\t'thunderbolt-platform',\n\t'thunderbolt-site-map',\n\t'thunderbolt-mobile-app-builder',\n\t'builder-component-features',\n\t'builder-component-css',\n\t'builder-component-platform',\n\t'component-manifest-css',\n]\n","export const AutoDisplayLightboxSymbol = Symbol('AutoDisplayLightbox')\n\nexport const name = 'autoDisplayLightbox' as const\n","export const name = 'chat' as const\n","export const name = 'pageAnchors' as const\n","export const customCssId = 'wix-custom-css'\nexport const pageId = 'masterPage'\nexport const CUSTOM_CSS_APP_ID = '081cfa21-cdf6-4f50-9a1b-0f3722acfd8b'\nexport const GLOBAL_CSS_OLD_NAMESPACE = '#SITE_CONTAINER #main_MF .css-editing-scope'\nexport const GLOBAL_CSS_NAMESPACE = '#SITE_CONTAINER #main_MF#main_MF .css-editing-scope'\nexport const GLOBAL_CSS_SELECTOR_PREFIX = 'wixui-'\nexport const GLOBAL_CSS_FILE_PATH = '/styles/global.css'\nexport const APP_CSS_FILE_PATH = '/styles/widget.css'\nexport const EXCLUDE_PAGES = ['dashboardPage', 'panelPage']\n","export const name = 'pageContextService' as const\nexport const VIEWER_SERVICE_PACKAGE_NAME = '@wix/viewer-service-page-context' as const\n","export const name = 'assetsLoader' as const\n\nexport const PageStyleLoaderSymbol = Symbol('PageStyleLoader')\n","export const PageScrollRegistrarSymbol = Symbol.for('PageScrollRegistrar')\n","export const LightboxSymbol = Symbol('Lightbox')\nexport const CurrentLightboxSymbol = Symbol('CurrentLightbox')\nexport const LightboxUtilsSymbol = Symbol('LightboxUtils')\nexport const LightboxesAPISymbol = Symbol('LightboxesAPI')\nexport const LightboxesResponseHandlerSymbol = Symbol('LightboxesResponseHandler')\n\nexport const name = 'lightbox' as const\n","export const ReporterSymbol = Symbol('ReporterSite')\n","export const MAX_Z_INDEX = '100000'\nexport const PORTALS_Z_INDEX = '100001'\nexport const BLOCKING_LAYER_BG_Z_INDEX = '99990'\n","import {\n\tassign,\n\tdefaults,\n\tforEach,\n\tget,\n\tisNumber,\n\tisObject,\n\tkebabCase,\n\tmap,\n\tmapKeys,\n\tmerge,\n\tomitBy,\n\tpickBy,\n\treduce,\n} from 'lodash'\n\nimport type {\n\tAspectRatioSize,\n\tCalculation,\n\tClassicComponentLayout,\n\tComponentLayout,\n\tFixedPositionItemLayout,\n\tFlexContainerLayouts,\n\tFlexItemLayouts,\n\tGridContainerLayout,\n\tGridItemLayout,\n\tGridItemLayouts,\n\tKeywordSize,\n\tLayoutDataItems,\n\tMargins,\n\tMeshItemLayout,\n\tMinMaxSize,\n\tPadding,\n\tRefable,\n\tRefableAlignment,\n\tRefableJustifyContent,\n\tRefableNumber,\n\tRepeat,\n\tScrollBehaviour,\n\tScrollSnap,\n\tScrollSnapAlign,\n\tSingleLayoutData,\n\tSize,\n\tSpx,\n\tTypeMapping,\n\tUnitSize,\n\tVariableReference,\n\tMultiColumnsItemLayout,\n\tMultiColumnsContainerLayout,\n\tRefablePosition,\n\tAdditionalLayoutProperties,\n\tCssObject,\n\tSelectorToCssMap,\n\tAlignContent,\n} from '@wix/thunderbolt-becky-types'\nimport { Z_LAYER_VALUE_MAP } from '@wix/thunderbolt-becky-types'\n\nimport {\n\tflexAlignmentToString,\n\tflexJustifyContentToString,\n\tflexAlignContentToString,\n\tgridAlignmentToString,\n\tmeshAlignmentToString,\n\tnumberToString,\n\tunitSizeToString,\n\tvhValueToString,\n} from './layoutValuesToCss'\nimport { variableNameGetters } from './variablesToCss'\nimport { resolveSpxAttribute } from '../css'\nimport type { Experiments } from '@wix/thunderbolt-symbols'\n\nexport const isUnitSize = (u: Size): u is UnitSize =>\n\tu.type === 'px' ||\n\tu.type === 'percentage' ||\n\tu.type === 'vw' ||\n\tu.type === 'vh' ||\n\tu.type === 'fr' ||\n\tu.type === 'rem' ||\n\tu.type === 'spx' ||\n\tu.type === 'cqw' ||\n\tu.type === 'cqh' ||\n\tu.type === 'number'\nexport const isAutoSize = (u: Size): u is KeywordSize => u.type === 'auto'\nexport const isKeywordSize = (u: Size): u is KeywordSize =>\n\tu.type === 'auto' || u.type === 'maxContent' || u.type === 'minContent' || u.type === 'unset'\nexport const isMinMaxSize = (u: Size): u is MinMaxSize => u.type === 'MinMaxSize'\nexport const isAspectRatio = (u: Size): u is AspectRatioSize => u.type === 'aspectRatio'\n\n// const isCssVariableSize = (u: Size): u is Var => u.type === 'var'\nexport const isCalculationSize = (u: Size): u is Calculation => u.type === 'Calc'\n\nconst isRepeat = (u: Size): u is Repeat => u.type === 'Repeat'\n\nconst getVariableKey = (variable: VariableReference): string => {\n\tconst variableId = variable.variableId.replace('#', '')\n\n\tif (variable.shouldRenderVariableName) {\n\t\treturn variable.variableName ?? variableId\n\t}\n\n\treturn variableId\n}\n\nexport const sizeToString = (size: Size | undefined | null, spx?: Spx, vhScalingFactor?: string): string => {\n\tif (!size) {\n\t\treturn ''\n\t}\n\n\tif (isUnitSize(size)) {\n\t\treturn unitSizeToString(size, { spx, vhScalingFactor })\n\t}\n\n\tif (isKeywordSize(size)) {\n\t\tlet type: string = size.type\n\n\t\tswitch (size.type) {\n\t\t\tcase 'maxContent':\n\t\t\t\ttype = 'max-content'\n\t\t\t\tbreak\n\t\t\tcase 'minContent':\n\t\t\t\ttype = 'min-content'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tbreak\n\t\t}\n\n\t\treturn type\n\t}\n\n\tif (isMinMaxSize(size)) {\n\t\treturn `minmax(${sizeToString(size.min, spx, vhScalingFactor)},${sizeToString(size.max, spx, vhScalingFactor)})`\n\t}\n\n\tif (isCalculationSize(size)) {\n\t\tlet value = size.value\n\n\t\tconst VH_VALUE_REGEX = /-?[0-9]*\\.?[0-9]*vh/g\n\n\t\tif (VH_VALUE_REGEX.test(value)) {\n\t\t\tvalue = value.replace(VH_VALUE_REGEX, (val) => vhValueToString(parseFloat(val), vhScalingFactor))\n\t\t}\n\n\t\treturn `calc(${resolveSpxAttribute(value, spx, true)})`\n\t}\n\n\tif (isRepeat(size)) {\n\t\tconst length = isVariableRef(size.length)\n\t\t\t? `var(${variableNameGetters.repeatLength.get(getVariableKey(size.length))})`\n\t\t\t: size.length\n\n\t\treturn `repeat(${length}, ${size.value.map((value) => sizeToString(value)).join(' ')})`\n\t}\n\n\tif (isAspectRatio(size)) {\n\t\treturn 'auto'\n\t}\n\n\tif (size.type === 'VariableReference') {\n\t\treturn `var(${variableNameGetters.unitSize.get(getVariableKey(size))})`\n\t}\n\n\tif (size.type === 'SystemVariable') {\n\t\tif (size.value === 'siteWidth') {\n\t\t\treturn 'var(--site-width)'\n\t\t}\n\n\t\tif (size.value === 'topBannerHeight') {\n\t\t\treturn 'var(--wix-ads-height)'\n\t\t}\n\t}\n\n\tif (size.type === 'StretchWithSoftMargins') {\n\t\tconst marginLeftCss = sizeToString(size.value.margins.left)\n\t\tconst marginRightCss = sizeToString(size.value.margins.right)\n\t\treturn `calc(100% - ${marginLeftCss} - ${marginRightCss})`\n\t}\n\n\tthrow new Error(`error parsing size: ${JSON.stringify(size)}`)\n}\n\nexport const marginsToCss = (margins?: Margins): CssObject => {\n\treturn {\n\t\t...(margins?.top && {\n\t\t\t'margin-top': sizeToString(margins.top),\n\t\t}),\n\t\t...(margins?.bottom && {\n\t\t\t'margin-bottom': sizeToString(margins.bottom),\n\t\t}),\n\t\t...(margins?.right && {\n\t\t\t'margin-right': sizeToString(margins.right),\n\t\t}),\n\t\t...(margins?.left && {\n\t\t\t'margin-left': sizeToString(margins.left),\n\t\t}),\n\t}\n}\n\nexport const layoutSelectorItem = 'item'\nexport const layoutSelectorOneCellGrid = 'component-one-cell-grid'\nexport const layoutSelectorContainer = 'container'\nexport const layoutSelectorContainerPinned = 'container-pinned'\nexport const layoutSelectorChildren = 'children'\nexport const layoutSelectorOverflowWrapper = 'overflow-wrapper'\nexport const layoutSelectorComponent = 'component'\n\n// This is here in order to make sure every converter returns only after passing through any of the setForX functions below (otherwise it won't work)\ninterface Hack {\n\t___notaRealFields___: boolean\n}\n\ntype TargetedCss = Hack & SelectorToCssMap\n\nconst setPrefix = (prefix: string) => (object: SelectorToCssMap) =>\n\tmapKeys(object, (value, key) => `${prefix}${key}`) as TargetedCss\nconst setForOverflowWrapper = setPrefix(layoutSelectorOverflowWrapper)\nconst setForContainer = setPrefix(layoutSelectorContainer)\nconst setForContainerPinned = setPrefix(layoutSelectorContainerPinned)\n\nconst setForOneCellGrid = setPrefix(layoutSelectorOneCellGrid)\nconst setForItem = setPrefix(layoutSelectorItem)\nconst setForComponent = setPrefix(layoutSelectorComponent)\nconst mergeStyles = merge as (...args: Array<TargetedCss>) => TargetedCss\n\nconst addKeyPrefixForCssObject = (keyPrefix: string) => (\n\tcssObject: Partial<Margins | Padding>,\n\tspx?: Spx,\n\tvhScalingFactor?: string\n): CssObject => {\n\tconst keys = Object.keys(cssObject) as Array<keyof Margins | keyof Padding>\n\n\treturn keys.reduce((result, key) => {\n\t\tresult[`${keyPrefix}${key}`] = sizeToString(cssObject[key], spx, vhScalingFactor)\n\t\treturn result\n\t}, {} as CssObject)\n}\n\nconst buildMargins = addKeyPrefixForCssObject('margin-')\n\nconst buildPadding = addKeyPrefixForCssObject('padding-')\n\nconst buildScrollSnapAlign = (scrollSnapAlign: ScrollSnapAlign): CssObject => ({\n\t'scroll-snap-align': scrollSnapAlign,\n})\n\nconst getTopString = (itemLayout: GridItemLayouts | FlexItemLayouts, spx?: Spx, vhScalingFactor?: string) => {\n\tconst { top, position } = itemLayout\n\tconst topString = sizeToString(top, spx, vhScalingFactor) || '0px'\n\tconst calcValues = [topString]\n\n\tif (isVariableRef(position)) {\n\t\tconst headerOffsetVariableName = variableNameGetters.position.getHeaderOffset(getVariableKey(position))\n\t\tconst stickyOffsetVariableName = variableNameGetters.position.getStickyOffset(getVariableKey(position))\n\t\tcalcValues.push(`var(${stickyOffsetVariableName})`, `var(${headerOffsetVariableName})`)\n\t} else {\n\t\tif (position === 'sticky' || position === 'stickyToHeader') {\n\t\t\tcalcValues.push('var(--sticky-offset, 0px)')\n\t\t}\n\t\tif (position === 'stickyToHeader') {\n\t\t\tcalcValues.push('var(--top-offset, 0px)')\n\t\t}\n\t}\n\n\treturn `calc(${calcValues.join(' + ')})`\n}\n\nconst getPosition = (position?: RefablePosition): string => {\n\tif (position === 'stickyToHeader') {\n\t\treturn 'sticky'\n\t}\n\tif (isVariableRef(position)) {\n\t\treturn `var(${variableNameGetters.position.get(getVariableKey(position))})`\n\t}\n\n\treturn position || 'absolute'\n}\n\nconst getOffsetByStickiness = (offsetFallback: string, position: RefablePosition | undefined) => {\n\tconst forceAutoVar = isVariableRef(position)\n\t\t? variableNameGetters.position.getForceAuto(getVariableKey(position))\n\t\t: '--force-auto'\n\n\treturn `var(${forceAutoVar},${offsetFallback})`\n}\n\nconst buildPosition = <T extends GridItemLayouts | FlexItemLayouts>(\n\titemLayout: T,\n\trenderSticky: boolean,\n\tspx?: Spx,\n\tvhScalingFactor?: string\n): CssObject => {\n\tconst { position } = itemLayout\n\n\tif (!position && !itemLayout.pinnedToContainer) {\n\t\treturn {}\n\t}\n\n\tconst isStickyPosition = position === 'sticky' || position === 'stickyToHeader'\n\n\tconst emptySize = sizeToString(null)\n\tconst isStickyDisabled = isStickyPosition && !renderSticky\n\tconst shouldForceAuto = isStickyDisabled || itemLayout.position === 'relative'\n\n\treturn omitBy(\n\t\t{\n\t\t\tposition: isStickyDisabled ? 'relative' : getPosition(position),\n\t\t\t'--force-auto': shouldForceAuto ? 'auto' : 'initial',\n\t\t\ttop: getOffsetByStickiness(getTopString(itemLayout, spx, vhScalingFactor), position),\n\t\t\tbottom: getOffsetByStickiness(sizeToString(itemLayout.bottom, spx, vhScalingFactor), position),\n\t\t\tleft: getOffsetByStickiness(sizeToString(itemLayout.left, spx, vhScalingFactor), position),\n\t\t\tright: getOffsetByStickiness(sizeToString(itemLayout.right, spx, vhScalingFactor), position),\n\t\t},\n\t\t(value) => value === emptySize\n\t)\n}\n\nconst createItemLayoutConverter = <T extends GridItemLayouts | FlexItemLayouts>(\n\tspecificItemLayoutConverter: (layout: T) => TargetedCss\n) => (itemLayout: T, { renderSticky, renderScrollSnap, spx, vhScalingFactor }: AdditionalLayoutProperties) => {\n\tconst specificStyles = specificItemLayoutConverter(itemLayout)\n\n\tconst baseStyles = setForItem({\n\t\t'': Object.assign(\n\t\t\tbuildPosition(itemLayout, renderSticky, spx, vhScalingFactor),\n\t\t\titemLayout.scrollSnapAlign && renderScrollSnap ? buildScrollSnapAlign(itemLayout.scrollSnapAlign) : {},\n\t\t\t{ 'pointer-events': 'auto' },\n\t\t\titemLayout.margins ? buildMargins(itemLayout.margins, spx, vhScalingFactor) : {},\n\t\t\titemLayout.isInFront ? { 'z-index': Z_LAYER_VALUE_MAP.ABOVE_PINNED } : {}\n\t\t),\n\t})\n\treturn mergeStyles(baseStyles, specificStyles)\n}\n\nconst buildScrollStyles = (scrollSnap: ScrollSnap, scrollBehaviour?: ScrollBehaviour): CssObject => ({\n\t'scroll-snap-type':\n\t\tscrollSnap.scrollSnapType === 'none'\n\t\t\t? scrollSnap.scrollSnapType\n\t\t\t: `${scrollSnap.scrollSnapDirection || ''}${\n\t\t\t\tscrollSnap.scrollSnapType ? ` ${scrollSnap.scrollSnapType}` : ''\n\t\t\t}`.trim(),\n\t'-webkit-scroll-snap-type': scrollSnap.scrollSnapType as string,\n\t'scroll-behavior': scrollBehaviour ? scrollBehaviour : 'auto',\n})\n\nconst getOverflowStyles = <T extends GridContainerLayout | FlexContainerLayouts | MultiColumnsContainerLayout>(\n\tcontainerLayout: T,\n\trenderScrollSnap: boolean\n) => {\n\tconst overflowStyles = assign(\n\t\t{},\n\t\tcontainerLayout.overflowX && {\n\t\t\t'overflow-x': containerLayout.overflowX,\n\t\t},\n\t\tcontainerLayout.overflowY && {\n\t\t\t'overflow-y': containerLayout.overflowY,\n\t\t},\n\t\tcontainerLayout.overflowY === 'scroll' && {\n\t\t\t'--sticky-offset': '0px',\n\t\t}\n\t)\n\tconst scrollSnapStyles =\n\t\tcontainerLayout.scrollSnap && containerLayout.scrollSnap.scrollSnapType && renderScrollSnap\n\t\t\t? buildScrollStyles(containerLayout.scrollSnap, containerLayout.scrollBehaviour)\n\t\t\t: {}\n\n\tconst hideScrollbarStyles = containerLayout.hideScrollbar\n\t\t? {\n\t\t\t'': {\n\t\t\t\t'scrollbar-width': 'none',\n\t\t\t\toverflow: '-moz-scrollbars-none',\n\t\t\t\t'-ms-overflow-style': 'none',\n\t\t\t},\n\t\t\t'::-webkit-scrollbar': {\n\t\t\t\twidth: '0',\n\t\t\t\theight: '0',\n\t\t\t},\n\t\t}\n\t\t: {}\n\n\treturn merge(\n\t\t{\n\t\t\t'': assign(overflowStyles, scrollSnapStyles),\n\t\t},\n\t\thideScrollbarStyles\n\t) as SelectorToCssMap\n}\n\nconst getOneCellWrapperStyle = (\n\tshouldOmitWrapperLayers: boolean,\n\tisOneCellGridDisplayBlock: boolean,\n\tisOneCellGridDisplayFlex: boolean,\n\tshouldDeclareHeaderHeightFlex: boolean\n) => {\n\tlet oneCellStyle\n\tif (isOneCellGridDisplayBlock) {\n\t\toneCellStyle = [\n\t\t\tsetForOneCellGrid({\n\t\t\t\t'': {\n\t\t\t\t\tdisplay: 'block',\n\t\t\t\t},\n\t\t\t}),\n\t\t]\n\t} else if (isOneCellGridDisplayFlex) {\n\t\toneCellStyle = !shouldOmitWrapperLayers\n\t\t\t? [\n\t\t\t\tsetForComponent({\n\t\t\t\t\t'': { display: 'var(--l_display,var(--comp-display,flex))', 'flex-direction': 'column' },\n\t\t\t\t}),\n\t\t\t\tsetForContainer(\n\t\t\t\t\tshouldDeclareHeaderHeightFlex\n\t\t\t\t\t\t? { '': { 'flex-grow': '1', height: '100%' } }\n\t\t\t\t\t\t: { '': { 'flex-grow': '1' } }\n\t\t\t\t),\n\t\t\t]\n\t\t\t: []\n\t} else {\n\t\tconst oneCellGrid = {\n\t\t\t'': {\n\t\t\t\tdisplay: 'grid',\n\t\t\t\t'grid-template-rows': '1fr',\n\t\t\t\t'grid-template-columns': 'minmax(0, 1fr)',\n\t\t\t},\n\t\t}\n\t\toneCellStyle = [setForOneCellGrid(oneCellGrid)]\n\t}\n\n\treturn oneCellStyle\n}\n\nconst getOverflowWrapperStyle = <T extends GridContainerLayout | FlexContainerLayouts | MultiColumnsContainerLayout>(\n\tcontainerLayout: T,\n\trenderScrollSnap: boolean,\n\tisOneCellGridDisplayBlock: boolean,\n\tisOneCellGridDisplayFlex: boolean\n) => {\n\tlet overflowWrapperStyles\n\tif (isOneCellGridDisplayBlock) {\n\t\toverflowWrapperStyles = {\n\t\t\t'': {\n\t\t\t\tdisplay: 'block',\n\t\t\t\tposition: 'relative',\n\t\t\t\theight: '100%', // stretch to root\n\t\t\t},\n\t\t}\n\t} else if (isOneCellGridDisplayFlex) {\n\t\toverflowWrapperStyles = {\n\t\t\t'': {\n\t\t\t\tdisplay: 'flex',\n\t\t\t\t'flex-direction': 'column',\n\t\t\t\t'flex-grow': '1',\n\t\t\t},\n\t\t}\n\t} else {\n\t\tconst oneCellGrid = {\n\t\t\t'': {\n\t\t\t\tdisplay: 'grid',\n\t\t\t\t'grid-template-rows': '1fr',\n\t\t\t\t'grid-template-columns': 'minmax(0, 1fr)',\n\t\t\t},\n\t\t}\n\t\toverflowWrapperStyles = oneCellGrid\n\t}\n\n\tconst containerOverflowStyles = getOverflowStyles(containerLayout, renderScrollSnap)\n\treturn [setForOverflowWrapper(overflowWrapperStyles), setForOverflowWrapper(containerOverflowStyles)]\n}\n\nconst getContentMaxWidth = (\n\tcontainerLayout: GridContainerLayout | FlexContainerLayouts | MultiColumnsContainerLayout,\n\tspx: Spx | undefined,\n\tvhScalingFactor: string | undefined\n) => {\n\tconst { contentMaxWidth } = containerLayout || {}\n\tconst maxWidth = contentMaxWidth?.maxWidth\n\tif (!maxWidth) {\n\t\treturn {}\n\t}\n\n\tconst maxWidthVar = isVariableRef(maxWidth)\n\t\t? `var(${variableNameGetters.unitSize.get(maxWidth.variableId)})`\n\t\t: sizeToString(maxWidth, spx, vhScalingFactor)\n\n\treturn {\n\t\t'max-width': maxWidthVar,\n\t\t'margin-left': getAlignment(contentMaxWidth.align, maxWidthVar),\n\t\t'--section-max-width': maxWidthVar,\n\t}\n}\n\nconst getOnlyValidValues = (size: Record<string, string>) => pickBy(size, (value) => value !== '')\n\nconst getSpxStoppers = (\n\tcontainerLayout: GridContainerLayout | FlexContainerLayouts | MultiColumnsContainerLayout,\n\tspx: Spx | undefined\n) => {\n\tconst spxStopper = containerLayout.spxStopper\n\tif (!spxStopper) {\n\t\treturn {}\n\t}\n\tconst { max, min } = spxStopper\n\n\tconst maxVar = isVariableRef(max)\n\t\t? `var(${variableNameGetters.unitSize.get(max.variableId)})`\n\t\t: sizeToString(max, spx)\n\n\tconst minVar = isVariableRef(min)\n\t\t? `var(${variableNameGetters.unitSize.get(min.variableId)})`\n\t\t: sizeToString(min, spx)\n\n\treturn getOnlyValidValues({\n\t\t'--spx-stopper-max': maxVar,\n\t\t'--spx-stopper-min': minVar,\n\t})\n}\n\nconst createContainerLayoutConverter = <\n\tT extends GridContainerLayout | FlexContainerLayouts | MultiColumnsContainerLayout\n>(\n\tspecificItemLayoutConverter: (layout: T, layoutProperties: AdditionalLayoutProperties) => TargetedCss\n) => (containerLayout: T, layoutProperties: AdditionalLayoutProperties) => {\n\tconst {\n\t\thasOverflow,\n\t\trenderScrollSnap,\n\t\tspx,\n\t\tvhScalingFactor,\n\t\tisOneCellGridDisplayFlex,\n\t\tisOneCellGridDisplayBlock,\n\t\tshouldOmitWrapperLayers,\n\t\tshouldDeclareHeaderHeightFlex,\n\t} = layoutProperties\n\n\tconst position = !shouldOmitWrapperLayers\n\t\t? {\n\t\t\tposition: 'relative',\n\t\t}\n\t\t: {}\n\tconst padding = containerLayout.padding ? buildPadding(containerLayout.padding, spx, vhScalingFactor) : {}\n\n\tconst gaps: CssObject = {}\n\tif (containerLayout.rowGap) {\n\t\tgaps['row-gap'] = sizeToString(containerLayout.rowGap, spx, vhScalingFactor)\n\t}\n\tif (containerLayout.columnGap) {\n\t\tgaps['column-gap'] = sizeToString(containerLayout.columnGap, spx, vhScalingFactor)\n\t}\n\n\tlet height = {}\n\tif (isOneCellGridDisplayBlock) {\n\t\tif (hasOverflow) {\n\t\t\theight = { height: 'auto' } // container wrapped by overflow wrapper and by root div - height set by content\n\t\t} else if (!shouldOmitWrapperLayers) {\n\t\t\theight = { height: '100%' } // container wrapper by root div - stretch to root\n\t\t}\n\t}\n\n\t// @ts-ignore\n\tconst isSpxStopperExperimentOn = globalThis.spxStopperExperiment || false\n\n\tconst pointerEvents = !shouldOmitWrapperLayers ? { 'pointer-events': 'none' } : {}\n\n\tconst spxStopper = isSpxStopperExperimentOn ? getSpxStoppers(containerLayout, spx) : {}\n\n\tconst contentMaxWidth = getContentMaxWidth(containerLayout, spx, vhScalingFactor)\n\n\tconst containerStyles = setForContainer({\n\t\t'': assign(\n\t\t\t{\n\t\t\t\t'box-sizing': 'border-box',\n\t\t\t},\n\t\t\tposition,\n\t\t\tpointerEvents,\n\t\t\tpadding,\n\t\t\tgaps,\n\t\t\theight,\n\t\t\tcontentMaxWidth,\n\t\t\tspxStopper\n\t\t),\n\t})\n\n\tconst containerPinnedStyles = setForContainerPinned({\n\t\t'': contentMaxWidth['max-width']\n\t\t\t? assign(\n\t\t\t\tcontentMaxWidth as CssObject,\n\t\t\t\t{\n\t\t\t\t\theight: '100%',\n\t\t\t\t\twidth: '100%',\n\t\t\t\t\tposition: 'absolute',\n\t\t\t\t\tdisplay: 'grid',\n\t\t\t\t\t'pointer-events': 'none',\n\t\t\t\t},\n\t\t\t\tspxStopper\n\t\t\t)\n\t\t\t: {},\n\t})\n\n\tconst specificStyles = specificItemLayoutConverter(containerLayout, layoutProperties)\n\n\tconst oneCellStyles = getOneCellWrapperStyle(\n\t\tshouldOmitWrapperLayers,\n\t\tisOneCellGridDisplayBlock,\n\t\tisOneCellGridDisplayFlex,\n\t\tshouldDeclareHeaderHeightFlex\n\t)\n\n\tconst overflowStyles = hasOverflow\n\t\t? getOverflowWrapperStyle(\n\t\t\tcontainerLayout,\n\t\t\trenderScrollSnap,\n\t\t\tisOneCellGridDisplayBlock,\n\t\t\tisOneCellGridDisplayFlex\n\t\t)\n\t\t: []\n\n\treturn mergeStyles(containerStyles, ...oneCellStyles, specificStyles, ...overflowStyles, containerPinnedStyles)\n}\n\nconst isVariableRef = <T>(val: Refable<T>): val is VariableReference => {\n\treturn isObject(val) && val.type === 'VariableReference'\n}\n\nconst getGridAlignment = (alignment: RefableAlignment) => {\n\tif (isVariableRef(alignment)) {\n\t\treturn `var(${variableNameGetters.alignment.getForGrid(getVariableKey(alignment))})`\n\t} else {\n\t\treturn gridAlignmentToString(alignment)\n\t}\n}\n\nconst getFlexAlignment = (alignment: RefableAlignment) => {\n\tif (isVariableRef(alignment)) {\n\t\treturn `var(${variableNameGetters.alignment.getForFlex(getVariableKey(alignment))})`\n\t} else {\n\t\treturn flexAlignmentToString(alignment)\n\t}\n}\n\nconst getFlexJustifyContent = (justifyContent: RefableJustifyContent) => {\n\tif (isVariableRef(justifyContent)) {\n\t\treturn `var(${variableNameGetters.justifyContent.get(getVariableKey(justifyContent))})`\n\t} else {\n\t\treturn flexJustifyContentToString(justifyContent)\n\t}\n}\n\nconst getFlexAlignContent = (alignContent: AlignContent) =>\n\tflexAlignContentToString(alignContent)\n\nconst parseBaseGridItem = <T extends GridItemLayouts>(specificItemLayoutConverter: (layout: T) => TargetedCss) => (\n\titemLayout: T,\n\tadditionalLayoutProperties: AdditionalLayoutProperties\n) => {\n\tconst baseStyles = createItemLayoutConverter(specificItemLayoutConverter)(itemLayout, additionalLayoutProperties)\n\tif (!baseStyles) {\n\t\treturn\n\t}\n\n\tconst additionalStyles: CssObject = {}\n\n\tif (itemLayout.alignSelf) {\n\t\tadditionalStyles['align-self'] = getGridAlignment(itemLayout.alignSelf)\n\t}\n\n\tif (itemLayout.justifySelf) {\n\t\tadditionalStyles['justify-self'] = getGridAlignment(itemLayout.justifySelf)\n\t}\n\n\treturn mergeStyles(setForItem({ '': additionalStyles }), baseStyles)\n}\n\nconst parseFixedItem = parseBaseGridItem(() => {\n\tconst itemCss: CssObject = {\n\t\t'grid-area': '1/1/2/2',\n\t}\n\n\treturn setForItem({\n\t\t'': itemCss,\n\t})\n})\n\nconst parseFixedPositionItemLayout = (itemLayout: FixedPositionItemLayout) => {\n\tconst emptySize = sizeToString(null)\n\n\treturn setForItem({\n\t\t'': omitBy(\n\t\t\t{\n\t\t\t\tposition: 'fixed',\n\t\t\t\ttop: sizeToString(itemLayout.top),\n\t\t\t\tbottom: sizeToString(itemLayout.bottom),\n\t\t\t\tleft: sizeToString(itemLayout.left),\n\t\t\t\tright: sizeToString(itemLayout.right),\n\t\t\t\t...marginsToCss(itemLayout.margins),\n\t\t\t},\n\t\t\t(value) => value === emptySize\n\t\t),\n\t})\n}\n\nconst meshItemLayoutConverter = (itemLayout: MeshItemLayout) => {\n\tconst emptySize = sizeToString(null)\n\n\treturn setForItem({\n\t\t'': omitBy(\n\t\t\t{\n\t\t\t\t...(itemLayout.justifySelf && {\n\t\t\t\t\t'justify-self': meshAlignmentToString(itemLayout.justifySelf),\n\t\t\t\t}),\n\t\t\t\t...marginsToCss(itemLayout.margins),\n\t\t\t},\n\t\t\t(value) => value === emptySize\n\t\t),\n\t})\n}\n\nconst getGridArea = (number: RefableNumber) => {\n\tif (isVariableRef(number)) {\n\t\treturn `var(${variableNameGetters.number.get(getVariableKey(number))})`\n\t} else {\n\t\treturn numberToString(number)\n\t}\n}\n\n/**\n * when parsing grid item we have a conflict in each axis between the size property and the position property\n * for example, width and justify - if justify is set to stretch, and we have a width, we don't know what to do\n * what will happen is we will render all properties and CSS will do its magic, in this case, the width property\n * is stronger than the justify property.\n */\nconst parseGridItem = parseBaseGridItem((gridItemLayout: GridItemLayout) => {\n\tconst rootCss: CssObject = {}\n\n\tconst gridArea = gridItemLayout.gridArea\n\tif (gridArea) {\n\t\trootCss['grid-area'] = `${getGridArea(gridArea.rowStart)}/${getGridArea(gridArea.columnStart)}/${getGridArea(\n\t\t\tgridArea.rowEnd\n\t\t)}/${getGridArea(gridArea.columnEnd)}`\n\t}\n\n\treturn setForItem({ '': rootCss })\n})\n\nconst parseGridLayout = createContainerLayoutConverter((gridContainerLayout: GridContainerLayout, layoutProperties) => {\n\tconst { spx, vhScalingFactor } = layoutProperties\n\n\tconst rootCss: CssObject = {\n\t\tdisplay: 'grid',\n\t}\n\n\trootCss['grid-template-rows'] = gridContainerLayout.rows\n\t\t.map((value) => sizeToString(value, spx, vhScalingFactor))\n\t\t.join(' ')\n\trootCss['grid-template-columns'] = gridContainerLayout.columns\n\t\t.map((value) => sizeToString(value, spx, vhScalingFactor))\n\t\t.join(' ')\n\n\tif (gridContainerLayout.autoFlow) {\n\t\trootCss['grid-auto-flow'] = gridContainerLayout.autoFlow\n\t}\n\n\tif (gridContainerLayout.autoRows) {\n\t\trootCss['grid-auto-rows'] = gridContainerLayout.autoRows\n\t\t\t.map((value) => sizeToString(value, spx, vhScalingFactor))\n\t\t\t.join(' ')\n\t}\n\n\tif (gridContainerLayout.autoColumns) {\n\t\trootCss['grid-auto-columns'] = gridContainerLayout.autoColumns\n\t\t\t.map((value) => sizeToString(value, spx, vhScalingFactor))\n\t\t\t.join(' ')\n\t}\n\n\trootCss['--container-layout-type'] = 'grid-container-layout'\n\n\treturn setForContainer({ '': rootCss })\n})\n\nconst parseFlexContainerLayout = createContainerLayoutConverter((flexContainerLayout: FlexContainerLayouts) =>\n\tmergeStyles(\n\t\tsetForContainer({\n\t\t\t'': pickBy(\n\t\t\t\t{\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t'flex-direction': kebabCase(flexContainerLayout.direction),\n\t\t\t\t\t'justify-content': getFlexJustifyContent(flexContainerLayout.justifyContent!),\n\t\t\t\t\t'align-content': getFlexAlignContent(flexContainerLayout.alignContent!),\n\t\t\t\t\t'align-items': getFlexAlignment(flexContainerLayout.alignItems!),\n\t\t\t\t\t'flex-wrap': flexContainerLayout.wrap!,\n\t\t\t\t\t'--container-layout-type': 'flex-container-layout',\n\t\t\t\t},\n\t\t\t\t(value) => !!value\n\t\t\t),\n\t\t})\n\t)\n)\n\nconst parseFlexItemLayout = createItemLayoutConverter(<T extends FlexItemLayouts>(flexItemLayout: T) => {\n\tconst rootCss: CssObject = {}\n\n\tif (flexItemLayout.alignSelf) {\n\t\trootCss['align-self'] = getFlexAlignment(flexItemLayout.alignSelf)\n\t}\n\n\tif (isNumber(flexItemLayout.order)) {\n\t\trootCss.order = String(flexItemLayout.order)\n\t}\n\n\tif (flexItemLayout.basis) {\n\t\trootCss['flex-basis'] = sizeToString(flexItemLayout.basis)\n\t}\n\n\tif (isNumber(flexItemLayout.grow)) {\n\t\trootCss['flex-grow'] = flexItemLayout.grow.toString()\n\t}\n\n\tif (isNumber(flexItemLayout.shrink)) {\n\t\trootCss['flex-shrink'] = flexItemLayout.shrink.toString()\n\t}\n\n\treturn setForItem({ '': rootCss })\n})\n\nconst getWidthCss = (\n\twidth: ComponentLayout['width'],\n\t{ spx, vhScalingFactor }: AdditionalLayoutProperties\n) => (): SelectorToCssMap =>\n\tsetForComponent({\n\t\t'': {\n\t\t\twidth: sizeToString(width, spx, vhScalingFactor),\n\t\t},\n\t})\n\nconst getCompHeightCss = (height: ComponentLayout['height'], spx?: Spx, vhScalingFactor?: string): SelectorToCssMap => {\n\tif (!height) {\n\t\treturn {}\n\t}\n\n\treturn isAspectRatio(height)\n\t\t? { '': { height: 'auto', '--aspect-ratio': height.value } }\n\t\t: { '': { height: sizeToString(height as Size, spx, vhScalingFactor) } }\n}\n\nconst getHeightCss = (\n\theight: ComponentLayout['height'],\n\t{ hasOverflow, spx, isOneCellGridDisplayBlock, vhScalingFactor }: AdditionalLayoutProperties\n) => (): SelectorToCssMap => {\n\tconst compStyles = getCompHeightCss(height, spx, vhScalingFactor)\n\n\tconst isOutsideIn = !!height && (isAspectRatio(height) || !isAutoSize(height))\n\t// when merging isOneCellGridDisplayBlock remove this overflowContainerWrapperStyles entirely\n\tconst overflowContainerWrapperStyles: SelectorToCssMap =\n\t\tisOutsideIn && !isOneCellGridDisplayBlock\n\t\t\t? {\n\t\t\t\t'': {\n\t\t\t\t\tposition: 'absolute',\n\t\t\t\t\ttop: '0',\n\t\t\t\t\tleft: '0',\n\t\t\t\t\twidth: '100%',\n\t\t\t\t\theight: '100%',\n\t\t\t\t},\n\t\t\t}\n\t\t\t: {\n\t\t\t\t'': {\n\t\t\t\t\tposition: 'relative',\n\t\t\t\t},\n\t\t\t}\n\n\treturn mergeStyles(\n\t\tsetForComponent(compStyles),\n\t\thasOverflow ? setForOverflowWrapper(overflowContainerWrapperStyles) : ({} as TargetedCss)\n\t)\n}\n\nconst getMinWidthCss = (\n\tminWidth: ComponentLayout['minWidth'],\n\t{ spx, vhScalingFactor }: AdditionalLayoutProperties\n) => (): SelectorToCssMap =>\n\tsetForComponent({\n\t\t'': {\n\t\t\t'min-width': sizeToString(minWidth, spx, vhScalingFactor),\n\t\t},\n\t})\n\nconst getMinHeightCss = (\n\tminHeight: ComponentLayout['minHeight'],\n\t{\n\t\tspx,\n\t\tvhScalingFactor,\n\t\tisOneCellGridDisplayFlex,\n\t\tisOneCellGridDisplayBlock,\n\t\tshouldOmitWrapperLayers,\n\t\thasOverflow,\n\t}: AdditionalLayoutProperties,\n\t{ height }: ComponentLayout\n) => (): SelectorToCssMap => {\n\tconst cssObj: CssObject = { 'min-height': sizeToString(minHeight, spx, vhScalingFactor) }\n\tif (isOneCellGridDisplayFlex && !shouldOmitWrapperLayers) {\n\t\tconst compDisplay = minHeight && isUnitSize(minHeight) && minHeight.value === 0 ? 'flex' : 'grid'\n\t\tcssObj['--comp-display'] = compDisplay\n\t\tif (compDisplay === 'grid') {\n\t\t\tcssObj['grid-template-rows'] = '1fr'\n\t\t\tcssObj['grid-template-columns'] = 'minmax(0, 1fr)'\n\t\t}\n\t}\n\n\tlet forContainer = {} as TargetedCss\n\tif (isOneCellGridDisplayBlock) {\n\t\tif (!shouldOmitWrapperLayers) {\n\t\t\tconst hasMinValue = !!minHeight && isUnitSize(minHeight) && minHeight.value\n\t\t\tconst isHeightAuto = !height || isAutoSize(height) || isAspectRatio(height)\n\t\t\t// if root height is declared (not auto), overflowed content should be at least as root\n\t\t\tforContainer = hasOverflow\n\t\t\t\t? setForContainer({ '': isHeightAuto && hasMinValue ? cssObj : { 'min-height': '100%' } })\n\t\t\t\t: setForContainer({ '': cssObj })\n\t\t}\n\t}\n\tconst forOverflowWrapper =\n\t\tisOneCellGridDisplayBlock && hasOverflow ? setForOverflowWrapper({ '': cssObj }) : ({} as TargetedCss)\n\n\treturn mergeStyles(setForComponent({ '': cssObj }), forContainer, forOverflowWrapper)\n}\n\nconst getMaxWidthCss = (\n\tmaxWidth: ComponentLayout['maxWidth'],\n\t{ spx, vhScalingFactor }: AdditionalLayoutProperties\n) => (): SelectorToCssMap =>\n\tsetForComponent({\n\t\t'': {\n\t\t\t'max-width': sizeToString(maxWidth, spx, vhScalingFactor),\n\t\t},\n\t})\n\nconst getMaxHeightCss = (\n\tmaxHeight: ComponentLayout['maxHeight'],\n\t{\n\t\tspx,\n\t\tvhScalingFactor,\n\t\tisOneCellGridDisplayBlock,\n\t\tshouldOmitWrapperLayers,\n\t\thasOverflow,\n\t}: AdditionalLayoutProperties\n) => (): SelectorToCssMap => {\n\tconst maxHeightCss = {\n\t\t'': {\n\t\t\t'max-height': sizeToString(maxHeight, spx, vhScalingFactor),\n\t\t},\n\t}\n\tconst forComponent = setForComponent(maxHeightCss)\n\tconst forContainer =\n\t\tisOneCellGridDisplayBlock && !shouldOmitWrapperLayers && !hasOverflow\n\t\t\t? setForContainer(maxHeightCss)\n\t\t\t: ({} as TargetedCss)\n\tconst forOverflowWrapper =\n\t\tisOneCellGridDisplayBlock && hasOverflow ? setForOverflowWrapper(maxHeightCss) : ({} as TargetedCss)\n\n\treturn mergeStyles(forComponent, forContainer, forOverflowWrapper)\n}\n\nconst getRotationCss = (rotationInDegrees: ComponentLayout['rotationInDegrees']) => (): SelectorToCssMap =>\n\tsetForComponent({\n\t\t'': {\n\t\t\ttransform: `rotate(${rotationInDegrees}deg)`,\n\t\t},\n\t})\n\nconst getHiddenCss = (hidden: ComponentLayout['hidden']) => (): SelectorToCssMap =>\n\tsetForComponent(\n\t\thidden\n\t\t\t? {\n\t\t\t\t'': { '--l_display': 'none' },\n\t\t\t}\n\t\t\t: { '': { '--l_display': 'unset' } }\n\t)\n\nconst getDirectionCss = (direction: ComponentLayout['direction']) => (): SelectorToCssMap =>\n\tsetForComponent(\n\t\tdirection\n\t\t\t? {\n\t\t\t\t'': {\n\t\t\t\t\tdirection,\n\t\t\t\t},\n\t\t\t}\n\t\t\t: {}\n\t)\n\nconst getContainerType = (containerType: ComponentLayout['containerType']) => (): SelectorToCssMap | null => {\n\tif (containerType) {\n\t\treturn setForComponent({\n\t\t\t'': {\n\t\t\t\t'container-type': containerType,\n\t\t\t},\n\t\t})\n\t}\n\treturn null\n}\n\ntype ComponentLayoutProps = Omit<ComponentLayout, 'id' | 'type'>\nconst componentLayoutPropertiesConverters: {\n\t[P in keyof ComponentLayoutProps]: <T extends ComponentLayoutProps[P]>(\n\t\tsizeProp: T,\n\t\tadditionalLayoutProperties: AdditionalLayoutProperties,\n\t\tcomponentLayout?: ComponentLayout\n\t) => () => SelectorToCssMap\n} = pickBy({\n\twidth: getWidthCss,\n\theight: getHeightCss,\n\tminWidth: getMinWidthCss,\n\tminHeight: getMinHeightCss,\n\tmaxWidth: getMaxWidthCss,\n\tmaxHeight: getMaxHeightCss,\n\trotationInDegrees: getRotationCss,\n\thidden: getHiddenCss,\n\tdirection: getDirectionCss,\n\tcontainerType: getContainerType,\n})\n\nconst componentLayoutDefaults = {\n\theight: undefined,\n}\n\nconst componentLayoutConverter = (\n\tcomponentLayout: ComponentLayout | ClassicComponentLayout,\n\tadditionalLayoutProperties: AdditionalLayoutProperties\n) => {\n\tconst componentLayoutWithDefaults = defaults(componentLayout, componentLayoutDefaults) as ComponentLayout\n\tconst propertiesConverters = map(\n\t\t// @ts-ignore\n\t\tpickBy(componentLayoutWithDefaults, (val, key) => Boolean(componentLayoutPropertiesConverters[key] as any)),\n\t\t(val, key) =>\n\t\t\t// @ts-ignore\n\t\t\tcomponentLayoutPropertiesConverters[key](val, additionalLayoutProperties, componentLayoutWithDefaults)\n\t)\n\n\treturn reduce(\n\t\tpropertiesConverters,\n\t\t(selectorToCssMap, getCssFunc) => {\n\t\t\tconst selectorToCssMapToAdd = getCssFunc()\n\t\t\tforEach(selectorToCssMapToAdd, (cssObj: CssObject, selector: string) => {\n\t\t\t\t// @ts-ignore\n\t\t\t\tselectorToCssMap[selector] = selectorToCssMap[selector] || {}\n\t\t\t\t// @ts-ignore\n\t\t\t\tassign(selectorToCssMap[selector], cssObj)\n\t\t\t})\n\t\t\treturn selectorToCssMap as TargetedCss\n\t\t},\n\t\t{} as TargetedCss\n\t)\n}\n\nexport const pinnedLayerDataItemToCss = (layoutDataItem: any) => {\n\tif (layoutDataItem.type !== 'FixedItemLayout') {\n\t\treturn {}\n\t}\n\n\tconst pinnedLayerCss = {\n\t\tposition: 'fixed',\n\t\tleft: 0,\n\t\twidth: '100%',\n\t\tdisplay: 'grid',\n\t\t'grid-template-columns': '1fr',\n\t\t'grid-template-rows': '1fr',\n\t}\n\n\t// @ts-ignore\n\tconst isPinnedTopAutoExperiment = globalThis.pinnedTopAutoExperiment || false\n\tconst isDockedBottom = get(layoutDataItem, 'alignSelf') === 'end'\n\tconst isDockedTop = get(layoutDataItem, 'alignSelf') === 'start'\n\tif (isDockedBottom) {\n\t\tassign(pinnedLayerCss, {\n\t\t\tbottom: 0,\n\t\t\ttop: 'unset', // reset cascading\n\t\t\theight: 'auto',\n\t\t})\n\t} else if (isPinnedTopAutoExperiment && isDockedTop) {\n\t\tassign(pinnedLayerCss, {\n\t\t\ttop: 0,\n\t\t\tbottom: 'unset', // reset cascading\n\t\t\theight: 'auto',\n\t\t\t'margin-top': 'var(--wix-ads-height)',\n\t\t})\n\t} else {\n\t\tassign(pinnedLayerCss, {\n\t\t\ttop: 0,\n\t\t\tbottom: 'unset', // reset cascading\n\t\t\theight: 'calc(100% - var(--wix-ads-height))',\n\t\t\t'margin-top': 'var(--wix-ads-height)',\n\t\t})\n\t}\n\n\treturn {\n\t\tcomponent: pinnedLayerCss,\n\t} as SelectorToCssMap\n}\n\nconst parseMultiColumnsItemLayout = (_layout: MultiColumnsItemLayout) => {\n\treturn setForItem({\n\t\t'': pickBy(\n\t\t\t{\n\t\t\t\twidth: 'var(--repeater-item-width)',\n\t\t\t},\n\t\t\t(value) => !!value\n\t\t),\n\t})\n}\n\nconst parseMultiColumnsContainerLayout = createContainerLayoutConverter((_layout: MultiColumnsContainerLayout) => {\n\treturn mergeStyles(\n\t\tsetForContainer({\n\t\t\t'': pickBy(\n\t\t\t\t{\n\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t'flex-direction': 'column',\n\t\t\t\t\t'flex-wrap': 'wrap',\n\t\t\t\t\t'--flex-column-count': _layout.columnCount,\n\t\t\t\t\theight: 'var(--flex-columns-height, auto)',\n\t\t\t\t\t'align-content': getFlexAlignment(_layout.alignContent),\n\t\t\t\t\t'--row-gap': sizeToString(_layout.rowGap) || 0,\n\t\t\t\t\t'--col-gap': sizeToString(_layout.columnGap) || 0,\n\t\t\t\t\t'--repeater-item-width':\n\t\t\t\t\t\t'calc((100% - var(--col-gap, 0px) * (var(--flex-column-count) - 1)) / var(--flex-column-count))',\n\t\t\t\t\t'--container-layout-type': 'multi-column-layout',\n\t\t\t\t},\n\t\t\t\t(value) => !!value\n\t\t\t),\n\t\t})\n\t)\n})\n\ntype SimpleLayoutDataItems = Exclude<LayoutDataItems, SingleLayoutData>\n\ntype Converters = {\n\treadonly [P in SimpleLayoutDataItems['type']]: (\n\t\titem: TypeMapping[P],\n\t\tadditionalLayoutProperties: AdditionalLayoutProperties,\n\t\texperiments?: Experiments\n\t) => TargetedCss | undefined\n}\n\nconst parseBackgroundLayerItemLayout = parseBaseGridItem(() => {\n\tconst itemCss: CssObject = {\n\t\t'grid-area': '1/1/2/2',\n\t}\n\n\treturn setForItem({\n\t\t'': itemCss,\n\t})\n})\n\nconst noopConverter = (_: any, __: any, ___: any) => {\n\treturn {} as TargetedCss\n}\nconst converters: Converters = {\n\tComponentLayout: componentLayoutConverter,\n\tFixedItemLayout: parseFixedItem,\n\tGridItemLayout: parseGridItem,\n\tBackgroundLayerItemLayout: parseBackgroundLayerItemLayout,\n\tGridContainerLayout: parseGridLayout,\n\tFlexContainerLayout: parseFlexContainerLayout,\n\tFlexItemLayout: parseFlexItemLayout,\n\tMultiColumnsItemLayout: parseMultiColumnsItemLayout,\n\tMultiColumnsContainerLayout: parseMultiColumnsContainerLayout,\n\tOrganizerContainerLayout: parseFlexContainerLayout,\n\tOrganizerItemLayout: parseFlexItemLayout,\n\tStackContainerLayout: parseFlexContainerLayout,\n\tStackItemLayout: parseFlexItemLayout,\n\t// @ts-ignore\n\tClassicComponentLayout: componentLayoutConverter,\n\tMeshContainerLayout: noopConverter,\n\tMeshItemLayout: meshItemLayoutConverter,\n\tFixedPositionItemLayout: parseFixedPositionItemLayout,\n\tMasterPageItemLayout: noopConverter,\n}\n\nexport const layoutDataItemToCss = (layoutDataItem: any, additionalLayoutProperties: AdditionalLayoutProperties) => {\n\tconst converter = converters[(layoutDataItem as SimpleLayoutDataItems).type]\n\tif (!converter) {\n\t\tthrow new Error(`invalid layout type: ${layoutDataItem.type} for layout id ${layoutDataItem.id}`)\n\t}\n\treturn converter(layoutDataItem as any, additionalLayoutProperties) as SelectorToCssMap\n}\nconst getAlignment = (align: string, maxWidthVar: string) => {\n\tswitch (align) {\n\t\tcase 'left':\n\t\t\treturn '0'\n\t\tcase 'right':\n\t\t\treturn `clamp(0px, (100% - ${maxWidthVar}), 100 * var(--one-unit))`\n\t\tdefault:\n\t\t\treturn `clamp(0px, (100% - ${maxWidthVar}) / 2, 100 * var(--one-unit))`\n\t}\n}\n","declare global {\n\tinterface Scheduler {\n\t\tyield?: () => Promise<void>\n\t}\n\n\tvar scheduler: Scheduler | undefined\n}\n\n// break long task to smaller tasks, see here: https://web.dev/optimize-long-tasks/#use-asyncawait-to-create-yield-points\nexport const yieldToMain = () => {\n\tif (\n\t\tprocess.env.browser &&\n\t\tprocess.env.PACKAGE_NAME !== 'thunderbolt-ds' &&\n\t\tprocess.env.RENDERER_BUILD !== 'react-native'\n\t) {\n\t\tif (globalThis.scheduler?.yield) {\n\t\t\treturn globalThis.scheduler.yield()\n\t\t}\n\n\t\treturn new Promise((resolve) => setTimeout(resolve, 0))\n\t}\n}\n\nexport const taskify = async <T>(task: () => T) => {\n\tawait yieldToMain()\n\treturn task()\n}\n","export const name = 'siteWixCodeSdk' as const\nexport const namespace = 'site' as const\n","export const name = 'modelUpdatesInvoker' as const\nexport const ModelUpdatesInvoker = Symbol('modelUpdatesInvokerSymbol')\nexport const ModelUpdatesHandlersImplementor = Symbol('modelUpdatesHandlersImplementorSymbol')\nexport const ViewerBatchingManagerSymbol = Symbol('ViewerBatchingManager')\n","import type { FetchFn } from '@wix/thunderbolt-symbols'\n\nexport const rendererTypeQueryParam = 'wix-renderer-type'\n\nexport const fetchMainGridAppId = async (fetchFn: FetchFn, siteId: string) => {\n\tconst mainGridAppId = await fetchFn(\n\t\t`https://www.wix.com/_serverless/thunderless/getGridAppId?siteId=${siteId}`\n\t).then((res) => res.json())\n\treturn mainGridAppId?.gridAppId\n}\n","export const name = 'dashboardWixCodeSdk' as const\nexport const namespace = 'dashboard' as const\nexport const dashboardHostKey = 'dashboardHost' as const\n","export const name = 'cyclicTabbingService' as const\n","import type { Language } from '@wix/thunderbolt-becky-types'\n\nexport interface ICaptchaDialog extends Record<string, Function> {\n\topenCaptchaDialog(): Promise<string | null>\n\n\twithCaptchaChallengeHandler<T extends (recaptchaToken?: string | null) => any>(cb: T): Promise<ReturnType<T>>\n}\n\nexport const captchaChallengeActions = {\n\tlogin: 'LOGIN',\n\tsignup: 'SIGNUP',\n} as const\nexport type CaptchaChallengeActions = typeof captchaChallengeActions[keyof typeof captchaChallengeActions]\n\nexport const getWithCaptchaChallengeHandler = ({\n\topenCaptchaDialog,\n}: {\n\topenCaptchaDialog: ICaptchaDialog['openCaptchaDialog']\n}) => (cb: (token?: string | null) => any) => {\n\tconst handler = async (token?: string | null): Promise<any> => {\n\t\ttry {\n\t\t\tconst response = await cb(token)\n\t\t\treturn response\n\t\t} catch (error) {\n\t\t\tif (isCaptchaTokenRequired(error)) {\n\t\t\t\t// openCaptchaDialog might return empty string in case the captcha was closed\n\t\t\t\ttoken =\n\t\t\t\t\t(await openCaptchaDialog().catch(() => {\n\t\t\t\t\t\tthrow error\n\t\t\t\t\t})) || undefined\n\t\t\t\tif (token) {\n\t\t\t\t\treturn handler(token)\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow error\n\t\t}\n\t}\n\treturn handler()\n}\n\nexport const getOpenCaptcha = ({\n\tcaptcha,\n\tuserLanguage,\n}: {\n\tcaptcha?: ICaptchaApi\n\tuserLanguage: Language\n}) => (): Promise<string> => {\n\treturn captcha\n\t\t? new Promise((resolve, reject) => {\n\t\t\tcaptcha.close()\n\t\t\tcaptcha.open({\n\t\t\t\tonVerified: (token: string) => {\n\t\t\t\t\tcaptcha.close()\n\t\t\t\t\tresolve(token)\n\t\t\t\t},\n\t\t\t\tonClose: () => {\n\t\t\t\t\tcaptcha.close()\n\t\t\t\t\treject()\n\t\t\t\t},\n\t\t\t\tlanguage: userLanguage,\n\t\t\t})\n\t\t})\n\t\t: Promise.resolve('')\n}\n\nexport const isCaptchaTokenRequired = (error: any) => {\n\tconst errorCode = error?.details?.errorcode || error?.details?.errorCode || error?.details?.applicationError?.code\n\treturn CAPTCHA_ERROR_CODES.includes(errorCode)\n}\n\nexport interface ICaptchaApi {\n\topen(props: CaptchaDialogProps): void\n\tclose(): void\n}\n\nexport type CaptchaDialogProps = {\n\tlanguage: Language\n\tonVerified: (token: string) => void\n\tonClose: () => void\n\t// injected from masterPageConfig in captcha feature\n\ttranslations?: { [key in keyof typeof CAPTCHA_TRANSLATIONS]: string }\n}\n\nexport const ERROR_CODES = {\n\tSM_CAPTCHA_REQUIRED: '-19971',\n\tSM_CAPTCHA_INVALID: '-19970',\n\tREQUEST_THROTTLED: '-19959',\n}\n\nexport const CAPTCHA_ERROR_CODES = [\n\tERROR_CODES.SM_CAPTCHA_REQUIRED,\n\tERROR_CODES.SM_CAPTCHA_INVALID,\n\tERROR_CODES.REQUEST_THROTTLED,\n]\n\nexport type CAPTCHA_TRANSLATION_KEYS =\n\t| 'recaptcha_popup_ariaLabel_topLevel'\n\t| 'recaptcha_popup_ariaLabel_closeButton'\n\t| 'recaptcha_popup_title'\n\t| 'recaptcha_popup_subtitle'\n\nexport const CAPTCHA_TRANSLATIONS: {\n\t[key in CAPTCHA_TRANSLATION_KEYS]: { namespace: string; key: string; default: string }\n} = {\n\trecaptcha_popup_ariaLabel_topLevel: {\n\t\tnamespace: 'ariaLabels',\n\t\tkey: 'recaptcha_popup_ariaLabel_topLevel',\n\t\tdefault: 'reCAPTCHA',\n\t},\n\trecaptcha_popup_ariaLabel_closeButton: {\n\t\tnamespace: 'ariaLabels',\n\t\tkey: 'recaptcha_popup_ariaLabel_closeButton',\n\t\tdefault: 'Close',\n\t},\n\trecaptcha_popup_title: {\n\t\tnamespace: 'recaptcha',\n\t\tkey: 'recaptcha_popup_title',\n\t\tdefault: 'Verification',\n\t},\n\trecaptcha_popup_subtitle: {\n\t\tnamespace: 'recaptcha',\n\t\tkey: 'recaptcha_popup_subtitle',\n\t\tdefault: 'Please confirm you\\'re human.',\n\t},\n}\n","import type {\n\tAlignment,\n\tJustifyContent,\n\tMeshItemAlignment,\n\tUnitSize,\n\tSpx,\n\tKeywordLength,\n\tPosition,\n\tAlignContent,\n} from '@wix/thunderbolt-becky-types'\nimport { resolveSpxValue } from '../css'\n\nexport interface SizeToStringOptions {\n\tspx?: Spx\n\tvhScalingFactor?: string\n}\n\nexport const unitSizeToString = (size: UnitSize, options?: SizeToStringOptions): string => {\n\tconst { spx, vhScalingFactor } = options ?? {}\n\n\tif (size.type === 'percentage') {\n\t\treturn `${size.value}%`\n\t}\n\tif (size.type === 'number') {\n\t\treturn `${size.value}`\n\t}\n\tif (size.type === 'spx') {\n\t\treturn resolveSpxValue(`${size.value}spx`, spx)\n\t}\n\tif (size.type === 'vh' && vhScalingFactor) {\n\t\treturn vhValueToString(size.value, vhScalingFactor)\n\t}\n\n\treturn `${size.value}${size.type}`\n}\n\nexport const vhValueToString = (value: number, vhScalingFactor?: string) => {\n\tif (vhScalingFactor) {\n\t\treturn `calc(${value} * var(--vh-scale-factor, 1vh))`\n\t}\n\n\treturn `${value}vh`\n}\n\nexport const numberToString = (number: number): string => number.toString()\n\nexport const gridAlignmentToString = (alignment: Alignment): string => alignment.toLowerCase()\n\n// consider move all code related to content area to layoutToCss\n//\nexport const meshAlignmentToString = (alignment: MeshItemAlignment): string => {\n\tif (alignment === 'content') {\n\t\treturn 'start'\n\t}\n\n\treturn alignment.toLowerCase()\n}\n\nconst alignmentToFlexSyntax = {\n\tstart: 'flex-start' as 'flex-start',\n\tend: 'flex-end' as 'flex-end',\n\tcenter: 'center' as 'center',\n\tstretch: 'stretch' as 'stretch',\n\tauto: 'auto' as 'auto',\n}\n\nexport const flexAlignmentToString = (alignment: Alignment): string => alignmentToFlexSyntax[alignment]\n\nconst contentAlignmentToFlexSyntax = {\n\tstart: 'flex-start' as 'flex-start',\n\tend: 'flex-end' as 'flex-end',\n\tcenter: 'center' as 'center',\n\tspaceBetween: 'space-between' as 'space-between',\n\tspaceAround: 'space-around' as 'space-around',\n\tspaceEvenly: 'space-evenly' as 'space-evenly',\n}\n\nexport const flexJustifyContentToString = (justifyContent: JustifyContent): string =>\n\tcontentAlignmentToFlexSyntax[justifyContent]\n\nexport const flexAlignContentToString = (alignContent: AlignContent): string =>\n\tcontentAlignmentToFlexSyntax[alignContent]\n\nexport const templateLengthToString = (value: number | KeywordLength): string => {\n\tif (typeof value === 'number') {\n\t\treturn numberToString(value)\n\t}\n\treturn value.toLowerCase()\n}\n\nexport const positionToCss = (\n\tposition: Position,\n\tenvironmentRefs: { renderSticky: boolean }\n): Record<string, string> => {\n\tconst isStickyToHeader = position === 'stickyToHeader'\n\tconst isStickyPosition = position === 'sticky' || isStickyToHeader\n\tconst isStickyDisabled = isStickyPosition && !environmentRefs.renderSticky\n\n\tif (isStickyDisabled) {\n\t\treturn {\n\t\t\tposition: 'relative',\n\t\t\tforceAuto: 'auto',\n\t\t}\n\t}\n\n\treturn {\n\t\tposition: isStickyToHeader ? 'sticky' : position,\n\t\theaderOffset: isStickyToHeader ? 'var(--top-offset)' : '0px',\n\t\tstickyOffset: isStickyPosition ? 'var(--sticky-offset)' : '0px',\n\t\tforceAuto: 'initial',\n\t}\n}\n","export const MetricsReporterSym = Symbol.for('MetricsReporterSym')\n","export type DynamicSessionModel = {\n\tapps: {\n\t\t[appDefId: string]: {\n\t\t\tinstance: string\n\t\t}\n\t}\n\tctToken: string\n\ths: number\n\tmediaAuthToken: string\n\tsvSession: string\n\tvisitorId: string\n\tsiteMemberId?: string\n\tcontactId?: string\n\tsmToken?: string\n}\n\nexport type FetchDynamicModel = (init?: RequestInit) => Promise<DynamicSessionModel>\n\nexport type Instance = string\nexport type LoadNewSessionReason =\n\t| 'noSpecificReason'\n\t| 'memberLogin'\n\t| 'expiry'\n\t| 'newUserSession'\n\t| 'firstLoad'\n\t| 'authorization code expiry'\n\nexport const AUTHORIZATION_CODE_QUERY_PARAM = 'authorizationCode'\n\nexport type OnLoadSessionCallback = ({\n\tresults,\n\treason,\n}: {\n\tresults: {\n\t\tinstances: { [appDefinitionId: string]: Instance }\n\t\tsiteMemberId?: string\n\t\tvisitorId?: string\n\t\tsvSession?: string\n\t\tsmToken?: string\n\t}\n\treason: LoadNewSessionReason\n}) => void\n\nexport interface ISessionManager {\n\tgetBoundAccessTokenFunction: (appDefId: string) => () => string\n\tgetAppInstanceByAppDefId(appDefId: string): string | undefined\n\tgetSiteMemberId(): string | undefined\n\tgetVisitorId(): string | undefined\n\tgetSmToken(): string | undefined\n\tgetUserSession(): string | undefined\n\tgetCtToken(): string | undefined\n\tgetContactId(): string | undefined\n\tgetAllInstances(): DynamicSessionModel['apps']\n\tgetHubSecurityToken(): string | 'NO_HS'\n\tsetUserSession(userSession: string): void\n\taddLoadNewSessionCallback(callback: OnLoadSessionCallback): () => void\n\t// @ts-ignore\n\tloadNewSession({\n\t\treason,\n\t\tauthorizationCode,\n\t}?: {\n\t\treason: LoadNewSessionReason\n\t\tauthorizationCode?: string\n\t}): Promise<void>\n}\n\nexport interface ISessionProvider {\n\tgetCurrentSession: () => Partial<DynamicSessionModel> | undefined\n\tloadNewSession: (param: {\n\t\treason: LoadNewSessionReason\n\t\tauthorizationCode?: string\n\t}) => Promise<Partial<DynamicSessionModel>>\n}\n","export const ScreenInInitCallbackSymbol = Symbol('ScreenIn')\nexport const ScreenInAPISymbol = Symbol('ScreenInAPI')\n\nexport const name = 'screenIn' as const\n\nexport const SCREEN_IN_CALLBACK = 'screenInCallback'\n","export const name = 'quickActionBar' as const\nexport { DynamicActionsApiSymbol } from '@wix/thunderbolt-symbols'\n\nexport const DynamicActionsConfigSymbol = Symbol('DynamicActionsConfig')\n","export const name = 'tpaCommons' as const\nexport const TpaHandlersManagerSymbol = Symbol('TpaHandlersManager')\nexport const MasterPageTpaPropsCacheSymbol = Symbol('TpaPropsCache')\nexport const TpaContextMappingSymbol = Symbol('TpaContextMapping')\nexport const TpaSrcBuilderSymbol = Symbol('TpaSrcBuilder')\nexport const TpaSectionSymbol = Symbol('TpaSection')\nexport const TpaDataCapsuleSymbol = Symbol('TpaDataCapsule')\nexport const PinnedExternalIdStoreSymbol = Symbol('PinnedExternalIdStore')\nexport const TpaSrcUtilitySymbol = Symbol('TpaSrcUtility')\n","/**\n * Similar to the editor, -override is regarded as an internal query param - it should build the links with these params\n */\nexport const overrideSuffix = '-override'\n/*\n * The Viewer doesn't preserve query params on internal navigation.\n * THIS LIST IS FOR INTERNAL QUERY PARAM ONLY!\n * Don't add query params here to support any kind of product.\n * If a product needs query params to persist after navigation - it should build the links with these params,\n * */\nexport const queryParamsWhitelist = new Set([\n\t'schemaDevMode',\n\t'currency',\n\t'ruiTrace',\n\t'metaSiteId',\n\t'isqa',\n\t'enableTestApi',\n\t'experiments',\n\t'experimentsoff',\n\t'suppressbi',\n\t'sampleratio',\n\t'hot',\n\t'viewerPlatformAppSources',\n\t'wixCodeForceKibanaReport',\n\t'controllersUrlOverride',\n\t'debug',\n\t'petri_ovr',\n\t'iswixsite',\n\t'showMobileView',\n\t'lang',\n\t'ssrDebug',\n\t'wixAdsOverlay',\n\t'ssrIndicator',\n\t'siteRevision',\n\t'branchId',\n\t'widgetsUrlOverride',\n\t'viewerPlatformOverrides',\n\t'overridePlatformBaseUrls',\n\t'thunderboltTag',\n\t'tpaWidgetUrlOverride',\n\t'tpasWorkerUrlOverride',\n\t'disableHtmlEmbeds',\n\t'suricateTunnelId',\n\t'inBizMgr',\n\t'viewerSource',\n\t'dsOrigin',\n\t'disableSiteAssetsCache',\n\t'isEditor',\n\t'isSantaEditor',\n\t'disableAutoSave',\n\t'autosaveRestore',\n\t'isEdited',\n\t'ds',\n\t'ooiInEditorOverrides',\n\t'localIframeWorker',\n\t'productionWorker',\n\t'siteAssetsFallback',\n\t'editorScriptUrlOverride',\n\t'tpaSettingsUrlOverride',\n\t'bobViewerScriptOverride', // Override viewer script when developing a BoB app in Blocks\n\t'appRevisionOverride', // Override the remote widget structure revision of a Blocks app\n\t'appDefinitionId', // Pass existing appDefinitionId when creating a new Blocks application\n\t'editorSdkSource',\n\t'EditorSdkSource',\n\t'origin', // Passed by the business-manager when the viewer is loaded as a widget\n\t'dashboardSdkAvailable', // Passed by the business-manager when the viewer is loaded as a widget (temporary)\n\t'dayful', // Used in Wix Anywhere flow, viewer-server modifies site models based on this param\n\t'headlessExternalUrls', // Used in Wix Headless, contains the URLs to be redirected to when overriding pages by an headless site (AKA App reflow lite)\n\t'disableLazyLoading', // Disable lazy loading in ADI,\n\t'addAllExperimentsToSled',\n\t'debugRendering',\n\t'noExperiments',\n\t'disableBiLoggerBatch',\n\t'rc',\n\t'imageOverlay',\n])\n","export const name = 'consentPolicyService' as const\n","export const CompEventSymbol = Symbol('eventSymbol')\n","export const getBuilderWidgetClass = (builderWidgetId: string) => {\n\treturn `w-${builderWidgetId}`\n}\n\nexport const getWrapperSelectorForWidget = (builderWidgetId: string) => {\n\treturn `.${getBuilderWidgetClass(builderWidgetId)}`\n}\n\nexport const getPresetsInstanceWrapperClass = (instanceKey: string, supportExternalDependenciesCss: boolean) => {\n\treturn supportExternalDependenciesCss ? `${instanceKey}-presets-wrapper` : `c-${instanceKey}`\n}\n\nexport const getPresetsInstanceWrapperSelector = (instanceKey: string, supportExternalDependenciesCss: boolean) => {\n\treturn `.${getPresetsInstanceWrapperClass(instanceKey, supportExternalDependenciesCss)}`\n}\n","var errors = {\n    NOT_FOUND: new Error('Key was not found in capsule'),\n    SERVER_ERROR: new Error('Failed to perform operarion on server'),\n    LOCAL_STORAGE_UNSUPPORTED: new Error('LocalStorage is not supported'),\n    COOKIE_CONSENT_DISALLOWED: new Error('The item cannot be set because the user has not approved the category it belongs to'),\n};\nexport function toError(str) {\n    return (Object.keys(errors)\n        .map(function (key) { return errors[key]; })\n        .find(function (err) { return err.message === str; }) || new Error(str));\n}\nexport var PREFIX_SEPARATOR = '|';\nexport var KEY_SEPARATOR = '#';\nexport var STORAGE_PREFIX = 'capsule';\nexport var CONNECTION_MAX_TIMEOUT = 2000;\nexport var MESSAGE_MAX_TIMEOUT = 8000;\nexport var NOT_FOUND = errors.NOT_FOUND;\nexport var SERVER_ERROR = errors.SERVER_ERROR;\nexport var LOCAL_STORAGE_UNSUPPORTED = errors.LOCAL_STORAGE_UNSUPPORTED;\nexport var COOKIE_CONSENT_DISALLOWED = errors.COOKIE_CONSENT_DISALLOWED;\n//# sourceMappingURL=constants.js.map","export const tabClasses = ['focus-ring-active', 'keyboard-tabbing-on']\n","export const name = 'windowScroll' as const\nexport const WindowScrollApiSymbol = Symbol('windowScrollApi')\nexport const ResolvableReadyForScrollPromiseSymbol = Symbol('ResolvableWindowScrollPromise')\n","export const DEFAULT_DESKTOP_SITE_WIDTH = 980\n\nexport const MOBILE_SITE_WIDTH = 320\n\nexport const EMPTY_OBJECT: Record<string, any> = {}\nexport const EMPTY_ARRAY: Array<never> = []\n\nexport const SOSP_CONTAINER_ID = 'SOSP_CONTAINER_CUSTOM_ID'\n\nexport const VISIBILITY_HIDDEN = { visibility: 'hidden' } as const\nexport const VISIBILITY_VISIBLE = { visibility: 'visible' } as const\n","export const name = 'environmentService' as const\n","export const TPA_COMPONENTS = ['TPASection', 'TPAMultiSection', 'TPAGluedWidget', 'TPAWidget']\n","export class InvalidJsonError extends Error {\n\tconstructor(paramName: string, cause: Error) {\n\t\tsuper(`${paramName} parameter is invalid: ${cause.message}`)\n\t\tthis.name = this.constructor.name\n\t\tif (cause) {\n\t\t\tthis.stack = `${this.stack}\\nCaused By: ${cause.stack}`\n\t\t}\n\t}\n}\n","export var IS_RTL_PARAM = '__IS_RTL__';\nexport var directionMap = {\n    'ALIGNMENT-START': { ltr: 'start', rtl: 'end' },\n    'ALIGNMENT-END': { ltr: 'end', rtl: 'start' },\n    START: { ltr: 'left', rtl: 'right' },\n    END: { ltr: 'right', rtl: 'left' },\n    STARTSIGN: { ltr: '-', rtl: '' },\n    ENDSIGN: { ltr: '', rtl: '-' },\n    'DEG-START': { ltr: '0', rtl: '180' },\n    'DEG-END': { ltr: '180', rtl: '0' },\n    DIR: { ltr: 'ltr', rtl: 'rtl' },\n};\n//# sourceMappingURL=constants.js.map","export const name = 'serviceRegistrar' as const\n","export const name = 'windowMessageRegistrar' as const\nexport const WindowMessageRegistrarSymbol = Symbol('WindowMessageRegistrar')\n","export const ReducedMotionSymbol = Symbol.for('reducedMotion')\n","export const name = 'protectedPages' as const\n","import type { StackFrame, Event } from '@wix/fe-essentials-viewer-platform/sentry/types'\n\nexport type AddRerouteDataToSentryEvent = (event: Event) => void\nexport type IsSentryEventFromNonWixTpa = (event: Event) => boolean\n\nexport type StackFrameWithPossibleModuleMetadata = StackFrame & {\n\tmodule_metadata?: any\n}\n\nconst SENTRY_REROUTED_MARK_KEY = '_REROUTED'\nconst SENTRY_IS_NON_WIX_TPA_MARK_KEY = '_isTPA'\nconst SENTRY_REROUTE_DATA_KEY = '_ROUTE_TO'\n\nexport const addRerouteDataToSentryEvent: AddRerouteDataToSentryEvent = (event) => {\n\tif (event?.extra?.[SENTRY_REROUTE_DATA_KEY]) {\n\t\treturn\n\t}\n\n\tif (event?.exception?.values?.[0].stacktrace?.frames) {\n\t\tconst frames = event.exception.values[0].stacktrace.frames as Array<StackFrameWithPossibleModuleMetadata>\n\n\t\t// Find the last frame with module metadata containing an appId or dsn\n\t\tconst framesModuleMetadata = frames\n\t\t\t.filter((frame) => frame.module_metadata && frame.module_metadata.appId)\n\t\t\t.map((v) => ({\n\t\t\t\tappId: v.module_metadata.appId,\n\t\t\t\trelease: v.module_metadata.release,\n\t\t\t\tdsn: v.module_metadata.dsn,\n\t\t\t}))\n\n\t\tconst routeTo = framesModuleMetadata.slice(-1) // using top frame only\n\n\t\tif (routeTo.length) {\n\t\t\tconst appId = routeTo[0].appId\n\t\t\tconst app = window.wixEmbedsAPI?.getMonitoringConfig(appId)\n\n\t\t\tif (app?.monitoringComponent?.monitoring?.type === 'SENTRY') {\n\t\t\t\tconst dsn = app?.monitoringComponent?.monitoring?.sentryOptions?.dsn\n\n\t\t\t\tif (dsn) {\n\t\t\t\t\tif (!routeTo[0].dsn && dsn) {\n\t\t\t\t\t\t// Take the DSN from DC Monitoring component\n\t\t\t\t\t\trouteTo[0].dsn = dsn\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (app) {\n\t\t\t\tevent.extra = {\n\t\t\t\t\t...event.extra,\n\t\t\t\t\t[SENTRY_IS_NON_WIX_TPA_MARK_KEY]: !app.isWixTPA,\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tevent.extra = {\n\t\t\t\t...event.extra,\n\t\t\t\t[SENTRY_REROUTE_DATA_KEY]: routeTo,\n\t\t\t\t[SENTRY_REROUTED_MARK_KEY]: true,\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport const isSentryEventFromNonWixTpa: IsSentryEventFromNonWixTpa = (event) => {\n\treturn !!event?.extra?.[SENTRY_IS_NON_WIX_TPA_MARK_KEY]\n}\n","export const namespace = 'authentication' as const\nexport const name = 'authenticationWixCodeSdk' as const\n\nexport const dialogFeatureName = 'authentication' as const\nexport const AuthenticationApiSymbol = Symbol('AuthenticationApi')\n","export const COMPS_ROOT_NAMESPACE = 'comps-root'\nexport const SVG_STORE_NAMESPACE = 'svgStore'\n\nexport const PARSED_SVG_ASPECT = 'parsedSvg'\n","export const name = 'editorWixCodeSdk' as const\nexport const namespace = 'editor' as const\n","export const TOP_ANCHOR_COMP_ID = 'PAGE_TOP_ANCHOR'\nexport const TOP_ANCHOR_DATA_ID = 'SCROLL_TO_TOP'\nexport const TOP_ANCHOR = { compId: TOP_ANCHOR_COMP_ID, dataId: TOP_ANCHOR_DATA_ID }\nexport const WIX_ADS = 'WIX_ADS'\nexport const SCROLL_DEBOUNCE_WAIT = 100\nexport const RESIZE_DEBOUNCE_WAIT = 100\n","import type { EffectsReactionData, StateReactionData } from '@wix/thunderbolt-becky-types'\nimport type { TriggerType } from './types'\n\nexport const TriggerTypeEventNameMapper: { [index: string]: string } = {\n\tclick: 'onClick',\n\ttap: 'onClick',\n\t'mouse-in': 'onMouseEnter',\n\t'mouse-out': 'onMouseLeave',\n}\n\nexport const ReverseStateReactionTypeMapper: {\n\t[index: string]: StateReactionData['type'] | EffectsReactionData['type']\n} = {\n\tAddState: 'RemoveState',\n\tRemoveState: 'AddState',\n\tTogglePlay: 'ToggleReverse',\n}\n\nexport const DYNAMIC_COMP_CHILD_TRIGGER_TYPE_TO_COMP_ID_PROPERTY: Partial<\n\tRecord<TriggerType, 'triggerComponentId' | 'targetCompId'>\n> = {\n\t'viewport-enter': 'triggerComponentId',\n\t'viewport-leave': 'triggerComponentId',\n\t'page-visible': 'targetCompId',\n\t'pointer-move': 'targetCompId',\n\t'view-progress': 'targetCompId',\n}\n","import type { ICurrentRouteInfo, CandidateRouteInfo, IRoutingMiddleware } from '@wix/thunderbolt-symbols'\n\nexport const getPageBackgroundId = (pageId: string) => `pageBackground_${pageId}`\n\nexport const refetchDynamicPageData = async (\n\tcurrentRouteInfo: ICurrentRouteInfo,\n\tdynamicPagesRoutingMiddleware?: IRoutingMiddleware\n) => {\n\tconst routeInfo = currentRouteInfo.getCurrentRouteInfo()\n\n\tif (routeInfo?.dynamicRouteData && dynamicPagesRoutingMiddleware) {\n\t\t// Call the handler to get the new dynamicRouteData after update\n\t\tconst dynamicRouteInfo = await dynamicPagesRoutingMiddleware.handle({\n\t\t\t...routeInfo,\n\t\t\t// This needs to be undefined in order for the handler to trigger again\n\t\t\tpageId: undefined,\n\t\t} as Partial<CandidateRouteInfo>)\n\t\tif (dynamicRouteInfo?.dynamicRouteData) {\n\t\t\t// Update it on currentRouteInfo symbol\n\t\t\tcurrentRouteInfo.updateCurrentDynamicRouteInfo(dynamicRouteInfo.dynamicRouteData)\n\t\t}\n\t}\n}\n\nexport const DEFAULT_PAGE_ID: string = 'c1dmp'\n","export const name = 'containerSliderService' as const\n","export const MotionSymbol = Symbol('Motion')\nexport const name = 'motion' as const\n","import { queryParamsWhitelist } from './constants/queryParamsWhitelist'\n\nexport const applyRetainedQueryParams = (browserCurrentUrl: URL, targetHref: string): URL => {\n\tconst urlWithProtocol = targetHref.startsWith('//') ? `${browserCurrentUrl.protocol}${targetHref}` : targetHref\n\tconst targetUrl = new URL(urlWithProtocol)\n\n\tif (browserCurrentUrl.host === targetUrl.host) {\n\t\tconst siteQueryParams = browserCurrentUrl.searchParams\n\t\tsiteQueryParams.forEach((value, key) => {\n\t\t\tif (queryParamsWhitelist.has(key) && !targetUrl.searchParams.has(key)) {\n\t\t\t\ttargetUrl.searchParams.set(key, value)\n\t\t\t}\n\t\t})\n\t}\n\n\treturn targetUrl\n}\n","export const name = 'debug' as const\nexport const TbDebugSymbol = Symbol('tbDebug')\nexport const TbDebugFeaturesSymbol = Symbol('TbDebugFeaturesSymbol')\nexport const DevToolsSymbol = Symbol('DevTools')\n","export const SsrPlatformConfigSym = Symbol('SsrPlatformConfigSym')\nexport const MainGridAppIdFetchSymbol = Symbol('MainGridAppIdFetch')\n","import type { Spx } from '@wix/thunderbolt-becky-types'\n\nconst HALF_PX = '0.5px'\n\nexport const CONTAINER_TYPES = {\n\tPage: true,\n\tMasterPage: true,\n\tAppPage: true,\n\tVerticalRepeater: true,\n\tQuickActionBar: true,\n\tPageGroup: true,\n\tSiteRegionContainer: true,\n\tContainer: true,\n\tMediaBox: true,\n\tHoverBox: true,\n\tPopupContainer: true,\n\tGroup: true,\n\tFormContainer: true,\n\tWSiteStructure: true,\n\tHeaderContainer: true,\n\tFooterContainer: true,\n\tPagesContainer: true,\n\tStripContainer: true,\n\tStripColumnsContainer: true,\n\tClassicSection: true,\n\tColumn: true,\n\tMediaPlayer: true,\n\tScreenWidthContainer: true,\n\tArea: true,\n\tBoxSlideShow: true,\n\tStateBox: true,\n\tStateStrip: true,\n\tStateBoxState: true,\n\tStateBoxFormState: true,\n\tStateStripState: true,\n\tStripContainerSlideShow: true,\n\tSlideShowSlide: true,\n\tBoxSlideShowSlide: true,\n\tStripContainerSlideShowSlide: true,\n\tRepeater: true,\n\tMediaContainer: true,\n\tMenuContainer: true,\n\tAppWidget: true,\n\tPopover: true,\n\tRefComponent: true,\n\tSection: true,\n\tHeaderSection: true,\n\tFooterSection: true,\n\tMembersAreaSection: true,\n\tMultiStateBox: true,\n\tMegaMenuContainerItem: true,\n\tStretchedContainer: true,\n\tSettingsPanelContainer: true,\n\tSingleTab: true,\n\tAccordionItem: true,\n\tSelectableContainer: true,\n\tHamburgerMenuContainer: true,\n}\n\nexport const meshIgnoredComponentTypes: Record<string, boolean> = {\n\tBackgroundGroup: true,\n\tRepeater: true,\n\tPagesContainer: true,\n\tPageGroup: true,\n\tColumn: true, // mesh for column will be calculated by StripColumnsContainer\n\tStripContainerSlideShow: true,\n\tBoxSlideShow: true,\n\tPinnedLayer: true,\n\tMeshGroup: true,\n\tMegaMenuContainerItem: true,\n}\n\nexport const SPX_VALUE_REGEX = /-?[0-9]*\\.?[0-9]*spx/\n\nconst roundToFactor = (value: number, numberOfDecimals: number) => {\n\tlet factor = Math.pow(10, numberOfDecimals)\n\tlet roundedNumber = Math.round(value * factor) / factor\n\twhile (roundedNumber === 0 && value !== 0) {\n\t\tfactor *= 10\n\t\troundedNumber = Math.round(value * factor) / factor\n\t}\n\treturn roundedNumber\n}\n\nexport const getSpxScalingCssValue = (scalingValue: number) => {\n\treturn `calc((${scalingValue} * var(--one-unit)) - (var(--scrollbar-width) * ${roundToFactor(\n\t\tscalingValue / 100,\n\t\t7\n\t)}))`\n}\n\nexport const getCqwUnit = (numericValue: number, refWidth: number) => roundToFactor((numericValue / refWidth) * 100, 7)\n\nconst fixCssUnits = (css: string) => {\n\tlet bracketsCounter = 0\n\n\tfor (let i = 0; i < css.length; i++) {\n\t\tif (css[i] === '(') {\n\t\t\tbracketsCounter++\n\t\t} else if (css[i] === ')') {\n\t\t\tbracketsCounter--\n\t\t} else if (bracketsCounter === 0 && css[i].match(/\\d/) && (css[i + 1] === ' ' || i === css.length - 1)) {\n\t\t\tcss = css.slice(0, i + 1) + 'px' + css.slice(i + 1)\n\t\t}\n\t}\n\treturn css\n}\n\nconst getCalcCssValue = (numericValue: number, refWidth: number) => {\n\tconst scalingFactor = `${Number(\n\t\t(numericValue / refWidth).toFixed(7) // numericValue / --refWidth * 100\n\t)} * (var(--scaling-factor) - var(--scrollbar-width))`\n\treturn numericValue < 0 ? `min(-${HALF_PX}, ${scalingFactor})` : `max(${HALF_PX}, ${scalingFactor})`\n}\n\nexport const resolveSpxAttribute = (value: string | number, spx?: Spx | undefined, keepNumValues = false) => {\n\tconst valuesWithResolvedSpx = `${value}`.replace(new RegExp(SPX_VALUE_REGEX, 'g'), (spxValue) =>\n\t\tresolveSpxValue(spxValue, spx)\n\t)\n\n\treturn keepNumValues ? valuesWithResolvedSpx : fixCssUnits(valuesWithResolvedSpx)\n}\n\nexport const resolveSpxValue = (spxValue: string, spx: Spx | undefined) => {\n\tconst { refWidth, resolverType } = spx ?? {}\n\tconst isScale = resolverType === 'scale'\n\tconst numericValue = parseFloat(spxValue)\n\treturn isNaN(numericValue)\n\t\t? spxValue\n\t\t: isScale && refWidth && numericValue !== 0\n\t\t\t? getCalcCssValue(numericValue, refWidth)\n\t\t\t: `${numericValue}px`\n}\n\nexport const getSpxValueResolver = (spx: Spx | undefined) => (value: string) => resolveSpxValue(value, spx)\n","export const TpaHandlerProviderSymbol = Symbol('TpaHandlerProvider')\nexport const TpaSrcQueryParamProviderSymbol = Symbol('TpaSrcQueryParamProvider')\nexport const TpaPopupSymbol = Symbol('TpaPopup')\nexport const TpaModalSymbol = Symbol('TpaModal')\nexport const TpaMessageContextPickerSym = Symbol('TpaMessageContextPicker')\n","import type { CompRef, CompRefPromise } from './types'\nimport type { IAppWillMountHandler } from '../thunderbolt/LifeCycle'\nimport type { CyclicTabbing } from '@wix/cyclic-tabbing'\n\nexport type AddCompRefById = (compId: string, compRef: CompRef) => void\nexport type GetCompRefById = (compId: string) => CompRefPromise\nexport type CompRefAPI = {\n\tgetCompRefById: GetCompRefById\n}\n\nexport const CompRefAPISym = Symbol.for('GetCompRefById')\n\nexport type ICyclicTabbing = CyclicTabbing & IAppWillMountHandler\n\nexport interface ITriggersAndReactions {\n\tapplyEffects(compId: string, effects: Array<string>): void\n\n\tremoveEffects(compId: string, effects: Array<string>): void\n\n\tobserveChildListChange(parentId: string, target: HTMLElement): void\n\n\tobserveChildListChangeMaster(parentId: string, target: HTMLElement): void\n}\n","// This is a copy of the encodeAnchorName function from @wix/public-resolvers\n// because we don't want to depend on it in this package\nconst encodeAnchorName = (anchorName: string): string => {\n\treturn encodeURIComponent(anchorName).replace(/[!'()*]/g, (c) => {\n\t\treturn c\n\t})\n}\n\nexport const TOP_ANCHOR = 'SCROLL_TO_TOP'\nexport const BOTTOM_ANCHOR = 'SCROLL_TO_BOTTOM'\nexport const TOP_AND_BOTTOM_ANCHORS = [TOP_ANCHOR, BOTTOM_ANCHOR]\nexport const TOP_ANCHOR_NAME = encodeAnchorName('Top of Page')\nexport const BOTTOM_ANCHOR_NAME = encodeAnchorName('Bottom of Page')\n\nexport const topBottomAnchorNameToCompId = {\n\t[TOP_ANCHOR_NAME]: TOP_ANCHOR,\n\t[BOTTOM_ANCHOR_NAME]: BOTTOM_ANCHOR,\n}\n","export const TPA_RUNTIME_COMP_ID_SEPARATOR = '_rtby_' // must be different than (and not start with) REPEATER_DELIMITER\n\nexport const runtimeTpaCompIdBuilder = {\n\tbuildRuntimeCompId(prefix: string, originCompId: string): string {\n\t\treturn `${prefix}${TPA_RUNTIME_COMP_ID_SEPARATOR}${originCompId}`\n\t},\n\tisRuntimeCompId(compId: string) {\n\t\treturn compId.split(TPA_RUNTIME_COMP_ID_SEPARATOR).length > 1\n\t},\n\tgetOriginCompId(compId: string): string {\n\t\tconst [id, originCompId] = compId.split(TPA_RUNTIME_COMP_ID_SEPARATOR)\n\t\treturn originCompId || id\n\t},\n}\n","export const name = 'sessionManager' as const\n\nexport const SessionManagerSymbol = Symbol('SessionManager')\nexport const DynamicModelSessionProviderSymbol = Symbol('DynamicModelSessionProvider')\nexport const AuthorizationCodeRefreshSymbol = Symbol('AuthorizationCodeRefresh')\n\nexport const sessionExportsNamespace = 'session'\n","export const name = 'linkUtilsService' as const\n","import type { Experiments } from '@wix/thunderbolt-symbols'\nimport type { CandidateRouteInfo, UrlResolvingOptions } from './types'\nimport { queryParamsWhitelist as defaultQueryParamsWhitelist, overrideSuffix } from '@wix/thunderbolt-commons'\nimport type { IRoutingConfig, Route } from '@wix/thunderbolt-types'\nimport {\n\tresolveQueryParams,\n\tremoveProtocol,\n\treplaceProtocol,\n\tgetRelativeUrlData,\n\tdecodeUriComponentIfEncoded,\n\tconvertHashBangUrlToSlashUrl,\n} from './urlUtils'\n\nconst removeWww = (url: string) => url.replace('www.', '')\n\nconst isInternalUrl = (url: string, baseUrl: string): boolean => {\n\tconst parsedUrl = new URL(removeWww(url), `${baseUrl}/`)\n\tconst parsedBaseUrl = new URL(removeWww(baseUrl))\n\treturn parsedUrl.host === parsedBaseUrl.host && parsedUrl.pathname.startsWith(parsedBaseUrl.pathname)\n}\n\nconst getRouteData = (\n\trelativePathnameParts: Array<string>,\n\troutes: IRoutingConfig['routes'],\n\tpartialRouteMatchingAllowed: boolean,\n\texperiments?: Experiments,\n\ttpaSectionPageIds?: Record<string, boolean>\n): (Route & { isPartialStaticRouteMatch?: boolean }) | undefined => {\n\tconst decodedRelativePathnameParts = relativePathnameParts.map(decodeUriComponentIfEncoded)\n\tconst routeKey = `./${decodedRelativePathnameParts.join('/')}`\n\n\tif (routes[routeKey]) {\n\t\treturn routes[routeKey]\n\t}\n\n\tconst dynamicPageRouteKey = `./${decodedRelativePathnameParts[0]}`\n\n\tif (\n\t\troutes[dynamicPageRouteKey]?.type === 'Static' &&\n\t\t!tpaSectionPageIds?.[routes[dynamicPageRouteKey].pageId || ''] &&\n\t\t!partialRouteMatchingAllowed\n\t) {\n\t\treturn {\n\t\t\t...routes[dynamicPageRouteKey],\n\t\t\tisPartialStaticRouteMatch: true,\n\t\t}\n\t}\n\n\treturn routes[dynamicPageRouteKey]\n}\n\nexport const keepInternalQueryParamsOnly = (\n\tsearchParams: URLSearchParams,\n\tqueryParamsWhitelist: Set<string> = defaultQueryParamsWhitelist\n) => {\n\t// @ts-ignore - ts thinks there's no entries() on searchParams, but it's there.\n\tconst entries = searchParams.entries()\n\tconst filteredEntries = [...entries].filter(\n\t\t([key]) => queryParamsWhitelist.has(key) || key.endsWith(overrideSuffix)\n\t)\n\treturn new URLSearchParams(filteredEntries).toString()\n}\n\nconst isUrlOnSameWixSite = (candidateUrl: string, baseUrl: string) => {\n\tconst candidateUrlWithNoProtocol = removeProtocol(candidateUrl)\n\tconst baseUrlWithNoProtocol = removeProtocol(baseUrl)\n\n\treturn candidateUrlWithNoProtocol.startsWith(baseUrlWithNoProtocol)\n}\n\nconst fixSameWixSiteCandidateUrl = (candidateUrl: string, siteProtocol: string) => {\n\tconst candidateSlashUrl = convertHashBangUrlToSlashUrl(candidateUrl)\n\treturn replaceProtocol(candidateSlashUrl, siteProtocol)\n}\n\nexport const resolveUrl = (\n\turl: string,\n\troutingConfig: IRoutingConfig,\n\toptions?: UrlResolvingOptions,\n\texperiments?: Experiments,\n\ttpaSectionPageIds?: Record<string, boolean>\n): Partial<CandidateRouteInfo> => {\n\tconst sanitizedUrl = url.replace(/\\uFFFD/g, '').replace(/%EF%BF%BD/g, '')\n\n\tconst { currentParsedUrl, queryParamsWhitelist = defaultQueryParamsWhitelist } = options || {}\n\tconst isHomePageUrl = sanitizedUrl === routingConfig.baseUrl\n\tconst queryParams = currentParsedUrl\n\t\t? keepInternalQueryParamsOnly(currentParsedUrl.searchParams, queryParamsWhitelist)\n\t\t: ''\n\n\t// should resolve to base url on home page url, otherwise we get extra slash on navigation\n\tconst candidateUrl = isHomePageUrl ? routingConfig.baseUrl : sanitizedUrl\n\tconst urlToParse = isUrlOnSameWixSite(candidateUrl, routingConfig.baseUrl)\n\t\t? fixSameWixSiteCandidateUrl(candidateUrl, new URL(routingConfig.baseUrl).protocol)\n\t\t: candidateUrl\n\n\tconst parsedUrl = new URL(urlToParse, `${routingConfig.baseUrl}/`)\n\tparsedUrl.search = resolveQueryParams(parsedUrl.search, queryParams)\n\n\tif (!isInternalUrl(urlToParse, routingConfig.baseUrl)) {\n\t\treturn {\n\t\t\tparsedUrl,\n\t\t}\n\t}\n\n\tconst { relativeUrl, relativeEncodedUrl, relativePathnameParts } = getRelativeUrlData(\n\t\turlToParse,\n\t\troutingConfig.baseUrl\n\t)\n\tconst route = getRouteData(\n\t\trelativePathnameParts,\n\t\troutingConfig.routes,\n\t\troutingConfig.partialRouteMatchingAllowed || false,\n\t\texperiments,\n\t\ttpaSectionPageIds\n\t)\n\n\treturn {\n\t\t...route,\n\t\trelativeUrl,\n\t\trelativeEncodedUrl,\n\t\tparsedUrl,\n\t}\n}\n","interface ScreenSizeMeasures {\n\tscreenResulotion: {\n\t\twidth: number\n\t\theight: number\n\t}\n\tscreenAvailableResulotion: {\n\t\twidth: number\n\t\theight: number\n\t}\n\twindowResulotion: {\n\t\twidth: number\n\t\theight: number\n\t}\n\twindowOuterResulotions: {\n\t\twidth: number\n\t\theight: number\n\t}\n}\n\nexport let screenSizeMeasures: ScreenSizeMeasures\n\nif (process.env.browser) {\n\tscreenSizeMeasures = {\n\t\tscreenResulotion: {\n\t\t\twidth: window.screen.width,\n\t\t\theight: window.screen.height,\n\t\t},\n\t\tscreenAvailableResulotion: {\n\t\t\twidth: window.screen.availWidth,\n\t\t\theight: window.screen.availHeight,\n\t\t},\n\t\twindowResulotion: {\n\t\t\twidth: window.innerWidth,\n\t\t\theight: window.innerHeight,\n\t\t},\n\t\twindowOuterResulotions: {\n\t\t\twidth: window.outerWidth,\n\t\t\theight: window.outerHeight,\n\t\t},\n\t}\n}\n","import { StacktraceScriptType } from '../../types';\nexport const PANORAMA_DATA_KEY = '__panoramaData';\nexport const BlacklistedStacktraceScriptTypes = [StacktraceScriptType.BROWSER_EXTENSION];\n//# sourceMappingURL=sentry-plugin-constants.js.map","export const name = 'wixCustomElementComponent' as const\nexport const WixCustomElementComponentAPISymbol = Symbol('WixCustomElementComponentAPISymbol')\nexport const WixCustomElementComponentEditorAPISymbol = Symbol('WixCustomElementComponentEditorAPISymbol')\n","export const name = 'editorElementsDynamicTheme' as const\n","export const PageProviderSymbol = Symbol('PageProvider')\nexport const LogicalReflectorSymbol = Symbol('LogicalReflector')\nexport const LogicalReflectorStateSymbol = Symbol('LogicalReflectorState')\nexport const PageStructureJsonSymbol = Symbol('PageStructure')\nexport const PagePropsJsonSymbol = Symbol('PageProps')\nexport const PageInitializerSymbol = Symbol('PageInitializer')\n\nexport const name = 'pages' as const\n","export type CompAction = Function\nexport type ActionProps = Record<string, CompAction>\nexport type EventActionOptions = { addCompId: boolean }\n\ntype TComponentEvents<T> = { [K in keyof T]: Function }\n\nexport type CompEventsRegistrarSubscriber = (compId: string, newActions: ActionProps) => void\nexport interface ICompEventsRegistrar {\n\tregister: <T extends TComponentEvents<T>>(\n\t\tcompId: string,\n\t\teventName: keyof T,\n\t\tcompAction: T[keyof T],\n\t\toptions?: EventActionOptions\n\t) => Function\n\tunregister: (compId: string, eventName: string, compAction: CompAction) => void\n\tsubscribeToChanges: (callback: CompEventsRegistrarSubscriber) => void\n}\n\nexport const CompEventsRegistrarSym = Symbol.for('CompEventsRegistrar')\n","export const name = 'ooiTpaSharedConfig' as const\nexport const OoiTpaSharedConfigSymbol = Symbol('ooiTpaSharedConfig')\nexport const OOICompDataSymbol = Symbol('OOICompData')\n","export { PrivacyStatus } from '@wix/ambassador-iam-authentication-v1-authentication/types'\n\nexport const APPS = {\n\tPLATFORMIZED_AUTH: '1052fa8e-e3e2-46dc-ab66-8badb2d08fe9',\n}\n\nexport const AUTH_METHODS = {\n\tLOGIN: 'login',\n\tSIGNUP: 'register',\n}\n\nexport const INTERACTIONS = {\n\tSOCIAL_APP_LOGIN: 'members-social-app-login',\n\tSOCIAL_APP_LOGIN_WITH_VENDOR: (vendor: string) => `members-social-app-login-${vendor}`,\n\tDEFAULT_LOGIN: 'members-default-login',\n\tCODE_LOGIN: 'members-code-login',\n\tCODE_SIGNUP: 'members-code-signup',\n\tDEFAULT_SIGNUP: 'members-default-signup',\n\tRESET_PASSWORD: 'members-reset-password',\n\tVERIFY_TOKEN: 'apply-session-token',\n\tEDITOR: {\n\t\tCODE_LOGIN: 'editor-members-code-login',\n\t},\n\tWELCOME_DIALOG: 'members-welcome-dialog',\n\tVERIFICATION_CODE: 'verification-code',\n}\n\nexport const DIALOGS = {\n\tLogin: 'login',\n\tSignUp: 'register',\n\tResetPasswordEmail: 'resetPasswordEmail',\n\tResetPasswordNewPassword: 'resetPasswordNewPassword',\n\tNotification: 'notification',\n\tCredits: 'credits',\n\tPasswordProtected: 'enterPassword',\n\tEmailVerification: 'emailVerification',\n\tSentConfirmationEmail: 'sentConfirmationEmail',\n\tWelcome: 'welcome',\n\tNoPermissionsToPage: 'noPermissionsToPage',\n}\n\nexport const NOTIFICATIONS = {\n\tTemplate: 'template',\n\tSiteOwner: 'siteowner',\n\tSignUp: 'register',\n\tResetPasswordEmail: 'resetPasswordEmail',\n\tResetPasswordNewPassword: 'resetPasswordNewPassword',\n}\n\nexport const CompTypes = {\n\tSocialAuth: 'SocialAuth',\n\tLoginButton: 'wysiwyg.viewer.components.LoginButton',\n\tLoginSocialBar: 'wysiwyg.viewer.components.LoginSocialBar',\n\tLoginSocialBarE3: 'wixMembersArea.LoginSocialBar'\n}\n\nexport const AUTH_RESULT_REASON = {\n\tCANCELED: 'authentication canceled',\n\tALREADY_LOGGED_IN: 'already logged in',\n\tSUCCESS: 'success',\n}\n\nexport const NOT_PERMITTED = 'not permitted'\n\nexport const TPA_PAGES = {\n\tLOGIN: 'loginTPA',\n\tSIGN_UP: 'signupTPA',\n\tFORGOT_PASSWORD: 'forgotPasswordTPA',\n\tRESET_PASSWORD: 'resetPasswordTPA',\n\tADMIN_APPROVAL: 'adminApprovalTPA',\n\tEMAIL_CONFIRMATION: 'emailConfirmationTPA',\n\tEXPIRED_TOKEN: 'expiredTokenTPA',\n\tACCESS_RESTRICTED: 'accessRestrictedTPA',\n}\n\nexport const ROUTER_PREFIX = 'auth'\n\nexport const TPA_PAGE_IDS_TO_ROUTES = {\n\t[TPA_PAGES.FORGOT_PASSWORD]: '/forgot-password',\n\t[TPA_PAGES.RESET_PASSWORD]: '/reset-password',\n\t[TPA_PAGES.ADMIN_APPROVAL]: '/admin-approval',\n\t[TPA_PAGES.EMAIL_CONFIRMATION]: '/email-confirmation',\n\t[TPA_PAGES.EXPIRED_TOKEN]: '/expired-token',\n\t[TPA_PAGES.ACCESS_RESTRICTED]: '/access-restricted',\n}\n\nexport const ERROR_CODES = {\n\tPASSWORD_RESETED: '-19973',\n\tWRONG_AUTH_DETAILS: '-19976',\n\tACCESS_DENID: '-19956',\n\tVALIDATION_ERROR: '-19988',\n\tWAITING_APPROVAL: '-19958',\n\tUNKNOWN_ACCOUNT: '-19999',\n\tWRONG_PASSWORD: '-17005',\n\tEXISTING_EMAIL_ACCOUNT: '-19995',\n\tCLIENT_AUTH_FORBIDDEN: '-19974',\n\tEMAIL_NOT_PROVIDED: '-18880',\n\tCAPTCHA_REQUIRED: '-19971',\n\tCAPTCHA_INVALID: '-19970',\n\tRESET_PASSWORD_TOKEN_EXPIRED: '-19972',\n\tNEW_RESET_PASSWORD_TOKEN_EXPIRED: 'EXPIRED_JWT_TOKEN',\n\tREQUEST_THROTTLED: '-19959',\n\tCODE_INVALID: 'EMAIL_VERIFICATION_REQUIRED',\n\tBAD_CODE: 'EMAIL_VERIFICATION_FAILED',\n\tSERVER_EXCEPTION: '-19901',\n\tAUTHENTICATION_FAILED: '-19976',\n\tUNIMPLEMENTED_FEATURE: 'UNIMPLEMENTED_FEATURE',\n\tIP_ADDRESS_BLACKLISTED: 'IP_ADDRESS_FILTERED',\n}\n\nexport const CAPTCHA_ERROR_CODES = [\n\tERROR_CODES.CAPTCHA_REQUIRED,\n\tERROR_CODES.CAPTCHA_INVALID,\n\tERROR_CODES.REQUEST_THROTTLED,\n]\n\nexport const VERIFICATION_CODE_ERROR_CODES = [ERROR_CODES.CODE_INVALID, ERROR_CODES.BAD_CODE]\n\nexport const LOGIN_ERROR_CODES = [\n\tERROR_CODES.CLIENT_AUTH_FORBIDDEN,\n\tERROR_CODES.PASSWORD_RESETED,\n\tERROR_CODES.WRONG_AUTH_DETAILS,\n\tERROR_CODES.ACCESS_DENID,\n\tERROR_CODES.VALIDATION_ERROR,\n\tERROR_CODES.WAITING_APPROVAL,\n\tERROR_CODES.UNKNOWN_ACCOUNT,\n\tERROR_CODES.WRONG_PASSWORD,\n\t...CAPTCHA_ERROR_CODES,\n\t...VERIFICATION_CODE_ERROR_CODES,\n]\n\nexport const SIGN_UP_ERROR_CODES = [\n\tERROR_CODES.CLIENT_AUTH_FORBIDDEN,\n\tERROR_CODES.EXISTING_EMAIL_ACCOUNT,\n\tERROR_CODES.VALIDATION_ERROR,\n\tERROR_CODES.EMAIL_NOT_PROVIDED,\n\tERROR_CODES.CODE_INVALID,\n\t...CAPTCHA_ERROR_CODES,\n\t...VERIFICATION_CODE_ERROR_CODES,\n]\n\nexport const UNSUPPORTED_AGENTS_FOR_SOCIAL_AUTH = ['FBAV', 'FBAN', 'Instagram']\n\nexport const INVISIBLE_CAPTCHA_API_KEY = '6LdoPaUfAAAAAJphvHoUoOob7mx0KDlXyXlgrx5v'\n\nexport const TRACK_EVENTS = {\n\tCATEGORY: 'Site members',\n\tLABEL: 'Wix',\n\tACTIONS: {\n\t\tLOGIN: {\n\t\t\tSUCCESS: 'Log in Success',\n\t\t\tSUBMIT: 'Log in Submit',\n\t\t\tFAIL: 'Log in Failure',\n\t\t},\n\t\tSIGNUP: {\n\t\t\tSUCCESS: 'Sign up Success',\n\t\t\tSUBMIT: 'Sign up Submit',\n\t\t\tFAIL: 'Sign up Failure',\n\t\t},\n\t\tLOGOUT: {\n\t\t\tFAIL: 'Log out failed',\n\t\t},\n\t\tSETTINGS: {\n\t\t\tFAIL: 'Querying site members settings failed',\n\t\t},\n\t},\n}\n\nexport const RESET_PASSWORD_ROUTE = './auth/reset-password'\n\nexport const getTrackEventParams = (eventAction: string, eventLabel = TRACK_EVENTS.LABEL) => {\n\treturn {\n\t\teventName: 'CustomEvent',\n\t\tparams: {\n\t\t\teventCategory: TRACK_EVENTS.CATEGORY,\n\t\t\teventAction,\n\t\t\teventLabel,\n\t\t},\n\t}\n}\n\nexport const CAPTCHA_REQUIRED_RESPONSE = {\n\tmessage: `Recaptcha token is required (${ERROR_CODES.CAPTCHA_REQUIRED})`,\n\tdetails: {\n\t\tapplicationError: {\n\t\t\tcode: ERROR_CODES.CAPTCHA_REQUIRED,\n\t\t\tdescription: `Recaptcha token is required (${ERROR_CODES.CAPTCHA_REQUIRED})`,\n\t\t},\n\t},\n}\n\nexport const newIAMResetPasswordTokenPrefix = 'ART'\n\nexport const KNOWN_CONNECTION_APPEFIDS = {\n\tPASSWORD: '31fff8fc-ea95-43ac-95c5-902497125b90',\n\tFACEBOOK: '3ecad13f-52c3-483d-911f-31dbcf2a6d23',\n\tGOOGLE: '0e6a50f5-b523-4e29-990d-f37fa2ffdd69',\n\tAPPLE: 'ce1be235-3691-4532-906c-5a7d2e3acdd1',\n}\n\nexport const idpConnectionIdToVendorNames: Record<string, string> = {\n\t[KNOWN_CONNECTION_APPEFIDS.FACEBOOK]: 'facebook',\n\t[KNOWN_CONNECTION_APPEFIDS.GOOGLE]: 'google',\n}\n\nexport type TRANSLATION_KEYS =\n\t| ERROR_TRANSLATION_KEYS\n\t| 'templateNotificationTitle'\n\t| 'templateNotificationMessage'\n\t| 'containerOk'\n\t| 'resetPasswordCheckEmailTitle'\n\t| 'resetPasswordCheckEmailText'\n\t| 'resetPasswordOk'\n\t| 'resetPasswordSuccessTitle'\n\t| 'passwordHasExpiredTitle'\n\t| 'passwordHasExpiredText'\n\t| 'passwordHasExpiredOk'\n\t| 'applySuccess1'\n\t| 'applySuccess2'\n\t| 'membersLoginDialogTitle'\n\t| 'membersLoginDialogSubmitButton'\n\t| 'membersLoginDialogSwitchDialogLink'\n\t| 'membersLoginDialogMobileForgotPassword'\n\t| 'membersLoginDialogForgotPassword'\n\t| 'membersLoginDialogSwitchToSignUp'\n\t| 'membersLoginDialogSocialSectionDivider'\n\t| 'membersLoginDialogEmailSectionDivider'\n\t| 'membersLoginDialogCopyLinkLoginFacebook'\n\t| 'membersLoginDialogCopyLinkLoginGoogle'\n\t| 'membersLoginDialogCopyLinkSignupFacebook'\n\t| 'membersLoginDialogCopyLinkSignupGoogle'\n\t| 'membersLoginDialogCopyLinkLoginGoogleFacebook'\n\t| 'membersLoginDialogCopyLinkSignupGoogleFacebook'\n\t| 'membersLoginDialogCopyLinkLoginApple'\n\t| 'membersLoginDialogCopyLinkSignupApple'\n\t| 'membersLoginDialogCopyLinkText'\n\t| 'membersLoginDialogPasswordFieldTitle'\n\t| 'membersLoginDialogPasswordFieldLabel'\n\t| 'membersLoginDialogEmailField'\n\t| 'membersLoginDialogSocialLoginTitle'\n\t| 'membersLoginDialogLoginWithGoogle'\n\t| 'membersLoginDialogLoginWithFacebook'\n\t| 'membersLoginDialogLoginWithApple'\n\t| 'membersLoginDialogSignupWithGoogle'\n\t| 'membersLoginDialogSignupWithFacebook'\n\t| 'membersLoginDialogSignupWithApple'\n\t| 'membersLoginDialogLoginWithSso'\n\t| 'membersLoginDialogSignupWithSso'\n\t| 'membersLoginDialogSwitchToAuthWithEmail'\n\t| 'membersLoginDialogLinkCopied'\n\t| 'membersErrorRetypePassword'\n\t| 'membersErrorPasswordRequired'\n\t| 'membersErrorPasswordAscii'\n\t| 'membersErrorPasswordSignupLength'\n\t| 'membersErrorPasswordLoginLength'\n\t| 'membersErrorEmailRequired'\n\t| 'membersErrorEmailFormat'\n\t| 'membersCloseDialog'\n\t| 'welcomeTitle'\n\t| 'welcomeDescription'\n\t| 'welcomeDescriptionSecondary'\n\t| 'welcomeEdit'\n\t| 'welcomeBackToSite'\n\t| 'noPermissionsToPageTitle'\n\t| 'noPermissionsToPageSwitchAccount'\n\t| 'confirmationEmailTitle'\n\t| 'confirmationEmailSignUpTitle'\n\t| 'confirmationEmailSubtitle'\n\t| 'confirmationEmailSignUpSubtitle'\n\t| 'confirmationEmailSignUpSecondarySubtitle'\n\t| 'confirmationEmailDescription'\n\t| 'confirmationEmailDescriptionSecondary'\n\t| 'confirmationEmailDescriptionLink'\n\t| 'resetPasswordTitle'\n\t| 'resetPasswordSubtitle'\n\t| 'resetPasswordButtonText'\n\t| 'resetPasswordPasswordInputText'\n\t| 'resetPasswordRetypePasswordInputText'\n\t| 'membersPoliciesTermsOfUseLink'\n\t| 'membersPoliciesPrivacyLink'\n\t| 'membersPoliciesAnd'\n\t| 'requestPasswordResetTitle'\n\t| 'requestPasswordResetEnterEmail'\n\t| 'requestPasswordResetPasswordResetButton'\n\t| 'membersSignupSwitchDialogLink'\n\t| 'membersSignupSwitchToSignIn'\n\t| 'membersSignupSocialSectionDivider'\n\t| 'membersSignupSwitchToAuthWithEmail'\n\t| 'membersSignupCommunityLabel'\n\t| 'membersSignupCommunityReadMore'\n\t| 'membersSignupCommunityReadLess'\n\t| 'membersSignupCommunityContent'\n\t| 'membersSignupCommunityCodeOfConductLink'\n\t| 'membersSignupPoliciesContent'\n\t| 'verificationCodeTitle'\n\t| 'verificationCodeFooterParagraph'\n\t| 'verificationCodeFooterParagraphLink'\n\t| 'verificationCodeResendIndication'\n\t| 'verificationCodeEnterCode'\n\t| 'verificationCodeEmailParagraph'\n\t| 'verificationCodeSubmitButton'\n\t| 'verificationCodeVerificationErr'\n\t| 'verificationCodeNotFoundError'\n\t| 'verificationCodeBadCodeError'\n\t| 'verificationCodeInvalidCodeError'\n\t| 'validationNotMatch'\n\t| 'validationTooLong'\n\t| 'validationTooShort'\n\t| 'dialogMixinTranslations_sso_title'\n\t| 'dialogMixinTranslations_sso_subtitle'\n\t| 'dialogMixinTranslations_headless_title'\n\t| 'dialogMixinTranslations_headless_subtitle'\n\nexport type ERROR_TRANSLATION_KEYS =\n\t| 'membersErrorGeneral'\n\t| 'membersServerError_19958'\n\t| 'membersServerError_19995'\n\t| 'membersServerError_19999'\n\t| 'membersServerError_18880'\n\t| 'membersServerError_17005'\n\t| 'membersServerError_17002'\n\t| 'membersServerError_17003'\n\t| 'membersServerError_19970'\n\t| 'membersServerError_19971'\n\t| 'membersServerError_19956'\n\t| 'membersServerError_19973'\n\t| 'membersServerError_19901'\n\t| 'membersServerError_19972'\n\t| 'membersServerError_19976'\n\t| 'membersServerError_9990'\n\t| 'membersServerError_19980'\n\t| 'membersServerError_19984'\n\t| 'membersServerError_19988'\n\t| 'membersServerError_19974'\n\t| 'membersServerError_SESSION_BY_ID_NOT_FOUND_OR_NOT_ACTIVE'\n\t| 'membersServerError_RECOVERY_TOKEN_DATA_NOT_FOUND'\n\t| 'membersServerError_IP_ADDRESS_BLACKLISTED'\n\nexport const ERROR_TRANSLATIONS: {\n\t[key in ERROR_TRANSLATION_KEYS]: { namespace: string; key: string; default: string }\n} = {\n\tmembersErrorGeneral: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_General_Err',\n\t\tdefault: 'Looks like there was a technical issue. Please refresh the browser and log in again.',\n\t},\n\tmembersServerError_19958: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19958',\n\t\tdefault: 'Unable to log in. Your member request is pending approval.',\n\t},\n\tmembersServerError_19995: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19995',\n\t\tdefault: 'An account with this email already exists.',\n\t},\n\tmembersServerError_19999: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19999',\n\t\tdefault: 'This email doesn\\'t match any account. Try again.',\n\t},\n\tmembersServerError_18880: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_18880',\n\t\tdefault: 'Email address must be provided',\n\t},\n\tmembersServerError_17005: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_17005',\n\t\tdefault: 'Please enter the correct password.',\n\t},\n\tmembersServerError_17002: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_17002',\n\t\tdefault: 'This page was deleted. Reload your browser to head home.',\n\t},\n\tmembersServerError_17003: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_17003',\n\t\tdefault: 'This page isn\\'t password protected. To view it, reload your browser.',\n\t},\n\tmembersServerError_19970: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19970',\n\t\tdefault: 'Verification failed. Please try again.',\n\t},\n\tmembersServerError_19971: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19971',\n\t\tdefault: 'Captcha is required to verify that you\\'re a human.',\n\t},\n\tmembersServerError_19956: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19956',\n\t\tdefault: 'It looks like you can\\'t log in with that email. Try a different email address.',\n\t},\n\tmembersServerError_19973: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19973',\n\t\tdefault: 'Your password has been reset. To log in, click Forgot Password below & create a new password.',\n\t},\n\tmembersServerError_19901: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19901',\n\t\tdefault: 'We sent you too many emails. Wait a bit before clicking resend again.',\n\t},\n\tmembersServerError_19972: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19972',\n\t\tdefault: 'It appears that this link has expired',\n\t},\n\tmembersServerError_19976: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19976',\n\t\tdefault: 'Wrong email or password',\n\t},\n\tmembersServerError_9990: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19980',\n\t\tdefault: 'Access denied by site owner',\n\t},\n\tmembersServerError_19980: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19980',\n\t\tdefault: 'Access denied by site owner',\n\t},\n\tmembersServerError_19984: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19984',\n\t\tdefault: 'Invalid Session',\n\t},\n\tmembersServerError_19988: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_19988',\n\t\tdefault: 'Unauthorized Request',\n\t},\n\tmembersServerError_19974: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_error_19974',\n\t\tdefault: 'Unauthorized Request',\n\t},\n\tmembersServerError_SESSION_BY_ID_NOT_FOUND_OR_NOT_ACTIVE: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_SESSION_BY_ID_NOT_FOUND_OR_NOT_ACTIVE',\n\t\tdefault: 'There was a technical error on our end. Refresh the page or try again later.',\n\t},\n\tmembersServerError_RECOVERY_TOKEN_DATA_NOT_FOUND: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_RECOVERY_TOKEN_DATA_NOT_FOUND',\n\t\tdefault: 'It appears that this link has expired',\n\t},\n\tmembersServerError_IP_ADDRESS_BLACKLISTED: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_IP_ADDRESS_FILTERED',\n\t\tdefault: 'Your IP address isn’t valid, if you’re using a VPN try changing your IP.',\n\t},\n}\n\nexport const TRANSLATIONS: { [key in TRANSLATION_KEYS]: { namespace: string; key: string; default: string } } = {\n\t...ERROR_TRANSLATIONS,\n\ttemplateNotificationTitle: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_TEMPLATE_NOTIFICATION_TITLE',\n\t\tdefault: 'Demo Mode',\n\t},\n\ttemplateNotificationMessage: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_TEMPLATE_NOTIFICATION_MESSAGE',\n\t\tdefault: 'To make this template yours, start editing it.',\n\t},\n\tcontainerOk: { namespace: 'siteMembersTranslations', key: 'SMContainer_OK', default: 'OK' },\n\tresetPasswordCheckEmailTitle: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_RESET_PASSWORD_CHECKEMAIL_TITLE',\n\t\tdefault: 'Please Check Your Email',\n\t},\n\tresetPasswordCheckEmailText: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_RESET_PASSWORD_CHECKEMAIL_TEXT',\n\t\tdefault: 'We’ve emailed you a link to reset your password.',\n\t},\n\tresetPasswordOk: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_Reset_Password_OK',\n\t\tdefault: 'Got It',\n\t},\n\tresetPasswordSuccessTitle: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_Reset_Password_Sucess_Title',\n\t\tdefault: 'Your password has been changed.',\n\t},\n\tpasswordHasExpiredTitle: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_PASSWORD_HAS_EXPIRED_TITLE',\n\t\tdefault: 'Your link to create a new password has expired',\n\t},\n\tpasswordHasExpiredText: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_PASSWORD_HAS_EXPIRED_TEXT',\n\t\tdefault: 'To continue, resend a new link to your email.',\n\t},\n\tpasswordHasExpiredOk: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'siteMembersTranslations_PASSWORD_HAS_EXPIRED_OK',\n\t\tdefault: 'Resend Link',\n\t},\n\tapplySuccess1: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'SMApply_Success1',\n\t\tdefault: 'Success! Your member {0} request has been sent and is awaiting approval.',\n\t},\n\tapplySuccess2: {\n\t\tnamespace: 'siteMembersTranslations',\n\t\tkey: 'SMApply_Success2',\n\t\tdefault: 'The site administrator will notify you via email ({0}) once your request has been approved.',\n\t},\n\tmembersLoginDialogTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslation_log_in',\n\t\tdefault: 'Log In',\n\t},\n\tmembersLoginDialogSubmitButton: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_log_in_btn_new',\n\t\tdefault: 'Log In',\n\t},\n\tmembersLoginDialogSwitchDialogLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRegister_sign_up_new',\n\t\tdefault: 'Sign Up',\n\t},\n\tmembersLoginDialogMobileForgotPassword: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_forgot_password_mobile_new',\n\t\tdefault: 'Forgot password?',\n\t},\n\tmembersLoginDialogForgotPassword: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_forgot_password',\n\t\tdefault: 'Forgot password?',\n\t},\n\tmembersLoginDialogSwitchToSignUp: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_switch_to_signup_material',\n\t\tdefault: 'New to this site?',\n\t},\n\tmembersLoginDialogSocialSectionDivider: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_or_log_in_with',\n\t\tdefault: 'or log in with',\n\t},\n\tmembersLoginDialogEmailSectionDivider: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_or_email_new',\n\t\tdefault: 'or',\n\t},\n\tmembersLoginDialogCopyLinkLoginFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.login.facebook',\n\t\tdefault: 'To log in with Facebook, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkLoginGoogle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.login.google',\n\t\tdefault: 'To log in with Google, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkSignupFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.signup.facebook',\n\t\tdefault: 'To sign up with Facebook, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkSignupGoogle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.signup.google',\n\t\tdefault: 'To sign up with Google, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkLoginGoogleFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.login.googlefacebook',\n\t\tdefault: 'To log in with Google or Facebook, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkSignupGoogleFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.signup.googlefacebook',\n\t\tdefault: 'To sign up with Google or Facebook, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkLoginApple: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.login.apple',\n\t\tdefault: 'To log in with Apple, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkSignupApple: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy.signup.apple',\n\t\tdefault: 'To sign up with Apple, copy this page link and open it in another browser.',\n\t},\n\tmembersLoginDialogCopyLinkText: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_copy_link',\n\t\tdefault: 'Copy link',\n\t},\n\tmembersLoginDialogPasswordFieldTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Password',\n\t\tdefault: 'Password',\n\t},\n\tmembersLoginDialogPasswordFieldLabel: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'PasswordLogin_Password',\n\t\tdefault: 'Password',\n\t},\n\tmembersLoginDialogEmailField: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Email',\n\t\tdefault: 'Email',\n\t},\n\tmembersLoginDialogSocialLoginTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_social_login',\n\t\tdefault: 'Social login',\n\t},\n\tmembersLoginDialogLoginWithGoogle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_login_google',\n\t\tdefault: 'Log in with Google',\n\t},\n\tmembersLoginDialogLoginWithFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_login_facebook',\n\t\tdefault: 'Log in with Facebook',\n\t},\n\tmembersLoginDialogSignupWithGoogle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_signup_google',\n\t\tdefault: 'Sign up with Google',\n\t},\n\tmembersLoginDialogSignupWithFacebook: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_signup_facebook',\n\t\tdefault: 'Sign up with Facebook',\n\t},\n\tmembersLoginDialogLoginWithApple: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_login_apple',\n\t\tdefault: 'Log in with Apple',\n\t},\n\tmembersLoginDialogSignupWithApple: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_signup_apple',\n\t\tdefault: 'Sign up with Apple',\n\t},\n\tmembersLoginDialogLoginWithSso: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_login_sso',\n\t\tdefault: 'Log in with SSO',\n\t},\n\tmembersLoginDialogSignupWithSso: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_signup_sso',\n\t\tdefault: 'Sign up with SSO',\n\t},\n\tmembersLoginDialogSwitchToAuthWithEmail: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_login_switch_email',\n\t\tdefault: 'Log in with Email',\n\t},\n\tmembersLoginDialogLinkCopied: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_link_copied',\n\t\tdefault: 'Link Copied',\n\t},\n\tmembersErrorRetypePassword: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Password_Retype',\n\t\tdefault: 'Passwords do not match. Try again.',\n\t},\n\tmembersErrorPasswordRequired: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Password_Blank',\n\t\tdefault: 'Make sure you enter a password.',\n\t},\n\tmembersErrorPasswordAscii: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Non_Ascii_Chars',\n\t\tdefault: 'Password must contain only ASCII characters',\n\t},\n\tmembersErrorPasswordSignupLength: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Password_Length',\n\t\tdefault: 'Password length must be between {0} and {1} characters.',\n\t},\n\tmembersErrorPasswordLoginLength: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Password_Length_Login',\n\t\tdefault: 'Passwords must be at least 4 characters long. Try again.',\n\t},\n\tmembersErrorEmailRequired: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Email_Blank',\n\t\tdefault: 'Email cannot be blank',\n\t},\n\tmembersErrorEmailFormat: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_Email_Invalid',\n\t\tdefault: 'Double check your email and try again.',\n\t},\n\tmembersCloseDialog: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_Close_Dialog',\n\t\tdefault: 'Close',\n\t},\n\twelcomeTitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMWelcome_Title',\n\t\tdefault: 'Welcome To Your Account!',\n\t},\n\twelcomeDescription: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMWelcome_SomeInfo',\n\t\tdefault: 'We have some info from when you\\'ve been to our site before.',\n\t},\n\twelcomeDescriptionSecondary: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMWelcome_Check',\n\t\tdefault: 'Check that everything is correct.',\n\t},\n\twelcomeEdit: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMWelcome_Edit',\n\t\tdefault: 'Edit Account Info',\n\t},\n\twelcomeBackToSite: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMWelcome_Back',\n\t\tdefault: 'Back to site',\n\t},\n\tnoPermissionsToPageTitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMNoPermissions',\n\t\tdefault: 'You don\\'t have permissions to access this page.',\n\t},\n\tnoPermissionsToPageSwitchAccount: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMSwitchAccount',\n\t\tdefault: 'Switch Account',\n\t},\n\tconfirmationEmailTitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_EmailConfirmationSent',\n\t\tdefault: 'We’ve Sent a Confirmation Email',\n\t},\n\tconfirmationEmailSignUpTitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_Title',\n\t\tdefault: 'Confirm Your Email To Get Started',\n\t},\n\tconfirmationEmailSubtitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_CheckYourInbox',\n\t\tdefault: 'Check your inbox',\n\t},\n\tconfirmationEmailSignUpSubtitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_Thanks',\n\t\tdefault: 'Thanks for signing up! We sent you a confirmation email.',\n\t},\n\tconfirmationEmailSignUpSecondarySubtitle: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_ClickTheLink',\n\t\tdefault: 'Click the link in the email to get to your account.',\n\t},\n\tconfirmationEmailDescription: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_DidntGetEmail',\n\t\tdefault: 'Didn’t get the email?',\n\t},\n\tconfirmationEmailDescriptionSecondary: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_CheckSpam',\n\t\tdefault: 'Check your spam folder or ',\n\t},\n\tconfirmationEmailDescriptionLink: {\n\t\tnamespace: 'SM',\n\t\tkey: 'SMEmailVerification_ResendLink',\n\t\tdefault: 'click here to resend confirmation email.',\n\t},\n\tresetPasswordTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMResetPassMail_title',\n\t\tdefault: 'Reset password',\n\t},\n\tresetPasswordSubtitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_RESET_PASSWORD_TEXT',\n\t\tdefault: 'Enter your new password below',\n\t},\n\tresetPasswordButtonText: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_RESET_PASSWORD_BUTTON',\n\t\tdefault: 'Reset Password',\n\t},\n\tresetPasswordPasswordInputText: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMResetPass_New_Password',\n\t\tdefault: 'Enter a new password',\n\t},\n\tresetPasswordRetypePasswordInputText: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMResetPass_Retype_Password',\n\t\tdefault: 'Confirm new password',\n\t},\n\tmembersPoliciesTermsOfUseLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_TermsOfUse_new',\n\t\tdefault: 'Terms of Use',\n\t},\n\tmembersPoliciesPrivacyLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_PrivacyPolicy_new',\n\t\tdefault: 'Privacy Policy',\n\t},\n\tmembersPoliciesAnd: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_And_new',\n\t\tdefault: 'and',\n\t},\n\trequestPasswordResetTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMResetPassMail_title',\n\t\tdefault: 'Reset password',\n\t},\n\trequestPasswordResetEnterEmail: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMResetPassMail_Enter_Email',\n\t\tdefault: 'Enter your login email and we’ll send you a link to reset your password.',\n\t},\n\trequestPasswordResetPasswordResetButton: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_RESET_PASSWORD_BUTTON',\n\t\tdefault: 'Reset Password',\n\t},\n\tmembersSignupSwitchDialogLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_Log_In',\n\t\tdefault: 'Log In',\n\t},\n\tmembersSignupSwitchToSignIn: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRegister_Already_Have_User',\n\t\tdefault: 'Already a member?',\n\t},\n\tmembersSignupSocialSectionDivider: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_or_sign_up_with',\n\t\tdefault: 'or sign up with',\n\t},\n\tmembersSignupSwitchToAuthWithEmail: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_signup_switch_email',\n\t\tdefault: 'Sign up with email',\n\t},\n\tmembersSignupCommunityLabel: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_Join_Community_Label_new',\n\t\tdefault: 'Sign up to this site with a public profile.',\n\t},\n\tmembersSignupCommunityReadMore: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_Join_Community_Link_new',\n\t\tdefault: 'Read more',\n\t},\n\tmembersSignupCommunityReadLess: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_Join_Community_Link_Less_new',\n\t\tdefault: 'Read less',\n\t},\n\tmembersSignupCommunityContent: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_Join_Community_Read_More_Content_new',\n\t\tdefault:\n\t\t\t'Your profile will be set to public automatically when you sign up. You can change this later in your profile settings.',\n\t},\n\tmembersSignupCommunityCodeOfConductLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_CodeOfConduct_new',\n\t\tdefault: 'Read Code of Conduct',\n\t},\n\tmembersSignupPoliciesContent: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Policies_Agreement_new',\n\t\tdefault: 'By signing up, you agree to our',\n\t},\n\tverificationCodeTitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_title',\n\t\tdefault: 'Confirm your email',\n\t},\n\tverificationCodeFooterParagraph: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_footerParagraph',\n\t\tdefault: 'Didn\\'t get the email? Check your spam.',\n\t},\n\tverificationCodeFooterParagraphLink: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_footerParagraph_Link',\n\t\tdefault: 'Resend Code',\n\t},\n\tverificationCodeResendIndication: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_resendIndication',\n\t\tdefault: 'Code was sent. You can resend in',\n\t},\n\tverificationCodeEnterCode: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_enter_code',\n\t\tdefault: 'Enter 6-digit code',\n\t},\n\tverificationCodeEmailParagraph: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_to_email',\n\t\tdefault: 'To finish signing up, confirm your email by entering the 6-digit code we sent\\nto: ',\n\t},\n\tverificationCodeSubmitButton: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_submitButton',\n\t\tdefault: 'Confirm & Sign Up',\n\t},\n\tverificationCodeVerificationErr: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_EMAIL_VERIFICATION_FAILED',\n\t\tdefault: 'Email verification failed',\n\t},\n\tverificationCodeNotFoundError: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_Code_NOT_FOUND',\n\t\tdefault: 'This code has expired. Resend code to get a new one.',\n\t},\n\tverificationCodeBadCodeError: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_Code_BAD_CODE',\n\t\tdefault: 'This code is incorrect. Double check your confirmation email and try again.',\n\t},\n\tverificationCodeInvalidCodeError: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMRVerificationCode_Dialog_Code_INVALID_CODE',\n\t\tdefault: 'Code must be 6 digits long.',\n\t},\n\tvalidationNotMatch: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_VALUE_DID_NOT_MATCH',\n\t\tdefault: 'provided value did not match pattern',\n\t},\n\tvalidationTooLong: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_VALUE_TOO_LONG',\n\t\tdefault: 'provided password was too long',\n\t},\n\tvalidationTooShort: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'SMForm_Error_VALUE_TOO_SHORT',\n\t\tdefault: 'provided password was too short',\n\t},\n\tdialogMixinTranslations_sso_title: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_sso_title',\n\t\tdefault: 'Log in with your organization account.',\n\t},\n\tdialogMixinTranslations_sso_subtitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_sso_subtitle',\n\t\tdefault: 'Your organization requires login with SSO. Continue with SSO to enter this site.',\n\t},\n\tdialogMixinTranslations_headless_subtitle: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_headless_subtitle',\n\t\tdefault: 'Click continue to enter this site.',\n\t},\n\tdialogMixinTranslations_headless_title: {\n\t\tnamespace: 'dialogMixinTranslations',\n\t\tkey: 'dialogMixinTranslations_headless_title',\n\t\tdefault: 'Log In',\n\t},\n}\nexport const memberDetailsStorageKey = '__wix.memberDetails'\n","import type { GlobalConfig } from '@wix/fe-essentials-viewer-platform/panorama-client'\nimport { createGlobalConfig } from '@wix/fe-essentials-viewer-platform/panorama-client'\n\nexport class PanoramaConfig {\n\tprivate static instance: PanoramaConfig\n\tprivate config: GlobalConfig\n\n\tprivate constructor() {\n\t\tthis.config = createGlobalConfig()\n\t}\n\n\tpublic static getInstance(): PanoramaConfig {\n\t\tif (!PanoramaConfig.instance) {\n\t\t\tPanoramaConfig.instance = new PanoramaConfig()\n\t\t}\n\t\treturn PanoramaConfig.instance\n\t}\n\n\tpublic getConfig() {\n\t\treturn this.config\n\t}\n}\n\nexport const getPanoramaGlobalConfig = () => {\n\treturn PanoramaConfig.getInstance().getConfig()\n}\n","import type { Spx } from '@wix/thunderbolt-becky-types'\n\n/**\n * These constants are a temporary hack!\n * In the future we will have refWidth related to varianteable theme, which will include the spx.\n * BUT- for now, and for editor 3 specifically, this is enough.\n */\n\nexport const DESKTOP_SPX: Spx = {\n\trefWidth: 1280,\n\tresolverType: 'scale'\n}\n\nexport const MOBILE_SPX: Spx = {\n\trefWidth: 390,\n\tresolverType: 'scale'\n}\n","export const name = 'qaApi' as const\n","export const name = 'tpaModuleProvider' as const\n","import { createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { ISsrCacheSiteApi } from './types'\n\nexport const SsrCacheSiteSymbol = createIdentifier<ISsrCacheSiteApi>(Symbol('SsrCacheSite'))\n\nexport const name = 'ssrCache' as const\nexport const namespace = 'ssrCache' as const\n","export const name = 'renderer' as const\n\nexport const STYLE_OVERRIDES_ID = 'STYLE_OVERRIDES_ID'\nexport const RendererPropsProviderSym = Symbol('RendererPropsProviderSym')\nexport const PageTransitionsHandlerSymbol = Symbol('PageTransitionsHandlerSymbol')\nexport const ThunderboltRootComponentRendererSym = Symbol('ThunderboltRootComponentRendererSymbol')\nexport const ComponentCssSym = Symbol('ComponentsCssSymbol')\nexport const AppDidMountServiceSymbol = Symbol('AppDidMountServiceSymbol')\n","export const MultilingualCurrentLanguageSymbol = Symbol('currentLanguage')\n","export const MAX_BATCH_SIZE = 100;\n//# sourceMappingURL=batch-constants.js.map","export const SiteAssetsClientSym = Symbol('SiteAssetsClient')\nexport const SiteAssetsClientFactorySym = Symbol('SiteAssetsClientFactory')\n","'use strict';\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar connectionRequestMsg = exports.connectionRequestMsg = 'req_con';\nvar connectionSuccessMsg = exports.connectionSuccessMsg = 'connection_success';\nvar messageDelimiter = exports.messageDelimiter = '|';\nvar deafultConnectionMaxTimeout = exports.deafultConnectionMaxTimeout = 200;\nvar deafultMessageMaxTimeout = exports.deafultMessageMaxTimeout = 5000;","export const ServiceProviderSymbol = Symbol('ServiceProvider')\nexport const SignalsPageServiceProviderSymbol = Symbol('SignalsPageServiceProvider')\nexport const SignalsServiceProviderSymbol = Symbol('SignalsServiceProvider')\nexport const SiteServicesManagerSymbol = Symbol('SiteServicesManager')\nexport const PageServicesManagerSymbol = Symbol('PageServicesManager')\nexport const SiteServicesProviderSymbol = Symbol('SiteServicesProvider')\n","export type ICustomCssHeadContent = {\n\taddCustomCss: (css: string) => void\n\tgetCustomCss: () => string\n}\n\nexport type IByocCssHeadContent = {\n\taddByocCss: (css: string) => void\n\tgetByocCss: () => string\n}\n\nexport type IGeneralHeadContent = {\n\tsetHead: (content: string, type?: HeadContentType) => void\n\tgetHead: () => string\n\tgetHeadSeoMarkup: () => string\n\tgetHeadMarkupByType: (type: HeadContentType) => string\n}\n\nexport type IPageCssHeadContent = {\n\taddPageCss: (css: string) => void\n\tgetPagesCss: () => string\n}\n\nexport type IScriptPreloadHeadContent = {\n\taddScriptToPreloadList: (url: string) => void\n\tgetScriptPreloadList: () => Array<string>\n}\n\nexport type IDomStoreHeadContent = {\n\taddDomStoreHtml: (html: string) => void\n\tgetDomStoreHtml: () => string\n}\n\nexport type IHeadContent = IGeneralHeadContent &\n\tIPageCssHeadContent &\n\tIScriptPreloadHeadContent &\n\tPartial<ICustomCssHeadContent> &\n\tPartial<IByocCssHeadContent> &\n\tPartial<IDomStoreHeadContent>\n\nexport enum HeadContentType {\n\tSEO = 'seo',\n\tSEO_DEBUG = 'seo_debug',\n\tGENERAL = 'general',\n}\n","import {\n\toverrideServiceListStyleParams,\n\tBOOKINGS_APP_DEF_ID,\n\tSERVICE_LIST_PAGE_ID,\n\tSERVICE_LIST_WIDGET_ID,\n} from '@wix/bookings-style-params-overrides'\n\ntype WidgetIdWithStyleInSettings = typeof SERVICE_LIST_PAGE_ID | typeof SERVICE_LIST_WIDGET_ID\n\nexport const overrideStyleParams = ({\n\tstyleParams,\n\twidgetId,\n\tappSettings,\n\ttpaData,\n\tisResponsive,\n\tanywhereThemeOverride,\n}: {\n\tstyleParams: any\n\twidgetId: WidgetIdWithStyleInSettings\n\tappSettings: Record<string, any> | undefined\n\ttpaData: any\n\tisResponsive: boolean\n\tanywhereThemeOverride?: string\n}) => {\n\tconst overrideStyleParamsForWidget = getOverrideStyleParamsFnForWidget(widgetId)\n\tstyleParams = overrideStyleParamsForWidget({\n\t\tappSettings,\n\t\tisResponsive,\n\t\ttpaData,\n\t\tstyleParams,\n\t\tanywhereThemeOverride,\n\t})\n\treturn styleParams\n}\n\nconst widgetsWithStyleParamsOverrides = {\n\t[SERVICE_LIST_PAGE_ID]: {\n\t\tappDefinitionId: BOOKINGS_APP_DEF_ID,\n\t\toverrideStyleParamsFn: overrideServiceListStyleParams,\n\t},\n\t[SERVICE_LIST_WIDGET_ID]: {\n\t\tappDefinitionId: BOOKINGS_APP_DEF_ID,\n\t\toverrideStyleParamsFn: overrideServiceListStyleParams,\n\t},\n}\n\nexport const shouldOverrideStyleParams = (widgetId: string): widgetId is WidgetIdWithStyleInSettings => {\n\treturn widgetId in widgetsWithStyleParamsOverrides\n}\n\nexport const getAppDefIdForWidget = (widgetId: WidgetIdWithStyleInSettings) => {\n\treturn widgetsWithStyleParamsOverrides[widgetId].appDefinitionId\n}\n\nconst getOverrideStyleParamsFnForWidget = (widgetId: WidgetIdWithStyleInSettings) => {\n\treturn widgetsWithStyleParamsOverrides[widgetId].overrideStyleParamsFn\n}\n","import * as _ooiStyleParamsUtil from './styleParamsOverrides'\n\nexport const ooiStyleParamsUtil = _ooiStyleParamsUtil\nexport { processOoiCss } from './ooiCss'\nexport { isOOI } from './IsOOI'\n","export const Router = Symbol('Router')\nexport const RoutingMiddleware = {\n\tDynamic: Symbol('DynamicRoutingMiddleware'),\n\tProtected: Symbol('ProtectedRoutingMiddleware'),\n\tBlockingDialogs: Symbol('BlockingDialogsRoutingMiddleware'),\n}\nexport const PageJsonFileNameMiddlewareSymbol = Symbol('PageJsonFileNameMiddleware')\nexport const CustomNotFoundPageMiddlewareSymbol = Symbol('CustomNotFoundPageMiddleware')\nexport const RoutingBlockerManagerSymbol = Symbol('RoutingBlockerManager')\nexport const CustomUrlMiddlewareSymbol = Symbol('CustomUrlMiddleware')\nexport const RoutingLinkUtilsAPISymbol = Symbol('RoutingLinkUtilsAPI')\nexport const PopHistoryStateHandler = Symbol('PopHistoryStateHandler')\nexport const UrlChangeHandlerForPage = Symbol('UrlChangeHandlerForPage')\nexport const UrlHistoryManagerSymbol = Symbol('UrlHistoryManager')\nexport const ShouldNavigateHandlerSymbol = Symbol('ShouldNavigateHandler')\nexport const CommonNavigationClickHandlerSymbol = Symbol('CommonNavigationClickHandler')\nexport const RouterContextSymbol = Symbol('RouterContext')\nexport const CustomPageContextSymbol = Symbol('CustomPageContext')\nexport const RoutingValidationSymbol = Symbol('RoutingValidation')\nexport const PageNumberSymbol = Symbol('PageNumber')\nexport const queryParamsWhitelistSymbol = Symbol('queryParamsWhitelist')\n\nexport const name = 'router' as const\n","export const CanvasSymbol = Symbol('Canvas')\nexport const name = 'canvas' as const\n","export const name = 'mobileActionsMenu'\nexport const MOBILE_ACTIONS_MENU_ID = 'MOBILE_ACTIONS_MENU'\nexport const MOBILE_ACTIONS_MENU_COMP_TYPE = 'MobileActionsMenu'\n","export const MAX_STACK_TRACE_SIZE_BYTES = 32 * 1024;\nexport const MAX_SESSION_TIME_MS = 24 * 60 * 60 * 1000; // 1 day\n//# sourceMappingURL=constants.js.map","export const name = 'landingPage' as const\nexport const LandingPageAPISymbol = Symbol('LandingPageAPISymbol')\n","export const removeHash = (value: string) => (value && value[0] === '#' ? value.slice(1) : value)\nexport const addHash = (value: string) => (value && value[0] === '#' ? value : `#${value}`)\n","export const name = 'imagePlaceholderService' as const\n","export const SiteScrollBlockerSymbol = Symbol('SiteScrollBlocker')\n\nexport const name = 'siteScrollBlocker' as const\n","import type { ILibraryTopology } from '@wix/thunderbolt-components-registry'\n\nexport interface IComponentsRegistrySiteConfig {\n\tlibrariesTopology: Array<ILibraryTopology>\n}\n\nexport const name = 'componentsRegistry'\n","export const CurrentRouteInfoSymbol = Symbol('CurrentRouteInfo')\nexport const SamePageUrlChangeListenerSymbol = Symbol('SamePageUrlChangeListener')\nexport const NavigationInfoSymbol = Symbol('NavigationInfo')\nexport const PagesMapSymbol = Symbol('PagesMap')\n","export const SITE_STYLES = 'SITE_STYLES'\nexport const SITE_FONTS = 'SITE_FONTS'\n","export const name = 'reporter' as const\nexport { ReporterSymbol } from '@wix/thunderbolt-symbols'\n","// /*eslint no-extra-parens:0*/\n// 'use strict'\n\nimport type { RGB } from './typing'\n\nfunction getSepia(amount: number) {\n\treturn `${0.393 + 0.607 * (1 - amount)} ${0.769 - 0.769 * (1 - amount)} ${0.189 - 0.189 * (1 - amount)} 0 0\n     ${0.349 - 0.349 * (1 - amount)} ${0.686 + 0.314 * (1 - amount)} ${0.168 - 0.168 * (1 - amount)} 0 0\n     ${0.272 - 0.272 * (1 - amount)} ${0.534 - 0.534 * (1 - amount)} ${0.131 + 0.869 * (1 - amount)} 0 0\n     0 0 0 1 0`\n}\n\nfunction getContrast(amount: number) {\n\treturn `<feFuncR type=\"linear\" slope=\"${amount}\" intercept=\"${Math.round((-0.5 * amount + 0.5) * 100) / 100}\"/>\n<feFuncG type=\"linear\" slope=\"${amount}\" intercept=\"${Math.round((-0.5 * amount + 0.5) * 100) / 100}\"/>\n<feFuncB type=\"linear\" slope=\"${amount}\" intercept=\"${Math.round((-0.5 * amount + 0.5) * 100) / 100}\"/>`\n}\n\nfunction getBrightness(amount: number) {\n\treturn `<feFuncR type=\"linear\" slope=\"${amount}\" /><feFuncG type=\"linear\" slope=\"${amount}\" /><feFuncB type=\"linear\" slope=\"${amount}\" />`\n}\n\nfunction getTint(color: RGB) {\n\treturn `${1 - color.r} 0 0 0 ${color.r} ${1 - color.g} 0 0 0 ${color.g} ${1 - color.b} 0 0 0 ${color.b} 0 0 0 1 0`\n}\n\nfunction getLumaMatrix(whiteParams: RGB, blackParams: RGB) {\n\treturn `${whiteParams.r} 0 0 0 ${blackParams.r}\n     ${whiteParams.g} 1 0 0 ${blackParams.g}\n     ${whiteParams.b} 0 1 0 ${blackParams.b}\n     0 0 0 1 0`\n}\n\nfunction getColor(color: RGB, opacity = 1) {\n\treturn `0 0 0 0 ${color.r}\n0 0 0 0 ${color.g}\n0 0 0 0 ${color.b}\n0 0 0 ${opacity} 0`\n}\n\n/**\n * colors the source to 2 colors , input should be gray scale\n */\nfunction getDoutone(light: RGB, dark: RGB) {\n\tconst r_diff = light.r - dark.r\n\tconst g_diff = light.g - dark.g\n\tconst b_diff = light.b - dark.b\n\n\treturn `${r_diff} 0 0 0 ${dark.r} ${g_diff} 0 0 0 ${dark.g} ${b_diff} 0 0 0 ${dark.b} 0 0 0 1 0`\n}\n\nfunction getAlpha(amount: number) {\n\treturn `<feFuncA type=\"linear\" slope=\"${amount}\" />`\n}\n\nfunction hexToRgb(hex: string): RGB {\n\tconst [, r, g, b] = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)! // fIXM<E\n\treturn {\n\t\tr: parseInt(r, 16),\n\t\tg: parseInt(g, 16),\n\t\tb: parseInt(b, 16),\n\t}\n}\n\nfunction hex2RgbNorm(hex: string) {\n\tconst { r, g, b } = hexToRgb(hex)\n\treturn {\n\t\tr: r / 255,\n\t\tg: g / 255,\n\t\tb: b / 255,\n\t}\n}\n\nexport {\n\tgetDoutone,\n\thexToRgb,\n\thex2RgbNorm,\n\tgetColor,\n\tgetContrast,\n\tgetSepia,\n\tgetBrightness,\n\tgetTint,\n\tgetAlpha,\n\tgetLumaMatrix,\n}\n","import type {\n\tFilterDefinitionSvgShadow,\n\tFilterDefinitionNumber,\n\tFilterDefinition,\n\tFilterDefinitionString,\n\tFilterDefinitionIdentity,\n\tFilterDefinitionLuma,\n\tDuotoneValue,\n\tFilterOverrides,\n\tFilterOverridesOrEmpty,\n} from './typing'\nimport {\n\tgetDoutone,\n\thex2RgbNorm,\n\tgetColor,\n\tgetContrast,\n\tgetSepia,\n\tgetBrightness,\n\tgetTint,\n\tgetAlpha,\n\tgetLumaMatrix,\n} from './svgFiltersParts'\n\nfunction attrToString(key: string, value: any) {\n\treturn value || value === 0 ? `${key}=\"${value}\"` : ''\n}\nfunction attrsObjectToString(attrs: any) {\n\treturn Object.keys(attrs)\n\t\t.map((key) => attrToString(key, attrs[key]))\n\t\t.join(' ')\n}\n\nfunction filterWrapperTemplate({ id, content, attrs = {} }: { id: string; content: string; attrs?: any }) {\n\t// the redundant identity <feComponentTransfer/> in start and end\n\t// are for fixing old Webkit bug that caused it to ignore color-interpolation-filters=\"sRGB\"\n\treturn `<filter id=\"${id}\" color-interpolation-filters=\"sRGB\" ${attrsObjectToString(attrs)}>\n    <feComponentTransfer result=\"srcRGB\"/>\n    ${content}\n    <feComponentTransfer/>\n</filter>`\n}\n\nfunction identity({ inAttr }: FilterDefinitionIdentityArg) {\n\treturn `<feColorMatrix ${attrToString('in', inAttr)}/>`\n}\n\nfunction contrast({ value }: FilterDefinitionNumberArg) {\n\treturn `<feComponentTransfer>${getContrast(value)}</feComponentTransfer>`\n}\n\nfunction brightness({ value, result }: FilterDefinitionNumberArg) {\n\treturn `<feComponentTransfer ${attrToString('result', result)}>${getBrightness(value)}</feComponentTransfer>`\n}\n\nfunction saturation({ value, inAttr, result }: FilterDefinitionNumberArg) {\n\treturn `<feColorMatrix type=\"saturate\" values=\"${value}\" ${inAttr ? `in=\"${inAttr}\"` : ''}${\n\t\tresult ? `result=\"${result}\"` : ''\n\t}/>`\n}\n\nfunction sepia({ value }: FilterDefinitionNumberArg) {\n\treturn `<feColorMatrix type=\"matrix\" values=\"${getSepia(value)}\"/>`\n}\n\nfunction hue({ value }: FilterDefinitionNumberArg) {\n\treturn `<feColorMatrix type=\"hueRotate\" values=\"${value}\"/>`\n}\n\nfunction color({ value, inAttr, result }: FilterDefinitionSvgShadowArg | FilterDefinitionStringArg) {\n\tconst hexColor = typeof value === 'string' ? value : value.color\n\tconst opacity = typeof value === 'object' && typeof value.opacity !== 'undefined' ? value.opacity : 1\n\treturn `<feColorMatrix type=\"matrix\" values=\"${getColor(hex2RgbNorm(hexColor!), opacity)}\" ${\n\t\tinAttr ? `in=\"${inAttr}\"` : ''\n\t}${result ? `result=\"${result}\"` : ''}/>`\n}\n\nfunction tint({ value }: FilterDefinitionStringArg) {\n\treturn `<feColorMatrix type=\"matrix\" values=\"${getTint(hex2RgbNorm(value))}\"/>`\n}\n\nfunction blur({ value, inAttr }: FilterDefinitionNumberArg) {\n\treturn `<feGaussianBlur stdDeviation=\"${value}\" ${inAttr ? `in=\"${inAttr}\"` : ''}/>`\n}\n\nfunction alpha({ value, inAttr, result }: FilterDefinitionNumberArg) {\n\treturn `<feComponentTransfer ${attrToString('in', inAttr)} ${attrToString('result', result)}>${getAlpha(\n\t\tvalue\n\t)}</feComponentTransfer>`\n}\n\nfunction offset({ value, inAttr, result }: FilterDefinitionSvgShadowArg) {\n\treturn `<feOffset dx=\"${value.x}\" dy=\"${value.y}\" ${inAttr ? `in=\"${inAttr}\"` : ''}${\n\t\tresult ? `result=\"${result}\"` : ''\n\t}/>`\n}\n\nfunction blend({ value, inAttr, in2Attr, result }: FilterDefinitionStringArg) {\n\treturn `<feBlend mode=\"${value}\" in=\"${inAttr}\" in2=\"${in2Attr}\" ${attrToString('result', result)}/>`\n}\n\nfunction composite({ value, inAttr, in2Attr, result }: FilterDefinitionStringArg) {\n\treturn `<feComposite operator=\"${value}\" in=\"${inAttr}\" in2=\"${in2Attr}\" ${attrToString('result', result)}/>`\n}\n\nfunction duotone({ value: { dark, light }, inAttr, result }: FilterDefinitionSvgShadowArg) {\n\treturn `${saturation({ value: 0 })}\n<feColorMatrix type=\"matrix\" values=\"${getDoutone(hex2RgbNorm(light!), hex2RgbNorm(dark!))}\" ${\n\tinAttr ? `in=\"${inAttr}\"` : ''\n}${result ? `result=\"${result}\"` : ''}/>`\n}\n\nfunction luma({ value: { dark, light }, result }: FilterDefinitionLumaArg) {\n\treturn `<feColorMatrix type=\"matrix\" values=\"${getLumaMatrix(light, dark)}\" ${result ? `result=\"${result}\"` : ''}/>`\n}\n\nfunction shadow({ value: { blurRadius, mergeGraphic, ...rest } }: FilterDefinitionSvgShadowArg) {\n\treturn `${blur({ value: blurRadius!, inAttr: 'SourceAlpha' })}\n${offset({ value: rest })}\n${color({ value: rest })}\n${\n\tmergeGraphic\n\t\t? `<feMerge>\n    <feMergeNode/>\n    <feMergeNode in=\"SourceGraphic\"/>\n</feMerge>`\n\t\t: ''\n}`\n}\n\ntype FilterDefinitionIdentityArg = Omit<FilterDefinitionIdentity, 'key'>\ntype FilterDefinitionLumaArg = Omit<FilterDefinitionLuma, 'key'>\n\ntype FilterDefinitionNumberArg = Omit<FilterDefinitionNumber, 'key'>\nconst filterComponentTempaltesWithNumber: Record<\n\tFilterDefinitionNumber['key'],\n\t(arg: FilterDefinitionNumberArg) => string\n> = {\n\tblur,\n\tsaturation,\n\tcontrast,\n\tbrightness,\n\tsepia,\n\thue,\n\talpha,\n}\n\ntype FilterDefinitionStringArg = Omit<FilterDefinitionString, 'key'>\nconst filterComponentTempaltesWithString: Record<\n\tFilterDefinitionString['key'],\n\t(arg: FilterDefinitionStringArg) => string\n> = {\n\tblend,\n\tcolor,\n\tcomposite,\n\ttint,\n}\n\ntype FilterDefinitionSvgShadowArg = Omit<FilterDefinitionSvgShadow, 'key'>\nconst filterComponentTempaltes: Record<\n\tFilterDefinitionSvgShadow['key'],\n\t(arg: FilterDefinitionSvgShadowArg) => string\n> = {\n\tduotone,\n\tshadow,\n\tcolor,\n\toffset,\n}\n\nfunction getFilterValue(\n\tkey: FilterDefinition['key'],\n\tvalue: FilterDefinition['value'],\n\toverrides: FilterOverridesOrEmpty\n) {\n\tif (key === 'duotone') {\n\t\treturn {\n\t\t\tlight: ('duotoneLight' in overrides && overrides.duotoneLight) || (value as DuotoneValue).light,\n\t\t\tdark: ('duotoneDark' in overrides && overrides.duotoneDark) || (value as DuotoneValue).dark,\n\t\t}\n\t} else if (key in overrides) {\n\t\treturn (overrides as FilterOverrides)[key]\n\t}\n\treturn value\n}\n\nfunction interpolate(\n\tid: string,\n\tfilterDefinition: Array<FilterDefinition>,\n\toverrides: FilterOverridesOrEmpty,\n\tattrs?: any\n) {\n\tconst content = filterDefinition\n\t\t.map((effect) => {\n\t\t\tconst { key, value } = effect\n\t\t\tconst filterValue = getFilterValue(key, value, overrides)\n\t\t\tconst arg = { ...effect, value: filterValue }\n\t\t\tif (typeof filterValue === 'number') {\n\t\t\t\treturn filterComponentTempaltesWithNumber[key as FilterDefinitionNumber['key']](\n\t\t\t\t\targ as FilterDefinitionNumber\n\t\t\t\t)\n\t\t\t} else if (typeof filterValue === 'string') {\n\t\t\t\treturn filterComponentTempaltesWithString[key as FilterDefinitionString['key']](\n\t\t\t\t\targ as FilterDefinitionString\n\t\t\t\t)\n\t\t\t} else if (key === 'luma') {\n\t\t\t\treturn luma(arg as FilterDefinitionLumaArg)\n\t\t\t} else if (key === 'identity') {\n\t\t\t\treturn identity(arg as FilterDefinitionIdentityArg)\n\t\t\t} else {\n\t\t\t\treturn filterComponentTempaltes[key as FilterDefinitionSvgShadow['key']](\n\t\t\t\t\targ as FilterDefinitionSvgShadow\n\t\t\t\t)\n\t\t\t}\n\t\t})\n\t\t.join('\\n')\n\treturn filterWrapperTemplate({ id, content, attrs })\n}\n\nfunction getProperties(filterDefinition: Array<FilterDefinition>, overrides: FilterOverridesOrEmpty) {\n\treturn filterDefinition.map((effect) => {\n\t\tconst { key, value } = effect\n\t\treturn { [key]: getFilterValue(key, value, overrides) }\n\t})\n}\n\nexport { interpolate, getProperties }\n","import { getFromColorMap, isGreyscale, isThemeColor, isColor } from '../color'\nimport type {\n\tSvgShadow,\n\tSvgLayout,\n\tSvgInfo,\n\tSvgProperties,\n\tMaskFlip,\n\tShapeDividerBGImage,\n\tVectorImageTransformationOptions,\n} from './typing'\nimport { getShadow, getFilter } from './svgFilters'\nimport { parseSvgString } from './svgParser'\nimport Color from 'color'\nimport type { ColorMap, ShapeDividersLayersEffect, UnitLengthPercentage } from '@wix/thunderbolt-becky-types'\nimport { compIdToCssSelector } from '../hoverBoxUtils'\n\nexport type ImageDimensions = {\n\twidth: number\n\theight: number\n}\n\ntype VectorImageNoAltA11y = {\n\trole: string\n\t['aria-hidden']: string\n}\n\nconst viewBoxMatcher = /(viewBox=\")([^\"]*)(\")/i\nconst preserveAspectRatioMatcher = /(preserveAspectRatio=\")([^\"]*)(\")/i\nconst svgWidthMatcher = /(?:<svg[^>]*)\\s(width=\"[^\"]*\")/i\nconst svgHeightMatcher = /(?:<svg[^>]*)\\s(height=\"[^\"]*\")/i\nconst svgTagMatcher = /(<svg[^>]*)(>)/\nconst fillAttributeMatcher = /fill=\"(.*?)\"/gi\nconst styleAttributeMatcher = /style=\"([^\"]*)\"/i\nconst styleTransformMatcher = /transform:([^;]*)/i\n\nconst SVG_TYPES = {\n\tSHAPE: 'shape',\n\tTINT: 'tint',\n\tCOLOR: 'color',\n\tUGC: 'ugc',\n}\n\nfunction setSvgId(svgString: string, svgId: string) {\n\tif (!svgString) {\n\t\treturn svgString\n\t}\n\n\tconst svgTagMatch = svgString.match(svgTagMatcher)\n\n\tif (svgTagMatch) {\n\t\tlet svgTag = svgTagMatch[0]\n\t\tconst idMatch = svgTag.match(/id=\"[-\\w]+\"/)\n\n\t\tif (idMatch) {\n\t\t\tsvgTag = svgTag.replace(idMatch[0], `id=\"${svgId}\"`)\n\t\t} else {\n\t\t\tsvgTag = svgTag.replace('<svg ', `<svg id=\"${svgId}\" `)\n\t\t}\n\n\t\tsvgString = svgString.replace(svgTagMatch[0], svgTag)\n\t}\n\n\treturn svgString\n}\n\nconst symbols = /[\\r\\n%#()<>?[\\\\\\]^`{|}]/g\n\n/**\n * Returns a data URI SVG encoded for CSS <url> value\n */\nfunction encodeSVG(svg: string) {\n\tconst escaped = svg\n\t\t.replace(/\"/g, \"'\") // Use single quotes instead of double to avoid encoding.\n\t\t.replace(/>\\s+</g, '><') // trim\n\t\t.replace(/\\s{2,}/g, ' ') // trim\n\t\t.replace(symbols, encodeURIComponent) // encode symbols\n\n\treturn `url(\"data:image/svg+xml,${escaped}\")`\n}\n\nfunction transformToTintColors(svgString: string, resolvedColor: string) {\n\tconst baseColor = Color(resolvedColor)\n\treturn svgString.replace(fillAttributeMatcher, (__, colorToTint) => {\n\t\tif (colorToTint === 'none' || colorToTint.startsWith('url(#')) {\n\t\t\treturn `fill=\"${colorToTint}\"`\n\t\t}\n\t\tconst colorObj = Color(colorToTint)\n\t\tif (isGreyscale(colorObj)) {\n\t\t\tconst tint = 1 - (255 - colorObj.red()) / 255\n\t\t\tconst rTint = Math.floor(baseColor.red() + (255 - baseColor.red()) * tint)\n\t\t\tconst gTint = Math.floor(baseColor.green() + (255 - baseColor.green()) * tint)\n\t\t\tconst bTint = Math.floor(baseColor.blue() + (255 - baseColor.blue()) * tint)\n\t\t\tconst tintedColor = Color({ r: rTint, g: gTint, b: bTint })\n\t\t\t// return tinted color\n\t\t\treturn `fill=\"${tintedColor.hex().toString()}\"`\n\t\t}\n\t\t// no change, return original svg color\n\t\treturn `fill=\"${colorToTint}\"`\n\t})\n}\n\ntype SVGDimensions = { width: number | string; height: number | string }\n\nfunction removeWidthAndHeight(svgString: string, addIfMissing?: boolean | SVGDimensions) {\n\tif (svgString) {\n\t\tconst widthMatch = svgString.match(svgWidthMatcher)\n\t\tconst heightMatch = svgString.match(svgHeightMatcher)\n\t\tif (widthMatch && widthMatch.length > 1) {\n\t\t\tsvgString = svgString.replace(widthMatch[1], 'width=\"100%\"')\n\t\t}\n\t\tif (heightMatch && heightMatch.length > 1) {\n\t\t\tsvgString = svgString.replace(heightMatch[1], 'height=\"100%\"')\n\t\t}\n\n\t\tif (addIfMissing && !(widthMatch && heightMatch)) {\n\t\t\tconst dimensions = addIfMissing as SVGDimensions\n\t\t\tconst newWidth = dimensions.width ? ` width=\"${dimensions.width}\"` : ' width=\"100%\"'\n\t\t\tconst newHeight = dimensions.height ? ` height=\"${dimensions.height}\"` : ' height=\"100%\"'\n\t\t\tsvgString = svgString.replace(\n\t\t\t\tsvgTagMatcher,\n\t\t\t\t`$1${!widthMatch ? newWidth : ''}${!heightMatch ? newHeight : ''}$2`\n\t\t\t)\n\t\t}\n\t}\n\treturn svgString\n}\n\nfunction getNoAltA11yAttributes(asString: boolean = false): string | VectorImageNoAltA11y {\n\tconst feats = { role: 'presentation', 'aria-hidden': 'true' }\n\treturn asString\n\t\t? Object.entries(feats)\n\t\t\t.map(([key, value]) => `${key}=${value}`)\n\t\t\t.join(' ')\n\t\t: feats\n}\n\nfunction escapeHtml(str: string) {\n\treturn str.replace(/&/g, '&amp;').replace(/>/g, '&gt;').replace(/</g, '&lt;').replace(/\"/g, '&quot;')\n}\n\nfunction addA11yAttributes(svgString: string, altText?: string) {\n\tconst a11yFeatures = altText ? 'role=\"img\"' : getNoAltA11yAttributes(true)\n\tlet newSvgString = svgString.replace(svgTagMatcher, `$1 ${a11yFeatures}$2`)\n\tif (typeof altText === 'string') {\n\t\tnewSvgString = newSvgString.replace(svgTagMatcher, `$1 aria-label=\"${escapeHtml(altText)}\"$2`)\n\t}\n\treturn newSvgString\n}\n\nfunction getFilterRectInPixels(layout: SvgLayout | null, shadow: SvgShadow) {\n\tconst { blurRadius, x, y } = shadow\n\t// STD to pixel ~ STD value * 3 , we are multiplying by 6 for both sides\n\tconst blurSpread = blurRadius! * 6\n\tconst filterAttr = {\n\t\tx: Math.min(0, x!) - blurSpread / 2,\n\t\ty: Math.min(0, y!) - blurSpread / 2,\n\t}\n\tlet res = `x=\"${filterAttr.x}\" y=\"${filterAttr.y}\"`\n\tif (layout != null) {\n\t\t// In bolt the width and height values are only relevant in the classic editor. In EditorX they end up as NaN\n\t\t// In order to have parity with the Bolt implementation, we leave width and height undefined,\n\t\t// We avoid NaN values because it results in console errors\n\t\tconst width = layout.width + blurSpread + Math.abs(x!)\n\t\tconst height = layout.height + blurSpread + Math.abs(y!)\n\t\tres += ` width=\"${width}\" height=\"${height}\"`\n\t}\n\treturn res\n}\n\nfunction getShadowFilter(\n\tfilterId: string,\n\tshadow: SvgShadow,\n\tlayout: SvgLayout | null,\n\thexColor: string,\n\tmergeGraphic: boolean\n) {\n\tconst filterString = getShadow(filterId, { ...shadow, color: hexColor, mergeGraphic })\n\treturn filterString.replace(\n\t\t/<filter /,\n\t\t`<filter ${getFilterRectInPixels(layout, shadow)} filterUnits=\"userSpaceOnUse\" `\n\t)\n}\n\nfunction getViewBoxFromData(svgInfo: Partial<SvgInfo>, properties: SvgProperties = {}) {\n\tconst { svgType, viewBox, bbox } = svgInfo\n\tconst { preserveViewBox } = properties\n\n\tif (svgType !== SVG_TYPES.UGC && !preserveViewBox && bbox) {\n\t\treturn bbox\n\t}\n\n\treturn viewBox\n}\n\nfunction getScaledSvgViewBox(svgString: string, svgInfo: Partial<SvgInfo>, properties: SvgProperties = {}) {\n\tif (svgString) {\n\t\tconst { svgType, viewBox, bbox } = svgInfo\n\t\tconst { preserveViewBox, displayMode, aspectRatio } = properties\n\n\t\tconst preserveAspectRatio = aspectRatio || (displayMode === 'stretch' ? 'none' : 'xMidYMid meet')\n\n\t\tlet svgTag = svgString.match(svgTagMatcher)?.[0]\n\n\t\tif (svgTag) {\n\t\t\tif (preserveAspectRatioMatcher.test(svgTag)) {\n\t\t\t\tsvgString = svgString.replace(\n\t\t\t\t\tsvgTag,\n\t\t\t\t\tsvgTag.replace(preserveAspectRatioMatcher, `$1${preserveAspectRatio}$3`)\n\t\t\t\t)\n\t\t\t} else {\n\t\t\t\tsvgString = svgString.replace(/<svg/, `<svg preserveAspectRatio=\"${preserveAspectRatio}\"`)\n\t\t\t}\n\t\t} else {\n\t\t\t// no top svg tag so bail out\n\t\t\treturn svgString\n\t\t}\n\n\t\tif (!viewBoxMatcher.test(svgTag)) {\n\t\t\tif (svgType === SVG_TYPES.UGC && viewBox) {\n\t\t\t\tsvgString = svgString.replace(/<svg/, `<svg viewBox=\"${viewBox}\"`)\n\t\t\t}\n\t\t\tif (svgType !== SVG_TYPES.UGC && bbox) {\n\t\t\t\tsvgString = svgString.replace(/<svg/, `<svg viewBox=\"${bbox}\"`)\n\t\t\t}\n\t\t}\n\n\t\tif (svgType !== SVG_TYPES.UGC && !preserveViewBox && bbox) {\n\t\t\tsvgTag = svgString.match(svgTagMatcher)![0]\n\t\t\tsvgString = svgString.replace(svgTag, svgTag.replace(viewBoxMatcher, `$1${bbox}$3`))\n\t\t}\n\t}\n\n\treturn svgString\n}\n\nfunction wrapWithShadow({\n\tcompId,\n\tsvgString,\n\tlayout,\n\tcolorsMap,\n\tshadow,\n\tshadowOnly = false,\n}: {\n\tcompId: string\n\tsvgString: string\n\tlayout: SvgLayout | null\n\tcolorsMap?: ColorMap\n\tshadow?: SvgShadow\n\tshadowOnly?: boolean\n}) {\n\tif (shadow && shadow.color) {\n\t\tconst filterId = `${compId}-shadow`\n\t\tconst hexColor = getFromColorMap(shadow.color, colorsMap)\n\t\tconst shadowFilter = getShadowFilter(filterId, shadow, layout, hexColor, !shadowOnly)\n\t\tconst modifiedContent = removeWidthAndHeight(svgString)\n\t\treturn `\n          <svg height=\"100%\" width=\"100%\">\n              <defs>${shadowFilter}</defs>\n              <g filter=\"url(#${filterId})\">\n                  ${modifiedContent}\n              </g>\n          </svg>\n      `\n\t}\n\treturn svgString\n}\n\nfunction getCSSDropShadow(shadow?: SvgShadow, colorsMap?: ColorMap): string {\n\tif (shadow && shadow.color && shadow.opacity) {\n\t\tconst hexColor = getFromColorMap(shadow.color, colorsMap)\n\t\tconst opacity = Math.round(shadow.opacity * 255).toString(16)\n\t\treturn `drop-shadow(${shadow.x}px ${shadow.y}px ${shadow.blurRadius}px ${hexColor}${opacity.padStart(2, '0')})`\n\t}\n\n\treturn ''\n}\n\nfunction getCSSStrokeAdjustments(strokeWidth: number) {\n\tif (strokeWidth) {\n\t\treturn {\n\t\t\tsvgCalculatedPadding: `${Math.floor(strokeWidth / 2)}px ${Math.ceil(strokeWidth / 2)}px ${Math.ceil(\n\t\t\t\tstrokeWidth / 2\n\t\t\t)}px ${Math.floor(strokeWidth / 2)}px`,\n\t\t\tsvgCalculatedWidth: `calc(100% - ${strokeWidth}px)`,\n\t\t\tsvgCalculatedHeight: `calc(100% - ${strokeWidth}px)`,\n\t\t}\n\t}\n\treturn {}\n}\n\nconst FLIP_DATA_TO_TRANSFORM = {\n\tx: 'scale(-1, 1)',\n\ty: 'scale(1, -1)',\n\txy: 'scale(-1, -1)',\n\tnone: '',\n}\n\nfunction getFlippedSVG(svgString: string, flip: keyof typeof FLIP_DATA_TO_TRANSFORM) {\n\tconst topSvg = svgString.match(svgTagMatcher)\n\tconst transform = FLIP_DATA_TO_TRANSFORM[flip] || ''\n\n\tif (topSvg && transform) {\n\t\tconst styleMatch = topSvg[0].match(styleAttributeMatcher)\n\t\tlet replacement = `$1 style=\"transform: ${transform};\"$2`\n\n\t\tif (styleMatch) {\n\t\t\tconst transformMatch = styleMatch[1].match(styleTransformMatcher)\n\n\t\t\tif (transformMatch) {\n\t\t\t\treplacement = topSvg[0].replace(\n\t\t\t\t\tstyleMatch[0],\n\t\t\t\t\tstyleMatch[0].replace(transformMatch[0], `transform: ${transform} ${transformMatch[1]}`)\n\t\t\t\t)\n\t\t\t} else {\n\t\t\t\treplacement = topSvg[0].replace(styleMatch[0], `style=\"transform: ${transform}; ${styleMatch[1]}\"`)\n\t\t\t}\n\t\t}\n\n\t\treturn svgString.replace(svgTagMatcher, replacement)\n\t}\n\n\treturn svgString\n}\n\nfunction getSvgContentForMask(svgString: string, svgInfo: SvgInfo, flip: MaskFlip) {\n\tconst content = getScaledSvgViewBox(svgString, svgInfo, { displayMode: 'stretch' })\n\n\t// we must have the transform style inlined inside the SVG content\n\treturn getFlippedSVG(content, flip)\n}\n\nfunction addSvgStyleNode(svgString: string, defsValue: string) {\n\tif (svgString && defsValue) {\n\t\treturn svgString.replace(/(<svg[^>]*>)/, `$1<defs><style>${defsValue}</style></defs>`)\n\t}\n\n\treturn svgString\n}\n\nconst DEFAULT_COLOR = '#242323'\n\nconst pickValidColors = (obj: Record<string, string>) =>\n\tObject.keys(obj).reduce((result: Record<string, string>, key) => {\n\t\tconst colorValue = obj[key]\n\t\tif (isColor(colorValue) || isThemeColor(colorValue)) {\n\t\t\tresult[key] = colorValue\n\t\t}\n\t\treturn result\n\t}, {})\n\nexport const transformVectorImage = (\n\trawSvg: string,\n\t{\n\t\taltText,\n\t\tcompId,\n\t\tsvgInfo,\n\t\tproperties,\n\t\tlayout,\n\t\tshadow,\n\t\tisResponsive,\n\t\tcolorsMap,\n\t\toverrideColors: overrideColorsInuput,\n\t}: VectorImageTransformationOptions\n) => {\n\tconst overrideColors = pickValidColors(overrideColorsInuput || {})\n\n\tfunction withA11y(svgString: string) {\n\t\treturn addA11yAttributes(svgString, altText)\n\t}\n\n\tfunction withScaledViewBox(svgString: string) {\n\t\treturn getScaledSvgViewBox(svgString, svgInfo, properties)\n\t}\n\n\tfunction withShadowFilter(svgString: string) {\n\t\treturn wrapWithShadow({\n\t\t\tcompId,\n\t\t\tsvgString,\n\t\t\tlayout: isResponsive ? null : layout,\n\t\t\tcolorsMap,\n\t\t\tshadow,\n\t\t})\n\t}\n\n\tfunction withTintColors(svgString: string) {\n\t\tconst rawColor = (overrideColors && overrideColors.color1) || DEFAULT_COLOR\n\t\tconst color = getFromColorMap(rawColor, colorsMap)\n\t\treturn svgInfo.svgType === SVG_TYPES.TINT ? transformToTintColors(svgString, color) : svgString\n\t}\n\n\tfunction withCssOverrides(svgString: string) {\n\t\tconst shouldOverrideColors = svgInfo.svgType === SVG_TYPES.COLOR && Object.keys(overrideColors).length > 0\n\t\tif (shouldOverrideColors) {\n\t\t\tconst colors = Object.entries<string>(overrideColors)\n\t\t\t\t.map(([colorName, rawColor]) => {\n\t\t\t\t\tconst resolvedColor = getFromColorMap(rawColor, colorsMap)\n\t\t\t\t\tconst index = colorName.replace('color', '')\n\t\t\t\t\treturn `${compIdToCssSelector(compId, true)} svg [data-color=\"${index}\"] {fill: ${resolvedColor};}`\n\t\t\t\t})\n\t\t\t\t.join('\\n')\n\t\t\treturn addSvgStyleNode(svgString, colors)\n\t\t}\n\t\treturn svgString\n\t}\n\n\tconst content = withScaledViewBox(withTintColors(withA11y(rawSvg)))\n\n\treturn withCssOverrides(isResponsive ? content : withShadowFilter(content))\n}\n\nexport type ShapeDividerTransformationOptions = {\n\tcolor?: string\n\topacity?: number\n\theight: string\n\tkeepAspectRatio: boolean\n\toffsetX: Partial<UnitLengthPercentage>\n\tcompId: string\n\tside: string\n\tshouldRepeat: boolean\n\trepeatCount: number\n\tshouldInvert: boolean\n\tsvgInfo: SvgInfo\n\tlayersEffect: ShapeDividersLayersEffect\n\tcolorVarName: string\n}\n\nconst HAIRLINE_FIX_FACTOR = 1\n\nfunction invertSvgContent(svgContent: string, x: number, y: number, width: number, height: number) {\n\tconst pathDRe = /<path.*\\s*d=\"([^\"]+)\"/\n\tconst pathTagRe = /(<path)[^>]*>/\n\n\tconst pathTag = svgContent.match(pathTagRe)?.[1] || ''\n\tconst pathData = svgContent.match(pathDRe)?.[1] || ''\n\n\tconst rectPathSuffix = `M${x},${y - HAIRLINE_FIX_FACTOR} h${width} v${height + HAIRLINE_FIX_FACTOR} h${-width} Z`\n\treturn svgContent\n\t\t.replace(pathData, `${pathData} ${rectPathSuffix}`)\n\t\t.replace(pathTag, `${pathTag} fill-rule=\"evenodd\"`)\n}\n\nfunction trimSvgContents(svgContent: string) {\n\tconst svgContentStartRe = /^(.*\\s*)<svg/\n\tconst svgContentEndRe = /<\\/svg>(\\s*)$/\n\n\treturn svgContent.replace(svgContentStartRe, '<svg').replace(svgContentEndRe, '</svg>')\n}\n\nconst getShapeDividerImageCss = (\n\trawSvg: string,\n\t{\n\t\tcolor,\n\t\theight,\n\t\tkeepAspectRatio,\n\t\tcompId,\n\t\tside,\n\t\tshouldRepeat,\n\t\trepeatCount,\n\t\tshouldInvert,\n\t\tsvgInfo,\n\t}: ShapeDividerTransformationOptions\n): ShapeDividerBGImage => {\n\tconst aspectRatio = keepAspectRatio ? (shouldRepeat ? 'xMinYMax meet' : 'xMidYMax slice') : 'none'\n\tconst viewBox = getViewBoxFromData(svgInfo)\n\n\tif (!rawSvg || !viewBox) {\n\t\treturn {\n\t\t\timage: rawSvg ? encodeSVG(rawSvg) : '',\n\t\t}\n\t}\n\n\tconst [vbX, vbY, vbWidth, vbHeight] = viewBox.split(' ').map((n) => parseFloat(n))\n\tconst viewBoxOverride = `${vbX} ${vbY} ${vbWidth} ${vbHeight}`\n\n\tconst scaledSvg = getScaledSvgViewBox(\n\t\trawSvg,\n\t\t{ svgType: svgInfo.svgType, bbox: viewBoxOverride, viewBox: viewBoxOverride },\n\t\t{ aspectRatio }\n\t)\n\tconst uniqueId = `${compId}-${side}`\n\n\tconst trimmedContent = trimSvgContents(scaledSvg)\n\tconst processedSvgContent = shouldInvert\n\t\t? invertSvgContent(trimmedContent, vbX, vbY, vbWidth, vbHeight)\n\t\t: trimmedContent\n\tconst invertingTransform = shouldInvert\n\t\t? `#${uniqueId} > g { transform: scaleY(-1) translateY(${-(2 * vbY + vbHeight)}px); } `\n\t\t: ''\n\tconst pathColoring = svgInfo.svgType === 'color' && !svgInfo.color2 ? `, #${uniqueId} [data-color=\"1\"] ` : ''\n\tconst svgStyle = `${invertingTransform}#${uniqueId}${pathColoring} { fill: ${color}; }`\n\n\tconst image = encodeSVG(\n\t\tremoveWidthAndHeight(addSvgStyleNode(setSvgId(processedSvgContent, uniqueId), svgStyle), {\n\t\t\twidth: vbWidth.toFixed(2),\n\t\t\theight: vbHeight.toFixed(2),\n\t\t})\n\t)\n\n\tconst size = `${\n\t\t// !NOTE: assuming height is in px!\n\t\t// When in aspect-ratio we're calculating width instead of `auto`\n\t\t// because of rendering bugs in Safari (vertical hairlines\n\t\t// between horizontally repeated SVG as background-image).\n\t\t// Since we have fixed height - use it instead of 100%\n\t\t// Also limit fraction digits to 2 repeat in stretch - seems to do better in Safari - same issue\n\t\tkeepAspectRatio\n\t\t\t? `${Math.ceil((vbWidth * parseInt(height, 10)) / vbHeight)}px`\n\t\t\t: `${((1 / (repeatCount + 1)) * 100).toFixed(2)}%`\n\t} 100%`\n\n\t// const position = `center center`\n\n\treturn {\n\t\timage,\n\t\tsize,\n\t}\n}\n\nconst getFontFamilyFontsFromSvg = (svgString: string): Array<Array<string>> => {\n\tconst regex = /font-family=['\"](.*?)['\"]/gi\n\tlet match\n\tconst fonts: Array<Array<string>> = []\n\n\tdo {\n\t\tmatch = regex.exec(svgString)\n\t\tif (match && match[1]) {\n\t\t\tconst font = match[1].split(',').map((f) => f.replace(/'/g, '').trim())\n\t\t\tfonts.push(font)\n\t\t}\n\t} while (match)\n\treturn fonts\n}\n\nconst buildSvgUrlFactory = () => {\n\tconst addTrailingSlashIfMissing = (val: string) => (val.endsWith('/') ? val : `${val}/`)\n\tconst getSvgBaseUrl = (mediaRootUrl: string) => `${addTrailingSlashIfMissing(mediaRootUrl)}shapes/`\n\tconst svgIdToUri = (svgId: string) => {\n\t\tconst partsArr = svgId.replace(/^.*\\//, '').split('.')\n\t\tconst version = partsArr[1] === 'v1' ? 1 : 2\n\t\tconst svgHash = partsArr[2].replace(/svg_/i, '')\n\t\tconst svgName = partsArr[3]\n\t\treturn `${svgHash + (version === 1 ? `_svgshape.v1.${svgName}` : '')}.svg`\n\t}\n\n\treturn {\n\t\tgetSvgBaseUrl,\n\t\tbuildSvgUrl: (mediaRootUrl: string, svgId: string) => {\n\t\t\tif (/^svgshape\\.v[12]/.test(svgId)) {\n\t\t\t\tconst svgUri = svgIdToUri(svgId)\n\t\t\t\treturn `${getSvgBaseUrl(mediaRootUrl)}${svgUri}`\n\t\t\t}\n\t\t\treturn `${getSvgBaseUrl(mediaRootUrl)}${svgId}`\n\t\t},\n\t}\n}\n\nexport {\n\ttrimSvgContents,\n\ttransformToTintColors,\n\tgetFontFamilyFontsFromSvg,\n\tgetShapeDividerImageCss,\n\tparseSvgString,\n\tremoveWidthAndHeight,\n\tgetFilter,\n\tgetScaledSvgViewBox,\n\tgetSvgContentForMask,\n\tencodeSVG,\n\tgetCSSDropShadow,\n\tgetCSSStrokeAdjustments,\n\tbuildSvgUrlFactory,\n}\n","import { interpolate, getProperties as templateGetProperties } from './svgFiltersTemplates'\nimport type { FilterOverridesOrEmpty, SvgShadow } from './typing'\nimport { filterPresets } from './svgPresets'\n\nfunction getFilter(id: string, name: string, overrides: FilterOverridesOrEmpty, attrs: any) {\n\tconst filter = filterPresets[name] || []\n\treturn interpolate(id, filter, overrides || {}, attrs)\n}\n\nfunction getShadow(id: string, shadow: SvgShadow) {\n\treturn interpolate(id, [{ key: 'shadow', value: shadow }], {})\n}\n\nfunction getProperties(name: string, overrides: FilterOverridesOrEmpty) {\n\tconst filter = filterPresets[name] || []\n\treturn templateGetProperties(filter, overrides || {})\n}\n\nfunction isFilterExists(effectName: string) {\n\treturn effectName in filterPresets\n}\n\nexport { getFilter, getShadow, getProperties, isFilterExists }\n","import { Headers } from 'node-fetch'\nimport type { FetchFn } from '@wix/thunderbolt-symbols'\nimport type { Cache } from '@wix/thunderbolt-ssr-api'\n\nexport interface CacheMetricsReporter {\n\trunAndReport<T>(syncMethod: () => T, methodName: string): T\n}\n\nconst toOKResponse = (text: string): Response => ({\n\ttext: () => Promise.resolve(text),\n\tjson: () => Promise.resolve(JSON.parse(text)),\n\tarrayBuffer: () => Promise.resolve(new TextEncoder().encode(text).buffer),\n\tok: true,\n\t// @ts-ignore\n\theaders: new Headers(),\n})\n\nexport const withCache = (\n\tfetchFn: FetchFn,\n\tcache: Cache<string, string>,\n\tmetricsReporter?: CacheMetricsReporter,\n\tmetricsPrefix = 'cache'\n): FetchFn => {\n\treturn async (url: string, init?: RequestInit): Promise<Response> => {\n\t\tmetricsReporter?.runAndReport(() => {}, `${metricsPrefix}_get`)\n\n\t\tconst fromCache = cache.get(url)\n\t\tif (fromCache) {\n\t\t\tmetricsReporter?.runAndReport(() => {}, `${metricsPrefix}_hit`)\n\t\t\treturn Promise.resolve(toOKResponse(fromCache))\n\t\t}\n\n\t\tmetricsReporter?.runAndReport(() => {}, `${metricsPrefix}_miss`)\n\t\tconst result = await fetchFn(url, init)\n\n\t\tif (result.ok) {\n\t\t\tconst textResult = await result.text()\n\t\t\tif (textResult) {\n\t\t\t\tcache.set(url, textResult)\n\t\t\t\treturn Promise.resolve(toOKResponse(textResult))\n\t\t\t}\n\t\t}\n\t\treturn Promise.resolve(result)\n\t}\n}\n\nexport const NoopCache: () => Cache<string, string> = () => ({\n\tget(): string | undefined {\n\t\treturn undefined\n\t},\n\tset(): void {},\n\tvalues: () => [],\n\titemCount: 0,\n\tdump: () => [],\n\tkeys: () => [],\n\thas: () => false,\n\tmax: 0,\n\tmaxAge: 0\n})\n","import type { FetchFn, FetchResponse, IFetchApi } from '@wix/thunderbolt-symbols'\nimport type { Cache } from '@wix/thunderbolt-ssr-api'\nimport { NoopCache, withCache } from './withCache'\n\nfunction toFormData(payload: any) {\n\treturn Object.keys(payload).reduce((acc, key) => {\n\t\tacc.append(key, payload[key])\n\t\treturn acc\n\t}, new URLSearchParams())\n}\n\nexport function FetchApi(requestUrl: string, fetchFn: FetchFn, cache: Cache<string, string> = NoopCache()): IFetchApi {\n\tfunction envFetch(url: string, init?: RequestInit) {\n\t\treturn fetchFn(url, init)\n\t}\n\n\tconst cachedFetch = withCache(envFetch, cache)\n\n\treturn {\n\t\tgetJson: <T>(url: string): Promise<T> => {\n\t\t\tconst options = { headers: { referer: requestUrl } }\n\t\t\treturn envFetch(url, options).then((x) => x.json())\n\t\t},\n\t\tpostFormData(url: string, formData: any) {\n\t\t\tconst data = toFormData(formData)\n\t\t\treturn envFetch(url, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\tbody: data,\n\t\t\t}).then((x) => x.json())\n\t\t},\n\t\tenvFetch,\n\t\tasync getWithCacheInSsr(url: string): Promise<FetchResponse> {\n\t\t\treturn cachedFetch(url, { headers: { referer: requestUrl } })\n\t\t},\n\t}\n}\n","import type { Experiments } from '@wix/thunderbolt-symbols'\n\nfunction isExperimentRunning(experiments: Experiments, experiment: string) {\n\tconst value = experiments[experiment]\n\treturn typeof value === 'boolean' ? !!value : value === 'new' || value === 'true'\n}\n\nconst isInQueryParam = (queryParam: string) => (params: URLSearchParams, experiment: string) => {\n\tconst experimentsQueryParam = params.get(queryParam)\n\tif (!experimentsQueryParam) {\n\t\treturn false\n\t}\n\treturn experimentsQueryParam.includes(experiment)\n}\n\nconst isInExperimentsQueryParam = isInQueryParam('experiments')\n\nconst isInExperimentsOffQueryParam = isInQueryParam('experimentsOff')\nfunction getQueryParams(originalUrl: string) {\n\ttry {\n\t\treturn new URL(originalUrl).searchParams\n\t} catch (e) {\n\t\tconst URLObject = require('url').URL\n\t\treturn new URLObject(originalUrl).searchParams\n\t}\n}\n/**\n *\n * @param specName the name of the spec, e.g. \"specs.thunderbolt.myCoolExperiment\"\n * @param experiments experiments object, can come from siteModel or from viewerModel\n * @param originalUrl in case experiments object comes from siteModel, we need to pass the originalUrl as well, because sitemodel is returned from html-renderer, which ignores the \"experiments\" and \"experimentsOff\" query param\n * @returns true if the experiment is open (either running or in the \"experiments\" query param) and false otherwise\n */\nexport function isExperimentOpen(specName: string, experiments: Experiments, originalUrl?: string) {\n\tif (!originalUrl) {\n\t\treturn isExperimentRunning(experiments, specName)\n\t}\n\tconst queryParams = getQueryParams(originalUrl)\n\treturn (\n\t\t!isInExperimentsOffQueryParam(queryParams, specName) &&\n\t\t(isInExperimentsQueryParam(queryParams, specName) || isExperimentRunning(experiments, specName))\n\t)\n}\n","export const PINNED_LAYER_SUFFIX: string = '-pinned-layer'\nexport const RESPONSIVE_PAGE_CONTAINER_PREFIX: string = 'Container'\nexport const SECTIONS_CONTAINER_PREFIX: string = 'PAGE_SECTIONS'\nexport const MASTER_PAGE_COMPONENTS_IN_RESPONSIVE = [\n\t'masterPage',\n\t'SITE_PAGES',\n\t'SITE_HEADER',\n\t'SITE_FOOTER',\n\t'PAGES_CONTAINER',\n]\nexport const SITE_CONTAINER_WITHOUT_HEADER_SELECTOR = '#masterPage.landingPage'\nexport const SITE_CONTAINER_WITH_HEADER_SELECTOR = '#masterPage:not(.landingPage)'\nexport const WIX_INTERACT_ELEMENT_SELECTOR = 'wix-interact-element'\n","export const name = 'widgetWixCodeSdk' as const\nexport const namespace = 'widget' as const\nexport const mainFrameEditorNamespace = 'mainFrameEditor' as const\nexport const WidgetSdkSymbol = Symbol('WidgetSdk')\n","export const name = 'tinyMenu' as const\n","export function createPromise<T = void>(): {\n\tresolver: (resolvedData: T | PromiseLike<T>) => void\n\tpromise: Promise<T>\n} {\n\tlet resolver: (resolvedData: T | PromiseLike<T>) => void = () => {}\n\tconst promise = new Promise<T>((_resolver) => (resolver = _resolver))\n\treturn {\n\t\tresolver,\n\t\tpromise,\n\t}\n}\n","export const PROMOTE_BI_ENDPOINT = 'pa'\nexport const PV_EVENT = {\n\tSRC: 76,\n\tEVID: 1109,\n}\nexport const PURCHASE_EVENT = {\n\tSRC: 76,\n\tEVID: 1107,\n}\n","export const minimumLabelFontSize = 16\nexport const labelPaddingLimit = 20\n","export const name = 'siteMembersWixCodeSdk' as const\nexport const namespace = 'user' as const\nexport const memberNamespace = 'members' as const\nexport const memberNamespaceV2 = 'members-v2' as const\n","export const name = 'imageZoom' as const\nexport const ImageZoomAPISymbol = Symbol('ImageZoomAPISymbol')\n\nexport const NATIVE_GALLERIES_TYPES = ['SlideShowGallery', 'MatrixGallery', 'PaginatedGridGallery', 'SliderGallery']\nexport const IMAGE_ZOOM_QUERY = 'lightbox' as const\nexport const RUNTIME_DELIMETER = '_runtime_' as const\nexport const IMAGE_ZOOM_ID = 'imageZoomComp' as const\n","export const SERVER_EVENTS_APP_DEF_ID = 'cf06bdf3-5bab-4f20-b165-97fb723dac6a'\nexport const UTM_PARAMS_LOCAL_STORAGE_KEY = 'wix_utm_params'\nexport const BI_FIELD_CHAR_LIMIT = 4000\n","export const name = 'warmupData' as const\n\nexport const WarmupDataEnricherSymbol = Symbol('WarmupDataEnricher')\nexport const WarmupDataProviderSymbol = Symbol('WarmupDataProvider')\nexport const WarmupDataAggregatorSymbol = Symbol('WarmupDataAggregator')\nexport const WarmupDataPromiseSymbol = Symbol('WarmupDataPromise')\n","// Constants for preset attributes and CSS properties\nexport const DATA_PRESET_ATTRIBUTE = 'data-preset'\nexport const CSS_PRESET_PREFIX = '--preset'\nexport const COMPONENT_CLASS_PREFIX = 'w-'\nexport const ROOT_ELEMENT_KEY = 'root'\n\n// DOM element IDs\nexport const WIX_WARMUP_DATA_ELEMENT_ID = 'wix-warmup-data'\n\n// Builder hierarchy loading states\nexport const BUILDER_HIERARCHY_LOADING_STATE = {\n\tIN_PROGRESS: 'IN_PROGRESS',\n\tDONE: 'DONE',\n} as const\n\nexport type BuilderHierarchyLoadingState = typeof BUILDER_HIERARCHY_LOADING_STATE[keyof typeof BUILDER_HIERARCHY_LOADING_STATE]\n\nexport type BuilderHierarchyLoadingInfo = {\n\tstate: BuilderHierarchyLoadingState\n}\n","export const name = 'componentsQaApi' as const\n","export const CaptchaApiSymbol = Symbol('CaptchaApi')\nexport const DIALOG_COMPONENT_ID = 'CAPTCHA_DIALOG_ROOT_COMP' as const\n","export const name = 'routerFetch' as const\nexport const RouterFetchSymbol = Symbol('routerFetch')\n","import type { InteractionsConfig } from '@wix/thunderbolt-becky-types'\n\nexport const EMPTY_INTERACTIONS_CONFIG = { interactions: [], effects: {} } as InteractionsConfig\n","export const name = 'triggersAndReactions' as const\nexport const ReactionCreatorFactorySymbol = Symbol('ReactionCreatorFactory')\nexport const ReactionsStateApiSymbol = Symbol('ReactionsStateApiSymbol')\nexport const ClassNameApiSymbol = Symbol('ClassNameApiSymbol')\nexport const ViewportIntersectionHandlerSymbol = Symbol('ViewportIntersectionHandlerSymbol')\nexport const triggersBreakpointValidatorSymbol = Symbol('triggersBreakpointValidatorSymbol')\nexport const MotionEffectsReactionsSymbol = Symbol('MotionEffectsReactions')\nexport const scrubReactionsManagerSymbol = Symbol('scrubReactionsManager')\nexport const ShouldEnableTriggersAndReactionsSymbol = Symbol('ShouldEnableTriggersAndReactionsSymbol')\nexport const ChildListObserverSymbol = Symbol('ChildListObserver')\n","export const ManifestManagerApiSymbol = Symbol('ManifestManagerApi')\n","import Color from 'color'\nimport type { GradientData, GradientMesh } from '@wix/css-gradient-generator'\nimport { generate } from '@wix/css-gradient-generator'\n\nexport const isColor = (val: string): boolean =>\n\tval ? /(^#([a-f\\d]{3}){1,2}$)|(^rgba?\\(\\d+(,\\d+){2,3}(\\.\\d+)?\\)$)/i.test(val.replace(/\\s/g, '')) : false\n\nconst isRgbValues = (val: string): boolean => (val ? /^\\d+(,\\d+){2,3}(\\.\\d+)?$/.test(val.replace(/\\s/g, '')) : false)\nconst isHexValue = (val: string): boolean => (val ? /(^#([a-f\\d]{3}){1,2}$)/i.test(val.replace(/\\s/g, '')) : false)\nconst rgbToHexString = (rgb: Array<number>): string =>\n\t`#${rgb\n\t\t.map((channel) => {\n\t\t\tconst hex = channel.toString(16)\n\t\t\treturn hex.length === 1 ? `0${hex}` : hex\n\t\t})\n\t\t.join('')}`\n\nconst getColor = (color: string) => {\n\tif (isColor(color)) {\n\t\treturn Color(color)\n\t}\n\tif (isRgbValues(color)) {\n\t\treturn Color(`rgba(${color})`)\n\t}\n\tif (color === 'transparent') {\n\t\treturn Color.rgb(0, 0, 0, 0)\n\t}\n\treturn null\n}\n\nconst isThemeColor = (color: string) => /^color_\\d+$/.test(color)\n\nconst brighten = (colorString: string, brightnessModifier: number = 1): string | null => {\n\tconst color = getColor(colorString)\n\tif (!color) {\n\t\treturn null\n\t}\n\tconst hsvColor = color.hsv()\n\treturn hsvColor\n\t\t.value(hsvColor.value() * brightnessModifier)\n\t\t.rgb()\n\t\t.string()\n}\n\nconst getRGBAColorString = (color: string, colorOpacity: number | 'none' = 1): string => {\n\ttry {\n\t\tif (colorOpacity === 'none') {\n\t\t\treturn Color(fixColor(color)).string()\n\t\t}\n\t\treturn Color(fixColor(color)).alpha(colorOpacity).string()\n\t} catch (e) {\n\t\treturn color\n\t}\n}\n\nconst splitColor = (rgbString: string): string => Color(rgbString).array().join(',')\n\n/**\n * Returns rgb values string from a hex color string input (i.e 255,255,255), null if value given is not a hex color\n * @param value a string value that might be a color\n */\nconst getSplitRgbValuesString = (value: string): string | null => {\n\tconst color = getColor(value)\n\tif (!color) {\n\t\treturn null\n\t}\n\n\treturn color.rgb().array().join(',')\n}\n\n/**\n * Returns an RGB values from rgb or rgba expressions as a string.\n * If there is an opacity value (alpha) in rgba expression it will be ignored.\n * @param value a string that might be one of the expressions: rgb(r, g, b), or rgba(r, g, b, a)\n */\nconst getSplitRgbValuesStringWithoutAlpha = (value: string): string | null => {\n\tconst color = getColor(value)\n\tif (!color) {\n\t\treturn null\n\t}\n\tconst { r, g, b } = color.object()\n\treturn `${r},${g},${b}`\n}\n\nconst getColorAlpha = (value: string): number | null => {\n\tconst color = getColor(value)\n\tif (!color) {\n\t\treturn null\n\t}\n\n\treturn color.alpha()\n}\n\n/**\n * Given theme color string e.g {color_1} / [color_1] extracts the underlying color - color_1\n * @param str theme color\n */\nconst extractThemeColor = (str: string): string => {\n\treturn str.replace(new RegExp('[\\\\[\\\\]{}]', 'g'), '')\n}\n\nconst getFromColorMap = (rawColor: string, colorsMap: Array<string> = []) => {\n\tconst [, themeColorIndex] = extractThemeColor(rawColor).split('_')\n\tconst i = parseInt(themeColorIndex, 10)\n\treturn isNaN(i) ? rawColor : colorsMap[i]\n}\n\nconst isGreyscale = (colorObj: Color) =>\n\tcolorObj.red() === colorObj.green() && colorObj.red() === colorObj.blue() && colorObj.red() !== 255\n\nconst getHexColor = (rgbAsString: string) => {\n\tconst color = getColor(rgbAsString)\n\treturn color && color.hex().toString()\n}\n\nconst getColorClass = (className: string) => {\n\tconst findColorClass = /(color_\\d+)/\n\tconst colorClass = findColorClass.exec(className)\n\n\treturn colorClass && colorClass[1]\n}\n\nconst fixColor = (color: string) => {\n\tif (isColor(color)) {\n\t\treturn color\n\t}\n\tif (typeof color === 'undefined') {\n\t\treturn color\n\t}\n\n\tif (isColor(`rgba(${color})`)) {\n\t\treturn `rgba(${color})`\n\t}\n\n\tif (isColor(`rgb(${color})`)) {\n\t\treturn `rgb(${color})`\n\t}\n\n\treturn color.replace(';', '')\n}\n\nconst formatColor = (value: string, alpha: string | number) => {\n\tconst fixedColor = fixColor(value)\n\tconst color = new Color(fixedColor).alpha(Number(alpha))\n\tconst formattedRgbColor = color.rgb().toString().replace(/ /g, '')\n\n\treturn Number(alpha) !== 1\n\t\t? formattedRgbColor\n\t\t: formattedRgbColor.replace(/^rgb/, 'rgba').replace(')', `,${color.alpha()})`)\n}\n\nconst getColorFromCssStyle = (value: { red: number; green: number; blue: number; alpha: number }) => {\n\tconst { red, green, blue, alpha } = value\n\tconst color = new Color(rgbToHexString([red, green, blue]))\n\treturn formatColor(color.toString(), alpha)\n}\n\nconst extractRGBA = (value: string): string => {\n\tconst rgbaRe = /rgba\\([^)]+\\)/\n\tconst result = value.match(rgbaRe)\n\n\tif (result && result[0]) {\n\t\treturn result[0]\n\t}\n\n\treturn ''\n}\n\nconst isValidColor = (color: string) => isColor(color) || isRgbValues(color) || isHexValue(color) || isThemeColor(color)\n\nconst generateGradient = (colorLayers: GradientData | GradientMesh, alpha: number, colorMap: Array<string>) =>\n\tgenerate(colorLayers, { alpha, resolveColor: (color) => getFromColorMap(color, colorMap) })\n\nexport {\n\tbrighten,\n\textractThemeColor,\n\tgetRGBAColorString,\n\tsplitColor,\n\tgetFromColorMap,\n\tgetSplitRgbValuesString,\n\tgetSplitRgbValuesStringWithoutAlpha,\n\tgetHexColor,\n\tgetColorAlpha,\n\tgetColorClass,\n\tformatColor,\n\tisGreyscale,\n\tisThemeColor,\n\tisRgbValues,\n\tisHexValue,\n\tgetColorFromCssStyle,\n\textractRGBA,\n\tisValidColor,\n\tgenerateGradient,\n\trgbToHexString,\n}\n","import type { BiStore, ViewerModel, WixBiSession } from '@wix/thunderbolt-symbols'\n\nconst getBiStore = (wixBiSession: WixBiSession, viewerModel: ViewerModel): BiStore => {\n\tconst { rollout: rolloutData, site } = viewerModel\n\n\tconst {\n\t\tmsId: msid,\n\t\tviewerSessionId,\n\t\tinitialTimestamp,\n\t\tinitialRequestTimestamp,\n\t\tdc,\n\t\tmicroPop,\n\t\tis_rollout,\n\t\tisCached,\n\t\tcheckVisibility,\n\t\tcaching,\n\t\tisjp,\n\t\tbtype,\n\t\trequestUrl,\n\t\tst,\n\t\tisSuccessfulSSR,\n\t\tmpaSessionId,\n\t} = wixBiSession\n\n\treturn {\n\t\tsession_id: site.sessionId,\n\t\tis_headless: isjp,\n\t\tis_headless_reason: btype,\n\t\tviewerSessionId,\n\t\tcaching,\n\t\tcheckVisibility,\n\t\tmsid,\n\t\tinitialTimestamp,\n\t\tinitialRequestTimestamp,\n\t\tdc,\n\t\tmicroPop,\n\t\tis_rollout,\n\t\tisCached: isCached ? true : false,\n\t\trolloutData,\n\t\trequestUrl,\n\t\tst,\n\t\tisSuccessfulSSR,\n\t\t// TODO fix both this and /packages/feature-business-logger/src/businessLogger.ts\n\t\tpageData: {\n\t\t\tpageNumber: 1,\n\t\t\tpageId: '',\n\t\t\tpageUrl: requestUrl,\n\t\t\tisLightbox: false,\n\t\t},\n\t\tviewerVersion: process.env.browser ? window.thunderboltVersion : process.env.APP_VERSION!,\n\t\tmpaSessionId\n\t}\n}\n\nconst noop = () => {}\nconst createNoopLogger = ({ muteErrors } = { muteErrors: false }) => ({\n\tupdatePageNumber: noop,\n\tupdatePageId: noop,\n\tupdateApplicationsMetaSite: noop,\n\trunAsyncAndReport: <T>(asyncMethod: () => Promise<T> | T) => Promise.resolve(asyncMethod()),\n\treportAsyncWithCustomKey: <T>(asyncMethod: () => Promise<T>) => Promise.resolve(asyncMethod()),\n\trunAndReport: <T>(fn: () => T) => fn(),\n\tphaseStarted: noop,\n\tphaseEnded: noop,\n\tmeter: noop,\n\tappLoaded: noop,\n\treportAppLoadStarted: noop,\n\tcaptureError: muteErrors\n\t\t? noop\n\t\t: (...args: any) => {\n\t\t\tconsole.error(...args)\n\t\t},\n\taddBreadcrumbToBatch: noop,\n\tflushBreadcrumbBatch: noop,\n\tsetGlobalsForErrors: noop,\n\tbreadcrumb: noop,\n\tinteractionStarted: noop,\n\tinteractionEnded: noop,\n\tregisterPlatformWidgets: noop,\n\taddSSRPerformanceEvents: noop,\n\taddPlatformAppEvent: noop,\n\tfinishPlatformAppEvent: noop,\n\treportSsrBi: () => Promise.resolve(),\n\treportPlatformEndEvent: () => Promise.resolve(),\n\taddResourceFetchEvent: () => noop,\n\tgetAllResourceFetchEvents: () => [],\n\tgetEventsData: () => [],\n})\n\nconst addTagsFromObject = (scope: any, obj: any) => {\n\tfor (const key in obj) {\n\t\tif (obj.hasOwnProperty(key)) {\n\t\t\tscope.setTag(key, obj[key])\n\t\t}\n\t}\n}\n\nconst extractFingerprints = ({ values }: any) => {\n\tif (values && values.length) {\n\t\tconst fingerprints = []\n\t\tfingerprints.push(values[0].value)\n\t\tfingerprints.push(values[0].type)\n\t\tif (values[0].stacktrace && values[0].stacktrace.length) {\n\t\t\tfingerprints.push(values[0].stacktrace[0].function)\n\t\t}\n\t\treturn fingerprints\n\t}\n\treturn ['noData']\n}\n\nconst getEnvironment = (fleetCode: number) => {\n\tif (fleetCode === 0) {\n\t\treturn 'production'\n\t} else if (fleetCode === 1) {\n\t\treturn 'rollout'\n\t}\n\treturn 'canary'\n}\n\nconst extractFileNameFromErrorStack = (errorStack: string) => {\n\tconst stackArray = errorStack.match(/([\\w-.]+(?:\\.js|\\.ts))/)\n\tif (!stackArray || !stackArray.length) {\n\t\treturn 'anonymous function'\n\t}\n\treturn stackArray[0].split('.')[0]\n}\n\nconst shouldFilter = (message: string) => !message\n\nconst multipleIncludes = (text: string, values: Array<string>) => {\n\treturn values.some((val) => {\n\t\treturn text.includes(val)\n\t})\n}\n\nexport {\n\tmultipleIncludes,\n\tgetBiStore,\n\tcreateNoopLogger,\n\taddTagsFromObject,\n\textractFingerprints,\n\tgetEnvironment,\n\textractFileNameFromErrorStack,\n\tshouldFilter,\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultCommonConfig = exports.BrandToHostMap = exports.HeadlessHost = exports.DefaultBrand = exports.EventContextMap = exports.BackofficeDomains = exports.LoggerVersion = void 0;\nexports.LoggerVersion = '2.0.985|C';\nexports.BackofficeDomains = ['.wix.com', '.editorx.com'];\nvar EventContextMap;\n(function (EventContextMap) {\n    EventContextMap[\"msid\"] = \"_msid\";\n    EventContextMap[\"clientId\"] = \"_client_id\";\n    EventContextMap[\"uuid\"] = \"_uuid\";\n    EventContextMap[\"visitorId\"] = \"_visitorId\";\n    EventContextMap[\"siteMemberId\"] = \"_siteMemberId\";\n    EventContextMap[\"brandId\"] = \"_brandId\";\n    EventContextMap[\"siteBranchId\"] = \"_siteBranchId\";\n    EventContextMap[\"ms\"] = \"_ms\";\n    EventContextMap[\"lv\"] = \"_lv\";\n    EventContextMap[\"isHeadless\"] = \"_isHeadless\";\n    EventContextMap[\"hostingPlatform\"] = \"_hostingPlatform\";\n})(EventContextMap = exports.EventContextMap || (exports.EventContextMap = {}));\nexports.DefaultBrand = 'wix';\nexports.HeadlessHost = 'VIEWER_HEADLESS';\nexports.BrandToHostMap = {\n    wix: 'wix',\n    editorx: 'editorx',\n};\nexports.DefaultCommonConfig = {\n    brand: exports.DefaultBrand,\n};\n//# sourceMappingURL=constants.js.map","export function isSSR(window: Window | null): window is null {\n\treturn !window\n}\n\nexport function getCSRFToken(cookie: string | undefined): string {\n\tif (!cookie) {\n\t\treturn ''\n\t}\n\n\tconst csrfTokenCookieValue = cookie.split(';').filter((item) => item.includes('XSRF-TOKEN'))\n\treturn csrfTokenCookieValue?.[0]?.replace('XSRF-TOKEN=', '').trim() || ''\n}\n\nexport function hasNavigator(window: Window | null): boolean {\n\treturn !!window && typeof window.navigator !== 'undefined'\n}\n\nexport function getBrowserLanguage(window: Window | null): string | null {\n\treturn hasNavigator(window) ? window!.navigator.language : null\n}\n\nexport function getBrowserReferrer(window: Window | null): string | undefined {\n\treturn window?.document?.referrer\n}\n","import type { Component } from '@wix/thunderbolt-becky-types'\n\nconst SHARED_PART_COMP_ID_TO_INFLATED_ID: { [key: string]: string } = {}\nconst SHARED_PART_INFLATED_ID_TO_COMP_ID: { [key: string]: string } = {}\n\nexport const GHOST_COMP_TYPE = 'GhostComp'\n\nexport const REF_DELIMITER = '_r_'\n\nexport const SHARED_PARTS_PREFIX = 'sharedParts'\n\nexport const getUniqueId = (refId: string, originalId: string) => `${refId}${REF_DELIMITER}${originalId}`\n\nexport const removeSharedPartsPrefix = (id: string) => id.replace(`${SHARED_PARTS_PREFIX}${REF_DELIMITER}`, '')\n\nexport const fixSharedPartsIds = (id: string) => `${SHARED_PARTS_PREFIX}${REF_DELIMITER}${id}`\n\nexport const hasSharedPartsPrefix = (id: string) =>\n\tid.split(REF_DELIMITER)[0] === SHARED_PARTS_PREFIX && id.split(REF_DELIMITER).length >= 2\n\nexport function replaceSharedPartsPrefix(str: string, replacement: string) {\n\treturn str.replace(SHARED_PARTS_PREFIX, replacement)\n}\n\nexport const getRefCompIdFromInflatedId = (id: string): string => {\n\tif (hasSharedPartsPrefix(id)) {\n\t\treturn id\n\t}\n\n\treturn id.split(`${REF_DELIMITER}`)[0]\n}\n\n// Will give different result than getRefCompIdFromInflatedId()\n// in case of widget-in-widget. for example:\n// id='firstRefComp_r_secondRefComp_r_innerCompId' -> return 'firstRefComp_r_secondRefComp'\nexport const getMultipleRefCompsIdFromInflatedId = (id: string): string => {\n\tconst isSharedPart = hasSharedPartsPrefix(id)\n\tconst refCompId = isSharedPart ? removeSharedPartsPrefix(id) : id\n\tconst multipleRefCompsIdFromInflatedId = refCompId.substring(0, refCompId.lastIndexOf(`${REF_DELIMITER}`)) || id\n\n\treturn isSharedPart ? fixSharedPartsIds(multipleRefCompsIdFromInflatedId) : multipleRefCompsIdFromInflatedId\n}\n\nexport const getTemplateFromInflatedId = (id: string): string =>\n\tremoveSharedPartsPrefix(id).split(REF_DELIMITER).pop() as string\n\nexport const getRefCompIdsFromInflatedId = (id: string): Array<string> =>\n\tgetMultipleRefCompsIdFromInflatedId(id).split(`${REF_DELIMITER}`)\n\nexport const isRefComponent = (component?: Component) => component?.componentType.endsWith('RefComponent')\n\nexport function isInflatedId(id: string): boolean {\n\treturn removeSharedPartsPrefix(id).includes(REF_DELIMITER)\n}\n\nexport function saveInflatedIdToMaps(compId: string, inflatedId: string) {\n\tconst previousInflatedId = SHARED_PART_COMP_ID_TO_INFLATED_ID[compId]\n\n\tif (compId === inflatedId || previousInflatedId === inflatedId) {\n\t\treturn\n\t}\n\n\tif (previousInflatedId) {\n\t\tdelete SHARED_PART_INFLATED_ID_TO_COMP_ID[previousInflatedId]\n\t}\n\n\tSHARED_PART_COMP_ID_TO_INFLATED_ID[compId] = inflatedId\n\tSHARED_PART_INFLATED_ID_TO_COMP_ID[inflatedId] = compId\n}\n\nexport const deflateSharedPartCompId = (compId: string): string => {\n\treturn SHARED_PART_INFLATED_ID_TO_COMP_ID[compId] || compId\n}\n\nexport const deflateMultiSharedPartCompIds = (compIds: Array<string>) =>\n\tcompIds?.map((compId) => deflateSharedPartCompId(compId))\n\nexport const inflateSharedPartCompId = (compId: string): string => {\n\treturn SHARED_PART_COMP_ID_TO_INFLATED_ID[compId] || compId\n}\n\nexport const inflateMultiSharedPartCompIds = (compIds: Array<string>) =>\n\tcompIds?.map((compId) => inflateSharedPartCompId(compId))\n\nexport const getInflatedIdsKeys = (refId: string) => {\n\treturn Object.keys(SHARED_PART_INFLATED_ID_TO_COMP_ID).filter((compId: string) => compId.endsWith(refId))\n}\n\nexport const getInflatedIdAncestorChain = (itemId: string) => {\n\tconst inflatedIdAncestorChain: Array<string> = []\n\titemId\n\t\t.split(REF_DELIMITER)\n\t\t.reverse()\n\t\t.forEach((item, index) =>\n\t\t\tindex === 0\n\t\t\t\t? inflatedIdAncestorChain.push(item)\n\t\t\t\t: inflatedIdAncestorChain.push(getUniqueId(item, inflatedIdAncestorChain[index - 1]))\n\t\t)\n\treturn inflatedIdAncestorChain.reverse()\n}\n","export const name = 'sliderGallery' as const\n","export const Animations = Symbol('Animations')\nexport const EditorAnimationsSym = Symbol('EditorAnimations')\nexport const CreateAnimatorManagerSymbol = Symbol('CreateAnimatorManager')\n\nexport const name = 'animations' as const\n","export const NavigationManagerSymbol = Symbol('NavigationManager')\n\nexport type NavigationStartListener = () => void\n\nexport interface INavigationManager {\n\tisDuringNavigation(): boolean\n\tisFirstNavigation(): boolean\n\tstartNavigation(isLightbox?: boolean): void\n\tsetShouldBlockRender(shouldBlockRender: boolean): void\n\tshouldBlockRender(): boolean\n\tendNavigation(): void\n\twaitForShouldContinueNavigation(): Promise<boolean>\n\twaitForNavigationEnd(): Promise<void>\n\tstartDataFetching(): void\n\tendDataFetching(): void\n\tisDuringDataFetching(): boolean\n\twaitForDataFetching(): Promise<void>\n\tregisterToNavigationStart(listener: NavigationStartListener): () => void\n\tgetLastNavigationTimings(): { start: null | number; end: null | number }\n\tisFirstPage(): boolean\n}\n","import { createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { INamedSignalsHandlers } from './types'\n\nexport const NamedSignalsHandlersSymbol = createIdentifier<INamedSignalsHandlers>(Symbol('NamedSignalsHandlersSymbol'))\n\nexport const name = 'namedSignalsService' as const\n","export const name = 'translationsService' as const\nexport const VIEWER_SERVICE_PACKAGE_NAME = '@wix/viewer-service-translations' as const\n","import type { CandidateRouteInfo } from './types'\nimport { decodeUriComponentIfEncoded } from '@wix/url-manager'\n\nexport {\n\tgetRelativeEncodedUrl,\n\tgetRelativeUrlData,\n\tcreateUrlHistoryManager,\n\tgetRelativeUrl,\n\tdecodeUriComponentIfEncoded,\n} from '@wix/url-manager'\n\nexport const resolveQueryParams = (oldQueryParams: string, newQueryParams: string): string => {\n\tif (newQueryParams !== '') {\n\t\tconst existingQueryParams = oldQueryParams ? oldQueryParams + '&' : oldQueryParams\n\t\tconst mergedQueryParams = new URLSearchParams(existingQueryParams + newQueryParams)\n\t\tmergedQueryParams.forEach((val, key) => mergedQueryParams.set(key, val))\n\t\treturn mergedQueryParams.toString()\n\t} else {\n\t\treturn oldQueryParams\n\t}\n}\n\nexport const removeProtocol = (url: string) => url.replace(/^https?:\\/\\//, '')\n\nexport const replaceProtocol = (url: string, protocol: string) => {\n\tconst linkWithoutProtocol = url.startsWith('//')\n\tif (linkWithoutProtocol) {\n\t\treturn `${protocol}${url}`\n\t}\n\n\treturn url.replace(/^https?:/, protocol)\n}\n\nconst createUrl = (pathOrUrl: string) => {\n\tconst isRelativePath = pathOrUrl.startsWith('/')\n\n\treturn isRelativePath ? new URL(pathOrUrl, window.location.origin) : new URL(pathOrUrl)\n}\n\nexport const removeUrlHash = (url: string) => {\n\tconst urlObj = createUrl(url)\n\turlObj.hash = ''\n\tconst queryParam = urlObj.search || ''\n\tif (urlObj.pathname === '/') {\n\t\treturn `${urlObj.origin}${queryParam}`\n\t}\n\n\treturn decodeUriComponentIfEncoded(urlObj.href)\n}\n\nexport const removeQueryParams = (url: string) => {\n\tconst urlObj = createUrl(url)\n\turlObj.search = ''\n\tconst hash = urlObj.hash || ''\n\tif (urlObj.pathname === '/') {\n\t\treturn `${urlObj.origin}${hash}`\n\t}\n\n\treturn decodeUriComponentIfEncoded(urlObj.href)\n}\n\nexport const getUrlHash = (url: string) => {\n\tconst urlObj = createUrl(url)\n\tconst hash = urlObj.hash || ''\n\treturn hash.replace('#', '')\n}\n\nexport const getUrlQueryParam = (url: string, paramName: string) => {\n\tconst urlObj = createUrl(url)\n\treturn urlObj.searchParams.get(paramName) || ''\n}\n\nexport const convertHashBangUrlToSlashUrl = (url: string) => {\n\tconst splitHashBang = url.split('#!')\n\tif (splitHashBang.length > 1) {\n\t\tconst splitQueryParams = splitHashBang[0].split('?')\n\t\tconst baseUrl = splitQueryParams[0]\n\t\tconst queryParams = splitQueryParams[1] ? `?${splitQueryParams[1]}` : ''\n\t\tconst maybeOtherPageUriSEO = splitHashBang[1].split('/')[0] || ''\n\t\tconst baseUrlWithTrailingSlash = baseUrl.endsWith('/') ? baseUrl : `${baseUrl}/`\n\t\treturn `${baseUrlWithTrailingSlash}${maybeOtherPageUriSEO}${queryParams}`\n\t}\n\n\treturn url\n}\n\nexport const getContextByRouteInfo = ({ type, pageId, relativeEncodedUrl }: CandidateRouteInfo) => {\n\t// we use relativeEncodedUrl for support new line symbol, relevant for dynamic pages\n\tconst [, additionalRoute] = relativeEncodedUrl.match(/\\.\\/.*?\\/(.*$)/) || []\n\treturn type === 'Dynamic' && additionalRoute ? `${pageId}_${additionalRoute}` : `${pageId}`\n}\n\nexport const removeTrailingSlashAndQueryParams = (url: string) => url.replace(/\\/?(\\?.*)?$/, '')\n","export const PageTransitionsSymbol = Symbol('PageTransitions')\nexport const PageTransitionsCompletedSymbol = Symbol('PageTransitionsCompleted')\nexport const name = 'pageTransitions' as const\n","export const name = 'tpa' as const\nexport const TpaEventsListenerManagerSymbol = Symbol('TpaEventsListenerManager')\nexport const TpaPopupApiSymbol = Symbol('TpaPopupApi')\nexport const TpaSymbol = Symbol('Tpa')\nexport const TpaComponentApiSymbol = Symbol('TpaComponentApi')\nexport const IFrameStartedLoadingReporterSymbol = Symbol('IFrameStartedLoadingReporter')\nexport const SiteMapSymbol = Symbol('SiteMap')\nexport const TpaLoadMeasureSymbol = Symbol('TpaLoadMeasure')\nexport { TpaModalSymbol } from '@wix/thunderbolt-symbols'\n","export const name = 'structureApi' as const\nexport const BaseStructureAPISym = Symbol('BaseStructureAPISym')\n","export var prefix = '{{';\nexport var suffix = '}}';\n//# sourceMappingURL=variable-placeholders.js.map","export var TpaPageIds;\n(function (TpaPageIds) {\n    TpaPageIds[\"product_page\"] = \"product_page\";\n    TpaPageIds[\"blog\"] = \"blog\";\n    TpaPageIds[\"post\"] = \"post\";\n    TpaPageIds[\"forum\"] = \"forum\";\n    TpaPageIds[\"group\"] = \"group\";\n    TpaPageIds[\"bookings\"] = \"Booking Service Page\";\n    TpaPageIds[\"challenges\"] = \"challenge_page\";\n})(TpaPageIds || (TpaPageIds = {}));\n//# sourceMappingURL=page-mapping.js.map","export var UrlMappingsKeys;\n(function (UrlMappingsKeys) {\n    UrlMappingsKeys[\"PRODUCT_PAGE\"] = \"wix.stores.sub_pages.product\";\n    UrlMappingsKeys[\"BLOG_POST\"] = \"wix.blog.sub_pages.post\";\n    UrlMappingsKeys[\"BLOG_POST_EDIT\"] = \"wix.blog.sub_pages.post.edit\";\n    UrlMappingsKeys[\"BLOG_POST_PREVIEW\"] = \"wix.blog.sub_pages.post.preview\";\n    UrlMappingsKeys[\"BLOG_CATEGORY\"] = \"wix.blog.sub_pages.category\";\n    UrlMappingsKeys[\"FORUM_CATEGORY\"] = \"wix.forum.sub_pages.category\";\n    UrlMappingsKeys[\"FORUM_CATEGORY_PAGINATION\"] = \"wix.forum.sub_pages.category.pagination\";\n    UrlMappingsKeys[\"FORUM_CATEGORY_CREATE_POST\"] = \"wix.forum.sub_pages.category.create-post\";\n    UrlMappingsKeys[\"FORUM_CATEGORY_CREATE_QUESTION\"] = \"wix.forum.sub_pages.category.create-question\";\n    UrlMappingsKeys[\"FORUM_POST\"] = \"wix.forum.sub_pages.post\";\n    UrlMappingsKeys[\"FORUM_POST_EDIT\"] = \"wix.forum.sub_pages.post.edit\";\n    UrlMappingsKeys[\"FORUM_POST_PAGINATION\"] = \"wix.forum.sub_pages.post.pagination\";\n    UrlMappingsKeys[\"FORUM_POST_DEEP_LINK_DATA\"] = \"wix.forum.sub_pages.post.deep-link-data\";\n    UrlMappingsKeys[\"FORUM_POST_PAGINATION_AND_DEEP_LINK_DATA\"] = \"wix.forum.sub_pages.post.pagination-and-deep-link-data\";\n    UrlMappingsKeys[\"GROUP\"] = \"wix.groups.sub_pages.group\";\n    UrlMappingsKeys[\"GROUP_POST\"] = \"wix.groups.sub_pages.post\";\n    UrlMappingsKeys[\"BOOKINGS_SERVICE\"] = \"wix.bookings.sub_pages.service_page\";\n    UrlMappingsKeys[\"CHALLENGES_PAGE\"] = \"wix.online_programs.sub_pages.online_program\";\n})(UrlMappingsKeys || (UrlMappingsKeys = {}));\n//# sourceMappingURL=url-mappings-keys.js.map","var _a;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nexport var productPageMapping = (_a = {},\n    _a[UrlMappingsKeys.PRODUCT_PAGE] = {\n        variables: ['slug'],\n        required: ['slug'],\n    },\n    _a);\n//# sourceMappingURL=product-page.js.map","import { prefix, suffix } from './variable-placeholders';\nexport var variablePattern = \"\".concat(prefix, \"(.*?)\").concat(suffix);\nexport var exactVariablePattern = /^{{(.*?)}}$/;\nexport var placeholderPattern = \"[\".concat(prefix).concat(suffix, \"]\");\nexport var trailingSlashesPattern = /^\\/|\\/$/g;\nexport var slugRegex = /{{slug}}/gi;\nexport var wildCardPattern = '([^/]+)';\n//# sourceMappingURL=regex-patterns.js.map","export var legacyBlog = {\n    slugSegments: ['legacyYear', 'legacyMonth', 'legacyDay', 'slug'],\n    basicSlug: '{{slug}}',\n    regexes: ['\\\\d{4}/\\\\d{2}/{{slug}}', '\\\\d{4}/\\\\d{2}/\\\\d{2}/{{slug}}'],\n    mappings: [\n        '{{legacyYear}}/{{legacyMonth}}/{{slug}}',\n        '{{legacyYear}}/{{legacyMonth}}/{{legacyDay}}/{{slug}}',\n    ],\n};\n//# sourceMappingURL=legacy-mappings.js.map","var _a, _b;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nimport { mainMappingVariable } from '../../main-mapping-pattern';\nexport var postMapping = (_a = {},\n    _a[UrlMappingsKeys.BLOG_POST] = {\n        variables: ['slug'],\n        required: ['slug'],\n        subMappings: (_b = {},\n            _b[UrlMappingsKeys.BLOG_POST_EDIT] = {\n                defaultMapping: \"\".concat(mainMappingVariable, \"/edit\"),\n            },\n            _b[UrlMappingsKeys.BLOG_POST_PREVIEW] = {\n                required: ['instance'],\n                defaultMapping: \"\".concat(mainMappingVariable, \"/preview/{{instance}}\"),\n            },\n            _b),\n    },\n    _a);\n//# sourceMappingURL=post.js.map","var _a;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nexport var blogMapping = (_a = {},\n    _a[UrlMappingsKeys.BLOG_CATEGORY] = {\n        variables: ['slug'],\n        required: ['slug'],\n        defaultPrefix: 'categories',\n    },\n    _a);\n//# sourceMappingURL=blog.js.map","var _a, _b, _c;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nimport { mainMappingVariable } from '../../main-mapping-pattern';\nexport var forumMapping = (_a = {},\n    _a[UrlMappingsKeys.FORUM_POST] = {\n        variables: ['categorySlug', 'postSlug'],\n        required: ['categorySlug', 'postSlug'],\n        subMappings: (_b = {},\n            _b[UrlMappingsKeys.FORUM_POST_EDIT] = {\n                defaultMapping: \"\".concat(mainMappingVariable, \"/edit\"),\n            },\n            _b[UrlMappingsKeys.FORUM_POST_PAGINATION] = {\n                required: ['page'],\n                defaultMapping: \"\".concat(mainMappingVariable, \"/p-{{page}}\"),\n            },\n            _b[UrlMappingsKeys.FORUM_POST_DEEP_LINK_DATA] = {\n                required: ['deepLinkData'],\n                defaultMapping: \"\".concat(mainMappingVariable, \"/dl-{{deepLinkData}}\"),\n            },\n            _b[UrlMappingsKeys.FORUM_POST_PAGINATION_AND_DEEP_LINK_DATA] = {\n                required: ['page', 'deepLinkData'],\n                defaultMapping: \"\".concat(mainMappingVariable, \"/p-{{page}}/dl-{{deepLinkData}}\"),\n            },\n            _b),\n    },\n    _a[UrlMappingsKeys.FORUM_CATEGORY] = {\n        variables: ['slug'],\n        required: ['slug'],\n        subMappings: (_c = {},\n            _c[UrlMappingsKeys.FORUM_CATEGORY_CREATE_POST] = {\n                defaultMapping: \"\".concat(mainMappingVariable, \"/create-post\"),\n            },\n            _c[UrlMappingsKeys.FORUM_CATEGORY_CREATE_QUESTION] = {\n                defaultMapping: \"\".concat(mainMappingVariable, \"/create-question\"),\n            },\n            _c[UrlMappingsKeys.FORUM_CATEGORY_PAGINATION] = {\n                required: ['page'],\n                defaultMapping: \"\".concat(mainMappingVariable, \"/p-{{page}}\"),\n            },\n            _c),\n    },\n    _a);\n//# sourceMappingURL=forum.js.map","var _a;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nexport var groupMapping = (_a = {},\n    _a[UrlMappingsKeys.GROUP] = {\n        variables: ['groupId', 'tabName'],\n        required: ['groupId', 'tabName'],\n    },\n    _a[UrlMappingsKeys.GROUP_POST] = {\n        variables: ['groupId', 'tabName', 'postId'],\n        required: ['groupId', 'tabName', 'postId'],\n    },\n    _a);\n//# sourceMappingURL=group.js.map","var _a;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nexport var bookingsMapping = (_a = {},\n    _a[UrlMappingsKeys.BOOKINGS_SERVICE] = {\n        variables: ['slug'],\n        required: ['slug'],\n        defaultPrefix: 'service-page',\n    },\n    _a);\n//# sourceMappingURL=bookings.js.map","var _a;\nimport { UrlMappingsKeys } from '../url-mappings-keys';\nexport var challengesMapping = (_a = {},\n    _a[UrlMappingsKeys.CHALLENGES_PAGE] = {\n        variables: ['slug'],\n        required: ['slug'],\n        defaultPrefix: 'challenge-page',\n    },\n    _a);\n//# sourceMappingURL=challenges.js.map","var _a;\nimport { TpaPageIds } from './page-mapping';\nimport { productPageMapping } from './supported-verticals/product-page';\nimport { postMapping } from './supported-verticals/post';\nimport { blogMapping } from './supported-verticals/blog';\nimport { forumMapping } from './supported-verticals/forum';\nimport { groupMapping } from './supported-verticals/group';\nimport { bookingsMapping } from './supported-verticals/bookings';\nimport { challengesMapping } from './supported-verticals/challenges';\n/**\n * For more detailed instructions please read the docs:\n * https://github.com/wix-private/promote-seo/blob/master/packages/README.md#vertical-mapping\n */\nexport var verticalsMapping = (_a = {},\n    _a[TpaPageIds.product_page] = productPageMapping,\n    _a[TpaPageIds.post] = postMapping,\n    _a[TpaPageIds.blog] = blogMapping,\n    _a[TpaPageIds.forum] = forumMapping,\n    _a[TpaPageIds.group] = groupMapping,\n    _a[TpaPageIds.bookings] = bookingsMapping,\n    _a[TpaPageIds.challenges] = challengesMapping,\n    _a);\n//# sourceMappingURL=verticals-mapping.js.map","export var mainMappingKey = 'main-mapping';\nexport var mainMappingVariable = \"{{\".concat(mainMappingKey, \"}}\");\n//# sourceMappingURL=main-mapping-pattern.js.map","import { __assign, __read, __spreadArray } from \"tslib\";\nimport { verticalsMapping } from './verticals-mapping';\nexport var isSubMappingsKey = function (key) {\n    return Object.values(getUrlMappingVariablesSchema()).some(function (schema) { var _a; return Boolean((_a = schema === null || schema === void 0 ? void 0 : schema.subMappings) === null || _a === void 0 ? void 0 : _a[key]); });\n};\nexport var getUrlMappingVariablesSchema = function () {\n    return Object.values(verticalsMapping).reduce(function (urlMappingKeysSchemaes, currentPageSchema) { return (__assign(__assign({}, urlMappingKeysSchemaes), currentPageSchema)); }, {}) || {};\n};\nexport var getUrlMappingVariablesSchemaByKey = function (key) {\n    var schema = getUrlMappingVariablesSchema()[key];\n    if (!schema && isSubMappingsKey(key)) {\n        console.warn(\"You cannot get variables schema for subMappings key (\".concat(key, \").\"));\n    }\n    return schema;\n};\nexport var getTpaPageIdByUrlMappingKey = function (key) {\n    return Object.entries(verticalsMapping)\n        .filter(function (_a) {\n        var _b = __read(_a, 2), urlMappingsSchema = _b[1];\n        return Object.keys(urlMappingsSchema).includes(key);\n    })\n        .map(function (_a) {\n        var _b = __read(_a, 1), tpaPageId = _b[0];\n        return tpaPageId;\n    })[0];\n};\nexport var getAllSubMappings = function () {\n    return Object.values(getUrlMappingVariablesSchema()).reduce(function (obj, schema) { return (__assign(__assign({}, obj), schema === null || schema === void 0 ? void 0 : schema.subMappings)); }, {});\n};\nexport var getSubMappingsByUrlMappingKey = function (key) { var _a, _b; return ((_b = (_a = getUrlMappingVariablesSchema()) === null || _a === void 0 ? void 0 : _a[key]) === null || _b === void 0 ? void 0 : _b.subMappings) || {}; };\nexport var getMainUrlMappingSchemaBySubMappingKey = function (key) {\n    return Object.entries(getUrlMappingVariablesSchema()).find(function (_a) {\n        var _b;\n        var _c = __read(_a, 2), _ = _c[0], schema = _c[1];\n        return Boolean((_b = schema === null || schema === void 0 ? void 0 : schema.subMappings) === null || _b === void 0 ? void 0 : _b[key]);\n    });\n};\nexport var getSubMapping = function (key) { var _a, _b, _c; return (_c = (_b = (_a = getMainUrlMappingSchemaBySubMappingKey(key)) === null || _a === void 0 ? void 0 : _a[1]) === null || _b === void 0 ? void 0 : _b.subMappings) === null || _c === void 0 ? void 0 : _c[key]; };\nexport var getRequiredVariables = function (key) {\n    var _a, _b, _c;\n    var required = [];\n    var isSubMapping = isSubMappingsKey(key);\n    if (isSubMapping) {\n        var _d = __read(getMainUrlMappingSchemaBySubMappingKey(key), 2), _1 = _d[0], schema = _d[1];\n        required.push.apply(required, __spreadArray(__spreadArray([], __read(((schema === null || schema === void 0 ? void 0 : schema.required) || [])), false), __read((((_b = (_a = schema === null || schema === void 0 ? void 0 : schema.subMappings) === null || _a === void 0 ? void 0 : _a[key]) === null || _b === void 0 ? void 0 : _b.required) || [])), false));\n    }\n    else {\n        required.push.apply(required, __spreadArray([], __read((((_c = getUrlMappingVariablesSchemaByKey(key)) === null || _c === void 0 ? void 0 : _c.required) || [])), false));\n    }\n    return required;\n};\n//# sourceMappingURL=vertical-mappings-utils.js.map","/**\n *\n * Get specific Url mapping\n * @param {UrlMappings} urlMappings - An object with key as type (default 'main') and array of Url Mapping as value\n * @param {String} key - A unique string that represent the url mapping entity, a page identifier for example 'wix.stores.sub_pages.product' for product page, 'pageId' for dynamic pages, etc...\n * @return {UrlMapping} urlMapping - The main URL mapping entity\n * @example <caption>Usage of the method</caption>\n *\n *\n * const urlMapping = {\n *       key: 'wix.stores.sub_pages.product',\n *       mapping: 'some-prefix/{{product-name}}',\n *       pageIdentifier: 'product-page',\n *       pageIdentifierType: PageIdentifierType.tpaPageId\n * }\n *\n * const urlMappings = {\n *  main: [urlMapping]\n * }\n *\n * getUrlMapping(urlMappings, 'com.wix.id');\n * // returns urlMapping\n *\n *\n **/\nexport var getUrlMapping = function (urlMappings, key) {\n    var _a, _b;\n    if (key === void 0) { key = ''; }\n    return (_b = (_a = urlMappings === null || urlMappings === void 0 ? void 0 : urlMappings.main) === null || _a === void 0 ? void 0 : _a.find) === null || _b === void 0 ? void 0 : _b.call(_a, function (urlMapping) { return urlMapping.key === key; });\n};\n//# sourceMappingURL=get-url-mapping.js.map","export var paramValidatorError = function (type, message) {\n    return new Error(\"Url Mappings Error - [\".concat(type, \"]: \").concat(message));\n};\n//# sourceMappingURL=errors.js.map","import { UrlMappingsKeys } from '../types';\nimport { paramValidatorError } from './errors';\nvar keyOptions = Object.values(UrlMappingsKeys);\nexport var keyValidatorError = paramValidatorError('key', \"must be one of: \".concat(keyOptions.toString()));\nexport var keyValidator = function (key) {\n    var typeofKey = typeof key;\n    if (typeofKey !== 'string' || !keyOptions.includes(key)) {\n        return keyValidatorError;\n    }\n};\n//# sourceMappingURL=key.js.map","import { paramValidatorError } from './errors';\nexport var itemDataValidatorError = paramValidatorError('itemData', \"must be on object with string as value, for example: { \\\"slug\\\": \\\"shoes\\\" }\");\nexport var itemDataValidator = function (itemData) {\n    var typeofKey = typeof itemData;\n    if (typeofKey !== 'object' ||\n        !itemData ||\n        !Object.values(itemData).every(function (item) { return typeof item === 'string'; }) ||\n        Array.isArray(itemData)) {\n        return itemDataValidatorError;\n    }\n};\n//# sourceMappingURL=item-data.js.map","import { paramValidatorError } from './errors';\nimport { getRequiredVariables } from '../types';\nexport var requiredVariablesValidatorError = paramValidatorError('itemData', \"must have required variables, for example: { \\\"slug\\\": \\\"shoes\\\" }\");\nexport var requiredVariablesValidator = function (key, itemData) {\n    try {\n        var required = getRequiredVariables(key);\n        if (!required.every(function (requiredVariable) {\n            return Boolean(itemData[requiredVariable]);\n        }) ||\n            !required.length) {\n            throw new Error();\n        }\n    }\n    catch (e) {\n        return requiredVariablesValidatorError;\n    }\n};\n//# sourceMappingURL=required-variables-validator.js.map","import { variablePattern, placeholderPattern, } from './constants';\nimport { getUrlMapping } from './get-url-mapping';\nimport { buildCustomUrlValidators } from './param-validators/build-custom-url-validators';\nvar interpolate = function (itemData) { return function (placeholder) {\n    var placeholderRegex = new RegExp(placeholderPattern, 'g');\n    var itemDataKey = placeholder.replace(placeholderRegex, '');\n    return itemData === null || itemData === void 0 ? void 0 : itemData[itemDataKey];\n}; };\n/**\n *\n * Builds a URL according to a given identifer and itemData\n * @param {UrlMappings} urlMappings - An object with key as type (default 'main') and array of Url Mapping as value\n * @param {String} key - A unique string that represent the url mapping entity, a page identifier for example 'wix.stores.sub_pages.product' for product page, 'pageId' for dynamic pages, etc...\n * @param {Object} itemData - An object that represent the variables in the url e.g. {'product-name': 'cool-product' } -> /my-store/{{product-name}}\n * @param {BuildCustomizedUrlOptions} [options] -Get url mapping extra options and configurations\n * @return {String} url - The url that was build\n * @example <caption>Usage of the method</caption>\n *\n *\n * const urlMapping = {\n *       key: 'wix.stores.sub_pages.product',\n *       mapping: 'some-prefix/{{product-name}}',\n *       pageIdentifier: 'product-page',\n *       pageIdentifierType: PageIdentifierType.tpaPageId\n * }\n *\n * const itemData = {\n * slug: 'cool-watch'\n * }\n *\n * const urlMappings = {\n *  main: [urlMapping]\n * }\n *\n * buildCustomizedUrl(urlMappings, 'com.wix.id', itemData);\n * // returns '/my-shop/cool-watch'\n *\n *\n **/\nexport var buildCustomizedUrl = function (urlMappings, key, itemData, options) {\n    if (urlMappings === void 0) { urlMappings = { main: [] }; }\n    if (options === void 0) { options = {}; }\n    var error = buildCustomUrlValidators({ key: key, itemData: itemData });\n    if (error) {\n        throw error;\n    }\n    var mapping = (getUrlMapping(urlMappings, key) || {}).mapping;\n    var baseUrl = (options || {}).baseUrl;\n    baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : '';\n    baseUrl = baseUrl.endsWith('/') ? baseUrl === null || baseUrl === void 0 ? void 0 : baseUrl.slice(0, -1) : baseUrl;\n    if (!mapping || typeof mapping !== 'string') {\n        return;\n    }\n    var variableRegex = new RegExp(variablePattern, 'g');\n    var urlPath = mapping.replace(variableRegex, interpolate(itemData));\n    return baseUrl.concat(\"/\".concat(urlPath));\n};\n//# sourceMappingURL=build-customized-url.js.map","import { keyValidator } from './key';\nimport { itemDataValidator } from './item-data';\nimport { requiredVariablesValidator } from './required-variables-validator';\nexport var buildCustomUrlValidators = function (_a) {\n    var key = _a.key, itemData = _a.itemData;\n    return [\n        keyValidator(key),\n        itemDataValidator(itemData),\n        requiredVariablesValidator(key, itemData),\n    ].find(Boolean);\n};\n//# sourceMappingURL=build-custom-url-validators.js.map","import { trailingSlashesPattern, validBaseUrl } from '../constants';\nexport var getUrlPath = function (url, baseUrl) {\n    if (url === void 0) { url = ''; }\n    if (baseUrl === void 0) { baseUrl = ''; }\n    try {\n        if (baseUrl && url.startsWith(baseUrl)) {\n            url = url.replace(baseUrl, '');\n        }\n        var urlPath = new URL(url, validBaseUrl).pathname.replace(trailingSlashesPattern, '');\n        if (urlPath) {\n            var decodedUrl = decodeURIComponent(urlPath);\n            return decodedUrl.replace(trailingSlashesPattern, '');\n        }\n        else {\n            return '';\n        }\n    }\n    catch (_a) {\n        return '';\n    }\n};\n//# sourceMappingURL=get-url-path.js.map","export var validBaseUrl = 'https://baseUrl';\n//# sourceMappingURL=valid-base-url.js.map","import { exactVariablePattern } from '../constants';\nexport function sortUrlMappingsSegments(firstMapping, secondMapping) {\n    return getSegmentsWeight(secondMapping) - getSegmentsWeight(firstMapping);\n}\nvar getSegmentsWeight = function (mapping) {\n    var segments = mapping.split('/');\n    return segments.reduce(function (totalWeight, currentSegment, index) {\n        var isVariable = exactVariablePattern.test(currentSegment);\n        var segmentWeight = isVariable\n            ? 0\n            : Math.pow(10, segments.length - index);\n        return totalWeight + segmentWeight;\n    }, 0);\n};\n//# sourceMappingURL=sort-url-mappings-segments.js.map","export var UrlValidatorErrors;\n(function (UrlValidatorErrors) {\n    UrlValidatorErrors[\"MAX_LENGTH_ERROR\"] = \"MAX_LENGTH_ERROR\";\n    UrlValidatorErrors[\"NO_SPACES_ERROR\"] = \"NO_SPACES_ERROR\";\n    UrlValidatorErrors[\"NO_EMPTY_SEGMENT_ERROR\"] = \"NO_EMPTY_SEGMENT_ERROR\";\n    UrlValidatorErrors[\"CONTAIN_MAIN_VARIABLE_ERROR\"] = \"CONTAIN_MAIN_VARIABLE_ERROR\";\n    UrlValidatorErrors[\"ONLY_ONE_VARIABLE_PER_SEGMENT_ERROR\"] = \"ONLY_ONE_VARIABLE_PER_SEGMENT_ERROR\";\n    UrlValidatorErrors[\"ONLY_UNIQUE_PUBLISHED_URL_ERROR\"] = \"ONLY_UNIQUE_PUBLISHED_URL_ERROR\";\n    UrlValidatorErrors[\"ONLY_UNIQUE_SAVED_URL_ERROR\"] = \"ONLY_UNIQUE_SAVED_URL_ERROR\";\n    UrlValidatorErrors[\"ONLY_UNIQUE_MAPPING_ERROR\"] = \"ONLY_UNIQUE_MAPPING_ERROR\";\n    UrlValidatorErrors[\"NO_INVALID_CHARACTERS_ERROR\"] = \"NO_INVALID_CHARACTERS_ERROR\";\n    UrlValidatorErrors[\"NO_STARTING_OR_ENDING_SLASH_ERROR\"] = \"NO_STARTING_OR_ENDING_SLASH_ERROR\";\n})(UrlValidatorErrors || (UrlValidatorErrors = {}));\n//# sourceMappingURL=types.js.map","import { variablePattern, wildCardPattern } from '../constants';\nvar REGEX_FOR_SPECIAL_CHARS = /[.*+?^$()|]/g;\nexport var getMappingRegex = function (mapping) {\n    var mappingWithWildCards = mapping\n        .replace(REGEX_FOR_SPECIAL_CHARS, '\\\\$&')\n        .replace(new RegExp(variablePattern, 'g'), wildCardPattern);\n    return RegExp(\"^\".concat(mappingWithWildCards, \"$\"));\n};\n//# sourceMappingURL=get-mapping-regex.js.map","import { __assign } from \"tslib\";\nimport { getMappingVariables } from '../get-mapping-variables';\nimport { getMappingRegex } from './get-mapping-regex';\nexport var resolveMappingVariables = function (mapping, urlPath) {\n    var regex = getMappingRegex(mapping);\n    var matching = urlPath === null || urlPath === void 0 ? void 0 : urlPath.match(regex);\n    if (matching) {\n        var variables = getMappingVariables(mapping);\n        var itemData = variables.reduce(function (urlSegments, currentVariable, index) {\n            var _a;\n            return (__assign(__assign({}, urlSegments), (_a = {}, _a[currentVariable] = matching[index + 1], _a)));\n        }, {});\n        return itemData;\n    }\n    return {};\n};\n//# sourceMappingURL=resolve-mapping-variables.js.map","import { variablePattern } from './constants';\n/**\n *\n * Get variables for specific mapping\n * @param {string} mapping - Url with mapped variables for example 'my-shoes/{{product-name}}'\n * @return {Array} variables - Repeated string with the variables from the mapping for example '[\"product-name\"]'\n * @example <caption>Usage of the method</caption>\n * // returns [\"product-name\"]\n * getMappingVariables('/my-shoes/{{product-name}}');\n *\n **/\nexport var getMappingVariables = function (mapping) {\n    if (!mapping) {\n        return [];\n    }\n    return Array.from(mapping.matchAll(new RegExp(variablePattern, 'g')), function (matches) { return matches[1]; });\n};\n//# sourceMappingURL=get-mapping-variables.js.map","import { getMappingRegex } from './utils/get-mapping-regex';\nexport var getMatchedMapping = function (urlMappings, url) {\n    if (urlMappings === void 0) { urlMappings = []; }\n    return urlMappings.find(function (mapping) { return getMappingRegex(mapping).test(url); });\n};\nexport var getMatchedMappingIndex = function (urlMappings, url) {\n    if (urlMappings === void 0) { urlMappings = []; }\n    return urlMappings.findIndex(function (mapping) { return getMappingRegex(mapping).test(url); });\n};\n//# sourceMappingURL=get-matched-mapping.js.map","import { __assign } from \"tslib\";\nimport { legacyBlog, slugRegex } from '../../../constants';\nimport { resolveMappingVariables } from '../../resolve-mapping-variables';\nimport { getMatchedMappingIndex } from '../../../get-matched-mapping';\nimport { getUrlMapping } from '../../..';\nimport { UrlMappingsKeys } from '../../../constants/verticals/url-mappings-keys';\nexport var legacyBlogUrlChecker = function (urlMappings, url) {\n    if (urlMappings === void 0) { urlMappings = { main: [] }; }\n    var mapping = (getUrlMapping(urlMappings, UrlMappingsKeys.BLOG_POST) || {}).mapping;\n    if (!(mapping === null || mapping === void 0 ? void 0 : mapping.includes(legacyBlog.basicSlug))) {\n        return;\n    }\n    var legacyUrlRegexes = legacyBlog.regexes.map(function (legacyRegex) {\n        return mapping.replace(slugRegex, legacyRegex);\n    });\n    var index = getMatchedMappingIndex(legacyUrlRegexes, url);\n    if (index < 0) {\n        return;\n    }\n    var matchedMapping = mapping.replace(slugRegex, legacyBlog.mappings[index]);\n    var urlSegments = resolveMappingVariables(matchedMapping, url);\n    var slugSegments = legacyBlog.slugSegments\n        .map(function (slugPart) { return urlSegments[slugPart]; })\n        .filter(function (x) { return x; });\n    var slug = slugSegments.join('/');\n    var dateSegments = Object.keys(urlSegments).reduce(function (segments, key) {\n        if (!legacyBlog.slugSegments.includes(key)) {\n            segments[key] = urlSegments[key];\n        }\n        return segments;\n    }, {});\n    return __assign(__assign({}, dateSegments), { slug: slug });\n};\n//# sourceMappingURL=legacy-blog-url-checker.js.map","import { UrlMappingsKeys } from '../../types';\nimport { legacyBlogUrlChecker } from './checkers/legacy-blog-url-checker';\nexport var getLegacyUrlSegments = function (urlMappings, url) {\n    if (urlMappings === void 0) { urlMappings = { main: [] }; }\n    var legacyUrlSegments;\n    var legacyUrlCheckers = [\n        {\n            key: UrlMappingsKeys.BLOG_POST,\n            checker: legacyBlogUrlChecker,\n        },\n    ];\n    var isLegacyUrl = legacyUrlCheckers.find(function (_a) {\n        var key = _a.key, checker = _a.checker;\n        var segments = checker(urlMappings, url);\n        legacyUrlSegments = { key: key, segments: checker(urlMappings, url) || {} };\n        return Boolean(segments);\n    });\n    if (isLegacyUrl) {\n        return legacyUrlSegments;\n    }\n};\n//# sourceMappingURL=get-legacy-url-segments.js.map","import { paramValidatorError } from './errors';\nexport var urlValidatorError = paramValidatorError('url', \"Url must be a string\");\nexport var urlValidator = function (url) {\n    var typeofUrl = typeof url;\n    if (typeofUrl !== 'string') {\n        return urlValidatorError;\n    }\n};\n//# sourceMappingURL=url.js.map","import { getLegacyUrlSegments, resolveMappingVariables, getUrlPath, sortUrlMappingsSegments, } from './utils';\nimport { getMatchedMapping } from '.';\nimport { getUrlSegmentsValidators } from './param-validators/get-url-segments-validators';\n/**\n *\n * Returns segments object for a given URL, after matching URL with given user's mappings\n *\n * IMPORTANT NOTE: ANY CHANGES APPLIED TO THIS LOGIC NEEDS TO BE SYNCED WITH VIEWER SERVER TEAM\n * AS HTML-RENDERER FOLLOWS THIS IMPLEMENTATION IN SCALA LANGUAGE. PLEASE CONTACT THE TEAM @ #viewer-server\n *\n * @param {UrlMappings} urlMappings - An object with key as type (default 'main') and array of Url Mapping as value\n * @param {String} url - A string that represent full location path e.g. https://domain.com/{{slug}}/shop , domain.com/{{id}} ,/cool/{{id}}/shop\n * @param {GetCustomizedUrlSegmentsOptions} [options] - Get Url Segments extra options and configurations\n * @return {GetCustomizedUrlSegmentsResponse} URL Segments - An object that represents the variables in the URL e.g. /my-store/{{product-name}} -> { key: 'wix.stores.sub_pages.product', segments: { 'product-name': 'cool-product' }}\n * @example <caption>Usage of the method</caption>\n *\n *\n * const urlMapping = {\n *       key: 'wix.stores.sub_pages.product',\n *       mapping: 'some-prefix/{{slug}}',\n *       pageIdentifier: 'product-page',\n *       pageIdentifierType: PageIdentifierType.tpaPageId\n * }\n *\n *\n * const urlMappings = {\n *  main: [urlMapping]\n * }\n *\n * getCustomizedUrlSegments(urlMappings, 'domain.com/my-shop/cool-watch');\n * // returns { key: 'wix.stores.sub_pages.product', slug: 'cool-watch' }\n *\n *\n **/\nexport var getCustomizedUrlSegments = function (urlMappings, url, options) {\n    var _a;\n    if (urlMappings === void 0) { urlMappings = { main: [] }; }\n    if (options === void 0) { options = {}; }\n    var error = getUrlSegmentsValidators({ url: url });\n    if (error) {\n        throw error;\n    }\n    var baseUrl = options.baseUrl;\n    var urlPath = getUrlPath(url, baseUrl);\n    var legacyUrlSegments = getLegacyUrlSegments(urlMappings, urlPath);\n    if (legacyUrlSegments) {\n        return legacyUrlSegments;\n    }\n    var sortedMappings = (_a = urlMappings === null || urlMappings === void 0 ? void 0 : urlMappings.main) === null || _a === void 0 ? void 0 : _a.map(function (urlMapping) { return urlMapping.mapping || ''; }).sort(sortUrlMappingsSegments);\n    var matchedMapping = getMatchedMapping(sortedMappings, urlPath);\n    if (!matchedMapping) {\n        return;\n    }\n    var key = urlMappings.main.find(function (item) { return item.mapping === matchedMapping; }).key;\n    var segments = resolveMappingVariables(matchedMapping, urlPath);\n    return { key: key, segments: segments };\n};\n//# sourceMappingURL=get-customized-url-segments.js.map","import { urlValidator } from './url';\nexport var getUrlSegmentsValidators = function (_a) {\n    var url = _a.url;\n    return [urlValidator(url)].find(Boolean);\n};\n//# sourceMappingURL=get-url-segments-validators.js.map","import { getUrlPath, getLegacyUrlSegments, sortUrlMappingsSegments, } from './utils';\nimport { getMatchedMapping } from './get-matched-mapping';\nexport var getUrlPageId = function (urlMappings, tpaPageIds, url) {\n    var _a, _b, _c;\n    if (urlMappings === void 0) { urlMappings = { main: [] }; }\n    var urlPath = getUrlPath(url);\n    var matchedKey = (getLegacyUrlSegments(urlMappings, urlPath) || {}).key;\n    var sortedMappings = (_a = urlMappings === null || urlMappings === void 0 ? void 0 : urlMappings.main) === null || _a === void 0 ? void 0 : _a.map(function (urlMapping) { return urlMapping.mapping || ''; }).sort(sortUrlMappingsSegments);\n    var matchedMapping = getMatchedMapping(sortedMappings, urlPath);\n    var tpaPageId = (_c = (_b = urlMappings === null || urlMappings === void 0 ? void 0 : urlMappings.main) === null || _b === void 0 ? void 0 : _b.find(function (_a) {\n        var mapping = _a.mapping, key = _a.key;\n        return mapping === matchedMapping || key === matchedKey;\n    })) === null || _c === void 0 ? void 0 : _c.pageIdentifier;\n    return (tpaPageId && tpaPageIds[tpaPageId]) || '';\n};\n//# sourceMappingURL=get-url-page-id.js.map","export var noSpacesValidator = function (value) {\n    return [' ', '\\t', '\\n'].every(function (invalidChar) { var _a; return !((_a = value === null || value === void 0 ? void 0 : value.includes) === null || _a === void 0 ? void 0 : _a.call(value, invalidChar)); });\n};\n//# sourceMappingURL=no-spaces-validator.js.map","import { UrlMapperValidators } from '../validator';\nexport var maxLengthValidator = function (value) {\n    return (value === null || value === void 0 ? void 0 : value.length) <= UrlMapperValidators.MAX_URL_MAPPING_LENGTH;\n};\n//# sourceMappingURL=max-length-validator.js.map","export var noEmptySegmentValidator = function (value) { return value === null || value === void 0 ? void 0 : value.split('/').every(Boolean); };\n//# sourceMappingURL=no-empty-segment-validator.js.map","import { getRequiredVariables } from '../../src';\nexport var containMainVariableValidator = function (value, _a) {\n    var urlMappingKey = _a.urlMappingKey;\n    var required = getRequiredVariables(urlMappingKey);\n    return required === null || required === void 0 ? void 0 : required.every(function (main) { return value === null || value === void 0 ? void 0 : value.includes(\"{{\".concat(main, \"}}\")); });\n};\n//# sourceMappingURL=contain-main-variable-validator.js.map","import { variablePattern } from '../../src';\nvar isSegmentHasAtListOneVariable = function (segment) {\n    var match = segment.match(new RegExp(variablePattern, 'g'));\n    var hasAtListOneVariable = ((match === null || match === void 0 ? void 0 : match.length) || 0) <= 1;\n    return hasAtListOneVariable;\n};\nexport var onlyOneVariablePerSegmentValidator = function (value) {\n    return value === null || value === void 0 ? void 0 : value.split('/').every(isSegmentHasAtListOneVariable);\n};\n//# sourceMappingURL=only-one-variable-per-segment-validator.js.map","import { __read } from \"tslib\";\nexport var baseOnlyUniqueUrlValidator = function (pathPrefixes) {\n    return function (value, defaultMapping) {\n        var segments = value.split('/');\n        var isDefaultMapping = value === defaultMapping;\n        if (segments.length < 1 || isDefaultMapping) {\n            return true;\n        }\n        var defaultSegments = defaultMapping.split('/');\n        var _a = __read(defaultSegments, 1), defaultPrefix = _a[0];\n        var _b = __read(segments, 1), firstSegment = _b[0];\n        var result = pathPrefixes.every(function (pathPrefix) {\n            return pathPrefix === defaultPrefix ? true : pathPrefix !== firstSegment;\n        });\n        return result;\n    };\n};\n//# sourceMappingURL=utils.js.map","import { baseOnlyUniqueUrlValidator } from '../utils';\nexport var onlyUniquePublishedUrlValidator = function (value, validatorProps) {\n    var pathPrefixes = validatorProps.pathPrefixes;\n    var publishedPathPrefixes = Object.values(pathPrefixes)\n        .map(function (_a) {\n        var publishedPrefix = _a.publishedPrefix;\n        return publishedPrefix;\n    })\n        .filter(Boolean);\n    return baseOnlyUniqueUrlValidator(publishedPathPrefixes)(value, validatorProps.defaultMapping.defaultPublished);\n};\n//# sourceMappingURL=only-unique-published-url-validator.js.map","import { getMatchedMapping } from '../../src';\nexport var onlyUniqueMappingValidator = function (value, _a) {\n    var _b;\n    var urlMappingKey = _a.urlMappingKey, urlMappings = _a.urlMappings;\n    return !getMatchedMapping((_b = urlMappings.main) === null || _b === void 0 ? void 0 : _b.filter(function (_a) {\n        var key = _a.key;\n        return urlMappingKey !== key;\n    }).map(function (_a) {\n        var mapping = _a.mapping;\n        return mapping;\n    }), value);\n};\n//# sourceMappingURL=only-unique-mapping-validator.js.map","import { variablePattern } from '../../src';\nexport var noInvalidCharacters = function (value) {\n    value = value.replace(new RegExp(variablePattern, 'ig'), '');\n    var invalidRegex = new RegExp(/[^\\]_.~!*'();:@&=+$,<>\\\\#^%?`\"]/, 'g');\n    var emojiRegex = /(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\u0023-\\u0039]\\ufe0f?\\u20e3|\\u3299|\\u3297|\\u303d|\\u3030|\\u24c2|\\ud83c[\\udd70-\\udd71]|\\ud83c[\\udd7e-\\udd7f]|\\ud83c\\udd8e|\\ud83c[\\udd91-\\udd9a]|\\ud83c[\\udde6-\\uddff]|[\\ud83c[\\ude01-\\ude02]|\\ud83c\\ude1a|\\ud83c\\ude2f|[\\ud83c[\\ude32-\\ude3a]|[\\ud83c[\\ude50-\\ude51]|\\u203c|\\u2049|[\\u25aa-\\u25ab]|\\u25b6|\\u25c0|[\\u25fb-\\u25fe]|\\u00a9|\\u00ae|\\u2122|\\u2139|\\ud83c\\udc04|[\\u2600-\\u26FF]|\\u2b05|\\u2b06|\\u2b07|\\u2b1b|\\u2b1c|\\u2b50|\\u2b55|\\u231a|\\u231b|\\u2328|\\u23cf|[\\u23e9-\\u23f3]|[\\u23f8-\\u23fa]|\\ud83c\\udccf|\\u2934|\\u2935|[\\u2190-\\u21ff])/g;\n    var noEmoji = !emojiRegex.test(value);\n    var noInvalidCharacter = !value.replace(invalidRegex, '');\n    return noEmoji && noInvalidCharacter;\n};\n//# sourceMappingURL=no-invalid-characters.js.map","import { __read } from \"tslib\";\nexport var noStartingOrEndingSlash = function (value) {\n    var _a = __read(value, 1), firstChar = _a[0];\n    var lastChar = value.slice(-1);\n    return firstChar !== '/' && lastChar !== '/';\n};\n//# sourceMappingURL=no-starting-or-ending-slash-validator.js.map","import { baseOnlyUniqueUrlValidator } from '../utils';\nexport var onlyUniqueSavedUrlValidator = function (value, validatorProps) {\n    var pathPrefixes = validatorProps.pathPrefixes;\n    var savedPathPrefixes = Object.values(pathPrefixes)\n        .map(function (_a) {\n        var savedPrefix = _a.savedPrefix;\n        return savedPrefix;\n    })\n        .filter(Boolean);\n    return baseOnlyUniqueUrlValidator(savedPathPrefixes)(value, validatorProps.defaultMapping.defaultSaved);\n};\n//# sourceMappingURL=only-unique-saved-url-validator.js.map","import { __read, __values } from \"tslib\";\nimport { getPathPrefixesValidationMapping, getTpaPageIdByUrlMappingKey, isSubMappingsKey, } from '../src';\nimport { noSpacesValidator, maxLengthValidator, noEmptySegmentValidator, containMainVariableValidator, onlyOneVariablePerSegmentValidator, onlyUniquePublishedUrlValidator, onlyUniqueMappingValidator, noInvalidCharacters, noStartingOrEndingSlash, onlyUniqueSavedUrlValidator, } from './validators';\nimport { UrlValidatorErrors, } from './types';\nexport var urlMapperValidatorsFactory = function (params) {\n    return new UrlMapperValidators(params);\n};\nvar UrlMapperValidators = /** @class */ (function () {\n    function UrlMapperValidators(_a) {\n        var urlMappingKey = _a.urlMappingKey, pathPrefixes = _a.pathPrefixes, urlMappings = _a.urlMappings;\n        var _this = this;\n        this.initValidators = function () {\n            _this.validators = [\n                [maxLengthValidator, UrlValidatorErrors.MAX_LENGTH_ERROR],\n                [noSpacesValidator, UrlValidatorErrors.NO_SPACES_ERROR],\n                [\n                    noStartingOrEndingSlash,\n                    UrlValidatorErrors.NO_STARTING_OR_ENDING_SLASH_ERROR,\n                ],\n                [noEmptySegmentValidator, UrlValidatorErrors.NO_EMPTY_SEGMENT_ERROR],\n                [noInvalidCharacters, UrlValidatorErrors.NO_INVALID_CHARACTERS_ERROR],\n                [\n                    containMainVariableValidator,\n                    UrlValidatorErrors.CONTAIN_MAIN_VARIABLE_ERROR,\n                ],\n                [\n                    onlyOneVariablePerSegmentValidator,\n                    UrlValidatorErrors.ONLY_ONE_VARIABLE_PER_SEGMENT_ERROR,\n                ],\n                [\n                    onlyUniquePublishedUrlValidator,\n                    UrlValidatorErrors.ONLY_UNIQUE_PUBLISHED_URL_ERROR,\n                ],\n                [\n                    onlyUniqueSavedUrlValidator,\n                    UrlValidatorErrors.ONLY_UNIQUE_SAVED_URL_ERROR,\n                ],\n                [\n                    onlyUniqueMappingValidator,\n                    UrlValidatorErrors.ONLY_UNIQUE_MAPPING_ERROR,\n                ],\n            ];\n        };\n        this.urlMappings = urlMappings;\n        this.pathPrefixes = pathPrefixes;\n        this.urlMappingKey = urlMappingKey;\n        this.pathPrefix = this.getPathPrefix();\n        this.defaultMapping = getPathPrefixesValidationMapping(urlMappingKey, this.pathPrefix);\n        this.initValidators();\n    }\n    UrlMapperValidators.prototype.getPathPrefix = function () {\n        var tpaPageId = getTpaPageIdByUrlMappingKey(this.urlMappingKey);\n        if (!tpaPageId) {\n            if (isSubMappingsKey(this.urlMappingKey)) {\n                throw new Error('Url Mapper Validator Error: Validator does not support sub mapping, please use the main url mapping key');\n            }\n            else {\n                throw new Error(\"Url Mapper Validator Error: Url mapping key is not supported (\".concat(this.urlMappingKey, \")\"));\n            }\n        }\n        var pathPrefix = this.pathPrefixes[tpaPageId] || UrlMapperValidators.FALLBACK_PATH_PREFIX;\n        return pathPrefix;\n    };\n    Object.defineProperty(UrlMapperValidators.prototype, \"validatorProps\", {\n        get: function () {\n            var _a = this, urlMappingKey = _a.urlMappingKey, urlMappings = _a.urlMappings, pathPrefix = _a.pathPrefix, pathPrefixes = _a.pathPrefixes, defaultMapping = _a.defaultMapping;\n            return {\n                urlMappingKey: urlMappingKey,\n                urlMappings: urlMappings,\n                pathPrefix: pathPrefix,\n                pathPrefixes: pathPrefixes,\n                defaultMapping: defaultMapping,\n            };\n        },\n        enumerable: false,\n        configurable: true\n    });\n    /**\n     *\n     * Validate the url mapping\n     *\n     * @param {String} value value to validate\n     * @returns {ValidateReturn} validator object\n     */\n    UrlMapperValidators.prototype.validate = function (value) {\n        var e_1, _a;\n        try {\n            for (var _b = __values(this.validators), _c = _b.next(); !_c.done; _c = _b.next()) {\n                var _d = __read(_c.value, 2), validatorFn = _d[0], error = _d[1];\n                var isValid = Boolean(validatorFn(value, this.validatorProps));\n                if (!isValid) {\n                    return { isValid: isValid, error: error };\n                }\n            }\n        }\n        catch (e_1_1) { e_1 = { error: e_1_1 }; }\n        finally {\n            try {\n                if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n            }\n            finally { if (e_1) throw e_1.error; }\n        }\n        return { isValid: true };\n    };\n    UrlMapperValidators.errorArray = Object.values(UrlValidatorErrors);\n    UrlMapperValidators.MAX_URL_MAPPING_LENGTH = 1000;\n    UrlMapperValidators.FALLBACK_PATH_PREFIX = 'unknown';\n    return UrlMapperValidators;\n}());\nexport { UrlMapperValidators };\n//# sourceMappingURL=validator.js.map","import { __read, __spreadArray } from \"tslib\";\nimport { UrlMapperValidators } from '../validator';\nimport { getUrlMappingVariablesSchema, } from './types';\nexport var getDefaultMapping = function (urlMappingKey, pathPrefix) {\n    var _a, _b;\n    var _c = getUrlMappingVariablesSchema()[urlMappingKey] || {\n        required: ['slug'],\n    }, required = _c.required, defaultPrefix = _c.defaultPrefix;\n    if (pathPrefix && typeof pathPrefix === 'object') {\n        pathPrefix = (_b = (_a = pathPrefix.publishedPrefix) !== null && _a !== void 0 ? _a : pathPrefix.savedPrefix) !== null && _b !== void 0 ? _b : '';\n    }\n    if (pathPrefix === defaultPrefix) {\n        pathPrefix = '';\n    }\n    return __spreadArray([pathPrefix, defaultPrefix], __read(required === null || required === void 0 ? void 0 : required.map(function (main) { return \"{{\".concat(main, \"}}\"); })), false).filter(Boolean)\n        .join('/');\n};\nexport var getPathPrefixesValidationMapping = function (urlMappingKey, pathPrefix) {\n    var _a, _b;\n    var _c = getUrlMappingVariablesSchema()[urlMappingKey] || {\n        required: ['slug'],\n    }, required = _c.required, defaultPrefix = _c.defaultPrefix;\n    var result = {};\n    if (pathPrefix && typeof pathPrefix === 'object') {\n        result.savedPrefix = (_a = pathPrefix.savedPrefix) !== null && _a !== void 0 ? _a : '';\n        result.publishedPrefix = (_b = pathPrefix.publishedPrefix) !== null && _b !== void 0 ? _b : '';\n    }\n    else {\n        result.savedPrefix = UrlMapperValidators.FALLBACK_PATH_PREFIX;\n        result.publishedPrefix = UrlMapperValidators.FALLBACK_PATH_PREFIX;\n    }\n    var defaultSaved = __spreadArray([\n        result.savedPrefix,\n        defaultPrefix\n    ], __read(required === null || required === void 0 ? void 0 : required.map(function (main) { return \"{{\".concat(main, \"}}\"); })), false).filter(Boolean)\n        .join('/');\n    var defaultPublished = __spreadArray([\n        result.publishedPrefix,\n        defaultPrefix\n    ], __read(required === null || required === void 0 ? void 0 : required.map(function (main) { return \"{{\".concat(main, \"}}\"); })), false).filter(Boolean)\n        .join('/');\n    return { defaultSaved: defaultSaved, defaultPublished: defaultPublished };\n};\n//# sourceMappingURL=get-default-mapping.js.map","export const name = 'ooi' as const\nexport const ReactLoaderForOOISymbol = Symbol.for('ReactLoaderForOOISymbol')\nexport const OOISsrManagerSymbol = Symbol.for('OOISsrManager')\nexport const ModuleFederationSharedScopeSymbol = Symbol.for('ModuleFederationSharedScope')\nexport const OOIPageComponentsLoaderSymbol = Symbol.for('OOIPageComponentsLoader')\n","export interface FontObject {\n\tstyle: string\n\tvariant: string\n\tweight: string\n\tsize: number\n\tsizeUnit?: string\n\tlineHeight: string\n\tfamily: Array<string>\n\tbold: boolean\n\titalic: boolean\n}\n\nconst invalidFonObj: FontObject = {\n\tstyle: '',\n\tvariant: '',\n\tweight: '',\n\tsize: -1,\n\tlineHeight: '',\n\tfamily: [],\n\tbold: false,\n\titalic: false,\n}\n\nconst extractFromQuotes = (str: string): string => {\n\tconst match = str.match(/'(?<strInQuotes>.*?)'/)\n\n\treturn match ? match.groups!.strInQuotes : str\n}\n\nconst fontRegEx = /(?<style>.*?)\\s(?<variant>.*?)\\s(?<weight>.*?)\\s(?<size>.*?)\\s(?<fullFontFamily>.*)/\n\nexport const parseFontStr = (font: string): FontObject => {\n\tconst match = font.match(fontRegEx)\n\tif (!match) {\n\t\treturn invalidFonObj\n\t}\n\n\tconst { style, variant, weight, size, fullFontFamily } = match.groups!\n\tconst sizeSplit = size ? size.split('/') : []\n\tconst fullFontFamilyArr = fullFontFamily.split(',').map((currFamily) => extractFromQuotes(currFamily))\n\tconst sizeValue = sizeSplit[0].replace(/[a-z|%]+/, '')\n\tconst sizeUnit = sizeSplit[0].replace(sizeValue, '')\n\treturn {\n\t\tstyle,\n\t\tvariant,\n\t\tweight,\n\t\tsize: parseInt(sizeValue, 10),\n\t\tsizeUnit,\n\t\tlineHeight: sizeSplit[1],\n\t\tfamily: fullFontFamilyArr,\n\t\tbold: weight === 'bold' || parseInt(weight, 10) >= 700,\n\t\titalic: style === 'italic',\n\t}\n}\n","import { parseFontStr, getFontFamilyWithFallbacks } from './fonts'\n\nexport const textPresetKeys = [\n\t'Title',\n\t'Menu',\n\t'Page-title',\n\t'Heading-XL',\n\t'Heading-L',\n\t'Heading-M',\n\t'Heading-S',\n\t'Body-L',\n\t'Body-M',\n\t'Body-S',\n\t'Body-XS',\n]\n\nexport type TextPresetFontObject = {\n\teditorKey: string\n\tlineHeight: string\n\tstyle: string\n\tweight: string\n\tsize: string\n\tfontFamily: string\n\tvalue: string\n}\n\nexport const createFontValue = (\n\titalic: string,\n\tvariant: string,\n\tweight: string,\n\tsize: string,\n\tlineHeight: string,\n\tfamily: string,\n\tunderline: string\n): string => {\n\tconst fontFamilyWithFallbacks = getFontFamilyWithFallbacks(family)\n\treturn `font:${italic} ${variant} ${weight} ${size}/${lineHeight} ${fontFamilyWithFallbacks};${underline}`\n}\n\nconst createTextPresetFontObject = (font: string, editorKey: string): TextPresetFontObject => {\n\tconst fontObj = parseFontStr(font)\n\n\tconst sizePx = `${fontObj.size}px`\n\treturn {\n\t\teditorKey,\n\t\tlineHeight: fontObj.lineHeight,\n\t\tstyle: fontObj.style,\n\t\tweight: fontObj.weight,\n\t\tsize: sizePx,\n\t\tfontFamily: fontObj.family.join(',').toLowerCase(),\n\t\tvalue: createFontValue(\n\t\t\tfontObj.style,\n\t\t\tfontObj.variant,\n\t\t\tfontObj.weight,\n\t\t\tsizePx,\n\t\t\tfontObj.lineHeight,\n\t\t\tfontObj.family.join(','),\n\t\t\t''\n\t\t),\n\t}\n}\n\nexport const getTextPresets = (themeFonts: Array<string>) =>\n\ttextPresetKeys\n\t\t.filter((_val, index) => themeFonts[index])\n\t\t.map((val, index) => ({\n\t\t\tname: val,\n\t\t\teditorKey: `font_${index}`,\n\t\t\tfont: themeFonts[index],\n\t\t}))\n\t\t.reduce<Record<string, TextPresetFontObject>>((acc, val) => {\n\t\t\tacc[val.name] = createTextPresetFontObject(val.font, val.editorKey)\n\t\t\treturn acc\n\t\t}, {})\n","export const Props = Symbol('Props')\nexport const StylesStoreSymbol = Symbol('StylesStore')\nexport const Structure = Symbol('Structure')\nexport const Comps = Symbol('Comps')\nexport const CompActionsSym = Symbol('CompActions')\nexport const StructureAPI = Symbol('StructureAPI')\nexport const ExportsStoreSymbol = Symbol('Exports')\nexport const StateRefsStoreSymbol = Symbol('StateRefs')\nexport const MaterializedStoreSymbol = Symbol('MaterializedStore')\nexport const AppMaterializerSymbol = Symbol('AppMaterializerSymbol')\nexport const SuspendedCompsSym = Symbol('SuspendedComps')\n","export const BeckyPropsInitialStoreSym = Symbol('BeckyPropsInitialStoreSym')\n","export const name = 'mpaNavigation' as const\n\nexport const MpaNavigationSymbol = Symbol('MpaNavigationSymbol')\n","import type { CatharsisArgs } from '@wix/thunderbolt-catharsis'\nimport { named, createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { CatharsisConstants } from './constants'\nimport type { CatharsisFeature } from './feature'\nimport type { SingleTransaction, CompNodesProvider, DataNodes } from './types'\n\nexport const CatharsisFeatureSymbol = createIdentifier<CatharsisFeature<any, any, any, any>>(Symbol('CatharsisFeature'))\nexport const ConstantSymbol = createIdentifier<CatharsisConstants>(Symbol('Constant'))\nexport const MaterializerFactorySymbol = createIdentifier<NonNullable<CatharsisArgs['materializerFactory']>>(\n\tSymbol('MaterializerFactory')\n)\nexport const OnInvalidationSymbol = createIdentifier<CatharsisArgs['onInvalidation']>(Symbol('OnInvalidation'))\nexport const CatharsisStructureStoreSymbol = createIdentifier<NonNullable<CatharsisArgs['structureStore']>>(\n\tSymbol('CatharsisStructureStore')\n)\nexport const CompNodeProviderSymbol = createIdentifier<CompNodesProvider>(Symbol('CompNodeProvider'))\nexport const DataNodeProviderSymbol = createIdentifier<DataNodes>(Symbol('CompNodeProvider'))\nexport const CatharsisSingleTransactionSymbol = createIdentifier<SingleTransaction>(\n\tSymbol('CatharsisSingleTransaction')\n)\n\nexport const appConstant = <TName extends keyof CatharsisConstants>(name: TName) => named(ConstantSymbol, name)\n","export const name = 'remoteStructureRenderer' as const\n\nexport const BuilderWidgetsPlatformModelSymbol = Symbol('BuilderWidgetsPlatformModel')\n","export const name = 'pageScroll' as const\n","import type { IPropsStore, IStructureStore, Component } from '@wix/thunderbolt-symbols'\nimport { REPEATER_DELIMITER } from './repeaterUtils'\n\nconst COMP_PATH_DELIMITER = '/'\n\nexport const getDisplayedIdToCompPath = (\n\tstructureStore: IStructureStore,\n\tpropsStore: IPropsStore\n): Record<string, string> => {\n\tconst structure = structureStore.getEntireStore()\n\tconst compIdToCompPath: Record<string, string> = {}\n\n\tconst buildComponentPath = (\n\t\tcompId: string,\n\t\tcomponent: Component,\n\t\taccumulatedPath: string = '',\n\t\tcurrentRepeaterItemsSuffix: string = ''\n\t): void => {\n\t\tconst fullPath = `${accumulatedPath}${compId}`\n\t\tcompIdToCompPath[`${compId}${currentRepeaterItemsSuffix}`] = fullPath\n\n\t\tconst childComponentIds = component.components ?? []\n\t\tconst childPathPrefix = `${fullPath}${COMP_PATH_DELIMITER}`\n\n\t\tif (component.componentType === 'Repeater') {\n\t\t\tconst repeaterItemIds = propsStore.get(compId)?.items ?? []\n\t\t\trepeaterItemIds.forEach((repeaterItemId: string) => {\n\t\t\t\tconst newRepeaterItemsSuffix = `${REPEATER_DELIMITER}${repeaterItemId}${currentRepeaterItemsSuffix}`\n\t\t\t\tconst repeaterChildPathPrefix = `${childPathPrefix}${repeaterItemId}${COMP_PATH_DELIMITER}`\n\n\t\t\t\tchildComponentIds.forEach((childId) => {\n\t\t\t\t\tbuildComponentPath(childId, structure[childId], repeaterChildPathPrefix, newRepeaterItemsSuffix)\n\t\t\t\t})\n\t\t\t})\n\t\t} else {\n\t\t\tchildComponentIds.forEach((childId) =>\n\t\t\t\tbuildComponentPath(childId, structure[childId], childPathPrefix, currentRepeaterItemsSuffix)\n\t\t\t)\n\t\t}\n\t}\n\n\t// Process only page components\n\tObject.entries(structure)\n\t\t.filter(([_, component]) => component.componentType === 'Page')\n\t\t.forEach(([compId, component]) => buildComponentPath(compId, component))\n\n\treturn compIdToCompPath\n}\n","export function getDataAttributes(record: Record<string, any>) {\n\treturn Object.entries(record).reduce<Record<string, any>>((acc, [key, value]) => {\n\t\tif (key.startsWith('data-')) {\n\t\t\tacc[key] = value\n\t\t}\n\n\t\treturn acc\n\t}, {})\n}\n","import type { StylableEditor, PanelComponentsMetadata } from '@wix/stylable-panel-drivers'\nimport { extensions, inlineModulesContext } from '@wix/stylable-viewer-flatten'\n\n// Add .metadata.json if it's not already the suffix of the url\nexport const addMetadataSuffixToUrl = (stylableMetaData: string) =>\n\t`${stylableMetaData.replace('.metadata.json', '')}.metadata.json`\n\nexport const mergeStylableComponentsMetadata = (metas: Array<PanelComponentsMetadata>): PanelComponentsMetadata =>\n\tmergeStylableMetadata('wix-ui-santa', metas)\n\nfunction getEmptyMetadata(): PanelComponentsMetadata {\n\treturn {\n\t\tversion: '',\n\t\tname: '',\n\t\tfs: {},\n\t\tcomponents: {},\n\t\tpackages: {},\n\t}\n}\n\nfunction fixMetadata(metadata: PanelComponentsMetadata): PanelComponentsMetadata {\n\treturn {\n\t\t...getEmptyMetadata(),\n\t\t...metadata,\n\t}\n}\n\n/**\n * Merges multiple stylable components metadata objects\n * @param rootPackage - key of the package as specified in meta.packages\n * @param metas - array of metadata objects to merge\n * @returns meta - merged object from all given metas\n */\nconst mergeStylableMetadata = (rootPackage: string, metas: Array<PanelComponentsMetadata>): PanelComponentsMetadata => {\n\tconst output = getEmptyMetadata()\n\n\t// Aggregate data from all objects:\n\tlet combinedIndex = ''\n\n\tmetas\n\t\t.filter((meta) => !!meta)\n\t\t.map(fixMetadata)\n\t\t.forEach((meta) => {\n\t\t\tif (meta.packages[rootPackage]) {\n\t\t\t\tconst indexPath = meta.packages[rootPackage] + '/index.st.css'\n\t\t\t\tif (meta.fs[indexPath]) {\n\t\t\t\t\tcombinedIndex += meta.fs[indexPath].content\n\t\t\t\t}\n\t\t\t}\n\n\t\t\toutput.version += meta.version + ','\n\t\t\toutput.name += meta.name + ','\n\t\t\toutput.fs = { ...output.fs, ...meta.fs }\n\t\t\toutput.components = { ...output.components, ...meta.components }\n\t\t\toutput.packages = { ...output.packages, ...meta.packages }\n\t\t})\n\n\t// Create combined index:\n\tconst packagePath = '/combined-root'\n\toutput.packages[rootPackage] = packagePath\n\tconst packageIndexPath = `${packagePath}/index.st.css`\n\toutput.fs[packageIndexPath] = {\n\t\tcontent: combinedIndex,\n\t\tmetadata: { namespace: rootPackage + 'combined-index' },\n\t}\n\n\treturn output\n}\n\nexport const registerStylableExtensions = (stylableInstance: StylableEditor, staticMediaUrl: string) => {\n\tstylableInstance.registerExtensions(extensions) // register mixins, formatters, transformation plugins and getMinimalCss\n\tinlineModulesContext.setStaticMediaUrl(staticMediaUrl) // Set static media URL - for images\n}\n","import type { BuilderCompData } from '@wix/thunderbolt-symbols'\n\nexport type EditableComponentUrls = {\n\tJSX: string\n\tSDK: string\n\tnpmModuleName: string\n}\n\nexport const buildEditorReactComponentMapping = (\n\tbuilderComponents: { [componentType: string]: BuilderCompData },\n\texperiments: Record<string, string | boolean> = {}\n): Record<string, string> => {\n\tconst mapping: Record<string, string> = {}\n\n\tObject.values(builderComponents).forEach((component: BuilderCompData) => {\n\t\tconst { componentType, componentUrl, sdkUrl, moduleSpecifier } = component\n\n\t\tif (moduleSpecifier && componentUrl) {\n\t\t\tmapping[moduleSpecifier] = componentUrl\n\t\t}\n\t\tif (moduleSpecifier && sdkUrl) {\n\t\t\tmapping[`${moduleSpecifier}/sdk`] = sdkUrl\n\t\t}\n\t})\n\n\treturn mapping\n}\n","import { createPromise } from './promiseUtils'\n\nexport function getCompClassType(componentType: string, uiType?: string) {\n\treturn uiType ? `${componentType}_${uiType}` : componentType\n}\n\nconst viewer_components_id_prefixes = [\n\t'MENU_AS_CONTAINER_TOGGLE',\n\t'MENU_AS_CONTAINER_EXPANDABLE_MENU',\n\t'BACK_TO_TOP_BUTTON',\n\t'SCROLL_TO_',\n\t'TPAMultiSection_',\n\t'TPASection_',\n\t'comp-',\n\t'TINY_MENU',\n\t'MENU_AS_CONTAINER',\n\t'SITE_HEADER',\n\t'SITE_FOOTER',\n\t'SITE_PAGES',\n\t'PAGES_CONTAINER',\n\t'BACKGROUND_GROUP',\n\t'POPUPS_ROOT',\n]\n\nconst comp_type_attribute = 'data-comp-type'\n\nexport function getClosestCompIdByHtmlElement(htmlElement: HTMLElement): string {\n\tlet closestElement\n\tfor (const prefix of viewer_components_id_prefixes) {\n\t\tclosestElement = htmlElement.closest(`[id^=\"${prefix}\"]`)\n\t\tif (closestElement) {\n\t\t\tbreak\n\t\t}\n\t}\n\treturn closestElement?.id || ''\n}\n\nexport function extractClosestCompTypeFromHtmlElement(htmlElement: HTMLElement): string {\n\tconst closestElement = htmlElement.closest(`[${comp_type_attribute}]`)\n\treturn closestElement?.getAttribute(comp_type_attribute) || ''\n}\n\nexport type LazyComponentTrigger = 'viewport'\nexport type LazyComponentOptions = {\n\ttriggers?: Array<LazyComponentTrigger>\n\tcomponentResolver: () => Promise<React.ComponentType<any>>\n}\nexport type LazyComponentLoaderResponse = {\n\tcomponentPromise: Promise<React.ComponentType<any>>\n\tclearComponentListeners: () => void\n}\n\nexport const isForwardRef = (Component: React.ComponentType<any>) =>\n\tComponent.prototype &&\n\tComponent.prototype.hasOwnProperty('$$typeof') &&\n\tComponent.prototype.$$typeof.toString() === 'Symbol(react.forward_ref)'\n\nexport const getTargetElementByCompId = (compId: string) => document.getElementById(compId)\n\nexport const createViewportObserver = (compId: string) => {\n\tconst targetElement = getTargetElementByCompId(compId)\n\tconst { promise, resolver } = createPromise()\n\tif (!targetElement) {\n\t\t// If there was a mismatch (or navigation) we want to hydrate immediatly and not wait for intersection\n\t\t// as the target element might be null and promise will remain hanging\n\t\tresolver()\n\t\treturn {\n\t\t\tpromise,\n\t\t\tcleaner: () => {},\n\t\t}\n\t}\n\n\tconst observer = new IntersectionObserver(\n\t\t([entry]) => {\n\t\t\tif (entry.isIntersecting) {\n\t\t\t\tresolver()\n\t\t\t\tobserver.disconnect()\n\t\t\t}\n\t\t},\n\t\t{ root: null }\n\t)\n\tobserver.observe(targetElement)\n\n\treturn {\n\t\tpromise,\n\t\tcleaner: () => observer.disconnect(),\n\t}\n}\n\nexport const getHeaderElement = (headerCompId: string | null, window: Window) => {\n\tlet headerElement = window.document.getElementById(headerCompId || 'SITE_HEADER')\n\tif (!headerElement) {\n\t\tconst headerElementsByTags = window.document.getElementsByTagName('header')\n\t\tif (headerElementsByTags && headerElementsByTags.length === 1) {\n\t\t\theaderElement = headerElementsByTags[0]\n\t\t}\n\t}\n\n\treturn headerElement\n}\n","export const PasswordProtectedPageApiSymbol = Symbol('PasswordProtectedPageApi')\nexport const name = 'passwordProtectedPage' as const\n\nexport const DialogComponentId = 'SM_ROOT_COMP'\nexport const SitePasswordDialogComponentId = 'SM_ROOT_COMP_SITE'\n","export const name = 'multilingual' as const\nexport const MultilingualSymbol = Symbol.for('Multilingual')\nexport const MultilingualLinkUtilsAPISymbol = Symbol('MultilingualLinkUtilsAPI')\n","export const name = 'clickHandlerRegistrar' as const\nexport const PreviewTooltipCallbackSymbol = Symbol('PreviewTooltipCallback')\nexport const OnLinkClickSymbol = Symbol('OnLinkClick')\n","export const parseMessage = (evt: MessageEventInit) => {\n\tif (evt.data) {\n\t\ttry {\n\t\t\treturn JSON.parse(evt.data)\n\t\t} catch (e) {\n\t\t// TODO handle thrown error\n\t\t}\n\t}\n\treturn {}\n}\n","import type { IHeadContent } from '../types/headContent'\nimport { createIdentifier } from '@wix/thunderbolt-ioc'\n\nexport const HeadContentSymbol = createIdentifier<IHeadContent>(Symbol.for('HeadContentSymbol'))\nexport const HeadContentProviderSymbol = Symbol.for('HeadContentProviderSymbol')\nexport const HeadProviderSym = Symbol.for('HeadProviderSym')\nexport const HeadModelCalculatorSym = Symbol('HeadModelCalculator')\nexport const HeadersCalculatorSym = Symbol('HeadersCalculator')\nexport const TemplateRendererSym = Symbol('TemplateRenderer')\nexport const SiteModelSym = Symbol('SiteModel')\nexport const ModulesLoaderSym = Symbol('ModulesLoader')\nexport const SsrModelsBuilderSym = Symbol('SsrModelsBuilder')\nexport const FeaturesChunksExtractorSym = Symbol('FeaturesChunksExtractor')\nexport const ComponentsRegistryCalculatorSym = Symbol('ComponentsRegistryCalculatorSym')\n","export const PlatformResetCompsSymbol = Symbol('PlatformResetComps')\nexport const LivePreviewEnvDataSetterSymbol = Symbol('LivePreviewEnvDataSetterSymbol')\nexport const ControllersInvokerSymbol = Symbol('ControllersInvoker')\nexport const LivePreviewApiSymbol = Symbol('livePreviewApi')\n","export const SVG_TYPES = {\n\tSHAPE: 'shape',\n\tTINT: 'tint',\n\tCOLOR: 'color',\n\tUGC: 'ugc',\n} as const\n","export const PlatformPubsubSymbol = Symbol('platformPubsub')\nexport const name = 'platformPubsub' as const\n","import { createIdentifier } from '@wix/thunderbolt-ioc'\nimport type { IDomStore, ISvgFetcher, ISvgDomStoreLoader } from './types'\n\nexport const name = 'domStore' as const\n\nexport const DomStoreSymbol = createIdentifier<IDomStore>(Symbol('DomStore'))\nexport const SvgFetcherSymbol = createIdentifier<ISvgFetcher>(Symbol('SvgFetcher'))\nexport const SvgDomStoreLoaderSymbol = createIdentifier<ISvgDomStoreLoader>(Symbol('SvgDomStoreLoader'))\n","export const name = 'wixEmbedsApi' as const\n","export const elementTypes = [\n\t'all',\n\t'geometry',\n\t'geometry.fill',\n\t'geometry.stroke',\n\t'labels',\n\t'labels.icon',\n\t'labels.text',\n\t'labels.text.fill',\n\t'labels.text.stroke',\n]\n\nexport const featureTypes = [\n\t'administrative',\n\t'administrative.country',\n\t'administrative.land_parcel',\n\t'administrative.locality',\n\t'administrative.neighborhood',\n\t'administrative.province',\n\t'all',\n\t'landscape',\n\t'landscape.man_made',\n\t'landscape.natural',\n\t'landscape.natural.landcover',\n\t'landscape.natural.terrain',\n\t'poi',\n\t'poi.attraction',\n\t'poi.business',\n\t'poi.government',\n\t'poi.medical',\n\t'poi.park',\n\t'poi.place_of_worship',\n\t'poi.school',\n\t'poi.sports_complex',\n\t'road',\n\t'road.arterial',\n\t'road.highway',\n\t'road.highway.controlled_access',\n\t'road.local',\n\t'transit',\n\t'transit.line',\n\t'transit.station',\n\t'transit.station.airport',\n\t'transit.station.bus',\n\t'transit.station.rail',\n\t'water',\n]\n\nexport const pinIcon =\n\t'https://static.parastorage.com/services/santa-resources/resources/editor/designPanel/panelTypes/default_pin_icon.png'\n\nexport const language = [\n\t'userLang',\n\t'cs',\n\t'da',\n\t'de',\n\t'en',\n\t'es',\n\t'fr',\n\t'hi',\n\t'it',\n\t'ja',\n\t'ko',\n\t'nl',\n\t'no',\n\t'pl',\n\t'pt',\n\t'ru',\n\t'sv',\n\t'zh',\n\t'th',\n\t'uk',\n\t'tr',\n]\n\nexport const supportedLanguages = [\n\t'pt-br',\n\t'da',\n\t'de',\n\t'en',\n\t'es',\n\t'fr',\n\t'it',\n\t'ja',\n\t'ko',\n\t'nl',\n\t'no',\n\t'pl',\n\t'pt',\n\t'ru',\n\t'sv',\n\t'tr',\n]\n\nexport const metaDescriptions = {\n\telementType: {\n\t\tdescription:\n\t\t\t'Selects the element type to which a styler should be applied. An element type distinguishes between the different representations of a feature.',\n\t},\n\tfeatureType: {\n\t\tdescription: 'Selects the feature, or group of features, to which a styler should be applied.',\n\t},\n\tstylers: {\n\t\tdescription:\n\t\t\t\"The style rules to apply to the selectors. The rules are applied to the map's elements in the order they are listed in this array.\",\n\t\tproperties: {\n\t\t\tcolor: \"Sets the color of the feature. Valid values: An RGB hex string, i.e. '#ff0000'.\",\n\t\t\tgamma:\n\t\t\t\t'Modifies the gamma by raising the lightness to the given power.Valid values: Floating point numbers, [0.01, 10], with 1.0 representing no change.',\n\t\t\thue:\n\t\t\t\t\"Sets the hue of the feature to match the hue of the color supplied. Note that the saturation and lightness of the feature is conserved, which means that the feature will not match the color supplied exactly. Valid values: An RGB hex string, i.e. '#ff0000'.\",\n\t\t\tinvert_lightness:\n\t\t\t\t'A value of true will invert the lightness of the feature while preserving the hue and saturation.',\n\t\t\tlightness:\n\t\t\t\t'Shifts lightness of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing. Valid values: [-100, 100].',\n\t\t\tsaturation:\n\t\t\t\t'Shifts the saturation of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing. Valid values: [-100, 100].',\n\t\t\tvisibility: \"Sets the visibility of the feature. Valid values: 'on', 'off' or 'simplified'.\",\n\t\t\tweight: 'Sets the weight of the feature, in pixels. Valid values: Integers greater than or equal to zero.',\n\t\t},\n\t},\n\tshowZoom: {\n\t\tdescription: 'show zoom control',\n\t},\n\tfullscreenControl: {\n\t\tdescription: 'show fullscreen control',\n\t},\n\tshowPosition: {\n\t\tdescription: 'show position control',\n\t},\n\tshowStreetView: {\n\t\tdescription: 'show Street View control\"',\n\t},\n\tshowMapType: {\n\t\tdescription: 'show map type control',\n\t},\n\tzoom: {\n\t\tdescription: 'default map zoom level',\n\t},\n\tmapDragging: {\n\t\tdescription: 'show map type control',\n\t},\n\tshowDirectionsLink: {\n\t\tdescription: 'show directions link in infoWindow',\n\t},\n\tmapType: {\n\t\tdescription: 'set map type',\n\t},\n\tlanguage: {\n\t\tdescription: 'Possible languages taken from https://developers.google.com/maps/faq?hl=en#languagesupport',\n\t},\n}\n","export const name = 'navigationPhases' as const\n\nexport const NavigationPhasesSymbol = Symbol('navigationPhases')\n","export const BackgroundScrubSymbol = Symbol('BackgroundScrub')\n\nexport const name = 'backgroundScrub' as const\n","export const name = 'contentReflow' as const\nexport const REFLOW_BANNER_COMP_ID = 'CONTENT_REFLOW_BANNER'\nexport const ContentReflowVisibilitySymbol = Symbol('ContentReflowVisibility')\nexport const ContentReflowZoomDetectionSymbol = Symbol('ContentReflowZoomDetection')\n","export const errorPagesIds: { [key: string]: string } = {\n\t_403_dp: '_403_dp',\n\t_404_dp: '_404_dp',\n\t_500_dp: '_500_dp',\n\t_uknown_error_dp: '_uknown_error_dp',\n}\n","import type { WidgetData } from '@wix/thunderbolt-symbols'\nimport type { DSCarmiRenderFlags } from '@wix/thunderbolt-becky-types'\n\ntype WidgetSpecData = WidgetData[string]\nconst getComponentField = <T extends keyof WidgetSpecData['componentFields']>(\n\twidgetSpec: WidgetSpecData,\n\tfieldName: T\n): WidgetSpecData['componentFields'][T] => widgetSpec?.componentFields?.[fieldName]\nexport const isOOI: (params: {\n\twidgetSpec: WidgetData[string]\n\tisMigratingToOoi: boolean\n\tcomponentViewMode?: DSCarmiRenderFlags['componentViewMode']\n\tisLivePreviewOpenForEditor?: boolean\n\tisAdi?: boolean\n}) => boolean = ({\n\twidgetSpec,\n\tisMigratingToOoi,\n\tcomponentViewMode,\n\tisLivePreviewOpenForEditor = false,\n\tisAdi = false,\n}): boolean => {\n\tconst hasComponentUrl = !!getComponentField(widgetSpec, 'componentUrl')\n\tconst isOOIEligible = hasComponentUrl || isMigratingToOoi\n\n\tconst isPublic = componentViewMode === undefined\n\n\tif (isPublic) {\n\t\treturn isOOIEligible\n\t} else {\n\t\tconst shouldRenderAsOOIInEditor =\n\t\t\tcomponentViewMode === 'preview' ||\n\t\t\t(isLivePreviewOpenForEditor &&\n\t\t\t\tgetComponentField(widgetSpec, 'ooiInEditor') &&\n\t\t\t\tisLivePreviewOpenForEditor) ||\n\t\t\t(isLivePreviewOpenForEditor && getComponentField(widgetSpec, 'ooiInEditorOnThunderbolt') && !isAdi) // todo - adi is dead right?\n\n\t\treturn isOOIEligible && shouldRenderAsOOIInEditor\n\t}\n}\n","export const COOKIE_NAME = 'bSession';\nexport const SESSION_TTL = 30 * 60 * 1000; // 30 minutes\nexport const DEFAULT_CACHE_TTL = 10 * 1000; // 10 seconds\nexport const FREE_SITE_DOMAINS = ['.wixsite.com', '.editorx.io'];\nexport const WIX_DOMAINS = ['.wix.com', '.editorx.com'];\n//# sourceMappingURL=constants.js.map","export const name = 'seoWixCodeSdk' as const\nexport const namespace = 'seo' as const\n","export const DynamicActionsApiSymbol = Symbol('DynamicActionsApi')\nexport type DynamicAction = {\n\tappDefinitionId: string\n\tisVisible?: boolean\n\thasNotifications?: boolean\n\tcolor?: string\n\ticonSvgContent?: string\n}\n\nexport interface IDynamicActionsApi {\n\tupdateAction(action: DynamicAction, compId: string): void\n\tupdateQABComponentProps(): void\n\tregisterToDynamicActionActivated(appDefinitionId: string, callback: () => void): void\n}\n","import type { CellsMapType, IdIndexMapType } from './index'\n\nexport const getNextCell = (cellsMap: CellsMapType, idIndexMap: IdIndexMapType, id: string, key: string) => {\n\tconst lastRowIndex = cellsMap.length - 1\n\tconst lastColumnIndex = cellsMap[lastRowIndex].length - 1\n\tconst { row, column } = idIndexMap[id]\n\n\tconst nextStateByKey: Record<string, [number, number]> = {\n\t\tArrowDown: [row + 1, column],\n\t\tArrowUp: [row - 1, column],\n\t\tArrowRight: [row, column + 1],\n\t\tArrowLeft: [row, column - 1],\n\t\tHome: [0, 0],\n\t\tEnd: [lastRowIndex, lastColumnIndex],\n\t}\n\n\tconst [nextRow, nextColumn] = nextStateByKey[key]\n\n\treturn cellsMap[nextRow]?.[nextColumn]\n}\n","export const name = 'wixapps' as const\n","export const name = 'cyclicTabbing' as const\n\nexport const CyclicTabbingSymbol = Symbol('CyclicTabbing')\n","export const DynamicFeatureLoader = Symbol('DynamicFeatureLoader')\n","import type { BrowserWindow } from '@wix/thunderbolt-symbols'\nimport { isSSR } from '../envUtils'\n\nexport const setFullScreenMode = (window: BrowserWindow) => {\n\tif (isSSR(window)) {\n\t\treturn\n\t}\n\n\tconst classesToAdd = ['fullScreenMode']\n\tclassesToAdd.forEach((className) => document.body.classList.add(className))\n}\n\nexport const removeFullScreenMode = (window: BrowserWindow) => {\n\tif (isSSR(window)) {\n\t\treturn\n\t}\n\n\tdocument.body.classList.remove('fullScreenMode')\n}\n\nexport const hideSiteRoot = (window: BrowserWindow, hide: boolean) => {\n\tif (isSSR(window)) {\n\t\treturn\n\t}\n\tconst siteRoot = document.getElementById('site-root') as HTMLElement\n\tif (siteRoot) {\n\t\tif (hide) {\n\t\t\tsiteRoot.style.setProperty('overflow-y', 'hidden')\n\t\t\tsiteRoot.style.setProperty('height', '0')\n\t\t} else {\n\t\t\tsiteRoot.style.removeProperty('overflow-y')\n\t\t\tsiteRoot.style.removeProperty('height')\n\t\t}\n\t}\n}\n","import {\n\ttoQueryString,\n\tconvertDataQueryLinksToHtmlAnchors,\n\tgetImpliedLink,\n\tgetImpliedLinks,\n\tgetPostSignupUrl,\n\tresolveDocumentLink,\n\tresolveEmailLink,\n\tresolvePhoneLink,\n\tresolveAddressLink,\n\tresolveDynamicPageLink,\n\tresolveWhatsAppLink,\n\tgetBaseUrlFilesPath,\n\thasLinkDataWithCurrentRouteAnchors,\n} from '@wix/link-utils'\nimport { getCustomizedUrlSegments } from '@wix/url-mapper-utils'\nimport type { UrlMappings } from '@wix/url-mapper-utils'\n\nimport { overrideSuffix, queryParamsWhitelist as defaultQueryParamsWhitelist } from './constants/queryParamsWhitelist'\n\nconst linkTypes = {\n\tDocumentLink: 'DocumentLink',\n\tEmailLink: 'EmailLink',\n\tExternalLink: 'ExternalLink',\n\tPageLink: 'PageLink',\n\tDynamicPageLink: 'DynamicPageLink',\n\tTpaPageLink: 'TpaPageLink',\n\tPhoneLink: 'PhoneLink',\n\tWhatsAppLink: 'WhatsAppLink',\n\tAddressLink: 'AddressLink',\n\tLoginToWixLink: 'LoginToWixLink',\n\tAnchorLink: 'AnchorLink',\n}\n\nexport const isLinkData = (linkData?: any) => {\n\treturn linkTypes[linkData?.type as keyof typeof linkTypes]\n}\n\nconst keepInternalQueryParamsOnly = (\n\tsearchParams: URLSearchParams,\n\tqueryParamsWhitelist: Set<string> = defaultQueryParamsWhitelist\n) => {\n\tconst entries = searchParams.entries()\n\tconst filteredEntries = [...entries].filter(\n\t\t([key]) => queryParamsWhitelist.has(key) || key.endsWith(overrideSuffix)\n\t)\n\n\treturn new URLSearchParams(filteredEntries).toString()\n}\n\nexport const appendInternalQueryParamsToHref = (href: string, currentUrl: URL) => {\n\tconst nextUrl = new URL(href, currentUrl.origin)\n\tconst nextUrlSearch = nextUrl.search\n\tnextUrl.search = keepInternalQueryParamsOnly(currentUrl.searchParams)\n\n\tnew URLSearchParams(nextUrlSearch).forEach((val, key) => {\n\t\tnextUrl.searchParams.set(key, val)\n\t})\n\n\treturn nextUrl.toString()\n}\n\nconst getFullURL = (url: string, baseUrl: string): string => {\n\treturn url.startsWith('http') ? url : `${baseUrl}${url.startsWith('/') ? url : `/${url}`}`\n}\n\nexport const isUrlCustomized = (url: string, baseUrl: string, urlMappings: UrlMappings | undefined): boolean => {\n\tif (!urlMappings) {\n\t\treturn false\n\t}\n\n\ttry {\n\t\tconst fullUrl = getFullURL(url, baseUrl)\n\t\tconst { key } = getCustomizedUrlSegments(urlMappings, fullUrl, { baseUrl }) || {}\n\t\treturn Boolean(key)\n\t} catch (error) {\n\t\treturn false\n\t}\n}\n\nexport {\n\ttoQueryString,\n\tconvertDataQueryLinksToHtmlAnchors,\n\tgetImpliedLink,\n\tgetImpliedLinks,\n\tgetPostSignupUrl,\n\tresolveDocumentLink,\n\tresolveEmailLink,\n\tresolvePhoneLink,\n\tresolveAddressLink,\n\tresolveDynamicPageLink,\n\tresolveWhatsAppLink,\n\tgetBaseUrlFilesPath,\n\thasLinkDataWithCurrentRouteAnchors,\n}\n","/**\r\n * Copyright 2019 Google Inc. All Rights Reserved.\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *     http://www.apache.org/licenses/LICENSE-2.0\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst proxyMarker = Symbol(\"Comlink.proxy\");\r\nconst createEndpoint = Symbol(\"Comlink.endpoint\");\r\nconst releaseProxy = Symbol(\"Comlink.releaseProxy\");\r\nconst throwMarker = Symbol(\"Comlink.thrown\");\r\nconst isObject = (val) => (typeof val === \"object\" && val !== null) || typeof val === \"function\";\r\n/**\r\n * Internal transfer handle to handle objects marked to proxy.\r\n */\r\nconst proxyTransferHandler = {\r\n    canHandle: (val) => isObject(val) && val[proxyMarker],\r\n    serialize(obj) {\r\n        const { port1, port2 } = new MessageChannel();\r\n        expose(obj, port1);\r\n        return [port2, [port2]];\r\n    },\r\n    deserialize(port) {\r\n        port.start();\r\n        return wrap(port);\r\n    },\r\n};\r\n/**\r\n * Internal transfer handler to handle thrown exceptions.\r\n */\r\nconst throwTransferHandler = {\r\n    canHandle: (value) => isObject(value) && throwMarker in value,\r\n    serialize({ value }) {\r\n        let serialized;\r\n        if (value instanceof Error) {\r\n            serialized = {\r\n                isError: true,\r\n                value: {\r\n                    message: value.message,\r\n                    name: value.name,\r\n                    stack: value.stack,\r\n                },\r\n            };\r\n        }\r\n        else {\r\n            serialized = { isError: false, value };\r\n        }\r\n        return [serialized, []];\r\n    },\r\n    deserialize(serialized) {\r\n        if (serialized.isError) {\r\n            throw Object.assign(new Error(serialized.value.message), serialized.value);\r\n        }\r\n        throw serialized.value;\r\n    },\r\n};\r\n/**\r\n * Allows customizing the serialization of certain values.\r\n */\r\nconst transferHandlers = new Map([\r\n    [\"proxy\", proxyTransferHandler],\r\n    [\"throw\", throwTransferHandler],\r\n]);\r\nfunction expose(obj, ep = self) {\r\n    ep.addEventListener(\"message\", function callback(ev) {\r\n        if (!ev || !ev.data) {\r\n            return;\r\n        }\r\n        const { id, type, path } = Object.assign({ path: [] }, ev.data);\r\n        const argumentList = (ev.data.argumentList || []).map(fromWireValue);\r\n        let returnValue;\r\n        try {\r\n            const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\r\n            const rawValue = path.reduce((obj, prop) => obj[prop], obj);\r\n            switch (type) {\r\n                case 0 /* GET */:\r\n                    {\r\n                        returnValue = rawValue;\r\n                    }\r\n                    break;\r\n                case 1 /* SET */:\r\n                    {\r\n                        parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\r\n                        returnValue = true;\r\n                    }\r\n                    break;\r\n                case 2 /* APPLY */:\r\n                    {\r\n                        returnValue = rawValue.apply(parent, argumentList);\r\n                    }\r\n                    break;\r\n                case 3 /* CONSTRUCT */:\r\n                    {\r\n                        const value = new rawValue(...argumentList);\r\n                        returnValue = proxy(value);\r\n                    }\r\n                    break;\r\n                case 4 /* ENDPOINT */:\r\n                    {\r\n                        const { port1, port2 } = new MessageChannel();\r\n                        expose(obj, port2);\r\n                        returnValue = transfer(port1, [port1]);\r\n                    }\r\n                    break;\r\n                case 5 /* RELEASE */:\r\n                    {\r\n                        returnValue = undefined;\r\n                    }\r\n                    break;\r\n            }\r\n        }\r\n        catch (value) {\r\n            returnValue = { value, [throwMarker]: 0 };\r\n        }\r\n        Promise.resolve(returnValue)\r\n            .catch((value) => {\r\n            return { value, [throwMarker]: 0 };\r\n        })\r\n            .then((returnValue) => {\r\n            const [wireValue, transferables] = toWireValue(returnValue);\r\n            ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\r\n            if (type === 5 /* RELEASE */) {\r\n                // detach and deactive after sending release response above.\r\n                ep.removeEventListener(\"message\", callback);\r\n                closeEndPoint(ep);\r\n            }\r\n        });\r\n    });\r\n    if (ep.start) {\r\n        ep.start();\r\n    }\r\n}\r\nfunction isMessagePort(endpoint) {\r\n    return endpoint.constructor.name === \"MessagePort\";\r\n}\r\nfunction closeEndPoint(endpoint) {\r\n    if (isMessagePort(endpoint))\r\n        endpoint.close();\r\n}\r\nfunction wrap(ep, target) {\r\n    return createProxy(ep, [], target);\r\n}\r\nfunction throwIfProxyReleased(isReleased) {\r\n    if (isReleased) {\r\n        throw new Error(\"Proxy has been released and is not useable\");\r\n    }\r\n}\r\nfunction createProxy(ep, path = [], target = function () { }) {\r\n    let isProxyReleased = false;\r\n    const proxy = new Proxy(target, {\r\n        get(_target, prop) {\r\n            throwIfProxyReleased(isProxyReleased);\r\n            if (prop === releaseProxy) {\r\n                return () => {\r\n                    return requestResponseMessage(ep, {\r\n                        type: 5 /* RELEASE */,\r\n                        path: path.map((p) => p.toString()),\r\n                    }).then(() => {\r\n                        closeEndPoint(ep);\r\n                        isProxyReleased = true;\r\n                    });\r\n                };\r\n            }\r\n            if (prop === \"then\") {\r\n                if (path.length === 0) {\r\n                    return { then: () => proxy };\r\n                }\r\n                const r = requestResponseMessage(ep, {\r\n                    type: 0 /* GET */,\r\n                    path: path.map((p) => p.toString()),\r\n                }).then(fromWireValue);\r\n                return r.then.bind(r);\r\n            }\r\n            return createProxy(ep, [...path, prop]);\r\n        },\r\n        set(_target, prop, rawValue) {\r\n            throwIfProxyReleased(isProxyReleased);\r\n            // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\r\n            // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\r\n            const [value, transferables] = toWireValue(rawValue);\r\n            return requestResponseMessage(ep, {\r\n                type: 1 /* SET */,\r\n                path: [...path, prop].map((p) => p.toString()),\r\n                value,\r\n            }, transferables).then(fromWireValue);\r\n        },\r\n        apply(_target, _thisArg, rawArgumentList) {\r\n            throwIfProxyReleased(isProxyReleased);\r\n            const last = path[path.length - 1];\r\n            if (last === createEndpoint) {\r\n                return requestResponseMessage(ep, {\r\n                    type: 4 /* ENDPOINT */,\r\n                }).then(fromWireValue);\r\n            }\r\n            // We just pretend that `bind()` didn’t happen.\r\n            if (last === \"bind\") {\r\n                return createProxy(ep, path.slice(0, -1));\r\n            }\r\n            const [argumentList, transferables] = processArguments(rawArgumentList);\r\n            return requestResponseMessage(ep, {\r\n                type: 2 /* APPLY */,\r\n                path: path.map((p) => p.toString()),\r\n                argumentList,\r\n            }, transferables).then(fromWireValue);\r\n        },\r\n        construct(_target, rawArgumentList) {\r\n            throwIfProxyReleased(isProxyReleased);\r\n            const [argumentList, transferables] = processArguments(rawArgumentList);\r\n            return requestResponseMessage(ep, {\r\n                type: 3 /* CONSTRUCT */,\r\n                path: path.map((p) => p.toString()),\r\n                argumentList,\r\n            }, transferables).then(fromWireValue);\r\n        },\r\n    });\r\n    return proxy;\r\n}\r\nfunction myFlat(arr) {\r\n    return Array.prototype.concat.apply([], arr);\r\n}\r\nfunction processArguments(argumentList) {\r\n    const processed = argumentList.map(toWireValue);\r\n    return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\r\n}\r\nconst transferCache = new WeakMap();\r\nfunction transfer(obj, transfers) {\r\n    transferCache.set(obj, transfers);\r\n    return obj;\r\n}\r\nfunction proxy(obj) {\r\n    return Object.assign(obj, { [proxyMarker]: true });\r\n}\r\nfunction windowEndpoint(w, context = self, targetOrigin = \"*\") {\r\n    return {\r\n        postMessage: (msg, transferables) => w.postMessage(msg, targetOrigin, transferables),\r\n        addEventListener: context.addEventListener.bind(context),\r\n        removeEventListener: context.removeEventListener.bind(context),\r\n    };\r\n}\r\nfunction toWireValue(value) {\r\n    for (const [name, handler] of transferHandlers) {\r\n        if (handler.canHandle(value)) {\r\n            const [serializedValue, transferables] = handler.serialize(value);\r\n            return [\r\n                {\r\n                    type: 3 /* HANDLER */,\r\n                    name,\r\n                    value: serializedValue,\r\n                },\r\n                transferables,\r\n            ];\r\n        }\r\n    }\r\n    return [\r\n        {\r\n            type: 0 /* RAW */,\r\n            value,\r\n        },\r\n        transferCache.get(value) || [],\r\n    ];\r\n}\r\nfunction fromWireValue(value) {\r\n    switch (value.type) {\r\n        case 3 /* HANDLER */:\r\n            return transferHandlers.get(value.name).deserialize(value.value);\r\n        case 0 /* RAW */:\r\n            return value.value;\r\n    }\r\n}\r\nfunction requestResponseMessage(ep, msg, transfers) {\r\n    return new Promise((resolve) => {\r\n        const id = generateUUID();\r\n        ep.addEventListener(\"message\", function l(ev) {\r\n            if (!ev.data || !ev.data.id || ev.data.id !== id) {\r\n                return;\r\n            }\r\n            ep.removeEventListener(\"message\", l);\r\n            resolve(ev.data);\r\n        });\r\n        if (ep.start) {\r\n            ep.start();\r\n        }\r\n        ep.postMessage(Object.assign({ id }, msg), transfers);\r\n    });\r\n}\r\nfunction generateUUID() {\r\n    return new Array(4)\r\n        .fill(0)\r\n        .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\r\n        .join(\"-\");\r\n}\n\nexport { createEndpoint, expose, proxy, proxyMarker, releaseProxy, transfer, transferHandlers, windowEndpoint, wrap };\n//# sourceMappingURL=comlink.mjs.map\n","import type { CellsMapType, IdIndexMapType } from './index'\n\ntype OffsetTopMapType = Record<number, Array<HTMLElement>>\n\nconst createOffsetTopMap = (items: Array<string>, repeater: HTMLElement) => {\n\tconst offsetTopMap: OffsetTopMapType = {}\n\n\titems.forEach((itemId) => {\n\t\tconst cell: HTMLElement | null = repeater.querySelector(`[id$=\"${itemId}\"]`)\n\t\tif (!cell) {\n\t\t\treturn\n\t\t}\n\t\tif (!offsetTopMap[cell.offsetTop]) {\n\t\t\toffsetTopMap[cell.offsetTop] = []\n\t\t}\n\t\toffsetTopMap[cell.offsetTop].push(cell)\n\t})\n\n\treturn offsetTopMap\n}\n\nconst createCellMap = (offsetTopMap: OffsetTopMapType) => {\n\tconst cellsMap: CellsMapType = []\n\n\tObject.keys(offsetTopMap)\n\t\t.map((key) => Number(key))\n\t\t.sort((a, b) => (a < b ? -1 : 1))\n\t\t.forEach((offsetTop, index) => {\n\t\t\tcellsMap[index] = offsetTopMap[offsetTop]\n\t\t})\n\n\tcellsMap.forEach((row) => {\n\t\trow.sort((a, b) => (a.offsetLeft < b.offsetLeft ? -1 : 1))\n\t})\n\n\treturn cellsMap\n}\n\nconst createIndexMap = (cellsMap: CellsMapType) => {\n\tconst idIndexMap: IdIndexMapType = {}\n\n\tcellsMap.forEach((cellRow, rowIndex) => {\n\t\tcellRow.forEach((cell, columnIndex) => {\n\t\t\tidIndexMap[cell.id] = { row: rowIndex, column: columnIndex }\n\t\t})\n\t})\n\n\treturn idIndexMap\n}\n\nexport const getRepeaterCells = (items: Array<string>, repeater: HTMLElement) => {\n\tconst offsetTopMap = createOffsetTopMap(items, repeater)\n\tconst cellsMap = createCellMap(offsetTopMap)\n\tconst idIndexMap = createIndexMap(cellsMap)\n\n\treturn { cellsMap, idIndexMap }\n}\n"],"names":["getFontFamilyWithFallbacks","fontFamily","cleanFontName","replace","toLowerCase","highestPriorityFont","split","metaData","fallbacks","genericFamily","filter","t","join","ComponentsStylesOverridesSymbol","Symbol","REPEATER_DELIMITER","getDisplayedId","originalId","itemId","getInflatedItemId","outerItemId","getFullId","id","getTemplateItemId","getDisplayedItemId","_compId","restItemIds","getInnerMostItemId","getFullItemId","delimiterIndex","indexOf","slice","length","isDisplayedOnly","isRepeatedComponentOfTemplate","templateCompId","templatePrefix","compId","startsWith","getRepeatedCompSelector","globalThis","shouldUseClassSelectors","getRepeaterItemsAncestorChain","repeaterItemsAncestorChain","forEach","item","index","push","reverse","name","ConsentPolicySymbol","namespace","isIE","window","document","documentMode","isEdge","getUserAgent","isFirefox","isSafari","userAgent","getSafariMajorVersion","version","find","directive","parseInt","isChrome","isChromeOnIos","navigator","isIOS11Device","test","isIOS","platform","getPlatform","getIOSVersion","iOSRegex","NaN","iOSgroups","match","Number","getIsIpad","ipadInUserAgent","macInUserAgent","maxTouchPoints","isIphone","TPA_HANDLER_EMPTY_RESPONSE","PERMITTED_FULL_SCREEN_TPAS_IN_MOBILE","WIX_CHAT","WIX_RESTAURANTS","LINK_TYPES","PAGE_LINK","EXTERNAL_LINK","ANCHOR_LINK","LOGIN_TO_WIX_LINK","EMAIL_LINK","PHONE_LINK","WHATSAPP_LINK","DOCUMENT_LINK","SWITCH_MOBILE_VIEW_MODE","DYNAMIC_PAGE_LINK","ADDRESS_LINK","MENU_HEADER","RTL_LANGUAGES","isRTL","language","includes","extractLanguageCode","getDirection","platformUpdatesFunctionsNames","StickyToComponentSymbol","ShouldObserveHeaderHandlerSymbol","TpaWorkerSymbol","UNSAMPLED_EVENTS","Set","MUTING_LIST","AppsMutingWhiteList","EVENTS_REPORTED_TO_BI","APP_NAME_FEDOPS_WHITELIST","SsrLoggerSymbol","whitelistedEndpoints","URL","getEditorElementsAssetUrl","urlFromTestsOrFileVersion","fileRepoUrl","baseUrl","url","validUrls","some","endpoint","hostname","protocol","pathname","isSafeUrl","href","Error","supportedKeyboardKeys","MODES_TYPE","hover","default","HOVER_SUFFIX","DEFAULT_DATA_MODE","HOVER_DATA_MODE","getHoverCompId","getDefaultCompId","isDefaultCompId","endsWith","compIdToCssSelector","shouldReturnPlaceholderSelector","defaultCompId","fallbackSelector","BusinessLoggerSymbol","BaseComponentSymbol","BsiManagerSymbol","MenuContainerHooksSymbol","proxyMarker","createEndpoint","releaseProxy","throwMarker","isObject","val","transferHandlers","Map","canHandle","serialize","obj","port1","port2","MessageChannel","expose","deserialize","port","start","wrap","value","_ref","serialized","isError","message","stack","Object","assign","ep","self","addEventListener","callback","ev","data","type","path","argumentList","map","fromWireValue","returnValue","parent","reduce","prop","rawValue","apply","proxy","transfer","undefined","Promise","resolve","catch","then","wireValue","transferables","toWireValue","postMessage","removeEventListener","closeEndPoint","constructor","isMessagePort","close","target","createProxy","throwIfProxyReleased","isReleased","isProxyReleased","Proxy","get","_target","requestResponseMessage","p","toString","r","bind","set","_thisArg","rawArgumentList","last","processArguments","construct","processed","v","arr","Array","prototype","concat","transferCache","WeakMap","transfers","windowEndpoint","w","context","targetOrigin","msg","handler","serializedValue","fill","Math","floor","random","MAX_SAFE_INTEGER","l","closingTagRegex","scaryCharactersRegex","safeJsonStringify","json","JSON","stringify","ExternalComponentAPISymbol","ExternalComponentFetchSymbol","ExternalComponentLoaderSymbol","ExternalComponentCssManagerSymbol","ExternalComponentCssApplierSymbol","ExternalComponentDsPublicApiSymbol","ExternalComponentConsentManagerSymbol","ExternalComponentUiLibProvidersSymbol","ExternalComponentWixCodeUrlGeneratorSymbol","ExperimentsSymbol","ComponentsLoaderSymbol","ComponentsRegistrarSymbol","ComponentWrapperSymbol","ComponentDidMountWrapperSymbol","ExecuteComponentWrappersSymbol","DynamicPagesResponseHandlerSymbol","PermissionsHandlerSymbol","PermissionsHandlerProviderSymbol","WindowWixCodeSdkWarmupDataEnricherSymbol","TpaFullScreenModeAPISymbol","SeoPageSymbol","SeoSiteSymbol","LinkClickHandlerSymbol","SiteLinkClickHandlerSymbol","NavigationClickHandlerSymbol","NO_SCENARIO_FOUND","SSR_HOST","SSR_PROTOCOL","ORIGINAL_URL_HEADER","ORIGINAL_HOST_HEADER","ORIGINAL_PROTOCOL_HEADER","MAX_NGINX_URL_LENGTH","DEFAULT_DURATIONS_MS","SlideHorizontal","SlideVertical","CrossFade","OutIn","gradientConstants","TYPES","GRADIENT_LINEAR","GRADIENT_ELLIPSE","GRADIENT_CIRCLE","GRADIENT_CONIC","CSS_FUNC","RADIAL_GRADIENT","CONIC_GRADIENT","LINEAR_GRADIENT","REPEATING","DEG","AT_CENTER","CIRCLE","ELLIPSE","FROM","PERCENTAGE","RGBA","HEAD","BODY_START","BODY_END","locations","locationToHtmlEmbedsSectionBeginIds","locationToHtmlEmbedsSectionEndIds","dynamicPageHtmlEmbedSectionIds","head","end","bodyStart","bodyEnd","unwrapVerticalText","text","wrapVerticalText","dataFixVerticalText","hasVerticalTextData","SSR_DONE_MSG","AppWillMountHandlerSym","AppWillLoadPageHandlerSym","AppWillRenderFirstPageHandlerSym","AppDidLoadPageHandlerSym","PageDidLoadHandlerSym","PageWillMountHandlerSym","PageDidMountHandlerSym","PageWillUnmountHandlerSym","PageDidUnmountHandlerSym","AppDidMountHandlerSym","AppWillUnmountHandlerSym","LifeCycle","AppWillMountHandler","AppWillLoadPageHandler","AppWillRenderFirstPageHandler","AppDidLoadPageHandler","AppDidMountHandler","AppWillUnmountHandler","PageDidLoadHandler","PageWillMountHandler","PageDidMountHandler","PageWillUnmountHandler","PageDidUnmountHandler","AppMonitoringSymbol","CommonConfigSymbol","SamePageScrollSymbol","SamePageAnchorPropsResolverSymbol","AnchorCompIdProviderSymbol","ScrollToAnchorHandlerProviderSymbol","CatharsisMegaStoreSymbol","SvgContentBuilderSymbol","withViewModeRestriction","allowedModes","tpaHandler","allowedModesMap","mode","extras","viewMode","reject","extractInnerRoute","tpaPageUri","parts","i","remains","splice","METASITE_APP_DEF_ID","BuilderComponentLoaderSymbol","BuilderComponentRegistrarSymbol","BuilderComponentStyleApiSymbol","BuilderComponentResolverSymbol","BuilderComponentWarmupDataEnricherSymbol","BuilderResourcesManagerSymbol","CompTypeToAllDescendantsHandlerSymbol","LOADING_PHASES","WAIT_FOR_IMPORTS","APPLY_POLYFILLS","GET_COMPONENTS_MAPPERS","GET_CLIENT_WORKER","GET_VIEWER_API","INIT_DS_CARMI","INIT_REGULAR_DS_CARMI","INIT_BY_REF_DS_CARMI","INIT_BY_REFSIS","GET_BECKY_MODEL","INIT_DS_CONTAINER","LOAD_INITIAL_DS_COMPONENTS","DS_LOAD_MASTER_PAGE","DS_ROUTER_NAVIGATE","DS_LOAD_PAGE_ASSETS","DS_LOAD_MASTER_PAGE_ASSETS","INIT_DS_VIEWER_API","INITIAL_DS_RENDER","APP_WILL_RENDER_FIRST_PAGE","DS_WAIT_FOR_DID_MOUNT","DS_INVOKE_RENDER_DONE_HANDLERS","DS_INVOKE_LAYOUT_CHANGE_HANDLERS","DS_NOTIFY_RENDER_DONE","DS_NOTIFY_LAYOUT_CHANGE","DS_WAIT_FOR_LAYOUT_DONE","DS_WAIT_FOR_VIEW_MODE","DS_WAIT_FOR_DATA_REQUIREMENTS","DS_PENDING_REQUIREMENTS_builderComponentRefs","DS_PENDING_REQUIREMENTS_builderComponentHierarchy","DS_PENDING_REQUIREMENTS_viewerManagerFontsApi","DS_PENDING_REQUIREMENTS_viewerManagerByRefApi","DS_PENDING_REQUIREMENTS_componentsUpdatesManager","DS_PENDING_REQUIREMENTS_viewerManagerUpdateStatusApi","DS_PENDING_REQUIREMENTS_navigationManager","DS_PENDING_REQUIREMENTS_translations","DS_WAIT_FOR_NAVIGATION","DS_INITIAL_NAVIGATION","PAGE_REFLECTOR","InitSymbol","getBaseVarName","varId","getVarNameWithSuffix","suffix","variableNameGetters","unitSize","alignment","getForGrid","getForFlex","justifyContent","number","repeatLength","position","getForceAuto","getHeaderOffset","getStickyOffset","layoutSize","getVariableCss","varValue","variableKey","environmentRefs","isNewStyleApi","defaultSpx","maintainSPX","isItemsAlignmentValue","isJustifyContentValue","isNumberValue","isKeywordLengthValue","isPositionTypeValue","stickyOffset","headerOffset","forceAuto","isLayoutSizeValue","valueAsString","RegisterToUnmountSym","Thunderbolt","SiteMembersApiSymbol","DialogComponentId","SpeculationRulesSymbol","BATCH_THROTTLE_DURATION_MS","EXTRA_BASE_PARAMS","SiteFeatureConfigSymbol","EditorFeatureConfigSymbol","PageFeatureConfigSymbol","MasterPageFeatureConfigSymbol","FeatureStateSymbol","FeatureExportsSymbol","DynamicPagesSymbol","PageFeatureConfigsSymbol","ComponentPropsExtenderSymbol","ComponentDriverSymbol","ComponentDriverProviderSymbol","BaseTraitSymbol","ComponentWillMountSymbol","ComponentsStoreSymbol","_loadScriptTag","src","script","createElement","onerror","onload","appendChild","loadScriptTag","loadModuleScriptTag","loadScriptWithRequireJS","scriptUrls","moduleRepoUrl","PM_RPC","REQUIRE_JS","loadPmRpc","async","pmrpc","define","amd","loadRequireJS","reactAndReactDOMLoaded","ReactDOM","React","__imageClientApi__","sdk","SVG_TYPES","SHAPE","TINT","COLOR","UGC","attributesRegexes","elementsRegexes","getViewBoxObject","viewBox","vieBoxArr","x","y","width","height","getAll","str","regex","defaultValue","exec","getUGCViewBox","svgType","svgNode","parseSvgString","svgString","svgId","pathNodes","bbox","nodes","content","info","colors","node","dataColor","boxBoundaries","ShapeDividerBuilderID","module","exports","isClean","my","CustomUrlMapperSymbol","NavigationSymbol","beckySpecs","modules","dm_changeCSMKeys","keys","CUSTOM_ELEMENT_GET_APP_TOKEN_EXPERIMENT","ViewerManagerApi","CLICKHOUSE_BATCH_REPORT_URL","BodyContentSymbol","for","origSymbol","hasSymbolSham","CookiesManagerSymbol","filterItemsWithSlot","items","allowSlotItemWithSubItems","isArray","slot","slotItemWithSubItemClearance","initEditorSdk","options","sendMessageToEditor","loadEditorScript","getWindowUrl","experiments","channel","windowUrl","sdkVersion","appDefinitionId","applicationIdParam","params","searchParams","getMainFrameUrlParams","applicationIdAsNumber","contextOptions","applicationId","isNaN","onmessage","sdkScriptSrc","getEditorSDKurl","editorSDK","__initWithTarget","getBoundedSDK","CustomCssAPISymbol","CustomCssDsAPISymbol","COMP_HEIGHTS","SIMPLE","FACES","STREAM","MAX","COMP_WIDTHS","MIN_WIDTH","MAX_WIDTH","groupByMultipleComponentTypes","array","acc","componentTypes","componentType","RenderIndicatorSymbol","DEFAULT_STATUS_CODE","BrowserWindowSymbol","ViewerModelSym","LanguageSymbol","ViewModeSym","RendererPropsExtenderSym","ComponentLibrariesSymbol","LoggerSymbol","PlatformEnvDataProviderSymbol","PlatformViewportAPISym","WixCodeSdkHandlersProviderSym","StoresProviderSymbol","PlatformSymbol","PlatformWorkerPromiseSym","AppDidMountPromiseSymbol","RendererSymbol","BatchingStrategySymbol","DomReadySymbol","PlatformPropsSyncManagerSymbol","DynamicModelSymbol","SessionModelSymbol","FetchAccessTokensSymbol","RendererExtensionsSymbol","MawSdkSymbol","NotifyErrorSymbol","AuthenticationSymbol","PerfReporterSymbol","TBReadySymbol","SessionProviderSymbol","orderedTransformationKeys","isStyleItemContainsTransformProps","styleItem","property","hasOwnProperty","isPropertyDefined","getTranslateString","translate","translateString","vhScalingFactor","translateX","translateY","getScaleString","scale","scaleString","scaleX","scaleY","getRotateString","componentDefaultRotation","rotate","getSkewString","skew","skewString","skewX","skewY","Fetch","UsedPlatformApisSymbol","PlatformInitializerSym","UnfinishedTasksManagerSymbol","PlatformWarmupDataManagerSymbol","CompsLifeCycleSym","componentAndDataConsts","components","PROPERTY_TYPES","COMPONENTS","COMPONENT_TYPE","BUILDER_TYPE","CONNECTION_QUERY","CLASSNAMES_QUERY","DATA_QUERY","PROPERTY_QUERY","DESIGN_QUERY","BEHAVIOR_QUERY","LAYOUT_QUERY","CURSOR_QUERY","TRANSITION_QUERY","REACTION_QUERY","TRIGGERS_QUERY","TRANSFORMATION_QUERY","PRESETS_QUERY","SLOTS_QUERY","ID","LAYOUT","META_DATA","MOBILE_HINTS_QUERY","MODES","SKIN","STYLE_ID","PARENT","TYPE","UI_TYPE","ANCHOR_QUERY","VARIABLES_QUERY","PATTERNS_QUERY","EFFECTS_QUERY","VARIANTS_QUERY","STATES_QUERY","INNER_ELEMENTS_QUERY","DATA_MAPS","BEHAVIORS","CONNECTIONS","DATA","CLASSNAMES","DESIGN","CURSOR","MOBILE_HINTS","PROPERTIES","STYLE","TRANSFORMATIONS","PATTERNS","TRANSITIONS","PRESETS","SLOTS","ANCHOR","VARIANTS","REACTIONS","TRIGGERS","VARIABLES","EFFECTS","STATES","INNER_ELEMENTS","INTENT","DATA_TYPES","SVG","QUERY_TO_MAP_NAME","Z_LAYER_VALUE_MAP","BELOW_PINNED","ABOVE_PINNED","ABOVE_ALL_COMPS","MASTER_PAGE_ID","AUTO_HEIGHT_COMP_TYPES","SelectionTagsList","RefComponent","Checkbox","ComboBoxInput","CheckboxGroup","TextMask","TextAreaInput","CollapsibleText","RadioGroup","Tabs","TextMarquee","FileUploader","Pagination","TPA_WIDGETS_WITH_AUTO_HEIGHT","sliderGallery","gridGallery","COMPONENTS_WITH_PORTAL_PREFIXES","DatePicker","RichTextBox","VideoBox","Menu","DEFAULT_EXPIRATION_TIME","SESSION_TYPES","COURSE","SERVICE","RATE_TYPES","FIXED","VARIED","NO_FEE","CUSTOM","UNKNOWN_RATE_TYPE","getCommonConfigHeader","commonConfig","commonConfigHeader","BSI","bsi","consentPolicyHeader","consentPolicy","getRuntimeStyleOverridesManager","stylePropertiesToRestore","styleOverrides","setItemCssOverrides","cssOverridesWithPriorities","selector","querySelectorAll","entries","override","style","getPropertyValue","setProperty","priority","clearItemCssOverrides","itemOverridesOriginalValues","originalValue","getAttribute","removeAttribute","clearAllItemsCssOverrides","pageIdSym","contextIdSymbol","PageAssetsLoaderSymbol","CssFetcherSymbol","PageResourceFetcherSymbol","PageFeatureLoaderSym","PageTransitionsCompletedSymbol","defineProperty","COMMENT_START_IN_RAWS_BETWEEN_REGEX","SELECTOR_STATE_REGEX","PROPS_SUPPORTING_COMMENTS","DEFAULT_FILTER","_","EditorLocationSDKHandlersSymbols","ABOVE_ALL_IN_CONTAINER_Z_INDEX_DEFINED","ABOVE_ALL_IN_CONTAINER_Z_INDEX_NOT_DEFINED","PINNED_LAYER_IN_CONTAINER","INITIAL_Z_INDEX","Z_INDEX_RANGE","RESPONSIVE_Z_INDEX_ADDITION","ABOVE_ALL_COMP_Z_INDEX","PINNED_LAYER_SUFFIX","SECTIONS_CONTAINER_PREFIX","CONTAINER_IDS","MASTER_PAGE","SITE_HEADER","SITE_FOOTER","SOSP_CONTAINER_CUSTOM_ID","PAGES_CONTAINER","QUICK_ACTION_BAR","EXCLUDED_COMPONENTS_CLASSIC","ABOVE_ALL_COMPONENTS_CLASSIC","CSS_PROPERTIES","Z_INDEX","ABOVE_ALL_IN_CONTAINER","PINNED_LAYERS_IN_PAGE","PINNED_LAYER_IN_CONTAINER_VAR","PINNED_LAYERS_IN_PAGE_VAR","FIXED_ITEM_LAYOUT","COMPONENT_TYPES","REF_COMPONENT","REF_ARRAY","SECTION","HEADER_SECTION","FOOTER_SECTION","PAGE","SITE","extractComponentData","componentData","result","key","LayoutDoneServiceSymbol","ModuleMetadataSymbol","createIdentifier","sym","processOoiCss","widgetId","styleData","prefixSelector","cssConfig","isMobile","dimensions","usesCssPerBreakpoint","shouldRemoveStaticCss","getStaticCss","cssconfig","css","runAndReport","syncMethod","tpaData","variables","cssVars","siteColors","siteTextPresets","styleParams","siteCssVars","defaults","customCssVars","stylesheet","generateCssVars","cssConfigCss","VersionIndicatorSymbol","CarmiInstance","isViewerFragmentSymbol","TBInstanceIdSymbol","HoverBoxAPISym","HoverBoxHooksSym","ComponentType","ScrollRestorationAPISymbol","siteAssetsModules","AutoDisplayLightboxSymbol","customCssId","GLOBAL_CSS_OLD_NAMESPACE","GLOBAL_CSS_NAMESPACE","GLOBAL_CSS_SELECTOR_PREFIX","GLOBAL_CSS_FILE_PATH","PageStyleLoaderSymbol","PageScrollRegistrarSymbol","LightboxSymbol","CurrentLightboxSymbol","LightboxUtilsSymbol","LightboxesAPISymbol","LightboxesResponseHandlerSymbol","ReporterSymbol","MAX_Z_INDEX","PORTALS_Z_INDEX","isUnitSize","u","isAutoSize","isAspectRatio","getVariableKey","variable","variableId","shouldRenderVariableName","variableName","sizeToString","size","spx","isMinMaxSize","min","max","isCalculationSize","VH_VALUE_REGEX","parseFloat","isRepeat","isVariableRef","margins","left","right","marginsToCss","top","bottom","setPrefix","prefix","object","mapKeys","setForOverflowWrapper","setForContainer","setForContainerPinned","setForOneCellGrid","setForItem","setForComponent","mergeStyles","merge","addKeyPrefixForCssObject","keyPrefix","cssObject","buildMargins","buildPadding","getTopString","itemLayout","calcValues","headerOffsetVariableName","stickyOffsetVariableName","getPosition","getOffsetByStickiness","offsetFallback","buildPosition","renderSticky","pinnedToContainer","isStickyPosition","emptySize","isStickyDisabled","shouldForceAuto","omitBy","createItemLayoutConverter","specificItemLayoutConverter","renderScrollSnap","specificStyles","baseStyles","scrollSnapAlign","isInFront","getOverflowWrapperStyle","containerLayout","isOneCellGridDisplayBlock","isOneCellGridDisplayFlex","overflowWrapperStyles","display","containerOverflowStyles","overflowStyles","overflowX","overflowY","scrollSnapStyles","scrollSnap","scrollSnapType","scrollBehaviour","scrollSnapDirection","trim","hideScrollbarStyles","hideScrollbar","overflow","getOverflowStyles","getSpxStoppers","spxStopper","maxVar","minVar","pickBy","createContainerLayoutConverter","layoutProperties","hasOverflow","shouldOmitWrapperLayers","shouldDeclareHeaderHeightFlex","padding","gaps","rowGap","columnGap","pointerEvents","spxStopperExperiment","contentMaxWidth","maxWidth","maxWidthVar","getAlignment","align","getContentMaxWidth","containerStyles","containerPinnedStyles","oneCellStyles","oneCellStyle","getOneCellWrapperStyle","getGridAlignment","getFlexAlignment","parseBaseGridItem","additionalLayoutProperties","additionalStyles","alignSelf","justifySelf","parseFixedItem","getGridArea","parseGridItem","gridItemLayout","rootCss","gridArea","rowStart","columnStart","rowEnd","columnEnd","parseGridLayout","gridContainerLayout","rows","columns","autoFlow","autoRows","autoColumns","parseFlexContainerLayout","flexContainerLayout","kebabCase","direction","alignContent","alignItems","parseFlexItemLayout","flexItemLayout","isNumber","order","String","basis","grow","shrink","componentLayoutPropertiesConverters","compStyles","getCompHeightCss","overflowContainerWrapperStyles","minWidth","minHeight","cssObj","compDisplay","forContainer","hasMinValue","isHeightAuto","forOverflowWrapper","maxHeight","maxHeightCss","forComponent","rotationInDegrees","transform","hidden","containerType","componentLayoutDefaults","componentLayoutConverter","componentLayout","componentLayoutWithDefaults","propertiesConverters","Boolean","selectorToCssMap","getCssFunc","selectorToCssMapToAdd","pinnedLayerDataItemToCss","layoutDataItem","pinnedLayerCss","isPinnedTopAutoExperiment","pinnedTopAutoExperiment","isDockedBottom","isDockedTop","component","parseMultiColumnsContainerLayout","_layout","columnCount","noopConverter","__","___","converters","ComponentLayout","FixedItemLayout","GridItemLayout","BackgroundLayerItemLayout","GridContainerLayout","FlexContainerLayout","FlexItemLayout","MultiColumnsItemLayout","MultiColumnsContainerLayout","OrganizerContainerLayout","OrganizerItemLayout","StackContainerLayout","StackItemLayout","ClassicComponentLayout","MeshContainerLayout","MeshItemLayout","FixedPositionItemLayout","MasterPageItemLayout","layoutDataItemToCss","converter","yieldToMain","process","env","RENDERER_BUILD","scheduler","yield","setTimeout","taskify","task","ModelUpdatesHandlersImplementor","fetchMainGridAppId","fetchFn","siteId","mainGridAppId","res","gridAppId","dashboardHostKey","getWithCaptchaChallengeHandler","openCaptchaDialog","cb","token","error","isCaptchaTokenRequired","getOpenCaptcha","captcha","userLanguage","open","onVerified","onClose","errorCode","details","errorcode","applicationError","code","CAPTCHA_ERROR_CODES","ERROR_CODES","SM_CAPTCHA_REQUIRED","SM_CAPTCHA_INVALID","REQUEST_THROTTLED","unitSizeToString","vhValueToString","numberToString","gridAlignmentToString","meshAlignmentToString","alignmentToFlexSyntax","center","stretch","auto","flexAlignmentToString","contentAlignmentToFlexSyntax","spaceBetween","spaceAround","spaceEvenly","flexJustifyContentToString","flexAlignContentToString","templateLengthToString","positionToCss","isStickyToHeader","MetricsReporterSym","AUTHORIZATION_CODE_QUERY_PARAM","ScreenInInitCallbackSymbol","ScreenInAPISymbol","SCREEN_IN_CALLBACK","DynamicActionsConfigSymbol","TpaHandlersManagerSymbol","MasterPageTpaPropsCacheSymbol","TpaContextMappingSymbol","TpaSrcBuilderSymbol","TpaSectionSymbol","TpaDataCapsuleSymbol","PinnedExternalIdStoreSymbol","TpaSrcUtilitySymbol","overrideSuffix","queryParamsWhitelist","CompEventSymbol","getBuilderWidgetClass","builderWidgetId","getPresetsInstanceWrapperClass","instanceKey","supportExternalDependenciesCss","getPresetsInstanceWrapperSelector","errors","NOT_FOUND","SERVER_ERROR","LOCAL_STORAGE_UNSUPPORTED","COOKIE_CONSENT_DISALLOWED","PREFIX_SEPARATOR","KEY_SEPARATOR","STORAGE_PREFIX","tabClasses","WindowScrollApiSymbol","ResolvableReadyForScrollPromiseSymbol","DEFAULT_DESKTOP_SITE_WIDTH","MOBILE_SITE_WIDTH","EMPTY_ARRAY","SOSP_CONTAINER_ID","VISIBILITY_HIDDEN","visibility","VISIBILITY_VISIBLE","TPA_COMPONENTS","InvalidJsonError","paramName","cause","super","this","IS_RTL_PARAM","directionMap","ltr","rtl","START","END","STARTSIGN","ENDSIGN","DIR","WindowMessageRegistrarSymbol","ReducedMotionSymbol","SENTRY_REROUTED_MARK_KEY","SENTRY_IS_NON_WIX_TPA_MARK_KEY","SENTRY_REROUTE_DATA_KEY","addRerouteDataToSentryEvent","event","extra","exception","values","stacktrace","frames","routeTo","frame","module_metadata","appId","release","dsn","app","wixEmbedsAPI","getMonitoringConfig","monitoringComponent","monitoring","sentryOptions","isWixTPA","isSentryEventFromNonWixTpa","dialogFeatureName","AuthenticationApiSymbol","COMPS_ROOT_NAMESPACE","SVG_STORE_NAMESPACE","PARSED_SVG_ASPECT","TOP_ANCHOR_COMP_ID","TOP_ANCHOR_DATA_ID","TOP_ANCHOR","dataId","WIX_ADS","SCROLL_DEBOUNCE_WAIT","RESIZE_DEBOUNCE_WAIT","TriggerTypeEventNameMapper","click","tap","ReverseStateReactionTypeMapper","AddState","RemoveState","TogglePlay","getPageBackgroundId","pageId","MotionSymbol","applyRetainedQueryParams","browserCurrentUrl","targetHref","urlWithProtocol","targetUrl","host","has","TbDebugSymbol","TbDebugFeaturesSymbol","DevToolsSymbol","MainGridAppIdFetchSymbol","HALF_PX","CONTAINER_TYPES","Page","MasterPage","AppPage","VerticalRepeater","QuickActionBar","PageGroup","SiteRegionContainer","Container","MediaBox","HoverBox","PopupContainer","Group","FormContainer","WSiteStructure","HeaderContainer","FooterContainer","PagesContainer","StripContainer","StripColumnsContainer","ClassicSection","Column","MediaPlayer","ScreenWidthContainer","Area","BoxSlideShow","StateBox","StateStrip","StateBoxState","StateBoxFormState","StateStripState","StripContainerSlideShow","SlideShowSlide","BoxSlideShowSlide","StripContainerSlideShowSlide","Repeater","MediaContainer","MenuContainer","AppWidget","Popover","Section","HeaderSection","FooterSection","MembersAreaSection","MultiStateBox","MegaMenuContainerItem","StretchedContainer","SettingsPanelContainer","SingleTab","AccordionItem","SelectableContainer","HamburgerMenuContainer","meshIgnoredComponentTypes","BackgroundGroup","PinnedLayer","MeshGroup","SPX_VALUE_REGEX","resolveSpxAttribute","keepNumValues","valuesWithResolvedSpx","RegExp","spxValue","resolveSpxValue","bracketsCounter","fixCssUnits","refWidth","resolverType","isScale","numericValue","scalingFactor","toFixed","getCalcCssValue","getSpxValueResolver","TpaHandlerProviderSymbol","TpaSrcQueryParamProviderSymbol","TpaPopupSymbol","TpaModalSymbol","TpaMessageContextPickerSym","CompRefAPISym","encodeAnchorName","anchorName","encodeURIComponent","c","BOTTOM_ANCHOR","TOP_AND_BOTTOM_ANCHORS","TPA_RUNTIME_COMP_ID_SEPARATOR","runtimeTpaCompIdBuilder","buildRuntimeCompId","originCompId","isRuntimeCompId","getOriginCompId","SessionManagerSymbol","AuthorizationCodeRefreshSymbol","removeWww","keepInternalQueryParamsOnly","filteredEntries","URLSearchParams","resolveUrl","routingConfig","tpaSectionPageIds","sanitizedUrl","currentParsedUrl","isHomePageUrl","queryParams","candidateUrl","urlToParse","candidateUrlWithNoProtocol","baseUrlWithNoProtocol","isUrlOnSameWixSite","siteProtocol","candidateSlashUrl","fixSameWixSiteCandidateUrl","parsedUrl","search","parsedBaseUrl","isInternalUrl","relativeUrl","relativeEncodedUrl","relativePathnameParts","route","routes","partialRouteMatchingAllowed","decodedRelativePathnameParts","routeKey","dynamicPageRouteKey","isPartialStaticRouteMatch","getRouteData","screenSizeMeasures","screenResulotion","screen","screenAvailableResulotion","availWidth","availHeight","windowResulotion","innerWidth","innerHeight","windowOuterResulotions","outerWidth","outerHeight","PANORAMA_DATA_KEY","BlacklistedStacktraceScriptTypes","BROWSER_EXTENSION","WixCustomElementComponentAPISymbol","WixCustomElementComponentEditorAPISymbol","PageProviderSymbol","LogicalReflectorSymbol","LogicalReflectorStateSymbol","PageStructureJsonSymbol","PagePropsJsonSymbol","PageInitializerSymbol","CompEventsRegistrarSym","OoiTpaSharedConfigSymbol","OOICompDataSymbol","AUTH_METHODS","LOGIN","SIGNUP","INTERACTIONS","SOCIAL_APP_LOGIN","SOCIAL_APP_LOGIN_WITH_VENDOR","vendor","DEFAULT_LOGIN","CODE_LOGIN","CODE_SIGNUP","DEFAULT_SIGNUP","RESET_PASSWORD","VERIFY_TOKEN","EDITOR","WELCOME_DIALOG","VERIFICATION_CODE","AUTH_RESULT_REASON","CANCELED","ALREADY_LOGGED_IN","SUCCESS","NOT_PERMITTED","TPA_PAGES","SIGN_UP","FORGOT_PASSWORD","ADMIN_APPROVAL","EMAIL_CONFIRMATION","EXPIRED_TOKEN","ACCESS_RESTRICTED","ROUTER_PREFIX","TPA_PAGE_IDS_TO_ROUTES","PASSWORD_RESETED","WRONG_AUTH_DETAILS","ACCESS_DENID","VALIDATION_ERROR","WAITING_APPROVAL","UNKNOWN_ACCOUNT","WRONG_PASSWORD","EXISTING_EMAIL_ACCOUNT","CLIENT_AUTH_FORBIDDEN","EMAIL_NOT_PROVIDED","CAPTCHA_REQUIRED","CAPTCHA_INVALID","RESET_PASSWORD_TOKEN_EXPIRED","NEW_RESET_PASSWORD_TOKEN_EXPIRED","CODE_INVALID","BAD_CODE","SERVER_EXCEPTION","AUTHENTICATION_FAILED","UNIMPLEMENTED_FEATURE","IP_ADDRESS_BLACKLISTED","VERIFICATION_CODE_ERROR_CODES","LOGIN_ERROR_CODES","SIGN_UP_ERROR_CODES","UNSUPPORTED_AGENTS_FOR_SOCIAL_AUTH","INVISIBLE_CAPTCHA_API_KEY","TRACK_EVENTS","CATEGORY","LABEL","ACTIONS","SUBMIT","FAIL","LOGOUT","SETTINGS","RESET_PASSWORD_ROUTE","getTrackEventParams","eventAction","eventLabel","eventName","eventCategory","CAPTCHA_REQUIRED_RESPONSE","description","newIAMResetPasswordTokenPrefix","KNOWN_CONNECTION_APPEFIDS","PASSWORD","FACEBOOK","GOOGLE","APPLE","idpConnectionIdToVendorNames","memberDetailsStorageKey","PanoramaConfig","config","getInstance","instance","getConfig","getPanoramaGlobalConfig","DESKTOP_SPX","MOBILE_SPX","SsrCacheSiteSymbol","STYLE_OVERRIDES_ID","RendererPropsProviderSym","PageTransitionsHandlerSymbol","ThunderboltRootComponentRendererSym","ComponentCssSym","AppDidMountServiceSymbol","MultilingualCurrentLanguageSymbol","MAX_BATCH_SIZE","SiteAssetsClientSym","getOwnPropertySymbols","iterator","symObj","call","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","enumerable","connectionRequestMsg","connectionSuccessMsg","messageDelimiter","deafultConnectionMaxTimeout","deafultMessageMaxTimeout","ServiceProviderSymbol","SignalsPageServiceProviderSymbol","SignalsServiceProviderSymbol","SiteServicesManagerSymbol","PageServicesManagerSymbol","SiteServicesProviderSymbol","HeadContentType","overrideStyleParams","appSettings","isResponsive","anywhereThemeOverride","getOverrideStyleParamsFnForWidget","overrideStyleParamsForWidget","widgetsWithStyleParamsOverrides","overrideStyleParamsFn","overrideServiceListStyleParams","shouldOverrideStyleParams","getAppDefIdForWidget","ooiStyleParamsUtil","Router","RoutingMiddleware","Dynamic","Protected","BlockingDialogs","PageJsonFileNameMiddlewareSymbol","CustomNotFoundPageMiddlewareSymbol","RoutingBlockerManagerSymbol","CustomUrlMiddlewareSymbol","RoutingLinkUtilsAPISymbol","PopHistoryStateHandler","UrlChangeHandlerForPage","UrlHistoryManagerSymbol","ShouldNavigateHandlerSymbol","CommonNavigationClickHandlerSymbol","RouterContextSymbol","CustomPageContextSymbol","RoutingValidationSymbol","PageNumberSymbol","queryParamsWhitelistSymbol","CanvasSymbol","MOBILE_ACTIONS_MENU_ID","MOBILE_ACTIONS_MENU_COMP_TYPE","MAX_STACK_TRACE_SIZE_BYTES","MAX_SESSION_TIME_MS","LandingPageAPISymbol","addHash","SiteScrollBlockerSymbol","CurrentRouteInfoSymbol","SamePageUrlChangeListenerSymbol","PagesMapSymbol","SITE_STYLES","hex2RgbNorm","hex","g","b","hexToRgb","attrToString","filterWrapperTemplate","attrs","attrsObjectToString","saturation","inAttr","color","hexColor","opacity","getColor","offset","filterComponentTempaltesWithNumber","blur","contrast","amount","round","brightness","sepia","hue","alpha","filterComponentTempaltesWithString","blend","in2Attr","composite","tint","getTint","filterComponentTempaltes","duotone","dark","light","r_diff","g_diff","b_diff","getDoutone","shadow","blurRadius","mergeGraphic","rest","getFilterValue","overrides","duotoneLight","duotoneDark","filterDefinition","effect","filterValue","arg","whiteParams","blackParams","luma","identity","viewBoxMatcher","preserveAspectRatioMatcher","svgWidthMatcher","svgHeightMatcher","svgTagMatcher","fillAttributeMatcher","styleAttributeMatcher","styleTransformMatcher","symbols","encodeSVG","svg","removeWidthAndHeight","addIfMissing","widthMatch","heightMatch","newWidth","newHeight","addA11yAttributes","altText","a11yFeatures","asString","feats","role","getNoAltA11yAttributes","newSvgString","getShadowFilter","filterId","layout","filterString","getShadow","blurSpread","abs","getFilterRectInPixels","getScaledSvgViewBox","svgInfo","properties","preserveViewBox","displayMode","aspectRatio","preserveAspectRatio","svgTag","getCSSDropShadow","colorsMap","getFromColorMap","padStart","getCSSStrokeAdjustments","strokeWidth","svgCalculatedPadding","ceil","svgCalculatedWidth","svgCalculatedHeight","FLIP_DATA_TO_TRANSFORM","xy","none","getSvgContentForMask","flip","topSvg","styleMatch","replacement","transformMatch","getFlippedSVG","addSvgStyleNode","defsValue","transformVectorImage","rawSvg","overrideColors","overrideColorsInuput","colorValue","isColor","isThemeColor","withScaledViewBox","rawColor","color1","resolvedColor","baseColor","colorToTint","colorObj","isGreyscale","red","rTint","gTint","green","bTint","blue","transformToTintColors","withTintColors","colorName","withCssOverrides","shadowOnly","wrapWithShadow","withShadowFilter","getShapeDividerImageCss","keepAspectRatio","side","shouldRepeat","repeatCount","shouldInvert","getViewBoxFromData","image","vbX","vbY","vbWidth","vbHeight","n","viewBoxOverride","scaledSvg","uniqueId","trimmedContent","processedSvgContent","svgContent","pathTag","pathData","rectPathSuffix","invertSvgContent","svgStyle","color2","svgTagMatch","idMatch","setSvgId","getFontFamilyFontsFromSvg","fonts","font","f","buildSvgUrlFactory","getSvgBaseUrl","mediaRootUrl","buildSvgUrl","svgUri","partsArr","svgHash","svgName","svgIdToUri","toOKResponse","parse","arrayBuffer","TextEncoder","encode","buffer","ok","headers","Headers","withCache","cache","metricsReporter","metricsPrefix","init","fromCache","textResult","NoopCache","itemCount","dump","maxAge","FetchApi","requestUrl","envFetch","cachedFetch","getJson","referer","postFormData","formData","payload","method","body","append","isExperimentRunning","experiment","isInQueryParam","queryParam","experimentsQueryParam","isInExperimentsQueryParam","isInExperimentsOffQueryParam","isExperimentOpen","specName","originalUrl","e","URLObject","getQueryParams","RESPONSIVE_PAGE_CONTAINER_PREFIX","MASTER_PAGE_COMPONENTS_IN_RESPONSIVE","SITE_CONTAINER_WITHOUT_HEADER_SELECTOR","SITE_CONTAINER_WITH_HEADER_SELECTOR","WIX_INTERACT_ELEMENT_SELECTOR","mainFrameEditorNamespace","WidgetSdkSymbol","createPromise","resolver","promise","_resolver","PROMOTE_BI_ENDPOINT","PURCHASE_EVENT","SRC","EVID","minimumLabelFontSize","labelPaddingLimit","memberNamespace","memberNamespaceV2","ImageZoomAPISymbol","NATIVE_GALLERIES_TYPES","IMAGE_ZOOM_QUERY","RUNTIME_DELIMETER","IMAGE_ZOOM_ID","UTM_PARAMS_LOCAL_STORAGE_KEY","BI_FIELD_CHAR_LIMIT","WarmupDataEnricherSymbol","WarmupDataProviderSymbol","WarmupDataAggregatorSymbol","WarmupDataPromiseSymbol","DATA_PRESET_ATTRIBUTE","CSS_PRESET_PREFIX","COMPONENT_CLASS_PREFIX","ROOT_ELEMENT_KEY","WIX_WARMUP_DATA_ELEMENT_ID","BUILDER_HIERARCHY_LOADING_STATE","IN_PROGRESS","DONE","CaptchaApiSymbol","DIALOG_COMPONENT_ID","RouterFetchSymbol","EMPTY_INTERACTIONS_CONFIG","interactions","effects","ReactionCreatorFactorySymbol","ReactionsStateApiSymbol","ClassNameApiSymbol","ViewportIntersectionHandlerSymbol","triggersBreakpointValidatorSymbol","MotionEffectsReactionsSymbol","scrubReactionsManagerSymbol","ShouldEnableTriggersAndReactionsSymbol","ChildListObserverSymbol","ManifestManagerApiSymbol","isRgbValues","isHexValue","rgbToHexString","rgb","brighten","colorString","brightnessModifier","hsvColor","hsv","string","getRGBAColorString","colorOpacity","fixColor","splitColor","rgbString","getSplitRgbValuesString","getSplitRgbValuesStringWithoutAlpha","getColorAlpha","extractThemeColor","themeColorIndex","getHexColor","rgbAsString","getColorClass","className","colorClass","formatColor","fixedColor","formattedRgbColor","getColorFromCssStyle","extractRGBA","isValidColor","generateGradient","colorLayers","colorMap","generate","resolveColor","getBiStore","wixBiSession","viewerModel","rollout","rolloutData","site","msId","msid","viewerSessionId","initialTimestamp","initialRequestTimestamp","dc","microPop","is_rollout","isCached","checkVisibility","caching","isjp","btype","st","isSuccessfulSSR","mpaSessionId","session_id","sessionId","is_headless","is_headless_reason","pageData","pageNumber","pageUrl","isLightbox","viewerVersion","thunderboltVersion","noop","createNoopLogger","muteErrors","updatePageNumber","updatePageId","updateApplicationsMetaSite","runAsyncAndReport","asyncMethod","reportAsyncWithCustomKey","fn","phaseStarted","phaseEnded","meter","appLoaded","reportAppLoadStarted","captureError","args","console","addBreadcrumbToBatch","flushBreadcrumbBatch","setGlobalsForErrors","breadcrumb","interactionStarted","interactionEnded","registerPlatformWidgets","addSSRPerformanceEvents","addPlatformAppEvent","finishPlatformAppEvent","reportSsrBi","reportPlatformEndEvent","addResourceFetchEvent","getAllResourceFetchEvents","getEventsData","getEnvironment","fleetCode","multipleIncludes","DefaultCommonConfig","BrandToHostMap","HeadlessHost","DefaultBrand","EventContextMap","BackofficeDomains","LoggerVersion","wix","editorx","brand","isSSR","getCSRFToken","cookie","csrfTokenCookieValue","hasNavigator","getBrowserLanguage","getBrowserReferrer","referrer","GHOST_COMP_TYPE","REF_DELIMITER","SHARED_PARTS_PREFIX","removeSharedPartsPrefix","hasSharedPartsPrefix","replaceSharedPartsPrefix","getRefCompIdFromInflatedId","getMultipleRefCompsIdFromInflatedId","isSharedPart","refCompId","multipleRefCompsIdFromInflatedId","substring","lastIndexOf","fixSharedPartsIds","getTemplateFromInflatedId","pop","getRefCompIdsFromInflatedId","isInflatedId","Animations","EditorAnimationsSym","CreateAnimatorManagerSymbol","NavigationManagerSymbol","NamedSignalsHandlersSymbol","resolveQueryParams","oldQueryParams","newQueryParams","mergedQueryParams","removeProtocol","replaceProtocol","createUrl","pathOrUrl","location","origin","removeUrlHash","urlObj","hash","removeQueryParams","getUrlHash","getUrlQueryParam","convertHashBangUrlToSlashUrl","splitHashBang","splitQueryParams","maybeOtherPageUriSEO","getContextByRouteInfo","additionalRoute","removeTrailingSlashAndQueryParams","PageTransitionsSymbol","TpaEventsListenerManagerSymbol","TpaPopupApiSymbol","TpaSymbol","TpaComponentApiSymbol","IFrameStartedLoadingReporterSymbol","SiteMapSymbol","TpaLoadMeasureSymbol","BaseStructureAPISym","TpaPageIds","UrlMappingsKeys","_a","exactVariablePattern","placeholderPattern","trailingSlashesPattern","slugRegex","legacyBlog","slugSegments","basicSlug","regexes","mappings","_b","_c","productPageMapping","PRODUCT_PAGE","required","postMapping","BLOG_POST","subMappings","BLOG_POST_EDIT","defaultMapping","BLOG_POST_PREVIEW","blogMapping","BLOG_CATEGORY","defaultPrefix","forumMapping","FORUM_POST","FORUM_POST_EDIT","FORUM_POST_PAGINATION","FORUM_POST_DEEP_LINK_DATA","FORUM_POST_PAGINATION_AND_DEEP_LINK_DATA","FORUM_CATEGORY","FORUM_CATEGORY_CREATE_POST","FORUM_CATEGORY_CREATE_QUESTION","FORUM_CATEGORY_PAGINATION","groupMapping","GROUP","GROUP_POST","bookingsMapping","BOOKINGS_SERVICE","challengesMapping","CHALLENGES_PAGE","verticalsMapping","product_page","post","blog","forum","group","bookings","challenges","isSubMappingsKey","getUrlMappingVariablesSchema","schema","urlMappingKeysSchemaes","currentPageSchema","__assign","getTpaPageIdByUrlMappingKey","urlMappingsSchema","__read","getMainUrlMappingSchemaBySubMappingKey","getRequiredVariables","_d","__spreadArray","warn","getUrlMapping","urlMappings","main","urlMapping","paramValidatorError","keyOptions","keyValidatorError","keyValidator","itemDataValidatorError","itemDataValidator","itemData","every","requiredVariablesValidatorError","requiredVariablesValidator","requiredVariable","buildCustomizedUrl","buildCustomUrlValidators","mapping","variableRegex","urlPath","placeholder","placeholderRegex","itemDataKey","interpolate","getUrlPath","decodeURIComponent","sortUrlMappingsSegments","firstMapping","secondMapping","getSegmentsWeight","UrlValidatorErrors","segments","totalWeight","currentSegment","pow","REGEX_FOR_SPECIAL_CHARS","getMappingRegex","mappingWithWildCards","resolveMappingVariables","matching","from","matchAll","matches","urlSegments","currentVariable","getMatchedMapping","legacyBlogUrlChecker","findIndex","getMatchedMappingIndex","legacyRegex","matchedMapping","slug","slugPart","dateSegments","getLegacyUrlSegments","legacyUrlSegments","isLegacyUrl","checker","urlValidatorError","urlValidator","getCustomizedUrlSegments","getUrlSegmentsValidators","sortedMappings","sort","getUrlPageId","tpaPageIds","matchedKey","tpaPageId","pageIdentifier","noSpacesValidator","invalidChar","maxLengthValidator","UrlMapperValidators","MAX_URL_MAPPING_LENGTH","noEmptySegmentValidator","containMainVariableValidator","urlMappingKey","isSegmentHasAtListOneVariable","segment","onlyOneVariablePerSegmentValidator","baseOnlyUniqueUrlValidator","pathPrefixes","isDefaultMapping","defaultSegments","firstSegment","pathPrefix","onlyUniquePublishedUrlValidator","validatorProps","publishedPathPrefixes","publishedPrefix","defaultPublished","onlyUniqueMappingValidator","noInvalidCharacters","invalidRegex","noEmoji","noInvalidCharacter","noStartingOrEndingSlash","firstChar","lastChar","onlyUniqueSavedUrlValidator","savedPathPrefixes","savedPrefix","defaultSaved","_this","initValidators","validators","MAX_LENGTH_ERROR","NO_SPACES_ERROR","NO_STARTING_OR_ENDING_SLASH_ERROR","NO_EMPTY_SEGMENT_ERROR","NO_INVALID_CHARACTERS_ERROR","CONTAIN_MAIN_VARIABLE_ERROR","ONLY_ONE_VARIABLE_PER_SEGMENT_ERROR","ONLY_UNIQUE_PUBLISHED_URL_ERROR","ONLY_UNIQUE_SAVED_URL_ERROR","ONLY_UNIQUE_MAPPING_ERROR","getPathPrefix","getPathPrefixesValidationMapping","FALLBACK_PATH_PREFIX","configurable","validate","e_1","__values","next","done","validatorFn","isValid","e_1_1","return","errorArray","getDefaultMapping","ReactLoaderForOOISymbol","OOISsrManagerSymbol","ModuleFederationSharedScopeSymbol","OOIPageComponentsLoaderSymbol","invalidFonObj","variant","weight","lineHeight","family","bold","italic","fontRegEx","textPresetKeys","createFontValue","underline","createTextPresetFontObject","editorKey","fontObj","fullFontFamily","groups","sizeSplit","fullFontFamilyArr","currFamily","strInQuotes","extractFromQuotes","sizeValue","sizeUnit","parseFontStr","sizePx","getTextPresets","themeFonts","_val","Props","StylesStoreSymbol","Structure","CompActionsSym","StructureAPI","ExportsStoreSymbol","StateRefsStoreSymbol","MaterializedStoreSymbol","AppMaterializerSymbol","SuspendedCompsSym","BeckyPropsInitialStoreSym","MpaNavigationSymbol","ConstantSymbol","appConstant","BuilderWidgetsPlatformModelSymbol","getDisplayedIdToCompPath","structureStore","propsStore","structure","getEntireStore","compIdToCompPath","buildComponentPath","accumulatedPath","currentRepeaterItemsSuffix","fullPath","childComponentIds","childPathPrefix","repeaterItemId","newRepeaterItemsSuffix","repeaterChildPathPrefix","childId","getDataAttributes","record","addMetadataSuffixToUrl","stylableMetaData","mergeStylableComponentsMetadata","metas","mergeStylableMetadata","fixMetadata","metadata","fs","packages","rootPackage","output","combinedIndex","meta","indexPath","packagePath","packageIndexPath","registerStylableExtensions","stylableInstance","staticMediaUrl","registerExtensions","extensions","inlineModulesContext","setStaticMediaUrl","buildEditorReactComponentMapping","builderComponents","componentUrl","sdkUrl","moduleSpecifier","getCompClassType","uiType","viewer_components_id_prefixes","comp_type_attribute","getClosestCompIdByHtmlElement","htmlElement","closestElement","closest","extractClosestCompTypeFromHtmlElement","isForwardRef","Component","$$typeof","createViewportObserver","targetElement","getElementById","getTargetElementByCompId","cleaner","observer","IntersectionObserver","entry","isIntersecting","disconnect","root","observe","getHeaderElement","headerCompId","headerElement","headerElementsByTags","getElementsByTagName","PasswordProtectedPageApiSymbol","SitePasswordDialogComponentId","MultilingualSymbol","MultilingualLinkUtilsAPISymbol","PreviewTooltipCallbackSymbol","OnLinkClickSymbol","parseMessage","evt","HeadContentSymbol","HeadContentProviderSymbol","PlatformResetCompsSymbol","PlatformPubsubSymbol","DomStoreSymbol","SvgFetcherSymbol","SvgDomStoreLoaderSymbol","supportedLanguages","NavigationPhasesSymbol","BackgroundScrubSymbol","REFLOW_BANNER_COMP_ID","ContentReflowVisibilitySymbol","ContentReflowZoomDetectionSymbol","errorPagesIds","_403_dp","_404_dp","_500_dp","_uknown_error_dp","getComponentField","widgetSpec","fieldName","componentFields","isOOI","isMigratingToOoi","componentViewMode","isLivePreviewOpenForEditor","isAdi","isOOIEligible","shouldRenderAsOOIInEditor","COOKIE_NAME","SESSION_TTL","DEFAULT_CACHE_TTL","WIX_DOMAINS","DynamicActionsApiSymbol","getNextCell","cellsMap","idIndexMap","lastRowIndex","lastColumnIndex","row","column","nextStateByKey","ArrowDown","ArrowUp","ArrowRight","ArrowLeft","Home","End","nextRow","nextColumn","CyclicTabbingSymbol","DynamicFeatureLoader","setFullScreenMode","classList","add","removeFullScreenMode","remove","hideSiteRoot","hide","siteRoot","removeProperty","linkTypes","DocumentLink","EmailLink","ExternalLink","PageLink","DynamicPageLink","TpaPageLink","PhoneLink","WhatsAppLink","AddressLink","LoginToWixLink","AnchorLink","isLinkData","linkData","appendInternalQueryParamsToHref","currentUrl","nextUrl","nextUrlSearch","isUrlCustomized","fullUrl","getFullURL","getRepeaterCells","repeater","offsetTopMap","cell","querySelector","offsetTop","createOffsetTopMap","a","offsetLeft","createCellMap","cellRow","rowIndex","columnIndex","createIndexMap"],"sourceRoot":""}