@gravity-ui/page-constructor 7.16.0 → 7.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/blocks/Map/schema.d.ts +0 -6
- package/build/cjs/components/Map/YMap/YMap.d.ts +1 -1
- package/build/cjs/components/Map/YMap/YMap.js +33 -14
- package/build/cjs/components/Map/YMap/YMap.js.map +1 -1
- package/build/cjs/components/Map/YMap/YandexMap.js +3 -3
- package/build/cjs/components/Map/YMap/YandexMap.js.map +1 -1
- package/build/cjs/components/Map/YMap/utils.d.ts +8 -0
- package/build/cjs/components/Map/YMap/utils.js +96 -0
- package/build/cjs/components/Map/YMap/utils.js.map +1 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.js.map +1 -1
- package/build/cjs/models/constructor-items/common.d.ts +3 -1
- package/build/cjs/models/constructor-items/common.js.map +1 -1
- package/build/cjs/schema/validators/common.d.ts +0 -3
- package/build/cjs/schema/validators/common.js +0 -3
- package/build/cjs/schema/validators/common.js.map +1 -1
- package/build/esm/blocks/Map/schema.d.ts +0 -6
- package/build/esm/components/Map/YMap/YMap.d.ts +1 -1
- package/build/esm/components/Map/YMap/YMap.js +33 -14
- package/build/esm/components/Map/YMap/YMap.js.map +1 -1
- package/build/esm/components/Map/YMap/YandexMap.js +3 -3
- package/build/esm/components/Map/YMap/YandexMap.js.map +1 -1
- package/build/esm/components/Map/YMap/utils.d.ts +8 -0
- package/build/esm/components/Map/YMap/utils.js +90 -0
- package/build/esm/components/Map/YMap/utils.js.map +1 -0
- package/build/esm/models/constructor-items/blocks.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.js.map +1 -1
- package/build/esm/models/constructor-items/common.d.ts +3 -1
- package/build/esm/models/constructor-items/common.js.map +1 -1
- package/build/esm/schema/validators/common.d.ts +0 -3
- package/build/esm/schema/validators/common.js +0 -3
- package/build/esm/schema/validators/common.js.map +1 -1
- package/package.json +1 -1
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +1 -1
- package/server/models/constructor-items/common.d.ts +3 -1
- package/widget/index.js +1 -1
|
@@ -245,7 +245,7 @@ export interface BackgroundMediaProps extends MediaProps, Animatable, QAProps {
|
|
|
245
245
|
className?: string;
|
|
246
246
|
mediaClassName?: string;
|
|
247
247
|
}
|
|
248
|
-
export type Coordinate = number
|
|
248
|
+
export type Coordinate = [number, number];
|
|
249
249
|
export interface MapBaseProps {
|
|
250
250
|
zoom?: number;
|
|
251
251
|
className?: string;
|
|
@@ -254,10 +254,12 @@ export interface MapBaseProps {
|
|
|
254
254
|
export interface GMapProps extends MapBaseProps {
|
|
255
255
|
address: string;
|
|
256
256
|
}
|
|
257
|
+
export type YMapMargin = number | [vertical: number, horizontal: number] | [top: number, right: number, bottom: number, left: number];
|
|
257
258
|
export interface YMapProps extends MapBaseProps {
|
|
258
259
|
markers: YMapMarker[];
|
|
259
260
|
disableControls?: boolean;
|
|
260
261
|
disableBalloons?: boolean;
|
|
262
|
+
areaMargin?: YMapMargin;
|
|
261
263
|
id: string;
|
|
262
264
|
}
|
|
263
265
|
export interface YMapMarker {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"../../../../src","sources":["models/constructor-items/common.ts"],"names":[],"mappings":"AAQA,QAAQ;AACR,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACjB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,+CAA2B,CAAA;IAC3B,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACvB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,oCAAiB,C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@gravity-ui/icons';\nimport {ButtonView, IconData, ButtonProps as UikitButtonProps} from '@gravity-ui/uikit';\n\nimport {ThemeSupporting} from '../../utils';\nimport {AnalyticsEventsBase, AnalyticsEventsProp, ClassNameProps, QAProps} from '../common';\n\n// enums\nexport enum AuthorType {\n Column = 'column',\n Line = 'line',\n}\n\nexport enum PriceDetailsType {\n MARKED_LIST = 'marked-list',\n SETTINGS = 'settings',\n}\n\nexport enum PriceLabelColor {\n BLUE = 'blue',\n GREEN = 'green',\n YELLOW = 'yellow',\n PURPLE = 'purple',\n RED = 'red',\n}\n\nexport enum PlayButtonType {\n Default = 'default',\n Text = 'text',\n}\n\nexport enum PlayButtonThemes {\n Blue = 'blue',\n Grey = 'grey',\n}\n\nexport enum CustomControlsType {\n WithMuteButton = 'with-mute-button',\n WithPlayPauseButton = 'with-play-pause-button',\n}\n\nexport enum CustomControlsButtonPositioning {\n Left = 'left',\n Right = 'right',\n Center = 'center',\n}\n\nexport enum MediaVideoType {\n Default = 'default',\n Player = 'player',\n}\n\nexport enum MediaVideoControlsType {\n Default = 'default',\n Custom = 'custom',\n}\n\nexport enum QuoteType {\n Chevron = 'chevron', // « »\n EnglishDouble = 'english-double', // “ ”\n}\n\n// types\nexport type TextTheme = 'light' | 'dark';\nexport type TextSize = 'xs' | 's' | 'sm' | 'm' | 'l';\nexport type DividerSize = '0' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';\nexport type HeaderWidth = 's' | 'm' | 'l';\nexport type HeaderImageSize = 's' | 'm';\nexport type HeaderOffset = 'default' | 'large';\nexport type Justify = 'start' | 'center' | 'end';\nexport type ColumnsCount = 1 | 2 | 3 | 4;\nexport type LegendTableMarkerType = 'disk' | 'tick';\nexport type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';\nexport type MediaDirection = 'media-content' | 'content-media';\nexport type PriceDescriptionColor = 'cornflower' | 'black';\nexport type ContentSize = 's' | 'm' | 'l';\nexport type ContentTextSize = 's' | 'm' | 'l';\nexport type ContentTheme = 'default' | 'dark' | 'light';\nexport type FileLinkType = 'vertical' | 'horizontal';\nexport type ImageCardMargins = 's' | 'm';\nexport type LayoutItemContentMargin = 'm' | 'l';\nexport type GravityIconProps = string | {name: keyof typeof icons; color: 'brand' | 'text-color'};\n\n// modifiers\nexport interface Themable {\n theme?: TextTheme;\n}\n\nexport interface Justifyable {\n justify?: Justify;\n}\n\nexport interface Stylable {\n className?: string;\n}\n\nexport interface Animatable {\n animated?: boolean;\n}\n\nexport interface Tabbable {\n tabIndex?: number;\n}\n\nexport interface Roleable {\n role?: React.AriaRole;\n}\n\nexport interface AriaProps {\n ariaProps?: React.AriaAttributes;\n}\n\n//common props\nexport interface Background {\n image?: string;\n color?: string;\n}\n\nexport interface AnchorProps {\n text: string;\n url: string;\n}\n\n/**\n * @deprecated Component VideoBlock will be deleted, which uses this logic\n */\ninterface LoopProps {\n start: number;\n end?: number;\n}\n\n// images\n\nexport enum Device {\n Desktop = 'desktop',\n Mobile = 'mobile',\n Tablet = 'tablet',\n}\n\nexport interface ImageInfoProps\n extends Pick<\n React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>,\n 'aria-describedby' | 'loading'\n >,\n ImageDevicesVisibleProps {\n alt?: string;\n fetchPriority?: 'high' | 'low' | 'auto';\n disableCompress?: boolean;\n}\n\nexport interface ImageObjectProps extends ImageInfoProps {\n src: string;\n}\n\nexport interface ImageDeviceProps extends ImageInfoProps {\n [Device.Desktop]: string;\n [Device.Mobile]: string;\n [Device.Tablet]?: string;\n}\n\nexport interface ImageDevicesVisibleProps {\n hide?: boolean | Partial<Record<Device, boolean>>;\n}\n\nexport type ImageProps = string | ImageObjectProps | ImageDeviceProps;\nexport type ThemedImage = ThemeSupporting<ImageProps>;\n\nexport interface BackgroundImageProps\n extends React.HTMLProps<HTMLDivElement>,\n Partial<ImageDeviceProps>,\n Partial<ImageObjectProps>,\n QAProps,\n ImageDevicesVisibleProps {\n style?: React.CSSProperties;\n imageClassName?: string;\n}\n\n//components props\nexport interface MediaVideoProps extends AnalyticsEventsBase {\n src: string[];\n type?: MediaVideoType;\n loop?: LoopProps | boolean;\n muted?: boolean;\n autoplay?: boolean;\n elapsedTime?: number;\n playButton?: PlayButtonProps;\n controls?: MediaVideoControlsType;\n customControlsOptions?: CustomControlsOptions;\n ariaLabel?: string;\n contain?: boolean;\n onVideoEnd?: () => void;\n ref?: React.Ref<HTMLVideoElement | null>;\n}\n\n// links\nexport interface LinkProps extends AnalyticsEventsBase, Stylable, Tabbable {\n url: string;\n urlTitle?: string;\n text?: string;\n textSize?: TextSize;\n theme?: LinkTheme;\n colorTheme?: TextTheme;\n arrow?: boolean;\n target?: string;\n extraProps?: React.HTMLProps<HTMLAnchorElement>;\n}\n\nexport interface FileLinkProps extends ClassNameProps, Tabbable {\n href: string;\n text: React.ReactNode;\n type?: FileLinkType;\n textSize?: TextSize;\n theme?: ContentTheme;\n urlTitle?: string;\n onClick?: () => void;\n extraProps?: React.HTMLProps<HTMLAnchorElement>;\n}\n\n// buttons\nexport type ButtonTheme =\n | ButtonView\n | 'github'\n | 'app-store'\n | 'google-play'\n | 'scale'\n | 'monochrome';\n\nexport interface ButtonProps extends AnalyticsEventsBase {\n text: string;\n url: string;\n urlTitle?: string;\n primary?: boolean;\n theme?: ButtonTheme;\n img?: ButtonImageProps | string;\n target?: string;\n size?: UikitButtonProps['size'];\n width?: UikitButtonProps['width'];\n extraProps?: UikitButtonProps['extraProps'];\n}\n\nexport type ButtonImagePosition = 'left' | 'right';\n\nexport interface ButtonImageProps {\n url?: string;\n position?: ButtonImagePosition;\n alt?: string;\n iconData?: IconData;\n iconSize?: number;\n className?: string;\n}\n\nexport interface CustomControlsOptions {\n type?: CustomControlsType;\n muteButtonShown?: boolean;\n positioning?: CustomControlsButtonPositioning;\n}\n\nexport interface PlayButtonProps extends ClassNameProps {\n type?: PlayButtonType;\n theme?: PlayButtonThemes;\n text?: string;\n}\n\nexport type ThemedMediaVideoProps = ThemeSupporting<MediaVideoProps>;\n\nexport interface MediaComponentVideoProps extends AnalyticsEventsBase {\n video: MediaVideoProps;\n height?: number;\n ratio?: number | 'auto';\n previewImg?: string;\n}\n\nexport interface MediaComponentVideoIframeProps {\n videoIframe: string;\n}\n\nexport interface MediaComponentYoutubeProps {\n youtube: string;\n previewImg?: string;\n fullscreen?: boolean;\n}\n\nexport interface MediaComponentImageProps {\n image: ImageProps | ImageProps[] | ImageDeviceProps;\n video?: MediaVideoProps;\n parallax?: boolean;\n height?: number;\n disableImageSliderForArrayInput?: boolean;\n}\n\nexport interface MediaComponentDataLensProps {\n dataLens: DataLensProps;\n}\n\nexport interface MediaComponentIframeProps {\n iframe: IframeProps;\n margins?: boolean;\n}\n\nexport interface MediaProps\n extends Animatable,\n Partial<MediaComponentDataLensProps>,\n Partial<MediaComponentYoutubeProps>,\n Partial<MediaComponentVideoIframeProps>,\n Partial<MediaComponentImageProps>,\n Partial<MediaComponentIframeProps>,\n Partial<MediaComponentVideoProps> {\n color?: string;\n videoMicrodata?: {\n name?: string;\n description?: string;\n duration?: string;\n uploadDate?: string;\n contentUrl?: string;\n thumbnailUrl?: string;\n };\n}\n\nexport interface BackgroundMediaProps extends MediaProps, Animatable, QAProps {\n fullWidthMedia?: boolean;\n className?: string;\n mediaClassName?: string;\n}\n\nexport type Coordinate = number[];\n\nexport interface MapBaseProps {\n zoom?: number;\n className?: string;\n forceAspectRatio?: boolean;\n}\n\nexport interface GMapProps extends MapBaseProps {\n address: string;\n}\n\nexport interface YMapProps extends MapBaseProps {\n markers: YMapMarker[];\n disableControls?: boolean;\n disableBalloons?: boolean;\n id: string;\n}\n\nexport interface YMapMarker {\n address?: string;\n coordinate?: Coordinate;\n label?: YMapMarkerLabel;\n}\n\nexport interface YMapMarkerLabel {\n iconCaption?: string;\n iconContent?: string;\n iconColor?: string;\n iconImageHref?: string;\n iconImageSize?: [number, number];\n iconImageOffset?: [number, number];\n iconImageClipRect?: [[number, number], [number, number]];\n iconLayout?: 'default#image';\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n iconShape?: Record<string, any>;\n preset?: string;\n}\n\nexport interface YMapMarkerPrivate extends YMapMarker {\n label?: YMapMarkerLabelPrivate;\n}\n\nexport interface YMapMarkerLabelPrivate extends YMapMarkerLabel {\n cursor?: string;\n interactivityModel?: string;\n}\n\nexport type MapProps = GMapProps | YMapProps;\n\nexport type ThemedMediaProps = ThemeSupporting<MediaProps>;\n\nexport interface DataLensObjectProps {\n id: string;\n theme: 'dark' | 'light';\n}\n\nexport interface IframeProps {\n src: string;\n width?: number;\n height?: number;\n title?: string;\n name?: string;\n}\n\nexport type DataLensProps = string | DataLensObjectProps;\n\nexport interface AuthorItem {\n firstName: string;\n secondName: string;\n description?: string;\n avatar?: ThemeSupporting<ImageProps> | JSX.Element;\n}\n\nexport interface HeaderBreadCrumbsProps extends ClassNameProps {\n items: {\n url: string;\n text: React.ReactNode;\n }[];\n theme?: TextTheme;\n analyticsEvents?: AnalyticsEventsProp;\n}\n\nexport interface TitleItemProps extends Justifyable, TitleItemBaseProps {\n navTitle?: string;\n anchor?: string;\n}\n\nexport interface TitleItemBaseProps {\n text: string;\n textSize?: TextSize;\n url?: string;\n urlTitle?: string;\n custom?: string | React.ReactNode;\n onClick?: () => void;\n}\n\nexport type MediaView = 'fit' | 'full';\n\n// card\nexport type MediaBorder = 'shadow' | 'line' | 'none';\nexport type CardBorder = MediaBorder;\nexport type ControlPosition = 'content' | 'footer';\n\nexport interface CardBaseProps {\n border?: CardBorder;\n}\n\nexport type CardLayoutProps = {\n controlPosition?: ControlPosition;\n};\n\n//price\nexport interface PriceDescriptionProps {\n title: string;\n detailedTitle?: string;\n description: string;\n label?: {\n color: PriceLabelColor;\n text?: string;\n size?: TextSize;\n };\n}\n\nexport interface PriceDetailsSettingsProps {\n title: string;\n description: string;\n}\n\nexport interface PriceDetailsListProps {\n text: string;\n}\n\nexport interface PriceDetailsProps {\n items?: PriceDetailsSettingsProps[] | PriceDetailsListProps[];\n}\n\nexport interface PriceItemProps\n extends PriceDetailsProps,\n PriceDescriptionProps,\n AnalyticsEventsBase {}\n\nexport interface PriceFoldableDetailsProps {\n title: string;\n size?: TextSize;\n titleColor?: PriceDescriptionColor;\n}\n\n/** @deprecated */\nexport interface PriceDetailedProps extends CardBaseProps {\n items: PriceItemProps[];\n description?: {\n titleSize?: TextSize;\n descriptionSize?: TextSize;\n titleColor?: PriceDescriptionColor;\n };\n details?: {\n titleSize?: TextSize;\n descriptionSize?: TextSize;\n };\n priceType?: PriceDetailsType;\n numberGroupItems?: 3 | 4 | 5;\n isCombined?: boolean;\n useMixedView?: boolean;\n foldable?: PriceFoldableDetailsProps;\n labelsDefaultText?: Record<PriceLabelColor, string>;\n}\n\nexport interface AuthorProps extends QAProps {\n author: AuthorItem;\n className?: string;\n authorContainerClassName?: string;\n type?: AuthorType;\n theme?: ContentTheme;\n}\n\nexport interface TitleProps {\n title?: TitleItemProps | string;\n subtitle?: string;\n}\n\nexport interface YandexFormProps extends AnalyticsEventsBase {\n id: number | string;\n containerId?: string;\n theme?: string;\n className?: string;\n headerHeight?: number;\n customFormOrigin?: string;\n customFormSection?: string;\n params?: {[key: string]: string};\n\n onSubmit?: () => void;\n onLoad?: () => void;\n}\n\nexport interface WithBorder {\n border?: MediaBorder;\n /**\n * @deprecated use custom class for media-component\n */\n disableShadow?: boolean;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"../../../../src","sources":["models/constructor-items/common.ts"],"names":[],"mappings":"AAQA,QAAQ;AACR,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACjB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,+CAA2B,CAAA;IAC3B,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3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;IACnB,2BAAiB,CAAA;IACjB,2BAAiB,CAAA;AACrB,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB","sourcesContent":["import * as React from 'react';\n\nimport * as icons from '@gravity-ui/icons';\nimport {ButtonView, IconData, ButtonProps as UikitButtonProps} from '@gravity-ui/uikit';\n\nimport {ThemeSupporting} from '../../utils';\nimport {AnalyticsEventsBase, AnalyticsEventsProp, ClassNameProps, QAProps} from '../common';\n\n// enums\nexport enum AuthorType {\n Column = 'column',\n Line = 'line',\n}\n\nexport enum PriceDetailsType {\n MARKED_LIST = 'marked-list',\n SETTINGS = 'settings',\n}\n\nexport enum PriceLabelColor {\n BLUE = 'blue',\n GREEN = 'green',\n YELLOW = 'yellow',\n PURPLE = 'purple',\n RED = 'red',\n}\n\nexport enum PlayButtonType {\n Default = 'default',\n Text = 'text',\n}\n\nexport enum PlayButtonThemes {\n Blue = 'blue',\n Grey = 'grey',\n}\n\nexport enum CustomControlsType {\n WithMuteButton = 'with-mute-button',\n WithPlayPauseButton = 'with-play-pause-button',\n}\n\nexport enum CustomControlsButtonPositioning {\n Left = 'left',\n Right = 'right',\n Center = 'center',\n}\n\nexport enum MediaVideoType {\n Default = 'default',\n Player = 'player',\n}\n\nexport enum MediaVideoControlsType {\n Default = 'default',\n Custom = 'custom',\n}\n\nexport enum QuoteType {\n Chevron = 'chevron', // « »\n EnglishDouble = 'english-double', // “ ”\n}\n\n// types\nexport type TextTheme = 'light' | 'dark';\nexport type TextSize = 'xs' | 's' | 'sm' | 'm' | 'l';\nexport type DividerSize = '0' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';\nexport type HeaderWidth = 's' | 'm' | 'l';\nexport type HeaderImageSize = 's' | 'm';\nexport type HeaderOffset = 'default' | 'large';\nexport type Justify = 'start' | 'center' | 'end';\nexport type ColumnsCount = 1 | 2 | 3 | 4;\nexport type LegendTableMarkerType = 'disk' | 'tick';\nexport type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';\nexport type MediaDirection = 'media-content' | 'content-media';\nexport type PriceDescriptionColor = 'cornflower' | 'black';\nexport type ContentSize = 's' | 'm' | 'l';\nexport type ContentTextSize = 's' | 'm' | 'l';\nexport type ContentTheme = 'default' | 'dark' | 'light';\nexport type FileLinkType = 'vertical' | 'horizontal';\nexport type ImageCardMargins = 's' | 'm';\nexport type LayoutItemContentMargin = 'm' | 'l';\nexport type GravityIconProps = string | {name: keyof typeof icons; color: 'brand' | 'text-color'};\n\n// modifiers\nexport interface Themable {\n theme?: TextTheme;\n}\n\nexport interface Justifyable {\n justify?: Justify;\n}\n\nexport interface Stylable {\n className?: string;\n}\n\nexport interface Animatable {\n animated?: boolean;\n}\n\nexport interface Tabbable {\n tabIndex?: number;\n}\n\nexport interface Roleable {\n role?: React.AriaRole;\n}\n\nexport interface AriaProps {\n ariaProps?: React.AriaAttributes;\n}\n\n//common props\nexport interface Background {\n image?: string;\n color?: string;\n}\n\nexport interface AnchorProps {\n text: string;\n url: string;\n}\n\n/**\n * @deprecated Component VideoBlock will be deleted, which uses this logic\n */\ninterface LoopProps {\n start: number;\n end?: number;\n}\n\n// images\n\nexport enum Device {\n Desktop = 'desktop',\n Mobile = 'mobile',\n Tablet = 'tablet',\n}\n\nexport interface ImageInfoProps\n extends Pick<\n React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>,\n 'aria-describedby' | 'loading'\n >,\n ImageDevicesVisibleProps {\n alt?: string;\n fetchPriority?: 'high' | 'low' | 'auto';\n disableCompress?: boolean;\n}\n\nexport interface ImageObjectProps extends ImageInfoProps {\n src: string;\n}\n\nexport interface ImageDeviceProps extends ImageInfoProps {\n [Device.Desktop]: string;\n [Device.Mobile]: string;\n [Device.Tablet]?: string;\n}\n\nexport interface ImageDevicesVisibleProps {\n hide?: boolean | Partial<Record<Device, boolean>>;\n}\n\nexport type ImageProps = string | ImageObjectProps | ImageDeviceProps;\nexport type ThemedImage = ThemeSupporting<ImageProps>;\n\nexport interface BackgroundImageProps\n extends React.HTMLProps<HTMLDivElement>,\n Partial<ImageDeviceProps>,\n Partial<ImageObjectProps>,\n QAProps,\n ImageDevicesVisibleProps {\n style?: React.CSSProperties;\n imageClassName?: string;\n}\n\n//components props\nexport interface MediaVideoProps extends AnalyticsEventsBase {\n src: string[];\n type?: MediaVideoType;\n loop?: LoopProps | boolean;\n muted?: boolean;\n autoplay?: boolean;\n elapsedTime?: number;\n playButton?: PlayButtonProps;\n controls?: MediaVideoControlsType;\n customControlsOptions?: CustomControlsOptions;\n ariaLabel?: string;\n contain?: boolean;\n onVideoEnd?: () => void;\n ref?: React.Ref<HTMLVideoElement | null>;\n}\n\n// links\nexport interface LinkProps extends AnalyticsEventsBase, Stylable, Tabbable {\n url: string;\n urlTitle?: string;\n text?: string;\n textSize?: TextSize;\n theme?: LinkTheme;\n colorTheme?: TextTheme;\n arrow?: boolean;\n target?: string;\n extraProps?: React.HTMLProps<HTMLAnchorElement>;\n}\n\nexport interface FileLinkProps extends ClassNameProps, Tabbable {\n href: string;\n text: React.ReactNode;\n type?: FileLinkType;\n textSize?: TextSize;\n theme?: ContentTheme;\n urlTitle?: string;\n onClick?: () => void;\n extraProps?: React.HTMLProps<HTMLAnchorElement>;\n}\n\n// buttons\nexport type ButtonTheme =\n | ButtonView\n | 'github'\n | 'app-store'\n | 'google-play'\n | 'scale'\n | 'monochrome';\n\nexport interface ButtonProps extends AnalyticsEventsBase {\n text: string;\n url: string;\n urlTitle?: string;\n primary?: boolean;\n theme?: ButtonTheme;\n img?: ButtonImageProps | string;\n target?: string;\n size?: UikitButtonProps['size'];\n width?: UikitButtonProps['width'];\n extraProps?: UikitButtonProps['extraProps'];\n}\n\nexport type ButtonImagePosition = 'left' | 'right';\n\nexport interface ButtonImageProps {\n url?: string;\n position?: ButtonImagePosition;\n alt?: string;\n iconData?: IconData;\n iconSize?: number;\n className?: string;\n}\n\nexport interface CustomControlsOptions {\n type?: CustomControlsType;\n muteButtonShown?: boolean;\n positioning?: CustomControlsButtonPositioning;\n}\n\nexport interface PlayButtonProps extends ClassNameProps {\n type?: PlayButtonType;\n theme?: PlayButtonThemes;\n text?: string;\n}\n\nexport type ThemedMediaVideoProps = ThemeSupporting<MediaVideoProps>;\n\nexport interface MediaComponentVideoProps extends AnalyticsEventsBase {\n video: MediaVideoProps;\n height?: number;\n ratio?: number | 'auto';\n previewImg?: string;\n}\n\nexport interface MediaComponentVideoIframeProps {\n videoIframe: string;\n}\n\nexport interface MediaComponentYoutubeProps {\n youtube: string;\n previewImg?: string;\n fullscreen?: boolean;\n}\n\nexport interface MediaComponentImageProps {\n image: ImageProps | ImageProps[] | ImageDeviceProps;\n video?: MediaVideoProps;\n parallax?: boolean;\n height?: number;\n disableImageSliderForArrayInput?: boolean;\n}\n\nexport interface MediaComponentDataLensProps {\n dataLens: DataLensProps;\n}\n\nexport interface MediaComponentIframeProps {\n iframe: IframeProps;\n margins?: boolean;\n}\n\nexport interface MediaProps\n extends Animatable,\n Partial<MediaComponentDataLensProps>,\n Partial<MediaComponentYoutubeProps>,\n Partial<MediaComponentVideoIframeProps>,\n Partial<MediaComponentImageProps>,\n Partial<MediaComponentIframeProps>,\n Partial<MediaComponentVideoProps> {\n color?: string;\n videoMicrodata?: {\n name?: string;\n description?: string;\n duration?: string;\n uploadDate?: string;\n contentUrl?: string;\n thumbnailUrl?: string;\n };\n}\n\nexport interface BackgroundMediaProps extends MediaProps, Animatable, QAProps {\n fullWidthMedia?: boolean;\n className?: string;\n mediaClassName?: string;\n}\n\nexport type Coordinate = [number, number];\n\nexport interface MapBaseProps {\n zoom?: number;\n className?: string;\n forceAspectRatio?: boolean;\n}\n\nexport interface GMapProps extends MapBaseProps {\n address: string;\n}\n\nexport type YMapMargin =\n | number\n | [vertical: number, horizontal: number]\n | [top: number, right: number, bottom: number, left: number];\n\nexport interface YMapProps extends MapBaseProps {\n markers: YMapMarker[];\n disableControls?: boolean;\n disableBalloons?: boolean;\n areaMargin?: YMapMargin;\n id: string;\n}\n\nexport interface YMapMarker {\n address?: string;\n coordinate?: Coordinate;\n label?: YMapMarkerLabel;\n}\n\nexport interface YMapMarkerLabel {\n iconCaption?: string;\n iconContent?: string;\n iconColor?: string;\n iconImageHref?: string;\n iconImageSize?: [number, number];\n iconImageOffset?: [number, number];\n iconImageClipRect?: [[number, number], [number, number]];\n iconLayout?: 'default#image';\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n iconShape?: Record<string, any>;\n preset?: string;\n}\n\nexport interface YMapMarkerPrivate extends YMapMarker {\n label?: YMapMarkerLabelPrivate;\n}\n\nexport interface YMapMarkerLabelPrivate extends YMapMarkerLabel {\n cursor?: string;\n interactivityModel?: string;\n}\n\nexport type MapProps = GMapProps | YMapProps;\n\nexport type ThemedMediaProps = ThemeSupporting<MediaProps>;\n\nexport interface DataLensObjectProps {\n id: string;\n theme: 'dark' | 'light';\n}\n\nexport interface IframeProps {\n src: string;\n width?: number;\n height?: number;\n title?: string;\n name?: string;\n}\n\nexport type DataLensProps = string | DataLensObjectProps;\n\nexport interface AuthorItem {\n firstName: string;\n secondName: string;\n description?: string;\n avatar?: ThemeSupporting<ImageProps> | JSX.Element;\n}\n\nexport interface HeaderBreadCrumbsProps extends ClassNameProps {\n items: {\n url: string;\n text: React.ReactNode;\n }[];\n theme?: TextTheme;\n analyticsEvents?: AnalyticsEventsProp;\n}\n\nexport interface TitleItemProps extends Justifyable, TitleItemBaseProps {\n navTitle?: string;\n anchor?: string;\n}\n\nexport interface TitleItemBaseProps {\n text: string;\n textSize?: TextSize;\n url?: string;\n urlTitle?: string;\n custom?: string | React.ReactNode;\n onClick?: () => void;\n}\n\nexport type MediaView = 'fit' | 'full';\n\n// card\nexport type MediaBorder = 'shadow' | 'line' | 'none';\nexport type CardBorder = MediaBorder;\nexport type ControlPosition = 'content' | 'footer';\n\nexport interface CardBaseProps {\n border?: CardBorder;\n}\n\nexport type CardLayoutProps = {\n controlPosition?: ControlPosition;\n};\n\n//price\nexport interface PriceDescriptionProps {\n title: string;\n detailedTitle?: string;\n description: string;\n label?: {\n color: PriceLabelColor;\n text?: string;\n size?: TextSize;\n };\n}\n\nexport interface PriceDetailsSettingsProps {\n title: string;\n description: string;\n}\n\nexport interface PriceDetailsListProps {\n text: string;\n}\n\nexport interface PriceDetailsProps {\n items?: PriceDetailsSettingsProps[] | PriceDetailsListProps[];\n}\n\nexport interface PriceItemProps\n extends PriceDetailsProps,\n PriceDescriptionProps,\n AnalyticsEventsBase {}\n\nexport interface PriceFoldableDetailsProps {\n title: string;\n size?: TextSize;\n titleColor?: PriceDescriptionColor;\n}\n\n/** @deprecated */\nexport interface PriceDetailedProps extends CardBaseProps {\n items: PriceItemProps[];\n description?: {\n titleSize?: TextSize;\n descriptionSize?: TextSize;\n titleColor?: PriceDescriptionColor;\n };\n details?: {\n titleSize?: TextSize;\n descriptionSize?: TextSize;\n };\n priceType?: PriceDetailsType;\n numberGroupItems?: 3 | 4 | 5;\n isCombined?: boolean;\n useMixedView?: boolean;\n foldable?: PriceFoldableDetailsProps;\n labelsDefaultText?: Record<PriceLabelColor, string>;\n}\n\nexport interface AuthorProps extends QAProps {\n author: AuthorItem;\n className?: string;\n authorContainerClassName?: string;\n type?: AuthorType;\n theme?: ContentTheme;\n}\n\nexport interface TitleProps {\n title?: TitleItemProps | string;\n subtitle?: string;\n}\n\nexport interface YandexFormProps extends AnalyticsEventsBase {\n id: number | string;\n containerId?: string;\n theme?: string;\n className?: string;\n headerHeight?: number;\n customFormOrigin?: string;\n customFormSection?: string;\n params?: {[key: string]: string};\n\n onSubmit?: () => void;\n onLoad?: () => void;\n}\n\nexport interface WithBorder {\n border?: MediaBorder;\n /**\n * @deprecated use custom class for media-component\n */\n disableShadow?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"../../../../src","sources":["schema/validators/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,yCAAsC;AACzD,OAAO,EAC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,eAAe,EAAE;QACb,IAAI,EAAE,SAAS;KAClB;IACD,eAAe,EAAE;QACb,IAAI,EAAE,SAAS;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,MAAM,EAAE,WAAW;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE;QACH,KAAK,EAAE;YACH;gBACI,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE,MAAM;aACrB;YACD;gBACI,GAAG,UAAU;gBACb,UAAU,EAAE,SAAS;aACxB;SACJ;KACJ;IACD,WAAW,EAAE;QACT,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,UAAU;KACxB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,UAAU,EAAE;gBACR,IAAI,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACjB;gBACD,KAAK,EAAE;oBACH,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;iBAChC;aACJ;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import {ImageProps} from '../../components/Image/schema';\nimport {\n CustomControlsButtonPositioning,\n CustomControlsType,\n MediaVideoControlsType,\n QuoteType,\n Theme,\n} from '../../models';\n\nimport {AnalyticsEventSchema} from './event';\n\nexport const mediaDirection = ['media-content', 'content-media'];\nexport const textSize = ['xs', 's', 'sm', 'm', 'l'];\nexport const containerSizesArray = ['sm', 'md', 'lg', 'xl', 'all'];\nexport const sliderSizesArray = ['sm', 'md', 'lg', 'xl'];\nexport const contentSizes = ['s', 'm', 'l'];\nexport const contentTextWidth = ['s', 'm', 'l'];\n\nexport const videoTypes = ['default', 'player'];\nexport const playIconTypes = ['default', 'text'];\nexport const playIconThemes = ['blue', 'grey'];\nexport const videoControlsTypes = [MediaVideoControlsType.Default, MediaVideoControlsType.Custom];\nexport const fileLinkTypes = ['vertical', 'horizontal'];\n\nexport const dividerEnum = {enum: ['0', 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']};\nexport const sizeNumber = {type: 'number', maximum: 12, minimum: 1};\nexport const contentThemes = ['default', 'dark', 'light'];\nexport const quoteTypes = Object.values(QuoteType);\nexport const mediaView = ['fit', 'full'];\nexport const customControlsType = [\n CustomControlsType.WithMuteButton,\n CustomControlsType.WithPlayPauseButton,\n];\nexport const customControlsButtonPositioning = [\n CustomControlsButtonPositioning.Center,\n CustomControlsButtonPositioning.Left,\n CustomControlsButtonPositioning.Right,\n];\n\nexport const BaseProps = {\n type: {},\n when: {\n type: 'string',\n },\n};\n\nexport const CardLayoutProps = {\n controlPosition: {\n type: 'string',\n enum: ['content', 'footer'],\n },\n};\n\nexport const containerSizesObject = {\n type: 'object',\n additionalProperties: false,\n properties: containerSizesArray.reduce((acc, size) => ({...acc, [size]: sizeNumber}), {}),\n};\n\nexport const sliderSizesObject = {\n oneOf: [\n {\n type: 'object',\n additionalProperties: false,\n properties: sliderSizesArray.reduce((acc, size) => ({...acc, [size]: sizeNumber}), {}),\n optionName: 'custom',\n },\n {\n type: 'number',\n optionName: 'constant',\n },\n ],\n};\n\nexport const AnimatableProps = {\n animated: {\n type: 'boolean',\n },\n};\n\nexport const ChildrenProps = {\n type: 'array',\n items: {$ref: 'self#/definitions/children'},\n};\n\nexport const ChildrenCardsProps = {\n type: 'array',\n items: {$ref: 'self#/definitions/cards'},\n};\n\nexport const LoopProps = {\n type: 'object',\n additionalProperties: false,\n required: ['start'],\n properties: {\n start: {\n type: 'number',\n },\n end: {\n type: 'number',\n },\n },\n};\n\nexport const PlayButtonProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n enum: playIconTypes,\n },\n theme: {\n type: 'string',\n enum: playIconThemes,\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n },\n};\n\nexport const CustomControlsOptionsProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n enum: customControlsType,\n },\n muteButtonShown: {\n type: 'boolean',\n },\n positioning: {\n type: 'string',\n enum: customControlsButtonPositioning,\n },\n },\n};\n\nexport const VideoProps = {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n src: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n loop: {\n oneOf: [\n {\n ...LoopProps,\n optionName: 'options',\n },\n {\n type: 'boolean',\n optionName: 'enabled',\n },\n ],\n },\n type: {\n type: 'string',\n enum: videoTypes,\n },\n muted: {\n type: 'boolean',\n },\n autoplay: {\n type: 'boolean',\n },\n elapsedTime: {\n type: 'number',\n },\n playButton: PlayButtonProps,\n controls: {\n type: 'string',\n enum: videoControlsTypes,\n },\n customControlsOptions: CustomControlsOptionsProps,\n ariaLabel: {\n type: 'string',\n },\n contain: {\n type: 'boolean',\n },\n },\n};\n\nexport const ThemeProps = {\n type: 'string',\n enum: ['light', 'dark'],\n};\n\nexport const JustifyProps = {\n type: 'string',\n enum: ['start', 'center', 'end'],\n};\n\nexport const DataLensObjectProps = {\n type: 'object',\n additionalProperties: false,\n required: ['id'],\n properties: {\n id: {\n type: 'string',\n },\n theme: ThemeProps,\n },\n};\n\nexport const DataLensProps = {\n oneOf: [\n {\n type: 'string',\n optionName: 'id',\n },\n {\n ...DataLensObjectProps,\n optionName: 'options',\n },\n ],\n};\n\nexport const BackgroundProps = {\n additionalProperties: false,\n properties: {\n ...AnimatableProps,\n image: ImageProps,\n color: {\n type: 'string',\n },\n video: VideoProps,\n height: {\n type: 'number',\n },\n size: {\n type: 'string',\n enum: ['contain', 'cover'],\n },\n parallax: {\n type: 'boolean',\n },\n fullWidthMedia: {\n type: 'boolean',\n },\n },\n};\n\nexport const LinkProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text', 'url'],\n properties: {\n ...BaseProps,\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n arrow: {\n type: 'boolean',\n },\n theme: {\n type: 'string',\n enum: ['back', 'file-link', 'normal'],\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n target: {\n type: 'string',\n enum: ['_blank', '_parent', '_top', '_self'],\n },\n analyticsEvents: {\n oneOf: [\n {\n ...AnalyticsEventSchema,\n optionName: 'single',\n },\n {\n type: 'array',\n items: AnalyticsEventSchema,\n optionName: 'list',\n },\n ],\n },\n },\n};\n\nexport const FileLinkProps = {\n type: 'object',\n additionalProperties: false,\n required: ['href', 'text'],\n properties: {\n href: {\n type: 'string',\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n type: {\n type: 'string',\n enum: fileLinkTypes,\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n theme: {\n type: 'string',\n enum: contentThemes,\n },\n },\n};\n\nexport const authorItem = {\n type: 'object',\n required: ['firstName', 'secondName'],\n properties: {\n firstName: {\n type: 'string',\n contentType: 'text',\n },\n secondName: {\n type: 'string',\n contentType: 'text',\n },\n avatar: ImageProps,\n description: {\n type: 'string',\n contentType: 'yfm',\n },\n },\n};\n\nexport const ButtonProps = {\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n primary: {\n type: 'boolean',\n },\n size: {\n type: 'string',\n enum: [\n 'xs', // deprecated, use 's'\n 'ns', // deprecated, use 's'\n 's',\n 'n', // deprecated, use 'l'\n 'm',\n 'l',\n 'xl',\n 'head', // deprecated, use 'l'\n 'promo', // deprecated, use 'xl'\n ],\n },\n theme: {\n type: 'string',\n enum: [\n 'normal',\n 'action',\n 'outlined',\n 'outlined-info',\n 'outlined-danger',\n 'raised',\n 'flat',\n 'flat-info',\n 'flat-danger',\n 'flat-secondary',\n 'clear',\n 'normal-contrast',\n 'outlined-contrast',\n 'flat-contrast',\n 'link', // deprecated, use 'outlined-info'\n 'pseudo', // deprecated, use 'outlined'\n 'pseudo-special', // deprecated, use 'outlined-contrast'\n 'websearch', // deprecated, use 'action'\n 'normal-dark', // deprecated, use 'outlined-contrast'\n 'normal-special', // deprecated, use 'normal-contrast'\n 'accent', // deprecated, use 'action'\n 'dark-grey', // deprecated, use 'github'\n 'app-store',\n 'google-play',\n 'scale',\n 'github',\n 'monochrome',\n ],\n },\n img: {\n oneOf: [\n {\n type: 'string',\n optionName: 'url',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: ['data'],\n properties: {\n data: {\n type: 'string',\n },\n position: {\n type: 'string',\n enum: ['left', 'right'],\n },\n alt: {\n type: 'string',\n contentType: 'text',\n },\n },\n optionName: 'options',\n },\n ],\n },\n analyticsEvents: {\n oneOf: [\n {...AnalyticsEventSchema, optionName: 'single'},\n {type: 'array', items: AnalyticsEventSchema, optionName: 'list'},\n ],\n },\n target: {\n type: 'string',\n enum: ['_self', '_blank', '_parent', '_top'],\n },\n width: {\n type: 'string',\n enum: ['auto', 'max'],\n },\n};\n\nexport const MenuProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n title: {\n type: 'string',\n contentType: 'text',\n },\n },\n};\n\nexport function withTheme<T extends object>(value: T) {\n return {\n oneOf: [\n {\n ...value,\n optionName: 'no theme',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: [Theme.Light],\n properties: Object.values(Theme).reduce(\n (result, themeName) => ({\n ...result,\n [themeName]: value,\n }),\n {},\n ),\n optionName: 'themes',\n },\n ],\n };\n}\n\nexport const AnchorProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text', 'url'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n },\n};\n\nexport const BlockBaseProps = {\n ...BaseProps,\n anchor: AnchorProps,\n visible: {\n type: 'string',\n enum: containerSizesArray,\n },\n resetPaddings: {\n type: 'boolean',\n },\n context: {\n type: 'string',\n },\n indent: {\n type: 'object',\n additionalProperties: false,\n properties: {\n top: dividerEnum,\n bottom: dividerEnum,\n },\n },\n};\n\nexport const TitleProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n resetMargin: {\n type: 'boolean',\n },\n },\n};\n\nexport const ButtonBlock = {\n type: 'object',\n additionalProperties: false,\n properties: ButtonProps,\n if: {\n properties: {\n theme: {\n enum: ['app-store', 'google-play'],\n },\n },\n },\n then: {\n required: ['url'],\n },\n else: {\n required: ['text', 'url'],\n },\n};\n\nconst IframeProps = {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n src: {\n type: 'string',\n },\n name: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n height: {\n type: 'number',\n },\n width: {\n type: 'number',\n },\n },\n};\n\nexport const MediaProps = {\n color: {\n type: 'string',\n },\n image: {\n oneOf: [\n {...ImageProps, optionName: 'single'},\n {type: 'array', items: ImageProps, optionName: 'list'},\n ],\n },\n disableImageSliderForArrayInput: {\n type: 'boolean',\n },\n video: VideoProps,\n youtube: {\n type: 'string',\n },\n videoIframe: {\n type: 'string',\n },\n autoplay: {\n type: 'boolean',\n },\n parallax: {\n type: 'boolean',\n },\n height: {\n type: 'number',\n },\n previewImg: {\n type: 'string',\n },\n dataLens: DataLensProps,\n fullscreen: {\n type: 'boolean',\n },\n analyticsEvents: {\n anyOf: [AnalyticsEventSchema, {type: 'array', items: AnalyticsEventSchema}],\n },\n ratio: {\n type: ['number', 'string'],\n pattern: '^auto$',\n },\n iframe: {\n ...IframeProps,\n },\n margins: {\n type: 'boolean',\n },\n};\n\nconst YMapXY = {\n type: 'array',\n items: {type: 'number'},\n minItems: 2,\n maxItems: 2,\n};\n\nexport const YMapMarkerLabel = {\n type: 'object',\n required: [],\n properties: {\n iconCaption: {\n type: 'string',\n },\n iconContent: {\n type: 'string',\n },\n iconColor: {\n type: 'string',\n },\n iconImageHref: {\n type: 'string',\n },\n iconImageSize: YMapXY,\n iconImageOffset: YMapXY,\n iconImageClipRect: {\n type: 'array',\n items: YMapXY,\n minItems: 2,\n maxItems: 2,\n },\n iconLayout: {\n type: 'string',\n },\n iconShape: {\n type: 'object',\n additionalProperties: true,\n },\n preset: {\n type: 'string',\n },\n },\n};\n\nexport const YMapMarker = {\n type: 'object',\n additionalProperties: false,\n required: [],\n properties: {\n coordinate: {\n type: 'array',\n items: {type: 'number'},\n },\n address: {\n type: 'string',\n },\n label: YMapMarkerLabel,\n },\n};\n\nexport const MapProps = {\n zoom: {\n type: 'number',\n },\n address: {\n type: 'string',\n },\n id: {\n type: 'string',\n },\n markers: {\n type: 'array',\n items: YMapMarker,\n },\n forceAspectRatio: {\n type: 'boolean',\n },\n disableControls: {\n type: 'boolean',\n },\n disableBalloons: {\n type: 'boolean',\n },\n};\n\nexport const BorderProps = {\n type: 'string',\n enum: ['line', 'shadow', 'none'],\n};\n\nexport const CardBase = {\n border: BorderProps,\n};\n\nexport const BlockHeaderProps = {\n title: {\n oneOf: [\n {\n type: 'string',\n optionName: 'text',\n },\n {\n ...TitleProps,\n optionName: 'options',\n },\n ],\n },\n description: {\n type: 'string',\n contentType: 'yfm',\n inputType: 'textarea',\n },\n};\n\nexport const GravityIconProps = {\n oneOf: [\n {\n type: 'string',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: ['name'],\n properties: {\n name: {\n type: 'string',\n },\n color: {\n type: 'string',\n enum: ['brand', 'text-color'],\n },\n },\n },\n ],\n};\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"../../../../src","sources":["schema/validators/common.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,EAAE,UAAU;KACpB;IACD,eAAe,EAAE;QACb,IAAI,EAAE,SAAS;KAClB;IACD,eAAe,EAAE;QACb,IAAI,EAAE,SAAS;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,MAAM,EAAE,WAAW;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE;QACH,KAAK,EAAE;YACH;gBACI,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE,MAAM;aACrB;YACD;gBACI,GAAG,UAAU;gBACb,UAAU,EAAE,SAAS;aACxB;SACJ;KACJ;IACD,WAAW,EAAE;QACT,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,UAAU;KACxB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE;QACH;YACI,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,UAAU,EAAE;gBACR,IAAI,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACjB;gBACD,KAAK,EAAE;oBACH,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;iBAChC;aACJ;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import {ImageProps} from '../../components/Image/schema';\nimport {\n CustomControlsButtonPositioning,\n CustomControlsType,\n MediaVideoControlsType,\n QuoteType,\n Theme,\n} from '../../models';\n\nimport {AnalyticsEventSchema} from './event';\n\nexport const mediaDirection = ['media-content', 'content-media'];\nexport const textSize = ['xs', 's', 'sm', 'm', 'l'];\nexport const containerSizesArray = ['sm', 'md', 'lg', 'xl', 'all'];\nexport const sliderSizesArray = ['sm', 'md', 'lg', 'xl'];\nexport const contentSizes = ['s', 'm', 'l'];\nexport const contentTextWidth = ['s', 'm', 'l'];\n\nexport const videoTypes = ['default', 'player'];\nexport const playIconTypes = ['default', 'text'];\nexport const playIconThemes = ['blue', 'grey'];\nexport const videoControlsTypes = [MediaVideoControlsType.Default, MediaVideoControlsType.Custom];\nexport const fileLinkTypes = ['vertical', 'horizontal'];\n\nexport const dividerEnum = {enum: ['0', 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']};\nexport const sizeNumber = {type: 'number', maximum: 12, minimum: 1};\nexport const contentThemes = ['default', 'dark', 'light'];\nexport const quoteTypes = Object.values(QuoteType);\nexport const mediaView = ['fit', 'full'];\nexport const customControlsType = [\n CustomControlsType.WithMuteButton,\n CustomControlsType.WithPlayPauseButton,\n];\nexport const customControlsButtonPositioning = [\n CustomControlsButtonPositioning.Center,\n CustomControlsButtonPositioning.Left,\n CustomControlsButtonPositioning.Right,\n];\n\nexport const BaseProps = {\n type: {},\n when: {\n type: 'string',\n },\n};\n\nexport const CardLayoutProps = {\n controlPosition: {\n type: 'string',\n enum: ['content', 'footer'],\n },\n};\n\nexport const containerSizesObject = {\n type: 'object',\n additionalProperties: false,\n properties: containerSizesArray.reduce((acc, size) => ({...acc, [size]: sizeNumber}), {}),\n};\n\nexport const sliderSizesObject = {\n oneOf: [\n {\n type: 'object',\n additionalProperties: false,\n properties: sliderSizesArray.reduce((acc, size) => ({...acc, [size]: sizeNumber}), {}),\n optionName: 'custom',\n },\n {\n type: 'number',\n optionName: 'constant',\n },\n ],\n};\n\nexport const AnimatableProps = {\n animated: {\n type: 'boolean',\n },\n};\n\nexport const ChildrenProps = {\n type: 'array',\n items: {$ref: 'self#/definitions/children'},\n};\n\nexport const ChildrenCardsProps = {\n type: 'array',\n items: {$ref: 'self#/definitions/cards'},\n};\n\nexport const LoopProps = {\n type: 'object',\n additionalProperties: false,\n required: ['start'],\n properties: {\n start: {\n type: 'number',\n },\n end: {\n type: 'number',\n },\n },\n};\n\nexport const PlayButtonProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n enum: playIconTypes,\n },\n theme: {\n type: 'string',\n enum: playIconThemes,\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n },\n};\n\nexport const CustomControlsOptionsProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n type: {\n type: 'string',\n enum: customControlsType,\n },\n muteButtonShown: {\n type: 'boolean',\n },\n positioning: {\n type: 'string',\n enum: customControlsButtonPositioning,\n },\n },\n};\n\nexport const VideoProps = {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n src: {\n type: 'array',\n items: {\n type: 'string',\n },\n },\n loop: {\n oneOf: [\n {\n ...LoopProps,\n optionName: 'options',\n },\n {\n type: 'boolean',\n optionName: 'enabled',\n },\n ],\n },\n type: {\n type: 'string',\n enum: videoTypes,\n },\n muted: {\n type: 'boolean',\n },\n autoplay: {\n type: 'boolean',\n },\n elapsedTime: {\n type: 'number',\n },\n playButton: PlayButtonProps,\n controls: {\n type: 'string',\n enum: videoControlsTypes,\n },\n customControlsOptions: CustomControlsOptionsProps,\n ariaLabel: {\n type: 'string',\n },\n contain: {\n type: 'boolean',\n },\n },\n};\n\nexport const ThemeProps = {\n type: 'string',\n enum: ['light', 'dark'],\n};\n\nexport const JustifyProps = {\n type: 'string',\n enum: ['start', 'center', 'end'],\n};\n\nexport const DataLensObjectProps = {\n type: 'object',\n additionalProperties: false,\n required: ['id'],\n properties: {\n id: {\n type: 'string',\n },\n theme: ThemeProps,\n },\n};\n\nexport const DataLensProps = {\n oneOf: [\n {\n type: 'string',\n optionName: 'id',\n },\n {\n ...DataLensObjectProps,\n optionName: 'options',\n },\n ],\n};\n\nexport const BackgroundProps = {\n additionalProperties: false,\n properties: {\n ...AnimatableProps,\n image: ImageProps,\n color: {\n type: 'string',\n },\n video: VideoProps,\n height: {\n type: 'number',\n },\n size: {\n type: 'string',\n enum: ['contain', 'cover'],\n },\n parallax: {\n type: 'boolean',\n },\n fullWidthMedia: {\n type: 'boolean',\n },\n },\n};\n\nexport const LinkProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text', 'url'],\n properties: {\n ...BaseProps,\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n arrow: {\n type: 'boolean',\n },\n theme: {\n type: 'string',\n enum: ['back', 'file-link', 'normal'],\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n target: {\n type: 'string',\n enum: ['_blank', '_parent', '_top', '_self'],\n },\n analyticsEvents: {\n oneOf: [\n {\n ...AnalyticsEventSchema,\n optionName: 'single',\n },\n {\n type: 'array',\n items: AnalyticsEventSchema,\n optionName: 'list',\n },\n ],\n },\n },\n};\n\nexport const FileLinkProps = {\n type: 'object',\n additionalProperties: false,\n required: ['href', 'text'],\n properties: {\n href: {\n type: 'string',\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n type: {\n type: 'string',\n enum: fileLinkTypes,\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n theme: {\n type: 'string',\n enum: contentThemes,\n },\n },\n};\n\nexport const authorItem = {\n type: 'object',\n required: ['firstName', 'secondName'],\n properties: {\n firstName: {\n type: 'string',\n contentType: 'text',\n },\n secondName: {\n type: 'string',\n contentType: 'text',\n },\n avatar: ImageProps,\n description: {\n type: 'string',\n contentType: 'yfm',\n },\n },\n};\n\nexport const ButtonProps = {\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n primary: {\n type: 'boolean',\n },\n size: {\n type: 'string',\n enum: [\n 'xs', // deprecated, use 's'\n 'ns', // deprecated, use 's'\n 's',\n 'n', // deprecated, use 'l'\n 'm',\n 'l',\n 'xl',\n 'head', // deprecated, use 'l'\n 'promo', // deprecated, use 'xl'\n ],\n },\n theme: {\n type: 'string',\n enum: [\n 'normal',\n 'action',\n 'outlined',\n 'outlined-info',\n 'outlined-danger',\n 'raised',\n 'flat',\n 'flat-info',\n 'flat-danger',\n 'flat-secondary',\n 'clear',\n 'normal-contrast',\n 'outlined-contrast',\n 'flat-contrast',\n 'link', // deprecated, use 'outlined-info'\n 'pseudo', // deprecated, use 'outlined'\n 'pseudo-special', // deprecated, use 'outlined-contrast'\n 'websearch', // deprecated, use 'action'\n 'normal-dark', // deprecated, use 'outlined-contrast'\n 'normal-special', // deprecated, use 'normal-contrast'\n 'accent', // deprecated, use 'action'\n 'dark-grey', // deprecated, use 'github'\n 'app-store',\n 'google-play',\n 'scale',\n 'github',\n 'monochrome',\n ],\n },\n img: {\n oneOf: [\n {\n type: 'string',\n optionName: 'url',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: ['data'],\n properties: {\n data: {\n type: 'string',\n },\n position: {\n type: 'string',\n enum: ['left', 'right'],\n },\n alt: {\n type: 'string',\n contentType: 'text',\n },\n },\n optionName: 'options',\n },\n ],\n },\n analyticsEvents: {\n oneOf: [\n {...AnalyticsEventSchema, optionName: 'single'},\n {type: 'array', items: AnalyticsEventSchema, optionName: 'list'},\n ],\n },\n target: {\n type: 'string',\n enum: ['_self', '_blank', '_parent', '_top'],\n },\n width: {\n type: 'string',\n enum: ['auto', 'max'],\n },\n};\n\nexport const MenuProps = {\n type: 'object',\n additionalProperties: false,\n properties: {\n title: {\n type: 'string',\n contentType: 'text',\n },\n },\n};\n\nexport function withTheme<T extends object>(value: T) {\n return {\n oneOf: [\n {\n ...value,\n optionName: 'no theme',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: [Theme.Light],\n properties: Object.values(Theme).reduce(\n (result, themeName) => ({\n ...result,\n [themeName]: value,\n }),\n {},\n ),\n optionName: 'themes',\n },\n ],\n };\n}\n\nexport const AnchorProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text', 'url'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n },\n};\n\nexport const BlockBaseProps = {\n ...BaseProps,\n anchor: AnchorProps,\n visible: {\n type: 'string',\n enum: containerSizesArray,\n },\n resetPaddings: {\n type: 'boolean',\n },\n context: {\n type: 'string',\n },\n indent: {\n type: 'object',\n additionalProperties: false,\n properties: {\n top: dividerEnum,\n bottom: dividerEnum,\n },\n },\n};\n\nexport const TitleProps = {\n type: 'object',\n additionalProperties: false,\n required: ['text'],\n properties: {\n text: {\n type: 'string',\n contentType: 'text',\n },\n textSize: {\n type: 'string',\n enum: textSize,\n },\n url: {\n type: 'string',\n },\n urlTitle: {\n type: 'string',\n },\n resetMargin: {\n type: 'boolean',\n },\n },\n};\n\nexport const ButtonBlock = {\n type: 'object',\n additionalProperties: false,\n properties: ButtonProps,\n if: {\n properties: {\n theme: {\n enum: ['app-store', 'google-play'],\n },\n },\n },\n then: {\n required: ['url'],\n },\n else: {\n required: ['text', 'url'],\n },\n};\n\nconst IframeProps = {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n src: {\n type: 'string',\n },\n name: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n height: {\n type: 'number',\n },\n width: {\n type: 'number',\n },\n },\n};\n\nexport const MediaProps = {\n color: {\n type: 'string',\n },\n image: {\n oneOf: [\n {...ImageProps, optionName: 'single'},\n {type: 'array', items: ImageProps, optionName: 'list'},\n ],\n },\n disableImageSliderForArrayInput: {\n type: 'boolean',\n },\n video: VideoProps,\n youtube: {\n type: 'string',\n },\n videoIframe: {\n type: 'string',\n },\n autoplay: {\n type: 'boolean',\n },\n parallax: {\n type: 'boolean',\n },\n height: {\n type: 'number',\n },\n previewImg: {\n type: 'string',\n },\n dataLens: DataLensProps,\n fullscreen: {\n type: 'boolean',\n },\n analyticsEvents: {\n anyOf: [AnalyticsEventSchema, {type: 'array', items: AnalyticsEventSchema}],\n },\n ratio: {\n type: ['number', 'string'],\n pattern: '^auto$',\n },\n iframe: {\n ...IframeProps,\n },\n margins: {\n type: 'boolean',\n },\n};\n\nconst YMapXY = {\n type: 'array',\n items: {type: 'number'},\n minItems: 2,\n maxItems: 2,\n};\n\nexport const YMapMarkerLabel = {\n type: 'object',\n required: [],\n properties: {\n iconCaption: {\n type: 'string',\n },\n iconContent: {\n type: 'string',\n },\n iconColor: {\n type: 'string',\n },\n iconImageHref: {\n type: 'string',\n },\n iconImageSize: YMapXY,\n iconImageOffset: YMapXY,\n iconImageClipRect: {\n type: 'array',\n items: YMapXY,\n minItems: 2,\n maxItems: 2,\n },\n iconLayout: {\n type: 'string',\n },\n iconShape: {\n type: 'object',\n additionalProperties: true,\n },\n preset: {\n type: 'string',\n },\n },\n};\n\nexport const YMapMarker = {\n type: 'object',\n additionalProperties: false,\n required: [],\n properties: {\n coordinate: {\n type: 'array',\n items: {type: 'number'},\n },\n address: {\n type: 'string',\n },\n label: YMapMarkerLabel,\n },\n};\n\nexport const MapProps = {\n zoom: {\n type: 'number',\n },\n address: {\n type: 'string',\n },\n id: {\n type: 'string',\n },\n markers: {\n type: 'array',\n items: YMapMarker,\n },\n disableControls: {\n type: 'boolean',\n },\n disableBalloons: {\n type: 'boolean',\n },\n};\n\nexport const BorderProps = {\n type: 'string',\n enum: ['line', 'shadow', 'none'],\n};\n\nexport const CardBase = {\n border: BorderProps,\n};\n\nexport const BlockHeaderProps = {\n title: {\n oneOf: [\n {\n type: 'string',\n optionName: 'text',\n },\n {\n ...TitleProps,\n optionName: 'options',\n },\n ],\n },\n description: {\n type: 'string',\n contentType: 'yfm',\n inputType: 'textarea',\n },\n};\n\nexport const GravityIconProps = {\n oneOf: [\n {\n type: 'string',\n },\n {\n type: 'object',\n additionalProperties: false,\n required: ['name'],\n properties: {\n name: {\n type: 'string',\n },\n color: {\n type: 'string',\n enum: ['brand', 'text-color'],\n },\n },\n },\n ],\n};\n"]}
|
package/package.json
CHANGED
package/schema/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.library=t():e.library=t()}(global,(()=>(()=>{var e={2:(e,t,r)=>{var o=r(2199),n=r(4664),i=r(5950);e.exports=function(e){return o(e,i,n)}},79:(e,t,r)=>{var o=r(3702),n=r(80),i=r(4739),p=r(8655),a=r(1175);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},80:(e,t,r)=>{var o=r(6025),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=o(t,e);return!(r<0)&&(r==t.length-1?t.pop():n.call(t,r,1),--this.size,!0)}},104:(e,t,r)=>{var o=r(3661);function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],i=r.cache;if(i.has(n))return i.get(n);var p=e.apply(this,o);return r.cache=i.set(n,p)||i,p};return r.cache=new(n.Cache||o),r}n.Cache=o,e.exports=n},179:(e,t,r)=>{var o=r(4932),n=r(9999),i=r(9931),p=r(1769),a=r(1791),s=r(3138),l=r(8816),c=r(3349),u=l((function(e,t){var r={};if(null==e)return r;var l=!1;t=o(t,(function(t){return t=p(t,e),l||(l=t.length>1),t})),a(e,c(e),r),l&&(r=n(r,7,s));for(var u=t.length;u--;)i(r,t[u]);return r}));e.exports=u},181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},289:(e,t,r)=>{var o=r(2651);e.exports=function(e){return o(this,e).get(e)}},294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var o=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<r}},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},659:(e,t,r)=>{var o=r(1873),n=Object.prototype,i=n.hasOwnProperty,p=n.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var o=!0}catch(e){}var n=p.call(e);return o&&(t?e[a]=r:delete e[a]),n}},695:(e,t,r)=>{var o=r(8096),n=r(2428),i=r(6449),p=r(3656),a=r(361),s=r(7167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),c=!r&&n(e),u=!r&&!c&&p(e),y=!r&&!c&&!u&&s(e),d=r||c||u||y,m=d?o(e.length,String):[],b=m.length;for(var g in e)!t&&!l.call(e,g)||d&&("length"==g||u&&("offset"==g||"parent"==g)||y&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,b))||m.push(g);return m}},938:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},945:(e,t,r)=>{var o=r(79),n=r(8223),i=r(3661);e.exports=function(e,t){var r=this.__data__;if(r instanceof o){var p=r.__data__;if(!n||p.length<199)return p.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(p)}return r.set(e,t),this.size=r.size,this}},1033:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},1042:(e,t,r)=>{var o=r(6110)(Object,"create");e.exports=o},1175:(e,t,r)=>{var o=r(6025);e.exports=function(e,t){var r=this.__data__,n=o(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}},1331:(e,t,r)=>{var o=r(2552),n=r(8879),i=r(346),p=Function.prototype,a=Object.prototype,s=p.toString,l=a.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=o(e))return!1;var t=n(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==c}},1420:(e,t,r)=>{var o=r(79);e.exports=function(){this.__data__=new o,this.size=0}},1549:(e,t,r)=>{var o=r(2032),n=r(3862),i=r(6721),p=r(2749),a=r(5749);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},1769:(e,t,r)=>{var o=r(6449),n=r(8586),i=r(1802),p=r(3222);e.exports=function(e,t){return o(e)?e:n(e,t)?[e]:i(p(e))}},1791:(e,t,r)=>{var o=r(6547),n=r(3360);e.exports=function(e,t,r,i){var p=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=i?i(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),p?n(r,l,c):o(r,l,c)}return r}},1802:(e,t,r)=>{var o=r(2224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,p=o((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,(function(e,r,o,n){t.push(o?n.replace(i,"$1"):r||e)})),t}));e.exports=p},1811:e=>{var t=Date.now;e.exports=function(e){var r=0,o=0;return function(){var n=t(),i=16-(n-o);if(o=n,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},1873:(e,t,r)=>{var o=r(9325).Symbol;e.exports=o},1882:(e,t,r)=>{var o=r(2552),n=r(3805);e.exports=function(e){if(!n(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1961:(e,t,r)=>{var o=r(9653);e.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},2032:(e,t,r)=>{var o=r(1042);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},2199:(e,t,r)=>{var o=r(4528),n=r(6449);e.exports=function(e,t,r){var i=t(e);return n(e)?i:o(i,r(e))}},2224:(e,t,r)=>{var o=r(104);e.exports=function(e){var t=o(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},2271:(e,t,r)=>{var o=r(1791),n=r(4664);e.exports=function(e,t){return o(e,n(e),t)}},2428:(e,t,r)=>{var o=r(7534),n=r(346),i=Object.prototype,p=i.hasOwnProperty,a=i.propertyIsEnumerable,s=o(function(){return arguments}())?o:function(e){return n(e)&&p.call(e,"callee")&&!a.call(e,"callee")};e.exports=s},2552:(e,t,r)=>{var o=r(1873),n=r(659),i=r(9350),p=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":p&&p in Object(e)?n(e):i(e)}},2651:(e,t,r)=>{var o=r(4218);e.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}},2749:(e,t,r)=>{var o=r(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:n.call(t,e)}},2804:(e,t,r)=>{var o=r(6110)(r(9325),"Promise");e.exports=o},2865:(e,t,r)=>{var o=r(9570),n=r(1811)(o);e.exports=n},2903:(e,t,r)=>{var o=r(3805),n=r(5527),i=r(181),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return i(e);var t=n(e),r=[];for(var a in e)("constructor"!=a||!t&&p.call(e,a))&&r.push(a);return r}},2949:(e,t,r)=>{var o=r(2651);e.exports=function(e,t){var r=o(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}},3007:e=>{e.exports=function(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}},3040:(e,t,r)=>{var o=r(1549),n=r(79),i=r(8223);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||n),string:new o}}},3120:(e,t,r)=>{var o=r(4528),n=r(5891);e.exports=function e(t,r,i,p,a){var s=-1,l=t.length;for(i||(i=n),a||(a=[]);++s<l;){var c=t[s];r>0&&i(c)?r>1?e(c,r-1,i,p,a):o(a,c):p||(a[a.length]=c)}return a}},3138:(e,t,r)=>{var o=r(1331);e.exports=function(e){return o(e)?void 0:e}},3201:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},3222:(e,t,r)=>{var o=r(7556);e.exports=function(e){return null==e?"":o(e)}},3243:(e,t,r)=>{var o=r(6110),n=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},3290:(e,t,r)=>{e=r.nmd(e);var o=r(9325),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,p=i&&i.exports===n?o.Buffer:void 0,a=p?p.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,o=a?a(r):new e.constructor(r);return e.copy(o),o}},3345:e=>{e.exports=function(){return[]}},3349:(e,t,r)=>{var o=r(2199),n=r(6375),i=r(7241);e.exports=function(e){return o(e,i,n)}},3360:(e,t,r)=>{var o=r(3243);e.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},3488:e=>{e.exports=function(e){return e}},3605:e=>{e.exports=function(e){return this.__data__.get(e)}},3650:(e,t,r)=>{var o=r(4335)(Object.keys,Object);e.exports=o},3656:(e,t,r)=>{e=r.nmd(e);var o=r(9325),n=r(9935),i=t&&!t.nodeType&&t,p=i&&e&&!e.nodeType&&e,a=p&&p.exports===i?o.Buffer:void 0,s=(a?a.isBuffer:void 0)||n;e.exports=s},3661:(e,t,r)=>{var o=r(3040),n=r(7670),i=r(289),p=r(4509),a=r(2949);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},3729:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o&&!1!==t(e[r],r,e););return e}},3736:(e,t,r)=>{var o=r(1873),n=o?o.prototype:void 0,i=n?n.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3838:(e,t,r)=>{var o=r(1791),n=r(7241);e.exports=function(e,t){return e&&o(t,n(t),e)}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4335:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},4394:(e,t,r)=>{var o=r(2552),n=r(346);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==o(e)}},4509:(e,t,r)=>{var o=r(2651);e.exports=function(e){return o(this,e).has(e)}},4528:e=>{e.exports=function(e,t){for(var r=-1,o=t.length,n=e.length;++r<o;)e[n+r]=t[r];return e}},4664:(e,t,r)=>{var o=r(9770),n=r(3345),i=Object.prototype.propertyIsEnumerable,p=Object.getOwnPropertySymbols,a=p?function(e){return null==e?[]:(e=Object(e),o(p(e),(function(t){return i.call(e,t)})))}:n;e.exports=a},4733:(e,t,r)=>{var o=r(1791),n=r(5950);e.exports=function(e,t){return e&&o(t,n(t),e)}},4739:(e,t,r)=>{var o=r(6025);e.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}},4840:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},4894:(e,t,r)=>{var o=r(1882),n=r(294);e.exports=function(e){return null!=e&&n(e.length)&&!o(e)}},4901:(e,t,r)=>{var o=r(2552),n=r(294),i=r(346),p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p["[object Arguments]"]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p["[object Map]"]=p["[object Number]"]=p["[object Object]"]=p["[object RegExp]"]=p["[object Set]"]=p["[object String]"]=p["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&n(e.length)&&!!p[o(e)]}},4932:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n}},5083:(e,t,r)=>{var o=r(1882),n=r(7296),i=r(3805),p=r(7473),a=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,y=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||n(e))&&(o(e)?y:a).test(p(e))}},5160:e=>{e.exports=function(e,t,r){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(r=r>n?n:r)<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(n);++o<n;)i[o]=e[o+t];return i}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5481:(e,t,r)=>{var o=r(9325)["__core-js_shared__"];e.exports=o},5527:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},5529:(e,t,r)=>{var o=r(9344),n=r(8879),i=r(5527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:o(n(e))}},5580:(e,t,r)=>{var o=r(6110)(r(9325),"DataView");e.exports=o},5749:(e,t,r)=>{var o=r(1042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5861:(e,t,r)=>{var o=r(5580),n=r(8223),i=r(2804),p=r(6545),a=r(8303),s=r(2552),l=r(7473),c="[object Map]",u="[object Promise]",y="[object Set]",d="[object WeakMap]",m="[object DataView]",b=l(o),g=l(n),f=l(i),v=l(p),x=l(a),h=s;(o&&h(new o(new ArrayBuffer(1)))!=m||n&&h(new n)!=c||i&&h(i.resolve())!=u||p&&h(new p)!=y||a&&h(new a)!=d)&&(h=function(e){var t=s(e),r="[object Object]"==t?e.constructor:void 0,o=r?l(r):"";if(o)switch(o){case b:return m;case g:return c;case f:return u;case v:return y;case x:return d}return t}),e.exports=h},5891:(e,t,r)=>{var o=r(1873),n=r(2428),i=r(6449),p=o?o.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||n(e)||!!(p&&e&&e[p])}},5950:(e,t,r)=>{var o=r(695),n=r(8984),i=r(4894);e.exports=function(e){return i(e)?o(e):n(e)}},5970:(e,t,r)=>{var o=r(3120);e.exports=function(e){return(null==e?0:e.length)?o(e,1):[]}},6009:(e,t,r)=>{e=r.nmd(e);var o=r(4840),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,p=i&&i.exports===n&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(e){}}();e.exports=a},6025:(e,t,r)=>{var o=r(5288);e.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}},6038:(e,t,r)=>{var o=r(5861),n=r(346);e.exports=function(e){return n(e)&&"[object Set]"==o(e)}},6110:(e,t,r)=>{var o=r(5083),n=r(392);e.exports=function(e,t){var r=n(e,t);return o(r)?r:void 0}},6169:(e,t,r)=>{var o=r(9653);e.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},6189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,o=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(o.index=e.index,o.input=e.input),o}},6375:(e,t,r)=>{var o=r(4528),n=r(8879),i=r(4664),p=r(3345),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,i(e)),e=n(e);return t}:p;e.exports=a},6449:e=>{var t=Array.isArray;e.exports=t},6545:(e,t,r)=>{var o=r(6110)(r(9325),"Set");e.exports=o},6547:(e,t,r)=>{var o=r(3360),n=r(5288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var p=e[t];i.call(e,t)&&n(p,r)&&(void 0!==r||t in e)||o(e,t,r)}},6721:(e,t,r)=>{var o=r(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return n.call(t,e)?t[e]:void 0}},6757:(e,t,r)=>{var o=r(1033),n=Math.max;e.exports=function(e,t,r){return t=n(void 0===t?e.length-1:t,0),function(){for(var i=arguments,p=-1,a=n(i.length-t,0),s=Array(a);++p<a;)s[p]=i[t+p];p=-1;for(var l=Array(t+1);++p<t;)l[p]=i[p];return l[t]=r(s),o(e,this,l)}}},7167:(e,t,r)=>{var o=r(4901),n=r(7301),i=r(6009),p=i&&i.isTypedArray,a=p?n(p):o;e.exports=a},7199:(e,t,r)=>{var o=r(9653),n=r(6169),i=r(3201),p=r(3736),a=r(1961);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return n(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Symbol]":return p(e)}}},7217:(e,t,r)=>{var o=r(79),n=r(1420),i=r(938),p=r(3605),a=r(9817),s=r(945);function l(e){var t=this.__data__=new o(e);this.size=t.size}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=p,l.prototype.has=a,l.prototype.set=s,e.exports=l},7241:(e,t,r)=>{var o=r(695),n=r(2903),i=r(4894);e.exports=function(e){return i(e)?o(e,!0):n(e)}},7296:(e,t,r)=>{var o,n=r(5481),i=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},7301:e=>{e.exports=function(e){return function(t){return e(t)}}},7334:e=>{e.exports=function(e){return function(){return e}}},7422:(e,t,r)=>{var o=r(1769),n=r(7797);e.exports=function(e,t){for(var r=0,i=(t=o(t,e)).length;null!=e&&r<i;)e=e[n(t[r++])];return r&&r==i?e:void 0}},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7534:(e,t,r)=>{var o=r(2552),n=r(346);e.exports=function(e){return n(e)&&"[object Arguments]"==o(e)}},7556:(e,t,r)=>{var o=r(1873),n=r(4932),i=r(6449),p=r(4394),a=o?o.prototype:void 0,s=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return n(t,e)+"";if(p(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7670:(e,t,r)=>{var o=r(2651);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},7730:(e,t,r)=>{var o=r(9172),n=r(7301),i=r(6009),p=i&&i.isMap,a=p?n(p):o;e.exports=a},7797:(e,t,r)=>{var o=r(4394);e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7828:(e,t,r)=>{var o=r(9325).Uint8Array;e.exports=o},8090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},8096:e=>{e.exports=function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}},8223:(e,t,r)=>{var o=r(6110)(r(9325),"Map");e.exports=o},8303:(e,t,r)=>{var o=r(6110)(r(9325),"WeakMap");e.exports=o},8440:(e,t,r)=>{var o=r(6038),n=r(7301),i=r(6009),p=i&&i.isSet,a=p?n(p):o;e.exports=a},8586:(e,t,r)=>{var o=r(6449),n=r(4394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;e.exports=function(e,t){if(o(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!n(e))||(p.test(e)||!i.test(e)||null!=t&&e in Object(t))}},8655:(e,t,r)=>{var o=r(6025);e.exports=function(e){return o(this.__data__,e)>-1}},8816:(e,t,r)=>{var o=r(5970),n=r(6757),i=r(2865);e.exports=function(e){return i(n(e,void 0,o),e+"")}},8879:(e,t,r)=>{var o=r(4335)(Object.getPrototypeOf,Object);e.exports=o},8948:(e,t,r)=>{var o=r(1791),n=r(6375);e.exports=function(e,t){return o(e,n(e),t)}},8969:(e,t,r)=>{var o=r(7422),n=r(5160);e.exports=function(e,t){return t.length<2?e:o(e,n(t,0,-1))}},8984:(e,t,r)=>{var o=r(5527),n=r(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return n(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},9172:(e,t,r)=>{var o=r(5861),n=r(346);e.exports=function(e){return n(e)&&"[object Map]"==o(e)}},9325:(e,t,r)=>{var o=r(4840),n="object"==typeof self&&self&&self.Object===Object&&self,i=o||n||Function("return this")();e.exports=i},9344:(e,t,r)=>{var o=r(3805),n=Object.create,i=function(){function e(){}return function(t){if(!o(t))return{};if(n)return n(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9570:(e,t,r)=>{var o=r(7334),n=r(3243),i=r(3488),p=n?function(e,t){return n(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:i;e.exports=p},9653:(e,t,r)=>{var o=r(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}},9770:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length,n=0,i=[];++r<o;){var p=e[r];t(p,r,e)&&(i[n++]=p)}return i}},9817:e=>{e.exports=function(e){return this.__data__.has(e)}},9931:(e,t,r)=>{var o=r(1769),n=r(8090),i=r(8969),p=r(7797);e.exports=function(e,t){return t=o(t,e),null==(e=i(e,t))||delete e[p(n(t))]}},9935:e=>{e.exports=function(){return!1}},9999:(e,t,r)=>{var o=r(7217),n=r(3729),i=r(6547),p=r(4733),a=r(3838),s=r(3290),l=r(3007),c=r(2271),u=r(8948),y=r(2),d=r(3349),m=r(5861),b=r(6189),g=r(7199),f=r(5529),v=r(6449),x=r(3656),h=r(7730),j=r(3805),P=r(8440),k=r(5950),_=r(7241),T="[object Arguments]",O="[object Function]",q="[object Object]",w={};w[T]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object DataView]"]=w["[object Boolean]"]=w["[object Date]"]=w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Map]"]=w["[object Number]"]=w[q]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object Symbol]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Error]"]=w[O]=w["[object WeakMap]"]=!1,e.exports=function e(t,r,S,z,B,C){var I,N=1&r,A=2&r,M=4&r;if(S&&(I=B?S(t,z,B,C):S(t)),void 0!==I)return I;if(!j(t))return t;var F=v(t);if(F){if(I=b(t),!N)return l(t,I)}else{var L=m(t),D=L==O||"[object GeneratorFunction]"==L;if(x(t))return s(t,N);if(L==q||L==T||D&&!B){if(I=A||D?{}:f(t),!N)return A?u(t,a(I,t)):c(t,p(I,t))}else{if(!w[L])return B?t:{};I=g(t,L,N)}}C||(C=new o);var E=C.get(t);if(E)return E;C.set(t,I),P(t)?t.forEach((function(o){I.add(e(o,r,S,o,t,C))})):h(t)&&t.forEach((function(o,n){I.set(n,e(o,r,S,n,t,C))}));var $=F?void 0:(M?A?d:y:A?_:k)(t);return n($||t,(function(o,n){$&&(o=t[n=o]),i(I,n,e(o,r,S,n,t,C))})),I}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{generateDefaultSchema:()=>rr,getBlocksCases:()=>tr,validators:()=>Jt});var e={};r.r(e),r.d(e,{filteredArray:()=>l,filteredItem:()=>s});var t={};r.r(t),r.d(t,{AnchorProps:()=>le,AnimatableProps:()=>H,BackgroundProps:()=>re,BaseProps:()=>$,BlockBaseProps:()=>ce,BlockHeaderProps:()=>he,BorderProps:()=>ve,ButtonBlock:()=>ye,ButtonProps:()=>pe,CardBase:()=>xe,CardLayoutProps:()=>U,ChildrenCardsProps:()=>G,ChildrenProps:()=>R,CustomControlsOptionsProps:()=>J,DataLensObjectProps:()=>ee,DataLensProps:()=>te,FileLinkProps:()=>ne,GravityIconProps:()=>je,JustifyProps:()=>Z,LinkProps:()=>oe,LoopProps:()=>Y,MapProps:()=>fe,MediaProps:()=>de,MenuProps:()=>ae,PlayButtonProps:()=>Q,ThemeProps:()=>X,TitleProps:()=>ue,VideoProps:()=>K,YMapMarker:()=>ge,YMapMarkerLabel:()=>be,authorItem:()=>ie,containerSizesArray:()=>T,containerSizesObject:()=>W,contentSizes:()=>q,contentTextWidth:()=>w,contentThemes:()=>M,customControlsButtonPositioning:()=>E,customControlsType:()=>D,dividerEnum:()=>N,fileLinkTypes:()=>I,mediaDirection:()=>k,mediaView:()=>L,playIconThemes:()=>B,playIconTypes:()=>z,quoteTypes:()=>F,sizeNumber:()=>A,sliderSizesArray:()=>O,sliderSizesObject:()=>V,textSize:()=>_,videoControlsTypes:()=>C,videoTypes:()=>S,withTheme:()=>se});var n={};r.r(n),r.d(n,{BannerBlock:()=>ke,BannerCard:()=>_e,BannerCardProps:()=>Pe,CardLayoutBlock:()=>st,CardLayoutProps:()=>at,CompaniesBlock:()=>Te,ContentLayoutBlock:()=>ct,ExtendedFeaturesBlock:()=>qe,ExtendedFeaturesItem:()=>Oe,FilterBlock:()=>bt,FilterItemProps:()=>dt,FilterProps:()=>mt,FilterTagProps:()=>yt,FoldableListBlock:()=>Je,FormBlock:()=>xt,HeaderBackgroundProps:()=>Ee,HeaderBlock:()=>Ue,HeaderProperties:()=>$e,HeaderSliderBlock:()=>nt,HeaderVideoIframeProps:()=>De,IconsBlock:()=>pt,IconsProps:()=>it,InfoBlock:()=>Ve,Map:()=>He,MapBlock:()=>Re,Media:()=>Ie,MediaBlock:()=>Me,MediaBlockBaseProps:()=>Ae,PromoFeaturesBlock:()=>Le,PromoFeaturesItem:()=>Fe,QuestionsBlock:()=>Ye,ShareBlock:()=>ut,SliderBlock:()=>Xe,SliderOldBlock:()=>et,SliderOldProps:()=>Ze,SliderProps:()=>Ke,TableBlock:()=>tt,TabsBlock:()=>ot,tabsItem:()=>rt});var i={};r.r(i),r.d(i,{BackgroundImageProps:()=>g,ImageBaseObjectProps:()=>d,ImageDeviceProps:()=>y,ImageObjectProps:()=>m,ImageProps:()=>b,YandexFormProps:()=>gt,author:()=>ht,imageUrlPattern:()=>c});var p={};r.r(p),r.d(p,{LogoProps:()=>Pt,NavigationHeaderProps:()=>wt});var a={};r.r(a),r.d(a,{BackgroundCard:()=>Dt,BasicCard:()=>Rt,ContentBase:()=>Be,ContentBlock:()=>Ce,ContentItem:()=>ze,Divider:()=>Vt,HubspotFormProps:()=>ft,ImageCard:()=>Qt,LayoutItem:()=>Ut,MediaCardBlock:()=>Et,PriceCardBlock:()=>Gt,PriceDetailedBlock:()=>Ft,Quote:()=>Wt});const s=e=>({...e,type:"object",properties:{when:{type:"string"},...e.properties}}),l=e=>({type:"array",items:s(e)}),c="^((http[s]?|ftp):\\/)?\\/?([^:\\/\\s]+)((\\/\\w+)*\\/)([\\w\\-\\.]+[^#?\\s]+)(.*)?(#[\\w\\-]+)?$",u={alt:{type:"string",contentType:"text"},disableCompress:{type:"boolean"},loading:{type:"string",enum:["eager","lazy"]},fetchPriority:{type:"string",enum:["high","low","auto"]},hide:{oneOf:[{type:"boolean"},{type:"object",properties:{mobile:{type:"boolean"},tablet:{type:"boolean"},desktop:{type:"boolean"}}}]}},y={type:"object",additionalProperties:!1,required:["desktop","mobile"],properties:{...u,desktop:{type:"string",pattern:c},tablet:{type:"string",pattern:c},mobile:{type:"string",pattern:c}}},d={type:"object",additionalProperties:!1,properties:{...u,src:{type:"string",pattern:c},style:{type:"object",additionalProperties:!1,required:[],properties:{backgroundColor:{type:"string"},height:{type:["string","number"]},width:{type:["string","number"]},color:{type:"string"}}}}},m={...d,required:["src"]},b={oneOf:[{type:"string",pattern:c,optionName:"url"},s({...m,optionName:"options"}),s({...y,optionName:"device options"}),{type:"array",items:s({...m}),optionName:"options list"},{type:"array",items:s({...y}),optionName:"device options list"}]},g={anyOf:[{...d,optionName:"options"},{...y,optionName:"device options"}]};let f=function(e){return e.WithMuteButton="with-mute-button",e.WithPlayPauseButton="with-play-pause-button",e}({}),v=function(e){return e.Left="left",e.Right="right",e.Center="center",e}({}),x=function(e){return e.Default="default",e.Custom="custom",e}({}),h=function(e){return e.Chevron="chevron",e.EnglishDouble="english-double",e}({}),j=function(e){return e.Light="light",e.Dark="dark",e}({});j.Light,j.Dark;const P={type:"object",additionalProperties:{type:"string"},required:["name"],properties:{name:{type:"string"},type:{type:"string"},counters:{type:"object",additionalProperties:!1,required:[],properties:{include:{type:"array",items:{type:"string"}},exclude:{type:"array",items:{type:"string"}}}},context:{type:"string"}}},k=["media-content","content-media"],_=["xs","s","sm","m","l"],T=["sm","md","lg","xl","all"],O=["sm","md","lg","xl"],q=["s","m","l"],w=["s","m","l"],S=["default","player"],z=["default","text"],B=["blue","grey"],C=[x.Default,x.Custom],I=["vertical","horizontal"],N={enum:["0","xxs","xs","s","m","l","xl","xxl","xxxl"]},A={type:"number",maximum:12,minimum:1},M=["default","dark","light"],F=Object.values(h),L=["fit","full"],D=[f.WithMuteButton,f.WithPlayPauseButton],E=[v.Center,v.Left,v.Right],$={type:{},when:{type:"string"}},U={controlPosition:{type:"string",enum:["content","footer"]}},W={type:"object",additionalProperties:!1,properties:T.reduce(((e,t)=>({...e,[t]:A})),{})},V={oneOf:[{type:"object",additionalProperties:!1,properties:O.reduce(((e,t)=>({...e,[t]:A})),{}),optionName:"custom"},{type:"number",optionName:"constant"}]},H={animated:{type:"boolean"}},R={type:"array",items:{$ref:"self#/definitions/children"}},G={type:"array",items:{$ref:"self#/definitions/cards"}},Y={type:"object",additionalProperties:!1,required:["start"],properties:{start:{type:"number"},end:{type:"number"}}},Q={type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:z},theme:{type:"string",enum:B},text:{type:"string",contentType:"text"}}},J={type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:D},muteButtonShown:{type:"boolean"},positioning:{type:"string",enum:E}}},K={type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"array",items:{type:"string"}},loop:{oneOf:[{...Y,optionName:"options"},{type:"boolean",optionName:"enabled"}]},type:{type:"string",enum:S},muted:{type:"boolean"},autoplay:{type:"boolean"},elapsedTime:{type:"number"},playButton:Q,controls:{type:"string",enum:C},customControlsOptions:J,ariaLabel:{type:"string"},contain:{type:"boolean"}}},X={type:"string",enum:["light","dark"]},Z={type:"string",enum:["start","center","end"]},ee={type:"object",additionalProperties:!1,required:["id"],properties:{id:{type:"string"},theme:X}},te={oneOf:[{type:"string",optionName:"id"},{...ee,optionName:"options"}]},re={additionalProperties:!1,properties:{...H,image:b,color:{type:"string"},video:K,height:{type:"number"},size:{type:"string",enum:["contain","cover"]},parallax:{type:"boolean"},fullWidthMedia:{type:"boolean"}}},oe={type:"object",additionalProperties:!1,required:["text","url"],properties:{...$,text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"},arrow:{type:"boolean"},theme:{type:"string",enum:["back","file-link","normal"]},textSize:{type:"string",enum:_},target:{type:"string",enum:["_blank","_parent","_top","_self"]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},ne={type:"object",additionalProperties:!1,required:["href","text"],properties:{href:{type:"string"},text:{type:"string",contentType:"text"},type:{type:"string",enum:I},textSize:{type:"string",enum:_},theme:{type:"string",enum:M}}},ie={type:"object",required:["firstName","secondName"],properties:{firstName:{type:"string",contentType:"text"},secondName:{type:"string",contentType:"text"},avatar:b,description:{type:"string",contentType:"yfm"}}},pe={text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"},primary:{type:"boolean"},size:{type:"string",enum:["xs","ns","s","n","m","l","xl","head","promo"]},theme:{type:"string",enum:["normal","action","outlined","outlined-info","outlined-danger","raised","flat","flat-info","flat-danger","flat-secondary","clear","normal-contrast","outlined-contrast","flat-contrast","link","pseudo","pseudo-special","websearch","normal-dark","normal-special","accent","dark-grey","app-store","google-play","scale","github","monochrome"]},img:{oneOf:[{type:"string",optionName:"url"},{type:"object",additionalProperties:!1,required:["data"],properties:{data:{type:"string"},position:{type:"string",enum:["left","right"]},alt:{type:"string",contentType:"text"}},optionName:"options"}]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]},target:{type:"string",enum:["_self","_blank","_parent","_top"]},width:{type:"string",enum:["auto","max"]}},ae={type:"object",additionalProperties:!1,properties:{title:{type:"string",contentType:"text"}}};function se(e){return{oneOf:[{...e,optionName:"no theme"},{type:"object",additionalProperties:!1,required:[j.Light],properties:Object.values(j).reduce(((t,r)=>({...t,[r]:e})),{}),optionName:"themes"}]}}const le={type:"object",additionalProperties:!1,required:["text","url"],properties:{text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"}}},ce={...$,anchor:le,visible:{type:"string",enum:T},resetPaddings:{type:"boolean"},context:{type:"string"},indent:{type:"object",additionalProperties:!1,properties:{top:N,bottom:N}}},ue={type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},textSize:{type:"string",enum:_},url:{type:"string"},urlTitle:{type:"string"},resetMargin:{type:"boolean"}}},ye={type:"object",additionalProperties:!1,properties:pe,if:{properties:{theme:{enum:["app-store","google-play"]}}},then:{required:["url"]},else:{required:["text","url"]}},de={color:{type:"string"},image:{oneOf:[{...b,optionName:"single"},{type:"array",items:b,optionName:"list"}]},disableImageSliderForArrayInput:{type:"boolean"},video:K,youtube:{type:"string"},videoIframe:{type:"string"},autoplay:{type:"boolean"},parallax:{type:"boolean"},height:{type:"number"},previewImg:{type:"string"},dataLens:te,fullscreen:{type:"boolean"},analyticsEvents:{anyOf:[P,{type:"array",items:P}]},ratio:{type:["number","string"],pattern:"^auto$"},iframe:{type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"string"},name:{type:"string"},title:{type:"string"},height:{type:"number"},width:{type:"number"}}},margins:{type:"boolean"}},me={type:"array",items:{type:"number"},minItems:2,maxItems:2},be={type:"object",required:[],properties:{iconCaption:{type:"string"},iconContent:{type:"string"},iconColor:{type:"string"},iconImageHref:{type:"string"},iconImageSize:me,iconImageOffset:me,iconImageClipRect:{type:"array",items:me,minItems:2,maxItems:2},iconLayout:{type:"string"},iconShape:{type:"object",additionalProperties:!0},preset:{type:"string"}}},ge={type:"object",additionalProperties:!1,required:[],properties:{coordinate:{type:"array",items:{type:"number"}},address:{type:"string"},label:be}},fe={zoom:{type:"number"},address:{type:"string"},id:{type:"string"},markers:{type:"array",items:ge},forceAspectRatio:{type:"boolean"},disableControls:{type:"boolean"},disableBalloons:{type:"boolean"}},ve={type:"string",enum:["line","shadow","none"]},xe={border:ve},he={title:{oneOf:[{type:"string",optionName:"text"},{...ue,optionName:"options"}]},description:{type:"string",contentType:"yfm",inputType:"textarea"}},je={oneOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},color:{type:"string",enum:["brand","text-color"]}}}]},Pe={additionalProperties:!1,required:["title","button"],properties:{...$,...H,title:{type:"string",contentType:"text"},subtitle:{type:"string",contentType:"yfm"},image:se({type:"string"}),mediaView:{type:"string",enum:L},disableCompress:{type:"boolean"},color:se({type:"string"}),theme:X,width:{type:"string",enum:["s","m","l"]},button:ye}},ke={"banner-block":Pe},_e={"banner-card":Pe},Te={"companies-block":{additionalProperties:!1,required:["title","images"],properties:{...$,...H,title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm",inputType:"textarea"},images:se({type:"object",required:["desktop","tablet","mobile"],properties:{desktop:{type:"string"},tablet:{type:"string"},mobile:{type:"string"},alt:{type:"string",contentType:"text"}}})}}},Oe={additionalProperties:!1,required:[],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},label:{type:"string",enum:["New","Preview"]},link:oe,icon:se(b)}},qe={"extended-features-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...he,items:l(Oe),colSizes:W}}};var we=r(179),Se=r.n(we);const ze={additionalProperties:!1,required:["icon"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},icon:se(b),gravityIcon:se(je)}},Be={title:{oneOf:[{type:"string",contentType:"text",optionName:"text"},{...ue,optionName:"options"}]},text:{type:"string",contentType:"yfm",inputType:"textarea"},additionalInfo:{type:"string",contentType:"yfm"},size:{type:"string",enum:q},links:l(oe),buttons:l(ye),theme:{type:"string",enum:M},list:l(ze),controlPosition:{type:"string",enum:["default","bottom"]}},Ce={content:{additionalProperties:!1,properties:{...Be,colSizes:T.reduce(((e,t)=>({...e,[t]:A})),{}),centered:{type:"boolean"}}}},Ie={type:"object",additionalProperties:!1,required:[],properties:de},Ne=Se()(Be,["text","theme"]),Ae={...ce,...H,...Ne,description:{type:"string",contentType:"yfm"},direction:{type:"string",enum:k},mobileDirection:{type:"string",enum:k},largeMedia:{type:"boolean"},mediaOnly:{type:"boolean"},disableShadow:{type:"boolean"},button:ye,mediaOnlyColSizes:W,border:{type:"string",enum:["shadow","line","none"]}},Me={"media-block":{additionalProperties:!1,required:["title","media"],properties:{...Ae,media:se(Ie)}}},Fe={additionalProperties:!1,required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm",inputType:"textarea"},theme:{enum:["accent","accent-light","primary"]},media:Ie}},Le={"promo-features-block":{additionalProperties:!1,required:["items"],properties:{...ce,...H,...he,theme:{enum:["grey","default"]},items:l(Fe)}}},De={type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"string"},autoplay:{type:"boolean"},previewImg:{type:"string"},height:{type:"number"}}},Ee={type:"object",additionalProperties:!1,required:[],properties:{...de,fullWidth:{type:"boolean"},fullWidthMedia:{type:"boolean"}}},$e={title:{type:"string",contentType:"text"},overtitle:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm",inputType:"textarea"},additionalInfo:{type:"string",contentType:"yfm",inputType:"textarea"},width:{type:"string",enum:["s","m","l"]},buttons:l(ye),offset:{type:"string",enum:["default","large"]},image:se(b),video:se(K),videoIframe:se(De),mediaView:{type:"string",enum:L},backLink:{type:"object",required:["url","title"],properties:{url:{type:"string"},title:{type:"string",contentType:"text"}}},imageSize:{type:"string",enum:["s","m"]},verticalOffset:{type:"string",enum:["0","s","m","l","xl"]},background:se(Ee),theme:{type:"string",enum:["default","dark"]},breadcrumbs:{type:"object",additionalProperties:!1,required:["items"],properties:{items:{type:"array",items:{type:"object",additionalProperties:!1,required:["url","text"],properties:{url:{type:"string"},text:{type:"string",contentType:"text"}}}},theme:{type:"string",enum:["light","dark"]}}},status:{type:"string"},centered:{type:"boolean"}},Ue={"header-block":{additionalProperties:!1,required:["title"],properties:{...ce,...$e}}},We={additionalProperties:!1,properties:Se()(Be,["size","colSizes","theme"])},Ve={"info-block":{additionalProperties:!1,required:["title","sectionsTitle"],properties:{...$,title:{type:"string",contentType:"text"},backgroundColor:se({type:"string"}),sectionsTitle:{type:"string",contentType:"text"},buttons:l(ye),theme:X,links:l(oe),leftContent:We,rightContent:We}}},He={type:"object",additionalProperties:!1,required:[],properties:fe},Re={"map-block":{additionalProperties:!1,required:["title","map"],properties:{...Ae,map:He}}},Ge=Se()(Be,["size","theme"]),Ye={"questions-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...Ge,items:l({type:"object",required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},link:oe,listStyle:{type:"string",enum:["dash","disk"]}}})}}},Qe=Se()(Be,["size","theme"]),Je={"foldable-list-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...Qe,items:l({type:"object",required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},link:oe,listStyle:{type:"string",enum:["dash","disk"]}}})}}},Ke={dots:{type:"boolean"},arrows:{type:"boolean"},randomOrder:{type:"boolean"},autoplay:{type:"number"},type:{type:"string"},adaptive:{type:"boolean"},arrowSize:{type:"number"},animated:H,slidesToShow:V,disclaimer:{additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}},loadable:{additionalProperties:!1,required:["source"],properties:{source:{type:"string"},minCount:{type:"number"},params:{type:"object",patternProperties:{".*":{oneOf:[{type:["string","number","boolean"]},{type:"object",additionalProperties:!0},{type:"array"}]}}}},disabled:!0},children:G},Xe={"slider-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...Ke,...he}}},Ze={dots:{type:"boolean"},arrows:{type:"boolean"},randomOrder:{type:"boolean"},autoplay:{type:"number"},animated:H,slidesToShow:V,disclaimer:{additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}},loadable:{additionalProperties:!1,required:["source"],properties:{source:{type:"string"},minCount:{type:"number"},params:{type:"object",patternProperties:{".*":{oneOf:[{type:["string","number","boolean"]},{type:"object",additionalProperties:!0},{type:"array"}]}}}},disabled:!0},children:G},et={"slider-old-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...Ze,...he}}},tt={"table-block":{additionalProperties:!1,required:["title","table"],properties:{...ce,title:{type:"string",contentType:"text"},table:{additionalProperties:!1,required:["content"],properties:{...$,content:{type:"array",items:{type:"array",items:{oneOf:[{type:"string",contentType:"text",optionName:"text"},{type:"number",contentType:"text",optionName:"number"}]}}},legend:{type:"array",items:{type:"string",contentType:"yfm"}},hideLegend:{type:"boolean"},justify:{type:"array",items:Z},marker:{type:"string",enum:["disk","tick"]},caption:{type:"string"}}}}}},rt={type:"object",additionalProperties:!1,required:["tabName"],properties:{...Se()(Be,["size","colSizes","centered","theme"]),tabName:{type:"string"},caption:{type:"string",contentType:"text"},media:se({type:"object",properties:de}),link:oe,image:se(b),border:{type:"string",enum:["shadow","line","none"]}}},ot={"tabs-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...he,tabsColSizes:T.reduce(((e,t)=>({...e,[t]:A})),{}),direction:{type:"string",enum:k},centered:{type:"boolean"},items:l(rt),contentSize:{type:"string",enum:q}}}},nt={"header-slider-block":{additionalProperties:!1,required:["items"],properties:{...ce,...Se()(Ke,["loadable","children"]),items:{type:"array",items:{type:"object",additionalProperties:!1,required:["title"],properties:$e}}}}},it={additionalProperties:!1,required:["size","items"],properties:{...ce,...H,title:{type:"string",contentType:"text"},description:{type:"string",contentType:"text"},size:{type:"string",enum:["s","m","l"],default:"s"},colSizes:W,items:{type:"array",items:{type:"object",additionalProperties:!1,required:["url","text","src"],properties:{url:{type:"string"},text:{type:"string",contentType:"text"},src:{type:"string"}},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}}}},pt={"icons-block":it},at={additionalProperties:!1,required:[],properties:{...ce,...H,...he,colSizes:W,background:{anyOf:[{...d,properties:{...d.properties,border:ve},optionName:"options"},{...y,properties:{...y.properties,border:ve},optionName:"device options"}]},children:G}},st={"card-layout-block":at},lt={size:{type:"string",enum:q},background:g,centered:{type:"boolean"},theme:{type:"string",enum:M},textWidth:{type:"string",enum:w}},ct={"content-layout-block":{additionalProperties:!1,properties:{...ce,textContent:Ce?.content,fileContent:l(ne),properties:lt,...lt}}},ut={"share-block":{additionalProperties:!1,required:["items"],properties:{...$,title:{type:"string"},items:{type:"array",items:{type:"string",enum:["telegram","facebook","twitter","vk","linkedin"]}}}}},yt={additionalProperties:!1,required:["id","label"],properties:{id:{type:"string"},label:{type:"string"}}},dt={additionalProperties:!1,required:["tags","card"],properties:{tags:{type:"array",items:{type:"string"}},card:{$ref:"self#/definitions/cards"}}},mt={additionalProperties:!1,required:["tags","items"],properties:{...ce,...H,...he,allTag:{oneOf:[{type:"boolean",optionName:"auto"},{type:"string",optionName:"cutom"}]},colSizes:W,tags:l(yt),items:l(dt),tagButtonSize:{type:"string",enum:["s","m","l","xl"]},centered:{type:"boolean"}}},bt={"filter-block":mt},gt={type:"object",required:["id"],properties:{...$,id:{type:"string"},containerId:{type:"string"}}},ft={type:"object",required:["portalId","formId"],properties:{...$,region:{type:"string"},portalId:{type:"string"},formId:{type:"string"},formInstanceId:{type:"string"}}},vt=Se()(Be,["size","centered","colSizes"]),xt={"form-block":{additionalProperties:!1,required:["formData"],properties:{...ce,title:{type:"string"},formData:{oneOf:[{type:"object",optionName:"yandex",properties:{yandex:se(gt)}},{type:"object",optionName:"hubspot",properties:{hubspot:se(ft)}}]},textContent:{additionalProperties:!1,properties:vt},direction:{enum:["content-form","form-content","center"]},image:b,backgroundColor:{type:"string"}}}},ht={author:{additionalProperties:!1,required:["author"],properties:{...$,asides:{},author:ie}}},jt={type:"string",enum:["link","button","dropdown"]},Pt={type:"object",additionalProperties:!1,required:["icon"],properties:{icon:b,text:{type:"string",contentType:"text"},url:{type:"string"}}},kt={text:{type:"string",contentType:"text"},url:{type:"string"},icon:{type:"string",pattern:c},iconSize:{type:"number"}},_t={type:"object",additionalProperties:!1,required:["type","text"],properties:{...Se()(kt,["url"]),type:{...jt},url:{type:"string"},target:{type:"string"},arrow:{type:"boolean"}}},Tt={type:"object",additionalProperties:!1,required:["type","text","url"],properties:{...pe,type:{...jt}}},Ot={type:"object",additionalProperties:!1,required:["type","items"],properties:{...kt,type:{...jt},items:l(_t)}},qt={oneOf:[l(_t),l(Tt),l(Ot)]},wt={type:"object",additionalProperties:!1,required:["leftItems"],properties:{leftItems:qt,rightItems:qt,iconSize:{type:"number"}}},St=["cornflower","black"],zt=["blue","green","yellow","purple","red"],Bt={additionalProperties:!1,required:[],properties:zt.reduce(((e,t)=>({...e,[t]:{type:"string"}})),{})},Ct={additionalProperties:!1,required:["title"],properties:{title:{type:"string",contentType:"text"},size:{type:"string",enum:_},titleColor:{type:"string",enum:St}}},It={additionalProperties:!1,required:[],properties:{titleSize:{type:"string",enum:_},descriptionSize:{type:"string",enum:_}}},Nt={additionalProperties:!1,required:[],properties:{titleSize:{type:"string",enum:_},descriptionSize:{type:"string",enum:_},titleColor:{type:"string",enum:St}}},At={title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm"},detailedTitle:{type:"string",contentType:"text"},label:{additionalProperties:!1,required:["color"],properties:{color:{type:"string",enum:zt},text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}}},Mt={type:"object",additionalProperties:!1,required:["title","description"],properties:{...{items:{oneOf:[{...l({type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"yfm"}}}),optionName:"marked-list"},{...l({type:"object",additionalProperties:!1,required:["title","description"],properties:{title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm"}}}),optionName:"settings"}]}},...At,analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},Ft={"price-detailed":{additionalProperties:!1,required:["items"],properties:{...$,...H,items:l(Mt),description:Nt,details:It,priceType:{type:"string",enum:["marked-list","settings"],default:"settings"},numberGroupItems:{type:"number",enum:[3,4,5]},isCombined:{type:"boolean"},useMixedView:{type:"boolean"},foldable:Ct,labelsDefaultText:Bt}}},Lt=Se()(Be,["size","controlPosition"]),Dt={"background-card":{additionalProperties:!1,required:["title","text"],properties:{...$,...xe,...U,...Lt,url:{type:"string"},urlTitle:{type:"string"},background:se(m),backgroundColor:{type:"string"},paddingBottom:{type:"string",enum:["s","m","l","xl"]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]},controlPosition:{type:"string",enum:["content","footer"]},colSizes:W}}},Et={"media-card":{additionalProperties:!1,required:[],properties:{...$,...xe,...de,...H,analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}}},$t={type:"array",items:{type:"string",contentType:"text"}},Ut={type:"object",additionalProperties:!1,required:["content","media"],properties:{...$,...U,media:de,content:Se()(Be,["colSize","size","centered"]),contentMargin:{type:"string",enum:["m","l"],default:"m"},metaInfo:$t,border:{type:"boolean"},fullscreen:{type:"boolean"},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},Wt={quote:{additionalProperties:!1,required:["image","logo"],properties:{...$,text:{type:"string",contentType:"text"},yfmText:{type:"string",contentType:"text"},image:se(b),logo:b,color:{type:"string"},url:{type:"string"},urlTitle:{type:"string"},buttonText:{type:"string"},theme:X,author:ie,quoteType:{type:"string",enum:F}}}},Vt={divider:{additionalProperties:!1,properties:{...$,border:{type:"boolean"},size:N}}},Ht=Se()(Be,["size","theme","controlPosition"]),Rt={"basic-card":{additionalProperties:!1,required:[],properties:{...$,...xe,...U,...Ht,url:{type:"string"},urlTitle:{type:"string"},icon:b,gravityIcon:je,target:{type:"string",enum:["_blank","_parent","_top","_self"]},iconPosition:{type:"string",enum:["top","left"]},controlPosition:{type:"string",enum:["content","footer"]}}}},Gt={"price-card":{additionalProperties:!1,required:["title","price"],properties:{...$,...xe,theme:Be.theme,title:{type:"string"},price:{type:"string"},pricePeriod:{type:"string"},priceDetails:{type:"string"},description:{type:"string"},buttons:{type:"array",items:ye},links:{type:"array",items:oe},backgroundColor:{type:"string"},list:{type:"array",items:{type:"string"}},controlPosition:{type:"string",enum:["content","footer"]}}}},Yt=Se()(Be,["centered","colSizes","controlPosition"]),Qt={"image-card":{additionalProperties:!1,required:["image"],properties:{...$,...xe,...U,...Yt,image:b,direction:{type:"string",enum:["direct","reverse"]},margins:{type:"string",enum:["s","m"]},backgroundColor:{type:"string"},url:{type:"string"},urlTitle:{type:"string"}}}},Jt={blocks:n,common:t,components:i,subBlocks:a,utils:e,navigation:p},Kt={...Vt,...qe,...Le,...et,...Ye,...Je,...Ue,...ke,...Te,...Me,...Re,...Ve,...tt,...ot,...nt,...pt,...st,...ct,...ut,...bt,...xt,...Xe},Xt={...Et,..._e,...Ft,...Dt,...Wt,...Rt,...Gt,...Qt},Zt=["divider","quote","event","post","extended-features-block","promo-features-block","slider-old-block","slider-block","questions-block","header-block","banner-block","companies-block","media-block","map-block","info-block","table-block","tabs-block","price-detailed","header-slider-block","cards-with-image-block","icons-block","card-layout-block","content-layout-block","share-block","filter-block","form-block"],er=["media-card","banner-card","price-detailed","background-card","quote","basic-card","layout-item","price-card","image-card"],tr=e=>Object.values(e).reduce(((e,t)=>({...e,...t})),{});function rr(e){const{cards:t={},blocks:r={},extensions:o={}}=e??{},n=Object.keys(r).filter((e=>!Zt.includes(e))),i=Object.keys(t).filter((e=>!er.includes(e)));return{$id:"self",definitions:{children:s({type:"object",required:["type"],properties:{type:{type:"string",enum:[...Zt,...n]}},select:{$data:"0/type"},selectCases:{...Kt,...tr(r)}}),cards:s({type:"object",required:["type"],properties:{type:{type:"string",enum:[...er,...i]}},select:{$data:"0/type"},selectCases:{...Xt,...tr(t)}})},type:"object",additionalProperties:!1,required:["blocks"],properties:{...H,logo:se(Pt),header:wt,blocks:{type:"array",items:{$ref:"#/definitions/children"}},menu:ae,background:se(re),...o}}}})(),o})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.library=t():e.library=t()}(global,(()=>(()=>{var e={2:(e,t,r)=>{var o=r(2199),n=r(4664),i=r(5950);e.exports=function(e){return o(e,i,n)}},79:(e,t,r)=>{var o=r(3702),n=r(80),i=r(4739),p=r(8655),a=r(1175);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},80:(e,t,r)=>{var o=r(6025),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=o(t,e);return!(r<0)&&(r==t.length-1?t.pop():n.call(t,r,1),--this.size,!0)}},104:(e,t,r)=>{var o=r(3661);function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],i=r.cache;if(i.has(n))return i.get(n);var p=e.apply(this,o);return r.cache=i.set(n,p)||i,p};return r.cache=new(n.Cache||o),r}n.Cache=o,e.exports=n},179:(e,t,r)=>{var o=r(4932),n=r(9999),i=r(9931),p=r(1769),a=r(1791),s=r(3138),l=r(8816),c=r(3349),u=l((function(e,t){var r={};if(null==e)return r;var l=!1;t=o(t,(function(t){return t=p(t,e),l||(l=t.length>1),t})),a(e,c(e),r),l&&(r=n(r,7,s));for(var u=t.length;u--;)i(r,t[u]);return r}));e.exports=u},181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},289:(e,t,r)=>{var o=r(2651);e.exports=function(e){return o(this,e).get(e)}},294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var o=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<r}},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},659:(e,t,r)=>{var o=r(1873),n=Object.prototype,i=n.hasOwnProperty,p=n.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var o=!0}catch(e){}var n=p.call(e);return o&&(t?e[a]=r:delete e[a]),n}},695:(e,t,r)=>{var o=r(8096),n=r(2428),i=r(6449),p=r(3656),a=r(361),s=r(7167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),c=!r&&n(e),u=!r&&!c&&p(e),y=!r&&!c&&!u&&s(e),d=r||c||u||y,m=d?o(e.length,String):[],b=m.length;for(var g in e)!t&&!l.call(e,g)||d&&("length"==g||u&&("offset"==g||"parent"==g)||y&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,b))||m.push(g);return m}},938:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},945:(e,t,r)=>{var o=r(79),n=r(8223),i=r(3661);e.exports=function(e,t){var r=this.__data__;if(r instanceof o){var p=r.__data__;if(!n||p.length<199)return p.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(p)}return r.set(e,t),this.size=r.size,this}},1033:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},1042:(e,t,r)=>{var o=r(6110)(Object,"create");e.exports=o},1175:(e,t,r)=>{var o=r(6025);e.exports=function(e,t){var r=this.__data__,n=o(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}},1331:(e,t,r)=>{var o=r(2552),n=r(8879),i=r(346),p=Function.prototype,a=Object.prototype,s=p.toString,l=a.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=o(e))return!1;var t=n(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==c}},1420:(e,t,r)=>{var o=r(79);e.exports=function(){this.__data__=new o,this.size=0}},1549:(e,t,r)=>{var o=r(2032),n=r(3862),i=r(6721),p=r(2749),a=r(5749);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},1769:(e,t,r)=>{var o=r(6449),n=r(8586),i=r(1802),p=r(3222);e.exports=function(e,t){return o(e)?e:n(e,t)?[e]:i(p(e))}},1791:(e,t,r)=>{var o=r(6547),n=r(3360);e.exports=function(e,t,r,i){var p=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=i?i(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),p?n(r,l,c):o(r,l,c)}return r}},1802:(e,t,r)=>{var o=r(2224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,p=o((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,(function(e,r,o,n){t.push(o?n.replace(i,"$1"):r||e)})),t}));e.exports=p},1811:e=>{var t=Date.now;e.exports=function(e){var r=0,o=0;return function(){var n=t(),i=16-(n-o);if(o=n,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},1873:(e,t,r)=>{var o=r(9325).Symbol;e.exports=o},1882:(e,t,r)=>{var o=r(2552),n=r(3805);e.exports=function(e){if(!n(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1961:(e,t,r)=>{var o=r(9653);e.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},2032:(e,t,r)=>{var o=r(1042);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},2199:(e,t,r)=>{var o=r(4528),n=r(6449);e.exports=function(e,t,r){var i=t(e);return n(e)?i:o(i,r(e))}},2224:(e,t,r)=>{var o=r(104);e.exports=function(e){var t=o(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},2271:(e,t,r)=>{var o=r(1791),n=r(4664);e.exports=function(e,t){return o(e,n(e),t)}},2428:(e,t,r)=>{var o=r(7534),n=r(346),i=Object.prototype,p=i.hasOwnProperty,a=i.propertyIsEnumerable,s=o(function(){return arguments}())?o:function(e){return n(e)&&p.call(e,"callee")&&!a.call(e,"callee")};e.exports=s},2552:(e,t,r)=>{var o=r(1873),n=r(659),i=r(9350),p=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":p&&p in Object(e)?n(e):i(e)}},2651:(e,t,r)=>{var o=r(4218);e.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}},2749:(e,t,r)=>{var o=r(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:n.call(t,e)}},2804:(e,t,r)=>{var o=r(6110)(r(9325),"Promise");e.exports=o},2865:(e,t,r)=>{var o=r(9570),n=r(1811)(o);e.exports=n},2903:(e,t,r)=>{var o=r(3805),n=r(5527),i=r(181),p=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return i(e);var t=n(e),r=[];for(var a in e)("constructor"!=a||!t&&p.call(e,a))&&r.push(a);return r}},2949:(e,t,r)=>{var o=r(2651);e.exports=function(e,t){var r=o(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}},3007:e=>{e.exports=function(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}},3040:(e,t,r)=>{var o=r(1549),n=r(79),i=r(8223);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||n),string:new o}}},3120:(e,t,r)=>{var o=r(4528),n=r(5891);e.exports=function e(t,r,i,p,a){var s=-1,l=t.length;for(i||(i=n),a||(a=[]);++s<l;){var c=t[s];r>0&&i(c)?r>1?e(c,r-1,i,p,a):o(a,c):p||(a[a.length]=c)}return a}},3138:(e,t,r)=>{var o=r(1331);e.exports=function(e){return o(e)?void 0:e}},3201:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},3222:(e,t,r)=>{var o=r(7556);e.exports=function(e){return null==e?"":o(e)}},3243:(e,t,r)=>{var o=r(6110),n=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},3290:(e,t,r)=>{e=r.nmd(e);var o=r(9325),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,p=i&&i.exports===n?o.Buffer:void 0,a=p?p.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,o=a?a(r):new e.constructor(r);return e.copy(o),o}},3345:e=>{e.exports=function(){return[]}},3349:(e,t,r)=>{var o=r(2199),n=r(6375),i=r(7241);e.exports=function(e){return o(e,i,n)}},3360:(e,t,r)=>{var o=r(3243);e.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},3488:e=>{e.exports=function(e){return e}},3605:e=>{e.exports=function(e){return this.__data__.get(e)}},3650:(e,t,r)=>{var o=r(4335)(Object.keys,Object);e.exports=o},3656:(e,t,r)=>{e=r.nmd(e);var o=r(9325),n=r(9935),i=t&&!t.nodeType&&t,p=i&&e&&!e.nodeType&&e,a=p&&p.exports===i?o.Buffer:void 0,s=(a?a.isBuffer:void 0)||n;e.exports=s},3661:(e,t,r)=>{var o=r(3040),n=r(7670),i=r(289),p=r(4509),a=r(2949);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=p,s.prototype.set=a,e.exports=s},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},3729:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o&&!1!==t(e[r],r,e););return e}},3736:(e,t,r)=>{var o=r(1873),n=o?o.prototype:void 0,i=n?n.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3838:(e,t,r)=>{var o=r(1791),n=r(7241);e.exports=function(e,t){return e&&o(t,n(t),e)}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4335:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},4394:(e,t,r)=>{var o=r(2552),n=r(346);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==o(e)}},4509:(e,t,r)=>{var o=r(2651);e.exports=function(e){return o(this,e).has(e)}},4528:e=>{e.exports=function(e,t){for(var r=-1,o=t.length,n=e.length;++r<o;)e[n+r]=t[r];return e}},4664:(e,t,r)=>{var o=r(9770),n=r(3345),i=Object.prototype.propertyIsEnumerable,p=Object.getOwnPropertySymbols,a=p?function(e){return null==e?[]:(e=Object(e),o(p(e),(function(t){return i.call(e,t)})))}:n;e.exports=a},4733:(e,t,r)=>{var o=r(1791),n=r(5950);e.exports=function(e,t){return e&&o(t,n(t),e)}},4739:(e,t,r)=>{var o=r(6025);e.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}},4840:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},4894:(e,t,r)=>{var o=r(1882),n=r(294);e.exports=function(e){return null!=e&&n(e.length)&&!o(e)}},4901:(e,t,r)=>{var o=r(2552),n=r(294),i=r(346),p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p["[object Arguments]"]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p["[object Map]"]=p["[object Number]"]=p["[object Object]"]=p["[object RegExp]"]=p["[object Set]"]=p["[object String]"]=p["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&n(e.length)&&!!p[o(e)]}},4932:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n}},5083:(e,t,r)=>{var o=r(1882),n=r(7296),i=r(3805),p=r(7473),a=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,y=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||n(e))&&(o(e)?y:a).test(p(e))}},5160:e=>{e.exports=function(e,t,r){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(r=r>n?n:r)<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(n);++o<n;)i[o]=e[o+t];return i}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5481:(e,t,r)=>{var o=r(9325)["__core-js_shared__"];e.exports=o},5527:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},5529:(e,t,r)=>{var o=r(9344),n=r(8879),i=r(5527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:o(n(e))}},5580:(e,t,r)=>{var o=r(6110)(r(9325),"DataView");e.exports=o},5749:(e,t,r)=>{var o=r(1042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5861:(e,t,r)=>{var o=r(5580),n=r(8223),i=r(2804),p=r(6545),a=r(8303),s=r(2552),l=r(7473),c="[object Map]",u="[object Promise]",y="[object Set]",d="[object WeakMap]",m="[object DataView]",b=l(o),g=l(n),f=l(i),v=l(p),x=l(a),h=s;(o&&h(new o(new ArrayBuffer(1)))!=m||n&&h(new n)!=c||i&&h(i.resolve())!=u||p&&h(new p)!=y||a&&h(new a)!=d)&&(h=function(e){var t=s(e),r="[object Object]"==t?e.constructor:void 0,o=r?l(r):"";if(o)switch(o){case b:return m;case g:return c;case f:return u;case v:return y;case x:return d}return t}),e.exports=h},5891:(e,t,r)=>{var o=r(1873),n=r(2428),i=r(6449),p=o?o.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||n(e)||!!(p&&e&&e[p])}},5950:(e,t,r)=>{var o=r(695),n=r(8984),i=r(4894);e.exports=function(e){return i(e)?o(e):n(e)}},5970:(e,t,r)=>{var o=r(3120);e.exports=function(e){return(null==e?0:e.length)?o(e,1):[]}},6009:(e,t,r)=>{e=r.nmd(e);var o=r(4840),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,p=i&&i.exports===n&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(e){}}();e.exports=a},6025:(e,t,r)=>{var o=r(5288);e.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}},6038:(e,t,r)=>{var o=r(5861),n=r(346);e.exports=function(e){return n(e)&&"[object Set]"==o(e)}},6110:(e,t,r)=>{var o=r(5083),n=r(392);e.exports=function(e,t){var r=n(e,t);return o(r)?r:void 0}},6169:(e,t,r)=>{var o=r(9653);e.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},6189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,o=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(o.index=e.index,o.input=e.input),o}},6375:(e,t,r)=>{var o=r(4528),n=r(8879),i=r(4664),p=r(3345),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,i(e)),e=n(e);return t}:p;e.exports=a},6449:e=>{var t=Array.isArray;e.exports=t},6545:(e,t,r)=>{var o=r(6110)(r(9325),"Set");e.exports=o},6547:(e,t,r)=>{var o=r(3360),n=r(5288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var p=e[t];i.call(e,t)&&n(p,r)&&(void 0!==r||t in e)||o(e,t,r)}},6721:(e,t,r)=>{var o=r(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return n.call(t,e)?t[e]:void 0}},6757:(e,t,r)=>{var o=r(1033),n=Math.max;e.exports=function(e,t,r){return t=n(void 0===t?e.length-1:t,0),function(){for(var i=arguments,p=-1,a=n(i.length-t,0),s=Array(a);++p<a;)s[p]=i[t+p];p=-1;for(var l=Array(t+1);++p<t;)l[p]=i[p];return l[t]=r(s),o(e,this,l)}}},7167:(e,t,r)=>{var o=r(4901),n=r(7301),i=r(6009),p=i&&i.isTypedArray,a=p?n(p):o;e.exports=a},7199:(e,t,r)=>{var o=r(9653),n=r(6169),i=r(3201),p=r(3736),a=r(1961);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return n(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Symbol]":return p(e)}}},7217:(e,t,r)=>{var o=r(79),n=r(1420),i=r(938),p=r(3605),a=r(9817),s=r(945);function l(e){var t=this.__data__=new o(e);this.size=t.size}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=p,l.prototype.has=a,l.prototype.set=s,e.exports=l},7241:(e,t,r)=>{var o=r(695),n=r(2903),i=r(4894);e.exports=function(e){return i(e)?o(e,!0):n(e)}},7296:(e,t,r)=>{var o,n=r(5481),i=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},7301:e=>{e.exports=function(e){return function(t){return e(t)}}},7334:e=>{e.exports=function(e){return function(){return e}}},7422:(e,t,r)=>{var o=r(1769),n=r(7797);e.exports=function(e,t){for(var r=0,i=(t=o(t,e)).length;null!=e&&r<i;)e=e[n(t[r++])];return r&&r==i?e:void 0}},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7534:(e,t,r)=>{var o=r(2552),n=r(346);e.exports=function(e){return n(e)&&"[object Arguments]"==o(e)}},7556:(e,t,r)=>{var o=r(1873),n=r(4932),i=r(6449),p=r(4394),a=o?o.prototype:void 0,s=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return n(t,e)+"";if(p(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7670:(e,t,r)=>{var o=r(2651);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},7730:(e,t,r)=>{var o=r(9172),n=r(7301),i=r(6009),p=i&&i.isMap,a=p?n(p):o;e.exports=a},7797:(e,t,r)=>{var o=r(4394);e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7828:(e,t,r)=>{var o=r(9325).Uint8Array;e.exports=o},8090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},8096:e=>{e.exports=function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}},8223:(e,t,r)=>{var o=r(6110)(r(9325),"Map");e.exports=o},8303:(e,t,r)=>{var o=r(6110)(r(9325),"WeakMap");e.exports=o},8440:(e,t,r)=>{var o=r(6038),n=r(7301),i=r(6009),p=i&&i.isSet,a=p?n(p):o;e.exports=a},8586:(e,t,r)=>{var o=r(6449),n=r(4394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;e.exports=function(e,t){if(o(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!n(e))||(p.test(e)||!i.test(e)||null!=t&&e in Object(t))}},8655:(e,t,r)=>{var o=r(6025);e.exports=function(e){return o(this.__data__,e)>-1}},8816:(e,t,r)=>{var o=r(5970),n=r(6757),i=r(2865);e.exports=function(e){return i(n(e,void 0,o),e+"")}},8879:(e,t,r)=>{var o=r(4335)(Object.getPrototypeOf,Object);e.exports=o},8948:(e,t,r)=>{var o=r(1791),n=r(6375);e.exports=function(e,t){return o(e,n(e),t)}},8969:(e,t,r)=>{var o=r(7422),n=r(5160);e.exports=function(e,t){return t.length<2?e:o(e,n(t,0,-1))}},8984:(e,t,r)=>{var o=r(5527),n=r(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return n(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},9172:(e,t,r)=>{var o=r(5861),n=r(346);e.exports=function(e){return n(e)&&"[object Map]"==o(e)}},9325:(e,t,r)=>{var o=r(4840),n="object"==typeof self&&self&&self.Object===Object&&self,i=o||n||Function("return this")();e.exports=i},9344:(e,t,r)=>{var o=r(3805),n=Object.create,i=function(){function e(){}return function(t){if(!o(t))return{};if(n)return n(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9570:(e,t,r)=>{var o=r(7334),n=r(3243),i=r(3488),p=n?function(e,t){return n(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:i;e.exports=p},9653:(e,t,r)=>{var o=r(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}},9770:e=>{e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length,n=0,i=[];++r<o;){var p=e[r];t(p,r,e)&&(i[n++]=p)}return i}},9817:e=>{e.exports=function(e){return this.__data__.has(e)}},9931:(e,t,r)=>{var o=r(1769),n=r(8090),i=r(8969),p=r(7797);e.exports=function(e,t){return t=o(t,e),null==(e=i(e,t))||delete e[p(n(t))]}},9935:e=>{e.exports=function(){return!1}},9999:(e,t,r)=>{var o=r(7217),n=r(3729),i=r(6547),p=r(4733),a=r(3838),s=r(3290),l=r(3007),c=r(2271),u=r(8948),y=r(2),d=r(3349),m=r(5861),b=r(6189),g=r(7199),f=r(5529),v=r(6449),x=r(3656),h=r(7730),j=r(3805),P=r(8440),k=r(5950),_=r(7241),T="[object Arguments]",O="[object Function]",q="[object Object]",w={};w[T]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object DataView]"]=w["[object Boolean]"]=w["[object Date]"]=w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Map]"]=w["[object Number]"]=w[q]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object Symbol]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Error]"]=w[O]=w["[object WeakMap]"]=!1,e.exports=function e(t,r,S,z,B,C){var I,N=1&r,A=2&r,M=4&r;if(S&&(I=B?S(t,z,B,C):S(t)),void 0!==I)return I;if(!j(t))return t;var F=v(t);if(F){if(I=b(t),!N)return l(t,I)}else{var L=m(t),D=L==O||"[object GeneratorFunction]"==L;if(x(t))return s(t,N);if(L==q||L==T||D&&!B){if(I=A||D?{}:f(t),!N)return A?u(t,a(I,t)):c(t,p(I,t))}else{if(!w[L])return B?t:{};I=g(t,L,N)}}C||(C=new o);var E=C.get(t);if(E)return E;C.set(t,I),P(t)?t.forEach((function(o){I.add(e(o,r,S,o,t,C))})):h(t)&&t.forEach((function(o,n){I.set(n,e(o,r,S,n,t,C))}));var $=F?void 0:(M?A?d:y:A?_:k)(t);return n($||t,(function(o,n){$&&(o=t[n=o]),i(I,n,e(o,r,S,n,t,C))})),I}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o](i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{generateDefaultSchema:()=>rr,getBlocksCases:()=>tr,validators:()=>Jt});var e={};r.r(e),r.d(e,{filteredArray:()=>l,filteredItem:()=>s});var t={};r.r(t),r.d(t,{AnchorProps:()=>le,AnimatableProps:()=>H,BackgroundProps:()=>re,BaseProps:()=>$,BlockBaseProps:()=>ce,BlockHeaderProps:()=>he,BorderProps:()=>ve,ButtonBlock:()=>ye,ButtonProps:()=>pe,CardBase:()=>xe,CardLayoutProps:()=>U,ChildrenCardsProps:()=>G,ChildrenProps:()=>R,CustomControlsOptionsProps:()=>J,DataLensObjectProps:()=>ee,DataLensProps:()=>te,FileLinkProps:()=>ne,GravityIconProps:()=>je,JustifyProps:()=>Z,LinkProps:()=>oe,LoopProps:()=>Y,MapProps:()=>fe,MediaProps:()=>de,MenuProps:()=>ae,PlayButtonProps:()=>Q,ThemeProps:()=>X,TitleProps:()=>ue,VideoProps:()=>K,YMapMarker:()=>ge,YMapMarkerLabel:()=>be,authorItem:()=>ie,containerSizesArray:()=>T,containerSizesObject:()=>W,contentSizes:()=>q,contentTextWidth:()=>w,contentThemes:()=>M,customControlsButtonPositioning:()=>E,customControlsType:()=>D,dividerEnum:()=>N,fileLinkTypes:()=>I,mediaDirection:()=>k,mediaView:()=>L,playIconThemes:()=>B,playIconTypes:()=>z,quoteTypes:()=>F,sizeNumber:()=>A,sliderSizesArray:()=>O,sliderSizesObject:()=>V,textSize:()=>_,videoControlsTypes:()=>C,videoTypes:()=>S,withTheme:()=>se});var n={};r.r(n),r.d(n,{BannerBlock:()=>ke,BannerCard:()=>_e,BannerCardProps:()=>Pe,CardLayoutBlock:()=>st,CardLayoutProps:()=>at,CompaniesBlock:()=>Te,ContentLayoutBlock:()=>ct,ExtendedFeaturesBlock:()=>qe,ExtendedFeaturesItem:()=>Oe,FilterBlock:()=>bt,FilterItemProps:()=>dt,FilterProps:()=>mt,FilterTagProps:()=>yt,FoldableListBlock:()=>Je,FormBlock:()=>xt,HeaderBackgroundProps:()=>Ee,HeaderBlock:()=>Ue,HeaderProperties:()=>$e,HeaderSliderBlock:()=>nt,HeaderVideoIframeProps:()=>De,IconsBlock:()=>pt,IconsProps:()=>it,InfoBlock:()=>Ve,Map:()=>He,MapBlock:()=>Re,Media:()=>Ie,MediaBlock:()=>Me,MediaBlockBaseProps:()=>Ae,PromoFeaturesBlock:()=>Le,PromoFeaturesItem:()=>Fe,QuestionsBlock:()=>Ye,ShareBlock:()=>ut,SliderBlock:()=>Xe,SliderOldBlock:()=>et,SliderOldProps:()=>Ze,SliderProps:()=>Ke,TableBlock:()=>tt,TabsBlock:()=>ot,tabsItem:()=>rt});var i={};r.r(i),r.d(i,{BackgroundImageProps:()=>g,ImageBaseObjectProps:()=>d,ImageDeviceProps:()=>y,ImageObjectProps:()=>m,ImageProps:()=>b,YandexFormProps:()=>gt,author:()=>ht,imageUrlPattern:()=>c});var p={};r.r(p),r.d(p,{LogoProps:()=>Pt,NavigationHeaderProps:()=>wt});var a={};r.r(a),r.d(a,{BackgroundCard:()=>Dt,BasicCard:()=>Rt,ContentBase:()=>Be,ContentBlock:()=>Ce,ContentItem:()=>ze,Divider:()=>Vt,HubspotFormProps:()=>ft,ImageCard:()=>Qt,LayoutItem:()=>Ut,MediaCardBlock:()=>Et,PriceCardBlock:()=>Gt,PriceDetailedBlock:()=>Ft,Quote:()=>Wt});const s=e=>({...e,type:"object",properties:{when:{type:"string"},...e.properties}}),l=e=>({type:"array",items:s(e)}),c="^((http[s]?|ftp):\\/)?\\/?([^:\\/\\s]+)((\\/\\w+)*\\/)([\\w\\-\\.]+[^#?\\s]+)(.*)?(#[\\w\\-]+)?$",u={alt:{type:"string",contentType:"text"},disableCompress:{type:"boolean"},loading:{type:"string",enum:["eager","lazy"]},fetchPriority:{type:"string",enum:["high","low","auto"]},hide:{oneOf:[{type:"boolean"},{type:"object",properties:{mobile:{type:"boolean"},tablet:{type:"boolean"},desktop:{type:"boolean"}}}]}},y={type:"object",additionalProperties:!1,required:["desktop","mobile"],properties:{...u,desktop:{type:"string",pattern:c},tablet:{type:"string",pattern:c},mobile:{type:"string",pattern:c}}},d={type:"object",additionalProperties:!1,properties:{...u,src:{type:"string",pattern:c},style:{type:"object",additionalProperties:!1,required:[],properties:{backgroundColor:{type:"string"},height:{type:["string","number"]},width:{type:["string","number"]},color:{type:"string"}}}}},m={...d,required:["src"]},b={oneOf:[{type:"string",pattern:c,optionName:"url"},s({...m,optionName:"options"}),s({...y,optionName:"device options"}),{type:"array",items:s({...m}),optionName:"options list"},{type:"array",items:s({...y}),optionName:"device options list"}]},g={anyOf:[{...d,optionName:"options"},{...y,optionName:"device options"}]};let f=function(e){return e.WithMuteButton="with-mute-button",e.WithPlayPauseButton="with-play-pause-button",e}({}),v=function(e){return e.Left="left",e.Right="right",e.Center="center",e}({}),x=function(e){return e.Default="default",e.Custom="custom",e}({}),h=function(e){return e.Chevron="chevron",e.EnglishDouble="english-double",e}({}),j=function(e){return e.Light="light",e.Dark="dark",e}({});j.Light,j.Dark;const P={type:"object",additionalProperties:{type:"string"},required:["name"],properties:{name:{type:"string"},type:{type:"string"},counters:{type:"object",additionalProperties:!1,required:[],properties:{include:{type:"array",items:{type:"string"}},exclude:{type:"array",items:{type:"string"}}}},context:{type:"string"}}},k=["media-content","content-media"],_=["xs","s","sm","m","l"],T=["sm","md","lg","xl","all"],O=["sm","md","lg","xl"],q=["s","m","l"],w=["s","m","l"],S=["default","player"],z=["default","text"],B=["blue","grey"],C=[x.Default,x.Custom],I=["vertical","horizontal"],N={enum:["0","xxs","xs","s","m","l","xl","xxl","xxxl"]},A={type:"number",maximum:12,minimum:1},M=["default","dark","light"],F=Object.values(h),L=["fit","full"],D=[f.WithMuteButton,f.WithPlayPauseButton],E=[v.Center,v.Left,v.Right],$={type:{},when:{type:"string"}},U={controlPosition:{type:"string",enum:["content","footer"]}},W={type:"object",additionalProperties:!1,properties:T.reduce(((e,t)=>({...e,[t]:A})),{})},V={oneOf:[{type:"object",additionalProperties:!1,properties:O.reduce(((e,t)=>({...e,[t]:A})),{}),optionName:"custom"},{type:"number",optionName:"constant"}]},H={animated:{type:"boolean"}},R={type:"array",items:{$ref:"self#/definitions/children"}},G={type:"array",items:{$ref:"self#/definitions/cards"}},Y={type:"object",additionalProperties:!1,required:["start"],properties:{start:{type:"number"},end:{type:"number"}}},Q={type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:z},theme:{type:"string",enum:B},text:{type:"string",contentType:"text"}}},J={type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:D},muteButtonShown:{type:"boolean"},positioning:{type:"string",enum:E}}},K={type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"array",items:{type:"string"}},loop:{oneOf:[{...Y,optionName:"options"},{type:"boolean",optionName:"enabled"}]},type:{type:"string",enum:S},muted:{type:"boolean"},autoplay:{type:"boolean"},elapsedTime:{type:"number"},playButton:Q,controls:{type:"string",enum:C},customControlsOptions:J,ariaLabel:{type:"string"},contain:{type:"boolean"}}},X={type:"string",enum:["light","dark"]},Z={type:"string",enum:["start","center","end"]},ee={type:"object",additionalProperties:!1,required:["id"],properties:{id:{type:"string"},theme:X}},te={oneOf:[{type:"string",optionName:"id"},{...ee,optionName:"options"}]},re={additionalProperties:!1,properties:{...H,image:b,color:{type:"string"},video:K,height:{type:"number"},size:{type:"string",enum:["contain","cover"]},parallax:{type:"boolean"},fullWidthMedia:{type:"boolean"}}},oe={type:"object",additionalProperties:!1,required:["text","url"],properties:{...$,text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"},arrow:{type:"boolean"},theme:{type:"string",enum:["back","file-link","normal"]},textSize:{type:"string",enum:_},target:{type:"string",enum:["_blank","_parent","_top","_self"]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},ne={type:"object",additionalProperties:!1,required:["href","text"],properties:{href:{type:"string"},text:{type:"string",contentType:"text"},type:{type:"string",enum:I},textSize:{type:"string",enum:_},theme:{type:"string",enum:M}}},ie={type:"object",required:["firstName","secondName"],properties:{firstName:{type:"string",contentType:"text"},secondName:{type:"string",contentType:"text"},avatar:b,description:{type:"string",contentType:"yfm"}}},pe={text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"},primary:{type:"boolean"},size:{type:"string",enum:["xs","ns","s","n","m","l","xl","head","promo"]},theme:{type:"string",enum:["normal","action","outlined","outlined-info","outlined-danger","raised","flat","flat-info","flat-danger","flat-secondary","clear","normal-contrast","outlined-contrast","flat-contrast","link","pseudo","pseudo-special","websearch","normal-dark","normal-special","accent","dark-grey","app-store","google-play","scale","github","monochrome"]},img:{oneOf:[{type:"string",optionName:"url"},{type:"object",additionalProperties:!1,required:["data"],properties:{data:{type:"string"},position:{type:"string",enum:["left","right"]},alt:{type:"string",contentType:"text"}},optionName:"options"}]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]},target:{type:"string",enum:["_self","_blank","_parent","_top"]},width:{type:"string",enum:["auto","max"]}},ae={type:"object",additionalProperties:!1,properties:{title:{type:"string",contentType:"text"}}};function se(e){return{oneOf:[{...e,optionName:"no theme"},{type:"object",additionalProperties:!1,required:[j.Light],properties:Object.values(j).reduce(((t,r)=>({...t,[r]:e})),{}),optionName:"themes"}]}}const le={type:"object",additionalProperties:!1,required:["text","url"],properties:{text:{type:"string",contentType:"text"},url:{type:"string"},urlTitle:{type:"string"}}},ce={...$,anchor:le,visible:{type:"string",enum:T},resetPaddings:{type:"boolean"},context:{type:"string"},indent:{type:"object",additionalProperties:!1,properties:{top:N,bottom:N}}},ue={type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},textSize:{type:"string",enum:_},url:{type:"string"},urlTitle:{type:"string"},resetMargin:{type:"boolean"}}},ye={type:"object",additionalProperties:!1,properties:pe,if:{properties:{theme:{enum:["app-store","google-play"]}}},then:{required:["url"]},else:{required:["text","url"]}},de={color:{type:"string"},image:{oneOf:[{...b,optionName:"single"},{type:"array",items:b,optionName:"list"}]},disableImageSliderForArrayInput:{type:"boolean"},video:K,youtube:{type:"string"},videoIframe:{type:"string"},autoplay:{type:"boolean"},parallax:{type:"boolean"},height:{type:"number"},previewImg:{type:"string"},dataLens:te,fullscreen:{type:"boolean"},analyticsEvents:{anyOf:[P,{type:"array",items:P}]},ratio:{type:["number","string"],pattern:"^auto$"},iframe:{type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"string"},name:{type:"string"},title:{type:"string"},height:{type:"number"},width:{type:"number"}}},margins:{type:"boolean"}},me={type:"array",items:{type:"number"},minItems:2,maxItems:2},be={type:"object",required:[],properties:{iconCaption:{type:"string"},iconContent:{type:"string"},iconColor:{type:"string"},iconImageHref:{type:"string"},iconImageSize:me,iconImageOffset:me,iconImageClipRect:{type:"array",items:me,minItems:2,maxItems:2},iconLayout:{type:"string"},iconShape:{type:"object",additionalProperties:!0},preset:{type:"string"}}},ge={type:"object",additionalProperties:!1,required:[],properties:{coordinate:{type:"array",items:{type:"number"}},address:{type:"string"},label:be}},fe={zoom:{type:"number"},address:{type:"string"},id:{type:"string"},markers:{type:"array",items:ge},disableControls:{type:"boolean"},disableBalloons:{type:"boolean"}},ve={type:"string",enum:["line","shadow","none"]},xe={border:ve},he={title:{oneOf:[{type:"string",optionName:"text"},{...ue,optionName:"options"}]},description:{type:"string",contentType:"yfm",inputType:"textarea"}},je={oneOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},color:{type:"string",enum:["brand","text-color"]}}}]},Pe={additionalProperties:!1,required:["title","button"],properties:{...$,...H,title:{type:"string",contentType:"text"},subtitle:{type:"string",contentType:"yfm"},image:se({type:"string"}),mediaView:{type:"string",enum:L},disableCompress:{type:"boolean"},color:se({type:"string"}),theme:X,width:{type:"string",enum:["s","m","l"]},button:ye}},ke={"banner-block":Pe},_e={"banner-card":Pe},Te={"companies-block":{additionalProperties:!1,required:["title","images"],properties:{...$,...H,title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm",inputType:"textarea"},images:se({type:"object",required:["desktop","tablet","mobile"],properties:{desktop:{type:"string"},tablet:{type:"string"},mobile:{type:"string"},alt:{type:"string",contentType:"text"}}})}}},Oe={additionalProperties:!1,required:[],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},label:{type:"string",enum:["New","Preview"]},link:oe,icon:se(b)}},qe={"extended-features-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...he,items:l(Oe),colSizes:W}}};var we=r(179),Se=r.n(we);const ze={additionalProperties:!1,required:["icon"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},icon:se(b),gravityIcon:se(je)}},Be={title:{oneOf:[{type:"string",contentType:"text",optionName:"text"},{...ue,optionName:"options"}]},text:{type:"string",contentType:"yfm",inputType:"textarea"},additionalInfo:{type:"string",contentType:"yfm"},size:{type:"string",enum:q},links:l(oe),buttons:l(ye),theme:{type:"string",enum:M},list:l(ze),controlPosition:{type:"string",enum:["default","bottom"]}},Ce={content:{additionalProperties:!1,properties:{...Be,colSizes:T.reduce(((e,t)=>({...e,[t]:A})),{}),centered:{type:"boolean"}}}},Ie={type:"object",additionalProperties:!1,required:[],properties:de},Ne=Se()(Be,["text","theme"]),Ae={...ce,...H,...Ne,description:{type:"string",contentType:"yfm"},direction:{type:"string",enum:k},mobileDirection:{type:"string",enum:k},largeMedia:{type:"boolean"},mediaOnly:{type:"boolean"},disableShadow:{type:"boolean"},button:ye,mediaOnlyColSizes:W,border:{type:"string",enum:["shadow","line","none"]}},Me={"media-block":{additionalProperties:!1,required:["title","media"],properties:{...Ae,media:se(Ie)}}},Fe={additionalProperties:!1,required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm",inputType:"textarea"},theme:{enum:["accent","accent-light","primary"]},media:Ie}},Le={"promo-features-block":{additionalProperties:!1,required:["items"],properties:{...ce,...H,...he,theme:{enum:["grey","default"]},items:l(Fe)}}},De={type:"object",additionalProperties:!1,required:["src"],properties:{src:{type:"string"},autoplay:{type:"boolean"},previewImg:{type:"string"},height:{type:"number"}}},Ee={type:"object",additionalProperties:!1,required:[],properties:{...de,fullWidth:{type:"boolean"},fullWidthMedia:{type:"boolean"}}},$e={title:{type:"string",contentType:"text"},overtitle:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm",inputType:"textarea"},additionalInfo:{type:"string",contentType:"yfm",inputType:"textarea"},width:{type:"string",enum:["s","m","l"]},buttons:l(ye),offset:{type:"string",enum:["default","large"]},image:se(b),video:se(K),videoIframe:se(De),mediaView:{type:"string",enum:L},backLink:{type:"object",required:["url","title"],properties:{url:{type:"string"},title:{type:"string",contentType:"text"}}},imageSize:{type:"string",enum:["s","m"]},verticalOffset:{type:"string",enum:["0","s","m","l","xl"]},background:se(Ee),theme:{type:"string",enum:["default","dark"]},breadcrumbs:{type:"object",additionalProperties:!1,required:["items"],properties:{items:{type:"array",items:{type:"object",additionalProperties:!1,required:["url","text"],properties:{url:{type:"string"},text:{type:"string",contentType:"text"}}}},theme:{type:"string",enum:["light","dark"]}}},status:{type:"string"},centered:{type:"boolean"}},Ue={"header-block":{additionalProperties:!1,required:["title"],properties:{...ce,...$e}}},We={additionalProperties:!1,properties:Se()(Be,["size","colSizes","theme"])},Ve={"info-block":{additionalProperties:!1,required:["title","sectionsTitle"],properties:{...$,title:{type:"string",contentType:"text"},backgroundColor:se({type:"string"}),sectionsTitle:{type:"string",contentType:"text"},buttons:l(ye),theme:X,links:l(oe),leftContent:We,rightContent:We}}},He={type:"object",additionalProperties:!1,required:[],properties:fe},Re={"map-block":{additionalProperties:!1,required:["title","map"],properties:{...Ae,map:He}}},Ge=Se()(Be,["size","theme"]),Ye={"questions-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...Ge,items:l({type:"object",required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},link:oe,listStyle:{type:"string",enum:["dash","disk"]}}})}}},Qe=Se()(Be,["size","theme"]),Je={"foldable-list-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...Qe,items:l({type:"object",required:["title","text"],properties:{title:{type:"string",contentType:"text"},text:{type:"string",contentType:"yfm"},link:oe,listStyle:{type:"string",enum:["dash","disk"]}}})}}},Ke={dots:{type:"boolean"},arrows:{type:"boolean"},randomOrder:{type:"boolean"},autoplay:{type:"number"},type:{type:"string"},adaptive:{type:"boolean"},arrowSize:{type:"number"},animated:H,slidesToShow:V,disclaimer:{additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}},loadable:{additionalProperties:!1,required:["source"],properties:{source:{type:"string"},minCount:{type:"number"},params:{type:"object",patternProperties:{".*":{oneOf:[{type:["string","number","boolean"]},{type:"object",additionalProperties:!0},{type:"array"}]}}}},disabled:!0},children:G},Xe={"slider-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...Ke,...he}}},Ze={dots:{type:"boolean"},arrows:{type:"boolean"},randomOrder:{type:"boolean"},autoplay:{type:"number"},animated:H,slidesToShow:V,disclaimer:{additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}},loadable:{additionalProperties:!1,required:["source"],properties:{source:{type:"string"},minCount:{type:"number"},params:{type:"object",patternProperties:{".*":{oneOf:[{type:["string","number","boolean"]},{type:"object",additionalProperties:!0},{type:"array"}]}}}},disabled:!0},children:G},et={"slider-old-block":{additionalProperties:!1,required:[],properties:{...ce,...H,...Ze,...he}}},tt={"table-block":{additionalProperties:!1,required:["title","table"],properties:{...ce,title:{type:"string",contentType:"text"},table:{additionalProperties:!1,required:["content"],properties:{...$,content:{type:"array",items:{type:"array",items:{oneOf:[{type:"string",contentType:"text",optionName:"text"},{type:"number",contentType:"text",optionName:"number"}]}}},legend:{type:"array",items:{type:"string",contentType:"yfm"}},hideLegend:{type:"boolean"},justify:{type:"array",items:Z},marker:{type:"string",enum:["disk","tick"]},caption:{type:"string"}}}}}},rt={type:"object",additionalProperties:!1,required:["tabName"],properties:{...Se()(Be,["size","colSizes","centered","theme"]),tabName:{type:"string"},caption:{type:"string",contentType:"text"},media:se({type:"object",properties:de}),link:oe,image:se(b),border:{type:"string",enum:["shadow","line","none"]}}},ot={"tabs-block":{additionalProperties:!1,required:["title","items"],properties:{...ce,...he,tabsColSizes:T.reduce(((e,t)=>({...e,[t]:A})),{}),direction:{type:"string",enum:k},centered:{type:"boolean"},items:l(rt),contentSize:{type:"string",enum:q}}}},nt={"header-slider-block":{additionalProperties:!1,required:["items"],properties:{...ce,...Se()(Ke,["loadable","children"]),items:{type:"array",items:{type:"object",additionalProperties:!1,required:["title"],properties:$e}}}}},it={additionalProperties:!1,required:["size","items"],properties:{...ce,...H,title:{type:"string",contentType:"text"},description:{type:"string",contentType:"text"},size:{type:"string",enum:["s","m","l"],default:"s"},colSizes:W,items:{type:"array",items:{type:"object",additionalProperties:!1,required:["url","text","src"],properties:{url:{type:"string"},text:{type:"string",contentType:"text"},src:{type:"string"}},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}}}},pt={"icons-block":it},at={additionalProperties:!1,required:[],properties:{...ce,...H,...he,colSizes:W,background:{anyOf:[{...d,properties:{...d.properties,border:ve},optionName:"options"},{...y,properties:{...y.properties,border:ve},optionName:"device options"}]},children:G}},st={"card-layout-block":at},lt={size:{type:"string",enum:q},background:g,centered:{type:"boolean"},theme:{type:"string",enum:M},textWidth:{type:"string",enum:w}},ct={"content-layout-block":{additionalProperties:!1,properties:{...ce,textContent:Ce?.content,fileContent:l(ne),properties:lt,...lt}}},ut={"share-block":{additionalProperties:!1,required:["items"],properties:{...$,title:{type:"string"},items:{type:"array",items:{type:"string",enum:["telegram","facebook","twitter","vk","linkedin"]}}}}},yt={additionalProperties:!1,required:["id","label"],properties:{id:{type:"string"},label:{type:"string"}}},dt={additionalProperties:!1,required:["tags","card"],properties:{tags:{type:"array",items:{type:"string"}},card:{$ref:"self#/definitions/cards"}}},mt={additionalProperties:!1,required:["tags","items"],properties:{...ce,...H,...he,allTag:{oneOf:[{type:"boolean",optionName:"auto"},{type:"string",optionName:"cutom"}]},colSizes:W,tags:l(yt),items:l(dt),tagButtonSize:{type:"string",enum:["s","m","l","xl"]},centered:{type:"boolean"}}},bt={"filter-block":mt},gt={type:"object",required:["id"],properties:{...$,id:{type:"string"},containerId:{type:"string"}}},ft={type:"object",required:["portalId","formId"],properties:{...$,region:{type:"string"},portalId:{type:"string"},formId:{type:"string"},formInstanceId:{type:"string"}}},vt=Se()(Be,["size","centered","colSizes"]),xt={"form-block":{additionalProperties:!1,required:["formData"],properties:{...ce,title:{type:"string"},formData:{oneOf:[{type:"object",optionName:"yandex",properties:{yandex:se(gt)}},{type:"object",optionName:"hubspot",properties:{hubspot:se(ft)}}]},textContent:{additionalProperties:!1,properties:vt},direction:{enum:["content-form","form-content","center"]},image:b,backgroundColor:{type:"string"}}}},ht={author:{additionalProperties:!1,required:["author"],properties:{...$,asides:{},author:ie}}},jt={type:"string",enum:["link","button","dropdown"]},Pt={type:"object",additionalProperties:!1,required:["icon"],properties:{icon:b,text:{type:"string",contentType:"text"},url:{type:"string"}}},kt={text:{type:"string",contentType:"text"},url:{type:"string"},icon:{type:"string",pattern:c},iconSize:{type:"number"}},_t={type:"object",additionalProperties:!1,required:["type","text"],properties:{...Se()(kt,["url"]),type:{...jt},url:{type:"string"},target:{type:"string"},arrow:{type:"boolean"}}},Tt={type:"object",additionalProperties:!1,required:["type","text","url"],properties:{...pe,type:{...jt}}},Ot={type:"object",additionalProperties:!1,required:["type","items"],properties:{...kt,type:{...jt},items:l(_t)}},qt={oneOf:[l(_t),l(Tt),l(Ot)]},wt={type:"object",additionalProperties:!1,required:["leftItems"],properties:{leftItems:qt,rightItems:qt,iconSize:{type:"number"}}},St=["cornflower","black"],zt=["blue","green","yellow","purple","red"],Bt={additionalProperties:!1,required:[],properties:zt.reduce(((e,t)=>({...e,[t]:{type:"string"}})),{})},Ct={additionalProperties:!1,required:["title"],properties:{title:{type:"string",contentType:"text"},size:{type:"string",enum:_},titleColor:{type:"string",enum:St}}},It={additionalProperties:!1,required:[],properties:{titleSize:{type:"string",enum:_},descriptionSize:{type:"string",enum:_}}},Nt={additionalProperties:!1,required:[],properties:{titleSize:{type:"string",enum:_},descriptionSize:{type:"string",enum:_},titleColor:{type:"string",enum:St}}},At={title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm"},detailedTitle:{type:"string",contentType:"text"},label:{additionalProperties:!1,required:["color"],properties:{color:{type:"string",enum:zt},text:{type:"string",contentType:"text"},size:{type:"string",enum:_}}}},Mt={type:"object",additionalProperties:!1,required:["title","description"],properties:{...{items:{oneOf:[{...l({type:"object",additionalProperties:!1,required:["text"],properties:{text:{type:"string",contentType:"yfm"}}}),optionName:"marked-list"},{...l({type:"object",additionalProperties:!1,required:["title","description"],properties:{title:{type:"string",contentType:"text"},description:{type:"string",contentType:"yfm"}}}),optionName:"settings"}]}},...At,analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},Ft={"price-detailed":{additionalProperties:!1,required:["items"],properties:{...$,...H,items:l(Mt),description:Nt,details:It,priceType:{type:"string",enum:["marked-list","settings"],default:"settings"},numberGroupItems:{type:"number",enum:[3,4,5]},isCombined:{type:"boolean"},useMixedView:{type:"boolean"},foldable:Ct,labelsDefaultText:Bt}}},Lt=Se()(Be,["size","controlPosition"]),Dt={"background-card":{additionalProperties:!1,required:["title","text"],properties:{...$,...xe,...U,...Lt,url:{type:"string"},urlTitle:{type:"string"},background:se(m),backgroundColor:{type:"string"},paddingBottom:{type:"string",enum:["s","m","l","xl"]},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]},controlPosition:{type:"string",enum:["content","footer"]},colSizes:W}}},Et={"media-card":{additionalProperties:!1,required:[],properties:{...$,...xe,...de,...H,analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}}},$t={type:"array",items:{type:"string",contentType:"text"}},Ut={type:"object",additionalProperties:!1,required:["content","media"],properties:{...$,...U,media:de,content:Se()(Be,["colSize","size","centered"]),contentMargin:{type:"string",enum:["m","l"],default:"m"},metaInfo:$t,border:{type:"boolean"},fullscreen:{type:"boolean"},analyticsEvents:{oneOf:[{...P,optionName:"single"},{type:"array",items:P,optionName:"list"}]}}},Wt={quote:{additionalProperties:!1,required:["image","logo"],properties:{...$,text:{type:"string",contentType:"text"},yfmText:{type:"string",contentType:"text"},image:se(b),logo:b,color:{type:"string"},url:{type:"string"},urlTitle:{type:"string"},buttonText:{type:"string"},theme:X,author:ie,quoteType:{type:"string",enum:F}}}},Vt={divider:{additionalProperties:!1,properties:{...$,border:{type:"boolean"},size:N}}},Ht=Se()(Be,["size","theme","controlPosition"]),Rt={"basic-card":{additionalProperties:!1,required:[],properties:{...$,...xe,...U,...Ht,url:{type:"string"},urlTitle:{type:"string"},icon:b,gravityIcon:je,target:{type:"string",enum:["_blank","_parent","_top","_self"]},iconPosition:{type:"string",enum:["top","left"]},controlPosition:{type:"string",enum:["content","footer"]}}}},Gt={"price-card":{additionalProperties:!1,required:["title","price"],properties:{...$,...xe,theme:Be.theme,title:{type:"string"},price:{type:"string"},pricePeriod:{type:"string"},priceDetails:{type:"string"},description:{type:"string"},buttons:{type:"array",items:ye},links:{type:"array",items:oe},backgroundColor:{type:"string"},list:{type:"array",items:{type:"string"}},controlPosition:{type:"string",enum:["content","footer"]}}}},Yt=Se()(Be,["centered","colSizes","controlPosition"]),Qt={"image-card":{additionalProperties:!1,required:["image"],properties:{...$,...xe,...U,...Yt,image:b,direction:{type:"string",enum:["direct","reverse"]},margins:{type:"string",enum:["s","m"]},backgroundColor:{type:"string"},url:{type:"string"},urlTitle:{type:"string"}}}},Jt={blocks:n,common:t,components:i,subBlocks:a,utils:e,navigation:p},Kt={...Vt,...qe,...Le,...et,...Ye,...Je,...Ue,...ke,...Te,...Me,...Re,...Ve,...tt,...ot,...nt,...pt,...st,...ct,...ut,...bt,...xt,...Xe},Xt={...Et,..._e,...Ft,...Dt,...Wt,...Rt,...Gt,...Qt},Zt=["divider","quote","event","post","extended-features-block","promo-features-block","slider-old-block","slider-block","questions-block","header-block","banner-block","companies-block","media-block","map-block","info-block","table-block","tabs-block","price-detailed","header-slider-block","cards-with-image-block","icons-block","card-layout-block","content-layout-block","share-block","filter-block","form-block"],er=["media-card","banner-card","price-detailed","background-card","quote","basic-card","layout-item","price-card","image-card"],tr=e=>Object.values(e).reduce(((e,t)=>({...e,...t})),{});function rr(e){const{cards:t={},blocks:r={},extensions:o={}}=e??{},n=Object.keys(r).filter((e=>!Zt.includes(e))),i=Object.keys(t).filter((e=>!er.includes(e)));return{$id:"self",definitions:{children:s({type:"object",required:["type"],properties:{type:{type:"string",enum:[...Zt,...n]}},select:{$data:"0/type"},selectCases:{...Kt,...tr(r)}}),cards:s({type:"object",required:["type"],properties:{type:{type:"string",enum:[...er,...i]}},select:{$data:"0/type"},selectCases:{...Xt,...tr(t)}})},type:"object",additionalProperties:!1,required:["blocks"],properties:{...H,logo:se(Pt),header:wt,blocks:{type:"array",items:{$ref:"#/definitions/children"}},menu:ae,background:se(re),...o}}}})(),o})()));
|