PageSourceSearch

https://zarplata.ru/static/build/bloko.a6e08411c32e4015.js

js zarplata.ru collected 2026-10-02 04:47:09 UTC 540,431 bytes, 3 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d062ca52-6034-4160-b093-a4c0644b9ba6",e._sentryDebugIdIdentifier="sentry-dbid-d062ca52-6034-4160-b093-a4c0644b9ba6")}()}catch(e){}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];if(null!=o)for(var n in o)o.hasOwnProperty(n)&&(e[n]=o[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sentry-js-hh-filter-key":!0})}catch(e){}}(),function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"e7bb213545ef449888513ee1cfe59dc92c5bf90b"}}catch(e){}}(),(globalThis.__xhh_LOADABLE_LOADED_CHUNKS__=globalThis.__xhh_LOADABLE_LOADED_CHUNKS__||[]).push([["3745"],{72553:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-button":"bloko-button","bloko-button_pressed":"bloko-button_pressed","bloko-icon":"bloko-icon","focus-visible":"focus-visible","bloko-button_appearance-outlined":"bloko-button_appearance-outlined","bloko-button_appearance-flat":"bloko-button_appearance-flat","bloko-button_invalid":"bloko-button_invalid","bloko-button_kind-primary":"bloko-button_kind-primary","bloko-button_kind-secondary":"bloko-button_kind-secondary","bloko-button_kind-warning":"bloko-button_kind-warning","bloko-button_kind-success":"bloko-button_kind-success","bloko-button_kind-inversed":"bloko-button_kind-inversed","bloko-button__badge":"bloko-button__badge","bloko-button_scale-small":"bloko-button_scale-small","bloko-button_scale-large":"bloko-button_scale-large","bloko-button_icon-only":"bloko-button_icon-only","bloko-button__icon":"bloko-button__icon","bloko-button_icon-only-small":"bloko-button_icon-only-small","bloko-button_icon-only-large":"bloko-button_icon-only-large","bloko-button_stretched":"bloko-button_stretched","bloko-button_collapsible":"bloko-button_collapsible","bloko-button__icon_left":"bloko-button__icon_left","bloko-button__icon_right":"bloko-button__icon_right","bloko-button__loading":"bloko-button__loading","bloko-button_loading":"bloko-button_loading","bloko-button__content":"bloko-button__content","bloko-button-group":"bloko-button-group","bloko-button-check-helper":"bloko-button-check-helper","bloko-icon-dynamic_full-width":"bloko-icon-dynamic_full-width","bloko-button-group_stretched":"bloko-button-group_stretched","bloko-button-select":"bloko-button-select","bloko-button-select_invalid":"bloko-button-select_invalid","bloko-button-select_flexible":"bloko-button-select_flexible","bloko-button-select_small":"bloko-button-select_small","bloko-button-select_large":"bloko-button-select_large","bloko-button-select_light":"bloko-button-select_light"}},414782:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-calendar-reset-tap-highlighting":"bloko-calendar-reset-tap-highlighting","bloko-calendar":"bloko-calendar","bloko-calendar__switcher-wrapper":"bloko-calendar__switcher-wrapper","bloko-calendar__switcher":"bloko-calendar__switcher","bloko-calendar__switcher-arrow":"bloko-calendar__switcher-arrow","bloko-calendar__switcher-arrow_back":"bloko-calendar__switcher-arrow_back","bloko-calendar__switcher-arrow_next":"bloko-calendar__switcher-arrow_next","bloko-calendar__switcher-arrow_disabled":"bloko-calendar__switcher-arrow_disabled","bloko-calendar__name":"bloko-calendar__name","bloko-calendar__name_months":"bloko-calendar__name_months","bloko-calendar__name_years":"bloko-calendar__name_years","bloko-calendar__name_disabled":"bloko-calendar__name_disabled","bloko-calendar__base":"bloko-calendar__base","bloko-calendar__weekdays":"bloko-calendar__weekdays","bloko-calendar__weekday":"bloko-calendar__weekday","bloko-calendar__days":"bloko-calendar__days","bloko-calendar__day":"bloko-calendar__day","bloko-calendar__day_weekend":"bloko-calendar__day_weekend","bloko-calendar__day_today":"bloko-calendar__day_today","bloko-calendar__day_disabled":"bloko-calendar__day_disabled","bloko-calendar__day_selected":"bloko-calendar__day_selected","bloko-calendar__day_begin":"bloko-calendar__day_begin","bloko-calendar__day_end":"bloko-calendar__day_end","bloko-calendar__day_interval":"bloko-calendar__day_interval","bloko-calendar__months":"bloko-calendar__months","bloko-calendar__month":"bloko-calendar__month","bloko-calendar__month-number":"bloko-calendar__month-number","bloko-calendar__month-number_selected":"bloko-calendar__month-number_selected","bloko-calendar__month-name":"bloko-calendar__month-name","bloko-calendar__month_selected":"bloko-calendar__month_selected","bloko-calendar__years":"bloko-calendar__years","bloko-calendar__years-range":"bloko-calendar__years-range","bloko-calendar__years-list":"bloko-calendar__years-list","bloko-calendar__years-list-item":"bloko-calendar__years-list-item","bloko-calendar__years-list-item_selected":"bloko-calendar__years-list-item_selected"}},970661:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-chips-chip":"bloko-chips-chip","bloko-chips-chip__input":"bloko-chips-chip__input","bloko-chips-chip__content":"bloko-chips-chip__content","focus-visible":"focus-visible","bloko-chips-chip-link":"bloko-chips-chip-link","bloko-chips-multiline-container":"bloko-chips-multiline-container"}},68645:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-columns-wrapper":"bloko-columns-wrapper","bloko-columns-row":"bloko-columns-row","bloko-column":"bloko-column","bloko-column_container":"bloko-column_container","bloko-column_m-0":"bloko-column_m-0","bloko-column_m-1":"bloko-column_m-1","bloko-column_m-2":"bloko-column_m-2","bloko-column_m-3":"bloko-column_m-3","bloko-column_m-4":"bloko-column_m-4","bloko-column_m-5":"bloko-column_m-5","bloko-column_m-6":"bloko-column_m-6","bloko-column_m-7":"bloko-column_m-7","bloko-column_m-8":"bloko-column_m-8","bloko-column_m-9":"bloko-column_m-9","bloko-column_m-10":"bloko-column_m-10","bloko-column_m-11":"bloko-column_m-11","bloko-column_m-12":"bloko-column_m-12","s-friendly":"s-friendly","bloko-column_s-0":"bloko-column_s-0","bloko-column_s-1":"bloko-column_s-1","bloko-column_s-2":"bloko-column_s-2","bloko-column_s-3":"bloko-column_s-3","bloko-column_s-4":"bloko-column_s-4","bloko-column_s-5":"bloko-column_s-5","bloko-column_s-6":"bloko-column_s-6","bloko-column_s-7":"bloko-column_s-7","bloko-column_s-8":"bloko-column_s-8","bloko-column_l-0":"bloko-column_l-0","bloko-column_l-1":"bloko-column_l-1","bloko-column_l-2":"bloko-column_l-2","bloko-column_l-3":"bloko-column_l-3","bloko-column_l-4":"bloko-column_l-4","bloko-column_l-5":"bloko-column_l-5","bloko-column_l-6":"bloko-column_l-6","bloko-column_l-7":"bloko-column_l-7","bloko-column_l-8":"bloko-column_l-8","bloko-column_l-9":"bloko-column_l-9","bloko-column_l-10":"bloko-column_l-10","bloko-column_l-11":"bloko-column_l-11","bloko-column_l-12":"bloko-column_l-12","bloko-column_l-13":"bloko-column_l-13","bloko-column_l-14":"bloko-column_l-14","bloko-column_l-15":"bloko-column_l-15","bloko-column_l-16":"bloko-column_l-16","xs-friendly":"xs-friendly","bloko-column_xs-0":"bloko-column_xs-0","bloko-column_xs-1":"bloko-column_xs-1","bloko-column_xs-2":"bloko-column_xs-2","bloko-column_xs-3":"bloko-column_xs-3","bloko-column_xs-4":"bloko-column_xs-4","bloko-print":"bloko-print"}},276492:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-control-group":"bloko-control-group","bloko-control-group_auto-size":"bloko-control-group_auto-size","bloko-control-group_vertical":"bloko-control-group_vertical","bloko-control-group__main":"bloko-control-group__main","bloko-control-group__minor":"bloko-control-group__minor","bloko-control-group__content-sized":"bloko-control-group__content-sized","bloko-button":"bloko-button","bloko-input-text":"bloko-input-text","bloko-select":"bloko-select","bloko-custom-select__select":"bloko-custom-select__select","bloko-control-group__vertical-item":"bloko-control-group__vertical-item","bloko-input-text-wrapper":"bloko-input-text-wrapper","bloko-button_invali
1d":"bloko-button_invalid","bloko-select_invalid":"bloko-select_invalid","bloko-input-text_invalid":"bloko-input-text_invalid","bloko-custom-select_invalid":"bloko-custom-select_invalid","bloko-custom-select":"bloko-custom-select","bloko-custom-select__select_focus":"bloko-custom-select__select_focus","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-icon-link":"bloko-icon-link","bloko-icon":"bloko-icon","bloko-control-group__main_col-1-2":"bloko-control-group__main_col-1-2","bloko-control-group__main_col-1-3":"bloko-control-group__main_col-1-3"}},994508:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-select-dropdown-option":"bloko-select-dropdown-option","bloko-select-dropdown-option_disabled":"bloko-select-dropdown-option_disabled","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-select-dropdown-option_selected":"bloko-select-dropdown-option_selected","bloko-select-dropdown-option_focusable-by-hover":"bloko-select-dropdown-option_focusable-by-hover","bloko-select-dropdown-option_focused":"bloko-select-dropdown-option_focused","bloko-select-dropdown-option__text":"bloko-select-dropdown-option__text","bloko-select":"bloko-select","bloko-select_invalid":"bloko-select_invalid","focus-visible":"focus-visible","bloko-select_flexible":"bloko-select_flexible","bloko-select_scale-small":"bloko-select_scale-small","bloko-select_scale-large":"bloko-select_scale-large","bloko-select_light":"bloko-select_light","bloko-select-wrapper":"bloko-select-wrapper","bloko-select-wrapper_flexible":"bloko-select-wrapper_flexible","bloko-select-placeholder":"bloko-select-placeholder","bloko-select-placeholder-text":"bloko-select-placeholder-text","bloko-custom-select":"bloko-custom-select","bloko-custom-select_light":"bloko-custom-select_light","bloko-custom-select__select":"bloko-custom-select__select","bloko-custom-select__select_focus":"bloko-custom-select__select_focus","bloko-custom-select__placeholder":"bloko-custom-select__placeholder","bloko-custom-select_disabled":"bloko-custom-select_disabled","bloko-custom-select_invalid":"bloko-custom-select_invalid","bloko-custom-select_flexible":"bloko-custom-select_flexible","bloko-custom-select__select_invalid":"bloko-custom-select__select_invalid","bloko-custom-select__select_flexible":"bloko-custom-select__select_flexible","bloko-custom-select__placeholder_empty":"bloko-custom-select__placeholder_empty","bloko-custom-select__search":"bloko-custom-select__search","bloko-custom-select__search_with-title":"bloko-custom-select__search_with-title","bloko-custom-select__after-options":"bloko-custom-select__after-options","bloko-custom-select__content":"bloko-custom-select__content","bloko-custom-select__content_layer-above-content-almost":"bloko-custom-select__content_layer-above-content-almost","bloko-custom-select__content_layer-above-content":"bloko-custom-select__content_layer-above-content","bloko-custom-select__content_layer-cover-substrate":"bloko-custom-select__content_layer-cover-substrate","bloko-custom-select__content_layer-content-cover":"bloko-custom-select__content_layer-content-cover","bloko-custom-select__content_layer-floating":"bloko-custom-select__content_layer-floating","bloko-custom-select__content_layer-overlay":"bloko-custom-select__content_layer-overlay","bloko-custom-select__content_layer-overlay-content":"bloko-custom-select__content_layer-overlay-content","bloko-custom-select__content_layer-above-overlay-content":"bloko-custom-select__content_layer-above-overlay-content","bloko-custom-select__content_layer-topmost":"bloko-custom-select__content_layer-topmost","bloko-custom-select__option-list":"bloko-custom-select__option-list"}},432135:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left"
1:"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text","bloko-drop_down":"bloko-drop_down","bloko-drop__padding-wrapper_down":"bloko-drop__padding-wrapper_down","bloko-drop-down-no-paddings":"bloko-drop-down-no-paddings"}},33787:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left":"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text","bloko-drop_info":"bloko-drop_info","bloko-drop__padding-wrapper_info":"bloko-drop__padding-wrapper_info"}},840592:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop-menu-item":"bloko-drop-menu-item","focus-visible":"focus-visible","s-friendly":"s-friendly","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop-menu-item_selectable":"bloko-drop-menu-item_selectable","bloko-drop-menu-item_selected":"bloko-drop-menu-item_selected"}},465601:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left"
1:"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text","bloko-drop-menu-item":"bloko-drop-menu-item","focus-visible":"focus-visible","s-friendly":"s-friendly","bloko-drop-menu-item_selectable":"bloko-drop-menu-item_selectable","bloko-drop-menu-item_selected":"bloko-drop-menu-item_selected","bloko-drop_menu":"bloko-drop_menu","bloko-drop__padding-wrapper_menu":"bloko-drop__padding-wrapper_menu"}},787503:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left":"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text","bloko-drop_tip":"bloko-drop_tip"}},778057:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop_flexible":"bloko-drop_flexible bloko-drop_flexible bloko-drop_flexible bloko-drop_flexible bloko-drop_flexible","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs bloko-drop_fullscreen-on-xs bloko-drop_fullscreen-on-xs bloko-drop_fullscreen-on-xs bloko-drop_fullscreen-on-xs","bloko-drop__arrow":"bloko-drop__arrow bloko-drop__arrow bloko-drop__arrow bloko-drop__arrow bloko-drop__arrow","bloko-drop_left":"bloko-drop_left bloko-drop_left bloko-drop_left","bloko-drop_right":"bloko-drop_right bloko-drop_right bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom bloko-drop_bottom bloko-drop_bottom","bloko-drop_top":"bloko-drop_top bloko-drop_top bloko-drop_top"}},929009:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left"
1:"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text"}},303131:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-form-separator":"bloko-form-separator","bloko-highlight-indents":"bloko-highlight-indents","bloko-form-item":"bloko-form-item","bloko-form-item-group":"bloko-form-item-group","bloko-form-item-baseline":"bloko-form-item-baseline","bloko-form-item-text":"bloko-form-item-text","bloko-form-hint":"bloko-form-hint","bloko-form-legend":"bloko-form-legend","bloko-form-legend_for-small":"bloko-form-legend_for-small","bloko-form-legend_for-large":"bloko-form-legend_for-large","bloko-form-spacer":"bloko-form-spacer","bloko-form-required":"bloko-form-required","bloko-form-error":"bloko-form-error","bloko-form-error_hidden":"bloko-form-error_hidden","bloko-form-error_entering":"bloko-form-error_entering","bloko-form-error_exiting":"bloko-form-error_exiting","bloko-form-one-column":"bloko-form-one-column"}},434976:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-header-subheader":"bloko-header-subheader","bloko-header-1":"bloko-header-1","bloko-header-section-1":"bloko-header-section-1","xs-friendly":"xs-friendly","bloko-header-1_lite":"bloko-header-1_lite","bloko-header-section-1_lite":"bloko-header-section-1_lite","bloko-header-promo-1":"bloko-header-promo-1","bloko-header-promo-1_lite":"bloko-header-promo-1_lite","bloko-header-2":"bloko-header-2","bloko-header-section-2":"bloko-header-section-2","bloko-header-2_lite":"bloko-header-2_lite","bloko-header-section-2_lite":"bloko-header-section-2_lite","bloko-header-promo-2":"bloko-header-promo-2","bloko-header-promo-2_lite":"bloko-header-promo-2_lite","bloko-header-3":"bloko-header-3","bloko-header-section-3":"bloko-header-section-3","bloko-header-3_lite":"bloko-header-3_lite","bloko-header-section-3_lite":"bloko-header-section-3_lite","bloko-header-promo-3":"bloko-header-promo-3","bloko-header-promo-3_lite":"bloko-header-promo-3_lite","bloko-header-4":"bloko-header-4","bloko-header-section-4":"bloko-header-section-4","bloko-header-4_lite":"bloko-header-4_lite","bloko-header-section-4_lite":"bloko-header-section-4_lite","bloko-header-promo-4":"bloko-header-promo-4","bloko-header-promo-4_lite":"bloko-header-promo-4_lite"}},788105:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-modal-no-scroll":"bloko-modal-no-scroll","bloko-modal-no-scroll_ios":"bloko-modal-no-scroll_ios","xs-friendly":"xs-friendly","bloko-modal-overlay":"bloko-modal-overlay","bloko-modal-overlay_visible":"bloko-modal-overlay_visible","bloko-modal-overlay__bottom-sheet":"bloko-modal-overlay__bottom-sheet","bloko-modal-container":"bloko-modal-container","bloko-modal-container_visible":"bloko-modal-container_visible","bloko-modal":"bloko-modal","bloko-modal-close-button":"bloko-modal-close-button","bloko-modal-close-button_hidden":"bloko-modal-close-button_hidden","bloko-modal-header":"bloko-modal-header","bloko-modal-content":"bloko-modal-content","bloko-modal-content_no-scroll":"bloko-modal-content_no-scroll","bloko-modal-content-scrollable":"bloko-modal-content-scrollable","bloko-modal-content-scrollable-children":"bloko-modal-content-scrollable-children","bloko-modal-content-fader":"bloko-modal-content-fader","bloko-modal-content-fader_visible":"bloko-modal-content-fader_visible","bloko-modal-content-fader-bottom":"bloko-modal-content-fader-bottom","bloko-modal-content-fader-bottom_visible":"bloko-modal-content-fader-bottom_visible","bloko-modal-footer":"bloko-modal-footer","bloko-modal-footer_left":"bloko-modal-footer_left","bloko-modal-title":"bloko-modal-title","bloko-modal-error":"bloko-modal-error","bloko-modal-error_hidden":"bloko-modal-error_hidden","bloko-modal-swipe":"bloko-modal-swipe","bloko-modal-container_bottom-sheet":"bloko-modal-container_bottom-sheet","bloko-modal-bottom-sheet-fader":"bloko-modal-bottom-sheet-fader","bloko-modal-bottom-sheet-fader_visible":"bloko-modal-bottom-sheet-fader_visible","bloko-modal-header_outlined":"bloko-modal-header_outlined"}},188234:function(e,t,o){"use strict";o.d(t,{Z:()=>n});
1const n={"bloko-notification-manager":"bloko-notification-manager","bloko-notification":"bloko-notification","bloko-notification_inactive":"bloko-notification_inactive","bloko-notification__plate":"bloko-notification__plate","bloko-notification_ok":"bloko-notification_ok","bloko-notification__icon":"bloko-notification__icon","bloko-notification_error":"bloko-notification_error","bloko-notification_delete":"bloko-notification_delete","bloko-notification_message":"bloko-notification_message","bloko-notification__heading":"bloko-notification__heading","bloko-notification__content":"bloko-notification__content","bloko-notification_question":"bloko-notification_question","bloko-notification_rating":"bloko-notification_rating","bloko-notification_special":"bloko-notification_special","bloko-notification__wrapper":"bloko-notification__wrapper","bloko-notification__body":"bloko-notification__body","bloko-notification__close":"bloko-notification__close","bloko-notification__footer":"bloko-notification__footer"}},288182:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-radio":"bloko-radio","bloko-radio__text":"bloko-radio__text","bloko-radio__input":"bloko-radio__input","focus-visible":"focus-visible","bloko-radio__opening-content":"bloko-radio__opening-content","bloko-radio_invalid":"bloko-radio_invalid","bloko-radio-reversed-wrapper":"bloko-radio-reversed-wrapper","bloko-radio-reversed-wrapper__control":"bloko-radio-reversed-wrapper__control","bloko-modal-container":"bloko-modal-container"}},220951:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-select":"bloko-select","bloko-select_invalid":"bloko-select_invalid","focus-visible":"focus-visible","bloko-select_flexible":"bloko-select_flexible","bloko-select_scale-small":"bloko-select_scale-small","bloko-select_scale-large":"bloko-select_scale-large","bloko-select_light":"bloko-select_light","bloko-select-wrapper":"bloko-select-wrapper","bloko-select-wrapper_flexible":"bloko-select-wrapper_flexible","bloko-select-placeholder":"bloko-select-placeholder","bloko-select-placeholder-text":"bloko-select-placeholder-text"}},632846:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-select-dropdown-option":"bloko-select-dropdown-option","bloko-select-dropdown-option_disabled":"bloko-select-dropdown-option_disabled","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-select-dropdown-option_selected":"bloko-select-dropdown-option_selected","bloko-select-dropdown-option_focusable-by-hover":"bloko-select-dropdown-option_focusable-by-hover","bloko-select-dropdown-option_focused":"bloko-select-dropdown-option_focused","bloko-select-dropdown-option__text":"bloko-select-dropdown-option__text"}},725394:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-slide":"bloko-slide","bloko-slide__container":"bloko-slide__container","bloko-slide__item":"bloko-slide__item"}},830049:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-stepwise":"bloko-stepwise","bloko-stepwise_embeddable":"bloko-stepwise_embeddable","bloko-stepwise__steps":"bloko-stepwise__steps","bloko-stepwise-step":"bloko-stepwise-step","bloko-stepwise-step_done":"bloko-stepwise-step_done","bloko-stepwise-step_icon-only":"bloko-stepwise-step_icon-only","bloko-stepwise-step_link":"bloko-stepwise-step_link","bloko-stepwise-step_current":"bloko-stepwise-step_current","bloko-stepwise-step__title":"bloko-stepwise-step__title","bloko-stepwise-step__info":"bloko-stepwise-step__info","bloko-stepwise-step__info_nowrap":"bloko-stepwise-step__info_nowrap"}},624557:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={suggest:"suggest","suggest_layer-above-content-almost":"suggest_layer-above-content-almost","suggest_layer-above-content":"suggest_layer-above-content","suggest_layer-cover-substrate":"suggest_layer-cover-substrate","suggest_layer-content-cover":"suggest_layer-content-cover","suggest_layer-floating":"suggest_layer-floating","suggest_layer-overlay":"suggest_layer-overlay","suggest_layer-overlay-content":"suggest_layer-overlay-content","suggest_layer-above-overlay-content":"suggest_layer-above-overlay-content","suggest_layer-topmost":"suggest_layer-topmost",suggest__items:"suggest__items","suggest__text-hint":"suggest__text-hint",suggest__item:"suggest__item",suggest__items_hover_enabled:"suggest__items_hover_enabled",suggest__item_state_highlighted:"suggest__item_state_highlighted"}},597390:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-tabs-wrapper":"bloko-tabs-wrapper","bloko-tabs-wrapper_narrow":"bloko-tabs-wrapper_narrow","bloko-tabs":"bloko-tabs","bloko-tabs__item":"bloko-tabs__item","bloko-tabs__item_active":"bloko-tabs__item_active","bloko-tabs__items":"bloko-tabs__items","focus-visible":"focus-visible","bloko-tabs__icon-container":"bloko-tabs__icon-container","bloko-icon-link":"bloko-icon-link","bloko-tabs__icon-container_hidden":"bloko-tabs__icon-container_hidden","bloko-tabs__dropdown":"bloko-tabs__dropdown","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-tabs-left-glare":"bloko-tabs-left-glare","bloko-tabs-left-glare_showed":"bloko-tabs-left-glare_showed","bloko-tabs-right-glare":"bloko-tabs-right-glare","bloko-tabs-right-glare_showed":"bloko-tabs-right-glare_showed","bloko-tabs-scroll":"bloko-tabs-scroll","bloko-tabs-scroll_ongoing":"bloko-tabs-scroll_ongoing","bloko-tabs__search":"bloko-tabs__search","bloko-tabs__dropdown-items-container":"bloko-tabs__dropdown-items-container","bloko-tabs__dropdown-items-empty":"bloko-tabs__dropdown-items-empty"}},306025:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-input-text":"bloko-input-text","bloko-input-text_invalid":"bloko-input-text_invalid","focus-visible":"focus-visible","bloko-input-text-wrapper_sized":"bloko-input-text-wrapper_sized","bloko-input-text_sized":"bloko-input-text_sized","bloko-input-text_scale-small":"bloko-input-text_scale-small","bloko-input-text_scale-large":"bloko-input-text_scale-large","bloko-input-text_name":"bloko-input-text_name","bloko-input-text_light":"bloko-input-text_light","bloko-input-text-wrapper":"bloko-input-text-wrapper","bloko-icon":"bloko-icon","bloko-icon-react-root":"bloko-icon-react-root","bloko-icon-link":"bloko-icon-link","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-input-text-wrapper_icon-left":"bloko-input-text-wrapper_icon-left","bloko-input-text-wrapper_icon-right":"bloko-input-text-wrapper_icon-right","bloko-input-text__prefix":"bloko-input-text__prefix","bloko-input-text__prefix_small":"bloko-input-text__prefix_small","bloko-input-text__prefix_large":"bloko-input-text__prefix_large","bloko-input-text__prefix_with-icon-left":"bloko-input-text__prefix_with-icon-left","bloko-input-text__inner-wrapper":"bloko-input-text__inner-wrapper","bloko-input__postfix-container":"bloko-input__postfix-container","bloko-input__postfix-container_small":"bloko-input__postfix-container_small","bloko-input__postfix-container_large":"bloko-input__postfix-container_large","bloko-input__postfix-container_with-icon-left":"bloko-input__postfix-container_with-icon-left","bloko-input__postfix-container_with-icon-right":"bloko-input__postfix-container_with-icon-right","bloko-input__postfix-text":"bloko-input__postfix-text","bloko-input__value-ghost":"bloko-input__value-ghost","bloko-drop":"bloko-drop","bloko-drop_layer-above-content-almost":"bloko-drop_layer-above-content-almost","bloko-drop_layer-above-content":"bloko-drop_layer-above-content","bloko-drop_layer-cover-substrate":"bloko-drop_layer-cover-substrate","bloko-drop_layer-content-cover":"bloko-drop_layer-content-cover","bloko-drop_layer-floating":"bloko-drop_layer-floating","bloko-drop_layer-overlay":"bloko-drop_layer-overlay","bloko-drop_layer-overlay-content":"bloko-drop_layer-overlay-content","bloko-drop_layer-above-overlay-content":"bloko-drop_layer-above-overlay-content","bloko-drop_layer-topmost":"bloko-drop_layer-topmost","bloko-drop_flexible":"bloko-drop_flexible","bloko-drop_clickable":"bloko-drop_clickable","xs-friendly":"xs-friendly","bloko-drop_fullscreen-on-xs":"bloko-drop_fullscreen-on-xs","bloko-drop_stretch-on-xs":"bloko-drop_stretch-on-xs","bloko-drop__overlay":"bloko-drop__overlay","bloko-drop__arrow":"bloko-drop__arrow","bloko-drop_top":"bloko-drop_top","bloko-drop_left"
1:"bloko-drop_left","bloko-drop_right":"bloko-drop_right","bloko-drop_bottom":"bloko-drop_bottom","bloko-drop_theme-dark":"bloko-drop_theme-dark","bloko-drop_theme-attention":"bloko-drop_theme-attention","bloko-drop_theme-light":"bloko-drop_theme-light","bloko-drop_theme-bright":"bloko-drop_theme-bright","bloko-drop_theme-info":"bloko-drop_theme-info","bloko-drop_theme-neural":"bloko-drop_theme-neural","bloko-drop_active-enter":"bloko-drop_active-enter","bloko-drop_done-enter":"bloko-drop_done-enter","bloko-drop__content-wrapper":"bloko-drop__content-wrapper","bloko-drop__content":"bloko-drop__content","bloko-drop__close":"bloko-drop__close","bloko-drop__title":"bloko-drop__title","bloko-drop__title-text":"bloko-drop__title-text","bloko-drop_tip":"bloko-drop_tip","bloko-tag-button":"bloko-tag-button","bloko-tag-button_pressed":"bloko-tag-button_pressed","bloko-tag_animated":"bloko-tag_animated","bloko-tag-button_increase":"bloko-tag-button_increase","bloko-nested-tag":"bloko-nested-tag","bloko-nested-tag__children":"bloko-nested-tag__children","bloko-tag__section_text":"bloko-tag__section_text","bloko-tag__section_count":"bloko-tag__section_count","bloko-tag":"bloko-tag","bloko-nested-tag__children_visible":"bloko-nested-tag__children_visible","bloko-tag_child":"bloko-tag_child","bloko-tag__section":"bloko-tag__section","bloko-tag__section_active":"bloko-tag__section_active","bloko-tag_selectable":"bloko-tag_selectable","bloko-tag_selected":"bloko-tag_selected","bloko-tag_parent":"bloko-tag_parent","bloko-tag__section_edit":"bloko-tag__section_edit","bloko-tag__section_icon":"bloko-tag__section_icon","bloko-tag_inline":"bloko-tag_inline","bloko-tag_countable":"bloko-tag_countable","bloko-tag_disabled":"bloko-tag_disabled","bloko-tag-list":"bloko-tag-list","bloko-tag_success":"bloko-tag_success"}},693337:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-textarea":"bloko-textarea","bloko-textarea_invalid":"bloko-textarea_invalid","focus-visible":"focus-visible","bloko-textarea_sized-rows":"bloko-textarea_sized-rows","bloko-textarea_sized-cols":"bloko-textarea_sized-cols","bloko-textarea_noresize":"bloko-textarea_noresize","bloko-textarea-wrapper":"bloko-textarea-wrapper","bloko-textarea-icon":"bloko-textarea-icon","bloko-icon":"bloko-icon","bloko-textarea-icon_bottom":"bloko-textarea-icon_bottom"}},813884:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-icon-react-root":"bloko-icon-react-root","bloko-icon":"bloko-icon","bloko-icon_initial-white":"bloko-icon_initial-white","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-icon_highlighted-white":"bloko-icon_highlighted-white","bloko-icon_initial-black":"bloko-icon_initial-black","bloko-icon_highlighted-black":"bloko-icon_highlighted-black","bloko-icon_initial-special-red-branded":"bloko-icon_initial-special-red-branded","bloko-icon_highlighted-special-red-branded":"bloko-icon_highlighted-special-red-branded","bloko-icon_initial-special-black-jack":"bloko-icon_initial-special-black-jack","bloko-icon_highlighted-special-black-jack":"bloko-icon_highlighted-special-black-jack","bloko-icon_initial-gray-10":"bloko-icon_initial-gray-10","bloko-icon_highlighted-gray-10":"bloko-icon_highlighted-gray-10","bloko-icon_initial-gray-20":"bloko-icon_initial-gray-20","bloko-icon_highlighted-gray-20":"bloko-icon_highlighted-gray-20","bloko-icon_initial-gray-30":"bloko-icon_initial-gray-30","bloko-icon_highlighted-gray-30":"bloko-icon_highlighted-gray-30","bloko-icon_initial-gray-40":"bloko-icon_initial-gray-40","bloko-icon_highlighted-gray-40":"bloko-icon_highlighted-gray-40","bloko-icon_initial-gray-50":"bloko-icon_initial-gray-50","bloko-icon_highlighted-gray-50":"bloko-icon_highlighted-gray-50","bloko-icon_initial-gray-60":"bloko-icon_initial-gray-60","bloko-icon_highlighted-gray-60":"bloko-icon_highlighted-gray-60","bloko-icon_initial-gray-70":"bloko-icon_initial-gray-70","bloko-icon_highlighted-gray-70":"bloko-icon_highlighted-gray-70","bloko-icon_initial-gray-80":"bloko-icon_initial-gray-80","bloko-icon_highlighted-gray-80":"bloko-icon_highlighted-gray-80","bloko-icon_initial-red-10":"bloko-icon_initial-red-10","bloko-icon_highlighted-red-10":"bloko-icon_highlighted-red-10","bloko-icon_initial-red-20":"bloko-icon_initial-red-20","bloko-icon_highlighted-red-20":"bloko-icon_highlighted-red-20","bloko-icon_initial-red-30":"bloko-icon_initial-red-30","bloko-icon_highlighted-red-30":"bloko-icon_highlighted-red-30","bloko-icon_initial-red-40":"bloko-icon_initial-red-40","bloko-icon_highlighted-red-40":"bloko-icon_highlighted-red-40","bloko-icon_initial-red-50":"bloko-icon_initial-red-50","bloko-icon_highlighted-red-50":"bloko-icon_highlighted-red-50","bloko-icon_initial-red-60":"bloko-icon_initial-red-60","bloko-icon_highlighted-red-60":"bloko-icon_highlighted-red-60","bloko-icon_initial-red-70":"bloko-icon_initial-red-70","bloko-icon_highlighted-red-70":"bloko-icon_highlighted-red-70","bloko-icon_initial-red-80":"bloko-icon_initial-red-80","bloko-icon_highlighted-red-80":"bloko-icon_highlighted-red-80","bloko-icon_initial-yellow-10":"bloko-icon_initial-yellow-10","bloko-icon_highlighted-yellow-10":"bloko-icon_highlighted-yellow-10","bloko-icon_initial-yellow-20":"bloko-icon_initial-yellow-20","bloko-icon_highlighted-yellow-20":"bloko-icon_highlighted-yellow-20","bloko-icon_initial-yellow-30":"bloko-icon_initial-yellow-30","bloko-icon_highlighted-yellow-30":"bloko-icon_highlighted-yellow-30","bloko-icon_initial-yellow-40":"bloko-icon_initial-yellow-40","bloko-icon_highlighted-yellow-40":"bloko-icon_highlighted-yellow-40","bloko-icon_initial-yellow-50":"bloko-icon_initial-yellow-50","bloko-icon_highlighted-yellow-50":"bloko-icon_highlighted-yellow-50","bloko-icon_initial-yellow-60":"bloko-icon_initial-yellow-60","bloko-icon_highlighted-yellow-60":"bloko-icon_highlighted-yellow-60","bloko-icon_initial-yellow-70":"bloko-icon_initial-yellow-70","bloko-icon_highlighted-yellow-70":"bloko-icon_highlighted-yellow-70","bloko-icon_initial-yellow-80":"bloko-icon_initial-yellow-80","bloko-icon_highlighted-yellow-80":"bloko-icon_highlighted-yellow-80","bloko-icon_initial-orange-10":"bloko-icon_initial-orange-10","bloko-icon_highlighted-orange-10":"bloko-icon_highlighted-orange-10","bloko-icon_initial-orange-20":"bloko-icon_initial-orange-20","bloko-icon_highlighted-orange-20":"bloko-icon_highlighted-orange-20","bloko-icon_initial-orange-30":"bloko-icon_initial-orange-30","bloko-icon_highlighted-orange-30":"bloko-icon_highlighted-orange-30","bloko-icon_initial-orange-40":"bloko-icon_initial-orange-40","bloko-icon_highlighted-orange-40":"bloko-icon_highlighted-orange-40","bloko-icon_initial-orange-50":"bloko-icon_initial-orange-50","bloko-icon_highlighted-orange-50":"bloko-icon_highlighted-orange-50","bloko-icon_initial-orange-60":"bloko-icon_initial-orange-60","bloko-icon_highlighted-orange-60":"bloko-icon_highlighted-orange-60","bloko-icon_initial-orange-70":"bloko-icon_initial-orange-70","bloko-icon_highlighted-orange-70":"bloko-icon_highlighted-orange-70","bloko-icon_initial-orange-80":"bloko-icon_initial-orange-80","bloko-icon_highlighted-orange-80":"bloko-icon_highlighted-orange-80","bloko-icon_initial-blue-10":"bloko-icon_initial-blue-10","bloko-icon_highlighted-blue-10":"bloko-icon_highlighted-blue-10","bloko-icon_initial-blue-20":"bloko-icon_initial-blue-20","bloko-icon_highlighted-blue-20":"bloko-icon_highlighted-blue-20","bloko-icon_initial-blue-30":"bloko-icon_initial-blue-30","bloko-icon_highlighted-blue-30":"bloko-icon_highlighted-blue-30","bloko-icon_initial-blue-40":"bloko-icon_initial-blue-40","bloko-icon_highlighted-blue-40":"bloko-icon_highlighted-blue-40","bloko-icon_initial-blue-50":"bloko-icon_initial-blue-50","bloko-icon_highlighted-blue-50":"bloko-icon_highlighted-blue-50","bloko-icon_initial-blue-60":"bloko-icon_initial-blue-60","bloko-icon_highlighted-blue-60":"bloko-icon_highlighted-blue-60","bloko-icon_initial-blue-70":"bloko-icon_initial-blue-70","bloko-icon_highlighted-blue-70":"bloko-icon_highlighted-blue-70","bloko-icon_initial-blue-80":"bloko-icon_initial-blue-80","bloko-icon_highlighted-blue-80":"bloko-icon_highlighted-blue-80","bloko-icon_initial-violet-10":"bloko-icon_initial-violet-10","bloko-icon_highlighted-violet-10":"bloko-icon_highlighted-violet-10","bloko-icon_initial-violet-20":"bloko-icon_initial-violet-20","bloko-icon_highlighted-violet-20":"bloko-icon_highlighted-violet-20","bloko-icon_initial-violet-30":"bloko-icon_initial-violet-30","bloko-icon_highlighted-violet-30":"bloko-icon_highlighted-violet-30","bloko-icon_initial-violet-40":"bloko-icon_initial-violet-40","bloko-icon_highlighted-violet-40":"bloko-icon_highlighted-violet-40","bloko-icon_initial-violet-50":"bloko-icon_initial-violet-50","bloko-icon_highlighted-violet-50":"bloko-icon_highlighted-violet-50","bloko-icon_initial-violet-60":"bloko-icon_initial-violet-60","bloko-icon_highlighted-violet-60":"bloko-icon_highlighted-violet-60","bloko-icon_initial-violet-70":"bloko-icon_initial-violet-70","bloko-icon_highlighted-violet-70":"bloko-icon_highlighted-violet-70","bloko-icon_initial-violet-80":"bloko-icon_initial-violet-80","bloko-icon_highlighted-violet-80":"bloko-icon_highlighted-violet-80","bloko-icon_initial-green-10":"bloko-icon_initial-green-10","bloko-icon_highlighted-green-10":"bloko-icon_highlighted-green-10","bloko-icon_initial-green-20":"bloko-icon_initial-green-20","bloko-icon_highlighted-green-20":"bloko-icon_highlighted-green-20","bloko-icon_initial-green-30":"bloko-icon_initial-green-30","bloko-icon_highlighted-green-30":"bloko-icon_highlighted-green-30","bloko-icon_initial-green-40":"bloko-icon_initial-green-40","bloko-icon_highlighted-green-40":"bloko-icon_highlighted-green-40","bloko-icon_initial-green-50":"bloko-icon_initial-green-50","bloko-icon_highlighted-green-50":"bloko-icon_highlighted-green-50","bloko-icon_initial-green-60":"bloko-icon_initial-green-60","bloko-icon_highlighted-green-60":"bloko-icon_highlighted-green-60","bloko-icon_initial-green-70":"bloko-icon_initial-green-70","bloko-icon_highlighted-green-70":"bloko-icon_highlighted-green-70","bloko-icon_initial-green-80":"bloko-icon_initial-green-80","bloko-icon_highlighted-green-80":"bloko-icon_highlighted-green-80","bloko-icon_loader":"bloko-icon_loader","bloko-icon-link":"bloko-icon-link","focus-visible":"focus-visible","bloko-icon-dynamic_full-width":"bloko-icon-dynamic_full-width","bloko-icon-vertical-alignment":"bloko-icon-vertical-alignment","bloko-form-separator":"bloko-form-separator","bloko-highlight-indents":"bloko-highlight-indents","bloko-form-item":"bloko-form-item","bloko-form-item-group":"bloko-form-item-group","bloko-form-item-baseline":"bloko-form-item-baseline","bloko-form-item-text":"bloko-form-item-text","bloko-form-hint":"bloko-form-hint","bloko-form-legend":"bloko-form-legend","bloko-form-legend_for-small":"bloko-form-legend_for-small","bloko-form-legend_for-large":"bloko-form-legend_for-large","bloko-form-spacer":"bloko-form-spacer","bloko-form-required":"bloko-form-required","bloko-form-error":"bloko-form-error","bloko-form-error_hidden":"bloko-form-error_hidden","bloko-form-error_entering":"bloko-form-error_entering","bloko-form-error_exiting":"bloko-form-error_exiting","bloko-form-one-column":"bloko-form-one-column","bloko-radio":"bloko-radio","bloko-radio__text":"bloko-radio__text","bloko-radio__input":"bloko-radio__input","bloko-radio__opening-content":"bloko-radio__opening-content","bloko-radio_invalid":"bloko-radio_invalid","bloko-radio-reversed-wrapper":"bloko-radio-reversed-wrapper","bloko-radio-reversed-wrapper__control":"bloko-radio-reversed-wrapper__control","bloko-modal-container":"bloko-modal-container","bloko-checkbox":"bloko-checkbox","bloko-checkbox__text":"bloko-checkbox__text","bloko-checkbox__input":"bloko-checkbox__input","bloko-checkbox__opening-content":"bloko-checkbox__opening-content","bloko-checkbox_invalid":"bloko-checkbox_invalid","bloko-tree-selector-selected":"bloko-tree-selector-selected","bloko-tree-selector-selected-list":"bloko-tree-selector-selected-list","bloko-tree-selector-item":"bloko-tree-selector-item","bloko-tree-selector-item_has-children-h
1as-action":"bloko-tree-selector-item_has-children-has-action","bloko-tree-selector-item_no-children":"bloko-tree-selector-item_no-children","bloko-tree-selector__items":"bloko-tree-selector__items","bloko-tree-selector-item_no-children-no-action":"bloko-tree-selector-item_no-children-no-action","bloko-tree-selector-item-content":"bloko-tree-selector-item-content","bloko-tree-selector-item-icon":"bloko-tree-selector-item-icon","bloko-tree-selector-item__text":"bloko-tree-selector-item__text","bloko-tree-selector-item-spacer":"bloko-tree-selector-item-spacer","bloko-tree-selector-item-spacer_legacy":"bloko-tree-selector-item-spacer_legacy","bloko-tree-selector-content":"bloko-tree-selector-content","bloko-tree-selector-after-label":"bloko-tree-selector-after-label","bloko-tree-selector-after-label_parent-without-action":"bloko-tree-selector-after-label_parent-without-action","bloko-tree-selector-after-label_parent-with-action":"bloko-tree-selector-after-label_parent-with-action"}},727206:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-modal-no-scroll":"bloko-modal-no-scroll","bloko-modal-no-scroll_ios":"bloko-modal-no-scroll_ios","xs-friendly":"xs-friendly","bloko-modal-overlay":"bloko-modal-overlay","bloko-modal-overlay_visible":"bloko-modal-overlay_visible","bloko-modal-overlay__bottom-sheet":"bloko-modal-overlay__bottom-sheet","bloko-modal-container":"bloko-modal-container","bloko-modal-container_visible":"bloko-modal-container_visible","bloko-modal":"bloko-modal","bloko-modal-close-button":"bloko-modal-close-button","bloko-modal-close-button_hidden":"bloko-modal-close-button_hidden","bloko-modal-header":"bloko-modal-header","bloko-modal-content":"bloko-modal-content","bloko-modal-content_no-scroll":"bloko-modal-content_no-scroll","bloko-modal-content-scrollable":"bloko-modal-content-scrollable","bloko-modal-content-scrollable-children":"bloko-modal-content-scrollable-children","bloko-modal-content-fader":"bloko-modal-content-fader","bloko-modal-content-fader_visible":"bloko-modal-content-fader_visible","bloko-modal-content-fader-bottom":"bloko-modal-content-fader-bottom","bloko-modal-content-fader-bottom_visible":"bloko-modal-content-fader-bottom_visible","bloko-modal-footer":"bloko-modal-footer","bloko-modal-footer_left":"bloko-modal-footer_left","bloko-modal-title":"bloko-modal-title","bloko-modal-error":"bloko-modal-error","bloko-modal-error_hidden":"bloko-modal-error_hidden","bloko-modal-swipe":"bloko-modal-swipe","bloko-modal-container_bottom-sheet":"bloko-modal-container_bottom-sheet","bloko-modal-bottom-sheet-fader":"bloko-modal-bottom-sheet-fader","bloko-modal-bottom-sheet-fader_visible":"bloko-modal-bottom-sheet-fader_visible","bloko-modal-header_outlined":"bloko-modal-header_outlined","bloko-form-separator":"bloko-form-separator","bloko-highlight-indents":"bloko-highlight-indents","bloko-form-item":"bloko-form-item","bloko-form-item-group":"bloko-form-item-group","bloko-form-item-baseline":"bloko-form-item-baseline","bloko-form-item-text":"bloko-form-item-text","bloko-form-hint":"bloko-form-hint","bloko-form-legend":"bloko-form-legend","bloko-form-legend_for-small":"bloko-form-legend_for-small","bloko-form-legend_for-large":"bloko-form-legend_for-large","bloko-form-spacer":"bloko-form-spacer","bloko-form-required":"bloko-form-required","bloko-form-error":"bloko-form-error","bloko-form-error_hidden":"bloko-form-error_hidden","bloko-form-error_entering":"bloko-form-error_entering","bloko-form-error_exiting":"bloko-form-error_exiting","bloko-form-one-column":"bloko-form-one-column","bloko-icon-react-root":"bloko-icon-react-root","bloko-icon":"bloko-icon","bloko-icon_initial-white":"bloko-icon_initial-white","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-icon_highlighted-white":"bloko-icon_highlighted-white","bloko-icon_initial-black":"bloko-icon_initial-black","bloko-icon_highlighted-black":"bloko-icon_highlighted-black","bloko-icon_initial-special-red-branded":"bloko-icon_initial-special-red-branded","bloko-icon_highlighted-special-red-branded":"bloko-icon_highlighted-special-red-branded","bloko-icon_initial-special-black-jack":"bloko-icon_initial-special-black-jack","bloko-icon_highlighted-special-black-jack":"bloko-icon_highlighted-special-black-jack","bloko-icon_initial-gray-10":"bloko-icon_initial-gray-10","bloko-icon_highlighted-gray-10":"bloko-icon_highlighted-gray-10","bloko-icon_initial-gray-20":"bloko-icon_initial-gray-20","bloko-icon_highlighted-gray-20":"bloko-icon_highlighted-gray-20","bloko-icon_initial-gray-30":"bloko-icon_initial-gray-30","bloko-icon_highlighted-gray-30":"bloko-icon_highlighted-gray-30","bloko-icon_initial-gray-40":"bloko-icon_initial-gray-40","bloko-icon_highlighted-gray-40":"bloko-icon_highlighted-gray-40","bloko-icon_initial-gray-50":"bloko-icon_initial-gray-50","bloko-icon_highlighted-gray-50":"bloko-icon_highlighted-gray-50","bloko-icon_initial-gray-60":"bloko-icon_initial-gray-60","bloko-icon_highlighted-gray-60":"bloko-icon_highlighted-gray-60","bloko-icon_initial-gray-70":"bloko-icon_initial-gray-70","bloko-icon_highlighted-gray-70":"bloko-icon_highlighted-gray-70","bloko-icon_initial-gray-80":"bloko-icon_initial-gray-80","bloko-icon_highlighted-gray-80":"bloko-icon_highlighted-gray-80","bloko-icon_initial-red-10":"bloko-icon_initial-red-10","bloko-icon_highlighted-red-10":"bloko-icon_highlighted-red-10","bloko-icon_initial-red-20":"bloko-icon_initial-red-20","bloko-icon_highlighted-red-20":"bloko-icon_highlighted-red-20","bloko-icon_initial-red-30":"bloko-icon_initial-red-30","bloko-icon_highlighted-red-30":"bloko-icon_highlighted-red-30","bloko-icon_initial-red-40":"bloko-icon_initial-red-40","bloko-icon_highlighted-red-40":"bloko-icon_highlighted-red-40","bloko-icon_initial-red-50":"bloko-icon_initial-red-50","bloko-icon_highlighted-red-50":"bloko-icon_highlighted-red-50","bloko-icon_initial-red-60":"bloko-icon_initial-red-60","bloko-icon_highlighted-red-60":"bloko-icon_highlighted-red-60","bloko-icon_initial-red-70":"bloko-icon_initial-red-70","bloko-icon_highlighted-red-70":"bloko-icon_highlighted-red-70","bloko-icon_initial-red-80":"bloko-icon_initial-red-80","bloko-icon_highlighted-red-80":"bloko-icon_highlighted-red-80","bloko-icon_initial-yellow-10":"bloko-icon_initial-yellow-10","bloko-icon_highlighted-yellow-10":"bloko-icon_highlighted-yellow-10","bloko-icon_initial-yellow-20":"bloko-icon_initial-yellow-20","bloko-icon_highlighted-yellow-20":"bloko-icon_highlighted-yellow-20","bloko-icon_initial-yellow-30":"bloko-icon_initial-yellow-30","bloko-icon_highlighted-yellow-30":"bloko-icon_highlighted-yellow-30","bloko-icon_initial-yellow-40":"bloko-icon_initial-yellow-40","bloko-icon_highlighted-yellow-40":"bloko-icon_highlighted-yellow-40","bloko-icon_initial-yellow-50":"bloko-icon_initial-yellow-50","bloko-icon_highlighted-yellow-50":"bloko-icon_highlighted-yellow-50","bloko-icon_initial-yellow-60":"bloko-icon_initial-yellow-60","bloko-icon_highlighted-yellow-60":"bloko-icon_highlighted-yellow-60","bloko-icon_initial-yellow-70":"bloko-icon_initial-yellow-70","bloko-icon_highlighted-yellow-70":"bloko-icon_highlighted-yellow-70","bloko-icon_initial-yellow-80":"bloko-icon_initial-yellow-80","bloko-icon_highlighted-yellow-80":"bloko-icon_highlighted-yellow-80","bloko-icon_initial-orange-10":"bloko-icon_initial-orange-10","bloko-icon_highlighted-orange-10":"bloko-icon_highlighted-orange-10","bloko-icon_initial-orange-20":"bloko-icon_initial-orange-20","bloko-icon_highlighted-orange-20":"bloko-icon_highlighted-orange-20","bloko-icon_initial-orange-30":"bloko-icon_initial-orange-30","bloko-icon_highlighted-orange-30":"bloko-icon_highlighted-orange-30","bloko-icon_initial-orange-40":"bloko-icon_initial-orange-40","bloko-icon_highlighted-orange-40":"bloko-icon_highlighted-orange-40","bloko-icon_initial-orange-50":"bloko-icon_initial-orange-50","bloko-icon_highlighted-orange-50":"bloko-icon_highlighted-orange-50","bloko-icon_initial-orange-60":"bloko-icon_initial-orange-60","bloko-icon_highlighted-orange-60":"bloko-icon_highlighted-orange-60","bloko-icon_initial-orange-70":"bloko-icon_initial-orange-70","bloko-icon_highlighted-orange-70":"bloko-icon_highlighted-orange-70","bloko-icon_initial-orange-80":"bloko-icon_initial-orange-80","bloko-icon_highlighted-orange-80":"bloko-icon_highlighted-orange-80","bloko-icon_initial-blue-10":"bloko-icon_initial-blue-10","bloko-icon_highlighted-blue-10":"bloko-icon_highlighted-blue-10","bloko-icon_initial-blue-20":"bloko-icon_initial-blue-20","bloko-icon_highlighted-blue-20":"bloko-icon_highlighted-blue-20","bloko-icon_initial-blue-30":"bloko-icon_initial-blue-30","bloko-icon_highlighted-blue-30":"bloko-icon_highlighted-blue-30","bloko-icon_initial-blue-40":"bloko-icon_initial-blue-40","bloko-icon_highlighted-blue-40":"bloko-icon_highlighted-blue-40","bloko-icon_initial-blue-50":"bloko-icon_initial-blue-50","bloko-icon_highlighted-blue-50":"bloko-icon_highlighted-blue-50","bloko-icon_initial-blue-60":"bloko-icon_initial-blue-60","bloko-icon_highlighted-blue-60":"bloko-icon_highlighted-blue-60","bloko-icon_initial-blue-70":"bloko-icon_initial-blue-70","bloko-icon_highlighted-blue-70":"bloko-icon_highlighted-blue-70","bloko-icon_initial-blue-80":"bloko-icon_initial-blue-80","bloko-icon_highlighted-blue-80":"bloko-icon_highlighted-blue-80","bloko-icon_initial-violet-10":"bloko-icon_initial-violet-10","bloko-icon_highlighted-violet-10":"bloko-icon_highlighted-violet-10","bloko-icon_initial-violet-20":"bloko-icon_initial-violet-20","bloko-icon_highlighted-violet-20":"bloko-icon_highlighted-violet-20","bloko-icon_initial-violet-30":"bloko-icon_initial-violet-30","bloko-icon_highlighted-violet-30":"bloko-icon_highlighted-violet-30","bloko-icon_initial-violet-40":"bloko-icon_initial-violet-40","bloko-icon_highlighted-violet-40":"bloko-icon_highlighted-violet-40","bloko-icon_initial-violet-50":"bloko-icon_initial-violet-50","bloko-icon_highlighted-violet-50":"bloko-icon_highlighted-violet-50","bloko-icon_initial-violet-60":"bloko-icon_initial-violet-60","bloko-icon_highlighted-violet-60":"bloko-icon_highlighted-violet-60","bloko-icon_initial-violet-70":"bloko-icon_initial-violet-70","bloko-icon_highlighted-violet-70":"bloko-icon_highlighted-violet-70","bloko-icon_initial-violet-80":"bloko-icon_initial-violet-80","bloko-icon_highlighted-violet-80":"bloko-icon_highlighted-violet-80","bloko-icon_initial-green-10":"bloko-icon_initial-green-10","bloko-icon_highlighted-green-10":"bloko-icon_highlighted-green-10","bloko-icon_initial-green-20":"bloko-icon_initial-green-20","bloko-icon_highlighted-green-20":"bloko-icon_highlighted-green-20","bloko-icon_initial-green-30":"bloko-icon_initial-green-30","bloko-icon_highlighted-green-30":"bloko-icon_highlighted-green-30","bloko-icon_initial-green-40":"bloko-icon_initial-green-40","bloko-icon_highlighted-green-40":"bloko-icon_highlighted-green-40","bloko-icon_initial-green-50":"bloko-icon_initial-green-50","bloko-icon_highlighted-green-50":"bloko-icon_highlighted-green-50","bloko-icon_initial-green-60":"bloko-icon_initial-green-60","bloko-icon_highlighted-green-60":"bloko-icon_highlighted-green-60","bloko-icon_initial-green-70":"bloko-icon_initial-green-70","bloko-icon_highlighted-green-70":"bloko-icon_highlighted-green-70","bloko-icon_initial-green-80":"bloko-icon_initial-green-80","bloko-icon_highlighted-green-80":"bloko-icon_highlighted-green-80","bloko-icon_loader":"bloko-icon_loader","bloko-icon-link":"bloko-icon-link","focus-visible":"focus-visible","bloko-icon-dynamic_full-width":"bloko-icon-dynamic_full-width","bloko-icon-vertical-alignment":"bloko-icon-vertical-alignment","bloko-radio":"bloko-radio","bloko-radio__text":"bloko-radio__text","bloko-radio__input":"bloko-radio__input","bloko-radio__opening-content":"bloko-radio__opening-content","bloko-radio_invalid":"bloko-radio_invalid","bloko-radio-reversed-wrapper":"bloko-radio-reversed-wrapper","bloko-radio-reversed-wrapper__control":"bloko-radio-reversed-wrapper__control","bloko-checkbox":"bloko-checkbox","bloko-checkbox__text":"bloko-checkbox__text","bloko-checkbox__input":"bloko-checkbox__input","bloko-checkbox__opening-content":"bloko-checkbox__opening-content","bloko-checkbox_invalid":"bloko-checkbox_invalid","bloko-tree-selector-selected":"bloko-tree-selector-selected","bloko-tree-selector-selected-list":"bloko-tree-selector-selected-list","bloko-tree-selector-item":"bloko-tree-selector-item","bloko-tree-selector-item_has-children-h
1as-action":"bloko-tree-selector-item_has-children-has-action","bloko-tree-selector-item_no-children":"bloko-tree-selector-item_no-children","bloko-tree-selector__items":"bloko-tree-selector__items","bloko-tree-selector-item_no-children-no-action":"bloko-tree-selector-item_no-children-no-action","bloko-tree-selector-item-content":"bloko-tree-selector-item-content","bloko-tree-selector-item-icon":"bloko-tree-selector-item-icon","bloko-tree-selector-item__text":"bloko-tree-selector-item__text","bloko-tree-selector-item-spacer":"bloko-tree-selector-item-spacer","bloko-tree-selector-item-spacer_legacy":"bloko-tree-selector-item-spacer_legacy","bloko-tree-selector-content":"bloko-tree-selector-content","bloko-tree-selector-after-label":"bloko-tree-selector-after-label","bloko-tree-selector-after-label_parent-without-action":"bloko-tree-selector-after-label_parent-without-action","bloko-tree-selector-after-label_parent-with-action":"bloko-tree-selector-after-label_parent-with-action","bloko-gap":"bloko-gap","bloko-gap_top":"bloko-gap_top","bloko-gap_m-top":"bloko-gap_m-top","bloko-gap_right":"bloko-gap_right","bloko-gap_m-right":"bloko-gap_m-right","bloko-gap_bottom":"bloko-gap_bottom","bloko-gap_m-bottom":"bloko-gap_m-bottom","bloko-gap_left":"bloko-gap_left","bloko-gap_m-left":"bloko-gap_m-left","s-friendly":"s-friendly","bloko-gap_s-top":"bloko-gap_s-top","bloko-gap_s-right":"bloko-gap_s-right","bloko-gap_s-bottom":"bloko-gap_s-bottom","bloko-gap_s-left":"bloko-gap_s-left","bloko-gap_xs-top":"bloko-gap_xs-top","bloko-gap_xs-right":"bloko-gap_xs-right","bloko-gap_xs-bottom":"bloko-gap_xs-bottom","bloko-gap_xs-left":"bloko-gap_xs-left","bloko-gap_l-top":"bloko-gap_l-top","bloko-gap_l-right":"bloko-gap_l-right","bloko-gap_l-bottom":"bloko-gap_l-bottom","bloko-gap_l-left":"bloko-gap_l-left","bloko-input-text":"bloko-input-text","bloko-input-text_invalid":"bloko-input-text_invalid","bloko-input-text-wrapper_sized":"bloko-input-text-wrapper_sized","bloko-input-text_sized":"bloko-input-text_sized","bloko-input-text_scale-small":"bloko-input-text_scale-small","bloko-input-text_scale-large":"bloko-input-text_scale-large","bloko-input-text_name":"bloko-input-text_name","bloko-input-text_light":"bloko-input-text_light","bloko-input-text-wrapper":"bloko-input-text-wrapper","bloko-input-text-wrapper_icon-left":"bloko-input-text-wrapper_icon-left","bloko-input-text-wrapper_icon-right":"bloko-input-text-wrapper_icon-right","bloko-input-text__prefix":"bloko-input-text__prefix","bloko-input-text__prefix_small":"bloko-input-text__prefix_small","bloko-input-text__prefix_large":"bloko-input-text__prefix_large","bloko-input-text__prefix_with-icon-left":"bloko-input-text__prefix_with-icon-left","bloko-input-text__inner-wrapper":"bloko-input-text__inner-wrapper","bloko-input__postfix-container":"bloko-input__postfix-container","bloko-input__postfix-container_small":"bloko-input__postfix-container_small","bloko-input__postfix-container_large":"bloko-input__postfix-container_large","bloko-input__postfix-container_with-icon-left":"bloko-input__postfix-container_with-icon-left","bloko-input__postfix-container_with-icon-right":"bloko-input__postfix-container_with-icon-right","bloko-input__postfix-text":"bloko-input__postfix-text","bloko-input__value-ghost":"bloko-input__value-ghost","bloko-button":"bloko-button","bloko-button_pressed":"bloko-button_pressed","bloko-button_appearance-outlined":"bloko-button_appearance-outlined","bloko-button_appearance-flat":"bloko-button_appearance-flat","bloko-button_invalid":"bloko-button_invalid","bloko-button_kind-primary":"bloko-button_kind-primary","bloko-button_kind-secondary":"bloko-button_kind-secondary","bloko-button_kind-warning":"bloko-button_kind-warning","bloko-button_kind-success":"bloko-button_kind-success","bloko-button_kind-inversed":"bloko-button_kind-inversed","bloko-button__badge":"bloko-button__badge","bloko-button_scale-small":"bloko-button_scale-small","bloko-button_scale-large":"bloko-button_scale-large","bloko-button_icon-only":"bloko-button_icon-only","bloko-button__icon":"bloko-button__icon","bloko-button_icon-only-small":"bloko-button_icon-only-small","bloko-button_icon-only-large":"bloko-button_icon-only-large","bloko-button_stretched":"bloko-button_stretched","bloko-button_collapsible":"bloko-button_collapsible","bloko-button__icon_left":"bloko-button__icon_left","bloko-button__icon_right":"bloko-button__icon_right","bloko-button__loading":"bloko-button__loading","bloko-button_loading":"bloko-button_loading","bloko-button__content":"bloko-button__content","bloko-button-group":"bloko-button-group","bloko-button-check-helper":"bloko-button-check-helper","bloko-button-group_stretched":"bloko-button-group_stretched","bloko-button-select":"bloko-button-select","bloko-button-select_invalid":"bloko-button-select_invalid","bloko-button-select_flexible":"bloko-button-select_flexible","bloko-button-select_small":"bloko-button-select_small","bloko-button-select_large":"bloko-button-select_large","bloko-button-select_light":"bloko-button-select_light","bloko-tree-selector-popup":"bloko-tree-selector-popup","bloko-tree-selector-popup__with-selected":"bloko-tree-selector-popup__with-selected","bloko-tree-selector-popup-content":"bloko-tree-selector-popup-content","bloko-tree-selector-popup-content__with-selected":"bloko-tree-selector-popup-content__with-selected","bloko-tree-selector-popup-search":"bloko-tree-selector-popup-search","bloko-tree-selector-popup-result":"bloko-tree-selector-popup-result","bloko-tree-selector-popup-result-list":"bloko-tree-selector-popup-result-list","bloko-tree-selector-popup-not-found":"bloko-tree-selector-popup-not-found","bloko-tree-selector-popup-footer":"bloko-tree-selector-popup-footer","bloko-tree-selector-popup-footer-extra":"bloko-tree-selector-popup-footer-extra","bloko-tree-selector-popup-hint":"bloko-tree-selector-popup-hint"}},948159:function(e,t,o){"use strict";o.d(t,{Z:()=>n});const n={"bloko-icon-react-root":"bloko-icon-react-root","bloko-icon":"bloko-icon","bloko-icon_initial-white":"bloko-icon_initial-white","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-icon_highlighted-white":"bloko-icon_highlighted-white","bloko-icon_initial-black":"bloko-icon_initial-black","bloko-icon_highlighted-black":"bloko-icon_highlighted-black","bloko-icon_initial-special-red-branded":"bloko-icon_initial-special-red-branded","bloko-icon_highlighted-special-red-branded":"bloko-icon_highlighted-special-red-branded","bloko-icon_initial-special-black-jack":"bloko-icon_initial-special-black-jack","bloko-icon_highlighted-special-black-jack":"bloko-icon_highlighted-special-black-jack","bloko-icon_initial-gray-10":"bloko-icon_initial-gray-10","bloko-icon_highlighted-gray-10":"bloko-icon_highlighted-gray-10","bloko-icon_initial-gray-20":"bloko-icon_initial-gray-20","bloko-icon_highlighted-gray-20":"bloko-icon_highlighted-gray-20","bloko-icon_initial-gray-30":"bloko-icon_initial-gray-30","bloko-icon_highlighted-gray-30":"bloko-icon_highlighted-gray-30","bloko-icon_initial-gray-40":"bloko-icon_initial-gray-40","bloko-icon_highlighted-gray-40":"bloko-icon_highlighted-gray-40","bloko-icon_initial-gray-50":"bloko-icon_initial-gray-50","bloko-icon_highlighted-gray-50":"bloko-icon_highlighted-gray-50","bloko-icon_initial-gray-60":"bloko-icon_initial-gray-60","bloko-icon_highlighted-gray-60":"bloko-icon_highlighted-gray-60","bloko-icon_initial-gray-70":"bloko-icon_initial-gray-70","bloko-icon_highlighted-gray-70":"bloko-icon_highlighted-gray-70","bloko-icon_initial-gray-80":"bloko-icon_initial-gray-80","bloko-icon_highlighted-gray-80":"bloko-icon_highlighted-gray-80","bloko-icon_initial-red-10":"bloko-icon_initial-red-10","bloko-icon_highlighted-red-10":"bloko-icon_highlighted-red-10","bloko-icon_initial-red-20":"bloko-icon_initial-red-20","bloko-icon_highlighted-red-20":"bloko-icon_highlighted-red-20","bloko-icon_initial-red-30":"bloko-icon_initial-red-30","bloko-icon_highlighted-red-30":"bloko-icon_highlighted-red-30","bloko-icon_initial-red-40":"bloko-icon_initial-red-40","bloko-icon_highlighted-red-40":"bloko-icon_highlighted-red-40","bloko-icon_initial-red-50":"bloko-icon_initial-red-50","bloko-icon_highlighted-red-50":"bloko-icon_highlighted-red-50","bloko-icon_initial-red-60":"bloko-icon_initial-red-60","bloko-icon_highlighted-red-60":"bloko-icon_highlighted-red-60","bloko-icon_initial-red-70":"bloko-icon_initial-red-70","bloko-icon_highlighted-red-70":"bloko-icon_highlighted-red-70","bloko-icon_initial-red-80":"bloko-icon_initial-red-80","bloko-icon_highlighted-red-80":"bloko-icon_highlighted-red-80","bloko-icon_initial-yellow-10":"bloko-icon_initial-yellow-10","bloko-icon_highlighted-yellow-10":"bloko-icon_highlighted-yellow-10","bloko-icon_initial-yellow-20":"bloko-icon_initial-yellow-20","bloko-icon_highlighted-yellow-20":"bloko-icon_highlighted-yellow-20","bloko-icon_initial-yellow-30":"bloko-icon_initial-yellow-30","bloko-icon_highlighted-yellow-30":"bloko-icon_highlighted-yellow-30","bloko-icon_initial-yellow-40":"bloko-icon_initial-yellow-40","bloko-icon_highlighted-yellow-40":"bloko-icon_highlighted-yellow-40","bloko-icon_initial-yellow-50":"bloko-icon_initial-yellow-50","bloko-icon_highlighted-yellow-50":"bloko-icon_highlighted-yellow-50","bloko-icon_initial-yellow-60":"bloko-icon_initial-yellow-60","bloko-icon_highlighted-yellow-60":"bloko-icon_highlighted-yellow-60","bloko-icon_initial-yellow-70":"bloko-icon_initial-yellow-70","bloko-icon_highlighted-yellow-70":"bloko-icon_highlighted-yellow-70","bloko-icon_initial-yellow-80":"bloko-icon_initial-yellow-80","bloko-icon_highlighted-yellow-80":"bloko-icon_highlighted-yellow-80","bloko-icon_initial-orange-10":"bloko-icon_initial-orange-10","bloko-icon_highlighted-orange-10":"bloko-icon_highlighted-orange-10","bloko-icon_initial-orange-20":"bloko-icon_initial-orange-20","bloko-icon_highlighted-orange-20":"bloko-icon_highlighted-orange-20","bloko-icon_initial-orange-30":"bloko-icon_initial-orange-30","bloko-icon_highlighted-orange-30":"bloko-icon_highlighted-orange-30","bloko-icon_initial-orange-40":"bloko-icon_initial-orange-40","bloko-icon_highlighted-orange-40":"bloko-icon_highlighted-orange-40","bloko-icon_initial-orange-50":"bloko-icon_initial-orange-50","bloko-icon_highlighted-orange-50":"bloko-icon_highlighted-orange-50","bloko-icon_initial-orange-60":"bloko-icon_initial-orange-60","bloko-icon_highlighted-orange-60":"bloko-icon_highlighted-orange-60","bloko-icon_initial-orange-70":"bloko-icon_initial-orange-70","bloko-icon_highlighted-orange-70":"bloko-icon_highlighted-orange-70","bloko-icon_initial-orange-80":"bloko-icon_initial-orange-80","bloko-icon_highlighted-orange-80":"bloko-icon_highlighted-orange-80","bloko-icon_initial-blue-10":"bloko-icon_initial-blue-10","bloko-icon_highlighted-blue-10":"bloko-icon_highlighted-blue-10","bloko-icon_initial-blue-20":"bloko-icon_initial-blue-20","bloko-icon_highlighted-blue-20":"bloko-icon_highlighted-blue-20","bloko-icon_initial-blue-30":"bloko-icon_initial-blue-30","bloko-icon_highlighted-blue-30":"bloko-icon_highlighted-blue-30","bloko-icon_initial-blue-40":"bloko-icon_initial-blue-40","bloko-icon_highlighted-blue-40":"bloko-icon_highlighted-blue-40","bloko-icon_initial-blue-50":"bloko-icon_initial-blue-50","bloko-icon_highlighted-blue-50":"bloko-icon_highlighted-blue-50","bloko-icon_initial-blue-60":"bloko-icon_initial-blue-60","bloko-icon_highlighted-blue-60":"bloko-icon_highlighted-blue-60","bloko-icon_initial-blue-70":"bloko-icon_initial-blue-70","bloko-icon_highlighted-blue-70":"bloko-icon_highlighted-blue-70","bloko-icon_initial-blue-80":"bloko-icon_initial-blue-80","bloko-icon_highlighted-blue-80":"bloko-icon_highlighted-blue-80","bloko-icon_initial-violet-10":"bloko-icon_initial-violet-10","bloko-icon_highlighted-violet-10":"bloko-icon_highlighted-violet-10","bloko-icon_initial-violet-20":"bloko-icon_initial-violet-20","bloko-icon_highlighted-violet-20":"bloko-icon_highlighted-violet-20","bloko-icon_initial-violet-30":"bloko-icon_initial-violet-30","bloko-icon_highlighted-violet-30":"bloko-icon_highlighted-violet-30","bloko-icon_initial-violet-40":"bloko-icon_initial-violet-40","bloko-icon_highlighted-violet-40":"bloko-icon_highlighted-violet-40","bloko-icon_initial-violet-50":"bloko-icon_initial-violet-50","bloko-icon_highlighted-violet-50":"bloko-icon_highlighted-violet-50","bloko-icon_initial-violet-60":"bloko-icon_initial-violet-60","bloko-icon_highlighted-violet-60":"bloko-icon_highlighted-violet-60","bloko-icon_initial-violet-70":"bloko-icon_initial-violet-70","bloko-icon_highlighted-violet-70":"bloko-icon_highlighted-violet-70","bloko-icon_initial-violet-80":"bloko-icon_initial-violet-80","bloko-icon_highlighted-violet-80":"bloko-icon_highlighted-violet-80","bloko-icon_initial-green-10":"bloko-icon_initial-green-10","bloko-icon_highlighted-green-10":"bloko-icon_highlighted-green-10","bloko-icon_initial-green-20":"bloko-icon_initial-green-20","bloko-icon_highlighted-green-20":"bloko-icon_highlighted-green-20","bloko-icon_initial-green-30":"bloko-icon_initial-green-30","bloko-icon_highlighted-green-30":"bloko-icon_highlighted-green-30","bloko-icon_initial-green-40":"bloko-icon_initial-green-40","bloko-icon_highlighted-green-40":"bloko-icon_highlighted-green-40","bloko-icon_initial-green-50":"bloko-icon_initial-green-50","bloko-icon_highlighted-green-50":"bloko-icon_highlighted-green-50","bloko-icon_initial-green-60":"bloko-icon_initial-green-60","bloko-icon_highlighted-green-60":"bloko-icon_highlighted-green-60","bloko-icon_initial-green-70":"bloko-icon_initial-green-70","bloko-icon_highlighted-green-70":"bloko-icon_highlighted-green-70","bloko-icon_initial-green-80":"bloko-icon_initial-green-80","bloko-icon_highlighted-green-80":"bloko-icon_highlighted-green-80","bloko-icon_loader":"bloko-icon_loader","bloko-icon-link":"bloko-icon-link","focus-visible":"focus-visible","bloko-icon-dynamic_full-width":"bloko-icon-dynamic_full-width","bloko-icon-vertical-alignment":"bloko-icon-vertical-alignment"}},251532:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-calendar">'),n.b("\n"),n.b("\n"+o),n.b('    <div class="bloko-calendar__switcher-wrapper">
1'),n.b("\n"+o),n.b('        <span class="bloko-calendar__switcher">'),n.b("\n"+o),n.b('            <span class="bloko-calendar__switcher-arrow'),n.b("\n"+o),n.b("                        bloko-calendar__switcher-arrow_back"),n.b("\n"+o),n.b("                        "),n.s(n.f("isPreviousMonthDisabled",e,t,1),e,t,0,297,336,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-calendar__switcher-arrow_disabled")}),e.pop()),n.b("\n"+o),n.b('                        Bloko-Calendar-Previous-Month"'),n.b("\n"+o),n.b('                data-qa="bloko-calendar-prev-month">'),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b('            <span class="bloko-calendar__name bloko-calendar__name_months bloko-calendar__name_disabled Bloko-Calendar-Month">'),n.b("\n"+o),n.b("                "),n.b(n.v(n.f("month",e,t,0))),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b('            <span class="bloko-calendar__switcher-arrow'),n.b("\n"+o),n.b("                        bloko-calendar__switcher-arrow_next"),n.b("\n"+o),n.b("                        "),n.s(n.f("isNextMonthDisabled",e,t,1),e,t,0,830,869,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-calendar__switcher-arrow_disabled")}),e.pop()),n.b("\n"+o),n.b('                        Bloko-Calendar-Next-Month"'),n.b("\n"+o),n.b('                data-qa="bloko-calendar-next-month">'),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b("        </span>"),n.b("\n"),n.b("\n"+o),n.b('        <span class="bloko-calendar__switcher">'),n.b("\n"+o),n.b('            <span class="bloko-calendar__switcher-arrow'),n.b("\n"+o),n.b("                        bloko-calendar__switcher-arrow_back"),n.b("\n"+o),n.b("                        "),n.s(n.f("isPreviousYearDisabled",e,t,1),e,t,0,1250,1289,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-calendar__switcher-arrow_disabled")}),e.pop()),n.b("\n"+o),n.b('                        Bloko-Calendar-Previous-Year"'),n.b("\n"+o),n.b('                data-qa="bloko-calendar-prev-year">'),n.b("\n"+o),n.b('                <span class="bloko-icon bloko-icon_initial-'),n.b(n.v(n.f("previousYearArrowKind",e,t,0))),n.b(' bloko-icon_chevron-left"></span>'),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b('            <span class="bloko-calendar__name bloko-calendar__name_years bloko-calendar__name_disabled Bloko-Calendar-Year">'),n.b("\n"+o),n.b("                "),n.b(n.v(n.f("year",e,t,0))),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b('            <span class="bloko-calendar__switcher-arrow'),n.b("\n"+o),n.b("                        bloko-calendar__switcher-arrow_next"),n.b("\n"+o),n.b("                        "),n.s(n.f("isNextYearDisabled",e,t,1),e,t,0,1894,1933,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-calendar__switcher-arrow_disabled")}),e.pop()),n.b("\n"+o),n.b('                        Bloko-Calendar-Next-Year"'),n.b("\n"+o),n.b('                data-qa="bloko-calendar-next-year">'),n.b("\n"+o),n.b('                <span class="bloko-icon bloko-icon_initial-'),n.b(n.v(n.f("nextYearArrowKind",e,t,0))),n.b(' bloko-icon_chevron-right"></span>'),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b("        </span>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"),n.b("\n"+o),n.b('    <div class="bloko-calendar__base">'),n.b("\n"+o),n.b('        <div class="bloko-calendar__weekdays">'),n.b("\n"+o),n.s(n.f("weekdays",e,t,1),e,t,0,2333,2474,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                <span class="bloko-calendar__weekday Bloko-Calendar-Weekday">'),n.b("\n"+o),n.b("                    "),n.b(n.v(n.d(".",e,t,0))),n.b("\n"+o),n.b("                </span>"),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"),n.b("\n"+o),n.b('        <div class="bloko-calendar__days Bloko-Calendar-Dates">'),n.b("\n"+o),n.s(n.f("days",e,t,1),e,t,0,2589,3002,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b("                <span"),n.b("\n"+o),n.b('                    class="bloko-calendar__day Bloko-Calendar-Date Bloko-Calendar-CurrentMonthDay"'),n.b("\n"+o),n.b('                    data-date="'),n.b(n.v(n.f("dayNumber",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                    data-month="'),n.b(n.v(n.f("month",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                    data-year="'),n.b(n.v(n.f("year",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                    data-qa="'),n.b(n.v(n.f("iso",e,t,0))),n.s(n.f("disabled",e,t,1),e,t,0,2890,2899,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("-disabled")}),e.pop()),n.b('"'),n.b("\n"+o),n.b("                >"),n.b("\n"+o),n.b("                    "),n.b(n.v(n.f("dayNumber",e,t,0))),n.b("\n"+o),n.b("                </span>"),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-calendar">\n\n    <div class="bloko-calendar__switcher-wrapper">
1\n        <span class="bloko-calendar__switcher">\n            <span class="bloko-calendar__switcher-arrow\n                        bloko-calendar__switcher-arrow_back\n                        {{#isPreviousMonthDisabled}}bloko-calendar__switcher-arrow_disabled{{/isPreviousMonthDisabled}}\n                        Bloko-Calendar-Previous-Month"\n                data-qa="bloko-calendar-prev-month">\n            </span>\n            <span class="bloko-calendar__name bloko-calendar__name_months bloko-calendar__name_disabled Bloko-Calendar-Month">\n                {{month}}\n            </span>\n            <span class="bloko-calendar__switcher-arrow\n                        bloko-calendar__switcher-arrow_next\n                        {{#isNextMonthDisabled}}bloko-calendar__switcher-arrow_disabled{{/isNextMonthDisabled}}\n                        Bloko-Calendar-Next-Month"\n                data-qa="bloko-calendar-next-month">\n            </span>\n        </span>\n\n        <span class="bloko-calendar__switcher">\n            <span class="bloko-calendar__switcher-arrow\n                        bloko-calendar__switcher-arrow_back\n                        {{#isPreviousYearDisabled}}bloko-calendar__switcher-arrow_disabled{{/isPreviousYearDisabled}}\n                        Bloko-Calendar-Previous-Year"\n                data-qa="bloko-calendar-prev-year">\n                <span class="bloko-icon bloko-icon_initial-{{previousYearArrowKind}} bloko-icon_chevron-left"></span>\n            </span>\n            <span class="bloko-calendar__name bloko-calendar__name_years bloko-calendar__name_disabled Bloko-Calendar-Year">\n                {{year}}\n            </span>\n            <span class="bloko-calendar__switcher-arrow\n                        bloko-calendar__switcher-arrow_next\n                        {{#isNextYearDisabled}}bloko-calendar__switcher-arrow_disabled{{/isNextYearDisabled}}\n                        Bloko-Calendar-Next-Year"\n                data-qa="bloko-calendar-next-year">\n                <span class="bloko-icon bloko-icon_initial-{{nextYearArrowKind}} bloko-icon_chevron-right"></span>\n            </span>\n        </span>\n    </div>\n\n    <div class="bloko-calendar__base">\n        <div class="bloko-calendar__weekdays">\n            {{#weekdays}}\n                <span class="bloko-calendar__weekday Bloko-Calendar-Weekday">\n                    {{.}}\n                </span>\n            {{/weekdays}}\n        </div>\n\n        <div class="bloko-calendar__days Bloko-Calendar-Dates">\n            {{#days}}\n                <span\n                    class="bloko-calendar__day Bloko-Calendar-Date Bloko-Calendar-CurrentMonthDay"\n                    data-date="{{dayNumber}}"\n                    data-month="{{month}}"\n                    data-year="{{year}}"\n                    data-qa="{{iso}}{{#disabled}}-disabled{{/disabled}}"\n                >\n                    {{dayNumber}}\n                </span>\n            {{/days}}\n        </div>\n    </div>\n\n</div>\n',n)},817612:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.d("components.tagList",e,t,1),e,t,0,23,49,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<tagListTemplate0",e,t,"    "))}),e.pop()),n.s(n.d("components.nestedTagList",e,t,1),e,t,0,102,134,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<nestedTagListTemplate1",e,t,"    "))}),e.pop()),n.s(n.d("components.suggest",e,t,1),e,t,0,187,213,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<suggestTemplate2",e,t,"    "))}),e.pop()),n.s(n.d("components.suggest",e,t,1),e,t,1,0,0,"")||n.s(n.d("components.treeSelectorPopup",e,t,1),e,t,0,298,342,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<treeSelectorPopupTemplate3",e,t,"        "))}),e.pop()),n.fl()},partials:{"<tagListTemplate0":{name:"tagListTemplate",partials:{},subs:{}},"<nestedTagListTemplate1":{name:"nestedTagListTemplate",partials:{},subs:{}},"<suggestTemplate2":{name:"suggestTemplate",partials:{},subs:{}},"<treeSelectorPopupTemplate3":{name:"treeSelectorPopupTemplate",partials:{},subs:{}}},subs:{}},"{{#components.tagList}}\n    {{>tagListTemplate}}\n{{/components.tagList}}\n{{#components.nestedTagList}}\n    {{>nestedTagListTemplate}}\n{{/components.nestedTagList}}\n{{#components.suggest}}\n    {{>suggestTemplate}}\n{{/components.suggest}}\n{{^components.suggest}}\n    {{#components.treeSelectorPopup}}\n        {{>treeSelectorPopupTemplate}}\n    {{/components.treeSelectorPopup}}\n{{/components.suggest}}\n",n)},409827:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-CompositeSelection-NestedTagList"></div>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="Bloko-CompositeSelection-NestedTagList"></div>\n',n)},858305:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-input-text-wrapper bloko-input-text-wrapper_icon-right">'),n.b("\n"+o),n.b('    <input class="bloko-input-text'),n.b("\n"+o),n.b('                  Bloko-CompositeSelection-Suggest"'),n.b("\n"+o),n.b('           type="text"'),n.b("\n"+o),n.b('           autocomplete="false"/>
1'),n.b("\n"+o),n.s(n.d("components.treeSelectorPopup",e,t,1),e,t,0,256,547,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <span class="bloko-icon-dynamic">'),n.b("\n"+o),n.b('            <button type="button"'),n.b("\n"+o),n.b('                    class="bloko-icon-link Bloko-CompositeSelection-SuggestIcon Bloko-CompositeSelection-TreeSelectorPopup"'),n.b("\n"+o),n.b('                    title="'),n.b(n.v(n.d("trl.treeSelectorPopupOpener",e,t,0))),n.b('"></button>'),n.b("\n"+o),n.b("        </span>"),n.b("\n"+o)}),e.pop()),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-input-text-wrapper bloko-input-text-wrapper_icon-right">\n    <input class="bloko-input-text\n                  Bloko-CompositeSelection-Suggest"\n           type="text"\n           autocomplete="false"/>\n    {{#components.treeSelectorPopup}}\n        <span class="bloko-icon-dynamic">\n            <button type="button"\n                    class="bloko-icon-link Bloko-CompositeSelection-SuggestIcon Bloko-CompositeSelection-TreeSelectorPopup"\n                    title="{{trl.treeSelectorPopupOpener}}"></button>\n        </span>\n    {{/components.treeSelectorPopup}}\n</div>\n',n)},656465:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-CompositeSelection-TagList"></div>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="Bloko-CompositeSelection-TagList"></div>\n',n)},23592:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<button type="button" class="bloko-link_pseudo bloko-link Bloko-CompositeSelection-TreeSelectorPopup">'),n.b("\n"+o),n.b("    "),n.b(n.v(n.d("trl.treeSelectorPopupOpener",e,t,0))),n.b("\n"+o),n.b("</button>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<button type="button" class="bloko-link_pseudo bloko-link Bloko-CompositeSelection-TreeSelectorPopup">\n    {{trl.treeSelectorPopupOpener}}\n</button>\n',n)},990181:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-custom-select__select Bloko-CustomSelect" tabindex="0">'),n.b("\n"+o),n.b('    <span class="bloko-custom-select__placeholder Bloko-CustomSelect-Selected">'),n.b("\n"+o),n.s(n.f("placeholder",e,t,1),e,t,0,180,232,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<customSelectPlaceholder0",e,t,"            "))}),e.pop()),n.b("    </span>"),n.b("\n"+o),n.b("</div>"),n.b("\n"+o),n.b('<div class="bloko-custom-select__content g-hidden Bloko-CustomSelect-OptionsContainer" tabindex="0">'),n.b("\n"+o),n.s(n.f("search",e,t,1),e,t,0,388,805,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <div class="bloko-custom-select__search Bloko-CustomSelect-SearchContainer">'),n.b("\n"+o),n.b('            <label class="bloko-input-text-wrapper bloko-input-text-wrapper_icon-right Bloko-CustomSelect-SearchIcon">'),n.b("\n"+o),n.b('                <input class="bloko-input-text Bloko-CustomSelect-Search"'),n.b("\n"+o),n.b('                       placeholder="'),n.b(n.v(n.f("searchPlaceholder",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       type="text"/>'),n.b("\n"+o),n.b("            </label>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o)}),e.pop()),n.b('    <div class="bloko-custom-select__option-list Bloko-CustomSelect-Options" data-qa="bloko-custom-select-option-list">'),n.b("\n"+o),n.b(n.rp("<customSelectOptions1",e,t,"        ")),n.b("    </div>"),n.b("\n"+o),n.b(n.rp("<customSelectAfterOptions2",e,t,"    ")),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<customSelectPlaceholder0":{name:"customSelectPlaceholder",partials:{},subs:{}},"<customSelectOptions1":{name:"customSelectOptions",partials:{},subs:{}},"<customSelectAfterOptions2":{name:"customSelectAfterOptions",partials:{},subs:{}}},subs:{}},'<div class="bloko-custom-select__select Bloko-CustomSelect" tabindex="0">\n    <span class="bloko-custom-select__placeholder Bloko-CustomSelect-Selected">\n        {{# placeholder }}\n            {{> customSelectPlaceholder }}\n        {{/ placeholder }}\n    </span>\n</div>\n<div class="bloko-custom-select__content g-hidden Bloko-CustomSelect-OptionsContainer" tabindex="0">\n    {{# search }}\n        <div class="bloko-custom-select__search Bloko-CustomSelect-SearchContainer">\n            <label class="bloko-input-text-wrapper bloko-input-text-wrapper_icon-right Bloko-CustomSelect-SearchIcon">\n                <input class="bloko-input-text Bloko-CustomSelect-Search"\n                       placeholder="{{ searchPlaceholder }}"\n                       type="text"/>\n            </label>\n        </div>\n    {{/ search }}\n    <div class="bloko-custom-select__option-list Bloko-CustomSelect-Options" data-qa="bloko-custom-select-option-list">\n        {{> customSelectOptions }}\n    </div>\n    {{> customSelectAfterOptions}}\n</div>\n',n)},715117:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b(n.v(n.f("text",e,t,0))),n.b("\n"),n.fl()},partials:{},subs:{}},"{{ text }}\n",n)},467929:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("options",e,t,1),e,t,0,14,531,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.s(n.f("data",e,t,1),e,t,0,30,519,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <div class="bloko-select-dropdown-option'),n.b("\n"+o),n.b("                    Bloko-CustomSelect-OptionItem"),n.b("\n"+o),n.s(n.f("selected",e,t,1),e,t,0,165,248,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b("                        bloko-select-dropdown-option_selected"),n.b("\n"+o)}),e.pop()),n.s(n.f("disabled",e,t,1),e,t,0,299,444,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b("                        bloko-select-dropdown-option_disabled"),n.b("\n"+o),n.b("                        Bloko-CustomSelect-OptionItemDisabled"),n.b("\n"+o),n.b("                    ")}),e.pop()),n.b('">'),n.b("\n"+o),n.b(n.rp("<customSelectOption0",e,t,"             ")),n.b("        </div>"),n.b("\n"+o)}),e.pop())}),e.pop()),n.fl()},partials:{"<customSelectOption0":{name:"customSelectOption",partials:{},subs:{}}},subs:{}},'{{# options }}\n    {{# data }}\n        <div class="bloko-select-dropdown-option\n                    Bloko-CustomSelect-OptionItem\n                    {{# selected }}\n                        bloko-select-dropdown-option_selected\n                    {{/ selected }}\n                    {{# disabled }}\n                        bloko-select-dropdown-option_disabled\n                        Bloko-CustomSelect-OptionItemDisabled\n                    {{/ disabled }}">\n             {{> customSelectOption}}\n        </div>\n    {{/ data }}\n{{/ options }}\n',n)},356708:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b(n.v(n.f("text",e,t,0))),n.b("\n"),n.fl()},partials:{},subs:{}},"{{ text }}\n",n)},730522:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-Drop-Down bloko-drop bloko-drop_down bloko-drop_theme-light '),n.b(n.v(n.f("flexible",e,t,0))),n.b(" "),n.b(n.v(n.f("placement",e,t,0))),n.b(" "),n.b(n.v(n.f("layer",e,t,0))),n.b('" data-qa="'),n.b(n.v(n.f("dataQa",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-drop__padding-wrapper bloko-drop__padding-wrapper_down">'),n.b("\n"+o),n.s(n.f("title",e,t,1),e,t,0,235,625,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('            <div class="bloko-drop__title">'),n.b("\n"+o),n.b('                <div class="bloko-drop__title-text">'),n.b(n.v(n.f("title",e,t,0))),n.b("</div>
1"),n.b("\n"+o),n.b('                <div class="bloko-drop__close">'),n.b("\n"+o),n.b('                    <button type="button" class="bloko-icon-link Bloko-Drop-TitleIconClose Bloko-Drop-Close" data-qa="bloko-drop-down-close-button">'),n.b("\n"+o),n.b("                    </button>"),n.b("\n"+o),n.b("                </div>"),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o)}),e.pop()),n.b('        <div class="bloko-drop__content-wrapper">'),n.b("\n"+o),n.b('            <div class="Bloko-Drop-Down-Content bloko-drop__content"></div>'),n.b("\n"+o),n.s(n.d("templateData.showCloseButton",e,t,1),e,t,0,807,1048,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                <div class="bloko-drop__close">'),n.b("\n"+o),n.b('                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close" data-qa="bloko-drop-down-close-button"></button>'),n.b("\n"+o),n.b("                </div>"),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="Bloko-Drop-Down bloko-drop bloko-drop_down bloko-drop_theme-light {{flexible}} {{placement}} {{layer}}" data-qa="{{dataQa}}">\n    <div class="bloko-drop__padding-wrapper bloko-drop__padding-wrapper_down">\n        {{#title}}\n            <div class="bloko-drop__title">\n                <div class="bloko-drop__title-text">{{title}}</div>\n                <div class="bloko-drop__close">\n                    <button type="button" class="bloko-icon-link Bloko-Drop-TitleIconClose Bloko-Drop-Close" data-qa="bloko-drop-down-close-button">\n                    </button>\n                </div>\n            </div>\n        {{/title}}\n        <div class="bloko-drop__content-wrapper">\n            <div class="Bloko-Drop-Down-Content bloko-drop__content"></div>\n            {{#templateData.showCloseButton}}\n                <div class="bloko-drop__close">\n                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close" data-qa="bloko-drop-down-close-button"></button>\n                </div>\n            {{/templateData.showCloseButton}}\n        </div>\n    </div>\n</div>\n',n)},296566:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-drop Bloko-Info '),n.b(n.v(n.f("cssClasses",e,t,0))),n.b(" "),n.b(n.v(n.f("flexible",e,t,0))),n.b(" "),n.b(n.v(n.f("placement",e,t,0))),n.b(" "),n.b(n.v(n.f("layer",e,t,0))),n.b('" data-qa="'),n.b(n.v(n.f("dataQa",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-drop__padding-wrapper bloko-drop__padding-wrapper_info">'),n.b("\n"+o),n.b('        <div class="bloko-drop__content-wrapper">'),n.b("\n"+o),n.b('            <div class="Bloko-Info-Content bloko-drop__content"></div>'),n.b("\n"+o),n.s(n.d("templateData.showCloseButton",e,t,1),e,t,0,354,616,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                <div class="bloko-drop__close">'),n.b("\n"+o),n.b('                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close" data-qa="bloko-drop-info-close-button">'),n.b("\n"+o),n.b("                    </button>"),n.b("\n"+o),n.b("                </div>"),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"+o),n.b('        <div class="bloko-drop__arrow Bloko-Info-Arrow" />'),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-drop Bloko-Info {{cssClasses}} {{flexible}} {{placement}} {{layer}}" data-qa="{{dataQa}}">\n    <div class="bloko-drop__padding-wrapper bloko-drop__padding-wrapper_info">\n        <div class="bloko-drop__content-wrapper">\n            <div class="Bloko-Info-Content bloko-drop__content"></div>\n            {{#templateData.showCloseButton}}\n                <div class="bloko-drop__close">\n                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close" data-qa="bloko-drop-info-close-button">\n                    </button>\n                </div>\n            {{/templateData.showCloseButton}}\n        </div>\n        <div class="bloko-drop__arrow Bloko-Info-Arrow" />\n    </div>\n</div>\n',n)},180669:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div data-qa="'),n.b(n.v(n.f("dataQa",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-info-inline '),n.b(n.v(n.f("withPointer",e,t,0))),n.b('">'),n.b("\n"+o),n.b('        <div class="bloko-info-inline__content Bloko-InfoInline-Content '),n.b(n.v(n.f("closeButton",e,t,0))),n.b('">'),n.b("\n"+o),n.s(n.f("showCloseButton",e,t,1),e,t,0,197,489,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('            <div class="bloko-info-inline__close">
1'),n.b("\n"+o),n.b('                <span class="bloko-icon-dynamic">'),n.b("\n"+o),n.b('                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close">'),n.b("\n"+o),n.b("                    </button>"),n.b("\n"+o),n.b("                </span>"),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div data-qa="{{dataQa}}">\n    <div class="bloko-info-inline {{withPointer}}">\n        <div class="bloko-info-inline__content Bloko-InfoInline-Content {{closeButton}}">\n        {{#showCloseButton}}\n            <div class="bloko-info-inline__close">\n                <span class="bloko-icon-dynamic">\n                    <button type="button" class="bloko-icon-link Bloko-Drop-BodyIconClose Bloko-Drop-Close">\n                    </button>\n                </span>\n            </div>\n        {{/showCloseButton}}\n        </div>\n    </div>\n</div>\n',n)},203630:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-DropMenu bloko-drop bloko-drop_menu bloko-drop_theme-light '),n.b(n.v(n.f("flexible",e,t,0))),n.b(" "),n.b(n.v(n.f("placement",e,t,0))),n.b(" "),n.b(n.v(n.f("layer",e,t,0))),n.b('" data-qa="'),n.b(n.v(n.f("dataQa",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="Bloko-DropMenu-Content bloko-drop__padding-wrapper bloko-drop__padding-wrapper_menu">'),n.b("\n"+o),n.s(n.f("title",e,t,1),e,t,0,257,742,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('            <div class="bloko-drop__title">'),n.b("\n"+o),n.b('                <div class="bloko-drop__title-text">'),n.b(n.v(n.f("title",e,t,0))),n.b("</div>"),n.b("\n"+o),n.b('                <div class="bloko-drop__close">'),n.b("\n"+o),n.b('                    <button type="button" class="bloko-icon-link Bloko-Drop-Close" data-qa="bloko-drop-down-close-button">'),n.b("\n"+o),n.b('                        <span class="bloko-icon bloko-icon_cancel bloko-icon_initial-default bloko-icon_size-24"></span>'),n.b("\n"+o),n.b("                    </button>"),n.b("\n"+o),n.b("                </div>"),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o)}),e.pop()),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="Bloko-DropMenu bloko-drop bloko-drop_menu bloko-drop_theme-light {{flexible}} {{placement}} {{layer}}" data-qa="{{dataQa}}">\n    <div class="Bloko-DropMenu-Content bloko-drop__padding-wrapper bloko-drop__padding-wrapper_menu">\n        {{#title}}\n            <div class="bloko-drop__title">\n                <div class="bloko-drop__title-text">{{title}}</div>\n                <div class="bloko-drop__close">\n                    <button type="button" class="bloko-icon-link Bloko-Drop-Close" data-qa="bloko-drop-down-close-button">\n                        <span class="bloko-icon bloko-icon_cancel bloko-icon_initial-default bloko-icon_size-24"></span>\n                    </button>\n                </div>\n            </div>\n        {{/title}}\n    </div>\n</div>\n',n)},914301:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-Tip bloko-drop bloko-drop_tip '),n.b(n.v(n.f("placement",e,t,0))),n.b(" "),n.b(n.v(n.f("theme",e,t,0))),n.b(" "),n.b(n.v(n.f("layer",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="Bloko-Tip-Content" '),n.s(n.f("dataQa",e,t,1),e,t,0,130,150,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('data-qa="'),o.b(o.v(o.f("dataQa",e,t,0))),o.b('"')}),e.pop()),n.b("></div>"),n.b("\n"+o),n.b('    <div class="Bloko-Tip-Arrow bloko-drop__arrow"></div>'),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="Bloko-Tip bloko-drop bloko-drop_tip {{placement}} {{theme}} {{layer}}">\n    <div class="Bloko-Tip-Content" {{#dataQa}}data-qa="{{dataQa}}"{{/dataQa}}></div>\n    <div class="Bloko-Tip-Arrow bloko-drop__arrow"></div>\n</div>\n',n)},964268:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-control-group bloko-control-group_auto-size">'),n.b("\n"+o),n.b('    <div class="bloko-control-group__content-sized">'),n.b("\n"+o),n.b('        <button class="bloko-button bloko-button_icon-only Bloko-IncrementalNumericInput-Minus" type="button">
1'),n.b("\n"+o),n.b('            <span class="bloko-button__icon Bloko-IncrementalNumericInput-MinusIcon"></span>'),n.b("\n"+o),n.b("        </button>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b('    <div class="bloko-control-group__content-sized Bloko-IncrementalNumericInput-InputContainer"></div>'),n.b("\n"+o),n.b('    <div class="bloko-control-group__content-sized">'),n.b("\n"+o),n.b('        <button class="bloko-button bloko-button_icon-only Bloko-IncrementalNumericInput-Plus" type="button">'),n.b("\n"+o),n.b('            <span class="bloko-button__icon Bloko-IncrementalNumericInput-PlusIcon"></span>'),n.b("\n"+o),n.b("        </button>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-control-group bloko-control-group_auto-size">\n    <div class="bloko-control-group__content-sized">\n        <button class="bloko-button bloko-button_icon-only Bloko-IncrementalNumericInput-Minus" type="button">\n            <span class="bloko-button__icon Bloko-IncrementalNumericInput-MinusIcon"></span>\n        </button>\n    </div>\n    <div class="bloko-control-group__content-sized Bloko-IncrementalNumericInput-InputContainer"></div>\n    <div class="bloko-control-group__content-sized">\n        <button class="bloko-button bloko-button_icon-only Bloko-IncrementalNumericInput-Plus" type="button">\n            <span class="bloko-button__icon Bloko-IncrementalNumericInput-PlusIcon"></span>\n        </button>\n    </div>\n</div>\n',n)},662298:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-modal-container" data-attach="modal-container" data-qa="bloko-modal">'),n.b("\n"+o),n.b('    <div class="bloko-modal" data-attach="modal"></div>'),n.b("\n"+o),n.b('    <div class="bloko-modal-close-button Bloko-Modal-CloseButton" data-qa="bloko-modal-close"></div>'),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-modal-container" data-attach="modal-container" data-qa="bloko-modal">\n    <div class="bloko-modal" data-attach="modal"></div>\n    <div class="bloko-modal-close-button Bloko-Modal-CloseButton" data-qa="bloko-modal-close"></div>\n</div>\n',n)},636612:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-modal-error Bloko-ModalError-Error bloko-modal-error_hidden">'),n.b(n.v(n.f("message",e,t,0))),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-modal-error Bloko-ModalError-Error bloko-modal-error_hidden">{{message}}</div>\n',n)},294597:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-modal-overlay"></div>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-modal-overlay"></div>\n',n)},961038:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-notification '),n.s(n.f("type",e,t,1),e,t,0,40,68,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-notification_"),o.b(o.v(o.f("type",e,t,0)))}),e.pop()),n.b('" data-qa="notification">'),n.b("\n"+o),n.b('    <div class="bloko-notification__wrapper">'),n.b("\n"+o),n.b('        <div class="bloko-notification__plate">'),n.b("\n"+o),n.b('            <div class="bloko-notification__icon Bloko-Notification-Icon"></div>'),n.b("\n"+o),n.b('            <div class="bloko-notification__body">'),n.b("\n"+o),n.b('                <div class="bloko-notification__content Bloko-Notification-Content"></div>'),n.b("\n"+o),n.b('                <div class="Bloko-Notification-Close bloko-notification__close"'),n.b("\n"+o),n.b('                      data-qa="notification-close-button">'),n.b("\n"+o),n.b('                    <span class="bloko-icon bloko-icon_cancel '),n.s(n.f("inverted",e,t,1),e,t,0,634,661,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-icon_initial-inverted")}),e.pop()),n.b('"></span>'),n.b("\n"+o),n.b("                </div>"),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-notification {{#type}} bloko-notification_{{type}}{{/type}}" data-qa="notification">\n    <div class="bloko-notification__wrapper">\n        <div class="bloko-notification__plate">\n            <div class="bloko-notification__icon Bloko-Notification-Icon"></div>\n            <div class="bloko-notification__body">\n                <div class="bloko-notification__content Bloko-Notification-Content"></div>\n                <div class="Bloko-Notification-Close bloko-notification__close"\n                      data-qa="notification-close-button">
1\n                    <span class="bloko-icon bloko-icon_cancel {{#inverted}}bloko-icon_initial-inverted{{/inverted}}"></span>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n',n)},138233:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-slider  Bloko-Slider-ScaleLine'),n.b("\n"+o),n.b("            "),n.s(n.f("hasLabels",e,t,1),e,t,0,75,100,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-slider_with-labels")}),e.pop()),n.b("\n"+o),n.b("            "),n.s(n.f("isSecondary",e,t,1),e,t,0,143,166,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-slider_secondary")}),e.pop()),n.b('">'),n.b("\n"),n.b("\n"+o),n.b('    <div class="bloko-slider__active-zone"></div>'),n.b("\n"+o),n.b('    <div class="bloko-slider__range-mark Bloko-Slider-RangeMark"></div>'),n.b("\n"+o),n.b('    <div class="bloko-slider__available-mark Bloko-Slider-AvailableMark"></div>'),n.b("\n"),n.b("\n"+o),n.s(n.f("isRange",e,t,1),e,t,0,405,520,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <button type="button" class="bloko-slider__pin bloko-slider__pin_left Bloko-Slider-LeftPin"></button>'),n.b("\n"+o)}),e.pop()),n.b("\n"+o),n.b('    <button type="button" class="bloko-slider__pin bloko-slider__pin_right Bloko-Slider-RightPin"></button>'),n.b("\n"),n.b("\n"+o),n.s(n.f("labels",e,t,1),e,t,0,658,895,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <div class="bloko-slider__label'),n.s(n.f("available",e,t,1),e,t,1,0,0,"")||(n.b("\n"+o),n.b("                    bloko-slider__label_unavailable")),n.b('" style="left: '),n.b(n.v(n.f("offset",e,t,0))),n.b('%;">'),n.b("\n"+o),n.b('            <div class="bloko-slider__label-content">'),n.b(n.v(n.f("text",e,t,0))),n.b("</div>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o)}),e.pop()),n.b("\n"+o),n.s(n.f("marks",e,t,1),e,t,0,922,1001,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <div class="bloko-slider__mark" style="left: '),n.b(n.v(n.f("offset",e,t,0))),n.b('%;"></div>'),n.b("\n"+o)}),e.pop()),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-slider  Bloko-Slider-ScaleLine\n            {{#hasLabels}} bloko-slider_with-labels{{/hasLabels}}\n            {{#isSecondary}} bloko-slider_secondary{{/isSecondary}}">\n\n    <div class="bloko-slider__active-zone"></div>\n    <div class="bloko-slider__range-mark Bloko-Slider-RangeMark"></div>\n    <div class="bloko-slider__available-mark Bloko-Slider-AvailableMark"></div>\n\n    {{#isRange}}\n        <button type="button" class="bloko-slider__pin bloko-slider__pin_left Bloko-Slider-LeftPin"></button>\n    {{/isRange}}\n\n    <button type="button" class="bloko-slider__pin bloko-slider__pin_right Bloko-Slider-RightPin"></button>\n\n    {{#labels}}\n        <div class="bloko-slider__label{{^available}}\n                    bloko-slider__label_unavailable{{/available}}" style="left: {{offset}}%;">\n            <div class="bloko-slider__label-content">{{text}}</div>\n        </div>\n    {{/labels}}\n\n    {{#marks}}\n        <div class="bloko-slider__mark" style="left: {{offset}}%;"></div>\n    {{/marks}}\n</div>\n',n)},836801:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="suggest"></div>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="suggest"></div>\n',n)},661754:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b(n.v(n.f("text",e,t,0))),n.b("\n"),n.fl()},partials:{},subs:{}},"{{text}}\n",n)},778468:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<ul class="suggest__items Bloko-Suggest-List" data-qa="bloko-suggest-list">'),n.b("\n"+o),n.s(n.f("items",e,t,1),e,t,0,86,202,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('    <li class="suggest__item Bloko-Suggest-Item"'),n.b("\n"+o),n.b('        data-datum-id="'),n.b(n.v(n.f("datumId",e,t,0))),n.b('">'),n.b("\n"+o),n.b(n.rp("<item0",e,t,"        ")),n.b("    </li>"),n.b("\n"+o)}),e.pop()),n.b("</ul>"),n.b("\n"),n.fl()},partials:{"<item0":{name:"item",partials:{},subs:{}}},subs:{}},'<ul class="suggest__items Bloko-Suggest-List" data-qa="bloko-suggest-list">\n{{#items}}\n    <li class="suggest__item Bloko-Suggest-Item"\n        data-datum-id="{{datumId}}">\n        {{> item}}\n    </li>\n{{/items}}\n</ul>\n',n)},841103:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tabs-left-glare"></div>'),n.fl()},partials:{},subs:{}},'<div class="bloko-tabs-left-glare"></div>',n)},671410:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tabs__icon-container Bloko-Tabs-More-Button">'),n.b("\n"+o),n.b('    <button type="button" class="bloko-icon-link Bloko-Tabs-More-Icon"></button>'),n.b("\n"+o),n.b('    <div class="g-hidden">'),n.b("\n"+o),n.b('        <div class="bloko-tabs__dropdown Bloko-Tabs-Dropdown-Data">'),n.b("\n"+o),n.s(n.f("items",e,t,1),e,t,0,262,298,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b("                "),n.b(n.t(n.d(".",e,t,0))),n.b("\n"+o)}),e.pop()),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-tabs__icon-container Bloko-Tabs-More-Button">\n    <button type="button" class="bloko-icon-link Bloko-Tabs-More-Icon"></button>\n    <div class="g-hidden">\n        <div class="bloko-tabs__dropdown Bloko-Tabs-Dropdown-Data">\n            {{#items}}\n                {{&.}}\n            {{/items}}\n        </div>\n    </div>\n</div>\n',n)},863808:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tabs-right-glare"></div>'),n.fl()},partials:{},subs:{}},'<div class="bloko-tabs-right-glare"></div>',n)},380506:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tabs__items"></div>'),n.fl()},partials:{},subs:{}},'<div class="bloko-tabs__items"></div>',n)},931379:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("count",e,t,1),e,t,0,10,196,"{{ }}
1")&&(n.rs(e,t,function(e,t,n){n.b('    <span class="bloko-tag__section'),n.b("\n"+o),n.b("                 bloko-tag__section_count"),n.b("\n"+o),n.b('                 Bloko-TagList-Count"'),n.b("\n"+o),n.b('            data-qa="bloko-tag__count"'),n.b("\n"+o),n.b("            >"),n.b(n.v(n.f("count",e,t,0))),n.b("</span>"),n.b("\n"+o)}),e.pop()),n.fl()},partials:{},subs:{}},'{{#count}}\n    <span class="bloko-tag__section\n                 bloko-tag__section_count\n                 Bloko-TagList-Count"\n            data-qa="bloko-tag__count"\n            >{{count}}</span>\n{{/count}}\n',n)},994145:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("items",e,t,1),e,t,0,10,772,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('    <span class="bloko-tag'),n.b("\n"+o),n.b("                 bloko-tag_inline"),n.b("\n"+o),n.b("                 "),n.s(n.f("isNew",e,t,1),e,t,0,99,117,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_animated")}),e.pop()),n.b("\n"+o),n.b("                 "),n.s(n.f("stretched",e,t,1),e,t,0,159,178,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_stretched")}),e.pop()),n.b("\n"+o),n.b("                 "),n.s(n.f("disabled",e,t,1),e,t,0,223,241,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_disabled")}),e.pop()),n.b("\n"+o),n.b("                 bloko-tag_countable"),n.b("\n"+o),n.b('                 Bloko-TagList-Tag"'),n.b("\n"+o),n.b('          data-tag-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('          data-qa="bloko-tag_inline">'),n.b("\n"+o),n.s(n.f("hidden",e,t,1),e,t,0,416,456,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<hiddenSection0",e,t,"            "))}),e.pop()),n.b(n.rp("<textSection1",e,t,"        ")),n.b(n.rp("<countSection2",e,t,"        ")),n.s(n.f("changeable",e,t,1),e,t,0,542,717,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.s(o.f("voted",e,t,1),e,t,0,565,615,"{{ }}")&&(o.rs(e,t,function(e,t,o){o.b(o.rp("<decreaseSection3",e,t,"                "))}),e.pop()),o.s(o.f("voted",e,t,1),e,t,1,0,0,"")||o.b(o.rp("<increaseSection4",e,t,"                "))}),e.pop()),n.b(n.rp("<removeSection5",e,t,"        ")),n.b("    </span>"),n.b("\n"+o)}),e.pop()),n.fl()},partials:{"<hiddenSection0":{name:"hiddenSection",partials:{},subs:{}},"<textSection1":{name:"textSection",partials:{},subs:{}},"<countSection2":{name:"countSection",partials:{},subs:{}},"<decreaseSection3":{name:"decreaseSection",partials:{},subs:{}},"<increaseSection4":{name:"increaseSection",partials:{},subs:{}},"<removeSection5":{name:"removeSection",partials:{},subs:{}}},subs:{}},'{{#items}}\n    <span class="bloko-tag\n                 bloko-tag_inline\n                 {{#isNew}}bloko-tag_animated{{/isNew}}\n                 {{#stretched}}bloko-tag_stretched{{/stretched}}\n                 {{#disabled}}bloko-tag_disabled{{/disabled}}\n                 bloko-tag_countable\n                 Bloko-TagList-Tag"\n          data-tag-id="{{id}}"\n          data-qa="bloko-tag_inline">\n        {{#hidden}}\n            {{>hiddenSection}}\n        {{/hidden}}\n        {{>textSection}}\n        {{>countSection}}\n        {{#changeable}}\n            {{#voted}}\n                {{>decreaseSection}}\n            {{/voted}}\n            {{^voted}}\n                {{>increaseSection}}\n            {{/voted}}\n        {{/changeable}}\n        {{>removeSection}}\n    </span>\n{{/items}}\n',n)},468983:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b("<span"),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b(' class="bloko-icon-dynamic"'),n.b(">"),n.b("\n"+o),n.b('    <button class="bloko-tag-button Bloko-TagList-DecreaseIcon'),n.b("\n"+o),n.b("                   "),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b("Bloko-TagList-Decrease"),n.b('"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,217,236,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            data-qa="bloko-tag__decrease"'),n.b("\n"+o),n.b('            type="button"></button>'),n.b("\n"+o),n.b("</span>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<span{{^disabled}} class="bloko-icon-dynamic"{{/disabled}}>\n    <button class="bloko-tag-button Bloko-TagList-DecreaseIcon\n                   {{^disabled}}Bloko-TagList-Decrease{{/disabled}}"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            data-qa="bloko-tag__decrease"\n            type="button"></button>\n</span>\n',n)},344048:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("editable",e,t,1),e,t,0,13,1216,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.s(n.f("edited",e,t,1),e,t,0,25,686,"{{ }}
1")&&(n.rs(e,t,function(e,t,n){n.b("<span"),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b(' class="bloko-icon-dynamic"'),n.b(">"),n.b("\n"+o),n.b('    <button class="bloko-tag-button'),n.b("\n"+o),n.b("                   Bloko-TagList-EditControl"),n.b("\n"+o),n.b('                   Bloko-TagList-EditCancel"'),n.b("\n"+o),n.b('            data-qa="bloko-tag-edit-cancel"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,281,300,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            type="button"></button>'),n.b("\n"+o),n.b("</span>"),n.b("\n"+o),n.b("<span"),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b(' class="bloko-icon-dynamic"'),n.b(">"),n.b("\n"+o),n.b('    <button class="bloko-tag-button'),n.b("\n"+o),n.b("                   Bloko-TagList-EditControl"),n.b("\n"+o),n.b('                   Bloko-TagList-EditDone"'),n.b("\n"+o),n.b('            data-qa="bloko-tag-edit-done"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,609,628,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            type="button"></button>'),n.b("\n"+o),n.b("</span>"),n.b("\n"+o)}),e.pop()),n.s(n.f("edited",e,t,1),e,t,1,0,0,"")||(n.b("<span"),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b(' class="bloko-icon-dynamic"'),n.b(">"),n.b("\n"+o),n.b('    <button class="bloko-tag-button'),n.b("\n"+o),n.b('                   Bloko-TagList-EditAction"'),n.b("\n"+o),n.b('            data-qa="bloko-tag-edit-action"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,920,939,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            type="button">'),n.b("\n"+o),n.b('        <span class="bloko-icon'),n.b("\n"+o),n.b("                     bloko-icon_edit"),n.b("\n"+o),n.b("                     bloko-icon_initial-impact"),n.b("\n"+o),n.b("                     "),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b("bloko-icon_highlighted-action"),n.b('"></span>'),n.b("\n"+o),n.b("    </button>"),n.b("\n"+o),n.b("</span>"),n.b("\n"+o))}),e.pop()),n.fl()},partials:{},subs:{}},'{{#editable}}\n{{#edited}}\n<span{{^disabled}} class="bloko-icon-dynamic"{{/disabled}}>\n    <button class="bloko-tag-button\n                   Bloko-TagList-EditControl\n                   Bloko-TagList-EditCancel"\n            data-qa="bloko-tag-edit-cancel"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            type="button"></button>\n</span>\n<span{{^disabled}} class="bloko-icon-dynamic"{{/disabled}}>\n    <button class="bloko-tag-button\n                   Bloko-TagList-EditControl\n                   Bloko-TagList-EditDone"\n            data-qa="bloko-tag-edit-done"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            type="button"></button>\n</span>\n{{/edited}}\n{{^edited}}\n<span{{^disabled}} class="bloko-icon-dynamic"{{/disabled}}>\n    <button class="bloko-tag-button\n                   Bloko-TagList-EditAction"\n            data-qa="bloko-tag-edit-action"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            type="button">\n        <span class="bloko-icon\n                     bloko-icon_edit\n                     bloko-icon_initial-impact\n                     {{^disabled}}bloko-icon_highlighted-action{{/disabled}}"></span>\n    </button>\n</span>\n{{/edited}}\n{{/editable}}\n',n)},315062:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("editable",e,t,1),e,t,0,13,288,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.s(n.f("edited",e,t,1),e,t,0,25,276,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('<span class="bloko-tag__section bloko-tag__section_edit">'),n.b("\n"+o),n.b('    <input type="text"'),n.b("\n"+o),n.b('           class="bloko-input-text bloko-input-text_scale-small Bloko-TagList-EditInput"'),n.b("\n"+o),n.b('           value="'),n.b(n.v(n.f("text",e,t,0))),n.b('"'),n.b("\n"+o),n.b('           data-qa="bloko-tag-edit-input"/>'),n.b("\n"+o),n.b("</span>"),n.b("\n"+o)}),e.pop())}),e.pop()),n.fl()},partials:{},subs:{}},'{{#editable}}\n{{#edited}}\n<span class="bloko-tag__section bloko-tag__section_edit">\n    <input type="text"\n           class="bloko-input-text bloko-input-text_scale-small Bloko-TagList-EditInput"\n           value="{{text}}"\n           data-qa="bloko-tag-edit-input"/>\n</span>\n{{/edited}}\n{{/editable}}\n',n)},680112:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<input type="hidden"'),n.b("\n"+o),n.b('       class="Bloko-TagList-Value"'),n.b("\n"+o),n.b('       name="'),n.b(n.v(n.f("hidden",e,t,0))),n.b('"'),n.b("\n"+o),n.b('       value="'),n.b(n.v(n.f("hiddenValue",e,t,0))),n.b('"'),n.b("\n"+o),n.b('       data-tag="hidden-input"/>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<input type="hidden"\n       class="Bloko-TagList-Value"\n       name="{{hidden}}"\n       value="{{hiddenValue}}"\n       data-tag="hidden-input"/>\n',n)},245596:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<button class="bloko-tag-button'),n.b("\n"+o),n.b("               bloko-tag-button_increase"),n.b("\n"+o),n.b("               Bloko-TagList-IncreaseIcon"),n.b("\n"+o),n.b("               "),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b("Bloko-TagList-Increase"),n.b('"'),n.b("\n"+o),n.b("        "),n.s(n.f("disabled",e,t,1),e,t,0,201,220,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('        data-qa="bloko-tag__increase"'),n.b("\n"+o),n.b('        type="button"></button>'),n.b("\n"),n.fl()},partials:{},subs:{}},'<button class="bloko-tag-button\n               bloko-tag-button_increase\n               Bloko-TagList-IncreaseIcon\n               {{^disabled}}Bloko-TagList-Increase{{/disabled}}"\n        {{#disabled}}disabled="disabled"{{/disabled}}\n        data-qa="bloko-tag__increase"\n        type="button"></button>\n',n)},239585:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("items",e,t,1),e,t,0,10,783,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('<span class="bloko-tag'),n.b("\n"+o),n.b("             "),n.s(n.f("stretched",e,t,1),e,t,0,61,80,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_stretched")}),e.pop()),n.b("\n"+o),n.b("             "),n.s(n.f("stretched",e,t,1),e,t,1,0,0,"")||n.b("bloko-tag_inline"),n.b("\n"+o),n.b("             "),n.s(n.f("isNew",e,t,1),e,t,0,176,194,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_animated")}),e.pop()),n.b("\n"+o),n.b("             "),n.s(n.f("selected",e,t,1),e,t,0,231,249,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_selected")}),e.pop()),n.b("\n"+o),n.b("             "),n.s(n.f("selectable",e,t,1),e,t,0,291,311,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_selectable")}),e.pop()),n.b("\n"+o),n.b("             "),n.s(n.f("disabled",e,t,1),e,t,0,353,371,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_disabled")}),e.pop()),n.b("\n"+o),n.b('             Bloko-TagList-Tag"'),n.b("\n"+o),n.b('      data-tag-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('      data-qa="bloko-tag'),n.b("\n"+o),n.b("               bloko-tag_inline"),n.b("\n"+o),n.b("               "),n.s(n.f("selected",e,t,1),e,t,0,529,547,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_selected")}),e.pop()),n.b("\n"+o),n.b("               "),n.s(n.f("disabled",e,t,1),e,t,0,589,607,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_disabled")}),e.pop()),n.b('">'),n.b("\n"+o),n.s(n.f("hidden",e,t,1),e,t,0,638,670,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(o.rp("<hiddenSection0",e,t,"        "))}),e.pop()),n.b(n.rp("<textSection1",e,t,"    ")),n.b(n.rp("<editableSection2",e,t,"    ")),n.b(n.rp("<editableAction3",e,t,"    ")),n.b(n.rp("<removeSection4",e,t,"    ")),n.b("</span>"),n.b("\n"+o)}),e.pop()),n.fl()},partials:{"<hiddenSection0":{name:"hiddenSection",partials:{},subs:{}},"<textSection1":{name:"textSection",partials:{},subs:{}},"<editableSection2":{name:"editableSection",partials:{},subs:{}},"<editableAction3":{name:"editableAction",partials:{},subs:{}},"<removeSection4":{name:"removeSection",partials:{},subs:{}}},subs:{}},'{{#items}}\n<span class="bloko-tag\n             {{#stretched}}bloko-tag_stretched{{/stretched}}\n             {{^stretched}}bloko-tag_inline{{/stretched}}\n             {{#isNew}}bloko-tag_animated{{/isNew}}\n             {{#selected}}bloko-tag_selected{{/selected}}\n             {{#selectable}}bloko-tag_selectable{{/selectable}}\n             {{#disabled}}bloko-tag_disabled{{/disabled}}\n             Bloko-TagList-Tag"\n      data-tag-id="{{id}}"\n      data-qa="bloko-tag\n               bloko-tag_inline\n               {{#selected}}bloko-tag_selected{{/selected}}\n               {{#disabled}}bloko-tag_disabled{{/disabled}}">\n    {{#hidden}}\n        {{>hiddenSection}}\n    {{/hidden}}\n    {{>textSection}}\n    {{>editableSection}}\n    {{>editableAction}}\n    {{>removeSection}}\n</span>\n{{/items}}\n',n)}
1,176159:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("items",e,t,1),e,t,0,10,847,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('<div class="bloko-nested-tag'),n.b("\n"+o),n.b("            Bloko-TagList-Tag"),n.b("\n"+o),n.b('            Bloko-TagList-ParentTag"'),n.b("\n"+o),n.b('     data-tag-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tag'),n.b("\n"+o),n.b('              bloko-tag_parent">'),n.b("\n"+o),n.b('    <span class="bloko-tag'),n.b("\n"+o),n.b("                 bloko-tag_parent"),n.b("\n"+o),n.b("                 "),n.s(n.f("disabled",e,t,1),e,t,0,281,299,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_disabled")}),e.pop()),n.b("\n"+o),n.b("                 "),n.s(n.f("isNew",e,t,1),e,t,0,340,358,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_animated")}),e.pop()),n.b('">'),n.b("\n"+o),n.s(n.f("renderHiddenParentField",e,t,1),e,t,0,407,499,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.s(o.f("hidden",e,t,1),e,t,0,431,479,"{{ }}")&&(o.rs(e,t,function(e,t,o){o.b(o.rp("<hiddenSection0",e,t,"                "))}),e.pop())}),e.pop()),n.b(n.rp("<textSection1",e,t,"        ")),n.b(n.rp("<removeSection2",e,t,"        ")),n.b("    </span>"),n.b("\n"+o),n.s(n.d("items.length",e,t,1),e,t,0,613,822,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('    <div class="bloko-nested-tag__children'),n.b("\n"+o),n.b("                "),n.s(n.f("expanded",e,t,1),e,t,0,686,720,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-nested-tag__children_visible")}),e.pop()),n.b("\n"+o),n.b('                Bloko-TagList-Children">'),n.b("\n"+o),n.b(n.rp("<nestedChildSection3",e,t,"        ")),n.b("    </div>"),n.b("\n"+o)}),e.pop()),n.b("</div>"),n.b("\n"+o)}),e.pop()),n.fl()},partials:{"<hiddenSection0":{name:"hiddenSection",partials:{},subs:{}},"<textSection1":{name:"textSection",partials:{},subs:{}},"<removeSection2":{name:"removeSection",partials:{},subs:{}},"<nestedChildSection3":{name:"nestedChildSection",partials:{},subs:{}}},subs:{}},'{{#items}}\n<div class="bloko-nested-tag\n            Bloko-TagList-Tag\n            Bloko-TagList-ParentTag"\n     data-tag-id="{{id}}"\n     data-qa="bloko-tag\n              bloko-tag_parent">\n    <span class="bloko-tag\n                 bloko-tag_parent\n                 {{#disabled}}bloko-tag_disabled{{/disabled}}\n                 {{#isNew}}bloko-tag_animated{{/isNew}}">\n        {{#renderHiddenParentField}}\n            {{#hidden}}\n                {{>hiddenSection}}\n            {{/hidden}}\n        {{/renderHiddenParentField}}\n        {{>textSection}}\n        {{>removeSection}}\n    </span>\n    {{#items.length}}\n    <div class="bloko-nested-tag__children\n                {{#expanded}}bloko-nested-tag__children_visible{{/expanded}}\n                Bloko-TagList-Children">\n        {{>nestedChildSection}}\n    </div>\n    {{/items.length}}\n</div>\n{{/items}}\n',n)},166965:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("items",e,t,1),e,t,0,10,658,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('<div class="bloko-tag'),n.b("\n"+o),n.b("            bloko-tag_child"),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,86,104,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_disabled")}),e.pop()),n.b("\n"+o),n.b("            "),n.s(n.f("isNew",e,t,1),e,t,0,140,158,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("bloko-tag_animated")}),e.pop()),n.b("\n"+o),n.b('            Bloko-TagList-Tag"'),n.b("\n"+o),n.b('     data-tag-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tag'),n.b("\n"+o),n.b('              bloko-tag_child">'),n.b("\n"+o),n.s(n.f("hidden",e,t,1),e,t,0,297,383,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.s(o.f("childHidden",e,t,1),e,t,1,0,0,"")||o.b(o.rp("<hiddenSection0",e,t,"            "))}),e.pop()),n.b(n.rp("<textSection1",e,t,"    ")),n.b(n.rp("<removeSection2",e,t,"    ")),n.s(n.f("childHidden",e,t,1),e,t,0,459,634,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('    <input class="Bloko-TagList-Value"'),n.b("\n"+o),n.b('           type="hidden"'),n.b("\n"+o),n.b('           name="'),n.b(n.v(n.f("childHidden",e,t,0))),n.b('"'),n.b("\n"+o),n.b('           value="'),n.b(n.v(n.f("hiddenValue",e,t,0))),n.b('"'),n.b("\n"+o),n.b('           data-tag="hidden-input"/>'),n.b("\n"+o)}),e.pop()),n.b("</div>"),n.b("\n"+o)}),e.pop()),n.fl()},partials:{"<hiddenSection0":{name:"hiddenSection",partials:{},subs:{}},"<textSection1":{name:"textSection",partials:{},subs:{}},"<removeSection2":{name:"removeSection",partials:{},subs:{}}},subs:{}},'{{#items}}\n<div class="bloko-tag\n            bloko-tag_child\n            {{#disabled}}bloko-tag_disabled{{/disabled}}\n            {{#isNew}}bloko-tag_animated{{/isNew}}\n            Bloko-TagList-Tag"\n     data-tag-id="{{id}}"\n     data-qa="bloko-tag\n              bloko-tag_child">\n    {{#hidden}}\n        {{^childHidden}}\n            {{>hiddenSection}}\n        {{/childHidden}}\n    {{/hidden}}\n    {{>textSection}}\n    {{>removeSection}}\n    {{#childHidden}}\n    <input class="Bloko-TagList-Value"\n           type="hidden"\n           name="{{childHidden}}"\n           value="{{hiddenValue}}"\n           data-tag="hidden-input"/>\n    {{/childHidden}}\n</div>\n{{/items}}\n',n)},123086:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.f("removable",e,t,1),e,t,0,14,298,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.s(n.f("edited",e,t,1),e,t,1,0,0,"")||(n.b("<span"),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b(' class="bloko-icon-dynamic"'),n.b(">"),n.b("\n"+o),n.b('    <button class="bloko-tag-button Bloko-TagList-Remove"'),n.b("\n"+o),n.b('            data-qa="bloko-tag__cross"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,209,228,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            type="button"></button>'),n.b("\n"+o),n.b("</span>"),n.b("\n"+o))}),e.pop()),n.fl()},partials:{},subs:{}},'{{#removable}}\n{{^edited}}\n<span{{^disabled}} class="bloko-icon-dynamic"{{/disabled}}>\n    <button class="bloko-tag-button Bloko-TagList-Remove"\n            data-qa="bloko-tag__cross"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            type="button"></button>\n</span>\n{{/edited}}\n{{/removable}}\n',n)},292821:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.s(n.d("items.length",e,t,1),e,t,0,17,622,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.s(n.f("edited",e,t,1),e,t,1,0,0,"")||(n.b('    <button class="bloko-tag__section'),n.b("\n"+o),n.b("                   bloko-tag__section_text"),n.b("\n"+o),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||(n.b("                       bloko-tag__section_active"),n.b("\n"+o),n.b("                       Bloko-TagList-Expand"),n.b("\n"+o)),n.b("                   Bloko-TagList-ExpandedIcon"),n.b("\n"+o),n.b('                   Bloko-TagList-SectionText"'),n.b("\n"+o),n.b("            "),n.s(n.f("disabled",e,t,1),e,t,0,387,406,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('            type="button">
1'),n.b("\n"+o),n.b('        <span class="Bloko-TagList-Text"'),n.b("\n"+o),n.b('              data-qa="bloko-tag__text'),n.s(n.f("selectable",e,t,1),e,t,0,541,563,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-tag__selectable")}),e.pop()),n.b('">'),n.b(n.v(n.f("text",e,t,0))),n.b("</span>"),n.b("\n"+o),n.b("    </button>"),n.b("\n"+o))}),e.pop()),n.s(n.d("items.length",e,t,1),e,t,1,0,0,"")||n.s(n.f("edited",e,t,1),e,t,1,0,0,"")||(n.s(n.f("selectable",e,t,1),e,t,1,0,0,"")||(n.b('        <span class="bloko-tag__section'),n.b("\n"+o),n.b("                     bloko-tag__section_text"),n.b("\n"+o),n.b('                     Bloko-TagList-SectionText">'),n.b("\n"+o)),n.s(n.f("selectable",e,t,1),e,t,0,863,1223,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <button class="bloko-tag__section'),n.b("\n"+o),n.b("                       bloko-tag__section_text"),n.b("\n"+o),n.b("                       "),n.s(n.f("disabled",e,t,1),e,t,1,0,0,"")||n.b("bloko-tag__section_active"),n.b("\n"+o),n.b("                       Bloko-TagList-Selectable"),n.b("\n"+o),n.b('                       Bloko-TagList-SectionText"'),n.b("\n"+o),n.b("                "),n.s(n.f("disabled",e,t,1),e,t,0,1155,1174,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b('disabled="disabled"')}),e.pop()),n.b("\n"+o),n.b('                type="button">'),n.b("\n"+o)}),e.pop()),n.b('        <span class="Bloko-TagList-Text"'),n.b("\n"+o),n.b('              data-qa="bloko-tag__text'),n.s(n.f("selectable",e,t,1),e,t,0,1333,1355,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-tag__selectable")}),e.pop()),n.b('">'),n.b(n.rp("<textTemplate0",e,t,"")),n.b("</span>"),n.b("\n"+o),n.s(n.f("selectable",e,t,1),e,t,0,1416,1439,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b("        </button>"),n.b("\n"+o)}),e.pop()),n.s(n.f("selectable",e,t,1),e,t,1,0,0,"")||(n.b("        </span>"),n.b("\n"+o))),n.fl()},partials:{"<textTemplate0":{name:"textTemplate",partials:{},subs:{}}},subs:{}},'{{#items.length}}\n{{^edited}}\n    <button class="bloko-tag__section\n                   bloko-tag__section_text\n                   {{^disabled}}\n                       bloko-tag__section_active\n                       Bloko-TagList-Expand\n                   {{/disabled}}\n                   Bloko-TagList-ExpandedIcon\n                   Bloko-TagList-SectionText"\n            {{#disabled}}disabled="disabled"{{/disabled}}\n            type="button">\n        <span class="Bloko-TagList-Text"\n              data-qa="bloko-tag__text{{#selectable}} bloko-tag__selectable{{/selectable}}">{{text}}</span>\n    </button>\n{{/edited}}\n{{/items.length}}\n{{^items.length}}\n{{^edited}}\n    {{^selectable}}\n        <span class="bloko-tag__section\n                     bloko-tag__section_text\n                     Bloko-TagList-SectionText">\n    {{/selectable}}\n    {{#selectable}}\n        <button class="bloko-tag__section\n                       bloko-tag__section_text\n                       {{^disabled}}bloko-tag__section_active{{/disabled}}\n                       Bloko-TagList-Selectable\n                       Bloko-TagList-SectionText"\n                {{#disabled}}disabled="disabled"{{/disabled}}\n                type="button">\n    {{/selectable}}\n        <span class="Bloko-TagList-Text"\n              data-qa="bloko-tag__text{{#selectable}} bloko-tag__selectable{{/selectable}}">{{>textTemplate}}</span>\n    {{#selectable}}\n        </button>\n    {{/selectable}}\n    {{^selectable}}\n        </span>\n    {{/selectable}}\n{{/edited}}\n{{/items.length}}\n',n)},867657:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b(n.v(n.f("text",e,t,0))),n.fl()},partials:{},subs:{}},"{{text}}",n)},526304:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b("<div></div>"),n.b("\n"),n.fl()},partials:{},subs:{}},"<div></div>\n",n)},960541:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tree-selector-after-label'),n.s(n.d("items.length",e,t,1),e,t,0,60,114,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-tree-selector-after-label_parent-without-action")}),e.pop()),n.b('">'),n.b("\n"+o),n.b(n.rp("<afterLabelTemplate0",e,t,"    ")),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<afterLabelTemplate0":{name:"afterLabelTemplate",partials:{},subs:{}}},subs:{}},'<div class="bloko-tree-selector-after-label{{#items.length}} bloko-tree-selector-after-label_parent-without-action{{/items.length}}">\n    {{>afterLabelTemplate}}\n</div>\n',n)},4277:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tree-selector-after-label'),n.s(n.d("items.length",e,t,1),e,t,0,60,111,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b(" bloko-tree-selector-after-label_parent-with-action")}),e.pop()),n.b('">'),n.b("\n"+o),n.b(n.rp("<afterLabelTemplate0",e,t,"    ")),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<afterLabelTemplate0":{name:"afterLabelTemplate",partials:{},subs:{}}},subs:{}},'<div class="bloko-tree-selector-after-label{{#items.length}} bloko-tree-selector-after-label_parent-with-action{{/items.length}}">\n    {{>afterLabelTemplate}}\n</div>\n',n)},547022:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-TreeSelector-Element '),n.b("bloko-tree-selector-item "),n.b('bloko-tree-selector-item_no-children"'),n.b("\n"+o),n.b('     data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tree-selector-item '),n.b("bloko-tree-selector-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelector-SearchContent bloko-form-item">'),n.b("\n"+o),n.b('        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">'),n.b("\n"+o),n.b('            <label class="bloko-checkbox">'),n.b("\n"+o),n.b('                <input class="bloko-checkbox__input Bloko-TreeSelector-Input"'),n.b("\n"+o),n.b('                       name="'),n.b(n.v(n.f("name",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       value="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       data-qa="bloko-tree-selector-input '),n.b("bloko-tree-selector-input-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       autocomplete="off"'),n.b("\n"+o),n.s(n.f("disabled",e,t,1),e,t,0,794,865,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           disabled="disabled"'),n.b("\n"+o)}),e.pop()),n.s(n.f("selected",e,t,1),e,t,0,915,984,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           checked="checked"'),n.b("\n"+o)}),e.pop()),n.b('                       type="checkbox"/>
1'),n.b("\n"+o),n.b('                <span class="bloko-checkbox__text"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-item-text '),n.b("bloko-tree-selector-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.rp("<labelTemplate0",e,t,"")),n.b("</span>"),n.b("\n"+o),n.b("            </label>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o),n.b(n.rp("<afterLabelWrapperTemplate1",e,t,"        ")),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<labelTemplate0":{name:"labelTemplate",partials:{},subs:{}},"<afterLabelWrapperTemplate1":{name:"afterLabelWrapperTemplate",partials:{},subs:{}}},subs:{}},'<div class="Bloko-TreeSelector-Element {{!\n          }}bloko-tree-selector-item {{!\n          }}bloko-tree-selector-item_no-children"\n     data-id="{{id}}"\n     data-qa="bloko-tree-selector-item {{!\n            }}bloko-tree-selector-item-{{id}}">\n    <div class="Bloko-TreeSelector-SearchContent bloko-form-item">\n        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">\n            <label class="bloko-checkbox">\n                <input class="bloko-checkbox__input Bloko-TreeSelector-Input"\n                       name="{{name}}"\n                       value="{{id}}"\n                       data-qa="bloko-tree-selector-input {{!\n                              }}bloko-tree-selector-input-{{id}}"\n                       autocomplete="off"\n                       {{#disabled}}\n                           disabled="disabled"\n                       {{/disabled}}\n                       {{#selected}}\n                           checked="checked"\n                       {{/selected}}\n                       type="checkbox"/>\n                <span class="bloko-checkbox__text"\n                      data-qa="bloko-tree-selector-item-text {{!\n                             }}bloko-tree-selector-item-text-{{id}}">{{>labelTemplate}}</span>\n            </label>\n        </div>\n        {{>afterLabelWrapperTemplate}}\n    </div>\n</div>\n',n)},407448:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-TreeSelector-Element '),n.b("bloko-tree-selector-item "),n.b('bloko-tree-selector-item_no-children"'),n.b("\n"+o),n.b('     data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tree-selector-item '),n.b("bloko-tree-selector-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">'),n.b("\n"+o),n.b('        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">'),n.b("\n"+o),n.b('            <label class="bloko-radio">'),n.b("\n"+o),n.b('                <input class="bloko-radio__input Bloko-TreeSelector-Input"'),n.b("\n"+o),n.b('                       name="'),n.b(n.v(n.f("name",e,t,0))),n.s(n.f("parent",e,t,1),e,t,0,553,578,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("-"),o.b(o.v(o.d("parent.attributes.id",e,t,0)))}),e.pop()),n.b("-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       value="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       autocomplete="off"'),n.b("\n"+o),n.b('                       data-qa="bloko-tree-selector-input '),n.b("bloko-tree-selector-input-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       type="radio"'),n.b("\n"+o),n.s(n.f("disabled",e,t,1),e,t,0,878,949,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           disabled="disabled"'),n.b("\n"+o)}),e.pop()),n.s(n.f("selected",e,t,1),e,t,0,999,1068,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           checked="checked"'),n.b("\n"+o),n.b("                       ")}),e.pop()),n.b("/>"),n.b("\n"+o),n.b('                <span class="bloko-radio__text"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-item-text '),n.b("bloko-tree-selector-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.rp("<labelTemplate0",e,t,"")),n.b("</span>"),n.b("\n"+o),n.b("            </label>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o),n.b(n.rp("<afterLabelWrapperTemplate1",e,t,"        ")),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<labelTemplate0":{name:"labelTemplate",partials:{},subs:{}},"<afterLabelWrapperTemplate1":{name:"afterLabelWrapperTemplate",partials:{},subs:{}}},subs:{}},'<div class="Bloko-TreeSelector-Element {{!\n          }}bloko-tree-selector-item {{!\n          }}bloko-tree-selector-item_no-children"\n     data-id="{{id}}"\n     data-qa="bloko-tree-selector-item {{!\n            }}bloko-tree-selector-item-{{id}}">\n    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">\n        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">\n            <label class="bloko-radio">\n                <input class="bloko-radio__input Bloko-TreeSelector-Input"\n                       name="{{name}}{{#parent}}-{{parent.attributes.id}}{{/parent}}-{{id}}"\n                       value="{{id}}"\n                       autocomplete="off"\n                       data-qa="bloko-tree-selector-input {{!\n                              }}bloko-tree-selector-input-{{id}}"\n                       type="radio"\n                       {{#disabled}}
1\n                           disabled="disabled"\n                       {{/disabled}}\n                       {{#selected}}\n                           checked="checked"\n                       {{/selected}}/>\n                <span class="bloko-radio__text"\n                      data-qa="bloko-tree-selector-item-text {{!\n                             }}bloko-tree-selector-item-text-{{id}}">{{>labelTemplate}}</span>\n            </label>\n        </div>\n        {{>afterLabelWrapperTemplate}}\n    </div>\n</div>\n',n)},917965:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){return this.b(o=o||""),this.fl()},partials:{},subs:{}},"",n)},461673:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b(n.v(n.f("text",e,t,0))),n.b("\n"),n.fl()},partials:{},subs:{}},"{{text}}\n",n)},120500:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-TreeSelector-Element '),n.b('bloko-tree-selector-item"'),n.b("\n"+o),n.b('     data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tree-selector-item '),n.b("bloko-tree-selector-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-form-item Bloko-TreeSelector-SearchContent Bloko-TreeSelector-Action">'),n.b("\n"+o),n.b('        <div class="bloko-tree-selector-content">'),n.b("\n"+o),n.b('            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">'),n.b("\n"+o),n.b('                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-toogle-node '),n.b("bloko-tree-selector-toogle-node-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('                    <span class="bloko-icon-link Bloko-TreeSelector-Icon" tabindex="0"></span>'),n.b("</span>"),n.b("</span>"),n.b('<div class="bloko-tree-selector-item__text Bloko-TreeSelector-Expanded"'),n.b("\n"+o),n.b('                   data-qa="bloko-tree-selector-item-text '),n.b("bloko-tree-selector-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.rp("<labelTemplate0",e,t,"")),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o),n.b(n.rp("<afterLabelWrapperTemplate1",e,t,"            ")),n.b("        </div>"),n.b("\n"+o),n.b("    </div>"),n.b("\n"),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelector-List'),n.s(n.f("expanded",e,t,1),e,t,1,0,0,"")||n.b(" g-hidden"),n.b(" "),n.b('bloko-tree-selector__items"'),n.b("\n"+o),n.b('         data-qa="bloko-tree-selector-items '),n.b("bloko-tree-selector-items_"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.t(n.f("itemsTemplate",e,t,0))),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<labelTemplate0":{name:"labelTemplate",partials:{},subs:{}},"<afterLabelWrapperTemplate1":{name:"afterLabelWrapperTemplate",partials:{},subs:{}}},subs:{}},'<div class="Bloko-TreeSelector-Element {{!\n          }}bloko-tree-selector-item"\n     data-id="{{id}}"\n     data-qa="bloko-tree-selector-item {{!\n            }}bloko-tree-selector-item-{{id}}">\n    <div class="bloko-form-item Bloko-TreeSelector-SearchContent Bloko-TreeSelector-Action">\n        <div class="bloko-tree-selector-content">\n            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">\n                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"\n                      data-qa="bloko-tree-selector-toogle-node {{!\n                             }}bloko-tree-selector-toogle-node-{{id}}">\n                    <span class="bloko-icon-link Bloko-TreeSelector-Icon" tabindex="0"></span>{{!\n                }}</span>{{!\n            }}</span>{{!\n            }}<div class="bloko-tree-selector-item__text Bloko-TreeSelector-Expanded"\n                   data-qa="bloko-tree-selector-item-text {{!\n                          }}bloko-tree-selector-item-text-{{id}}">{{>labelTemplate}}\n            </div>\n            {{>afterLabelWrapperTemplate}}\n        </div>\n    </div>\n\n    <div class="Bloko-TreeSelector-List{{^expanded}} g-hidden{{/expanded}} {{!\n              }}bloko-tree-selector__items"\n         data-qa="bloko-tree-selector-items {{!\n                }}bloko-tree-selector-items_{{id}}">{{{itemsTemplate}}}\n    </div>\n</div>\n',n)},468769:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-TreeSelector-Element '),n.b("bloko-tree-selector-item "),n.b('bloko-tree-selector-item_has-children-h
1as-action"'),n.b("\n"+o),n.b('     data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tree-selector-item '),n.b("bloko-tree-selector-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">'),n.b("\n"+o),n.b('        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">'),n.b("\n"+o),n.b('            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">'),n.b("\n"+o),n.b('                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-toogle-node '),n.b("bloko-tree-selector-toogle-node-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('                    <span class="bloko-icon-link Bloko-TreeSelector-Icon"></span>'),n.b("</span>"),n.b("</span>"),n.b('<label class="bloko-checkbox">'),n.b("\n"+o),n.b('                <input class="bloko-checkbox__input Bloko-TreeSelector-Input"'),n.b("\n"+o),n.b('                       name="'),n.b(n.v(n.f("name",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       value="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       data-qa="bloko-tree-selector-input '),n.b("bloko-tree-selector-input-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       autocomplete="off"'),n.b("\n"+o),n.b('                       type="checkbox"'),n.b("\n"+o),n.s(n.f("disabled",e,t,1),e,t,0,1297,1368,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           disabled="disabled"'),n.b("\n"+o)}),e.pop()),n.s(n.f("selected",e,t,1),e,t,0,1418,1487,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           checked="checked"'),n.b("\n"+o),n.b("                       ")}),e.pop()),n.b("/>"),n.b("\n"+o),n.b('                <span class="bloko-checkbox__text"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-item-text '),n.b("bloko-tree-selector-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b(n.rp("<labelTemplate0",e,t,"                    ")),n.b("                </span>"),n.b("\n"+o),n.b("            </label>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o),n.b(n.rp("<afterLabelWrapperTemplate1",e,t,"        ")),n.b("    </div>"),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelector-List '),n.s(n.f("expanded",e,t,1),e,t,1,0,0,"")||n.b(" g-hidden"),n.b(' bloko-tree-selector__items"'),n.b("\n"+o),n.b('         data-qa="bloko-tree-selector-items '),n.b("bloko-tree-selector-items-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.t(n.f("itemsTemplate",e,t,0))),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<labelTemplate0":{name:"labelTemplate",partials:{},subs:{}},"<afterLabelWrapperTemplate1":{name:"afterLabelWrapperTemplate",partials:{},subs:{}}},subs:{}},'<div class="Bloko-TreeSelector-Element {{!\n          }}bloko-tree-selector-item {{!\n          }}bloko-tree-selector-item_has-children-has-action"\n     data-id="{{id}}"\n     data-qa="bloko-tree-selector-item {{!\n            }}bloko-tree-selector-item-{{id}}">\n    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">\n        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">\n            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">\n                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"\n                      data-qa="bloko-tree-selector-toogle-node {{!\n                             }}bloko-tree-selector-toogle-node-{{id}}">\n                    <span class="bloko-icon-link Bloko-TreeSelector-Icon"></span>{{!\n              }}</span>{{!\n           }}</span>{{!\n           }}<label class="bloko-checkbox">\n                <input class="bloko-checkbox__input Bloko-TreeSelector-Input"\n                       name="{{ name }}"\n                       value="{{id}}"\n                       data-qa="bloko-tree-selector-input {{!\n                              }}bloko-tree-selector-input-{{id}}"\n                       autocomplete="off"\n                       type="checkbox"\n                       {{#disabled}}
1\n                           disabled="disabled"\n                       {{/disabled}}\n                       {{#selected}}\n                           checked="checked"\n                       {{/selected}}/>\n                <span class="bloko-checkbox__text"\n                      data-qa="bloko-tree-selector-item-text {{!\n                             }}bloko-tree-selector-item-text-{{id}}">\n                    {{>labelTemplate}}\n                </span>\n            </label>\n        </div>\n        {{>afterLabelWrapperTemplate}}\n    </div>\n    <div class="Bloko-TreeSelector-List {{^expanded}} g-hidden{{/expanded}} bloko-tree-selector__items"\n         data-qa="bloko-tree-selector-items {{!\n                }}bloko-tree-selector-items-{{id}}">{{{itemsTemplate}}}\n    </div>\n</div>\n',n)},545617:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="Bloko-TreeSelector-Element '),n.b("bloko-tree-selector-item "),n.b('bloko-tree-selector-item_has-children-has-action"'),n.b("\n"+o),n.b('     data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('     data-qa="bloko-tree-selector-item '),n.b("bloko-tree-selector-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">'),n.b("\n"+o),n.b('        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">'),n.b("\n"+o),n.b('            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">'),n.b("\n"+o),n.b('                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-toogle-node '),n.b("bloko-tree-selector-toogle-node-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('                    <span class="bloko-icon-link Bloko-TreeSelector-Icon"></span>'),n.b("</span>"),n.b("</span>"),n.b('<label class="bloko-radio">'),n.b("\n"+o),n.b('                <input class="bloko-radio__input Bloko-TreeSelector-Input"'),n.b("\n"+o),n.b('                       name="'),n.b(n.v(n.f("name",e,t,0))),n.b("-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       type="radio"'),n.b("\n"+o),n.b('                       value="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                       autocomplete="off"'),n.b("\n"+o),n.b('                       data-qa="bloko-tree-selector-input '),n.b("bloko-tree-selector-input-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.s(n.f("disabled",e,t,1),e,t,0,1291,1362,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           disabled="disabled"'),n.b("\n"+o)}),e.pop()),n.s(n.f("selected",e,t,1),e,t,0,1412,1481,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('                           checked="checked"'),n.b("\n"+o),n.b("                       ")}),e.pop()),n.b("/>"),n.b("\n"+o),n.b('                <span class="bloko-radio__text"'),n.b("\n"+o),n.b('                      data-qa="bloko-tree-selector-item-text '),n.b("bloko-tree-selector-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b(n.rp("<labelTemplate0",e,t,"                    ")),n.b("                </span>"),n.b("\n"+o),n.b("            </label>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o),n.b(n.rp("<afterLabelWrapperTemplate1",e,t,"        ")),n.b("    </div>"),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelector-List '),n.s(n.f("expanded",e,t,1),e,t,1,0,0,"")||n.b("g-hidden"),n.b(' bloko-tree-selector__items"'),n.b("\n"+o),n.b('        data-qa="bloko-tree-selector-items '),n.b("bloko-tree-selector-items-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.t(n.f("itemsTemplate",e,t,0))),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<labelTemplate0":{name:"labelTemplate",partials:{},subs:{}},"<afterLabelWrapperTemplate1":{name:"afterLabelWrapperTemplate",partials:{},subs:{}}},subs:{}},'<div class="Bloko-TreeSelector-Element {{!\n          }}bloko-tree-selector-item {{!\n          }}bloko-tree-selector-item_has-children-has-action"\n     data-id="{{id}}"\n     data-qa="bloko-tree-selector-item {{!\n            }}bloko-tree-selector-item-{{id}}">\n    <div class="bloko-form-item Bloko-TreeSelector-SearchContent">\n        <div class="bloko-tree-selector-content Bloko-TreeSelector-Action">
1\n            <span class="bloko-tree-selector-item-spacer bloko-tree-selector-item-spacer_legacy">\n                <span class="bloko-icon-dynamic Bloko-TreeSelector-Chevron"\n                      data-qa="bloko-tree-selector-toogle-node {{!\n                             }}bloko-tree-selector-toogle-node-{{id}}">\n                    <span class="bloko-icon-link Bloko-TreeSelector-Icon"></span>{{!\n              }}</span>{{!\n          }}</span>{{!\n          }}<label class="bloko-radio">\n                <input class="bloko-radio__input Bloko-TreeSelector-Input"\n                       name="{{name}}-{{id}}"\n                       type="radio"\n                       value="{{id}}"\n                       autocomplete="off"\n                       data-qa="bloko-tree-selector-input {{!\n                              }}bloko-tree-selector-input-{{id}}"\n                       {{#disabled}}\n                           disabled="disabled"\n                       {{/disabled}}\n                       {{#selected}}\n                           checked="checked"\n                       {{/selected}}/>\n                <span class="bloko-radio__text"\n                      data-qa="bloko-tree-selector-item-text {{!\n                             }}bloko-tree-selector-item-text-{{id}}">\n                    {{>labelTemplate}}\n                </span>\n            </label>\n        </div>\n        {{>afterLabelWrapperTemplate}}\n    </div>\n    <div class="Bloko-TreeSelector-List {{^expanded}}g-hidden{{/expanded}} bloko-tree-selector__items"\n        data-qa="bloko-tree-selector-items {{!\n               }}bloko-tree-selector-items-{{id}}">{{{itemsTemplate}}}\n    </div>\n</div>\n',n)},497481:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tree-selector-popup-result-list Bloko-TreeSelectorPopup-ResultList '),n.s(n.f("hidden",e,t,1),e,t,0,96,104,"{{ }}")&&(n.rs(e,t,function(e,t,o){o.b("g-hidden")}),e.pop()),n.b('">'),n.b("\n"+o),n.s(n.f("elements",e,t,1),e,t,0,135,1239,"{{ }}")&&(n.rs(e,t,function(e,t,n){n.b('        <div class="Bloko-TreeSelectorPopup-ResultListElement"'),n.b("\n"+o),n.b('             data-id="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('             data-qa="bloko-tree-selector-popup-result-item '),n.b("bloko-tree-selector-popup-result-item-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b("\n"+o),n.b('            <div class="bloko-form-item">'),n.b("\n"+o),n.b('                <label class="bloko-checkbox">'),n.b("\n"+o),n.b('                    <input class="bloko-checkbox__input Bloko-TreeSelectorPopup-ResultListElement-Input"'),n.b("\n"+o),n.b('                           name="'),n.b(n.v(n.f("name",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                           value="'),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                           data-qa="bloko-tree-selector-popup-result-item-input '),n.b("bloko-tree-selector-popup-result-item-input-"),n.b(n.v(n.f("id",e,t,0))),n.b('"'),n.b("\n"+o),n.b('                           autocomplete="off"'),n.b("\n"+o),n.b('                           checked="checked"'),n.b("\n"+o),n.b('                           type="checkbox"/>'),n.b("\n"+o),n.b('                    <span class="bloko-checkbox__text"'),n.b("\n"+o),n.b('                          data-qa="bloko-tree-selector-popup-result-item-text '),n.b("bloko-tree-selector-popup-result-item-text-"),n.b(n.v(n.f("id",e,t,0))),n.b('">'),n.b(n.v(n.f("text",e,t,0))),n.b("</span>"),n.b("\n"+o),n.b("                </label>"),n.b("\n"+o),n.b("            </div>"),n.b("\n"+o),n.b("        </div>"),n.b("\n"+o)}),e.pop()),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-tree-selector-popup-result-list Bloko-TreeSelectorPopup-ResultList {{#hidden}}g-hidden{{/hidden}}">\n    {{#elements}}\n        <div class="Bloko-TreeSelectorPopup-ResultListElement"\n             data-id="{{id}}"\n             data-qa="bloko-tree-selector-popup-result-item {{!\n                }}bloko-tree-selector-popup-result-item-{{id}}">\n            <div class="bloko-form-item">\n                <label class="bloko-checkbox">\n                    <input class="bloko-checkbox__input Bloko-TreeSelectorPopup-ResultListElement-Input"\n                           name="{{name}}"\n                           value="{{id}}"\n                           data-qa="bloko-tree-selector-popup-result-item-input {{!\n                              }}bloko-tree-selector-popup-result-item-input-{{id}}"\n                           autocomplete="off"\n                           checked="checked"\n                           type="checkbox"/>
1\n                    <span class="bloko-checkbox__text"\n                          data-qa="bloko-tree-selector-popup-result-item-text {{!\n                             }}bloko-tree-selector-popup-result-item-text-{{id}}">{{text}}</span>\n                </label>\n            </div>\n        </div>\n    {{/elements}}\n</div>\n',n)},125515:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-tree-selector-popup-search">'),n.b("\n"+o),n.b('    <input type="search"'),n.b("\n"+o),n.b('           class="bloko-input-text Bloko-TreeSelectorPopup-Search"'),n.b("\n"+o),n.b('           placeholder="'),n.b(n.v(n.f("searchPlaceholder",e,t,0))),n.b('"'),n.b("\n"+o),n.b('           data-qa="bloko-tree-selector-popup-search"/>'),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{},subs:{}},'<div class="bloko-tree-selector-popup-search">\n    <input type="search"\n           class="bloko-input-text Bloko-TreeSelectorPopup-Search"\n           placeholder="{{searchPlaceholder}}"\n           data-qa="bloko-tree-selector-popup-search"/>\n</div>\n',n)},405057:function(e,t,o){var n=o(416304);e.exports=new n.Template({code:function(e,t,o){var n=this;return n.b(o=o||""),n.b('<div class="bloko-modal-header">'),n.b("\n"+o),n.b('    <h2 class="bloko-modal-title">'),n.b(n.v(n.f("title",e,t,0))),n.b("</h2>"),n.b("\n"+o),n.b(n.rp("<search0",e,t,"    ")),n.b('    <div class="bloko-tree-selector-popup-hint Bloko-TreeSelectorPopup-Hint"></div>'),n.b("\n"+o),n.b("</div>"),n.b("\n"+o),n.b('<div class="bloko-tree-selector-popup-result Bloko-TreeSelectorPopup-ResultContainer" />'),n.b("\n"+o),n.b('<div class="bloko-tree-selector-popup">'),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelectorPopup-ResultContainerXS">'),n.b("\n"+o),n.b('        <div class="Bloko-TreeSelectorPopup-Result" />'),n.b("\n"+o),n.b("    </div>"),n.b("\n"+o),n.b('    <div class="Bloko-TreeSelectorPopup-NotFoundHint g-hidden">'),n.b(n.v(n.f("notFound",e,t,0))),n.b("</div>"),n.b("\n"+o),n.b('    <div class="bloko-tree-selector-popup-content Bloko-TreeSelectorPopup-SearchTreeSelector g-hidden"></div>'),n.b("\n"+o),n.b('    <div class="bloko-tree-selector-popup-content Bloko-TreeSelectorPopup"></div>'),n.b("\n"+o),n.b("</div>"),n.b("\n"+o),n.b('<div class="Bloko-TreeSelector-Error"></div>'),n.b("\n"+o),n.b('<div class="bloko-modal-footer">'),n.b("\n"+o),n.b('    <span class="bloko-form-spacer">'),n.b("\n"+o),n.b('        <button type="button"'),n.b("\n"+o),n.b('                class="bloko-button Bloko-TreeSelectorPopup-Cancel"'),n.b("\n"+o),n.b('                data-qa="bloko-tree-selector-popup-cancel">'),n.b("\n"+o),n.b("            "),n.b(n.v(n.f("cancel",e,t,0))),n.b("\n"+o),n.b("        </button>"),n.b("\n"+o),n.b("    </span>"),n.b('<span class="bloko-form-spacer">'),n.b("\n"+o),n.b('        <button type="button"'),n.b("\n"+o),n.b('                class="bloko-button bloko-button_primary Bloko-TreeSelectorPopup-Submit"'),n.b("\n"+o),n.b('                data-qa="bloko-tree-selector-popup-submit">'),n.b("\n"+o),n.b('            <span class="bloko-button__content">'),n.b(n.v(n.f("submit",e,t,0))),n.b("</span>"),n.b("\n"+o),n.b('            <span class="bloko-button__loading">'),n.b("\n"+o),n.b('                <span class="bloko-icon bloko-icon_loading bloko-icon_initial-inverted"></span>'),n.b("\n"+o),n.b("            </span>"),n.b("\n"+o),n.b("        </button>"),n.b("\n"+o),n.b("    </span>"),n.b("\n"+o),n.b("</div>"),n.b("\n"),n.fl()},partials:{"<search0":{name:"search",partials:{},subs:{}}},subs:{}},'<div class="bloko-modal-header">\n    <h2 class="bloko-modal-title">{{title}}</h2>\n    {{>search}}\n    <div class="bloko-tree-selector-popup-hint Bloko-TreeSelectorPopup-Hint"></div>\n</div>\n<div class="bloko-tree-selector-popup-result Bloko-TreeSelectorPopup-ResultContainer" />\n<div class="bloko-tree-selector-popup">\n    <div class="Bloko-TreeSelectorPopup-ResultContainerXS">\n        <div class="Bloko-TreeSelectorPopup-Result" />\n    </div>\n    <div class="Bloko-TreeSelectorPopup-NotFoundHint g-hidden">{{notFound}}</div>\n    <div class="bloko-tree-selector-popup-content Bloko-TreeSelectorPopup-SearchTreeSelector g-hidden"></div>\n    <div class="bloko-tree-selector-popup-content Bloko-TreeSelectorPopup"></div>\n</div>\n<div class="Bloko-TreeSelector-Error"></div>\n<div class="bloko-modal-footer">\n    <span class="bloko-form-spacer">\n        <button type="button"\n                class="bloko-button Bloko-TreeSelectorPopup-Cancel"\n                data-qa="bloko-tree-selector-popup-cancel">\n            {{cancel}}\n        </button>\n    </span>{{!\n    }}<span class="bloko-form-spacer">\n        <button type="button"\n                class="bloko-button bloko-button_primary Bloko-TreeSelectorPopup-Submit"\n                data-qa="bloko-tree-selector-popup-submit">
1\n            <span class="bloko-button__content">{{submit}}</span>\n            <span class="bloko-button__loading">\n                <span class="bloko-icon bloko-icon_loading bloko-icon_initial-inverted"></span>\n            </span>\n        </button>\n    </span>\n</div>\n',n)},523033:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(641208),l=o.n(n),i=o(831436),r=o.n(i),s=o(45003),a=o.n(s),c=o(492598),d=o.n(c),b=o(426505),u=o.n(b),p=o(481739),h=o.n(p);const k=a().build({defaults:{suggestSearchStartRadiusKm:5,suggestResultsLimit:10},create:function(e,t){const o=l()(e),n=(t.dataProviderBuilder||h().bind(null,t.ymapsPromise))({prefix:t.prefix,suggestResultsLimit:t.suggestResultsLimit,suggestSearchStartPoint:t.suggestSearchStartPoint,suggestSearchStartRadiusKm:t.suggestSearchStartRadiusKm}),i=u()(t.ymapsPromise),s=o.find(".Bloko-Address-Input"),c=o.find(".Bloko-Address-ResolveLocation"),b=o.find(".Bloko-Address-Loader"),p=a().make(r(),s.get(0),{limit:t.suggestResultsLimit,dataProvider:n,suggestStartInputLength:0}),k=d().extend({setLocation(e){g(e)},clearLocation(){g({fullAddress:"",coordinates:null,city:null,street:null,building:null}),p.clear()}});function g(e){s.val(e.fullAddress),k._trigger("change",e)}return s.on("selected.suggest autoselected.suggest",(e,t)=>{t.location?g(t.location):i.resolveLocationByAddress(t.fullAddress).then(e=>{g(e),k._trigger("geocode.address")}).catch(console.error)}),s.on("focus",()=>{k._trigger("focus")}),c.on("click",()=>{const e=setTimeout(()=>{c.addClass("g-hidden"),b.removeClass("g-hidden")},200);i.resolveCurrentLocation().then(e=>{g(e),k._trigger("geolocation.address")}).catch(console.error).finally(()=>{clearTimeout(e),c.removeClass("g-hidden"),b.addClass("g-hidden")})}),k},componentName:"bloko/blocks/address"})},361946:function(e,t,o){"use strict";function n(e){return Object.keys(e).reduce((t,o)=>{if("object"==typeof e[o]){const l=n(e[o]);Object.keys(l).forEach(e=>{t[e]?t[e]+=`, ${l[e]}`:t[e]=l[e]})}else t[o]=e[o];return t},{})}function l(e){return n(e.properties.get("metaDataProperty.GeocoderMetaData"))}function i(e){return e.CountryName}function r(e){return e.CountryNameCode}function s(e){return e.LocalityName||e.SubAdministrativeAreaName||e.AdministrativeAreaName}function a(e){return e.filter(e=>e).join(", ")}
1function c(e){return a([e.DependentLocalityName,e.ThoroughfareName,e.ThoroughfareNumber,e.DependentThoroughfareName,e.DependentThoroughfareNumber])}function d(e){return a([e.PremiseName,e.PremiseNumber,e.SubPremiseName,e.SubPremiseNumber])}function b(e){const t=e.geoObjects.get(0),o=u(t);return{fullAddress:t.getAddressLine()||t.getCountry(),coordinates:t.geometry.getCoordinates(),country:o.country||"",countyCode:o.countyCode||"",city:o.city||"",street:o.street||"",building:o.building||""}}function u(e){const t=l(e),o="metro"===t.kind;return{country:i(t),countyCode:r(t),city:s(t),street:c(t),building:o?"":d(t)}}o.r(t),o.d(t,{convertGeoCodeResult:()=>b,getDividedAddress:()=>u})},855956:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(857915);const l=e=>({resolveLocationByAddress:t=>e.then(e=>e.geocode(t)).then(n.convertGeoCodeResult),resolveCurrentLocation:()=>e.then(e=>e.geolocation.get({mapStateAutoApply:!0,autoReverseGeocode:!0})).then(n.convertGeoCodeResult)})},641006:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303888),l=o.n(n);const i=(e,t)=>{const o=t.suggestResultsLimit;let n;t.suggestSearchStartPoint&&(n=l().getBoundPoints(t.suggestSearchStartPoint,t.suggestSearchStartRadiusKm));return l=>e.then(e=>e.suggest(`${t.prefix||""}${l}`,{results:o,boundedBy:n})).then(e=>({items:e.map((e,t)=>({id:t,text:e.displayName,fullAddress:e.value}))}))}},958365:function(e,t,o){"use strict";o.r(t),o.d(t,{ANIMATION_DEFAULT_TIMEOUT:()=>c,default:()=>d});var n=o(430145);const l="bloko-animation-fade-enter",i="bloko-animation-fade-enter-active",r="bloko-animation-fade-exit",s="bloko-animation-fade-exit-active";var a=o(662191);const c=300,d=e=>{let{timeout:t=c,nodeRef:o,...d}=e;return(0,a.jsx)(n.Z,{nodeRef:o,timeout:t,classNames:{enter:l,enterActive:i,exit:r,exitActive:s},exit:!1,...d})}},357314:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(641208),l=o.n(n),i=o(45003),r=o.n(i),s=o(308415),a=o.n(s),c=o(348674),d=o.n(c),b=o(373167),u=o.n(b);const p=r().build({create:function(e,t){let o,n;function i(){d()(()=>{u()(o[0],n,t.maxHeight)})()}"TEXTAREA"===e.nodeName?(o=l()(e),n=t.minHeight||o.outerHeight(),o.css({overflow:"hidden"}),o[0].value+=" ",o[0].value=o[0].value.slice(0,-1),l()(window).on("resize",i),l()(document).on("possible-resize",i),o.on("input change",i),i()):a().log("out error",new Error("Autogrow: Given element is not textarea"))},componentName:"bloko/blocks/autogrow"})},434234:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});const n=function(){return`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:0}px`},l=e=>parseInt(e,10)||0,i=e=>"border-box"===window.getComputedStyle(e).boxSizing?e.scrollHeight+l(window.getComputedStyle(e).borderTopWidth)+l(window.getComputedStyle(e).borderBottomWidth):e.scrollHeight-(e=>l(window.getComputedStyle(e).paddingTop)+l(window.getComputedStyle(e).paddingBottom))(e),r=(e,t,o)=>{const r=t||l(window.getComputedStyle(e).minHeight),s=l(window.getComputedStyle(e).marginBottom);e.style.marginBottom=n(e.offsetHeight-r+s),e.style.height=n(r);const a=Math.max(r,i(e)),c=o&&a>o;e.style.height=n(c?o:a),e.style.overflow=c?"auto":"hidden",e.style.marginBottom=n(),c&&Math.max(e.selectionStart,e.selectionEnd)===e.value.length&&(e.scrollTop=e.scrollHeight)}},460858:function(e,t,o){"use strict";o.r(t),o.d(t,{BadgeAppearance:()=>s,default:()=>d});var n=o(761673),l=o.n(n);const i={"bloko-badge":"bloko-badge","bloko-badge_primary":"bloko-badge_primary","bloko-badge_warning":"bloko-badge_warning","bloko-badge_success":"bloko-badge_success","bloko-badge_tertiary":"bloko-badge_tertiary","bloko-badge_inversed":"bloko-badge_inversed"};var r=o(662191);let s;var a;(a=s||(s={})).Primary="primary",a.Warning="warning",a.Default="default",a.Success="success",a.Tertiary="tertiary",a.Inversed="inversed";const c=e=>(e=Math.trunc(e))>=1e3?`${Math.floor(e/1e3)}K`:e>99?"99+":String(e),d=e=>{let{value:t,hidden:o,appearance:n=s.Default}=e;return o?null:(0,r.jsx)("span",{className:l()(i["bloko-badge"],{[i[`bloko-badge_${n}`]]:n!==s.Default}),children:c(t)})}},748002:function(e,t,o){"use strict";o.r(t),o.d(t,{BreakpointContext:()=>l,default:()=>i});var n=o(758162);const l=(0,n.createContext)({renderRestriction:!1}),i=()=>(0,n.useContext)(l)},355299:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(758162),l=o(892998),i=o.n(l),r=o(432833),s=o.n(r),a=o(744054),
1c=o(662191);const d=e=>{let{storedBreakpointValue:t,storeActualBreakpointValueInCookie:o=!0,cookieHost:l,forceUseStoredBreakpoint:r=!1,renderRestriction:d=!1,children:b}=e;const u=s()(t),p=!(!r||!t);(0,n.useEffect)(()=>{o&&i().set("device_breakpoint",u,336,l)},[u,o,l]);const h=(0,n.useMemo)(()=>({breakpoint:p?t:u,renderRestriction:!(!t||!d)}),[u,p,t,d]);return(0,c.jsx)(a.BreakpointContext.Provider,{value:h,children:b})}},769246:function(e,t,o){"use strict";o.r(t),o.d(t,{ButtonKind:()=>c,default:()=>u});o(758162);var n=o(534054),l=o.n(n),i=o(723162),r=o.n(i),s=o(72553),a=o(662191);let c;!function(e){e[e.Primary=i.ButtonKind.Primary]="Primary",e[e.Warning=i.ButtonKind.Warning]="Warning",e[e.Success=i.ButtonKind.Success]="Success",e[e.Inversed=i.ButtonKind.Inversed]="Inversed"}(c||(c={}));const d={[c.Primary]:n.BadgeAppearance.Primary,[c.Warning]:n.BadgeAppearance.Warning,[c.Success]:n.BadgeAppearance.Success,[c.Inversed]:n.BadgeAppearance.Inversed},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.ButtonAppearance.Filled;return e===c.Inversed&&t===i.ButtonAppearance.Filled?n.BadgeAppearance.Default:e?d[e]:n.BadgeAppearance.Default},u=e=>{let{badgeValue:t,kind:o,children:n,...c}=e;const d=t?(0,a.jsx)("span",{className:s.Z["bloko-button__badge"],children:(0,a.jsx)(l(),{value:t,appearance:b(o,c.appearance)})}):null;return(0,a.jsxs)(r(),{...c,kind:o,iconPosition:c.icon?i.ButtonIconPosition.Left:void 0,children:[n,d]})}},969296:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(758162),l=o(723162),i=o.n(l),r=o(72553),s=o(662191);const a=e=>{let{id:t,...o}=e;return(0,s.jsx)("label",{htmlFor:t,...o})},c=e=>{let{onChange:t,inputAttributes:o,...l}=e;const[c,d]=(0,n.useState)(!!o.checked);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{type:"checkbox",checked:c,onChange:e=>{d(!c),null==t||t(e)},...o,className:r.Z["bloko-button-check-helper"]}),(0,s.jsx)(i(),{Element:a,id:o.id,...l})]})}},398546:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(761673),l=o.n(n),i=o(72553),r=o(662191);const s=e=>{let{Element:t="div",stretched:o,...n}=e;return(0,r.jsx)(t,{className:l()(i.Z["bloko-button-group"],{[i.Z["bloko-button-group_stretched"]]:o}),...n})}},433868:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});o(758162);var n=o(761673),l=o.n(n),i=o(72553),r=o(662191);const s=e=>{let{flexible:t,light:o,scale:n,innerRef:s,...a}=e;return(0,r.jsx)("button",{className:l()(i.Z["bloko-button-select"],{[i.Z["bloko-button-select_flexible"]]:t,[i.Z["bloko-button-select_light"]]:o,[i.Z[`bloko-button-select_${n}`]]:n}),type:"button",ref:s,...a})}},701991:function(e,t,o){"use strict";o.r(t),o.d(t,{ButtonAppearance:()=>g,ButtonGroup:()=>c.a,ButtonIconPosition:()=>p,ButtonKind:()=>u,ButtonScale:()=>h,ButtonType:()=>k,default:()=>w});var n=o(758162),l=o(761673),i=o.n(l),r=o(761324),s=o.n(r),a=o(55553),c=o.n(a),d=o(72553),b=o(662191);let u,p,h,k,g;!function(e){e.Primary="primary",e.Secondary="secondary",e.Warning="warning",e.Success="success",e.Inversed="inversed"}(u||(u={})),function(e){e.Left="left",e.Right="right"}(p||(p={})),function(e){e.Small="small",e.Large="large"}(h||(h={})),function(e){e.Submit="submit",e.Button="button"}(k||(k={})),function(e){e.Filled="filled",e.Outlined="outlined",e.Flat="flat"}(g||(g={}));const m=(e,t)=>e&&(0,b.jsx)("span",{className:i()(d.Z["bloko-button__icon"],{[d.Z[`bloko-button__icon_${t}`]]:t}),children:e},"icon"),_=e=>(0,b.jsx)(s(),{useSpan:!0,children:e},"children"),f=(e,t,o,n)=>t?(0,b.jsxs)(s(),{useSpan:!0,children:[(0,b.jsx)("span",{className:d.Z["bloko-button__content"],children:e}),(0,b.jsx)("span",{className:d.Z["bloko-button__loading"],children:t})]},"children"):o&&"right"===n?[_(e),m(o,n)]:[m(o,n),_(e)],v=e=>{let{scale:t,kind:o,type:n=k.Button,children:l,pressed:r,innerRef:s,Element:a="button",icon:c,iconPosition:u,stretched:p,collapsible:h,loading:m,invalid:_,appearance:v=g.Filled,...w}=e;const y={};return"button"===a&&n&&(y.type=n),s&&(y.ref=s),(0,b.jsx)(a,{className:i()(d.Z["bloko-button"],{[d.Z[`bloko-button_kind-${o}`]]:o,[d.Z["bloko-button_icon-only"]]:c&&void 0===l&&!t,[d.Z[`bloko-button_icon-only-${t}`]]:c&&void 0===l&&t,[d.Z[`bloko-button_scale-${t}`]]:t,[d.Z["bloko-button_pressed"]]:r,[d.Z["bloko-button_stretched"]]:p,[d.Z["bloko-button_collapsible"]]:h,[d.Z["bloko-button_loading"]]:!!m,[d.Z["bloko-button_invali
1d"]]:_,[d.Z["bloko-button_appearance-outlined"]]:v===g.Outlined,[d.Z["bloko-button_appearance-flat"]]:v===g.Flat}),...y,...w,children:f(l,m,c,u)})},w=(0,n.memo)(v)},178466:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(761673),l=o.n(n),i=o(585614),r=o(955624),s=o(191312),a=o(414782),c=o(662191);const d=e=>{let{kind:t,disabled:o,onClick:n,...d}=e;const b=o?i.Z.Gray50:i.Z.Gray60;return(0,c.jsx)("span",{...d,onClick:n,className:l()(a.Z["bloko-calendar__switcher-arrow"],{[a.Z["bloko-calendar__switcher-arrow_back"]]:"left"===t,[a.Z["bloko-calendar__switcher-arrow_next"]]:"right"===t,[a.Z["bloko-calendar__switcher-arrow_disabled"]]:o}),children:"left"===t?(0,c.jsx)(r.Z,{initial:b}):(0,c.jsx)(s.Z,{initial:b})})}},117219:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(442607),l=o(522505),i=o.n(l),r=o(687553),s=o.n(r),a=o(127096),c=o.n(a),d=o(662191);const b=e=>{let{kind:t,translate:o,date:l,initialDates:r,onClick:a,onPick:b,showInterval:u}=e;switch(t){case n.CalendarPickerAndSwitcherKind.Month:return(0,d.jsx)(s(),{translate:o,date:l,onPick:b});case n.CalendarPickerAndSwitcherKind.Year:return(0,d.jsx)(c(),{date:l,onPick:b});default:return(0,d.jsx)(i(),{initialDates:r,translate:o,onClick:a,showInterval:u})}}},674505:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o(761673),i=o.n(l),r=o(831090),s=o(442607),a=o(91440),c=o.n(a),d=o(414782),b=o(662191);const u={month:{back:"bloko-calendar-prev-month",next:"bloko-calendar-next-month"},year:{back:"bloko-calendar-prev-year",next:"bloko-calendar-next-year"}},p=e=>{let{onSwitch:t,onArrowClick:o,kind:l,visiblePicker:a,children:p,disabled:h}=e;const k=a!==s.CalendarPickerAndSwitcherKind.Day||h,g=l===s.CalendarPickerAndSwitcherKind.Month?r.subMonths:r.subYears,m=l===s.CalendarPickerAndSwitcherKind.Month?r.addMonths:r.addYears,_=(0,n.useCallback)(()=>t(a===l?s.CalendarPickerAndSwitcherKind.Day:l),[l,t,a]);return(0,b.jsxs)("span",{className:d.Z["bloko-calendar__switcher"],children:[(0,b.jsx)(c(),{kind:"left",disabled:k,onClick:()=>o(g),"data-qa":u[l].back}),(0,b.jsx)("span",{className:i()(d.Z["bloko-calendar__name"],{[d.Z["bloko-calendar__name_months"]]:l===s.CalendarPickerAndSwitcherKind.Month,[d.Z["bloko-calendar__name_years"]]:l===s.CalendarPickerAndSwitcherKind.Year,[d.Z["bloko-calendar__name_disabled"]]:h}),onClick:_,children:p}),(0,b.jsx)(c(),{kind:"right",disabled:k,onClick:()=>o(m),"data-qa":u[l].next})]})}},787857:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(758162),l=o(761673),i=o.n(l),r=o(473165),s=o(831090),a=o(414782),c=o(662191);const d=e=>{let{initialDates:t,translate:o,onClick:l,showInterval:d}=e;return(0,c.jsxs)(n.Fragment,{children:[(0,c.jsx)("div",{className:a.Z["bloko-calendar__weekdays"],children:r.WEEKDAYS_ORDER.map(e=>(0,c.jsx)("span",{className:a.Z["bloko-calendar__weekday"],children:o.weekday[e]},e))}),(0,c.jsx)("div",{className:a.Z["bloko-calendar__days"],children:t.map(e=>{let{date:t,isDisabled:o,isHighlighted:n,isWeekend:r,isToday:b,isBegin:u,isEnd:p}=e;return(0,c.jsx)("span",{className:i()(a.Z["bloko-calendar__day"],{[a.Z["bloko-calendar__day_disabled"]]:o||void 0===l,[a.Z["bloko-calendar__day_weekend"]]:r,[a.Z["bloko-calendar__day_selected"]]:n&&!d,[a.Z["bloko-calendar__day_begin"]]:u,[a.Z["bloko-calendar__day_end"]]:p,[a.Z["bloko-calendar__day_interval"]]:d&&n&&!(p||u),[a.Z["bloko-calendar__day_today"]]:b}),onClick:()=>!o&&(null==l?void 0:l((0,s.toISO)(t))),"data-qa":(0,s.toISO)(t),children:t.getDate()},t.getTime())})})]})}},434107:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(761673),l=o.n(n),i=o(831090),r=o(414782),s=o(662191);const a=e=>{let{translate:t,date:o,onPick:n}=e;return(0,s.jsx)("ol",{className:r.Z["bloko-calendar__months"],children:t.month.map((e,t)=>(0,s.jsxs)("li",{className:l()(r.Z["bloko-calendar__month"],{[r.Z["bloko-calendar__month_selected"]]:o.getMonth()===t}),onClick:()=>n(t,i.setMonth),children:[(0,s.jsx)("div",{className:l()(r.Z["bloko-calendar__month-number"],{[r.Z["bloko-calendar__month-number_selected"]]:o.getMonth()===t}),children:t+1}),(0,s.jsx)("div",{className:r.Z["bloko-calendar__month-name"],children:e})]},e))})}},951679:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(758162),l=o(761673),i=o.n(l),r=o(473165),s=o(831090),a=o(414782),c=o(662191);const d=[...Array(r.YEARS_IN_LIST).keys()],b=e=>{let{date:t,onPick:o}=e;const l=(0,n.useRef)(null),b=(0,n.useRef)(null);return(0,n.useEffect)(()=>{const e=r.UPPER_YEAR_LISTS_LIMITS[0],o=r.UPPER_YEAR_LISTS_LIMITS[r.UPPER_YEAR_LISTS_LIMITS.length-1]-r.YEARS_IN_LIST+1;
1if(t.getFullYear()>e)l.current&&(l.current.scrollTop=0);else if(t.getFullYear()<o)l.current&&(l.current.scrollTop=l.current.scrollHeight);else{if(!l.current||!b.current)return;l.current.scrollTop=b.current.offsetTop-l.current.offsetTop-l.current.getBoundingClientRect().height/2}},[t]),(0,c.jsx)("div",{ref:l,className:a.Z["bloko-calendar__years"],children:r.UPPER_YEAR_LISTS_LIMITS.map(e=>(0,c.jsxs)(n.Fragment,{children:[(0,c.jsxs)("div",{className:a.Z["bloko-calendar__years-range"],children:[e," – ",e-r.YEARS_IN_LIST+1]}),(0,c.jsx)("div",{className:a.Z["bloko-calendar__years-list"],children:d.map(n=>{const l=e-n;return(0,c.jsx)("span",{ref:t.getFullYear()===l?b:null,className:i()(a.Z["bloko-calendar__years-list-item"],{[a.Z["bloko-calendar__years-list-item_selected"]]:t.getFullYear()===l}),onClick:()=>o(l,s.setYear),children:l},l)})})]},e))})}},363484:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>h});var n=o(758162),l=o(831090),i=o(442607),r=o(983793),s=o(559413),a=o.n(s),c=o(755141),d=o.n(c),b=o(414782),u=o(662191);const p=e=>{let{initialDate:t,highlighted:o=[],disabled:s=[],disabledWeekdays:c=[],disablePartMonth:p=!0,language:h=r.CalendarLanguage.Ru,translations:k,onDateChange:g,onDateClick:m,disableSwitchers:_=!1,disableDaysBeforeDate:f,disableDaysAfterDate:v,showInterval:w,source:y}=e;const x=(0,n.useMemo)(()=>(0,i.translator)(h,k),[h,k]),[S,C]=(0,n.useState)((0,l.startOfMonth)((0,l.toDate)(t))),[T,E]=(0,n.useState)(i.CalendarPickerAndSwitcherKind.Day),I=(0,i.prepareCalendarDates)(S,o.map(e=>(0,l.toDate)(e)),s,c,p,f,v,w),B=(0,n.useCallback)(e=>{if(!_&&T===i.CalendarPickerAndSwitcherKind.Day){const t=e(S,1);C(t),null==g||g((0,l.toISO)(t))}},[S,_,g,T]),L=(0,n.useCallback)((e,t)=>{const o=t(S,e);C(o),E(i.CalendarPickerAndSwitcherKind.Day),null==g||g((0,l.toISO)(o))},[S,g]),M=(0,n.useCallback)(e=>{_||E(e)},[_]);return(0,u.jsxs)("div",{className:b.Z["bloko-calendar"],source:y,children:[(0,u.jsxs)("div",{className:b.Z["bloko-calendar__switcher-wrapper"],"data-qa":"bloko-calendar-current-month","data-year-month":(0,l.toISO)(S).substring(0,7),children:[(0,u.jsx)(d(),{kind:i.CalendarPickerAndSwitcherKind.Month,onSwitch:M,onArrowClick:B,visiblePicker:T,disabled:_,children:x.month[S.getMonth()]}),(0,u.jsx)(d(),{kind:i.CalendarPickerAndSwitcherKind.Year,onSwitch:M,onArrowClick:B,visiblePicker:T,disabled:_,children:S.getFullYear()})]}),(0,u.jsx)("div",{className:b.Z["bloko-calendar__base"],children:(0,u.jsx)(a(),{showInterval:w,kind:T,translate:x,date:S,initialDates:I,onClick:m,onPick:L})})]})},h=(0,n.memo)(p)},597032:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(758162),l=o(374421),i=o.n(l),r=o(442607),s=o(662191);const a=e=>{let{initialDate:t,start:o,end:l,onDateClick:a,...c}=e;const[d,b]=(0,n.useState)((0,r.makeHighlightedInterval)({startString:o,endString:l})),u=(0,n.useCallback)(e=>{if(0===d.length||d.length>1)b([e]);else{const t=(0,r.makeHighlightedInterval)({startString:d[0],endString:e});a({start:t[0],end:t[t.length-1]}),b(t)}},[d,a]);return(0,s.jsx)(i(),{...c,initialDate:t,highlighted:d,onDateClick:u,showInterval:d.length>1})}},265434:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(374421),i=o.n(l),r=o(662191);const s=e=>{let{initialDate:t,highlighted:o=[],onDateClick:l,...s}=e;const[a,c]=(0,n.useState)(o),d=(0,n.useCallback)(e=>{let t;a.includes(e)?(t=a.filter(t=>t!==e),l({highlighted:t})):(t=[...a,e],l({highlighted:t,date:e})),c(t)},[a,l]);return(0,r.jsx)(i(),{...s,initialDate:t,highlighted:a,onDateClick:d})}},967518:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(374421),i=o.n(l),r=o(662191);const s=e=>{let{initialDate:t,highlighted:o,onDateClick:l,...s}=e;const[a,c]=(0,n.useState)(o),d=(0,n.useCallback)(e=>{a===e?(l(),c(void 0)):(l(e),c(e))},[a,l]);return(0,r.jsx)(i(),{...s,initialDate:t,highlighted:a?[a]:[],onDateClick:d})}},84579:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>O});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(955624),a=o(585614),c=o(191312),d=o(607621),b=o(45003),u=o.n(b),p=o(492598),h=o.n(p),k=o(535265),g=o.n(k),m=o(251532),_=o.n(m),f=o(909818),v=o.n(f),w=o(831090);const y="bloko-calendar__day_selected",x="bloko-calendar__day_disabled",S="bloko-calendar__day_today",C="bloko-calendar__day_weekend",T=".Bloko-Calendar-Previous-Month",E=".Bloko-Calendar-Next-Month",I=".Bloko-Calendar-Previous-Year",B=".Bloko-Calendar-Next-Year",L=".Bloko-Calendar-CurrentMonthDay",M="Bloko-Calendar-DateSelected",N=l().View.extend({events:{"click .Bloko-Calendar-Previous-Month":"previousMonth","click .Bloko-Calendar-Next-Month":"nextMonth","click .Bloko-Calendar-Previous-Year":"previousYear","click .Bloko-Calendar-Next-Year":"nextYear","click .Bloko-Calendar-Dates":"select"},initialize(){this.listenTo(this.model,"change:disabledDates",this.disableDays),this.listenTo(this.model,"change:month",this.render),this.listenTo(this.model,"change:year",this.render),this.listenTo(this.model,"change:days",this.render),this.listenTo(this.model,"change:selectedDate",function(){this.highlightSelectedDay(),this.trigger(M,this.model.get("selectedDate"))}),this.listenTo(this.model,"change:isPreviousMonthDisabled",this.render),this.listenTo(this.model,"change:isPreviousYearDisabled",this.render),this.listenTo(this.model,"change:isNextMonthDisabled",this.render),this.listenTo(this.model,"change:isNextYearDisabled",this.render),this.render(),this.model.options.selectedDate&&this.selectDate(this.model.options.selectedDate)},renderIcons(){for(const e of[this.previousMonthIcon,this.nextMonthIcon,this.nextYearIcon,this.previousYearIcon])e&&e.destroy();this.previousMonthIcon=u().make(d.Z,r()(T,this.$calendar).get(0),{IconComponent:s.Z,iconProps:{initial:this.model.get("isPreviousMonthDisabled")?a.Z.Gray50:a.Z.Gray60}}),this.previousYearIcon=u().make(d.Z,r()(I,this.$calendar).get(0),{IconComponent:s.Z,iconProps:{initial:this.model.get("isPreviousYearDisabled")?a.Z.Gray50:a.Z.Gray60}}),this.nextMonthIcon=u().make(d.Z,r()(E,this.$calendar).get(0),{IconComponent:c.Z,iconProps:{initial:this.model.get("isNextMonthDisabled")?a.Z.Gray50:a.Z.Gray60}}),this.nextYearIcon=u().make(d.Z,r()(B,this.$calendar).get(0),{IconComponent:c.Z,iconProps:{initial:this.model.get("isNextYearDisabled")?a.Z.Gray50:a.Z.Gray60}})},render(){this.$calendar=r()(this.template(this.model.toJSON())),this.renderIcons(),this.disableDays(),this.highlightToday(),this.highlightWeekend(),this.model.get("selectedDate")&&this.highlightSelectedDay(),this.model.options.autoSelectFirstAvailableDate&&!this.model.get("selectedDate")&&this.autoSelectFirstAvailableDate(),this.model.options.range&&(this.setMonthSwitchers(),this.setYearSwitchers()),this.$el.html(this.$calendar)},setMonthSwitchers(){const e=new Date(this.model.get("currentOpenedDate").getFullYear(),this.model.get("currentOpenedDate").getMonth()).getTime();this.model.set("isPreviousMonthDisabled",new Date(this.model.options.range.from.getFullYear(),this.model.options.range.from.getMonth()).getTime()===e),this.model.set("isNextMonthDisabled",new Date(this.model.options.range.to.getFullYear(),this.model.options.range.to.getMonth()).getTime()===e)},setYearSwitchers(){this.model.set("isPreviousYearDisabled",(0,w.differenceInCalendarMonths)(this.model.get("currentOpenedDate"),this.model.options.range.from)<12),this.model.set("isNextYearDisabled",(0,w.differenceInCalendarMonths)(this.model.options.range.to,this.model.get("currentOpenedDate"))<12)},template:e=>_().render(e),previousMonth(e){e.stopPropagation(),this.model.get("isPreviousMonthDisabled")||this.model.set("currentOpenedDate",(0,w.subMonths)(this.model.get("currentOpenedDate"),1))},nextMonth(e){e&&e.stopPropagation(),this.model.get("isNextMonthDisabled")||this.model.set("currentOpenedDate",(0,w.addMonths)(this.model.get("currentOpenedDate"),1))},previousYear(e){e.stopPropagation(),this.model.get("isPreviousYearDisabled")||this.model.set("currentOpenedDate",(0,w.subYears)(this.model.get("currentOpenedDate"),1))},nextYear(e){e&&e.stopPropagation(),this.model.get("isNextYearDisabled")||this.model.set("currentOpenedDate",(0,w.addYears)(this.model.get("currentOpenedDate"),1))},select(e){const t=r()(e.target).closest(L),o=t.data("date");if(o&&!t.hasClass(x)){const e=new Date(this.model.get("currentOpenedDate"));e.setDate(o),this.selectDate(e)}},selectDate(e){(0,w.isSameMonth)({date:e,inDate:this.model.get("currentOpenedDate")})||this.model.set("currentOpenedDate",new Date(e.getFullYear(),e.getMonth())),this.model.set("selectedDate",e)},getDayElement(e,t,o){return r()(`${L}[data-date='${e}'][data-month='${t}'][data-year='${o}']`,this.$calendar)},highlightSelectedDay(){const e=this.model.get("selectedDate");if((0,w.isSameMonth)({date:e,inDate:this.model.get("currentOpenedDate")})){r()(L,this.$calendar).removeClass(y);const t=e.getDate(),o=e.getMonth(),n=e.getFullYear();this.getDayElement(t,o,n).addClass(y)}},highlightToday(){const e=new Date;if((0,w.isSameMonth)({date:e,inDate:this.model.get("currentOpenedDate")})){const e=this.model.get("days").filter(e=>{let{today:t}=e;return!0===t}),{dayNumber:t,month:o,year:n}=e[0];this.getDayElement(t,o,n).addClass(S)}},highlightWeekend(){this.model.get("days").filter(e=>{let{weekend:t}=e;return!0===t}
1).forEach(e=>{let{dayNumber:t,month:o,year:n}=e;return this.getDayElement(t,o,n).addClass(C)})},autoSelectFirstAvailableDate(){let e=!1;r()(L,this.$calendar).each((t,o)=>{const n=r()(o);return!!n.hasClass(x)||(e=!0,this.selectDate(new Date(this.model.get("currentOpenedDate").getFullYear(),this.model.get("currentOpenedDate").getMonth(),n.data("date"))),!1)}),e||this.nextMonth()},disableDays(){this.model.get("days").filter(e=>{let{disabled:t}=e;return!0===t}).forEach(e=>{let{dayNumber:t,month:o,year:n}=e;return this.getDayElement(t,o,n).addClass(x)})},setDisabledDates(e){this.model.set("disabledDates",e),this.model.options.autoSelectFirstAvailableDate&&this.autoSelectFirstAvailableDate()},getSelectedDate(){return this.model.get("selectedDate")}});function P(e){const t=e?new Date(e):new Date;return t.setHours(0,0,0,0),t}const O=u().build({defaults:{range:null,initialDate:new Date,selectedDate:null,disabledDates:[],disabledWeekDays:[],autoSelectFirstAvailableDate:!1,disableDaysBeforeDate:null,disableDaysAfterDate:null,disableInitialDate:!1},create(e,t){if(!t.translations||!Array.isArray(t.translations.weekdays)||
1!Array.isArray(t.translations.months))throw new Error("Bloko/Calendar: No or incorrect required param: translations");t.range=t.range?{from:P(t.range.from),to:P(t.range.to)}:t.range,t.disabledDates=t.disabledDates.map(e=>P(e)),t.initialDate=P(t.initialDate),t.selectedDate=t.selectedDate?P(t.selectedDate):null;const o=new N({model:new(v())(t),el:e});g().mobile()&&r()(e).addClass("bloko-calendar-reset-tap-highlighting");const n=h().extend({selectDate(e){o.selectDate(P(e))},setDisabledDates(e){o.setDisabledDates(e.map(e=>P(e)))},getSelectedDate:()=>o.getSelectedDate()});return o.on(M,e=>{n._trigger(M,e)}),n},componentName:"bloko/blocks/calendar"})},230494:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(288153),l=o.n(n),i=o(831090),r=o(442607);const s=l().Model.extend({constructor(e){this.options=e,l().Model.call(this,{currentOpenedDate:e.initialDate,selectedDate:null,disabledDates:e.disabledDates,month:this.options.translations.months[e.initialDate.getMonth()],year:e.initialDate.getFullYear(),weekdays:this.options.translations.weekdays,days:this.prepareCalendarDates(e.initialDate),isPreviousMonthDisabled:!1,isNextMonthDisabled:!1,previousMonthArrowKind:"action",nextMonthArrowKind:"action",isPreviousYearDisabled:!1,isNextYearDisabled:!1,previousYearArrowKind:"action",nextYearArrowKind:"action"})},initialize(){this.on("change:currentOpenedDate",function(e,t){this.set({month:this.options.translations.months[t.getMonth()],year:t.getFullYear(),days:this.prepareCalendarDates(t)})})},prepareCalendarDates(e){const{disabledDates:t,disabledWeekDays:o,disableDaysBeforeDate:n,disableDaysAfterDate:l}=this.options,s=t.map(e=>(0,i.toISO)(e));return(0,r.prepareCalendarDates)(e,[],s,o.map(e=>7===e?0:e),!0,n,l).map(e=>{let{date:t,isDisabled:o,isWeekend:n,isToday:l}=e;return{dayNumber:t.getDate(),month:t.getMonth(),year:t.getFullYear(),iso:(0,i.toISO)(t),disabled:o,weekend:n,today:l}})}})},924409:function(e,t,o){"use strict";o.r(t),o.d(t,{MAX_DATES_IN_CALENDAR:()=>l,MONTHS:()=>d,UPPER_YEAR_LISTS_LIMITS:()=>a,WEEKDAYS:()=>b,WEEKDAYS_AMOUNT:()=>s,WEEKDAYS_ORDER:()=>r,WEEKENDS:()=>i,YEARS_IN_LIST:()=>c});var n=o(983793);const l=42,i=[0,6],r=[1,2,3,4,5,6,0],s=7,a=[2039,2019,1999,1979,1959,1939,1919],c=20,d={[n.CalendarLanguage.Ru]:Object.values(n.MonthRu),[n.CalendarLanguage.En]:Object.values(n.MonthEn)},b={[n.CalendarLanguage.Ru]:[n.WeekdayRu.Sun,n.WeekdayRu.Mon,n.WeekdayRu.Tue,n.WeekdayRu.Wed,n.WeekdayRu.Thu,n.WeekdayRu.Fri,n.WeekdayRu.Sat],[n.CalendarLanguage.En]:[n.WeekdayEn.Sun,n.WeekdayEn.Mon,n.WeekdayEn.Tue,n.WeekdayEn.Wed,n.WeekdayEn.Thu,n.WeekdayEn.Fri,n.WeekdayEn.Sat]}},383211:function(e,t,o){"use strict";o.r(t),o.d(t,{addDays:()=>s,addMonths:()=>h,addYears:()=>_,differenceInCalendarMonths:()=>v,eachDay:()=>u,getDaysInMonth:()=>i,isSameMonth:()=>g,lastDayOfMonth:()=>l,setMonth:()=>p,setYear:()=>m,startOfMonth:()=>d,subDays:()=>b,subMonths:()=>k,subYears:()=>f,toDate:()=>c,toISO:()=>a});const n=e=>e.split(/[T ]/)[0],l=e=>{const t=new Date(e);return t.setFullYear(t.getFullYear(),t.getMonth()+1,0),t},i=e=>l(e).getDate(),r=e=>{const t=(e=>{const t=/^(\d{4})/.exec(e)[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}})(n(e)),o=/^-?(\d{2})-?(\d{2})$/.exec(t.restDateString),l=new Date(0),i=parseInt(o[1],10)-1,r=parseInt(o[2],10);return l.setUTCFullYear(t.year,i,r),l},s=(e,t)=>{const o=new Date(e);return o.setDate(o.getDate()+t),o},a=e=>n(new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())).toISOString()),c=e=>{const t=r(e);return new Date(t.getTime()+(e=>60*new Date(e.getTime()).getTimezoneOffset()*1e3)(t))},d=e=>{const t=new Date(e);return t.setDate(1),t},b=(e,t)=>s(e,-t),u=(e,t)=>{const o=new Date(e),n=new Date(t),l=[];for(;o.getTime()<=n.getTime();){const e=new Date(o);l.push(e),o.setDate(o.getDate()+1)}return l},p=(e,t)=>{const o=c(a(e)),n=t,l=o.getFullYear(),r=o.getDate(),s=new Date(0);s.setFullYear(l,n),s.setHours(0,0,0,0);const d=i(s);return o.setMonth(n,Math.min(r,d)),o},h=(e,t)=>{const o=c(a(e)),n=o.getMonth()+t;return p(o,n)},k=(e,t)=>h(e,-t),g=e=>{let{date:t,inDate:o}=e;return!!t&&(t.getFullYear()===o.getFullYear()&&t.getMonth()===o.getMonth())},m=(e,t)=>
1{const o=c(a(e)),n=t;return o.setFullYear(n),o},_=(e,t)=>{const o=c(a(e)),n=o.getFullYear()+t;return m(o,n)},f=(e,t)=>_(e,-t),v=(e,t)=>{const o=c(a(e)),n=c(a(t));return 12*(o.getFullYear()-n.getFullYear())+(o.getMonth()-n.getMonth())}},554296:function(e,t,o){"use strict";o.r(t),o.d(t,{CalendarEnrichOptionName:()=>s,CalendarPickerAndSwitcherKind:()=>i,calculateDisabledDates:()=>c,calculateWeekends:()=>d,enrichIfPresent:()=>a,makeHighlightedInterval:()=>u,prepareCalendarDates:()=>b,translator:()=>r});var n=o(473165),l=o(831090);let i;!function(e){e.Day="day",e.Month="month",e.Year="year"}(i||(i={}));const r=(e,t)=>({month:(null==t?void 0:t.months)||n.MONTHS[e],weekday:(null==t?void 0:t.weekdays)||n.WEEKDAYS[e]});let s;!function(e){e.IsHighlighted="isHighlighted",e.IsDisabled="isDisabled",e.IsWeekend="isWeekend",e.IsToday="isToday",e.IsBegin="isBegin",e.IsEnd="isEnd"}(s||(s={}));const a=(e,t,o)=>{const n=t.map(e=>(0,l.toISO)(e));return e.map(e=>({...e,[o]:n.includes((0,l.toISO)(e.date))}))},c=(e,t,o,i,r,s,a)=>{const c=s?(0,l.eachDay)(e[0].date,(0,l.toDate)((0,l.toISO)(new Date(s)))).slice(0,-1).map(e=>(0,l.toISO)(e)):[],d=a?(0,l.eachDay)((0,l.toDate)((0,l.toISO)(new Date(a))),e[n.MAX_DATES_IN_CALENDAR-1].date).slice(1).map(e=>(0,l.toISO)(e)):[];return t.concat(e.filter(e=>{let{date:t}=e;return o&&t.getMonth()!==i.getMonth()||r.includes(t.getDay())||c.includes((0,l.toISO)(t))||d.includes((0,l.toISO)(t))}).map(e=>{let{date:t}=e;return t}))},d=e=>e.filter(e=>{let{date:t}=e;return n.WEEKENDS.includes(t.getDay())}).map(e=>{let{date:t}=e;return t}),b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],b=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,p=arguments.length>7?arguments[7]:void 0;const h=((0,l.startOfMonth)(e).getDay()||n.WEEKDAYS_AMOUNT)-1,k=(0,l.subDays)((0,l.startOfMonth)(e),h),g=(0,l.addMonths)((0,l.lastDayOfMonth)(e),1);let m=(0,l.eachDay)(k,g).slice(0,n.MAX_DATES_IN_CALENDAR).map(e=>({date:e}));return m=a(m,t,s.IsHighlighted),m=a(m,c(m,o.map(e=>(0,l.toDate)(e)),r,e,i,b,u),s.IsDisabled),m=a(m,d(m),s.IsWeekend),m=a(m,[new Date],s.IsToday),p&&(m=a(m,[t[0]],s.IsBegin),m=a(m,[t[t.length-1]],s.IsEnd)),m},u=e=>{let{startString:t,endString:o}=e;if(!t||!o)return[];let n=(0,l.toDate)(t),i=(0,l.toDate)(o);if(n>i){const e=n;n=i,i=e}return(0,l.eachDay)(n,i).map(e=>(0,l.toISO)(e))}},907121:function(e,t,o){"use strict";o.r(t),o.d(t,{IntervalCalendarPicker:()=>r.a,MultipleCalendarPicker:()=>a.a,SingleCalendarPicker:()=>d.a,default:()=>b});var n=o(374421),l=o.n(n),i=o(378773),r=o.n(i),s=o(905626),a=o.n(s),c=o(697541),d=o.n(c);const b=l()},128245:function(e,t,o){"use strict";let n,l,i,r,s;o.r(t),o.d(t,{CalendarLanguage:()=>s,MonthEn:()=>r,MonthRu:()=>i,WeekdayEn:()=>l,WeekdayRu:()=>n,default:()=>a}),function(e){e.Mon="пн",e.Tue="вт",e.Wed="ср",e.Thu="чт",e.Fri="пт",e.Sat="сб",e.Sun="вс"}(n||(n={})),function(e){e.Mon="mon",e.Tue="tue",e.Wed="wed",e.Thu="thu",e.Fri="fri",e.Sat="sat",e.Sun="sun"}(l||(l={})),function(e){e.Jan="Январь",e.Feb="Февраль",e.Mar="Март",e.Apr="Апрель",e.May="Май",e.Jun="Июнь",e.Jul="Июль",e.Aug="Август",e.Sep="Сентябрь",e.Oct="Октябрь",e.Nov="Ноябрь",e.Dec="Декабрь"}(i||(i={})),function(e){e.Jan="January",e.Feb="February",e.Mar="March",e.Apr="April",e.May="May",e.Jun="June",e.Jul="July",e.Aug="August",e.Sep="September",e.Oct="October",e.Nov="November",e.Dec="December"}(r||(r={})),function(e){e.En="en",e.Ru="ru"}(s||(s={}));const a={weekdays:Object.values(n),months:Object.values(i)}},908867:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(758162),l=o(761673),i=o.n(l);const r="bloko-checkbox",s="bloko-checkbox__text",a="bloko-checkbox__input",c="bloko-checkbox__opening-content",d="bloko-checkbox_invalid";var b=o(662191);const u=e=>{let{children:t,invalid:o,innerRef:l,openingContent:u,indeterminate:p=!1,source:h,labelProps:k,wrapperProps:g,...m}=e;const _=(0,n.useRef)(null);return(0,n.useEffect)(()=>{_.current&&(_.current.indeterminate=p)},[p]),(0,b.jsxs)("label",{className:i()(r,{[d]:o}),...g,ref:l,source:h,children:[(0,b.jsx)("input",{...m,ref:_,className:a,type:"checkbox"}),(0,b.jsxs)("span",{...k,suppressHydrationWarning:!0,className:s,children:[t,u?(0,b.jsx)("div",{className:c,suppressHydrationWarning:!0,children:u}):null]})]})}},720220:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(970661),l=o(662191);const i=e=>{const{children:t,innerRef:o,labelProps:i,wrapperProps:r,source:s,...a}=e;return(0,l.jsxs)("label",{className:n.Z["bloko-chips-chip"],...r,ref:o,source:s,children:[(0,l.jsx)("input",{...a,type:"checkbox",className:n.Z["bloko-chips-chip__input"]}),(0,l.jsx)("span",{className:n.Z["bloko-chips-chip__content"],...i,children:t})]})}},23004:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(970661),l=o(662191);const i=e=>{let{Element:t="a",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-chips-chip-link"],...o})}},721519:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(970661),l=o(662191);const i=e=>{let{children:t}=e;return(0,l.jsx)("p",{className:n.Z["bloko-chips-multiline-container"],children:t})}},337992:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(970661),l=o(662191);const i=e=>{const{children:t,innerRef:o,labelProps:i,wrapperProps:r,source:s,...a}=e;return(0,l.jsxs)("label",{className:n.Z["bloko-chips-chip"],...r,ref:o,source:s,children:[(0,l.jsx)("input",{...a,type:"radio",className:n.Z["bloko-chips-chip__input"]}),(0,l.jsx)("span",{className:n.Z["bloko-chips-chip__content"],...i,children:t})]})}},600737:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(720220),i=o(662191);const r=e=>(0,n.isValidElement)(e)&&e.type===l.default,s=e=>{let{children:t}=e;const o=(0,n.useRef)(n.Children.toArray(t).filter(r)),[l,s]=(0,n.use
1State)((e=>{const t=e.map(e=>!!e.props.checked);return t[0]||!t.some(Boolean)?t.map((e,t)=>0===t):t})(o.current)),a=(0,n.useCallback)((e,t)=>{const o=((e,t,o)=>{let n;const l=0===e;if(n=[...o],n[e]=t,l)return n=new Array(o.length).fill(!1),n[0]=!0,n;const[,...i]=n;return n[0]=!i.some(Boolean),n})(e,t.target.checked,l);s(o)},[l]);return(0,i.jsx)(i.Fragment,{children:o.current.map((e,t)=>(0,n.cloneElement)(e,{checked:l[t],onChange:o=>{const n=e.props.onChange;n&&n(o),a(t,o)}}))})}},53999:function(e,t,o){"use strict";o.r(t),o.d(t,{CheckboxChip:()=>n.default,LinkChip:()=>l.default,MultiLineContainer:()=>i.default,RadioChip:()=>r.default,ResetChipsWrapper:()=>s.default});var n=o(720220),l=o(23004),i=o(721519),r=o(337992),s=o(600737)},191694:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(68645),l=o(662191);const i=e=>{let{Element:t="div",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-columns-row"],...o})}},455921:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(68645),l=o(662191);const i=e=>{let{Element:t="div",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-columns-wrapper"],...o})}},761799:function(e,t,o){"use strict";o.r(t)},17259:function(e,t,o){"use strict";o.r(t),o.d(t,{ColumnsRow:()=>c.a,ColumnsWrapper:()=>b.a,default:()=>h});var n=o(761673),l=o.n(n),i=o(744054),r=o.n(i),s=o(521496),a=o(545609),c=o.n(a),d=o(327766),b=o.n(d),u=o(68645),p=o(662191);const h=e=>{let{Element:t="div",xs:o,s:n,m:i,l:a,container:c,...d}=e;return((e,t)=>{let{breakpoint:o,renderRestriction:n}=t;if(!o||!n)return!0;const l=[o,s.Breakpoint.M].find(t=>void 0!==e[t]);return!!l&&"0"!==e[l]})({xs:o,s:n,m:i,l:a},r()())?(0,p.jsx)(t,{className:l()(u.Z["bloko-column"],{[u.Z["bloko-column_container"]]:c,[u.Z[`bloko-column_xs-${o}`]]:o,[u.Z[`bloko-column_s-${n}`]]:n,[u.Z[`bloko-column_m-${i}`]]:i,[u.Z[`bloko-column_l-${a}`]]:a}),...d}):null}},488209:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(655015),i=o.n(l),r=o(662191);const s=e=>{let{forceReload:t}=e;const o=(0,n.useRef)(null),[l,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{s(!0)},[]),(0,r.jsxs)("div",{style:{display:"none"},children:[(0,r.jsx)(i(),{ref:o,base:1}),l&&(0,r.jsx)(i(),{base:1,ref:e=>{var n;e&&(null==e?void 0:e.className)!==(null==o||null===(n=o.current)||void 0===n?void 0:n.className)&&t(!0)}})]})}},348075:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(961030),i=o.n(l),r=o(662191);const s=e=>{let{children:t}=e;
1const[o,l]=(0,n.useState)(!1);return(0,r.jsxs)(n.Fragment,{children:[t,(0,r.jsx)(i(),{forceReload:l})]},o?"client-version":"host-version")}},223927:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o(385572),i=o.n(l),r=o(253103),s=o.n(r),a=o(728867),c=o(320125),d=o(662191);const b=e=>`- ${e}`,u=e=>{let{value:t=c.EMPTY_ARRAY,crossedOutValue:o=c.EMPTY_ARRAY,collection:l,nested:r=!1,stretched:u,removable:p=!0,removeItems:h,renderNestedTag:k=e=>{let{item:{text:t}}=e;return t},renderNestedTagHeader:g=e=>{let{text:t}=e;return t},crossedOutValueNameTransformation:m=b,renderAfterTags:_,renderAfterTagsRef:f}=e;const v=(0,n.useCallback)(()=>{if(!l||!l.getTopLevel().length)return[];return[...r?(0,a.filterTreeByIdsWithParents)(l,t):l.getExistModels(t),...l.getExistModels(o).map(e=>({...e,text:m(e.text)}))]},[t,l,r,o,m]),[w,y]=(0,n.useState)(v()),x=(0,n.useRef)(!0);(0,n.useEffect)(()=>{x.current?x.current=!1:y(v())},[v]);const S=(0,n.useCallback)(e=>{y(w.map(t=>t.id!==e?t:{...t,collapsed:!t.collapsed}))},[w]);return r?(0,d.jsx)(i(),{nested:!0,removable:p,renderAfterTags:_,renderAfterTagsRef:f,items:w.map(e=>{let{id:t,text:o,collapsed:n,items:l=c.EMPTY_ARRAY}=e;return(0,d.jsx)(s(),{expanded:!n,onRemove:()=>h(l.map(e=>{let{id:t}=e;return t}).concat([t])),onToggle:()=>S(t),items:l.map(e=>(0,d.jsx)(s(),{expanded:!0,onRemove:()=>h([e.id]),children:k({id:t,item:e})},e.id)),children:g({id:t,text:o})},t)})}):(0,d.jsx)(i(),{stretched:u,removable:p,renderAfterTags:_,renderAfterTagsRef:f,items:w.map(e=>{let{id:t,text:o}=e;return(0,d.jsx)(s(),{onRemove:()=>h([t]),children:o},t)})})},p=(0,n.memo)(u)},891806:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>N});var n=o(16315),l=o(219247),i=o(585614),r=o(607621),s=o(705774),a=o.n(s),c=o(45003),d=o.n(c),b=o(221639),u=o.n(b),p=o(728867),h=o(817612),k=o.n(h),g=o(409827),m=o.n(g),_=o(868234),f=o.n(_),v=o(858305),w=o.n(v),y=o(911518),x=o.n(y),S=o(656465),C=o.n(S),T=o(149055),E=o.n(T),I=o(23592),B=o.n(I),L=o(341793),M=o.n(L);const N=d().build({defaults:{singleChoice:!1,leavesOnly:!1,template:k()},create:function(e,t){const o={},s=t.template,c=[{name:"suggest",component:x(),params:{selfParams:t.suggestParams,singleChoice:t.singleChoice,leavesOnly:t.leavesOnly}},{name:"tagList",component:E(),params:{selfParams:t.tagListParams}},{name:"nestedTagList",component:f(),params:{selfParams:t.nestedTagListParams}},{name:"treeSelectorPopup",component:M(),params:{selfParams:t.treeSelectorPopupParams,singleChoice:t.singleChoice,leavesOnly:t.leavesOnly}}],b=[],h=(0,p.fromTree)(t.dataJSON,e=>{e.selected&&b.push(e.id)});let k=t.selected;if(!k){const e=new(u())(h,{singleChoice:t.singleChoice,leavesOnly:t.leavesOnly});k=new(a())(e)}if(k.set(b),!e.querySelector(".Bloko-CompositeSelection")){const o=c.reduce((e,t)=>(t.params.selfParams&&(e[t.name]=!0),e),{});e.innerHTML=s.render({...t.templateData,trl:t.trl,components:o},{tagListTemplate:o.tagList?C():null,nestedTagListTemplate:o.nestedTagList?m():null,treeSelectorPopupTemplate:o.treeSelectorPopup?B():null,suggestTemplate:o.suggest?w():null}),o.suggest&&d().make(r.Z,e.querySelector(".Bloko-CompositeSelection-SuggestIcon"),{IconComponent:l.Z,iconProps:{initial:i.Z.Gray50,highlight:i.Z.Gray60}})}return c.forEach(t=>{if(t.params&&t.params.selfParams){const l=t.name,i=e.querySelector(`.Bloko-CompositeSelection-${l.charAt(0).toUpperCase()}${l.slice(1)}`);i&&(o[l]=d().make(t.component,i,n.default.extend(t.params,{collection:h,selected:k})))}}),{selected:k,collection:h,components:o}},componentName:"bloko/blocks/compositeSelection"})},320125:function(e,t,o){"use strict";o.r(t),o.d(t,{EMPTY_ARRAY:()=>n});const n=[]},640741:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(728867);const i=e=>{let{selected:t,collection:o,singleCategory:i,maxItems:r}=e;return(0,n.useMemo)(()=>{const e=(0,l.getIdsWithNoParentsInSameList)(o,t);if(r&&e.length>=r)return o.toList().map(e=>{let{id:t}=e;return t}).filter(e=>!t.includes(e));if(i&&(!r||e.length<r)){const e=(0,l.getParentsHashMap)(o,t);if(Object.keys(e).length)return o.toList().map(e=>{let{id:t}=e;return t}).filter(t=>{const n=o.getParentId(t);return!n||!e[n]})}return[]},[t,o,i,r])}},851210:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{value:t,excludedValue:o,collection:l,expandTreeOnShowPopup:i}=e;
1const[r,s]=(0,n.useState)([]);return(0,n.useEffect)(()=>{if(i){const e=t.concat(o).reduce((e,t)=>e.concat(l.getParentIds(t)),[]);s([...new Set(e)])}},[t,l,i,o]),[r,s]}},757353:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>h});var n=o(758162),l=o(804203),i=o(806537),r=o(219247),s=o(585614),a=o(574289),c=o.n(a),d=o(842922),b=o.n(d),u=o(728867),p=o(662191);const h=e=>{var t;let{collection:o,selectionStrategy:a,value:d,selected:h,excluded:k,withTagList:g,singleChoice:m,maxItems:_,showTreeSelectorPopup:f,onBlur:v,onChange:w,onFocus:y}=e;const x=!!o.getTopLevel().length;let S;!g&&m&&d[0]&&(S=o.getModel(d[0]));const[C,T]=(0,n.useState)((null===(t=S)||void 0===t?void 0:t.text)||"");(0,n.useEffect)(()=>{if(!g&&m&&d[0]){const e=o.getModel(d[0]);T(e?e.text:"")}else T("")},[d,o,g,m]);const E=(0,n.useCallback)(e=>(0,p.jsx)(l.Z,{children:(0,p.jsx)(i.Z,{...e,onClick:f,children:(0,p.jsx)(r.Z,{initial:s.Z.Gray50,highlighted:s.Z.Gray60})})}),[f]),I=(0,n.useCallback)((e,t)=>(0,p.jsx)(c(),{...e,onChange:(t,o)=>{var n;T(t),null===(n=e.onChange)||void 0===n||n.call(e,t,o)},disabled:!x||e.disabled,onBlur:v,onFocus:y,showLoading:!x,icon:E(t)}),[x,v,y,E]),B=(0,n.useCallback)((e,t)=>{if(e&&e.id){const t=[String(e.id)],n=a.add(h,t),l=(0,u.removeExcludedFromSelected)((0,u.getIdsWithNoParentsInSameList)(o,n),a.exclude(n,k,t));null==w||w(l[0],(0,u.narrowDownExcludedFromChildrenToParents)(o,l[1])),null==v||v()}else m&&!t&&(null==w||w([],[]),null==v||v())},[a,h,o,m,v,w,k]),L=(0,n.useCallback)((e,t,o)=>(0,p.jsx)(b(),{autoSelect:!0,...o,value:{text:C},onChange:B,children:I(e,t)}),[I,C,B]),M=g&&_&&h.length===_;return(0,n.useCallback)(function(){let{suggest:e,iconLinkProps:t,suggestProps:o,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return M?null:e?L(n,t,o):I(n,t)},[L,I,M])}},945619:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(308415),i=o.n(l),r=o(728867);const s=e=>{let{value:t,excludedValue:o,selectionStrategy:l,collection:s,maxItems:a,setMaxCountError:c}=e;const d=(0,n.useCallback)(()=>{const e=!!s.getTopLevel().length;if(void 0===l||!e)return[[],[]];const n=t.map(e=>String(e));return a&&n.length>a&&(i().log("out error",new Error("compositeSelection: Value items more than maxItems")),n.length=a),(0,r.removeExcludedFromSelected)(l.add([],n),(0,r.extendExcludedFromParentsToChildren)(s,n,o))},[t,l,s,a,o]),[b,u]=(0,n.useState)(d),p=(0,n.useRef)(!0),h=(0,n.useCallback)((e,t)=>{let o=e;const n=(0,r.getIdsWithNoParentsInSameList)(s,e,t);c(!1),a&&n.length>a&&(n.length=a,o=l.add([],n),c(!0)),u((0,r.removeExcludedFromSelected)(l.add([],n),(0,r.extendExcludedFromParentsToChildren)(s,o,t)))},[s,l,a,c]);(0,n.useEffect)(()=>{if(p.current)return void(p.current=!1);const e=d();h(e[0],e[1])},[d,h,p]);const k=(0,n.useMemo)(()=>(0,r.filterTreeByIdsWithParents)(s,b[0]),[s,b]);return{selected:b[0],selectedTree:k,setSelected:h,excluded:b[1]}}},22494:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(728867);const i=e=>{let{collection:t,value:o,excludedValue:i,selected:r,excluded:s,selectionStrategy:a,onChange:c,onFocus:d,onBlur:b,setVisible:u,setSelected:p}=e;const h=(0,n.useCallback)(()=>{u(!1),p(o,i),null==b||b()},[u,b,p,o,i]),k=(0,n.useCallback)(e=>{null==c||c((0,l.getIdsWithNoParentsInSameList)(t,e,s),(0,l.narrowDownExcludedFromChildrenToParents)(t,s)),null==b||b()},[t,b,c,s]);return{handleTreeSelectorPopupClose:h,handleTreeSelectorPopupSubmit:k,handleTreeSelectorChange:(0,n.useCallback)((e,t)=>{const o=[e],n=t?a.add(r,o):a.remove(r,o);p(n,a.exclude(n,s,o))},[r,a,p,s]),showTreeSelectorPopup:(0,n.useCallback)(()=>{u(!0),null==d||d()},[d,u])}}},210459:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>C});var n=o(758162),l=o(999443),i=o.n(l),r=o(60642),s=o.n(r),a=o(974534),c=o.n(a),d=o(728867),b=o(874357),u=o.n(b),p=o(801309),h=o.n(p),k=o(859428),g=o.n(k),m=o(819823),_=o.n(m),f=o(210799),v=o.n(f),w=o(771795),y=o.n(w),x=o(320125),S=o(662191);const C=e=>{let{children:t,collection:o,title:l,contentAfterTitle:r,value:a,excludedValue:b=x.EMPTY_ARRAY,leavesOnly:p,singleChoice:k,treeFilter:m,maxItems:f,singleCategory:w,LabelComponent:C,IconComponent:T,showSelectedList:E,searchWithClear:I,clearSearchOnChange:B,constantlySuggested:L,suggestedNotFound:M,searchHint:N,expandTreeOnShowPopup:P=!0,onChange:O,onBlur:D,onFocus:A,onChangeFilterQuery:R,trl:Z,footerExtra:j,host:$,checkSelectable:F,withExcluded:H,exclusionWithTwoLines:q}=e;
1const[W,V]=(0,n.useState)(!1),[z,U]=(0,n.useState)(!1),[Y,G]=(0,n.useState)(!1),K=(0,n.useMemo)(()=>new(c())(o,{singleChoice:k,singleCategory:w,leavesOnly:p,checkSelectable:F,withExcluded:H}),[o,k,p,F,H,w]),{selected:X,selectedTree:Q,setSelected:J,excluded:ee}=v()({value:a,excludedValue:b,selectionStrategy:K,collection:o,maxItems:f,setMaxCountError:G}),te=h()({selected:X,collection:o,singleCategory:w,maxItems:f}),[oe]=g()({value:a,collection:o,excludedValue:b,expandTreeOnShowPopup:P}),{handleTreeSelectorPopupClose:ne,handleTreeSelectorPopupSubmit:le,handleTreeSelectorChange:ie,showTreeSelectorPopup:re}=y()({collection:o,value:a,excludedValue:b,selected:X,excluded:ee,selectionStrategy:K,onChange:O,onFocus:A,onBlur:D,setVisible:V,setSelected:J}),se=_()({collection:o,selectionStrategy:K,value:a,selected:X,excluded:ee,withTagList:z,singleChoice:k,maxItems:f,showTreeSelectorPopup:re,onBlur:D,onChange:O,onFocus:A}),ae=(0,n.useCallback)(e=>{const[t,n]=e.reduce((t,o)=>{const n=e.length>1?[o]:e;return t[0]=K.remove(t[0],n),t[1]=K.exclude(t[0],t[1],n),t},[a,b]);null==O||O(...(0,d.removeExcludedFromSelected)((0,d.getIdsWithNoParentsInSameList)(o,t,n),(0,d.narrowDownExcludedFromChildrenToParents)(o,n))),null==D||D()},[a,O,D,b,K,o]),ce=(0,n.useMemo)(()=>b.length?(0,d.narrowDownExcludedFromChildrenToParents)(o,b):x.EMPTY_ARRAY,[o,b]),de=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return z||U(!0),(0,S.jsx)(u(),{value:a,crossedOutValue:q?x.EMPTY_ARRAY:ce,collection:o,removeItems:ae,...e})},[a,o,ae,z,ce,q]),be=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return q?(z||U(!0),(0,S.jsx)(u(),{value:ce,collection:o,removeItems:ae,...e})):null},[o,ae,z,ce,q]),ue=(0,n.useCallback)(()=>null==j?void 0:j({hideTreeSelectorPopup:ne,submitTreeSelectorPopup:le}),[j,le,ne]);return(0,S.jsxs)(n.Fragment,{children:[(0,S.jsx)(s(),{visible:W,selected:X,onClose:ne,onSubmit:le,onChangeFilterQuery:R,title:l,contentAfterTitle:r,trl:Z,searchWithClear:I,clearSearchOnChange:B,error:Y&&Z.maxCountError?Z.maxCountError:void 0,footerExtra:ue(),hint:N||void 0,host:$,children:(0,S.jsx)(i(),{checkSelectable:F,collection:o,expanded:oe,indeterminateWithParents:!H,onChange:ie,leavesOnly:p,singleChoice:k,disabled:te,LabelComponent:C,IconComponent:T,showSelectedList:E,suggestedNotFound:M,constantlySuggested:L,treeFilter:m})}),t({renderTagList:de,renderExcludedTagList:be,renderInput:se,showTreeSelectorPopup:re,selectedTree:Q})]})}},864418:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(430639),l=o.n(n),i=o(45003),r=o.n(i),s=o(728867);const a=r().build({defaults:{removable:!0},create:function(e,t){const o=t.collection,n=t.selected,i=l().create(e,t.selfParams);let r=!1;i.on("Bloko-TagList-Removed",e=>{r||n.remove([e.id])});const a=function(){r=!0,i.set((0,s.filterTreeByIdsWithParents)(o,n.get())),r=!1};return n.on("change",a),a(),i},componentName:"blocks/compositeSelection/nestedTagListProxy"})},929415:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(641208),l=o.n(n),i=o(831436),r=o.n(i),s=o(45003),a=o.n(s);const c=a().build({create:function(e,t){const o=t.collection,n=t.selected,i=l()(e);if(!t.selfParams.data&&!t.selfParams.remote){let e=o.toList();t.leavesOnly&&(e=e.filter(e=>0===o.getChildrenIds(e.id).length)),t.selfParams.data={items:e}}const s=a().make(r(),e,t.selfParams);function c(){const e=n.get();t.singleChoice&&(e.length?s.selectItemByData(o.getModel(e[e.length-1])):s.getSelected()&&s.clear())}return i.on("selected.suggest autoselected.suggest",(e,o)=>{n.add([o.id]),t.singleChoice||s.clear()}),i.on("unselected.suggest",()=>{t.singleChoice&&n.set([])}),n.on("change",c),c(),s},componentName:"blocks/compositeSelection/suggestProxy"})},341413:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(143354),l=o.n(n),i=o(45003),r=o.n(i),s=o(728867);const a=r().build({defaults:{removable:!0},create:function(e,t){const o=t.collection,n=t.selected,i=l().create(e,t.selfParams);let r=!1;function a(){r=!0;const e=(0,s.getIdsWithNoParentsInSameList)(o,n.get()).map(e=>{const t=o.getModel(e);return{id:e,hiddenValue:e,text:t.text,additional:t.additional}});i.set(e),r=!1}return i.on("Bloko-TagList-Removed",e=>{r||n.remove([e.id])}),n.on("change",a),a(),i},componentName:"blocks/compositeSelection/tagListProxy"})},419353:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(966149),l=o.n(n),i=o(45003),r=o.n(i);const s=r().build({defaults:{treeSelector:{type:"checkbox"}},create:function(e,t){const o=t.collection,n=t.selected,i=t.selfParams,s=document.createElement("div");
1s.className="g-hidden",document.body.appendChild(s),i.treeSelector.dataJSON=o.toTree(),t.singleChoice&&(i.treeSelector.type="radio"),t.leavesOnly&&(i.treeSelector.leavesOnly=!0);const a=r().make(l(),s,i),c=a.treeSelector;function d(){c.setSelected(n.get())}return e.addEventListener("click",()=>{a.modal.show()}),a.on("Bloko-TreeSelectorPopup-Changed",()=>{const e=c.getSelected().map(e=>e.id);n.set(e)}),n.on("change",d),d(),a},componentName:"blocks/compositeSelection/treeSelectorPopupProxy"})},371511:function(e,t,o){"use strict";o.r(t)},587891:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});o(758162);var n=o(761673),l=o.n(n),i=o(276492),r=o(662191);const s=e=>{let{children:t,main:o,count:n,autosize:s,vertical:a,...c}=e;return(0,r.jsx)("div",{...c,className:l()({[i.Z["bloko-control-group__minor"]]:!o&&!s&&!a,[i.Z["bloko-control-group__main"]]:o,[i.Z["bloko-control-group__main_col-1-2"]]:o&&2===n,[i.Z["bloko-control-group__main_col-1-3"]]:o&&3===n,[i.Z["bloko-control-group__content-sized"]]:s,[i.Z["bloko-control-group__vertical-item"]]:a}),children:t})}},29191:function(e,t,o){"use strict";o.r(t),o.d(t,{ControlGroupItem:()=>a.default,default:()=>b});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(276492),a=o(587891),c=o(662191);const d=e=>"object"==typeof e&&null!==e&&"type"in e&&e.type===a.default,b=e=>{let{children:t,autosize:o,vertical:n,...i}=e;const a={autosize:o,vertical:n,count:l().Children.toArray(t).filter(e=>d(e)&&e.props.main).length};return(0,c.jsx)("div",{...i,className:r()(s.Z["bloko-control-group"],{[s.Z["bloko-control-group_auto-size"]]:o,[s.Z["bloko-control-group_vertical"]]:n}),children:l().Children.map(t,e=>d(e)?l().cloneElement(e,a):e)})}},404325:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(758162),l=o(776267),i=o.n(l),r=o(662191);const s=e=>e,a=e=>e,c=e=>{let{value:t,one:o,some:n,many:l,zero:c="",formatValue:d=a,format:b=s,hasValue:u=!0}=e;if(0===t)return(0,r.jsx)("span",{suppressHydrationWarning:!0,children:b(c)});const p=i()({one:o,some:n,many:l,value:t});return(0,r.jsx)(r.Fragment,{children:u?(0,r.jsxs)("span",{suppressHydrationWarning:!0,children:[d(t)," ",b(p)]}):(0,r.jsx)("span",{suppressHydrationWarning:!0,children:b(p)})})},d=(0,n.memo)(c)},460910:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u,isValidOptionElement:()=>p});var n=o(758162),l=o(990320),i=o.n(l),r=o(521496),s=o(14933),a=o(967017),c=o.n(a),d=o(662191);const b=e=>{let{children:t,value:o,disabled:l,searchText:a,...b}=e;const{selectedValue:u,selectValue:p,focusedValue:h,setFocusedValue:k,scrollTo:g}=(0,n.useContext)(c()),m=(0,n.useRef)(null),_=o===u,f=o===h;(0,n.useLayoutEffect)(()=>{f&&m.current&&g(m.current.offsetTop,m.current.offsetHeight)},[f,g]);return(0,d.jsx)(i(),{"data-qa":s.dataQa.option,...b,"aria-selected":_,role:"option",selected:_,disabled:l,focused:f,ref:m,onClick:()=>{l||p(o)},onMouseEnter:()=>{(0,r.getBreakpoint)()!==r.Breakpoint.XS&&k(l?void 0:o)},children:t})},u=b,p=e=>(0,n.isValidElement)(e)&&e.type===b},738e3:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(757520),l=o(245367),i=o.n(l),r=o(662191);const s=e=>{let{children:t,...o}=e;return(0,r.jsx)(n.FormHint,{...o,children:(0,r.jsx)(i(),{children:t})})}},9321:function(e,t,o){"use strict";o.r(t),o.d(t,{dataQa:()=>n});const n={wrapper:"bloko-custom-select-wrapper",select:"bloko-custom-select-select",searchInput:"bloko-custom-select-search-input",option:"bloko-custom-select-option",hiddenInput:"bloko-custom-select-hidden-select",optionList:"bloko-custom-select-option-list"}},799581:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=(0,n.createContext)({focusedValue:void 0,selectedValue:void 0,selectValue:()=>{},setFocusedValue:()=>{},scrollTo:()=>{}})},920128:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>q});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(16315),a=o(557883),c=o(585614),d=o(607621),b=o(837354),u=o.n(b),p=o(45003),h=o.n(p),k=o(20022),g=o.n(k),m=o(492598),_=o.n(m),f=o(384199),v=o.n(f),w=o(521496),y=o(923496),x=o.n(y),S=o(990181),C=o.n(S),T=o(715117),E=o.n(T),I=o(467929),B=o.n(I),L=o(356708),M=o.n(L);const N={hidden:"g-hidden",focused:"bloko-custom-select__select_focus",selected:"bloko-select-dropdown-option_selected",optionFocused:"bloko-select-dropdown-option_focused",disabled:"bloko-custom-select_disabled",disabledOption:"bloko-select-dropdown-option_disabled",customOptions:"Bloko-CustomSelect-OptionItem",customSelect:"Bloko-CustomSelect",disabledOptionBindings:"Bloko-CustomSelect-OptionItemDisabled",layer:{floating:"bloko-custom-select__content_layer-floating",overlay:"bloko-custom-select__content_layer-overlay",topmost:"bloko-custom-select__content_layer-topmost","above-content":"bloko-custom-select__content_layer-above-content","overlay-content":"bloko-custom-select__content_layer-overlay-content","above-overlay-content":"bloko-custom-select__content_layer-above-overlay-content"}},P=".Bloko-CustomSelect-NativeSelect",O=".Bloko-CustomSelect",D=".Bloko-CustomSelect-OptionsContainer",A=".Bloko-CustomSelect-Options",R=".Bloko-CustomSelect-OptionItem",Z=".Bloko-CustomSelect-Selected",j=".Bloko-CustomSelect-Search",$=".Bloko-CustomSelect-SearchIcon";let F=!1;const H=l().View.extend({events:{"click .Bloko-CustomSelect":"show","click .Bloko-CustomSelect-OptionItem":"_change","mousemove .Bloko-CustomSelect-OptionItem":"_mouseMove","focus .Bloko-CustomSelect-OptionsContainer":"_focusList","blur .Bloko-CustomSelect-OptionsContainer":"_blurList","keydown .Bloko-CustomSelect":"_keyboardControlOnSelect","keydown .Bloko-CustomSelect-OptionsContainer":"_keyboardControlOnOptions","keypress .Bloko-CustomSelect-OptionsContainer":"_nativeSearch","keypress .Bloko-CustomSelect":"_nativeSearch","input .Bloko-CustomSelect-Search":"_changeSearchInput","change .Bloko-CustomSelect-Search":"_changeSearchInput"},initialize(e){this._customSelectOptionTemplate=e.optionTemplate,this._customPlaceholderTemplate=e.placeholderTemplate,this._selectIndex=0,this._isOpen=!1,this._isDisabled=e.disabled,this._filterQuery="",this._searchDateStart=new Date,this._isSearch=e.search,this._searchPlaceholder=e.searchPlaceholder,this._afterOptionsData=e.afterOptionsData,this._afterOptionsTemplate=e.afterOptionsTemplate,this.$select=this.$(P),this._dataJSON=e.templateJSON.map((e,t)=>(e.selected&&(this._selectIndex=t),{index:t,data:e})),this.$customSelectContainer=r()(this.template(this._getTemplateJSON())),this.$customSelect=this.$customSelectContainer.filter(O),this.$customOptionsContainer=this.$customSelectContainer.filter(D),this.$customOptionsContainer.addClass(N.layer[e.layer]),this.$customOptions=r()(R,this.$customOptionsContainer),this.$customOptions.eq(this._selectIndex).addClass(N.selected),this.$customOptionsList=r()(A,this.$customOptionsContainer),this.$customSelectPlaceholder=r()(Z,this.$customSelect),this.$searchInput=r()(j,this.$customOptionsContainer);const t=r()($,this.$customOptionsContainer).get(0);t&&h().make(d.Z,t,{IconComponent:a.Z,iconProps:{initial:c.Z.Gray80}}),this._dataJSON=this._dataJSON.map((e,t)=>(e.searchText=this.$customOptions.eq(t).text().toLowerCase().trim(),e)),this._createNativeOptions(),this._checkDisabledAll(this._dataJSON),this.$el.append(this.$customSelectContainer),this.$select.addClass(N.hidden),this.$select.prop("disabled",!1),this._isDisabled&&this.disable(),this._focusIndex=this._selectIndex},_getTemplateJSON(){return r().extend({options:this._dataJSON,placeholder:this._dataJSON[this._selectIndex]&&this._dataJSON[this._selectIndex].data,search:this._isSearch,searchPlaceholder:this._searchPlaceholder},this._afterOptionsData)},_createNativeOptions(){this.$select.html(this._prepareNativeOptions(this._dataJSON))},_addToNativeSelect(e){this.$select.append(this._prepareNativeOptions(e))},_prepareNativeOptions(e){return e.map((e,t)=>{const o=r()("<option>").text(e.data.text).val(e.data.value);return e.data.selected&&(this._selectIndex=t,o.prop("selected",!0)),e.data.disabled&&o.prop("disabled",!0),o})},_keyboardControlOnSelect(e){switch(e.keyCode){case b.KeyCode.ArrowUp:case b.KeyCode.ArrowDown:this.show(),e.preventDefault();break;case b.KeyCode.ESC:this.hide();break;case b.KeyCode.Enter:r()(this.$select.prop("form")).submit()}},_checkDisabledAll(e){this._isDisabledOptions=!e.some(e=>!e.data.disabled)},_keyboardControlOnOptions(e){switch(e.keyCode){case b.KeyCode.ArrowUp:if(e.preventDefault(),!this.$customOptions.length||this._isDisabledOptions)break;this._keyUp(),this._focusItems(),this._scrollToFocus();break;case b.KeyCode.ArrowDown:if(e.preventDefault(),!this.$customOptions.length||this._isDisabledOptions)break;this._keyDown(),this._focusItems(),this._scrollToFocus();break;case b.KeyCode.Enter:if(e.preventDefault(),!this.$customOptions.length)break;this._change(e);break;case b.KeyCode.ESC:this.hide();break;case b.KeyCode.Tab:if(e.preventDefault(),this._isOpen)break;this.hide()}},_keyUp(){do{this._focusIndex=(this._focusIndex<=0?this._dataJSON.length:this._focusIndex)-1}while(this.$customOptions.eq(this._focusIndex).hasClass(N.disabledOptionBindings)
1)},_keyDown(){do{this._focusIndex=this._focusIndex===this._dataJSON.length-1?0:this._focusIndex+1}while(this.$customOptions.eq(this._focusIndex).hasClass(N.disabledOptionBindings))},_changeSearchInput(){if(!this._isOpen)return;this.$customOptions.removeClass(N.hidden).removeClass(N.disabledOptionBindings);const e=this._dataJSON.filter(e=>{const t=v().match(this.$searchInput.val(),e.searchText);return this._isSearch&&!t&&this.$customOptions.eq(e.index).addClass(N.hidden).addClass(N.disabledOptionBindings),e.disabled&&this.$customOptions.eq(e.index).addClass(N.disabledOptionBindings),t});this._checkDisabledAll(e),this._isDisabledOptions?(this.$customOptions.removeClass(N.optionFocused),this._focusIndex=-1):this._focusSearchItem(e)},_nativeSearch(e){if(this._isSearch&&this._isOpen)return;const t=u().getChar(e);if(!t)return;new Date-this._searchDateStart>200&&(this._filterQuery=""),this._searchDateStart=new Date,this._filterQuery+=t;const o=this._dataJSON.filter(e=>v().match(this._filterQuery,e.searchText));this._isOpen?this._focusSearchItem(o):o.length&&!o[0].disabled&&(this._selectIndex=o[0].index,this._change())},_focusSearchItem(e){e.length&&!e[0].disabled?(this._focusIndex=e[0].index,this._focusItems(),this._scrollToFocus()):(this.$customOptions.removeClass(N.optionFocused),this._focusIndex=-1)},_scrollToFocus(){if(!this._isOpen)return;const e=x().getRelativeMetrics(this.$customOptions.eq(this._focusIndex).get(0)),t=this._metricsOptionsList.height-e.top-e.height;let o=e.top+this.$customOptionsList.scrollTop();t<0?this.$customOptionsList.scrollTop(o):e.top<0&&(o=o+e.height-this._metricsOptionsList.height,this.$customOptionsList.scrollTop(o))},_mouseMove(e){if(this._mouseCoordsY===e.clientY)return;let t=r()(e.target);for(this._mouseCoordsY=e.clientY;!t.hasClass(N.customOptions);)t=t.parent();t.hasClass(N.disabledOptionBindings)||(this._focusIndex=this.$customOptions.index(t),this._focusItems())},_focusItems(){this.$customOptions.removeClass(N.optionFocused),this.$customOptions.eq(this._focusIndex).addClass(N.optionFocused)},_blurList(){F=!1,this._handlerBlur=window.setTimeout(()=>{this.hide(!0)},150)},_focusList(){clearTimeout(this._handlerBlur)},_change(e){if(e&&-1===this._focusIndex)return this.hide(),null;e&&(this._selectIndex=this._focusIndex);const t=this._dataJSON[this._selectIndex].data;return this.$customOptions.removeClass(N.selected),this.$select.val(t.value),this.$customOptions.eq(this._selectIndex).addClass(N.selected),this.$customSelectPlaceholder.html(this.templatePlaceholder(t)),this.$select[0].dispatchEvent(g()("change")),this.trigger("Bloko-CustomSelect-Selected",t),this.hide(),t},show(){this._isDisabled||this._isOpen||(F=!0,this.$customOptionsContainer.removeClass(N.hidden),this._metricsOptionsList=x().getMetrics(this.$customOptionsList.get(0)),this._isOpen=!0,this._selectIndex>=0&&this._dataJSON[this._selectIndex]&&!this._dataJSON[this._selectIndex].data.disabled&&this.$customOptions.eq(this._selectIndex).addClass(N.optionFocused),this._isSearch&&(0,w.getBreakpoint)()!==w.Breakpoint.XS?this.$searchInput.focus():(this.$customSelect.addClass(N.focused),this.$customOptionsContainer.focus()))},hide(e){this._isOpen&&(this._isOpen=!1,this.$customOptionsContainer.addClass(N.hidden),F&&e||this.$customSelect.focus(),this.$customSelect.removeClass(N.focused),this.$customOptions.removeClass(N.optionFocused),this._focusIndex=this._selectIndex)},change(e){for(let t=0;t<this._dataJSON.length;t++)if(this._dataJSON[t].data.value===e)return this._selectIndex=t,this._change();return null},add(e){const t=r().extend(!0,[],e).map(e=>({data:e})),o={options:t},n=r()("<div>").append(this.templateOptions(o)).children();this._addToNativeSelect(t),t.forEach((e,t)=>{this._dataJSON.push({index:this._dataJSON.length,searchText:n.eq(t).text().trim().toLowerCase(),data:e.data}),e.data.selected&&(this._selectIndex=this._dataJSON.length-1)}),this._checkDisabledAll(this._dataJSON),this.$customOptionsList.append(n),this.$customOptions=this.$(R),this._change()},disable(){this.$customSelect.removeAttr("tabindex"),this.$el.addClass(N.disabled),this._isDisabled=!0,this.hide(),this.$select.prop("disabled",!0)},enable(){this.$customSelect.attr("tabindex","0"),this.$el.removeClass(N.disabled),this._isDisabled=!1,this.$select.prop("disabled",!1)},templatePlaceholder(e){return this._customPlaceholderTemplate.render(e)},templateOptions(e){return B().render(e,{customSelectOption:this._customSelectOptionTemplate})},template(e){const t={customSelectOptions:B(),customSelectOption:this._customSelectOptionTemplate,customSelectPlaceholder:this._customPlaceholderTemplate};return this._afterOptionsTemplate&&(t.customSelectAfterOptions=this._afterOptionsTemplate),C().render(e,t)}}),q=h().build({defaults:{disabled:!1,search:!1,templateJSON:[],layer:"above-content",optionTemplate:E(),placeholderTemplate:M(),afterOptionsTemplate:null,afterOptionsData:{}},create(e,t){const o=new H(s.default.extend({el:e},t)),n=_().extend({show(){o.show()},hide(){o.hide()}});return n.change=function(e){o.change(e)},n.add=function(e){o.add(e),this._trigger("Bloko-CustomSelect-Added",r().extend(!0,[],e))},n.disable=function(){o.disable(),this._trigger("Bloko-CustomSelect-Disabled")},n.enable=function(){o.enable(),this._trigger("Bloko-CustomSelect-Enabled")},o.on("Bloko-CustomSelect-Selected",e=>{n._trigger("Bloko-CustomSelect-Selected",e)}),n},componentName:"bloko/blocks/customSelect"})},243146:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o(761673),i=o.n(l),r=o(14933),s=o(557883),a=o(574289),c=o.n(a),d=o(521496),b=o(994508),u=o(662191);const p=e=>{let{hasTitle:t,...o}=e;const l=(0,n.useRef)(null);return(0,n.useEffect)(()=>
1{(0,d.getBreakpoint)()!==d.Breakpoint.XS&&l.current&&l.current.focus()},[]),(0,u.jsx)("div",{className:i()(b.Z["bloko-custom-select__search"],{[b.Z["bloko-custom-select__search_with-title"]]:t}),children:(0,u.jsx)(c(),{...o,ref:l,"data-qa":r.dataQa.searchInput,icon:(0,u.jsx)(s.Z,{})})})}},523864:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(889694),i=o(890803),r=o.n(i);const s=()=>{const e=(0,n.useRef)(null),[t,o]=(0,n.useState)({minWidth:"none"});return(0,n.useLayoutEffect)(()=>{const t=()=>{e.current&&o({minWidth:`${e.current.offsetWidth}px`})};t();const n=r()(t,l.DEBOUNCE_DELAY_MS);return window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[]),{selectInputRef:e,dropStyle:t}}},700477:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(758162),l=o(314355),i=o.n(l),r=o(596007),s=o.n(r),a=o(668693),c=o.n(a),d=o(662191);const b=e=>(0,n.isValidElement)(e)&&e.type===i(),u=e=>{let{children:t,search:o,searchPlaceholder:l,title:i,filterThrottleMs:r,asyncFilterFunction:a}=e;const{filterQuery:u,setFilterQuery:p,filteredOptions:h}=s()(t,b,a,r),k=(0,n.useCallback)(()=>o&&(0,d.jsx)(c(),{placeholder:l,value:u,onChange:e=>p(e),hasTitle:!!i}),[u,p,o,l,i]);return{filteredOptions:h,setFilterQuery:p,renderSearchField:k}}},733791:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{onFocus:t,onBlur:o}=e;const[l,i]=(0,n.useState)(!1);return{isFocused:l,setInputFocus:e=>{i(!0),null==t||t(e)},setInputBlur:e=>{i(!1),null==o||o(e)}}}},233136:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{filteredOptions:t}=e;const o=(0,n.useMemo)(()=>t.filter(e=>(0,n.isValidElement)(e)).filter(e=>!e.props.disabled).map(e=>e.props.value),[t]),[l,i]=(0,n.useState)(o[0]);(0,n.useEffect)(()=>{i(o[0])},[o]);return{focusedValue:l,setFocusedValue:i,moveFocusedValue:e=>{const t=l?o.indexOf(l):-1,n=o.length-1,r=Math.max(Math.min(t+e,n),0);i(o[r])},optionValues:o}}},241693:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(837354);const i=e=>{let{focusedValue:t,moveFocusedValue:o,isExpanded:i,toggleExpanded:r,isFocused:s,selectValue:a}=e;const c=(0,n.useCallback)(e=>{if(i){switch(e.keyCode){case l.KeyCode.ArrowUp:o(-1);break;case l.KeyCode.ArrowDown:o(1);break;case l.KeyCode.ESC:r(!1);break;case l.KeyCode.Enter:t&&a(t);break;default:return}e.preventDefault()}else s&&e.keyCode===l.KeyCode.Enter&&r(!0)},[t,i,s,o,a,r]);(0,n.useEffect)(()=>(document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}),[c])}},174140:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=()=>{const e=(0,n.useRef)(null),t=(0,n.useCallback)((t,o)=>{if(!e.current)return;const n=e.current;n.scrollTop>t?n.scrollTop=t:t+o>n.scrollTop+n.clientHeight&&(n.scrollTop=t+o-n.clientHeight)},[]);return{optionsListRef:e,scrollTo:t}}},904923:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{expanded:t,disabled:o,optionValues:l,setFocusedValue:i,value:r,onOpen:s,onClose:a,selectInputRef:c}=e;const[d,b]=(0,n.useState)(!1),u=(0,n.useRef)(!1),p=(0,n.useCallback)(function(){if(arguments.length>0&&void 0!==arguments[0]?arguments[0]:!d){var e;if(o)return;b(!0),i(r&&l.includes(r)?r:l[0]),null==s||s(),null==c||null===(e=c.current)||void 0===e||e.blur()}else{var t;b(!1),null==a||a(),null==c||null===(t=c.current)||void 0===t||t.focus()}},[d,o,i,l,r,s,c,a]);return(0,n.useEffect)(()=>{"boolean"==typeof t&&u.current!==t&&(p(t),u.current=t)}
1,[t,p]),{isExpanded:d,toggleExpanded:p}}},186285:function(e,t,o){"use strict";o.r(t),o.d(t,{CustomSelectLayer:()=>c.DropLayer,CustomSelectOption:()=>p.a,CustomSelectOptionSecondaryText:()=>k.a,dataQa:()=>g.dataQa,default:()=>Z});var n=o(758162),l=o(761673),i=o.n(l),r=o(185963),s=o.n(r),a=o(42331),c=o(889694),d=o(399687),b=o.n(d),u=o(314355),p=o.n(u),h=o(402682),k=o.n(h),g=o(14933),m=o(967017),_=o.n(m),f=o(893124),v=o.n(f),w=o(243140),y=o.n(w),x=o(90459),S=o.n(x),C=o(178283),T=o.n(C),E=o(859948),I=o.n(E),B=o(281510),L=o.n(B),M=o(711618),N=o.n(M),P=o(994508),O=o(662191);const D={...a.defaultProps,behavior:a.BEHAVIOR,baseClassNames:a.BASE_CLASS_NAMES,host:null,placement:c.DropPlacement.BottomStart},A=200,R=e=>{let{placeholderTemplate:t,filteredOptions:o,value:l,emptyPlaceholder:i}=e;if(!l&&i)return i;if(l&&t)return t(l);const r=o.find(e=>(0,n.isValidElement)(e)&&e.props.value===l);return(0,n.isValidElement)(r)&&r.props.children},Z=e=>{let{value:t,defaultValue:o,onChange:l,wrapperProps:r,layer:a=c.DropLayer.AboveContent,disabled:d,invalid:u,light:p,flexible:h,expanded:k,autoClose:m=!0,children:f,source:w,search:x,onOpen:C,onClose:E,onFocus:B,onBlur:M,searchPlaceholder:Z,emptyPlaceholder:j,placeholderTemplate:$,afterOptionsTemplate:F,searchFilterFunction:H,searchFilterThrottleMs:q=A,title:W,...V}=e;const{selectInputRef:z,dropStyle:U}=v()(),{optionsListRef:Y,scrollTo:G}=L()(),{isFocused:K,setInputFocus:X,setInputBlur:Q}=S()({onFocus:B,onBlur:M}),{value:J,onChange:ee}=b()({controlledValue:t,defaultValue:o,onChangeProp:l}),{filteredOptions:te,renderSearchField:oe,setFilterQuery:ne}=y()({children:f,search:x,searchPlaceholder:Z,title:W,filterThrottleMs:q,asyncFilterFunction:H}),{focusedValue:le,setFocusedValue:ie,moveFocusedValue:re,optionValues:se}=T()({filteredOptions:te}),{isExpanded:ae,toggleExpanded:ce}=N()({expanded:k,disabled:d,optionValues:se,setFocusedValue:ie,value:J,onOpen:C,onClose:E,selectInputRef:z}),de=(0,n.useRef)(null),be=(0,n.useCallback)(e=>{ee(e),ne(""),ce(!1)},[ee,ne,ce]);I()({focusedValue:le,moveFocusedValue:re,isExpanded:ae,toggleExpanded:ce,isFocused:K,selectValue:be});const ue=(0,n.useMemo)(()=>({focusedValue:le,selectedValue:J,selectValue:be,setFocusedValue:ie,scrollTo:G}),[le,G,be,ie,J]),pe=(0,n.useCallback)(()=>(0,O.jsxs)("div",{style:U,children:[oe(),(0,O.jsx)("div",{className:P.Z["bloko-custom-select__option-list"],ref:Y,"data-qa":g.dataQa.optionList,children:te}),F?(0,O.jsx)("div",{className:P.Z["bloko-custom-select__after-options"],children:F()}):null]}),[F,U,te,Y,oe]);return(0,O.jsx)(_().Provider,{value:ue,children:(0,O.jsxs)("div",{"data-qa":g.dataQa.wrapper,...r,className:i()(P.Z["bloko-custom-select"],{[P.Z["bloko-custom-select_disabled"]]:d,[P.Z["bloko-custom-select_invalid"]]:u,[P.Z["bloko-custom-select_light"]]:p,[P.Z["bloko-custom-select_flexible"]]:h}),onFocus:X,onBlur:Q,tabIndex:0,source:w,ref:z,children:[(0,O.jsx)(s(),{...D,show:ae,onClose:()=>ce(!1),closeByClickOutside:m,layer:a,title:W,render:pe,stretchOnXS:x,flexible:!0,activatorRef:de,children:(0,O.jsx)("div",{ref:de,className:i()(P.Z["bloko-custom-select__select"],{[P.Z["bloko-custom-select__select_focus"]]:K||ae}),"data-qa":g.dataQa.select,onClick:()=>ce(),children:(0,O.jsx)("div",{className:i()(P.Z["bloko-custom-select__placeholder"],{[P.Z["bloko-custom-select__placeholder_empty"]]:!J}),suppressHydrationWarning:!0,children:R({placeholderTemplate:$,filteredOptions:te,value:J,emptyPlaceholder:j})})})}),(0,O.jsx)("input",{"data-qa":g.dataQa.hiddenInput,...V,type:"hidden",value:J||"",readOnly:!0})]})})}},188997:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(758162),l=o(211240),i=o.n(l),r=o(430145),s=o(761673),a=o.n(s),c=o(806537),d=o(487153),b=o(778057),u=o(929009),p=o(856768),h=o(284831),k=o(201962),g=o(411303),m=o(766032),_=o(662191);function f(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class v extends n.PureComponent{constructor(){super(...arguments),f(this,"state",{show:this.props.show,animate:!1,isFirstRender:!0}),f(this,"dropRef",(0,n.createRef)()),f(this,"sizeBoxRef",(0,n.createRef)()),f(this,"arrowRef",(0,n.createRef)()),f(this,"resizeObserver",void 0),f(this,"baseResizeObserver",void 0),f(this,"placement",null),f(this,"clickedInsideTheDrop",!1),f(this,"handleResize",(0,h.default)(()=>{this.placement=null,this.setupDropElement()})),f(this,"setupWidth",()=>{this.props.behavior.setupFullWidthOnXS&&this.state.show&&this.dropRef.current&&(0,k.setupWidth)(this.dropRef.current,this.getHost())}),f(this,"callOnClose",()=>{if(this.props.show){if(this.state.show&&this.props.show){var e,t;if(this.clickedInsideTheDrop)return void(this.clickedInsideTheDrop=!1);null===(e=this.props)||void 0===e||null===(t=e.onClose)||void 0===t||t.call(e)}}else this.clickedInsideTheDrop=!1}),f(this,"preventCloseCallback",()=>{this.clickedInsideTheDrop=!0}),f(this,"updateDropPosition",()=>{var e;if(!this.state.show||!this.dropRef.current||null===(e=this.props.activatorRef)||void 0===e||!e.current)return;
1let t=g.PLACEMENT_DOWN_SEQUENCE;this.props.onlySetPlacement&&(t=[this.props.placement]);const o=(0,k.updatePosition)({behavior:this.props.behavior,placementSequence:t,activatorElement:this.props.activatorRef.current,dropElement:this.dropRef.current,sizeBox:this.sizeBoxRef.current,host:this.getHost(),placement:this.placement||this.props.placement,classNames:[u.Z["bloko-drop"],...this.props.baseClassNames,(0,g.makeDropLayerClass)(this.props.layer),...g.FLEXIBLE_CLASS.split(" "),...g.FULLSCREEN_ON_XS_CLASS.split(" "),g.STRETCH_ON_XS_CLASS,g.CLICKABLE_CLASS],arrow:this.arrowRef.current,arrowSize:this.props.behavior.arrowSize});this.placement=o.placement,this.dropRef.current&&(0,m.default)(this.dropRef.current)})}initializeObserver(){var e;this.resizeObserver=(null===(e=window)||void 0===e?void 0:e.ResizeObserver)&&new window.ResizeObserver(()=>{this.state.show&&this.dropRef.current&&this.handleResize()})}componentDidMount(){var e,t,o,n;const l=this.getHost();l===document.body&&this.initializeObserver(),null!==(e=window)&&void 0!==e&&e.ResizeObserver&&(this.baseResizeObserver=new window.ResizeObserver(this.updateDropPosition)),this.setState({isFirstRender:!1}),this.state.show&&this.setupDropElement(),null===(t=this.props.activatorRef)||void 0===t||null===(o=t.current)||void 0===o||null===(n=o.addEventListener)||void 0===n||n.call(o,"click",this.preventCloseCallback),this.resizeObserver?this.resizeObserver.observe(l):window.addEventListener("resize",this.handleResize),this.props.closeByClickOutside&&document.addEventListener("click",this.callOnClose)}componentDidUpdate(e){var t;this.dropRef.current&&(0,m.default)(this.dropRef.current),this.props.show&&!e.show&&this.setState({show:!0},()=>{this.setupDropElement()}),!this.props.show&&e.show&&this.setState({animate:!0,show:!1},()=>{this.placement=null}),this.baseResizeObserver&&null!==(t=this.sizeBoxRef)&&void 0!==t&&t.current&&this.baseResizeObserver.observe(this.sizeBoxRef.current),this.updateDropPosition()}componentWillUnmount(){var e,t,o;!this.resizeObserver&&window.removeEventListener("resize",this.handleResize),this.resizeObserver&&this.resizeObserver.disconnect(),this.baseResizeObserver&&this.baseResizeObserver.disconnect(),document.removeEventListener("click",this.callOnClose),null===(e=this.props.activatorRef)||void 0===e||null===(t=e.current)||void 0===t||null===(o=t.removeEventListener)||void 0===o||o.call(t,"click",this.preventCloseCallback)}setupDropElement(){this.dropRef.current&&(0,k.setInitialCSSMetrics)(this.dropRef.current),this.setupWidth(),this.updateDropPosition()}getHost(){return this.props.host||document.body}renderTitle(){return this.props.title?(0,_.jsxs)("div",{className:u.Z["bloko-drop__title"],children:[(0,_.jsx)("div",{className:u.Z["bloko-drop__title-text"],children:this.props.title}),(0,_.jsx)("div",{className:u.Z["bloko-drop__close"],children:(0,_.jsx)(c.Z,{onClick:this.props.onClose,"data-qa":"bloko-drop-down-close-button",children:(0,_.jsx)(d.Z,{})})})]}):null}renderBody(){return this.state.show||this.state.animate?(0,_.jsxs)(n.Fragment,{children:[this.props.render(),this.props.behavior.showArrow&&(0,_.jsx)("div",{className:b.Z["bloko-drop__arrow"],ref:this.arrowRef})]}):null}renderDrop(){const{children:e,placement:t,host:o,show:n,layer:l,render:i,onClose:s,onlySetPlacement:c,closeByClickOutside:d,dataQa:b,flexible:p,baseClassNames:h,behavior:k,title:m,stretchOnXS:f,paddingWrapperClassName:v,activatorRef:w,...y}=this.props,x=a()([u.Z["bloko-drop"],...h,(0,g.makeDropLayerClass)(l)],{[g.FLEXIBLE_CLASS]:p,[g.FULLSCREEN_ON_XS_CLASS]:k.fullScreenOnXS,[g.STRETCH_ON_XS_CLASS]:k.fullScreenOnXS&&f});return(0,_.jsx)(r.Z,{in:this.state.show,timeout:{enter:g.ANIMATION_TIMEOUT_MS,exit:0},onExited:()=>{this.setState({animate:!1})},unmountOnExit:!0,classNames:{enterActive:u.Z["bloko-drop_active-enter"],enterDone:u.Z["bloko-drop_done-enter"]},nodeRef:this.dropRef,children:(0,_.jsx)("div",{...y,"data-qa":b,ref:this.dropRef,onClick:this.preventCloseCallback,className:x,children:(0,_.jsxs)("div",{ref:this.sizeBoxRef,className:a()("bloko-drop__padding-wrapper",{[v||""]:v}),children:[this.renderTitle(),this.renderBody()]})})})}renderOverlay(){return this.props.behavior.fullScreenOnXS&&(0,p.getBreakp
1oint)()===p.Breakpoint.XS&&this.state.show&&(0,_.jsx)("div",{className:"bloko-drop__overlay",onClick:this.callOnClose})}render(){return this.state.isFirstRender?this.props.children:(0,_.jsxs)(_.Fragment,{children:[this.props.children,i().createPortal(this.renderOverlay(),document.body),i().createPortal(this.renderDrop(),this.getHost())]})}}v.displayName="blocks/drop/Base/DropBase"},999217:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(662191);const i=e=>{let{DropElement:t,children:o,onClose:i,render:r,...s}=e;const[a,c]=(0,n.useState)(!1),d=(0,n.useCallback)(()=>{c(!1),null==i||i()},[i]),b=(0,n.useCallback)(e=>{var t,n;null===(t=(n=o.props).onClick)||void 0===t||t.call(n,e),c(!a),a&&(null==i||i())},[a,i,o.props]),u=(0,n.useCallback)(()=>r(d),[r,d]);return(0,l.jsx)(t,{...s,show:a,onClose:d,render:u,children:(0,n.cloneElement)(o,{onClick:b})})}},300442:function(e,t,o){"use strict";o.r(t),o.d(t,{DownLayer:()=>a.DownLayer,DownPlacement:()=>a.DownPlacement,default:()=>c});var n=o(961751),l=o.n(n),i=o(801855),r=o.n(i),s=o(662191),a=o(820248);const c=e=>(0,s.jsx)(l(),{...e,DropElement:r(),children:e.children})},767013:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});o(758162);var n=o(432135),l=o(662191);const i=e=>(0,l.jsx)("div",{...e,className:n.Z["bloko-drop-down-no-paddings"]})},205188:function(e,t,o){"use strict";o.r(t),o.d(t,{BASE_CLASS_NAMES:()=>s,BEHAVIOR:()=>c,DownLayer:()=>n.DropLayer,DownPlacement:()=>i,PADDING_WRAPPER_CLASS_NAME:()=>a,defaultProps:()=>r});var n=o(889694),l=o(432135);const i=n.DropPlacement,r={layer:n.DropLayer.AboveContent,onlySetPlacement:!1,placement:n.DropPlacement.BottomStart,dataQa:"bloko-drop-down",showCloseButton:!1},s=[l.Z["bloko-drop_down"],l.Z["bloko-drop_theme-light"]],a=l.Z["bloko-drop__padding-wrapper_down"],c={showArrow:!1,arrowSize:0,setupFullWidthOnXS:!0,placementOffset:0,alignToActivatorBorders:!0,fullScreenOnXS:!0}},449037:function(e,t,o){"use strict";o.r(t),o.d(t,{Click:()=>u,DownLayer:()=>c.DropLayer,DownPlacement:()=>d.DownPlacement,default:()=>p});var n=o(887013),l=o.n(n),i=o(45003),r=o.n(i),s=o(730522),a=o.n(s),c=o(889694),d=o(205188);const b=r().build({defaults:{...d.defaultProps,host:"body",onShow(){},onClose(){}},create(e,t){let{host:o,showCloseButton:n,layer:i,placement:r,html:s,onlySetPlacement:c,onShow:b,onClose:u,flexible:p,dataQa:h,title:k}=t;return l()(e,{host:o,layer:i,placement:r,html:s,onlySetPlacement:c,onShow:b,onClose:u,flexible:p,dataQa:h,title:k,baseClassNames:d.BASE_CLASS_NAMES,behavior:d.BEHAVIOR,template:a(),templateData:{showCloseButton:!k&&n},selectors:{component:"Bloko-Drop-Down",content:"Bloko-Drop-Down-Content"},closeByClickOutside:!0})},componentName:"drop/Down/down"}),u=(0,n.clickBaseFabric)(b),p=b},229423:function(e,t,o){"use strict";o.r(t),o.d(t,{DownLayer:()=>b.DownLayer,DownPlacement:()=>b.DownPlacement,default:()=>h});var n=o(758162),l=o(185963),i=o.n(l),r=o(806537),s=o(561539),a=o(585614),c=o(487153),d=o(521496),b=o(820248),u=o(432135),p=o(662191);const h=e=>{const{render:t,showCloseButton:o,onClose:l,...h}={host:null,...b.defaultProps,...e},k=(0,n.useCallback)(()=>{if(!o||h.title)return t();const e=(0,d.getBreakpoint)()===d.Breakpoint.XS;return(0,p.jsxs)("div",{className:u.Z["bloko-drop__content-wrapper"],children:[(0,p.jsx)("div",{className:u.Z["bloko-drop__content"],children:t()}),(0,p.jsx)("div",{className:u.Z["bloko-drop__close"],children:(0,p.jsx)(r.Z,{onClick:l,"data-qa":"bloko-drop-down-close-button",children:e?(0,p.jsx)(s.Z,{initial:a.Z.Gray80,highlighted:a.Z.Gray60}):(0,p.jsx)(c.Z,{initial:a.Z.Gray80,highlighted:a.Z.Gray60})})})]})},[o,h.title,t,l]);return(0,p.jsx)(i(),{...h,render:k,onClose:l,baseClassNames:b.BASE_CLASS_NAMES,paddingWrapperClassName:b.PADDING_WRAPPER_CLASS_NAME,behavior:b.BEHAVIOR,closeByClickOutside:!0,children:h.children})}},398056:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(758162),l=o.n(n),i=o(662191);const r=e=>{let{children:t,onHover:o,DropElement:r,show:s,...a}=e;const[c,d]=(0,n.useState)(null),b=(0,n.useCallback)(e=>{d(e)},[]),u=(0,n.useCallback)(e=>{d(e)},[]),p=(e=>{const t=(0,n.useRef)(!0);return{onMouseEnter:()=>e(!0),onMouseLeave:()=>e(!1),onTouchStart:(0,n.useCallback)(()=>{t.current=!0},[]),onTouchCancel:(0,n.useCallback)(()=>{t.current=!1},[]),onTouchMove:(0,n.useCallback)(()=>{t.current=!1},[]),onTouchEnd:(0,n.useCallback)(()=>{e(t.current),t.current=!1},[e])}})(b);if((0,n.useEffect)(()=>{null!==c&&o&&o(c)},[c,o]),!t)return null;const h="string"==typeof t?(0,i.jsx)("span",{children:t}):t;return(0,i.jsx)(r,{...a,onExternalClose:u,show:!1===s?s:c,children:l().isValidElement(h)&&l().cloneElement(h,p)})}},22771:function(e,t,o){"use strict";o.r(t),o.d(t,{InfoLayer:()=>a.InfoLayer,InfoPlacement:()=>a.InfoPlacement,InfoTheme:()=>a.InfoTheme,default:()=>c});var n=o(961751),l=o.n(n),i=o(652544),r=o.n(i),s=o(662191),a=o(977653);const c=e=>(0,s.jsx)(l(),{...e,DropElement:r(),children:e.children})},799729:function(e,t,o){"use strict";o.r(t),o.d(t,{ANIMATION_TIMEOUT_MS:()=>i,ARROW_SIZE:()=>r,BASE_CLASS_NAME:()=>b,BEHAVIOR:()=>p,InfoLayer:()=>n.DropLayer,InfoPlacement:()=>a,InfoTheme:()=>c,PADDING_WRAPPER_CLASS_NAME:()=>u,PLACEMENT_INFO_SEQUENCE:()=>s,default:()=>d});var n=o(889694),l=o(33787);
1const i=32,r=5,s=n.PLACEMENT_DOWN_SEQUENCE,a=n.DropPlacement;let c;!function(e){e.Light="light",e.Dark="dark",e.Bright="bright",e.Info="info",e.Neural="neural"}(c||(c={}));const d={theme:c.Dark,layer:n.DropLayer.AboveContent,placement:a.BottomStart,showCloseButton:!0,closeByClickOutside:!0,dataQa:"bloko-drop-info",show:!1},b=l.Z["bloko-drop_info"],u=l.Z["bloko-drop__padding-wrapper_info"],p={showArrow:!0,arrowSize:r,setupFullWidthOnXS:!1,placementOffset:n.DISTANCE+r,alignToActivatorBorders:!1,fullScreenOnXS:!1}},423011:function(e,t,o){"use strict";o.r(t),o.d(t,{InfoLayer:()=>b.DropLayer,InfoPlacement:()=>u.InfoPlacement,InfoTheme:()=>u.InfoTheme,default:()=>k});var n=o(758162),l=o(185963),i=o.n(l),r=o(863733),s=o(585614),a=o(806537),c=o(487153),d=o(33787),b=o(889694),u=o(799729),p=o(662191);const h={[u.InfoTheme.Light]:s.Z.Gray80,[u.InfoTheme.Dark]:s.Z.White,[u.InfoTheme.Bright]:s.Z.White,[u.InfoTheme.Info]:s.Z.White,[u.InfoTheme.Neural]:s.Z.White},k=e=>{const{theme:t,showCloseButton:o,render:l,onClose:s,...b}={host:null,...u.default,...e},k=(0,n.useMemo)(()=>[u.BASE_CLASS_NAME,(0,r.getThemeClass)(t)],[t]),g=(0,n.useCallback)(()=>o?(0,p.jsxs)("div",{className:d.Z["bloko-drop__content-wrapper"],children:[(0,p.jsx)("div",{className:d.Z["bloko-drop__content"],children:l()}),(0,p.jsx)("div",{className:d.Z["bloko-drop__close"],children:(0,p.jsx)(a.Z,{onClick:s,"data-qa":"bloko-drop-info-close-button",children:(0,p.jsx)(c.Z,{initial:h[t]})})})]}):l(),[o,l,t,s]);return(0,p.jsx)(i(),{...b,onClose:s,onlySetPlacement:!1,behavior:u.BEHAVIOR,baseClassNames:k,paddingWrapperClassName:u.PADDING_WRAPPER_CLASS_NAME,render:g})}},254077:function(e,t,o){"use strict";o.r(t),o.d(t,{Click:()=>k,InfoLayer:()=>b.DropLayer,InfoPlacement:()=>u.InfoPlacement,InfoTheme:()=>u.InfoTheme,default:()=>g});var n=o(887013),l=o.n(n),i=o(863733),r=o(585614),s=o(45003),a=o.n(s),c=o(296566),d=o.n(c),b=o(889694),u=o(799729);const p={[u.InfoTheme.Light]:r.Z.Gray80,[u.InfoTheme.Dark]:r.Z.White,[u.InfoTheme.Bright]:r.Z.White,[u.InfoTheme.Info]:r.Z.White,[u.InfoTheme.Neural]:r.Z.White},h=a().build({defaults:{...u.default,host:document.body,onShow:()=>{}},create(e,t){let{placement:o,layer:n,theme:r,html:s,host:a,closeByClickOutside:c,onClose:b,onShow:h,showCloseButton:k,dataQa:g,flexible:m}=t;return l()(e,{placement:o,layer:n,html:s,host:a,closeByClickOutside:c,onClose:b,onShow:h,dataQa:g,flexible:m,baseClassNames:[u.BASE_CLASS_NAME,(0,i.getThemeClass)(r)],behavior:u.BEHAVIOR,template:d(),templateData:{showCloseButton:k,icon:p[r]},selectors:{content:"Bloko-Info-Content",component:"Bloko-Info",arrow:"Bloko-Info-Arrow"},onlySetPlacement:!1})},componentName:"drop/Info/info"}),k=(0,n.clickBaseFabric)(h),g=h},607932:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(758162),l=o(430145),i=o(761673),r=o.n(i),s=o(889694),a=o(806537),c=o(487153),d=o(585614),b=o(804203);const u="bloko-info-inline",p="bloko-info-inline_no-indent",h="bloko-info-inline_with-pointer",k="bloko-info-inline__content",g="bloko-info-inline__content_without-close",m="bloko-info-inline__close";var _=o(929009),f=o(662191);const v=e=>{let{children:t,show:o=!1,showCloseButton:i=!0,render:v,onClose:w,withPointer:y,dataQa:x="bloko-drop-info-inline",noIndent:S,...C}=e;const T=(0,n.useRef)(null),E=(0,n.useCallback)(()=>(0,f.jsx)(l.Z,{in:o,timeout:{enter:s.ANIMATION_TIMEOUT_MS,exit:0},unmountOnExit:!0,classNames:{enterActive:_.Z["bloko-drop_active-enter"],enterDone:_.Z["bloko-drop_done-enter"]},nodeRef:T,children:(0,f.jsx)("div",{ref:T,"data-qa":x,...C,children:(0,f.jsx)("div",{className:r()(u,{[p]:S,[h]:y}),children:(0,f.jsx)("div",{className:r()(k,{[g]:!i}),children:(0,f.jsxs)(f.Fragment,{children:[v(),i?(0,f.jsx)("div",{className:m,children:(0,f.jsx)(b.Z,{children:(0,f.jsx)(a.Z,{onClick:w,children:(0,f.jsx)(c.Z,{initial:d.Z.Gray50,highlighted:d.Z.Gray60})})})}):null]})})})})}),[i,v,w,o,y,x,S,C]);return(0,f.jsxs)("div",{children:[t,E()]})}},693310:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(889694),l=o(487153),i=o(585614),r=o(607621),s=o(45003),a=o.n(s),c=o(180669),d=o.n(c);const b=a().build({defaults:{onClose:()=>{},showCloseButton:!0,dataQa:"bloko-drop-info-inline"},create(e,t){let o,s;const c={show(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{infoInlineNode:t,hostNode:l}=o;if(!s){if(e)return s=!0,void l.appendChild(t);s=!0,t.classList.add("bloko-drop_active-enter"),l.appendChild(t),setTimeout(()=>t.classList.add("bloko-drop_done-enter"),n.ANIMATION_TIMEOUT_MS),setTimeout(()=>{t.classList.remove("bloko-drop_done-enter"),t.classList.remove("bloko-drop_active-enter")},n.ANIMATION_TIMEOUT_MS+n.ENTER_ANIMATION_MS)}},hide(){s&&(o.hostNode.removeChild(o.infoInlineNode),s=!1)},toggle(e){(0===arguments.length?!s:e)?this.show():this.hide()},changeOptions(n){let{host:s=t.host||e.parentNode,html:b=t.html,dataQa:u=t.dataQa,showCloseButton:p=t.showCloseButton,withPointer:h=t.withPointer,show:k=t.show}=n;const g="string"==typeof s?document.querySelector(s):s,m=d().render({withPointer:h?"bloko-info-inline_with-pointer":"",closeButton:p?"":"bloko-info-inline__content_without-close",showCloseButton:p,dataQa:u}),_=document.createElement("div");_.innerHTML=m;const f=_.firstChild;return"string"==typeof b?f.querySelector(".Bloko-InfoInline-Content").innerHTML=b:b&&f.querySelector(".Bloko-InfoInline-Content").appendChild(b),p&&(a().make(r.Z,f.querySelector(".Bloko-Drop-BodyIconClose"),{CrossScaleSmallEnclosedFalse:l.Z,iconProps:{initial:i.Z.Gray50,highlighted:i.Z.Gray60}}),f.addEventListener("click",function(e){e.target.closest(".Bloko-Drop-Close")&&c.toggle()})),o={infoInlineNode:f,hostNode:g},k&&this.show(k),this}};return c.changeOptions(t),c},componentName:"drop/InfoInline/infoInline"}),u=b},820969:function(e,t,o){"use strict";o.r(t),o.d(t,{MenuItem:()=>i.MenuItem,MenuLayer:()=>s.MenuLayer,MenuPlacement:()=>s.MenuPlacement,default:()=>c});var n=o(961751),l=o.n(n),i=o(815252),r=o.n(i),s=o(42331),a=o(662191);const c=e=>(0,a.jsx)(l(),{...e,DropElement:r()})},472337:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(758162),l=o(761673),i=o.n(l),r=o(840592),s=o(662191);const a=e=>{let{Element:t="a",selected:o,selectable:n,innerRef:l,...a}=e;return(0,s.jsx)(t,{...a,ref:l,className:i()(r.Z["bloko-drop-menu-item"],{[r.Z["bloko-drop-menu-item_selected"]]:o,[r.Z["bloko-drop-menu-item_selectable"]]:n})})},c=(0,n.memo)(a)},650743:function(e,t,o){"use strict";o.r(t),o.d(t,{BASE_CLASS_NAMES:()=>s,BEHAVIOR:()=>c,MenuLayer:()=>n.DropLayer,MenuPlacement:()=>i,PADDING_WRAPPER_CLASS_NAME:()=>a,defaultProps:()=>r});var n=o(889694),l=o(465601);const i=n.DropPlacement,r={layer:n.DropLayer.AboveContent,onlySetPlacement:!1,placement:i.BottomStart,dataQa:"bloko-drop-menu"},s=[l.Z["bloko-drop_menu"],l.Z["bloko-drop_theme-light"]],a=l.Z["bloko-drop__padding-wrapper_menu"],c={showArrow:!1,arrowSize:0,setupFullWidthOnXS:!0,placementOffset:0,alignToActivatorBorders:!0,fullScreenOnXS:!0}},214630:function(e,t,o){"use strict";o.r(t),o.d(t,{MenuItem:()=>r.a,MenuLayer:()=>s.MenuLayer,MenuPlacement:()=>s.MenuPlacement,default:()=>c});var n=o(185963),l=o.n(n),i=o(321608),r=o.n(i),s=o(42331),a=(o(465601),o(662191));const c=e=>{const t={...s.defaultProps,host:null,...e};return(0,a.jsx)(l(),{...t,behavior:s.BEHAVIOR,baseClassNames:s.BASE_CLASS_NAMES,paddingWrapperClassName:s.PADDING_WRAPPER_CLASS_NAME,closeByClickOutside:!0})}},202641:function(e,t,o){"use strict";o.r(t),o.d(t,{Click:()=>u,MenuLayer:()=>c.DropLayer,MenuPlacement:()=>d.MenuPlacement,default:()=>p});var n=o(887013),l=o.n(n),i=o(45003),r=o.n(i),s=o(203630),a=o.n(s),c=o(889694),d=o(650743);const b=r().build({defaults:{...d.defaultProps,host:"body",onShow(){},onClose(){}},create(e,t){let{host:o,layer:n,placement:i,html:r,onlySetPlacement:s,onShow:c,onClose:b,flexible:u,dataQa:p,title:h}=t;return l()(e,{host:o,layer:n,placement:i,html:r,onlySetPlacement:s,onShow:c,onClose:b,flexible:u,dataQa:p,title:h,baseClassNames:d.BASE_CLASS_NAMES,behavior:d.BEHAVIOR,template:a(),selectors:{component:"Bloko-DropMenu",content:"Bloko-DropMenu-Content"},closeByClickOutside:!0})},componentName:"drop/Menu/menu"}),u=(0,n.clickBaseFabric)(b),p=b},749230:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(758162),l=o(384199),i=o.n(l),r=o(581497),s=o.n(r);const a=e=>{if(!(0,n.isValidElement)(e)||!e.props)return"";const t=e;if(t.props.searchText)return t.props.searchText;const o=e;return o.props.children&&"boolean"!=typeof o.props.children?(0,n.isValidElement)(o.props.children)&&o.props.children.props?a(o.props.children):Array.isArray(o.props.children)?o.props.children.map(e=>"string"==typeof e?e:a(e)).join(" "):o.props.children.toString():""},c=(e,t,o)=>n.Children.toArray(e).filter(e=>!!o(e)&&(!t||i().match(t,a(e)))),d=function(e,t,o){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;
1const[i,r]=(0,n.useState)(""),[a,d]=(0,n.useState)(o?[]:c(e,i,t)),b=(0,n.useMemo)(()=>s()((e,n)=>{o?o(e,n).then(e=>e&&d(e)):d(c(e,n,t))},l),[l,o,t]);return(0,n.useEffect)(()=>{b(e,i)},[e,i,b]),{filterQuery:i,setFilterQuery:r,filteredOptions:a}}},510005:function(e,t,o){"use strict";o.r(t),o.d(t,{Context:()=>r,default:()=>s});var n=o(758162),l=o.n(n),i=o(662191);const r=l().createContext({setShow:()=>{throw new Error("Add TipProvider in root App")},showedId:null}),s=e=>{let{children:t}=e;const[o,l]=(0,n.useState)(null);return(0,i.jsx)(r.Provider,{value:{setShow:l,showedId:o},children:t})}},22966:function(e,t,o){"use strict";o.r(t),o.d(t,{TipLayer:()=>i.TipLayer,TipPlacement:()=>i.TipPlacement,TipProvider:()=>a.a,TipTheme:()=>i.TipTheme,default:()=>d});var n=o(836604),l=o.n(n),i=o(636361),r=o.n(i),s=o(467987),a=o.n(s),c=o(662191);const d=e=>{let{children:t,...o}=e;return(0,c.jsx)(l(),{DropElement:r(),...o,children:t})}},517073:function(e,t,o){"use strict";o.r(t),o.d(t,{ANIMATION_TIMEOUT_MS:()=>r,ARROW_SIZE:()=>s,BASE_CLASS_NAMES:()=>a,PLACEMENT_TIP_SEQUENCE:()=>d,TipLayer:()=>n.DropLayer,TipPlacement:()=>c,TipTheme:()=>b,default:()=>u});var n=o(889694),l=o(923496),i=o(787503);const r=32,s=5,a=[i.Z["bloko-drop"],i.Z["bloko-drop_tip"]],c={Top:l.Placement.Top,Right:l.Placement.Right,Bottom:l.Placement.Bottom,Left:l.Placement.Left},d=Object.values(c);let b;!function(e){e.Dark="dark",e.Attention="attention"}(b||(b={}));const u={theme:b.Dark,layer:n.DropLayer.AboveContent,placement:c.Top,dataQa:"bloko-drop-tip",show:!1,host:null,flexible:!1}},472770:function(e,t,o){"use strict";o.r(t),o.d(t,{TipLayer:()=>p.TipLayer,TipPlacement:()=>p.TipPlacement,TipProvider:()=>u.a,TipTheme:()=>p.TipTheme,default:()=>w});var n=o(758162),l=o(211240),i=o.n(l),r=o(430145),s=o(863733),a=o(889694),c=o(482221),d=o.n(c),b=o(467987),u=o.n(b),p=o(53380),h=o.n(p),k=o(787503),g=o(778057),m=o(662191);function _(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}let f=0;class v extends n.Component{constructor(e){super(e),_(this,"updateTipPosition",()=>{var e;if(this.state.show&&this.dropRef.current&&this.props.placement&&null!==(e=this.props.activatorRef)&&void 0!==e&&e.current){const e=this.props.layer?[...p.BASE_CLASS_NAMES,(0,a.makeDropLayerClass)(this.props.layer)]:[...p.BASE_CLASS_NAMES];this.props.flexible&&e.push(a.FLEXIBLE_CLASS),(0,s.updatePosition)({placementSequence:p.PLACEMENT_TIP_SEQUENCE,activatorElement:this.props.activatorRef.current,dropElement:this.dropRef.current,host:this.getHost(),placement:this.props.placement,classNames:e,arrowSize:p.ARROW_SIZE,arrow:this.arrowRef.current,behavior:{placementOffset:a.DISTANCE+p.ARROW_SIZE,alignToActivatorBorders:!1,fullScreenOnXS:!1,setupFullWidthOnXS:!1,arrowSize:0,showArrow:!1}}),this.props.theme&&this.dropRef.current.classList.add((0,s.getThemeClass)(this.props.theme))}}),f+=1,this.dropRef=(0,n.createRef)(),this.arrowRef=(0,n.createRef)(),this.state={uid:f,show:!1}}componentDidMount(){window.addEventListener("resize",this.updateTipPosition),this.props.show&&(this.setState({show:!0}),this.props.context.setShow(this.state.uid))}componentDidUpdate(e,t){this.dropRef.current&&d()(this.dropRef.current);const{showedId:o,setShow:n}=this.props.context;this.state.show&&!t.show&&this.dropRef.current&&(0,s.setInitialCSSMetrics)(this.dropRef.current),o===e.context.showedId&&this.state.show===t.show&&this.props.show&&o!==this.state.uid&&(this.setState({show:!0}),n(this.state.uid)),o!==e.context.showedId&&this.state.show&&o!==this.state.uid?this.props.onExternalClose(!1):this.props.show!==e.show&&this.setState({show:!!this.props.show}),this.updateTipPosition()}componentWillUnmount(){window.removeEventListener("resize",this.updateTipPosition)}getHost(){var e,t;return this.props.host||(null===(e=this.props.activatorRef)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.parentNode)}
1renderTip(){const{children:e,placement:t,theme:o,context:n,host:l,show:i,layer:s,render:c,dataQa:d,onExternalClose:b,flexible:u,activatorRef:h,..._}=this.props,f=s?[...p.BASE_CLASS_NAMES,(0,a.makeDropLayerClass)(s)]:[...p.BASE_CLASS_NAMES];return u&&f.push(a.FLEXIBLE_CLASS),(0,m.jsx)(r.Z,{in:this.state.show,timeout:{enter:p.ANIMATION_TIMEOUT_MS,exit:0},unmountOnExit:!0,classNames:{enterActive:k.Z["bloko-drop_active-enter"],enterDone:k.Z["bloko-drop_done-enter"]},nodeRef:this.dropRef,children:(0,m.jsxs)("div",{className:f.join(" "),ref:this.dropRef,..._,children:[(0,m.jsx)("div",{"data-qa":d,children:c()}),(0,m.jsx)("div",{className:g.Z["bloko-drop__arrow"],ref:this.arrowRef})]})})}render(){return(0,m.jsxs)(n.Fragment,{children:[this.props.children,this.props.host?i().createPortal(this.renderTip(),this.props.host):this.renderTip()]})}}v.displayName="drop/Tip/index/TipComponent",_(v,"defaultProps",h());const w=e=>(0,m.jsx)(b.Context.Consumer,{children:t=>(0,m.jsx)(v,{...h(),...e,context:t})})},37165:function(e,t,o){"use strict";o.r(t),o.d(t,{TipLayer:()=>b.TipLayer,TipPlacement:()=>b.TipPlacement,TipTheme:()=>b.TipTheme,default:()=>m});var n=o(863733),l=o(889694),i=o(482221),r=o.n(i),s=o(45003),a=o.n(s),c=o(348674),d=o.n(c),b=o(53380),u=o.n(b),p=o(914301),h=o.n(p);let k;const g=a().build({defaults:{...u(),host:void 0,onExternalClose:()=>{}},create(e,t){let o,i;const s=d()(t=>{const{tipNode:i,hostNode:r,placement:s,theme:a,layer:c,arrowRef:d,flexible:u}=o;(0,n.updatePosition)({activatorElement:e,placement:s,host:r,placementSequence:b.PLACEMENT_TIP_SEQUENCE,classNames:[...b.BASE_CLASS_NAMES,(0,l.makeDropLayerClass)(c),u?l.FLEXIBLE_CLASS:"",t?"":"bloko-drop_active-enter","Bloko-Tip"],dropElement:i,arrow:d,arrowSize:b.ARROW_SIZE,behavior:{placementOffset:l.DISTANCE+b.ARROW_SIZE,alignToActivatorBorders:!1}}),i.classList.add((0,n.getThemeClass)(a))}),a={show(){const{tipNode:e,hostNode:t,onExternalClose:c}=o;i||(k&&(k.hide(),c()),k=a,i=!0,e.classList.add("bloko-drop_active-enter"),r()(e),t.appendChild(e),(0,n.setInitialCSSMetrics)(e),s(),window.addEventListener("resize",s),setTimeout(()=>e.classList.add("bloko-drop_done-enter"),b.ANIMATION_TIMEOUT_MS),setTimeout(()=>{e.classList.remove("bloko-drop_done-enter"),e.classList.remove("bloko-drop_active-enter")},b.ANIMATION_TIMEOUT_MS+l.ENTER_ANIMATION_MS))},hide(){i&&(o.hostNode.removeChild(o.tipNode),k=null,i=!1,window.removeEventListener("resize",s))},toggle(e){(0===arguments.length?!i:e)?this.show():this.hide()},changeOptions(r){let{host:s=t.host||e.parentNode,html:a=t.html,placement:c=t.placement,theme:d=t.theme,layer:b=t.layer,dataQa:u=t.dataQa,onExternalClose:p=t.onExternalClose,flexible:k=t.flexible}=r;const g=i;i&&this.hide();const m="string"==typeof s?document.querySelector(s):s,_=h().render({layer:(0,l.makeDropLayerClass)(b),placement:(0,n.getPlacementClass)(c).join(" "),theme:(0,n.getThemeClass)(d),dataQa:u}),f=document.createElement("div");f.innerHTML=_;const v=f.firstChild;"string"==typeof a?v.querySelector(".Bloko-Tip-Content").innerHTML=a:a&&v.querySelector(".Bloko-Tip-Content").appendChild(a);const w=v.querySelector(".Bloko-Tip-Arrow");return o={tipNode:v,hostNode:m,placement:c,theme:d,layer:b,arrowRef:w,onExternalClose:p,flexible:k},g&&this.show(),this}};return a.changeOptions(t),a},componentName:"drop/Tip/tip"}),m=g},788585:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(889694);const l={x:{start(e){let{elementMetrics:t,alignToActivatorBorders:o}=e;return o||t.width>=n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{left:t.left}:{left:t.left+t.width/2-n.OFFSET_TO_ARROW_X}},center(e){let{elementMetrics:t,dropElementMetrics:o}=e;return{left:t.left+(t.width-o.width)/2}}
1,end(e){let{elementMetrics:t,dropElementMetrics:o,alignToActivatorBorders:l}=e;return l||t.width>=n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{left:t.right-o.width}:{left:t.left+t.width/2-o.width+n.OFFSET_TO_ARROW_X}}},y:{start(e){let{elementMetrics:t,alignToActivatorBorders:o}=e;return o||t.height>=n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{top:t.top}:{top:t.top+t.height/2-n.OFFSET_TO_ARROW_Y}},center(e){let{elementMetrics:t,dropElementMetrics:o}=e;return{top:t.top+(t.height-o.height)/2}},end(e){let{elementMetrics:t,dropElementMetrics:o,alignToActivatorBorders:l}=e;return l||t.height>=n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{top:t.bottom-o.height}:{top:t.top+t.height/2-o.height+n.OFFSET_TO_ARROW_Y}}}}},356521:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(889694),l=o(964240);const i={x:{start(e){let{elementMetrics:t,dropElementMetrics:o}=e;const i=(0,l.getIntersectionX)(t,o);return i?t.width>n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{left:i.start+n.OFFSET_TO_ARROW_X-o.left}:{left:(i.end-i.start)/2+i.start-o.left}:{}},center(e){let{elementMetrics:t,dropElementMetrics:o,arrowSize:n}=e;return{left:Math.min(Math.max(t.left-o.left+t.width/2,n),o.width-2*n)}},end(e){let{elementMetrics:t,dropElementMetrics:o}=e;const i=(0,l.getIntersectionX)(t,o);return i?t.width>n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{left:i.end-n.OFFSET_TO_ARROW_X-o.left}:{left:(i.end-i.start)/2+i.start-o.left}:{}}},y:{start(e){let{elementMetrics:t,dropElementMetrics:o}=e;const i=(0,l.getIntersectionY)(t,o);return i?t.height>n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{top:i.start+n.OFFSET_TO_ARROW_Y-o.top}:{top:(i.end-i.start)/2+i.start-o.top}:{}},center(e){let{elementMetrics:t,dropElementMetrics:o,arrowSize:n}=e;return{top:Math.min(Math.max(t.top-o.top+t.height/2,n),o.height-2*n)}},end(e){let{elementMetrics:t,dropElementMetrics:o}=e;const i=(0,l.getIntersectionY)(t,o);return i?t.height>n.MIN_SIZE_TO_PLACE_DROP_AT_THE_START?{top:i.start+n.OFFSET_TO_ARROW_Y-o.top}:{top:(i.end-i.start)/2+i.start-o.top}:{}}}}},705685:function(e,t,o){"use strict";o.r(t),o.d(t,{clickBaseFabric:()=>h,default:()=>k});var n=o(487153),l=o(585614),i=o(561539),r=o(607621),s=o(45003),a=o.n(s),c=o(348674),d=o.n(c),b=o(201962),u=o(411303),p=o(766032);function h(e){return a().build({create(t,o){const n=a().make(e,t,o);return t.addEventListener("click",()=>n.toggle()),n},componentName:"blocks/drop/classic"})}const k=function(e,t){var o;let{placement:s,layer:c,onlySetPlacement:h,html:k,host:g,closeByClickOutside:m,onClose:_,onShow:f,dataQa:v,flexible:w,template:y,baseClassNames:x,selectors:S,behavior:C,templateData:T={},title:E}=t;const I="string"==typeof g?document.querySelector(g):g;let B,L,M,N=!1,P=!1,O=e,D=s;const A=d()(()=>{if((0,b.setInitialCSSMetrics)(B),C.setupFullWidthOnXS&&(0,b.setupWidth)(B,I),!N)return;let e=u.PLACEMENT_DOWN_SEQUENCE;h&&(e=[D]);const t=(0,b.updatePosition)({behavior:C,placementSequence:e,activatorElement:O,dropElement:B,host:I,placement:D,classNames:["bloko-drop",...x,S.component,"bloko-drop_active-enter","bloko-drop_done-enter",(0,u.makeDropLayerClass)(c),...u.FLEXIBLE_CLASS.split(" "),...u.FULLSCREEN_ON_XS_CLASS.split(" ")],arrowSize:C.arrowSize,arrow:L,useDynamic:!0});D=t.placement,(0,p.default)(B)}),R=I===document.body&&(null===(o=window)||void 0===o?void 0:o.ResizeObserver)&&new window.ResizeObserver(()=>{N&&A()}),Z={show(){N||(N=!0,B.classList.add("bloko-drop_active-enter"),I.appendChild(B),A(),R?R.observe(I):window.addEventListener("resize",A),setTimeout(()=>{B.classList.add("bloko-drop_done-enter"),f()},u.ANIMATION_TIMEOUT_MS),setTimeout(()=>{B.classList.remove("bloko-drop_done-enter"),B.classList.remove("bloko-drop_active-enter")},u.ANIMATION_TIMEOUT_MS+u.ENTER_ANIMATION_MS))},getContent:()=>M,hide(){N&&(_(),I.removeChild(B),N=!1,!R&&window.removeEventListener("resize",A),R&&R.unobserve(I))},toggle(e){(0===arguments.length?!N:e)?Z.show():Z.hide()},setPosition(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;Z.hide(),O=e,D=t}};function j(){Z.hide(),P=!0}const $=y.render({layer:(0,u.makeDropLayerClass)(c),cssClasses:x.join(" "),templateData:T,flexible:w?u.FLEXIBLE_CLASS:"",dataQa:v,title:E}),F=document.createElement("div");var H;(F.innerHTML=$,B=F.firstChild,T.showCloseButton)&&a().make(r.Z,F.querySelector(".Bloko-Drop-BodyIconClose"),{IconComponent:n.Z,iconProps:{initial:null!==(H=T.icon)&&void 0!==H?H:l.Z.Gray80,highlighted:l.Z.Gray60}});const q=F.querySelector(".Bloko-Drop-TitleIconClose");var W;q&&a().make(r.Z,q,{IconComponent:i.Z,iconProps:{initial:null!==(W=T.icon)&&void 0!==W?W:l.Z.Gray80,highlighted:l.Z.Gray60}});
1return M=S.content?B.querySelector(`.${S.content}`):B,S.arrow&&(L=B.querySelector(`.${S.arrow}`)),"string"==typeof k?M.innerHTML=k:k&&M.appendChild(k),window.addEventListener("click",function(e){if(N){if(!e.target.closest)return m&&P&&j(),void(P=!0);m&&P&&null===e.target.closest(`.${S.component}`)&&j(),e.target.closest(".Bloko-Drop-Close")&&j(),P=!0}else P=!0}),m&&O.addEventListener("click",()=>{P=!1}),Z}},201962:function(e,t,o){"use strict";o.r(t),o.d(t,{calculateRectangle:()=>v,getPlacementClass:()=>m,getThemeClass:()=>f,setInitialCSSMetrics:()=>C,setupWidth:()=>T,updateCSSMetrics:()=>_,updatePosition:()=>x});var n=o(521496),l=o(923496),i=o.n(l),r=o(60157),s=o.n(r),a=o(704591),c=o.n(a),d=o(889694),b=o(904167),u=o.n(b),p=o(514133),h=o.n(p),k=o(778057),g=o(929009);function m(e){return k.Z[`bloko-drop_${e.split("-")[0]}`].split(" ")}function _(e,t){e&&t&&(e.style.length>0&&e.removeAttribute("style"),Object.keys(t).forEach(o=>{e.style.setProperty(o,d.RESERVED_CSS_VALUES.includes(`${t[o]}`)?`${t[o]}`:`${t[o]}px`)}))}function f(e){return g.Z[`bloko-drop_theme-${e}`]}function v(e,t,o){const n=e.top+o.top,l=e.left+o.left,i=n+t.height;return{top:n,right:l+t.width,bottom:i,left:l,width:t.width,height:t.height}}function w(e){let{behavior:t,placement:o,align:n,host:l,dropElement:r,elementMetrics:a,dropElementMetrics:b,viewportMetrics:p,elementOffset:k,arrowSize:g=0}=e,m={left:0,top:0};if(l!==document.body){const e=i().getRelativeMetrics(r),t=i().getMetrics(r);m={left:t.left-e.left,top:t.top-e.top}}const _=h()[o]({offset:t.placementOffset,elementMetrics:a,dropElementMetrics:b}),{possibleToChange:f}=_,w={..._.metrics,...s()[f][n]({elementMetrics:a,alignToActivatorBorders:t.alignToActivatorBorders,dropElementMetrics:b})},y=i().getScrollbarWidth(),x={left:p.left+d.GUARD_SIZE,right:p.right-d.GUARD_SIZE,width:p.width-2*d.GUARD_SIZE,height:p.height-2*d.GUARD_SIZE,top:p.top+d.GUARD_SIZE,bottom:p.bottom-d.GUARD_SIZE},S={...p,width:p.width-y,right:p.right-y},C=i().checkIfRectangleInRectangle(v(w,b,k),S),T={left:k.left-m.left,top:k.top-m.top};if(0===C.length)return{metrics:w,arrow:"center"===n?void 0:c()[f][n]({elementMetrics:a,dropElementMetrics:v(w,b,T),arrowSize:g}),success:!0};if(function(e,t){return d.DIRECTION_MAPPING[t].every(t=>e.includes(t))}(C,f))return{metrics:w,arrow:c()[f][n]({elementMetrics:a,dropElementMetrics:v(w,b,T),arrowSize:g}),success:!1};let E=u()[f]({metrics:v(w,b,k),viewport:x,elementMetrics:a});E.success||(E=u()[f]({metrics:v(w,b,k),viewport:S,elementMetrics:a}));const I={top:E.metrics.top-m.top,right:E.metrics.right,left:E.metrics.left-m.left,bottom:E.metrics.bottom,width:E.metrics.width,height:E.metrics.height};return{metrics:I,arrow:c()[f][n]({elementMetrics:a,dropElementMetrics:I,arrowSize:g}),success:E.success}}function y(e){return"center"===e.align?e.placement:`${e.placement}-${e.align}`}function x(e){let{host:t,behavior:o,activatorElement:l,placement:r,dropElement:s,sizeBox:a,classNames:c,arrowSize:b,arrow:u,placementSequence:p}=e;const h=function(e){let{placement:t,element:o,behavior:l,dropElement:r,sizeBox:s,host:a,arrowSize:c,placementSequence:d}=e;const b=[...d],u=b.indexOf(t),p=b.slice(u).concat(b.slice(0,u)).map(e=>{const[t,o="center"]=e.split("-");return{placement:t,align:o}});if(l.fullScreenOnXS&&(0,n.getBreakpoint)()===n.Breakpoint.XS)return{placement:y(p[0]),metrics:{},arrow:void 0};const h=a===document.body?i().getMetrics(o):i().getRelativeMetrics(o),k=i().getMetrics(s||r),g=i().getViewportMetrics(),m=i().getMetrics(o),_={left:m.left-h.left,top:m.top-h.top},f=w({behavior:l,placement:p[0].placement,align:p[0].align,elementMetrics:h,dropElementMetrics:k,viewportMetrics:g,elementOffset:_,host:a,dropElement:r,arrowSize:c});if(!f.success)for(let e=1;e<p.length;e++){const t=w({behavior:l,placement:p[e].placement,align:p[e].align,elementMetrics:h,host:a,dropElement:r,dropElementMetrics:k,viewportMetrics:g,elementOffset:_,arrowSize:c});if(t.success)return{placement:y(p[e]),metrics:t.metrics,arrow:t.arrow}}return{placement:y(p[0]),metrics:f.metrics,arrow:f.arrow}}({element:l,dropElement:s,sizeBox:a,placement:r,host:t,arrowSize:b,behavior:o,placementSequence:p});return _(s,h.metrics),u&&(u.style.top="",u.style.left="",_(u,h.arrow)),[...s.classList].forEach(e
1=>{c.includes(e)||s.classList.remove(e)}),s.classList.add(...m(h.placement)),o.fullScreenOnXS&&s.classList.add(...d.FULLSCREEN_ON_XS_CLASS.split(" ")),{placement:h.placement}}const S=-9999;function C(e){_(e,{left:S,top:S})}function T(e,t){(0,n.getBreakpoint)()===n.Breakpoint.XS&&t!==document.body&&document.querySelector(".xs-friendly")?(e.style.width="",e.style.width=window.innerWidth-i().getScrollbarWidth()+"px"):e.style.width=""}},411303:function(e,t,o){"use strict";o.r(t),o.d(t,{ANIMATION_TIMEOUT_MS:()=>S,ARROW_SIZE:()=>T,CLICKABLE_CLASS:()=>h,DEBOUNCE_DELAY_MS:()=>x,DIRECTION_MAPPING:()=>f,DISTANCE:()=>w,DropLayer:()=>l.a,DropPlacement:()=>a,ENTER_ANIMATION_MS:()=>C,FLEXIBLE_CLASS:()=>b,FULLSCREEN_ON_XS_CLASS:()=>u,GUARD_SIZE:()=>d,MIN_SIZE_TO_PLACE_DROP_AT_THE_START:()=>g,OFFSET_TO_ARROW_X:()=>m,OFFSET_TO_ARROW_Y:()=>_,OPPOSITE_DIRECTIONS:()=>v,PLACEMENT_DOWN_SEQUENCE:()=>c,RESERVED_CSS_VALUES:()=>k,STRETCH_ON_XS_CLASS:()=>p,makeDropLayerClass:()=>y});var n=o(755746),l=o.n(n),i=o(923496),r=o(778057),s=o(929009);const a={TopStart:i.Placement.TopStart,TopEnd:i.Placement.TopEnd,RightStart:i.Placement.RightStart,RightEnd:i.Placement.RightEnd,BottomStart:i.Placement.BottomStart,BottomEnd:i.Placement.BottomEnd,LeftStart:i.Placement.LeftStart,LeftEnd:i.Placement.LeftEnd},c=Object.values(a),d=15,b=r.Z["bloko-drop_flexible"],u=r.Z["bloko-drop_fullscreen-on-xs"],p=s.Z["bloko-drop_stretch-on-xs"],h=s.Z["bloko-drop_clickable"],k=["auto"],g=50,m=25,_=21,f={x:["left","right"],y:["top","bottom"]},v=[f.x,f.y],w=5,y=e=>s.Z[`bloko-drop_layer-${e}`],x=100,S=32,C=300,T=5},63491:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(923496),l=o.n(n),i=o(889694),r=o(964240);const s={x(e){let{metrics:t,viewport:o,elementMetrics:n}=e,s=(0,r.getIntersectionX)(t,o);if(!s)return{success:!1,metrics:t};const{start:a,end:c}=s,d={...t};return t.left!==a&&(d.left=a,d.right=d.left+d.width),t.right!==c&&(d.right=c,d.left=d.right-d.width),s=(0,r.getIntersectionX)(d,n,Math.min(i.OFFSET_TO_ARROW_X+i.GUARD_SIZE,n.width)),s?{success:l().isRectangleInRectangle(d,o),metrics:d}:{success:!1,metrics:t}},y(e){let{metrics:t,viewport:o,elementMetrics:n}=e,s=(0,r.getIntersectionY)(t,o);if(!s)return{success:!1,metrics:t};const{start:a,end:c}=s,d={...t};return t.top!==a&&(d.top=a,d.bottom=d.top+d.height),t.bottom!==c&&(d.bottom=c,d.top=d.bottom-d.height),s=(0,r.getIntersectionY)(d,n,Math.min(i.OFFSET_TO_ARROW_Y+i.GUARD_SIZE,n.height)),s?{success:l().isRectangleInRectangle(d,o),metrics:d}:{success:!1,metrics:t}}}},929988:function(e,t,o){"use strict";function n(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n={start:0,end:0};return e.left>t.right-o||t.left>e.right-o?null:(e.left>t.left?n.start=e.left:n.start=t.left,e.right>t.right?n.end=t.right:n.end=e.right,n)}function l(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n={start:0,end:0};return e.top>t.bottom-o||t.top>e.bottom-o?null:(e.top>t.top?n.start=e.top:n.start=t.top,e.bottom>t.bottom?n.end=t.bottom:n.end=e.bottom,n)}o.r(t),o.d(t,{getIntersectionX:()=>n,getIntersectionY:()=>l})},733563:function(e,t,o){"use strict";o.r(t),o.d(t,{ClickDown:()=>r.a,ClickInfo:()=>d.a,ClickMenu:()=>g.a,Down:()=>l.a,HoverTip:()=>S.a,Info:()=>a.a,InfoInline:()=>u.a,Menu:()=>h.a,MenuItem:()=>_.a,Tip:()=>v.a,TipContext:()=>w.Context,TipProvider:()=>y.a});var n=o(801855),l=o.n(n),i=o(203461),r=o.n(i),s=o(652544),a=o.n(s),c=o(912690),d=o.n(c),b=o(909809),u=o.n(b),p=o(815252),h=o.n(p),k=o(44029),g=o.n(k),m=o(321608),_=o.n(m),f=o(636361),v=o.n(f),w=o(467987),y=o.n(w),x=o(539175),S=o.n(x)},650068:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={top(e){let{elementMetrics:t,dropElementMetrics:o,offset:n}=e;return{metrics:{top:t.top-o.height-n},possibleToChange:"x"}},bottom(e){let{elementMetrics:t,offset:o}=e;return{metrics:{top:t.bottom+o},possibleToChange:"x"}},left(e){let{elementMetrics:t,dropElementMetrics:o,offset:n}=e;return{metrics:{left:t.left-o.width-n},possibleToChange:"y"}},right(e){let{elementMetrics:t,offset:o}=e;return{metrics:{left:t.right+o},possibleToChange:"y"}}}},766032:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(407017),l=o.n(n),i=o(889694);const r=e=>{l()(e,()=>{requestAnimationFrame(()=>{e.classList.add(i.CLICKABLE_CLASS)})})}},785428:function(e,t,o){"use strict";o.r(t)},624590:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(758162),l=o.n(n);const i="bloko-external-link";var r=o(662191);const s=(e,t)=>{let{children:o,onClick:n,target:l="_blank",href:s,...a}=e;return(0,r.jsx)("button",{className:i,...a,ref:t,onClick:e=>{null==n||n(e),window.open(s,l,"noopener")},children:o})},a=l().forwardRef(s)},254606:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(758162),l=o(761673),i=o.n(l),r=o(407017),s=o.n(r),a=o(303131),c=o(662191);const d=e=>{let{Element:t="div",children:o,show:l=!1,source:r,...d}=e;
1const b=(0,n.useRef)(null),[u,p]=(0,n.useState)(l);return(0,n.useEffect)(()=>{if(l){if(p(!0),u&&b.current){const t=((e=b.current).classList.remove(a.Z["bloko-form-error_hidden"]),e.style.height="auto",e.clientHeight-parseInt(getComputedStyle(e).paddingBottom,10)+"px");b.current.classList.add(a.Z["bloko-form-error_entering"]),b.current.style.height="0",requestAnimationFrame(()=>{b.current&&(b.current.style.height=t)})}}else if(b.current)return b.current.classList.add(a.Z["bloko-form-error_exiting"]),b.current.style.height="0",s()(b.current,()=>{p(!1)});var e},[l,u,o]),u?(0,c.jsx)(t,{...d,className:i()(a.Z["bloko-form-error"],a.Z["bloko-form-error_hidden"]),ref:b,source:r,children:o}):null}},42465:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{Element:t="div",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-form-hint"],...o})}},970992:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(761673),l=o.n(n),i=o(303131),r=o(662191);const s=e=>{let{Element:t="div",baseline:o=!1,text:n=!1,children:s,innerRef:a,...c}=e;return(0,r.jsx)(t,{...c,ref:a,className:l()({[i.Z["bloko-form-item-baseline"]]:o,[i.Z["bloko-form-item"]]:!o,[i.Z["bloko-form-item-text"]]:n}),children:s})}},985427:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{Element:t="div",children:o,...i}=e;return(0,l.jsx)(t,{...i,className:n.Z["bloko-form-item-group"],children:o})}},967828:function(e,t,o){"use strict";o.r(t),o.d(t,{FormLegendScale:()=>s,default:()=>a});var n=o(761673),l=o.n(n),i=o(303131),r=o(662191);let s;!function(e){e.Small="small",e.Large="large"}(s||(s={}));const a=e=>{let{Element:t="div",children:o,scale:n,...s}=e;return(0,r.jsx)(t,{...s,className:l()(i.Z["bloko-form-legend"],{[i.Z[`bloko-form-legend_for-${n}`]]:n}),children:o})}},894069:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{Element:t="div",children:o,...i}=e;return(0,l.jsx)(t,{...i,className:n.Z["bloko-form-one-column"],children:o})}},765323:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{...t}=e;return(0,l.jsx)("span",{...t,className:n.Z["bloko-form-required"]})}},875506:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{Element:t="div",children:o,...i}=e;return(0,l.jsx)(t,{...i,className:n.Z["bloko-form-separator"],children:o})}},317272:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(303131),l=o(662191);const i=e=>{let{Element:t="div",children:o,...i}=e;return(0,l.jsx)(t,{...i,className:n.Z["bloko-form-spacer"],children:o})}},898808:function(e,t,o){"use strict";o.r(t),o.d(t,{FormError:()=>n.default,FormHint:()=>l.default,FormItem:()=>i.default,FormItemGroup:()=>r.default,FormLegend:()=>s.default,FormOneColumn:()=>a.default,FormRequired:()=>c.default,FormSeparator:()=>d.default,FormSpacer:()=>b.default});var n=o(254606),l=o(42465),i=o(970992),r=o(985427),s=o(967828),a=o(894069),c=o(765323),d=o(875506),b=o(317272)},78458:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(641208),l=o.n(n),i=o(96242),r=o.n(i),s=o(45003),a=o.n(s),c=o(20022),d=o.n(c),b=o(14482),u=o.n(b),p=o(535265),h=o.n(p),k=o(222568),g=o.n(k);const m=h().android()||h().IEMobile(),_=".Bloko-FormattedNumericInput-Visible",f=".Bloko-FormattedNumericInput-Hidden";const v=a().build({defaults:{groupSeparator:" ",groupSize:3},create:function(e,t){const o=l()(e),n=o.find(f),i=o.find(_);if(m&&(t.groupSeparator=""),a().make(r(),i[0],t),i.on("input change",()=>{n.val(u().format(i.val(),{groupSeparator:"",decimalMark:".",decimalLength:t.decimalLength,allowNegative:t.allowNegative})),n[0].dispatchEvent(d()("change"))}),t.maxLength){const e=g()(t.maxLength,t.groupSeparator,t.groupSize,m);i.attr("maxLength",e)}},componentName:"bloko/blocks/formattedNumericInput"})},494331:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t,o,n)=>{const l=parseInt(`${e}`,10);if(l)return n?l:Math.floor(l+(l-t.length)/o)}},177664:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(758162),l=o(156042),i=o.n(l),r=o(730806),s=o.n(r),a=o(14482),c=o.n(a),d=o(348674),b=o.n(d),u=o(535265),p=o.n(u),h=o(640397),k=o.n(h),g=o(222568),m=o.n(g),_=o(662191);const f="undefined"!=typeof window&&(p().android()||p().IEMobile()),v=(0,n.forwardRef)((e,t)=>{let{value:o,onChange:l,groupSeparator:r=" ",groupSize:a=3,decimalMark:d=",",decimalLength:u,allowNegative:p,...h}=e;const g=(0,n.useCallback)(e=>c().format(e,{groupSeparator:"",decimalMark:".",decimalLength:u,allowNegative:p}),[p,u]),v=(0,n.useCallback)(e=>{const t=String(e);let o=c().format(t,{groupSeparator:f?"":r,groupSize:a,decimalMark:d,allowNegative:p,decimalLength:u});const n=t.charAt(t.length-1);return n===d&&(o+=n),o},[r,a,d,p,u]),w=(0,n.useCallback)((e,t)=>{let n=k().getCaretPosition(e)+s()(e.value,t,r);v(o)===t&&(n-=1),b()(()=>k().setCaretPosition(e,n))()},[o,v,r]),y=(0,n.useCallback)((e,t)=>{let{element:o}=t;f||w(o,v(e));const n=e.charAt(e.length-1),i=g(e)+(n===d?n:"");l(i,{element:o})},[d,w,v,g,l]);return h.maxLength&&(h.maxLength=m()(h.maxLength,r,a,f)),(0,_.jsx)(i(),{ref:t,value:v(o),decimalMark:d,decimalLength:u,onChange:y,groupSeparator:r,allowNegative:p,...h})})},493312:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>E});var n=o(761673),l=o.n(n);const i="bloko-gap",r="bloko-gap_top",s="bloko-gap_m-top",a="bloko-gap_right",c="bloko-gap_m-right",d="bloko-gap_bottom",b="bloko-gap_m-bottom",u="bloko-gap_left",p="bloko-gap_m-left",h="bloko-gap_s-top",k="bloko-gap_s-right",g="bloko-gap_s-bottom",m="bloko-gap_s-left",_="bloko-gap_xs-top",f="bloko-gap_xs-right",v="bloko-gap_xs-bottom",w="bloko-gap_xs-left",y="bloko-gap_l-top",x="bloko-gap_l-right",S="bloko-gap_l-bottom",C="bloko-gap_l-left";var T=o(662191);const E=e=>{let{top:t,right:o,left:n,bottom:E,mTop:I,mRight:B,mLeft:L,mBottom:M,sTop:N,sRight:P,sBottom:O,sLeft:D,xsTop:A,xsRight:R,xsLeft:Z,xsBottom:j,lTop:$,lRight:F,lBottom:H,lLeft:q,Element:W="div",...V}=e;return(0,T.jsx)(W,{className:l()(i,{[r]:t,[a]:o,[u]:n,[d]:E,[h]:N,[k]:P,[m]:D,[g]:O,[s]:I,[c]:B,[p]:L,[b]:M,[_]:A,[f]:R,[w]:Z,[v]:j,[y]:$,[x]:F,[C]:q,[S]:H}),...V})}},972869:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(758162),l=o(761673),i=o.n(l);const r={"bloko-h-spacing-container":"bloko-h-spacing-container","bloko-h-spacing-container_base-0":"bloko-h-spacing-container_base-0","bloko-h-spacing-container_base-1":"bloko-h-spacing-container_base-1","bloko-h-spacing-container_base-2":"bloko-h-spacing-container_base-2","bloko-h-spacing-container_base-3":"bloko-h-spacing-container_base-3","bloko-h-spacing-container_base-4":"bloko-h-spacing-container_base-4","bloko-h-spacing-container_base-5":"bloko-h-spacing-container_base-5","bloko-h-spacing-container_base-6":"bloko-h-spacing-container_base-6","bloko-h-spacing-container_base-7":"bloko-h-spacing-container_base-7","bloko-h-spacing-container_base-8":"bloko-h-spacing-container_base-8","bloko-h-spacing-container_base-9":"bloko-h-spacing-container_base-9","bloko-h-spacing-container_base-10":"bloko-h-spacing-container_base-10","bloko-h-spacing-container_base-11":"bloko-h-spacing-container_base-11","bloko-h-spacing-container_base-12":"bloko-h-spacing-container_base-12","bloko-h-spacing-container_base-13":"bloko-h-spacing-container_base-13","bloko-h-spacing-container_base-14":"bloko-h-spacing-container_base-14"};var s=o(662191);const a=(0,n.forwardRef)((e,t)=>{let{base:o=0,children:n}=e;return(0,s.jsx)("div",{ref:t,className:i()(r["bloko-h-spacing-container"],r[`bloko-h-spacing-container_base-${o}`]),children:n})})},830914:function(e,t,o){"use strict";o.r(t),o.d(t,{spacingMultipliers:()=>a,default:()=>c});var n=o(758162),l=o(761673),i=o.n(l);const r={"bloko-h-spacing":"bloko-h-spacing","bloko-h-spacing_base-0":"bloko-h-spacing_base-0","bloko-highlight-indents":"bloko-highlight-indents","bloko-h-spacing_base-1":"bloko-h-spacing_base-1","bloko-h-spacing_base-2":"bloko-h-spacing_base-2","bloko-h-spacing_base-3":"bloko-h-spacing_base-3","bloko-h-spacing_base-4":"bloko-h-spacing_base-4","bloko-h-spacing_base-5":"bloko-h-spacing_base-5","bloko-h-spacing_base-6":"bloko-h-spacing_base-6","bloko-h-spacing_base-7":"bloko-h-spacing_base-7","bloko-h-spacing_base-8":"bloko-h-spacing_base-8","bloko-h-spacing_base-9":"bloko-h-spacing_base-9","bloko-h-spacing_base-10":"bloko-h-spacing_base-10","bloko-h-spacing_base-11":"bloko-h-spacing_base-11","bloko-h-spacing_base-12":"bloko-h-spacing_base-12","bloko-h-spacing_base-13":"bloko-h-spacing_base-13","bloko-h-spacing_base-14":"bloko-h-spacing_base-14"};var s=o(662191);const a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],c=(0,n.forwardRef)((e,t)=>{let{base:o,source:n}=e;return(0,s.jsx)("div",{ref:t,className:i()(r["bloko-h-spacing"],r[`bloko-h-spacing_base-${o}`]),source:n})})},932370:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(434976),l=o(662191);const i=e=>{let{children:t,...o}=e;return(0,l.jsx)("div",{...o,className:n.Z["bloko-header-subheader"],children:t})}},581021:function(e,t,o){"use strict";o.r(t),o.d(t,{H1:()=>b,H1Promo:()=>f,H1Section:()=>k,H2:()=>u,H2Promo:()=>v,H2Section:()=>g,H3:()=>p,H3Promo:()=>w,H3Section:()=>m,H4:()=>h,H4Promo:()=>y,H4Section:()=>_,SubHeader:()=>s.a,default:()=>x});var n,l=o(761673),i=o.n(l),r=o(74102),s=o.n(r),a=o(434976),c=o(662191);!function(e){e.Standard="standard",e.Promo="promo",e.Section="section"}(n||(n={}));const d=e=>
1{let{children:t,level:o=1,type:l=n.Standard,lite:r,Element:s,source:d,...b}=e;const u=s||`h${o}`,p=`bloko-header-${l!==n.Standard?`${l}-`:""}${o}`;return(0,c.jsx)(u,{"data-qa":`bloko-header-${o}`,...b,className:i()(a.Z[p],{[a.Z[`${p}_lite`]]:r}),source:d,children:t})},b=e=>(0,c.jsx)(d,{...e}),u=e=>(0,c.jsx)(d,{...e,level:2}),p=e=>(0,c.jsx)(d,{...e,level:3}),h=e=>(0,c.jsx)(d,{...e,level:4}),k=e=>(0,c.jsx)(d,{...e,type:n.Section}),g=e=>(0,c.jsx)(d,{...e,type:n.Section,level:2}),m=e=>(0,c.jsx)(d,{...e,type:n.Section,level:3}),_=e=>(0,c.jsx)(d,{...e,type:n.Section,level:4}),f=e=>(0,c.jsx)(d,{...e,type:n.Promo}),v=e=>(0,c.jsx)(d,{...e,type:n.Promo,level:2}),w=e=>(0,c.jsx)(d,{...e,type:n.Promo,level:3}),y=e=>(0,c.jsx)(d,{...e,type:n.Promo,level:4}),x=d},804203:function(e,t,o){"use strict";o.d(t,{Z:()=>s});var n=o(761673),l=o.n(n),i=o(948159),r=o(662191);const s=e=>{let{stretched:t,...o}=e;return(0,r.jsx)("span",{className:l()(i.Z["bloko-icon-dynamic"],{[i.Z["bloko-icon-dynamic_full-width"]]:t}),...o})}},806537:function(e,t,o){"use strict";o.d(t,{Z:()=>a});var n=o(758162),l=o(723162),i=o(948159),r=o(662191);const s=e=>{let{Element:t="button",disabled:o=!1,children:n,innerRef:s,source:a,...c}=e;const d={};return"button"!==t&&"input"!==t||(d.type=l.ButtonType.Button),s&&(d.ref=s),(0,r.jsx)(t,{...d,...c,className:i.Z["bloko-icon-link"],disabled:o,source:a,children:n})},a=(0,n.memo)(s)},607621:function(e,t,o){"use strict";o.d(t,{Z:()=>s});var n=o(742606),l=o(45003),i=o.n(l),r=o(662191);const s=i().build({create(e,t){let{Element:o,IconComponent:l,iconProps:i}=t;const s=document.createElement(null!=o?o:"span");o||s.classList.add("bloko-icon-react-root"),e.appendChild(s);const a=(0,n.createRoot)(s);return a.render((0,r.jsx)(l,{...i})),{change:e=>{a.render((0,r.jsx)(l,{...e}))},destroy:()=>{a.unmount(),s.remove()}}},componentName:"blocks/icon/IconReactRenderer"})},649936:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(948159),l=o(662191);const i=e=>{let{children:t,innerRef:o,...i}=e;return(0,l.jsx)("span",{className:n.Z["bloko-icon-vertical-alignment"],ref:o,...i,children:t})}},585614:function(e,t,o){"use strict";var n;o.d(t,{Z:()=>l}),function(e){e.White="white",e.Black="black",e.SpecialRedBranded="special-red-branded",e.SpecialBlackJack="special-black-jack",e.Gray10="gray-10",e.Gray20="gray-20",e.Gray30="gray-30",e.Gray40="gray-40",e.Gray50="gray-50",e.Gray60="gray-60",e.Gray70="gray-70",e.Gray80="gray-80",e.Red10="red-10",e.Red20="red-20",e.Red30="red-30",e.Red40="red-40",e.Red50="red-50",e.Red60="red-60",e.Red70="red-70",e.Red80="red-80",e.Yellow10="yellow-10",e.Yellow20="yellow-20",e.Yellow30="yellow-30",e.Yellow40="yellow-40",e.Yellow50="yellow-50",e.Yellow60="yellow-60",e.Yellow70="yellow-70",e.Yellow80="yellow-80",e.Orange10="orange-10",e.Orange20="orange-20",e.Orange30="orange-30",e.Orange40="orange-40",e.Orange50="orange-50",e.Orange60="orange-60",e.Orange70="orange-70",e.Orange80="orange-80",e.Blue10="blue-10",e.Blue20="blue-20",e.Blue30="blue-30",e.Blue40="blue-40",e.Blue50="blue-50",e.Blue60="blue-60",e.Blue70="blue-70",e.Blue80="blue-80",e.Violet10="violet-10",e.Violet20="violet-20",e.Violet30="violet-30",e.Violet40="violet-40",e.Violet50="violet-50",e.Violet60="violet-60",e.Violet70="violet-70",e.Violet80="violet-80",e.Green10="green-10",e.Green20="green-20",e.Green30="green-30",e.Green40="green-40",e.Green50="green-50",e.Green60="green-60",e.Green70="green-70",e.Green80="green-80"}(n||(n={}));const l=n},120710:function(e,t,o){"use strict";o.d(t,{Z:()=>s});var n=o(761673),l=o.n(n),i=o(948159),r=o(662191);const s=(e,t)=>o=>{let{initial:n,highlighted:s,...a}=o;return(0,r.jsx)(e,{...a,className:l()(i.Z["bloko-icon"],{[i.Z["bloko-icon_loader"]]:"Loader"===t,[i.Z[`bloko-icon_initial-${n}`]]:!!n,[i.Z[`bloko-icon_highlighted-${s}`]]:!!s})})}},655318:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M15.3333 2.66668V6.66668M15.3333 6.66668H11.3333M15.3333 6.66668L12.24 3.76001C11.5235 3.04315 10.637 2.51948 9.66342 2.23786C8.6898 1.95624 7.6607 1.92584 6.67215 2.14952C5.6836 2.37319 4.76783 2.84363 4.01027 3.51696C3.25271 4.19028 2.67807 5.04453 2.33996 6.00001M0.666626 13.3333V9.33334M0.666626 9.33334H4.66663M0.666626 9.33334L3.75996 12.24C4.47646 12.9569 5.36287 13.4805 6.3365 13.7622C7.31012 14.0438 8.33922 14.0742 9.32777 13.8505C10.3163 13.6268 11.2321 13.1564 11.9896 12.4831C12.7472 11.8097 13.3218 10.9555 13.66 10",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Arrow")},219247:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M3.33337 8H12.6667M3.33337 4H12.6667M3.33337 12H12.6667",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Bars")}
1,860564:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M20 6L10 16L5 11",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),"Checkmark")},261471:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M13.3333 4L6.66659 10.6667L3.33325 7.33333",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Checkmark")},7367:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M12 6L8 10L4 6",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Chevron")},955624:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M10 12L6 8L10 4",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Chevron")},191312:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M6 12L10 8L6 4",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Chevron")},898469:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M12 10L8 6L4 10",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Chevron")},561539:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M18 6L6 18M6 6L18 18",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),"Cross")},487153:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M12 4L4 12M4 4L12 12",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Cross")},9380:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M0.666656 7.99999C0.666656 7.99999 3.33332 2.66666 7.99999 2.66666C12.6667 2.66666 15.3333 7.99999 15.3333 7.99999C15.3333 7.99999 12.6667 13.3333 7.99999 13.3333C3.33332 13.3333 0.666656 7.99999 0.666656 7.99999Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M7.99999 9.99999C9.10456 9.99999 9.99999 9.10456 9.99999 7.99999C9.99999 6.89542 9.10456 5.99999 7.99999 5.99999C6.89542 5.99999 5.99999 6.89542 5.99999 7.99999C5.99999 9.10456 6.89542 9.99999 7.99999 9.99999Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})]}),"Eye")},876270:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{d:"M11.96 11.96C10.8204 12.8287 9.43273 13.3099 7.99999 13.3333C3.33332 13.3333 0.666656 7.99999 0.666656 7.99999C1.49592 6.45459 2.64608 5.10439 4.03999 4.03999M6.59999 2.82666C7.05888 2.71924 7.5287 2.66555 7.99999 2.66666C12.6667 2.66666 15.3333 7.99999 15.3333 7.99999C14.9286 8.75706 14.446 9.46981 13.8933 10.1267M9.41332 9.41332C9.23022 9.60982 9.00942 9.76743 8.76409 9.87674C8.51876 9.98605 8.25392 10.0448 7.98538 10.0496C7.71684 10.0543 7.4501 10.0049 7.20106 9.90432C6.95203 9.80373 6.7258 9.65401 6.53589 9.46409C6.34597 9.27418 6.19625 9.04795 6.09566 8.79892C5.99507 8.54988 5.94567 8.28314 5.95041 8.0146C5.95515 7.74606 6.01393 7.48122 6.12324 7.23589C6.23255 6.99056 6.39016 6.76976 6.58666 6.58666M0.666656 0.666656L15.3333 15.3333",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})})}),"Eye")},317177:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round"})}),"Loader")},557883:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M14 14L11.1 11.1M12.6667 7.33333C12.6667 10.2789 10.2789 12.6667 7.33333 12.6667C4.38781 12.6667 2 10.2789 2 7.33333C2 4.38781 4.38781 2 7.33333 2C10.2789 2 12.6667 4.38781 12.6667 7.33333Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Lupa")},390713:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{d:"M7.33331 2.66669H4.53331C3.41321 2.66669 2.85316 2.66669 2.42533 2.88467C2.04901 3.07642 1.74305 3.38238 1.5513 3.75871C1.33331 4.18653 1.33331 4.74658 1.33331 5.86669V11.4667C1.33331 12.5868 1.33331 13.1468 1.5513 13.5747C1.74305 13.951 2.04901 14.257 2.42533 14.4487C2.85316 14.6667 3.41321 14.6667 4.53331 14.6667H10.1333C11.2534 14.6667 11.8135 14.6667 12.2413 14.4487C12.6176 14.257 12.9236 13.951 13.1153 13.5747C13.3333 13.1468 13.3333 12.5868 13.3333 11.4667V8.66669M5.3333 10.6667H6.44966C6.77578 10.6667 6.93884 10.6667 7.09229 10.6298C7.22834 10.5972 7.3584 10.5433 7.47769 10.4702C7.61225 10.3878 7.72755 10.2724 7.95815 10.0418L14.3333 3.66669C14.8856 3.1144 14.8856 2.21897 14.3333 1.66669C13.781 1.1144 12.8856 1.1144 12.3333 1.66668L5.95814 8.04185C5.72753 8.27245 5.61223 8.387
175 5.52978 8.52231C5.45667 8.6416 5.4028 8.77166 5.37014 8.90771C5.3333 9.06116 5.3333 9.22422 5.3333 9.55034V10.6667Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})})}),"Pen")},389057:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M8.00016 3.33334V12.6667M3.3335 8.00001H12.6668",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Plus")},456500:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M10.6667 4.00001V3.46668C10.6667 2.71994 10.6667 2.34657 10.5213 2.06136C10.3935 1.81047 10.1895 1.6065 9.93865 1.47867C9.65344 1.33334 9.28007 1.33334 8.53333 1.33334H7.46667C6.71993 1.33334 6.34656 1.33334 6.06135 1.47867C5.81046 1.6065 5.60649 1.81047 5.47866 2.06136C5.33333 2.34657 5.33333 2.71994 5.33333 3.46668V4.00001M6.66667 7.66668V11M9.33333 7.66668V11M2 4.00001H14M12.6667 4.00001V11.4667C12.6667 12.5868 12.6667 13.1468 12.4487 13.5747C12.2569 13.951 11.951 14.2569 11.5746 14.4487C11.1468 14.6667 10.5868 14.6667 9.46667 14.6667H6.53333C5.41323 14.6667 4.85318 14.6667 4.42535 14.4487C4.04903 14.2569 3.74307 13.951 3.55132 13.5747C3.33333 13.1468 3.33333 12.5868 3.33333 11.4667V4.00001",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Trash")},639593:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M0.204448 7.90049C1.58943 7.10475 3.13552 6.44037 4.58007 5.77324C7.06505 4.67969 9.56019 3.60678 12.0804 2.60608C12.5711 2.43552 13.4518 2.26908 13.5385 3.02699C13.4911 4.0999 13.2968 5.16594 13.1628 6.23197C12.8243 8.57725 12.4324 10.9136 12.0506 13.2513C11.9193 14.0298 10.9838 14.4329 10.3854 13.9342C8.94757 12.9212 7.49828 11.9184 6.07878 10.8819C5.61306 10.3888 6.04493 9.68111 6.45989 9.32966C7.6445 8.11232 8.90087 7.07792 10.0232 5.79799C10.3265 5.03526 9.43157 5.67832 9.13644 5.87502C7.51453 7.0401 5.93256 8.2767 4.22334 9.30009C3.35011 9.80216 2.33201 9.37368 1.45878 9.09376C0.676263 8.75607 -0.470443 8.41563 0.204448 7.90049Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"})}),"Telegram")},973267:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M0.538371 7.90055C1.92335 7.10481 3.46944 6.44043 4.914 5.7733C7.39898 4.67975 9.89411 3.60684 12.4143 2.60614C12.9051 2.43558 13.7857 2.26914 13.8724 3.02705C13.825 4.09997 13.6307 5.166 13.4967 6.23204C13.1582 8.57731 12.7663 10.9136 12.3845 13.2514C12.2532 14.0299 11.3177 14.4329 10.7193 13.9343C9.2815 12.9212 7.83221 11.9185 6.4127 10.882C5.94698 10.3889 6.37886 9.68117 6.79381 9.32972C7.97842 8.11238 9.23479 7.07798 10.3571 5.79806C10.6604 5.03533 9.7655 5.67839 9.47036 5.87509C7.84845 7.04016 6.26649 8.27676 4.55726 9.30015C3.68403 9.80222 2.66594 9.37374 1.79271 9.09382C1.01019 8.75613 -0.13652 8.41569 0.538371 7.90055V7.90055Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:.666667,strokeLinecap:"round",strokeLinejoin:"round"})}),"Telegram")},145742:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.23708 0.716457C11.4293 0.730381 12.9592 1.69166 13.3136 2.01369C14.4914 3.02206 15.0914 5.43501 14.6526 8.97001C14.2705 12.057 12.1996 12.5398 11.4516 12.7142C11.3686 12.7336 11.3019 12.7491 11.2556 12.764C11.0589 12.8283 9.22976 13.2822 6.93073 13.1321C6.93073 13.1321 5.21729 15.1992 4.68209 15.7367C4.59854 15.82 4.50031 15.8539 4.43474 15.838C4.3436 15.8154 4.31829 15.7063 4.31829 15.5468C4.3198 15.3187 4.33297 12.7235 4.33297 12.7235C1.09706 11.8245 1.1722 8.52734 1.21485 6.65573C1.21631 6.5914 1.21774 6.52875 1.219 6.46794C1.25672 4.63804 1.60077 3.13852 2.62206 2.13015C4.45702 0.468099 8.23708 0.716457 8.23708 0.716457ZM7.67127 2.74487C7.67209 2.62701 7.76831 2.53212 7.88617 2.53294C9.12473 2.54157 10.1716 2.9539 11.0122 3.7733C11.8598 4.59956 12.2789 5.72444 12.2896 7.12151C12.2905 7.23938 12.1956 7.33566 12.0778 7.33655C11.9599 7.33745 11.8636 7.24263 11.8627 7.12476C11.8528 5.81563 11.4633 4.80917 10.7142 4.07895C9.95814 3.34187 9.01937 2.96769 7.8832 2.95978C7.76533 2.95895 7.67045 2.86274 7.67127 2.74487ZM8.27649 3.64061C8.15894 3.63201 8.05667 3.72033 8.04806 3.83789C8.03946 3.95544 8.12778 4.05771 8.24534 4.06632C9.05794 4.12579 9.6682 4.39777 10.1048 4.87427C10.5427 5.35276 10.7576 5.94922 10.7418 6.68003C10.7392 6.79787 10.8327 6.89547 10.9505 6.89802C11.0684 6.90057 11.166 6.80711 11.1685 6.68927C11.1864 5.86056 10.9393 5.15396 10.4196 4.58602C9.89412 4.01244 9.17273 3.70621 8.27649 3.64061ZM8.37159 4.98769C8.37773 4.86998 8.47813 4.77953 8.59584 4.78568C9.03623 4.80865 9.40263 4.94196 9.66359 5.21177C9.92355 5.48055 10.051 5.85603 10.0733 6.30699C10.0792 6.42471 9.98849 6.52488 9.87076 6.53072C9.75304 6.53656 9.65287 6.44586 9.64703 6.32814C9.62788 5.94211 9.52197 5.
167932 9.35677 5.50851C9.19257 5.33874 8.942 5.23116 8.5736 5.21194C8.45589 5.2058 8.36545 5.1054 8.37159 4.98769ZM9.0885 9.00239C8.92698 9.20138 8.62697 9.17607 8.62697 9.17607C6.43428 8.61631 5.84743 6.39526 5.84743 6.39526C5.84743 6.39526 5.8211 6.09526 6.02111 5.93374L6.41732 5.6188C6.61378 5.4674 6.73909 5.10005 6.53909 4.74131C6.38569 4.47203 6.21889 4.21061 6.03934 3.95801C5.8649 3.71978 5.45857 3.23192 5.45705 3.2304C5.2611 2.99926 4.97299 2.94559 4.66919 3.10382C4.66827 3.10382 4.66701 3.10423 4.6658 3.10462L4.66579 3.10462L4.66579 3.10462C4.66467 3.10499 4.66359 3.10534 4.66286 3.10534C4.3607 3.27943 4.08824 3.50061 3.85576 3.76054C3.85496 3.76212 3.85417 3.76288 3.85338 3.76364C3.85265 3.76433 3.85193 3.76503 3.8512 3.76636C3.66352 3.99286 3.55609 4.21489 3.52892 4.43245C3.52328 4.46453 3.52132 4.49714 3.52309 4.52966C3.52208 4.62574 3.53671 4.72133 3.56639 4.81271L3.57677 4.8198C3.67145 5.156 3.90842 5.71601 4.42336 6.6497C4.7179 7.18975 5.0576 7.70391 5.43882 8.18669C5.62982 8.42869 5.83455 8.65954 6.05199 8.87809L6.05979 8.88594C6.06494 8.89115 6.07006 8.89632 6.07529 8.90138L6.14516 8.97125C6.36371 9.1887 6.59456 9.39343 6.83656 9.58443C7.31939 9.96571 7.83364 10.3054 8.3738 10.5999C9.30724 11.1148 9.86775 11.3518 10.2035 11.4465L10.2105 11.4569C10.3019 11.4866 10.3975 11.5013 10.4936 11.5004C10.5261 11.502 10.5587 11.4999 10.5908 11.4943C10.8087 11.4685 11.0306 11.3613 11.2564 11.1726C11.2577 11.1718 11.2584 11.1711 11.2591 11.1704L11.2602 11.1693C11.2607 11.1689 11.2613 11.1684 11.2622 11.168C11.5221 10.9354 11.7434 10.663 11.9177 10.3609C11.9177 10.3604 11.9178 10.3597 11.918 10.3589C11.9181 10.3586 11.9181 10.3584 11.9182 10.3581L11.9183 10.358C11.9185 10.3571 11.9187 10.3563 11.9188 10.3555C11.9189 10.3552 11.9189 10.3549 11.9189 10.3546C12.0772 10.0508 12.0235 9.76266 11.7911 9.56645C11.7908 9.56645 11.7719 9.55093 11.74 9.52463L11.7398 9.52444L11.7397 9.52439L11.7396 9.52432C11.6078 9.41573 11.255 9.12501 11.0635 8.98417C10.8111 8.80463 10.5499 8.63784 10.2809 8.48441C9.92193 8.28441 9.55534 8.40973 9.40344 8.60619L9.0885 9.00239Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"})}),"Viber")},712863:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsxs)("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("path",{d:"M9.6434 6.51056C9.5936 6.51057 9.54571 6.49143 9.50963 6.45711C9.47355 6.42279 9.45205 6.37591 9.44956 6.32618C9.41661 5.66677 9.10592 5.34387 8.47186 5.30975C8.42134 5.30574 8.37439 5.28214 8.34103 5.244C8.30766 5.20585 8.29052 5.15618 8.29325 5.10558C8.29599 5.05498 8.31839 5.00744 8.35567 4.97312C8.39296 4.9388 8.44218 4.9204 8.49283 4.92185C9.32948 4.96795 9.7946 5.44574 9.83747 6.30682C9.83874 6.3323 9.83498 6.35779 9.8264 6.38182C9.81782 6.40585 9.8046 6.42796 9.78747 6.44688C9.77035 6.4658 9.74967 6.48116 9.72661 6.49209C9.70355 6.50302 9.67857 6.50929 9.65308 6.51056H9.6434Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"}),(0,l.jsx)("path",{d:"M10.6404 6.84473H10.6358C10.5843 6.84352 10.5354 6.82191 10.4998 6.78466C10.4642 6.7474 10.4449 6.69755 10.4461 6.64605C10.4611 5.98203 10.2714 5.44432 9.8662 5.00226C9.46102 4.56019 8.90901 4.32049 8.17308 4.26656C8.12161 4.2628 8.07375 4.23875 8.04001 4.19969C8.00627 4.16064 7.98943 4.10979 7.99319 4.05832C7.99695 4.00685 8.021 3.95898 8.06006 3.92524C8.09911 3.89151 8.14996 3.87467 8.20143 3.87843C9.02955 3.93904 9.68597 4.22876 10.1527 4.73928C10.6194 5.24979 10.8515 5.8956 10.8345 6.65412C10.8334 6.70495 10.8126 6.75336 10.7763 6.78898C10.74 6.82461 10.6912 6.84462 10.6404 6.84473Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"}),(0,l.jsx)("path",{d:"M11.6607 7.24346C11.6095 7.2434 11.5603 7.2231 11.5239 7.18698C11.4875 7.15085 11.4669 7.10182 11.4664 7.05055C11.4574 5.86288 11.1154 4.9557 10.4207 4.27762C9.73437 3.60923 8.86729 3.26627 7.84326 3.25889C7.81775 3.2588 7.7925 3.25369 7.76896 3.24384C7.74542 3.23399 7.72406 3.2196 7.70608 3.2015C7.66977 3.16493 7.64948 3.11544 7.64966 3.06391C7.64984 3.01238 7.67049 2.96303 7.70706 2.92672C7.74362 2.89041 7.79312 2.87012 7.84465 2.8703H7.84626C8.97378 2.8786 9.9312 3.25843 10.692 3.99966C11.4528 4.74089 11.8451 5.76838 11.8553 7.04825C11.8556 7.09974 11.8355 7.14927 11.7994 7.18596C11.7633 7.22265 11.7141 7.2435 11.6626 7.24392L11.6607 7.24346Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"}),(0,l.jsx)("path",{d:"M6.33367 6.3708C6.32947 6.35803 6.32593 6.34687 6.323 6.33745C6.32371 6.32533 6.32524 6.31075 6.3282 6.29542C6.33715 6.2492 6.35161 6.23138 6.35734 6.22651L6.71473 5.94242C7.02598 5.7006 7.17086 5.18512 6.91098 4.71899L6.911 4.71898L6.90947 4.71631C6.76431 4.46149 6.60647 4.2141 6.43656 3.97507L6.43658 3.97505L6.43382 3.97127C6.34875 3.8551 6.21152 3.68372 6.09938 3.54585C6.04248 3.47589 5.99059 3.4128 5.95283 3.36708L5.90776 3.31267L5.89505 3.29742L5.89122 3.29283L5.8894 3.29068L5.88902 3.29024C5.8889 3.2901 5.88879 3.28996 5.88867 3.28982C5.75393 3.13107 5.57577 3.02129 5.36803 2.98649C5.17105 2.95349 4.97255 2.99194 4.78906 3.082C4.77404 3.08794 4.75942 3.09499 4.74533 3.10311C4.43953 3.2793 4.1638 3.50314 3.92851 3.7662C3.92483 3.77031 3.92126 3.77451 3.91779 3.7788C3.91523 3.78188 3.91263 3.7851 3.91003 3.78846C3.71726 4.02307 3.58561 4.27775 3.54963 4.55115C3.54186 4.59876 3.53888 4.64702 3.54073 4.69521C3.54054 4.81541 3.55935 4.93491 3.59649 5.04928C3.60277 5.06861 3.61077 5.08722 3.62034 5.10491C3.72651 5.4502 3.95704 5.97313 4.40144 6.77897C4.67849 7.28685 4.99798 7.7704 5.35651 8.22444C5.53829 8.45477 5.73314 8.67448 5.9401 8.88249L5.94069 8.88308C5.94099 8.88338 5.94166 8.88406 5.94262 8.88503C5.9467 8.88915 5.95595 8.8985 5.96344 8.90583L5.9831 8.92549L6.0043 8.94669L6.00431 8.9467L6.02551 8.9679L6.
10261 8.96849C6.23409 9.17543 6.45377 9.37026 6.68408 9.55203C7.13818 9.91062 7.62183 10.2301 8.12984 10.5071C8.93552 10.9516 9.45875 11.182 9.80359 11.2882C9.82122 11.2977 9.83977 11.3057 9.85903 11.312C9.97371 11.3494 10.0936 11.3683 10.2141 11.3681C10.2617 11.3697 10.3093 11.3667 10.3562 11.3592C10.6311 11.3245 10.8864 11.1923 11.1206 10.9983C11.1237 10.9959 11.1266 10.9935 11.1295 10.9911C11.1337 10.9877 11.1379 10.9842 11.142 10.9805C11.405 10.7452 11.6288 10.4696 11.8052 10.1639C11.8137 10.149 11.8211 10.1335 11.8273 10.1176C11.9165 9.93481 11.9546 9.73701 11.9214 9.54063C11.8863 9.33242 11.7758 9.15408 11.6162 9.01936C11.6129 9.01653 11.6095 9.01378 11.606 9.0111L11.593 9.00038L11.5395 8.95634C11.4941 8.91894 11.4311 8.86717 11.3612 8.8103C11.2235 8.6982 11.0522 8.5607 10.9363 8.47541L10.9363 8.47538L10.932 8.47234C10.6932 8.30245 10.4461 8.14461 10.1915 7.99943L10.1915 7.99941L10.1886 7.99779C9.72189 7.73778 9.20737 7.88321 8.96539 8.19392L8.68158 8.55095C8.67651 8.55679 8.65826 8.57131 8.61183 8.58035C8.59474 8.58368 8.57858 8.58525 8.56569 8.58589C7.69154 8.35119 7.13123 7.79252 6.78335 7.27564C6.60696 7.01355 6.4878 6.76568 6.41309 6.58411C6.37584 6.49357 6.34993 6.42023 6.33367 6.3708ZM11.1575 10.965C11.1569 10.9655 11.1554 10.9671 11.1531 10.9694L11.1569 10.9656L11.1575 10.965Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:.666667,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M13.3136 1.97707C12.9592 1.65504 11.4293 0.69376 8.23708 0.679836C8.23708 0.679836 4.45702 0.431478 2.62206 2.09353C1.60077 3.1019 1.25672 4.60142 1.219 6.43132C1.18127 8.26122 0.985827 11.757 4.33297 12.6869C4.33297 12.6869 4.3198 15.2821 4.31829 15.5102C4.31829 15.6697 4.3436 15.7788 4.43474 15.8013C4.50031 15.8173 4.59854 15.7834 4.68209 15.7001C5.21729 15.1626 6.93073 13.0955 6.93073 13.0955C9.22976 13.2456 11.0589 12.7917 11.2556 12.7274C11.7194 12.5783 14.2281 12.3628 14.6526 8.93338C15.0914 5.39839 14.4914 2.98544 13.3136 1.97707Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:.666667,strokeLinecap:"round",strokeLinejoin:"round"})]}),"Viber")},870754:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M8.00006 1.33331C4.32413 1.33331 1.33342 4.32404 1.33342 7.99998C1.33342 9.14781 1.62994 10.2765 2.19225 11.2724L1.34414 14.2985C1.31632 14.398 1.34327 14.5046 1.41516 14.5785C1.47052 14.6356 1.54588 14.6666 1.62327 14.6666C1.64646 14.6666 1.66994 14.6637 1.69284 14.6582L4.85109 13.8759C5.81543 14.3936 6.90151 14.6666 8.00006 14.6666C11.676 14.6666 14.6667 11.6759 14.6667 7.99998C14.6667 4.32404 11.676 1.33331 8.00006 1.33331ZM11.3537 10.3524C11.2111 10.7472 10.527 11.1075 10.1983 11.1559C9.90324 11.1991 9.52991 11.2177 9.12006 11.089C8.87165 11.0107 8.55281 10.9069 8.14441 10.7327C6.4276 10.0006 5.30645 8.2936 5.22065 8.18085C5.13514 8.0681 4.52181 7.26462 4.52181 6.43302C4.52181 5.60143 4.96384 5.19244 5.12094 5.02317C5.27804 4.85389 5.46326 4.81157 5.57746 4.81157C5.69166 4.81157 5.80558 4.81302 5.90558 4.81766C6.01079 4.82288 6.15195 4.77795 6.29079 5.10781C6.4334 5.44636 6.77572 6.27795 6.81804 6.36288C6.86094 6.44752 6.88934 6.54636 6.83253 6.65911C6.77572 6.77186 6.74731 6.8423 6.66152 6.94114C6.57572 7.03998 6.48181 7.16143 6.4047 7.23737C6.31891 7.32172 6.22992 7.41302 6.32963 7.5823C6.42934 7.75157 6.77282 8.30491 7.2818 8.75302C7.93542 9.32868 8.48702 9.50723 8.65803 9.59186C8.82904 9.6765 8.92904 9.6623 9.02875 9.54955C9.12846 9.4365 9.45658 9.05592 9.57049 8.88694C9.6844 8.71795 9.79861 8.74578 9.95571 8.8023C10.1128 8.85853 10.9543 9.26723 11.1253 9.35186C11.2963 9.4365 11.4105 9.47882 11.4534 9.54926C11.4963 9.6194 11.4963 9.95795 11.3537 10.3524Z",fill:"var(--bloko-icon-color, var(--bloko-icon-color-default))"})}),"Whatsapp")},999190:function(e,t,o){"use strict";o.d(t,{Z:()=>i});var n=o(120710),l=o(662191);const i=(0,n.Z)(e=>(0,l.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M10.2471 11.4873L10.2468 11.4874C9.92489 11.5345 9.49578 11.5581 9.0197 11.4086L9.01939 11.4085C8.76671 11.3289 8.43602 11.2213 8.01299 11.0409C7.09624 10.6499 6.35004 10.0049 5.828 9.45521C5.56547 9.1788 5.35608 8.92273 5.20666 8.72835C5.13188 8.63107 5.07207 8.54918 5.02823 8.48802C5.00782 8.45956 4.99086 8.43556 4.97791 8.41724L4.97522 8.41343L4.95921 8.39087C4.95536 8.38548 4.95392 8.38353 4.95392 8.38353L4.95372 8.38327L4.952 8.381C4.90301 8.31641 4.71665 8.07074 4.54126 7.72972C4.36622 7.38939 4.18681 6.92518 4.18681 6.43302C4.18681 5.51957 4.65426 5.02805 4.84242 4.8302C4.85466 4.81733 4.86572 4.8057 4.8754 4.79528C5.10689 4.54585 5.38759 4.47657 5.57746 4.47657C5.69374 4.47657 5.81355 4.47803 5.9211 4.48302L5.92217 4.48307C5.89271 4.48161 6.08207 4.46979 6.22704 4.53733C6.40045 4.61811 6.51499 4.77694 6.59956 4.97784C6.64785 5.0925 6.719 5.26357 6.79339 5.44242C6.82932 5.52882 6.86601 5.61704 6.90125 5.70159C6.95557 5.83193 7.00649 5.95372 7.04638 6.04803C7.06636 6.09525 7.08329 6.13492 7.09637 6.16503L7.11232 6.20129C7.1156 6.2086 7.11731 6.21224 7.11781 6.21332C7.11786 6.21342 7.1179 6.2135 7.11792 6.21356C7.11793 6.21356 7.11793 6.21356 7.11793 6.21356C7.11801 6.21374 7.11799 6.2137 7.11787 6.21347L6.81804 6.36288C6.86094 6.44752 6.88934 6.54636 6.83253 6.65911C6.82415 6.67573 6.8164 6.69144 6.80898 6.70645C6.76609 6.79325 6.73466 6.85687 6.66152 6.94114C6.63261 6.97444 6.60279 7.0103 6.57299 7.04613C6.51435 7.11664 6.45583 7.18701 6.4047 7.23737L10.2471 11.4873ZM10.2471 11.4873C10.4736 11.454 10.7716 11.3274 11.0249 11.1672M10.2471 11.4873L11.0249 11.1672M10.0691 8.48708C10.0689 8.48702 10.
10688 8.48696 10.0686 8.48689L9.95571 8.8023L10.0691 8.48708ZM10.0691 8.48708C10.1684 8.52274 10.4379 8.64892 10.6794 8.76401C10.932 8.88437 11.1866 9.00844 11.2739 9.05162C11.2966 9.06287 11.3229 9.07548 11.3501 9.08852C11.402 9.11334 11.4571 9.13974 11.497 9.16136C11.5583 9.19458 11.668 9.25789 11.7392 9.37448L10.0691 8.48708ZM11.0249 11.1672C11.2696 11.0124 11.5579 10.7729 11.6687 10.4663L11.0249 11.1672ZM2.51483 11.3628L2.55237 11.2289L2.48397 11.1077C1.95009 10.1622 1.66842 9.09022 1.66842 7.99998C1.66842 4.50905 4.50915 1.66831 8.00006 1.66831C11.491 1.66831 14.3317 4.50905 14.3317 7.99998C14.3317 11.4909 11.491 14.3316 8.00006 14.3316C6.9567 14.3316 5.92506 14.0722 5.00953 13.5808L4.89582 13.5197L4.77054 13.5507L1.6876 14.3144L2.51483 11.3628ZM1.34414 14.2985C1.31632 14.398 1.34327 14.5046 1.41516 14.5785L1.34414 14.2985Z",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:.67})}),"Whatsapp")},760607:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>y});var n=o(641208),l=o.n(n),i=o(120710),r=o(662191);const s=(0,i.Z)(e=>(0,r.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M3.3335 8H12.6668",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})}),"Minus");var a=o(389057),c=o(607621),d=o(96242),b=o.n(d),u=o(837354),p=o(238676),h=o.n(p),k=o(45003),g=o.n(k),m=o(964268),_=o.n(m);const f=".Bloko-IncrementalNumericInput-Minus",v=".Bloko-IncrementalNumericInput-Plus",w=".Bloko-IncrementalNumericInput-InputContainer",y=g().build({defaults:{min:0,max:null,step:1},create(e,t){let o,n;const i=l()(e),r=l()(_().render()),d=r.find(f),p=r.find(v);let k=parseInt(i.val(),10)||0,m=0;function y(e){const o=e*t.step;let n=(k||0)+o;null!==t.min&&(n=Math.max(t.min,n)),null!==t.max&&(n=Math.min(t.max,n)),function(e){e!==k&&(k=e,i.val(k),C(),T(),i.trigger("change"))}(n)}function x(e,t){!function(e){const t=e.timeStamp-m;m=e.timeStamp,t<300&&1===e.originalEvent.touches.length&&e.preventDefault()}(t);let o=!1;const n=t.originalEvent.touches[0].screenX,i=t.originalEvent.touches[0].screenY;function r(e){const t=e.originalEvent.touches[0],l=Math.sqrt(Math.pow(t.screenX-n,2)+Math.pow(t.screenY-i,2));o=l>5}l()(document).one("touchend",()=>{l()(document).off("touchmove",r),o=!0}),l()(document).on("touchmove",r),setTimeout(()=>{o||S(e,t),l()(document).off("touchmove",r)},200)}function S(e,t){t.button!==h().BUTTON_LEFT&&"touchstart"!==t.type||(clearTimeout(o),clearTimeout(n),l()(document).one("mouseup touchend",()=>{clearTimeout(o),clearTimeout(n)}),n=setTimeout(()=>{o=setInterval(y.bind(null,e),100)},300))}function C(){d.prop("disabled",null!==t.min&&k<=t.min),p.prop("disabled",null!==t.max&&k>=t.max)}function T(){const e=i.val(),o=(null===t.min||e>=t.min)&&(null===t.max||e<=t.max);i.trigger("Bloko-IncrementalNumericInput-Validation",{isValid:o,min:t.min,max:t.max,value:e})}g().make(c.Z,l()(".Bloko-IncrementalNumericInput-MinusIcon",d).get(0),{IconComponent:s,iconProps:{}}),g().make(c.Z,l()(".Bloko-IncrementalNumericInput-PlusIcon",p).get(0),{IconComponent:a.Z,iconProps:{}}),r.insertAfter(i),i.appendTo(r.find(w)),g().make(b(),i[0],{decimalLength:0}),i.on("input change",()=>{const e=parseInt(i.val(),10);e!==k&&(k=e,T(),C())}),i.on("keydown",e=>{-1!==[u.KeyCode.ArrowUp,u.KeyCode.ArrowDown].indexOf(e.keyCode)&&(e.preventDefault(),y(e.keyCode===u.KeyCode.ArrowUp?1:-1))}),d.on("mousedown",S.bind(null,-1)),d.on("click",y.bind(null,-1)),p.on("mousedown",S.bind(null,1)),p.on("click",y.bind(null,1)),d.on("touchstart",x.bind(null,-1)),p.on("touchstart",x.bind(null,1)),C()},componentName:"bloko/blocks/incrementalNumericInput"})},514113:function(e,t,o){"use strict";o.r(t),o.d(t,{InformationKind:()=>c,default:()=>b});var n=o(761673),l=o.n(n);const i="bloko-information",r="bloko-information_success",s="bloko-information_warning";var a=o(662191);let c;var d;(d=c||(c={})).Success="success",d.Warning="warning";const b=e=>{let{kind:t,...o}=e;return(0,a.jsx)("div",{"data-qa":"bloko-information",...o,className:l()(i,{[r]:t===c.Success,[s]:t===c.Warning})})}},151556:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(585614),l=o(876270),i=o(9380),r=o(607621),s=o(45003),a=o.n(s);const c=a().build({create:function(e){const t=e.querySelector(".Bloko-InputPassword-Input"),o=e.querySelector(".Bloko-InputPassword-Toggle"),s=e.querySelector(".Bloko-InputPassword-Icon");let c=!1;const d={initial:n.Z.Gray50,highlighted:n.Z.Gray60},b=a().make(r.Z,s,{IconComponent:c?l.Z:i.Z,iconProps:d});function u(e,o){const n=e?"text":"password";o||b.change({iconProps:{...d,crossed:e}}),t.setAttribute("type",n)}u(c,!0),o.addEventListener("click",()=>{c=!c,u(c)})},componentName:"blocks/inputText/InputPasswordClassic"})},221274:function(e,t,o){"use strict";o.r(t),o.d(t,{InputIconPosition:()=>w,InputScale:()=>f,InputType:()=>m,default:()=>x});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(804203),a=o(806537),c=o(487153),d=o(585614),b=o(654267),u=o.n(b),p=o(216440),h=o.n(p);const k={"bloko-input-text":"bloko-input-text","bloko-input-text_invalid":"bloko-input-text_invalid","focus-visible":"focus-visible","bloko-input-text-wrapper_sized":"bloko-input-text-wrapper_sized","bloko-input-text_sized":"bloko-input-text_sized","bloko-input-text_scale-small":"bloko-input-text_scale-small","bloko-input-text_scale-large":"bloko-input-text_scale-large","bloko-input-text_name":"bloko-input-text_name","bloko-input-text_light":"bloko-input-text_light","bloko-input-text-wrapper":"bloko-input-text-wrapper","bloko-icon":"bloko-icon","bloko-icon-react-root":"bloko-icon-react-root","bloko-icon-link":"bloko-icon-link","bloko-icon-dynamic":"bloko-icon-dynamic","bloko-input-text-wrapper_icon-left":"bloko-input-text-wrapper_icon-left","bloko-input-text-wrapper_icon-right":"bloko-input-text-wrapper_icon-right","bloko-input-text__prefix":"bloko-input-text__prefix","bloko-input-text__prefix_small":"bloko-input-text__prefix_small","bloko-input-text__prefix_large":"bloko-input-text__prefix_large","bloko-input-text__prefix_with-icon-left":"bloko-input-text__prefix_with-icon-left","bloko-input-text__inner-wrapper":"bloko-input-text__inner-wrapper","bloko-input__postfix-container":"bloko-input__postfix-container","bloko-input__postfix-container_small":"bloko-input__postfix-container_small","bloko-input__postfix-container_large":"bloko-input__postfix-container_large","bloko-input__postfix-container_with-icon-left":"bloko-input__postfix-container_with-icon-left","bloko-input__postfix-container_with-icon-right":"bloko-input__postfix-container_with-icon-right","bloko-input__postfix-text":"bloko-input__postfix-text","bloko-input__value-ghost":"bloko-input__value-ghost"};var g=o(662191);let m;var _;let f;var v;let w;var y;(_=m||(m={})).Text="text",_.Password="password",_.Number="number",_.Search="search",_.Date="date",_.Time="time",_.Month="month",_.Email="email",_.Tel="tel",_.Url="url",(v=f||(f={})).Small="small",v.Normal="normal",v.Large="large",(y=w||(w={})).Left="left",y.Right="right";const x=l().forwardRef((e,t)=>
1{var o;const{scale:l,size:i,capitalize:b,invalid:p,source:_,type:f=m.Text,defaultValue:v="",value:y,onChange:x,icon:S=null,iconPosition:C=w.Right,prefix:T=null,postfix:E=null,showClearButton:I=!1,showLoading:B=!1,disabled:L=!1,light:M=!1,innerRightElement:N,...P}=e,O=void 0!==y,[D,A]=(0,n.useState)(v),R=O?y:D,Z=(0,n.useCallback)(e=>{O||A(e.target.value),null==x||x(e.target.value,{element:e.target,event:e})},[O,x]),j=(0,n.useRef)(),$=(0,n.useCallback)(e=>{j.current=e,((e,t)=>{null!==t&&("function"==typeof t&&t(e),"current"in t&&(t.current=e))})(e,t)},[t]),[F,H]=(0,n.useState)(0),q=(0,n.useCallback)(e=>{H(e&&N?e.offsetWidth:0)},[N]),W=h()(),[V,z]=(0,n.useState)(0),U=(0,n.useCallback)(e=>{z(e&&T?e.offsetWidth:0)},[T]),Y=(0,n.useCallback)(()=>{j.current&&(j.current.focus(),O||A(""),null==x||x("",{element:j.current}))},[O,x]),G=(0,n.useMemo)(()=>(0,g.jsx)(s.Z,{children:(0,g.jsx)(a.Z,{Element:"button",title:"Clear",onClick:Y,"data-qa":"bloko-input-clear-icon",children:(0,g.jsx)(c.Z,{initial:d.Z.Gray50,highlighted:d.Z.Gray60})})}),[Y]),K=B?(0,g.jsx)(u(),{}):null,X=I&&R.trim().length>0?G:null,Q=K||S||X,J=!W&&N&&(0,g.jsx)("div",{ref:q,className:r()(k["bloko-input-text__inner-wrapper"]),children:N}),ee={paddingLeft:V||void 0,paddingRight:F||void 0},te=(0,n.useCallback)(()=>{j.current&&j.current.select()},[]);return(0,g.jsxs)("fieldset",{className:r()(k["bloko-input-text-wrapper"],{[k["bloko-input-text-wrapper_icon-left"]]:Q&&C===w.Left,[k["bloko-input-text-wrapper_icon-right"]]:Q&&C===w.Right,[k["bloko-input-text-wrapper_sized"]]:i}),source:_,disabled:L,children:[!W&&T&&(0,g.jsx)("label",{className:r()(k["bloko-input-text__prefix"],{[k[`bloko-input-text__prefix_${l}`]]:l,[k["bloko-input-text__prefix_with-icon-left"]]:S&&C===w.Left}),ref:U,onClick:te,"data-qa":"bloko-input-prefix",children:T}),(0,g.jsx)("input",{...P,ref:$,type:f,size:i,style:ee,suppressHydrationWarning:!0,className:r()(k["bloko-input-text"],{[k[`bloko-input-text_scale-${l}`]]:l,[k["bloko-input-text_sized"]]:i,[k["bloko-input-text_name"]]:b,[k["bloko-input-text_invalid"]]:p,[k["bloko-input-text_light"]]:M,"focus-visible":null===(o=j.current)||void 0===o?void 0:o.classList.contains("focus-visible")}),value:R,onChange:Z,disabled:L,source:_}),!W&&R&&E&&(0,g.jsx)("div",{className:r()(k["bloko-input__postfix-container"],{[k[`bloko-input__postfix-container_with-icon-${C}`]]:!!S,[k[`bloko-input__postfix-container_${l}`]]:l}),style:ee,children:(0,g.jsxs)("div",{className:k["bloko-input__postfix-text"],children:[(0,g.jsx)("span",{className:k["bloko-input__value-ghost"],children:R})," ",E]})}),Q||J]})})},953519:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o.n(n),i=o(585614),r=o(804203),s=o(806537),a=o(876270),c=o(9380),d=o(574289),b=o.n(d),u=o(662191);const p=l().forwardRef((e,t)=>{let{onToggle:o,...l}=e;const[p,h]=(0,n.useState)(!1),k=p?d.InputType.Text:d.InputType.Password,g=(0,n.useCallback)(()=>{const e=!p;h(e),null==o||o(e)},[p,o]),m=(0,n.useMemo)(()=>({initial:i.Z.Gray50,highlighted:i.Z.Gray60,"aria-label":"Показать пароль"}),[]),_=(0,n.useMemo)(()=>(0,u.jsx)(r.Z,{"data-qa":"bloko-input-password-icon",onClick:g,children:(0,u.jsx)(s.Z,{Element:"button",children:p?(0,u.jsx)(a.Z,{...m}):(0,u.jsx)(c.Z,{...m})})}),[g,m,p]);return(0,u.jsx)(b(),{type:k,ref:t,icon:_,"aria-label":"Введите пароль",...l})})},929119:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>m,LinkIconPosition:()=>h,LinkAppearance:()=>u,LinkKind:()=>d});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(804203);const a={"bloko-link":"bloko-link","focus-visible":"focus-visible","bloko-link_disable-visited":"bloko-link_disable-visited","bloko-link_underlined":"bloko-link_underlined","bloko-link__content":"bloko-link__content","bloko-link_pseudo":"bloko-link_pseudo","bloko-link_kind-success":"bloko-link_kind-success","bloko-link_kind-inversed-secondary":"bloko-link_kind-inversed-secondary","bloko-link_kind-secondary":"bloko-link_kind-secondary","bloko-link_kind-tertiary":"bloko-link_kind-tertiary","bloko-link_kind-warning":"bloko-link_kind-warning","bloko-link_kind-inversed":"bloko-link_kind-inversed","bloko-link_loading":"bloko-link_loading","bloko-link_with-icon":"bloko-link_with-icon","bloko-icon":"bloko-icon"};var c=o(662191);let d;var b;let u;var p;let h;var k;(b=d||(d={}
1)).Success="success",b.Secondary="secondary",b.Tertiary="tertiary",b.Warning="warning",b.Inversed="inversed",b.InversedSecondary="inversed-secondary",(p=u||(u={})).Underlined="underlined",p.Pseudo="pseudo",p.Loading="loading",(k=h||(h={})).Left="left",k.Right="right";const g=(e,t)=>{let{icon:o,iconPosition:i,disableVisited:d,appearance:b,kind:p,Element:k,children:g,...m}=e,_=g,f=n.Fragment;const v=(b===u.Underlined||void 0===b)&&"href"in m;if(o){f=b!==u.Loading?s.Z:n.Fragment;const e=(0,c.jsx)("span",{className:a["bloko-link__content"],children:g});_=i===h.Left?(0,c.jsxs)(c.Fragment,{children:[o," ",e]}):(0,c.jsxs)(c.Fragment,{children:[e," ",o]})}const w=l().useCallback(function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.jsx)(f,{children:(0,c.jsx)(e,{...n,...m,className:r()(a["bloko-link"],{[a[`bloko-link_kind-${p}`]]:p,[a["bloko-link_with-icon"]]:o,[a[`bloko-link_${b}`]]:b,[a["bloko-link_disable-visited"]]:d}),ref:t,children:_})})},[f,m,p,o,b,d,t,_]);return void 0===k?v?w("a"):w("button",{type:"button"}):w(k)},m=l().forwardRef(g)},580681:function(e,t,o){"use strict";o.r(t),o.d(t,{LoadingScale:()=>a,default:()=>d,LoadingColor:()=>l.Z});var n=o(317177),l=o(585614),i=o(120710),r=o(662191);const s=(0,i.Z)(e=>(0,r.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3",stroke:"var(--bloko-icon-color, var(--bloko-icon-color-default))",strokeWidth:2,strokeLinecap:"round"})}),"Loader");let a;var c;(c=a||(a={})).Small="Small",c.Medium="Medium";const d=e=>{let{scale:t=a.Small,...o}=e;return t===a.Small?(0,r.jsx)(n.Z,{initial:l.Z.Blue60,scale:t,...o}):(0,r.jsx)(s,{initial:l.Z.Blue60,scale:t,...o})}},944694:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});const n="bloko-metro-pin";var l=o(662191);const i=e=>{let{source:t,color:o="#ffffff"}=e;return(0,l.jsx)("span",{className:n,source:t,style:{backgroundColor:o}})}},250087:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(571357),i=o.n(l),r=o(662191);const s=e=>{let{containerRef:t,handleClose:o,handleClick:s}=e;const a=(0,n.useRef)(0),c=window.innerHeight,d=(0,n.useCallback)(e=>{let{distance:o}=e;!t.current||o<0||(a.current||(a.current=t.current.offsetHeight),t.current.style.transform=`translate3d(0, ${o}px, 0)`)},[t]),b=(0,n.useCallback)(()=>{t.current&&(t.current.style.transition="all 0.2s",t.current.style.transform="translate3d(0, 0, 0)",setTimeout(()=>
1{t.current&&(t.current.style.transition="",a.current=0)},200))},[t]),u=(0,n.useCallback)(e=>{let{distance:n}=e;if(!t.current||n<0)return;const l=c-a.current;a.current=0,t.current.style.transform="translate3d(0, 0, 0)",t.current.style.top=`${l+n}px`,o()},[c,t,o]);return(0,r.jsx)(i(),{direction:l.SwipeDirection.Vertical,onSwipeMove:d,onSwipePrevent:b,onSwipeEnd:u,minSwipePercent:70,children:e=>{let{swipeContainerProps:t}=e;return(0,r.jsx)("div",{className:"bloko-modal-swipe",onClick:s,...t})}})}},412572:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(761673),l=o.n(n),i=o(788105),r=o(662191);const s=e=>{let{visible:t=!1,...o}=e;return(0,r.jsx)("div",{...o,className:l()(i.Z["bloko-modal-error"],{[i.Z["bloko-modal-error_hidden"]]:!t})})}},563944:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(758162),l=o(761673),i=o.n(l),r=o(7367),s=o(245370),a=o.n(s),c=o(120939),d=o(788105),b=o(662191);const u=e=>{let{children:t,...o}=e;const[l,s]=(0,n.useState)(!1),u=(0,n.useRef)(null),{isBottomSheet:p,modalContainerRef:h}=(0,n.useContext)(c.BottomSheetContext),k=(0,n.useCallback)((e,t)=>{if(!p||null==h||!h.current)return void e();const o=h.current.style.top;h.current.style.top=t,e(),h.current.style.top=o},[p,h]),g=(0,n.useCallback)(()=>k(()=>{if(!u.current)return;const e=Math.abs(u.current.scrollTop+u.current.offsetHeight-u.current.scrollHeight)>=1;s(e)},"0px"),[k]);return(0,n.useEffect)(()=>{g()},[g]),a()(g),(0,n.useEffect)(()=>{k(()=>{if(p&&u.current&&null!=h&&h.current){u.current.style.display="none";const e=window.innerHeight,t=h.current.offsetHeight,o=e-c.BOTTOM_SHEET_TOP_SPACE-t;u.current.style.removeProperty("display"),u.current.style.maxHeight=`${o}px`}},"auto")},[h,p,k]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{...o,className:i()(d.Z["bloko-modal-content"],d.Z["bloko-modal-content_no-scroll"]),children:[(0,b.jsx)("div",{className:d.Z["bloko-modal-content-scrollable"],ref:u,onScroll:g,children:(0,b.jsx)("div",{className:d.Z["bloko-modal-content-scrollable-children"],children:t})}),!p&&(0,b.jsx)("div",{className:i()(d.Z["bloko-modal-content-fader"],{[d.Z["bloko-modal-content-fader_visible"]]:l})})]}),(0,b.jsx)("div",{className:i()(d.Z["bloko-modal-content-fader-bottom"],{[d.Z["bloko-modal-content-fader-bottom_visible"]]:l}),children:p?(0,b.jsx)("div",{className:i()(d.Z["bloko-modal-bottom-sheet-fader"],{[d.Z["bloko-modal-bottom-sheet-fader_visible"]]:l})}):(0,b.jsx)(r.Z,{})})]})}},273153:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});
1var n=o(761673),l=o.n(n),i=o(788105),r=o(662191);const s=e=>{let{alignmentLeft:t,source:o,...n}=e;return(0,r.jsx)("div",{...n,className:l()(i.Z["bloko-modal-footer"],{[i.Z["bloko-modal-footer_left"]]:t}),source:o})}},53045:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(761673),l=o.n(n),i=o(788105),r=o(662191);const s=e=>{let{outlined:t=!1,source:o,...n}=e;return(0,r.jsx)("div",{...n,className:l()(i.Z["bloko-modal-header"],{[i.Z["bloko-modal-header_outlined"]]:t}),source:o})}},656565:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(788105),l=o(662191);const i=e=>{let{Element:t="span",source:o,...i}=e;return(0,l.jsx)(t,{...i,className:n.Z["bloko-modal-title"],source:o})}},874762:function(e,t,o){"use strict";o.r(t),o.d(t,{BOTTOM_SHEET_TOP_SPACE:()=>l,BottomSheetContext:()=>r,BottomSheetContextDefaultValue:()=>i,animationHelperFactory:()=>c});var n=o(758162);const l=12,i={isBottomSheet:!1,modalContainerRef:null},r=(0,n.createContext)(i),s=(e,t)=>{const o=window.innerHeight;e.clientHeight=o;const n=t.scrollHeight;e.top=o-n},a=(e,t)=>{e&&(e.style.top=t)},c=e=>{const t={clientHeight:0,top:0};return{beforeOpen:o=>{o&&e&&(a(o,"auto"),s(t,o),a(o,`${t.clientHeight}px`))},open:o=>{o&&e&&a(o,t.top>0?`${t.top}px`:`${l}px`)},afterOpen:t=>{t&&e&&a(t,"auto")},beforeClose:o=>{o&&e&&(s(t,o),a(o,t.top>0?`${t.top}px`:`${l}px`))},close:o=>{o&&e&&a(o,`${t.clientHeight}px`)},afterClose:t=>{t&&e&&t.style.removeProperty("top")}}}},177999:function(e,t,o){"use strict";o.r(t),o.d(t,{ModalContent:()=>y.a,ModalError:()=>v.a,ModalFooter:()=>S.a,ModalHeader:()=>
1T.a,ModalTitle:()=>I.a,default:()=>P});var n=o(758162),l=o(211240),i=o.n(l),r=o(430145),s=o(761673),a=o.n(s),c=o(837354),d=o(432833),b=o.n(d),u=o(216440),p=o.n(u),h=o(521496),k=o(178734),g=o.n(k),m=o(32992),_=o.n(m),f=o(57875),v=o.n(f),w=o(693778),y=o.n(w),x=o(821492),S=o.n(x),C=o(605041),T=o.n(C),E=o(384920),I=o.n(E),B=o(120939),L=o(788105),M=o(662191);const N=e=>{let{onClose:t,children:o,source:l,visible:s=!1,closeButtonShow:d=!0,backgroundClick:u=!0,escapePress:k=!0,host:m,useBottomSheet:f=!1,...v}=e;const w=(0,n.useRef)(!0),y=(0,n.useRef)(null),x=(0,n.useRef)(null),S=(0,n.useRef)(!0),C=p()(),T=b()(),E=f&&T===h.Breakpoint.XS,I=(0,n.useMemo)(()=>(0,B.animationHelperFactory)(E),[E]),N=(0,n.useCallback)(e=>{e.stopPropagation(),w.current=!0},[]),P=(0,n.useCallback)(()=>{w.current=!1},[]),O=(0,n.useCallback)(()=>{w.current?t():w.current=!0},[t]),D=(0,n.useCallback)(e=>{s&&e.keyCode===c.KeyCode.ESC&&t()},[t,s]),A=()=>{S.current||(g().enableScroll(),S.current=!0)};return(0,n.useEffect)(()=>(k&&document.addEventListener("keydown",D),()=>{k&&document.removeEventListener("keydown",D)}),[k,D]),(0,n.useEffect)(()=>A,[]),C?null:i().createPortal((0,M.jsx)(B.BottomSheetContext.Provider,{value:{isBottomSheet:E,modalContainerRef:y},children:(0,M.jsx)(r.Z,{appear:!0,in:s,addEndListener:e=>{if(E){var t;const o=t=>{"top"===t.propertyName&&y.current&&(y.current.removeEventListener("transitionend",o),e())};null===(t=y.current)||void 0===t||t.addEventListener("transitionend",o,!1)}else{var o;null===(o=x.current)||void 0===o||o.addEventListener("transitionend",e)}},mountOnEnter:!0,unmountOnExit:!0,onEnter:()=>I.beforeOpen(y.current),onEntering:()=>I.open(y.current),onEntered:()=>{g().disableScroll(),S.current=!1,I.afterOpen(y.current)},onExit:()=>I.beforeClose(y.current),onExiting:()=>{A(),I.close(y.current)},onExited:()=>I.afterClose(y.current),classNames:{appear:L.Z["bloko-modal-overlay"],appearActive:`${L.Z["bloko-modal-overlay"]} ${L.Z["bloko-modal-overlay_visible"]}`,enterActive:`${L.Z["bloko-modal-overlay"]} ${L.Z["bloko-modal-overlay_visible"]}`,enterDone:`${L.Z["bloko-modal-overlay"]} ${L.Z["bloko-modal-overlay_visible"]}`,exit:`${a()(L.Z["bloko-modal-overlay"],{[L.Z["bloko-modal-overlay__bottom-sheet"]]:f})}`,exitActive:L.Z["bloko-modal-overlay"]},nodeRef:x,children:(0,M.jsx)("div",{source:l,onClick:u?O:void 0,ref:x,children:(0,M.jsxs)("div",{className:a()(L.Z["bloko-modal-container"],L.Z["bloko-modal-container_visible"],{[L.Z["bloko-modal-container_bottom-sheet"]]:f}),"data-qa":"bloko-modal",ref:y,children:[f&&(0,M.jsx)(_(),{containerRef:y,handleClose:O,handleClick:N}),(0,M.jsx)("div",{...v,onMouseDown:P,onMouseUp:P,className:L.Z["bloko-modal"],onClick:N,onTouchMove:N,children:o}),d&&(0,M.jsx)("div",{className:L.Z["bloko-modal-close-button"],"data-qa":"bloko-modal-close"})]})})})}),m||document.body)},P=(0,n.memo)(N)},501227:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>S});var n=o(641208),l=o.n(n),i=o(837354),r=o(45003),s=o.n(r),a=o(492598),c=o.n(a),d=o(178734),b=o.n(d),u=o(407017),p=o.n(u),h=o(662298),k=o.n(h),g=o(294597),m=o.n(g);const _="modal",f={visible:"bloko-modal-overlay_visible"},v={visible:"bloko-modal-container_visible"},w={hidden:"bloko-modal-close-button_hidden"},y=l()(document),x=l()("body");const S=s().build({defaults:{closeBy:{closeButtonClick:!0,backgroundClick:!0,escapePress:!0}},create:function(e,t){const o=l()(e),n=o.contents();let r,s,a,d,u=!0;const h=c().extend({show:function(){if(g())return;s=l()(m().render()),s.appendTo(x),r=l()(k().render()),d=l()(".Bloko-Modal-CloseButton",r),t.closeBy.closeButtonClick||d.addClass(w.hidden);a=r.find('[data-attach="modal"]'),function(){r.on(`click.${_}`,S),t.closeBy.escapePress&&y.on(`keydown.${_}`,C);a.on(`touchmove.${_}`,e=>{e.stopPropagation()})}(),b().disableScroll(),a.empty().append(n),s.addClass(f.visible),r.appendTo(x),p()(r.get(0),()=>{h._trigger("showed")}),r.addClass(v.visible),a.on("mouseup mousedown",T)},hide:E});function g(){return r&&r.is(":visible")}function S(e){const o=e.target,n=y.find(o).length>0,i=a.find(o).length>0,r=a.is(o),s=d.is(o),c=l()(o).is(`[data-attach="${_}-hide"]`);n&&(t.closeBy.closeButtonClick&&s&&u?E():!t.closeBy.backgroundClick||i||r||!u?(c&&E(),u=!0):E())}function C(e){e.which===i.KeyCode.ESC&&E()}function T(){u=!1}
1function E(){if(!g())return;b().enableScroll(),a.off(`touchmove.${_}`),n.off(`touchmove.${_}`),y.off(`keydown.${_}`),a.off(`touchmove.${_}`),a.off("mouseup mousedown",T),p()(r.get(0),function(){s.detach(),r.detach(),o.append(n),h._trigger("hid")}),s.removeClass(f.visible),r.removeClass(v.visible)}return h},componentName:"bloko/blocks/modal"})},306522:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(45003),l=o.n(n),i=o(636612),r=o.n(i);const s=l().build({create:function(e,t){let o,n;function l(t){o=r().render({message:t}),e.innerHTML=o,n=e.querySelector(".Bloko-ModalError-Error")}return l(t.message),{show:function(){n.classList.remove("bloko-modal-error_hidden")},hide:function(){n.classList.add("bloko-modal-error_hidden")},setMessage:l}},componentName:"blocks/modal/modalError"})},386514:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(641208),l=o.n(n),i=o(950229),r=o.n(i),s=o(45003);const a=o.n(s)().build({create(e){const t=l()(".Bloko-Name-Capitalize-Input",e),o=function(){t.val((e,t)=>r()(t))};t.addClass("bloko-input-text_name"),t.on("change",o),o()},componentName:"bloko/blocks/nameCapitalize"})},997985:function(e,t,o){"use strict";o.r(t),o.d(t,{NOTIFICATION_ANIMATION_TIMEOUT_MS:()=>d,NOTIFICATION_AUTO_CLOSE_TIME_MS:()=>c,NOTIFICATION_MANAGER_CLASS_CSS:()=>u,default:()=>h,NOTIFICATION_MANAGER_CLASS_JS:()=>b,NotificationKind:()=>l.NotificationKind});var n=o(758162),l=o(482013),i=o(196269),r=o.n(i);var s=o(662191);function a(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const c=5e3,d=300,b="Bloko-Notification-Manager",u="bloko-notification-manager";class p extends n.PureComponent{constructor(){super(...arguments),a(this,"id",null)}componentDidMount(){const{context:e,closeFuncRef:t,...o}=this.props;this.id||(this.id=e.addNotification(o)),null==t||t(()=>null!==this.id&&e.closeNotification(this.id))}componentDidUpdate(e){const t=e.context.notifications.some(e=>e.id===this.id),o=this.props.context.notifications.some(e=>e.id===this.id);var n,l;t&&!o&&(null===(n=(l=this.props).onClose)||void 0===n||n.call(l));this.props.children!==e.children&&null!==this.id&&this.props.context.updateProps(this.id,{children:this.props.children})}componentWillUnmount(){var e,t;null===(e=(t=this.props).closeFuncRef)||void 0===e||e.call(t,null),this.id&&(this.props.context.removeNotification(this.id),this.id=null)}render(){return null}}p.displayName="blocks/notificationManager/Notification/NotificationDeclaration";const h=e=>{let{autoCloseDelay:t=c,onClose:o,closeFuncRef:l,...i}=e;const a=(0,n.useCallback)(e=>{l&&("function"!=typeof l?l.current=e:l(e))},[l]);return(0,s.jsx)(r().Consumer,{children:e=>(0,s.jsx)(p,{autoCloseDelay:t,closeFuncRef:a,onClose:o,...i,context:e})})}},680049:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(188234),l=o(662191);const i=e=>{let{Element:t="div",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-notification__footer"],...o})}},83790:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(188234),l=o(662191);const i=e=>{let{Element:t="div",...o}=e;return(0,l.jsx)(t,{className:n.Z["bloko-notification__heading"],...o})}},567264:function(e,t,o){"use strict";let n;o.r(t),o.d(t,{NOTIFICATION_EXTRA_TYPES:()=>l,NotificationKind:()=>n}),function(e){e.Ok="ok",e.Error="error",e.Delete="delete",e.Message="message",e.Question="question",e.Rating="rating",e.Special="special"}(n||(n={}));const l=[n.Message,n.Question,n.Rating,n.Special]},762020:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=o.n(n)().createContext({notifications:[],addNotification:()=>0,removeNotification:()=>{},closeNotification:()=>{},closeFuncRefs:{},updateProps:()=>{}})},207990:function(e,t,o){"use strict";o.r(t),o.d(t,{NotificationManagerConsumer:()=>x,default:()=>S,idCounter:()=>v});var n=o(758162),l=o(211240),i=o.n(l),r=o(430145),s=o(761673),a=o.n(s),c=o(487153),d=o(585614),b=o(563178),u=o.n(b),p=o(52037),h=o(482013),k=o(196269),g=o.n(k),m=o(188234),_=o(662191);function f(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const v={value:0},w=u()();class y extends n.PureComponent{constructor(){super(...arguments),f(this,"nodeRef",(0,n.createRef)()),f(this,"state",{visible:!0}),f(this,"timerId",null),f(this,"hide",()=>{this.timerId&&w.clearTimeout(this.timerId),this.timerId=null,this.setState({visible:!1})}),f(this,"onMouseEnter",()=>{w.pause()}),f(this,"onMouseLeave",()=>{w.resume()})}componentDidMount(){this.props.context.closeFuncRefs[this.props.id]=this.hide,this.props.autoClose&&this.setupAutoclose()}componentWillUnmount(){this.props.context.closeFuncRefs[this.props.id]=null,this.timerId&&w.clearTimeout(this.timerId)}setupAutoclose(){!this.timerId&&this.props.autoCloseDelay&&(this.timerId=w.setTimeout(()=>{this.timerId=null,this.hide()},this.props.autoCloseDelay))}render(){const{children:e,id:t,onClose:o,kind:n,autoClose:l,autoCloseDelay:i,dataQa:s,...b}=this.props;return(0,_.jsx)(r.Z,{in:this.state.visible,timeout:{exit:p.NOTIFICATION_ANIMATION_TIMEOUT_MS},enter:!1,unmountOnExit:!0,onExited:()=>null==o?void 0:o(t),classNames:{exit:`${m.Z["bloko-notification"]} ${m.Z["bloko-notification_inactive"]}`,exitActive:`${m.Z["bloko-notification"]} ${m.Z["bloko-notification_inactive"]}`},source:this.props.source,nodeRef:this.nodeRef,children:(0,_.jsx)("div",{...b,ref:this.nodeRef,className:a()(m.Z["bloko-notification"],{[m.Z[`bloko-notification_${n}`]]:n}),"data-qa":s,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,children:(0,_.jsx)("div",{className:m.Z["bloko-notification__wrapper"],children:(0,_.jsxs)("div",{className:m.Z["bloko-notification__plate"],children:[(0,_.jsx)("div",{className:m.Z["bloko-notification__icon"]}),(0,_.jsxs)("div",{className:m.Z["bloko-notification__body"],children:[(0,_.jsx)("div",{className:m.Z["bloko-notification__content"],
1children:e}),(0,_.jsx)("div",{className:m.Z["bloko-notification__close"],"data-qa":"notification-close-button",onClick:this.hide,children:(0,_.jsx)(c.Z,{initial:n&&h.NOTIFICATION_EXTRA_TYPES.includes(n)?d.Z.White:d.Z.Gray80})})]})]})})})})}}y.displayName="blocks/notificationManager/index/Notification",f(y,"defaultProps",{dataQa:"bloko-notification"});class x extends n.PureComponent{constructor(){super(...arguments),f(this,"state",{isServerENV:!0}),f(this,"portalRoot",null)}componentDidMount(){var e;const t=null!==(e=this.props.notificationManagerClass)&&void 0!==e?e:p.NOTIFICATION_MANAGER_CLASS_JS;this.portalRoot=document.querySelector(`.${t}`),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.className=`${t} ${p.NOTIFICATION_MANAGER_CLASS_CSS}`,document.body.appendChild(this.portalRoot)),this.setState({isServerENV:!1})}render(){return this.state.isServerENV?null:this.portalRoot&&i().createPortal((0,_.jsx)(g().Consumer,{children:e=>e.notifications.map(t=>(0,_.jsx)(y,{id:t.id,context:e,onClose:e.removeNotification,...t.props},t.id))}),this.portalRoot)}}x.displayName="blocks/notificationManager/index/NotificationManagerConsumer";class S extends n.PureComponent{constructor(){super(...arguments),f(this,"state",{notifications:[]}),f(this,"closeFuncRefs",{}),f(this,"addNotification",e=>{const t=v.value+=1;return this.setState(o=>({notifications:[{id:t,props:e},...o.notifications]})),t}),f(this,"removeNotification",e=>{this.setState(t=>({notifications:t.notifications.filter(t=>t.id!==e)}))}),f(this,"closeNotification",e=>{var t,o;null===(t=this.closeFuncRefs)||void 0===t||null===(o=t[e])||void 0===o||o.call(t)}),f(this,"updateProps",(e,t)=>{this.setState(o=>{const n=o.notifications.findIndex(t=>{let{id:o}=t;return e===o});return{notifications:[...o.notifications.slice(0,n),{id:e,props:{...o.notifications[n].props,...t}},...o.notifications.slice(n+1)]}})})}render(){const e={notifications:this.state.notifications,addNotification:this.addNotification,removeNotification:this.removeNotification,closeFuncRefs:this.closeFuncRefs,closeNotification:this.closeNotification,updateProps:this.updateProps};return(0,_.jsxs)(g().Provider,{value:e,children:[this.props.withConsumer&&(0,_.jsx)(x,{notificationManagerClass:this.props.notificationManagerClass}),this.props.children]})}}S.displayName="blocks/notificationManager/index/NotificationManager",f(S,"defaultProps",{withConsumer:!0})},603668:function(e,t,o){"use strict";o.r(t),o.d(t,{NotificationKind:()=>k.NotificationKind,default:()=>y});var n,l=o(487153),i=o(585614),r=o(607621),s=o(563178),a=o.n(s),c=o(426551),d=o.n(c),b=o(45003),u=o.n(b),p=o(923496),h=o.n(p),k=o(482013),g=o(961038),m=o.n(g);const _=d()?(e,t)=>{d()&&((e,t,o)=>{e.addEventListener(t,function n(l){e.removeEventListener(t,n),o(l)})})(e,d(),t)}:(e,t)=>{t()},f=a()(),v=null!==(n=window.bloko)&&void 0!==n&&n.isTest?10:5e3,w=document.querySelector(".Bloko-Notification-Manager")||document.body.appendChild((()=>{const e=document.createElement("div");return e.className="bloko-notification-manager",e})());w.addEventListener("mouseenter",()=>{f.pause()}),w.addEventListener("mouseleave",()=>{f.resume()});const y={create:e=>{let{content:t,type:o,onClose:n,autoClose:s,autoCloseDelay:a=v}=e;const c=(e=>{let{type:t,content:o}=e;const n=document.createElement("div");n.innerHTML=m().render({type:t,inverted:k.NOTIFICATION_EXTRA_TYPES.includes(t)});const l=n.firstElementChild,i=l.querySelector(".Bloko-Notification-Content");return"string"==typeof o?i.innerHTML=o:i.appendChild(h().getElement(o)),l})({content:t,type:o});let d;s&&(d=f.setTimeout(p,a));const b=c.querySelector(".Bloko-Notification-Close");function p(){c.classList.contains("bloko-notification_inactive")||(c.classList.add("bloko-notification_inactive"),_(c,()=>{c.remove(),null==n||n()}))}return c&&u().make(r.Z,b,{IconComponent:l.Z,iconProps:{initial:k.NOTIFICATION_EXTRA_TYPES.includes(o)?i.Z.White:i.Z.Gray80}}),c.addEventListener("click",e=>{e.target instanceof Element&&e.target.closest(".Bloko-Notification-Close")&&(f.clearTimeout(d),p())}),w.insertBefore(c,w.firstElementChild),{close:p}}}},837979:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t,o)=>t.split(o).length-e.trim().split(o).length},588600:function(e,t,o){"use strict";o.r(t),o.d(t,{NumericInput:()=>h,default:()=>k});var n=o(758162),l=o(636361),i=o.n(l),r=o(574289),s=o.n(r),a=o(482707),c=o.n(a),d=o(348674),b=o.n(d),u=o(662191);const p={},h=(0,n.forwardRef)((e,t)=>{let{decimalLength:o=2,decimalMark:a=",",groupSeparator:d="",allowNegative:h=!1,errors:k=p,useParentNodeAsTooltipHost:g,onChange:m,tipProps:_,source:f,...v}=e;
1const[w,y]=(0,n.useState)(null),[x,S]=(0,n.useState)(null),C=(0,n.useRef)(null),T=(0,n.useCallback)((e,t)=>{e.selectionStart=t,e.selectionEnd=t},[]),E=(0,n.useCallback)(e=>{b()(T)(e,e.selectionStart?e.selectionStart-1:0)},[T]),I=(0,n.useCallback)(()=>w&&k[w],[k,w]),B=(0,n.useCallback)(()=>{y(null),S(null)},[]),L=(0,n.useCallback)(()=>{B(),x&&clearTimeout(x)},[x,B]),M=(0,n.useCallback)((e,t)=>{const[n]=c().validate(e,{decimalLength:o,decimalMark:a,groupSeparator:d,allowNegative:h});if(!n)return L(),void m(e,t);E(t.element),y(n),x&&clearTimeout(x),S(setTimeout(B,2e3))},[o,a,d,E,x,B,L,m,h]);return(0,u.jsx)(i(),{show:!!w,theme:l.TipTheme.Attention,placement:l.TipPlacement.Top,render:I,onExternalClose:L,activatorRef:C,..._,children:(0,u.jsx)(s(),{ref:e=>{"function"==typeof t&&t(e),t&&"current"in t&&(t.current=e),C.current=e},type:r.InputType.Text,onChange:M,source:f,...v})})}),k=(0,n.memo)(h)},122058:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>w});var n=o(641208),l=o.n(n),i=o(515167),r=o.n(i),s=o(837354),a=o.n(s),c=o(45003),d=o.n(c),b=o(14482),u=o.n(b),p=o(482707),h=o.n(p),k=o(535265),g=o.n(k),m=o(640397),_=o.n(m),f=o(730806),v=o.n(f);const w=d().build({defaults:{groupSeparator:"",decimalMark:",",decimalLength:2,allowNegative:!1,trls:{},useParentNodeAsTooltipHost:!1},create:function(e,t){if("INPUT"===e.tagName&&"number"===e.type)throw new Error("NumericInput can't work with input[type=number]. Use inputmode=decimal|numeric instead.");const o=l()(e);let n;const s=new RegExp((0===t.decimalLength?"":`\\${t.allowNegative?"-|":""}${t.decimalMark}|`)+"\\d"),c=d().make(r(),e,{theme:i.TipTheme.Attention,placement:i.TipPlacement.Top,host:t.useParentNodeAsTooltipHost?e.parentNode:"body"});function b(e){void 0!==t.trls[e]&&(c.changeOptions({html:t.trls[e]}).show(),n&&clearTimeout(n),n=window.setTimeout(()=>{c.hide(),n=null},2e3))}function p(n){const l=e.value;let i=u().format(l,t);if(l===i)return;const r=l.charAt(l.length-1),s=i.split(t.decimalMark).length-1;if(0!==t.decimalLength&&0===s&&r===t.decimalMark&&(i+=r),n)o.val(i);else{const n=_().getCaretPosition(e);o.val(i);const r=v()(l,i,t.groupSeparator);_().setCaretPosition(e,n+r)}}if(p(!0),g().android()){let n="";o.on("change input",()=>{const o=e.value,l=h().validate(o,t);0===l.length?(n=o,c&&c.hide(),p(!1)):(e.value=n,b(l[0]))})}else o.on(g().IEMobile()?"keydown":"keypress",function(o){if(o.altKey||o.ctrlKey||o.metaKey)return;const n=a().getChar(o);if(null===n)return;if(!s.test(n))return o.preventDefault(),void b("notNumber");const l=_().getCaretPosition(e),i=e.value,r=(i.substr(0,l)+n+i.substr(l)).replace(t.groupSeparator,""),d=h().validate(r,t);d.length>0?(o.preventDefault(),b(d[0])):c&&c.hide()}).on("input change",()=>{p(!1)})},componentName:"bloko/blocks/numericInput"})},129460:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});o(758162);var n=o(761673),l=o.n(n),i=o(288182),r=o(662191);const s=e=>{const{children:t,invalid:o,innerRef:n,labelProps:s,wrapperProps:a,source:c,...d}=e;return(0,r.jsxs)("label",{className:l()(i.Z["bloko-radio"],{[i.Z["bloko-radio_invalid"]]:o}),...a,ref:n,source:c,children:[(0,r.jsx)("input",{...d,type:"radio",className:i.Z["bloko-radio__input"]}),(0,r.jsx)("span",{...s,className:i.Z["bloko-radio__text"],children:t})]})}},449035:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});o(758162);var n=o(288182),l=o(662191);const i=e=>(0,l.jsx)("span",{...e,className:n.Z["bloko-radio__opening-content"]})},56820:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(845603),l=o.n(n),i=o(662191);const r=e=>{let{children:t,reversed:o,...n}=e;return o?(0,i.jsxs)("label",{className:"bloko-radio-reversed-wrapper",children:[(0,i.jsx)("div",{suppressHydrationWarning:!0,children:t}),(0,i.jsx)("div",{className:"bloko-radio-reversed-wrapper__control",children:(0,i.jsx)(l(),{...n})})]}):(0,i.jsx)(l(),{...n,children:t})}},169396:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});o(758162),o(220951);var n=o(662191);const l=e=>(0,n.jsx)("option",{...e,suppressHydrationWarning:!0})},334574:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(758162),l=o(761673),i=o.n(l),r=o(631593),s=o.n(r),a=o(220951),c=o(662191);function d(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class b extends n.PureComponent{constructor(){super(...arguments),d(this,"hasChanged",!1),d(this,"state",{value:""}),d(this,"onChange",e=>{this.hasChanged=!0,this.setState({value:e.target.value}),this.props.onChange&&this.props.onChange(e)}
1),d(this,"showPlaceholder",()=>!this.props.value&&!this.state.value&&!(this.props.defaultValue&&!this.hasChanged))}componentDidUpdate(e){e.value!==this.props.value&&this.setState({value:this.props.value})}render(){const{placeholder:e,ref:t,source:o,...n}=this.props;return(0,c.jsxs)("div",{className:i()(a.Z["bloko-select-wrapper"],{[a.Z["bloko-select-wrapper_flexible"]]:n.flexible}),source:o,children:[this.showPlaceholder()&&(0,c.jsx)("div",{className:a.Z["bloko-select-placeholder"],children:(0,c.jsx)("span",{className:a.Z["bloko-select-placeholder-text"],children:e})}),(0,c.jsx)(s(),{...n,ref:t,onChange:this.onChange})]})}}b.displayName="blocks/select/SelectWithPlaceholder/SelectWithPlaceholderRaw";const u=(0,n.forwardRef)((e,t)=>(0,c.jsx)(b,{...e,ref:t}))},461845:function(e,t,o){"use strict";o.r(t),o.d(t,{Option:()=>a.default,SelectRaw:()=>b,SelectScale:()=>d,default:()=>k});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(220951),a=o(169396),c=o(662191);let d;!function(e){e.Small="small",e.Large="large"}(d||(d={}));class b extends n.PureComponent{render(){const{children:e,flexible:t,light:o,invalid:n,scale:l,...i}=this.props;return(0,c.jsx)("select",{className:r()(s.Z["bloko-select"],{[s.Z["bloko-select_flexible"]]:t,[s.Z["bloko-select_light"]]:o,[s.Z["bloko-select_invalid"]]:n,[s.Z[`bloko-select_scale-${l}`]]:l}),suppressHydrationWarning:!0,...i,children:e})}}var u,p,h;b.displayName="blocks/select/index/SelectRaw",u=b,h={invalid:!1,flexible:!1,light:!1,disabled:!1},(p=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(p="defaultProps"))in u?Object.defineProperty(u,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[p]=h;const k=l().forwardRef((e,t)=>(0,c.jsx)(b,{...e,ref:t}))},435625:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(632846),l=o(662191);const i=e=>(0,l.jsx)("span",{...e,className:n.Z["bloko-select-dropdown-option__text"]})},698880:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(758162),l=o(761673),i=o.n(l),r=o(632846),s=o(662191);const a=(0,n.forwardRef)((e,t)=>{let{children:o,selected:n,disabled:l,focused:a,focusableByHover:c,source:d,...b}=e;return(0,s.jsx)("div",{...b,ref:t,className:i()(r.Z["bloko-select-dropdown-option"],{[r.Z["bloko-select-dropdown-option_selected"]]:n,[r.Z["bloko-select-dropdown-option_disabled"]]:l,[r.Z["bloko-select-dropdown-option_focused"]]:a,[r.Z["bloko-select-dropdown-option_focusable-by-hover"]]:c}),source:d,children:o})})},323863:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(761673),l=o.n(n);const i="bloko-share",r="bloko-share__content",s="bloko-share__counter",a="bloko-share__counter_inverted";var c=o(662191);const d=e=>{let{Element:t="a",icon:o,count:n,inverted:d,...b}=e;return(0,c.jsx)(t,{...b,className:i,children:(0,c.jsxs)("span",{className:r,children:[o,void 0!==n&&(0,c.jsx)("span",{className:l()(s,{[a]:d}),children:n})]})})}},19437:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(725394),l=o(662191);const i=e=>{let{children:t,width:o}=e;return(0,l.jsx)("div",{style:{width:`${o}px`},className:n.Z["bloko-slide__item"],children:t})}},764049:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(758162),l=o(571357),i=o.n(l),r=o(245370),s=o.n(r),a=o(887854),c=o.n(a),d=o(608299),b=o.n(d),u=o(725394),p=o(662191);const h={swipeOptions:{},transitionTiming:500},k=e=>{let{children:t,activeItem:o,swipeOptions:l=h.swipeOptions,transitionTiming:r=h.transitionTiming,onChange:a}=e;const d=(0,n.useRef)(),k=(0,n.useRef)(null),[g,m]=(0,n.useState)(0),[_,f]=(0,n.useState)(0),v=(0,n.useCallback)(()=>{d.current&&m(d.current.getBoundingClientRect().width)},[]);(0,n.useEffect)(()=>{v()},[v]),s()(v);const{onSwipeMove:w,onSwipeEnd:y,onSwipePrevent:x}=b()({lastItemIndex:n.Children.count(t)-1,activeItemIndex:o,setSlideOffset:f,slideOnChange:a,slideContainerElRef:k});return(0,p.jsx)(i(),{onSwipeMove:w,onSwipeEnd:y,onSwipePrevent:x,...l,children:e=>{let{swipeContainerProps:{ref:l,...i}}=e;return(0,p.jsx)("div",{...i,ref:e=>{l.current=e,d.current=e},className:u.Z["bloko-slide"],children:!!g&&(0,p.jsx)("div",{className:u.Z["bloko-slide__container"],style:{transitionDuration:`${r}ms`,transform:`translateX(-${g*o-_}px)`},ref:k,children:n.Children.map(t,e=>{if((e=>(0,n.isValidElement)(e)&&e.type===c())(e))return(0,n.cloneElement)(e,{width:g});throw new Error("Children must be slide")})})})}})}},929394:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(16315),a=o(174206),c=o.n(a),d=o(45003),b=o.n(d);const u=l().View.extend({initialize(e){this.swipe=b().make(c(),this.$el[0],e.swipeOptions),this.$container=this.$(".Bloko-Slide-Container"),this.$current=this.$(".Bloko-Slide-Current"),this.lazyLoad=e.lazyLoad,this.changeItemCallback=e.changeItemCallback,this.transitionTiming=e.transitionTiming,this.swipe.on("bloko-swipe-move",e=>{this.$current.css("transform",`translate3d( ${e.distance}px, 0, 0)`)}).on("bloko-swipe-end",this.swipeItem.bind(this)).on("bloko-swipe-prevent",this.setStartState.bind(this))},setStartState(){const e=function(){this.$current.css("transition","")}.bind(this);this.$current.css("transition",`all ${this.transitionTiming}ms ease`),this.$current.css("transform","translate3d(0, 0, 0)"),this.$current.one("transitionend",e)},animateSwipe(e){let t=(this.$container.width()+this.$current.width())/2;e<0&&(t=-t),this.$current.css("transform",`translate3d(${t}px, 0, 0)`),window.setTimeout(this.setStartState.bind(this),0)},swipeItem(e){const t=e.direction;if(this.lazyLoad){const e=this.changeItemCallback(t);return e.then?void e.then(e=>{this.$current=r()(e),this.animateSwipe(t)}):(this.$current=r()(e),void this.animateSwipe(t))}const o=this.$(".Bloko-Slide-Item");let n=o.index(this.$current)+t;n>=o.length&&(n=0),n<0&&(n=o.length-1),this.$current.removeClass("Bloko-Slide-Current"),this.$current.addClass("g-hidden"),this.$current=o.eq(n),this.$current.removeClass("g-hidden"),this.$current.addClass("Bloko-Slide-Current"),this.animateSwipe(t)}}),p=b().build({defaults:{lazyLoad:!1,transitionTiming:500,swipeOptions:void 0},create(e,t){new u(s.default.extend({el:e},t))},componentName:"bloko/blocks/slide"})},471961:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{setSlideOffset:t,slideOnChange:o,slideContainerElRef:l,activeItemIndex:i,lastItemIndex:r}=e;return{onSwipeMove:(0,n.useCallback)(e=>{l.current&&(l.current.style.transitionProperty="none"),t(e.distance)},[t,l]),onSwipeEnd:(0,n.useCallback)(e=>{let{direction:n}=e;const s=i+n;s>r?null==o||o(0):s<0?null==o||o(r):null==o||o(s),l.current&&(l.current.style.transitionProperty="transform"),t(0)},[i,r,t,l,o]),onSwipePrevent:(0,n.useCallback)(()=>{t(0)},[t])}}},191536:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(45003),l=o.n(n),i=o(727827),r=o.n(i),s=o(992816),a=o.n(s),c=o(223739),d=o.n(c);const b=l().build({defaults:{from:0,to:100,stepSize:1,value:null,type:"slider",style:"primary",disabled:!1,onChange:null,onInput:null,showMarks:!1,labels:null,fromInput:null,toInput:null,valueInput:null},create(e,t){const o=t&&"range"===t.type?new(a())(e,t):new(d())(e,t),n={set(e){o.set(e)},get:()=>o.get(),toggleDisabled(e){o.toggleDisabled(e)},setAvailable(e){o.setAvailable(e)},onChange(e){o.onChange(e)},onInput(e){o.onInput(e)}};return window.setTimeout(()=>{r().resolve(e,"slider",n)},0),n},componentName:"bloko/blocks/slider"})},92394:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>g});var n=o(641208),l=o.n(n),i=o(837354),r=o(238676),s=o.n(r),a=o(923496),c=o.n(a),d=o(138233),b=o.n(d);let u=null;const p=function(e){e.preventDefault(),u.process(e,!1)};l()(document).on("touchstart",e=>{e.originalEvent.touches.length>1&&(l()(document).off("touchmove",p),u&&(u.finish(),u=null))}),l()(document).on("mouseup touchend",e=>{u&&(e.preventDefault(),u.process(e,!0),u=null,l()(document).off("touchmove mousemove",p))});const h=function(e){const t=e.originalEvent,o=0===t.type.indexOf("touch"),n=0===t.type.indexOf("mou
1se");let l,i,r=0===t.type.indexOf("pointer");const s=t;return 0===t.type.indexOf("MSPointer")&&(r=!0),o&&(l=t.changedTouches[0].pageX,i=t.changedTouches[0].pageY),(n||r)&&(l=t.clientX,i=t.clientY),s.points=[l,i],s},k=function(e){this.params=e,this.lastX=c().getRelativeMetrics(e.element).left,this.offsetX=e.event.points[0]-this.lastX};k.prototype={process(e,t){let o=h(e).points[0]-this.offsetX;o=Math.min(Math.max(o,this.params.percentsMin,this.params.availablePercentsMin),this.params.percentsMax,this.params.availablePercentsMax),this.lastX=o,this.params.onChange(o,t)},finish(){this.params.onChange(this.lastX,!0)}};const g={template:b(),bindings:{leftPin:".Bloko-Slider-LeftPin",rightPin:".Bloko-Slider-RightPin",scaleLine:".Bloko-Slider-ScaleLine",rangeMark:".Bloko-Slider-RangeMark",availableMark:".Bloko-Slider-AvailableMark",labels:".Bloko-Slider-Label"},cssClasses:{disabled:"bloko-slider_disabled"},_init(e,t){this.$element=l()(e),this.options=l().extend({},t),this.options.available||(this.options.available={from:this.options.from,to:this.options.to}),this.cachedUnitMin=null,this.cachedUnitMax=null;const o=l()(this.template.render({marks:this._createMarks(),labels:this._createLabels(),isRange:"range"===this.options.type,hasLabels:this.options.labels&&this.options.labels.length,isSecondary:"secondary"===this.options.style}));this.$element.append(o),this.$markup=o,this._initBindings(o),this._initMetrics(),this._initEventListeners(),this.options.onChange&&this.$markup.on("Bloko-Slider-Change",this.options.onChange),this.options.onInput&&this.$markup.on("Bloko-Slider-Input",this.options.onInput),this.unitMin=this.options.available.from,this.unitMax=this.options.available.to,this.set(this.options.value),this.toggleDisabled(this.options.disabled)},onInput(e){this.$markup.on("Bloko-Slider-Input",e)},onChange(e){this.$markup.on("Bloko-Slider-Change",e)},_createLabels(){if(!this.options.labels)return null;const e=this.options.to-this.options.from,t=this.options.from,o=this.options.available;return this.options.labels.map(n=>({offset:(n[0]-t)/e*100,text:n[1],available:n[0]>=o.from&&n[0]<=o.to}))},_set(e,t){e=this._ensureValuesInRange(e),this.unitMin=e[0],this.unitMax=e[1],this.unitMin!==this.options.available.from&&(this.unitMin=Math.round(this.unitMin/this.options.stepSize)*this.options.stepSize),this.unitMax!==this.options.available.to&&(this.unitMax=Math.round(this.unitMax/this.options.stepSize)*this.options.stepSize),this.unitMin=this._inRange(this.unitMin,[this.options.available.from,this.unitMax]),this.unitMax=this._inRange(this.unitMax,[this.unitMin,this.options.available.to]),this.percentsMin=this._convertUnitsToPercents(this.unitMin),this.percentsMax=this._convertUnitsToPercents(this.unitMax),this.availablePercentsMin=this._convertUnitsToPercents(this.options.available.from),this.availablePercentsMax=this._convertUnitsToPercents(this.options.available.to),this._render(),this.$markup.trigger("Bloko-Slider-Input",this.get()),!t||this.cachedUnitMin===this.unitMin&&this.unitMax===this.cachedUnitMax||(this.$markup.trigger("Bloko-Slider-Change",this.get()),this.cachedUnitMin=this.unitMin,this.cachedUnitMax=this.unitMax),100===this.percentsMin&&this.$leftPin.css("z-index",4)},set(e){this.disabled||this._set(this._ensureValuesValid(e),!0)},setAvailable(e){this.options.available.from=this._inRange(e.from,[this.options.from,this.options.to]),this.options.available.to=this._inRange(e.to,[this.options.from,this.options.to]),this._set(this.get(),!0)},toggleDisabled(e){this.disabled=void 0===e?!this.disabled:e,this.$scaleLine.toggleClass(this.cssClasses.disabled,this.disabled),this.$leftPin.prop("disabled",this.disabled),this.$rightPin.prop("disabled",this.disabled)},_moveByKeyboard(e,t){let o=this.options.stepSize;e.shiftKey&&(o*=10,o=Math.min((this.options.to-this.options.from)/10,o),o=Math.round(o/this.options.stepSize)*this.options.stepSize,o=Math.max(o,this.options.stepSize));let n=t;switch(e.keyCode){case i.KeyCode.ArrowDown:case i.KeyCode.ArrowLeft:n-=o,e.preventDefault();break;case i.KeyCode.ArrowUp:case i.KeyCode.ArrowRight:n+=o,e.preventDefault()}return n},_inRange:(e,t)=>
1Math.max(Math.min(e,t[1]),t[0]),_initEventListeners(){const e=this.$leftPin.add(this.$rightPin);e.on("focus touchstart mousedown",t=>{e.css("z-index",3),l()(t.target).css("z-index",4)}),this.$scaleLine.on("click",this._onClick.bind(this)),this.$leftPin.on("touchstart mousedown",this._createMovement.bind(this,!0)),this.$rightPin.on("touchstart mousedown",this._createMovement.bind(this,!1)),this.$leftPin.on("keydown",this._keyboardControl.bind(this,!0)),this.$rightPin.on("keydown",this._keyboardControl.bind(this,!1))},_initBindings(e){this.$leftPin=l()(this.bindings.leftPin,e),this.$rightPin=l()(this.bindings.rightPin,e),this.$scaleLine=e,this.$rangeMark=l()(this.bindings.rangeMark,e),this.$availableMark=l()(this.bindings.availableMark,e)},_render(){this.$leftPin.css("left",`${this.percentsMin}%`),this.$rightPin.css("left",`${this.percentsMax}%`),this.$rangeMark.css({left:`${this.percentsMin}%`,right:100-this.percentsMax+"%"}),this.$availableMark.css({left:`${this.availablePercentsMin}%`,right:100-this.availablePercentsMax+"%"})},_initMetrics(){"range"===this.options.type&&(this.leftPinMetrics=c().getRelativeMetrics(this.$leftPin.get(0))),this.rightPinMetrics=c().getRelativeMetrics(this.$rightPin.get(0));const e=c().getMetrics(this.$scaleLine.get(0));this.scaleLineSize=e.width,this.scaleLinePosition=e.left,this.unitsInPixel=(this.options.to-this.options.from)/this.scaleLineSize},_createMovement(e,t){if(this.disabled||t.button===s().BUTTON_RIGHT)return;l()(document).on("touchmove mousemove",p),this._initMetrics();const o=h(t),n=this._createMovementOptions(e);n.onChange=this._pinMoved.bind(this,e),n.event=o,n.availablePercentsMin=(this.options.available.from-this.options.from)/this.unitsInPixel,n.availablePercentsMax=(this.options.available.to-this.options.from)/this.unitsInPixel,u=new k(n)},_createMarks(){if(!this.options.showMarks)return null;const e=[];for(let t=this.options.from+this.options.stepSize;t<this.options.to;t+=this.options.stepSize)e.push({offset:this._convertUnitsToPercents(t)});return e},_onClick(e){if(this.disabled||e.target===this.$leftPin[0]||e.target===this.$rightPin[0])return;this._initMetrics();const t=void 0===window.pageXOffset?document.documentElement.scrollLeft:window.pageXOffset,o=e.clientX+t-this.scaleLinePosition,n=this._convertPxToUnits(o);this._setPositionByClick(o,n)},_convertPxToUnits(e){return e*this.unitsInPixel+this.options.from},_convertUnitsToPercents(e){return(e-this.options.from)/(this.options.to-this.options.from)*100}}},611139:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(641208),l=o.n(n),i=o(141068),r=o.n(i);const s=function(e,t){this._init(e,t)};s.prototype=l().extend({},r(),{_ensureValuesInRange(e){const t=null===e[0]?this.unitMin:e[0],o=null===e[1]?this.unitMax:e[1];return[this._inRange(t,[this.options.available.from,this.unitMax]),this._inRange(o,[this.unitMin,this.options.available.to])]},_ensureValuesValid:e=>(null==e&&(e=[null,null]),e.forEach((t,o)=>{t=parseInt(t,10),e[o]=isNaN(t)?null:t}),e),get(){return[this.unitMin,this.unitMax]},_createMovementOptions(e){let t;return t=e?{element:this.$leftPin.get(0),percentsMin:0,percentsMax:this.rightPinMetrics.left}:{element:this.$rightPin.get(0),percentsMin:this.leftPinMetrics.left,percentsMax:this.scaleLineSize},t},_pinMoved(e,t,o){const n=this._convertPxToUnits(t);this._set(e?[n,null]:[null,n],o)},_setPositionByClick(e,t){const o=Math.abs(e-this.leftPinMetrics.left),n=Math.abs(e-this.rightPinMetrics.left);o===n&&e<this.leftPinMetrics.left?this._set([t,null]):this._set(o<n?[t,null]:[null,t])},_keyboardControl(e,t){let o=this.get();o=e?o[0]:o[1],o=this._moveByKeyboard(t,o),this._set(e?[o,null]:[null,o])}});const a=s},78767:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(641208),l=o.n(n),i=o(141068),r=o.n(i);const s=function(e,t){this._init(e,t)};s.prototype=l().extend({},r(),{_ensureValuesInRange(e){return e=null===e?this.unitMax:e,e=this._inRange(e,[this.options.available.from,this.options.available.to]),[this.options.available.from,e]},_ensureValuesValid:e=>(e=parseInt(e,10),isNaN(e)?null:e),get(){return this.unitMax},_createMovementOptions(){return{element:this.$rightPin.get(0),percentsMin:0,percentsMax:this.scaleLineSize}},_pinMoved(e,t,o){const n=this._convertPxToUnits(t);this._set(n,o)},_setPositionByClick(e,t){this._set(t)},_keyboardControl(e,t){let o=this.get();o=this._moveByKeyboard(t,o),this._set(o)}});const a=s},867182:function(e,t,o){"use strict";o.r(t),o.d(t,{SocialIconView:()=>a,default:()=>b});var n=o(758162),l=o(761673),i=o.n(l);const r={"bloko-social-icon":"bloko-social-icon","bloko-social-icon_dnr":"bloko-social-icon_dnr","bloko-social-icon_esia":"bloko-social-icon_esia","bloko-social-icon_fb":"bloko-social-icon_fb","bloko-social-icon_gplus":"bloko-social-icon_gplus","bloko-social-icon_instagram":"bloko-social-icon_instagram","bloko-social-icon_mail":"bloko-social-icon_mail","bloko-social-icon_ok":"bloko-social-icon_ok","bloko-social-icon_telegram":"bloko-social-icon_telegram","bloko-social-icon_twitter":"bloko-social-icon_twitter","bloko-social-icon_vk":"bloko-social-icon_vk","bloko-social-icon_more":"bloko-social-icon_more","bloko-social-icon_viber":"bloko-social-icon_viber","bloko-social-icon_dzen":"bloko-social-icon_dzen","bloko-social-icon_outlined":"bloko-social-icon_outlined","bloko-social-icon_button":"bloko-social-icon_button"};var s=o(662191);let a;var c;(c=a||(a={})).Mail="mail",c.OK="ok",c.FB="fb",c.VK="vk",c.GPlus="gplus",c.Twitter="twitter",c.Telegram="telegram",c.Instagram="instagram",c.Dnr="dnr",c.ESIA="esia",c.More="more",c.Viber="viber",c.Dzen="dzen";const d=e=>{let{Element:t="span",view:o,button:n,outlined:l,...a}=e;const c=i()(r["bloko-social-icon"],{[r["bloko-social-icon_button"]]:n,[r["bloko-social-icon_outlined"]]:l,[r[`bloko-social-icon_${o}`]]:o});return(0,s.jsx)(t,{...a,className:c})},b=(0,n.memo)(d)},762473:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(641208),l=o.n(n),i=o(376750),r=o.n(i),s=o(45003);const a="stateChanger",c=`Bloko-StateChanger-Action.${a}`,d=`Bloko-StateChanger-Reset.${a}`,b="Bloko-StateChanger-StateChange";const u=o.n(s)().build({defaults:{initial:null,className:"",selectorToHide:"[data-state-changer-hide]",selectorToDisable:"[data-state-changer-disable]"},create:function(e,t){const o=l()(e);function n(){o.trigger(c,t.initial)}function i(e,t){const o=e.filter(t);return o.length?o:e}function s(e,o){const n=i(e,t.selectorToDisable),l=n.filter(":input");n.filter(":not(:input)").toggleClass(t.className,o),l.prop("disabled",o),n.trigger(b,{action:o?"disable":"enable"})}function a(e,o){i(e,t.selectorToHide).toggleClass(r().Hidden,o).trigger(b,{action:o?"hide":"show"})}function u(e,t){a(e,!t)}const p={show:u,hide:a,enable:function(e,t){s(e,!t)},disable:s,swap:function(e,t){u(e,t),a(l()("[data-change-group]",o).not(e),t)}};return o.on(c,(e,t)=>
1{[].concat(t.action).forEach(e=>{p[e](o.find(`[data-change-group~=${t.target}]`),void 0===t.state||t.state)},null)}),t.initial&&(n(),o.on(d,n)),p},componentName:"bloko/blocks/stateChanger"})},563622:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(761673),l=o.n(n),i=o(830049),r=o(662191);const s=e=>{let{title:t,info:o,infoNoWrap:n,done:s,current:a,link:c,iconOnly:d,Element:b="span",source:u,...p}=e;return(0,r.jsxs)(b,{className:l()(i.Z["bloko-stepwise-step"],{[i.Z["bloko-stepwise-step_done"]]:s,[i.Z["bloko-stepwise-step_current"]]:a,[i.Z["bloko-stepwise-step_link"]]:c,[i.Z["bloko-stepwise-step_icon-only"]]:d}),source:u,...p,children:[t&&(0,r.jsx)("span",{className:i.Z["bloko-stepwise-step__title"],children:t}),o&&(0,r.jsx)("span",{className:l()(i.Z["bloko-stepwise-step__info"],{[i.Z["bloko-stepwise-step__info_nowrap"]]:n}),children:o})]})}},128575:function(e,t,o){"use strict";o.r(t),o.d(t,{StepwiseStep:()=>r.a,default:()=>c});var n=o(761673),l=o.n(n),i=o(705892),r=o.n(i),s=o(830049),a=o(662191);const c=e=>{let{children:t,embeddable:o,...n}=e;return(0,a.jsx)("div",{className:l()(s.Z["bloko-stepwise"],{[s.Z["bloko-stepwise_embeddable"]]:o}),...n,children:(0,a.jsx)("div",{className:s.Z["bloko-stepwise__steps"],children:t})})}},991226:function(e,t,o){"use strict";o.r(t),o.d(t,{SuggestLayer:()=>b.a,default:()=>L});var n=o(758162),l=o.n(n),i=o(211240),r=o.n(i),s=o(633211),a=o(761673),c=o.n(a),d=o(755746),b=o.n(d),u=o(923496),p=o.n(u),h=o(348674),k=o.n(h),g=o(714378),m=o.n(g),_=o(84065),f=o.n(_),v=o(579892),w=o.n(v),y=o(417042),x=o.n(y),S=o(419314),C=o(624557),T=o(662191);function E(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const I=(e,t,o)=>(e.addEventListener(t,o),()=>{e.removeEventListener(t,o)});class B extends l().PureComponent{constructor(){super(...arguments),E(this,"highlightedItemIndex",this.props.autoHighlightFirstSuggest?0:-1),E(this,"transitionStyles",(0,S.getTransitionStyles)(this.props.fadeTime)),E(this,"pickerRef",l().createRef()),E(this,"elementMetrics",{left:0,top:0,width:0,height:0,right:0,bottom:0}),E(this,"unsubscribe",{}),E(this,"startCheckingElementMetrics",k()(()=>{if(!this.props.enabled||!this.props.element)return;const e=this.props.elementWrapperRef&&this.props.elementWrapperRef.current?this.props.elementWrapperRef.current:this.props.element,t=p().getMetrics(e),{left:o,top:n,width:l,height:i}=t;Object.keys({left:o,top:n,width:l,height:i}).some(e=>t[e]!==this.elementMetrics[e])&&this.updatePosition(),this.startCheckingElementMetrics()})),E(this,"handleKeyDown",e=>{const{enabled:t,items:o}=this.props;this.handleMouseMove=this.mouseMoveHandler,this.keyboardHandler(!t||!o.length,e,this.highlightedItemIndex)}),E(this,"handleMouseEnter",e=>{this.updateHighlight(e)}),E(this,"mouseMoveHandler",e=>{this.handleMouseMove=void 0,this.updateHighlight(e)}),E(this,"handleMouseMove",this.mouseMoveHandler),E(this,"handleMouseDown",(e,t)=>{const{items:o}=this.props;e.preventDefault(),this.selectItem(o[t])}),E(this,"emitHide",()=>{var e,t;null===(e=(t=this.props).onHide)||void 0===e||e.call(t)}),E(this,"emitShow",()=>{var e,t;null===(e=(t=this.props).onShow)||void 0===e||e.call(t)}),E(this,"selectItem",e=>{var t,o;null===(t=(o=this.props).onItemSelect)||void 0===t||t.call(o,e)}),E(this,"selectHighlighted",()=>{-1!==this.highlightedItemIndex&&this.selectItem(this.props.items[this.highlightedItemIndex])}),E(this,"updateHighlight",e=>{this.pickerRef.current&&(this.highlightedItemIndex=(0,S.updateHighlight)(this.pickerRef.current,e))}),E(this,"keyboardHandler",(0,S.createKeyboardHandler)(this.updateHighlight,this.emitHide,this.emitShow,this.selectHighlighted)),E(this,"updatePosition",()=>{if(!this.pickerRef||!this.pickerRef.current)return;const e=this.props.elementWrapperRef&&this.props.elementWrapperRef.current?this.props.elementWrapperRef.current:this.props.element;this.elementMetrics=(0,S.setMetrics)(e,this.pickerRef.current,0,this.props.onScreen)}),E(this,"renderItem",(e,t)=>{const{itemKey:o,itemContent:n,autoHighlightFirstSuggest:l}=this.props;return(0,T.jsx)(m(),{index:t,highlighted:0===t&&l,handleMouseDown:this.handleMouseDown,handleMouseEnter:this.handleMouseEnter,handleMouseMove:this.handleMouseMove,children:n(e)},o(e))})}componentDidMount(){this.unsubscribe={resize:I(window,"resize",k()(this.updatePosition)),keydown:I(this.props.element,"keydown",this.handleKeyDown)},this.updatePosition(),this.startCheckingElementMetrics()}componentWillUnmount(){var e,t,o,n;null===(e=(t=this.unsubscribe).resize)||void 0===e||e.call(t),null===(o=(n=this.unsubscribe).keydown)||void 0===o||o.call(n)}componentDidUpdate(e){this.updatePosition();const{items:t,element:o,fadeTime:n,enabled:l}=this.props;var i,r;
1(l&&!e.enabled&&this.startCheckingElementMetrics(),e.items!==t&&(this.highlightedItemIndex=this.props.autoHighlightFirstSuggest?0:-1),e.fadeTime!==n&&(this.transitionStyles=(0,S.getTransitionStyles)(n)),e.element!==o)&&(null===(i=(r=this.unsubscribe).keydown)||void 0===i||i.call(r),this.unsubscribe.keydown=I(o,"keydown",this.handleKeyDown))}renderItems(e,t){return(0,T.jsx)(f(),{children:e.map((e,o)=>t(e,o))})}render(){if(!this.props.element)return null;const{layer:e,fadeTime:t,enabled:o,items:n,renderItems:l}=this.props,{stateStyles:i,defaultStyle:a}=this.transitionStyles;return r().createPortal((0,T.jsx)(s.ZP,{in:o&&n.length>0,appear:!0,mountOnEnter:!0,unmountOnExit:!0,timeout:t,nodeRef:this.pickerRef,children:t=>(0,T.jsx)("div",{ref:this.pickerRef,style:{...a,...i[t]},className:c()(C.Z.suggest,w().layer[e]),children:(l||this.renderItems)(n,this.renderItem)})}),document.body)}}B.displayName="blocks/suggest/SuggestPicker/SuggestPicker",E(B,"defaultProps",{autoHighlightFirstSuggest:x().AUTO_SELECT_FIRST_SUGGEST,items:[],itemContent:e=>e.text,itemKey:e=>e.id||e.text,layer:x().LAYER,enabled:!0,fadeTime:x().DROPDOWN_FADE_TIME});const L=B},511440:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});o(758162);var n=o(761673),l=o.n(n),i=o(624557),r=o(241532),s=o(662191);const a=e=>{let{index:t,highlighted:o=!1,children:n,handleMouseEnter:a,handleMouseDown:c,handleMouseMove:d}=e;return(0,s.jsx)("li",{className:l()(i.Z.suggest__item,{[r.default.state.highlighted]:o}),onMouseDown:e=>{c(e,t)},onMouseMove:()=>{null==d||d(t)},onMouseEnter:()=>{null==a||a(t)},children:n})}},846854:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(624557),l=o(662191);const i=e=>{let{children:t}=e;return(0,l.jsx)("ul",{className:n.Z.suggest__items,"data-qa":"bloko-suggest-list",children:t})}},251593:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});o(758162);var n=o(624557),l=o(662191);const i=e=>{let{Element:t="span",children:o}=e;return(0,l.jsx)(t,{className:n.Z["suggest__text-hint"],children:o})}},751571:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(866339),l=o.n(n),i=o(40585);const r=(e,t)=>o=>{const n=(0,i.unescape)(e).replace(t,encodeURIComponent(o));return l().get(n).then(e=>e.data)}},681677:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(384199),l=o.n(n);const i=e=>t=>{const o=e.filter(e=>{let{text:o}=e;return l().match(t,o)});return new Promise(e=>{setTimeout(()=>e({items:o}),0)})}},241532:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(624557);const l={element:n.Z.suggest__item,state:{highlighted:n.Z.suggest__item_state_highlighted},hover:{enable:n.Z.suggest__items_hover_enabled},layer:{floating:n.Z["suggest_layer-floating"],overlay:n.Z["suggest_layer-overlay"],topmost:n.Z["suggest_layer-topmost"],"above-content":n.Z["suggest_layer-above-content"],"overlay-content":n.Z["suggest_layer-overlay-content"],"above-overlay-content":n.Z["suggest_layer-above-overlay-content"]},highlightSelector:"Bloko-Suggest-Highlight"}},178738:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(755746);const l={AUTOSELECT:!1,AUTO_SELECT_FIRST_SUGGEST:!0,ALLOW_PICKER:!0,FIELD:"text",WILDCARD:"%QUERY%",LIMIT:10,SUGGEST_START_INPUT_LENGTH:2,SELECTION_ON_BLUR:!0,THROTTLE:300,TEST_THROTTLE:0,SELECT_EXACT_MATCH_ON_BLUR:!1,DELIMITER:!1,LAYER:o.n(n)().AboveContent,DROPDOWN_FADE_TIME:120,SEARCH_ON_FOCUS:!1}},162248:function(e,t,o){"use strict";o.r(t),o.d(t,{SuggestLayer:()=>i.a,default:()=>h});var n=o(758162),l=o(755746),i=o.n(l),r=o(890803),s=o.n(r),a=o(991226),c=o(178738),d=o(675029),b=(o(624557),o(662191));function u(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class p extends n.PureComponent{constructor(){var e;super(...arguments),e=this,u(this,"defaultSearchValue",this.getDefaultSearchValue()),u(this,"state",{pickerItems:[],pickerEnabled:!1,value:this.props.defaultValue?this.props.defaultValue:null,search:this.defaultSearchValue,preparedSearchValue:(0,d.normalizeText)(this.defaultSearchValue)}),u(this,"componentDidUpdate",e=>{this.props.value!==e.value&&this.setState(p.getStateByValue(this.props.value,this.props.itemText))}),u(this,"isControlled",()=>void 0!==this.props.value),u(this,"inputRef",e=>{const{passedInputRef:t}=this;t&&t.hasOwnProperty("current")?t.current=e:"function"==typeof t&&t(e),this.inputRefElement=e}),u(this,"renderClonedInputElement",()=>{const e=this.props.children;this.passedInputRef=e.ref,this.passedInputOnChange=e.props.onChange,this.passedInputOnBlur=e.props.onBlur,this.passedInputOnFocus=e.props.onFocus;const t={onChange:this.handleInputChange,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:this.inputRef,source:this.props.source,autoComplete:"off","aria-autocomplete":"list"};return(0,n.cloneElement)(e,{...t,value:this.state.search})}),u(this,"updatePicker",e=>{const{suggestStartInputLength:t,dataProvider:o,itemText:n,autoSelect:l,limit:i,allowPicker:r}=this.props;this.setState({preparedSearchValue:e}),r&&(e.length<t?this.setState({pickerItems:[],pickerEnabled:!1}):o(e).then(t=>{const{items:o}=t;e===this.state.preparedSearchValue&&(this.setState({pickerEnabled:!0,pickerItems:o.slice(0,i)}),l&&1===o.length&&(0,d.normalizeText)(n(o[0]))===e&&this.handleItemSelect(o[0]))}).catch(()=>{e===this.state.preparedSearchValue&&this.setState({pickerItems:[],pickerEnabled:!1})}))}),u(this,"updatePickerDebounced",s()(this.updatePicker,this.props.debounceDelay)),u(this,"handleInputFocus",function(){e.passedInputOnFocus&&e.passedInputOnFocus(...arguments);const{itemText:t,searchOnFocus:o}=e.props,{search:n,value:l}=e.state;if(l&&t(l)&&!o)return;const i=(0,d.normalizeText)(n);e.updatePickerDebounced(i)}),u(this,"handleInputChange",function(t){if(e.passedInputOnChange){for(var o=arguments.length,n=new Array(o>1?o-1:0),l=1;l<o;l++)n[l-1]=arguments[l];e.passedInputOnChange(t,...n)}const i=t.target?t.target.value:t,r=(0,d.normalizeText)(i);e.setState({search:i}),r!==e.state.preparedSearchValue&&(e.state.value&&e.handleItemSelect(null,i),e.updatePickerDebounced(r))}),u(this,"handleInputBlur",function(){e.passedInputOnBlur&&e.passedInputOnBlur(...arguments);const{itemText:t,selectOnBlur:o,selectExactMatchOnBlur:n,allowPicker:l}=e.props,{pickerItems:i,search:r,pickerEnabled:s}=e.state;if(e.setState({pickerEnabled:!1}),s&&l){let l;if(o)l=i[0];else{if(!n)return;{const e=(0,d.normalizeText)(r);l=i.find(o=>(0,d.normalizeText)(t(o))===e)||null}}e.handleItemSelect(l)}}),u(this,"handleItemSelect",(e,t)=>{const o=e?Object.assign({},e):null,{onChange:n}=this.props;n&&n(o,t),this.isControlled()||this.selectItem(o)}),u(this,"handlePickerHide",()=>{this.setState({pickerEnabled:!1})}),u(this,"handlePickerShow",()=>{this.setState({pickerEnabled:!0})})}static getDerivedStateFromProps(e,t){if(!(void 0!==e.value))return null;if(!e.value)return{value:null};const o={...e.value};return p.getStateByValue(o,e.itemText,!(t.value&&(0,d.isObjectsEqual)(t.value,o)))}static getStateByValue(e,t){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return{value:null};const n=t(e),l={value:e,search:n,preparedSearchValue:(0,d.normalizeText)(n)};return o&&(l.pickerEnabled=!1),l}componentWillUnmount(){this.updatePickerDebounced.cancel()}getDefaultSearchValue(){const{defaultValue:e,defaultSearch:t,itemText:o}=this.props;return e?o(e):t||""}selectItem(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.setState(p.getStateByValue(e,this.props.itemText))}renderPicker(){const{itemContent:e,itemKey:t,renderItems:o,autoHighlightFirstSuggest:n,layer:l,allowPicker:i}=this.props,{pickerEnabled:r,pickerItems:s}=this.state;return this.inputRefElement?(0,b.jsx)(a.default,{element:this.inputRefElement,elementWrapperRef:this.props.positionElementRef,items:s,itemContent:e,itemKey:t,renderItems:o,onItemSelect:this.handleItemSelect,autoHighlightFirstSuggest:n,onHide:this.handlePickerHide,onShow:this.handlePickerShow,layer:l,enabled:r&&i}):null}render(){return(0,b.jsxs)(n.Fragment,{children:[this.renderClonedInputElement(),this.renderPicker()]})}}p.displayName="blocks/suggest/index/Suggest",u(p,"defaultProps",{autoSelect:c.default.AUTOSELECT,allowPicker:c.default.ALLOW_PICKER,selectOnBlur:c.default.SELECTION_ON_BLUR,selectExactMatchOnBlur:c.default.SELECT_EXACT_MATCH_ON_BLUR,limit:c.default.LIMIT,itemText:e=>e[c.default.FIELD],suggestStartInputLength:c.default.SUGGEST_START_INPUT_LENGTH,debounceDelay:c.default.THROTTLE,searchOnFocus:c.default.SEARCH_ON_FOCUS});const h=p},5296:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>D});var n=o(641208),l=o.n(n),i=o(16315),r=o(376750),s=o.n(r),a=o(45003),c=o.n(a),d=o(348674),b=o.n(d),u=o(996373),p=o.n(u),h=o(999332),k=o.n(h),g=o(579892),m=o.n(g),_=o(417042),f=o.n(_),v=o(836801),w=o.n(v),y=o(661754),x=o.n(y),S=o(778468),C=o.n(S),T=o(419314);const E=window.bloko&&window.bloko.isTest,I="suggest",B=E?0:120,L=".Bloko-Suggest-Item",M=".Bloko-Suggest-List",N=".Bloko-Suggest-Highlight",P=l()(window),O=function(e,t){const o=l()(e),n=o,r=t.hidden;let a,c,d,u,h,g,_,f,v,y=!0,x=[],S=null,E=!1;const O=t.suggestStartInputLength,D=(0,T.createKeyboardHandler)(Y,R,z,function(){j($(J()))});function A(){const e=W().find(M);e.hasClass(m().hover.enable)||(e.addClass(m().hover.enable),e.find(L).removeClass(i.default.values(m().state).join(" ")))}function R(){if(y)return;y=!0;const e=function(){y&&(W().detach(),o.trigger(`hid.${I}`),a=void 0)};W().hasClass(s().AnimFade)?W().one("transitionend",e):setTimeout(e,0),W().removeClass(s().AnimFadeIn),P.off(`resize.${I}`)}function Z(e){clearTimeout(h),setTimeout(R,B),l().isPlainObject(e)&&(d=null,v&&v.val(e.id),te(e))}function j(e){a=!0,Z(e);const l=e[t.field];n.val(l),l&&(c=(0,T.normalizeText)(l)),n.trigger("input"),o.trigger(`selected.${I}`,[e])}function $(e){return x[l()(e).data("datum-id")]}function F(){return n.val().trim()}function H(){return(0,T.normalizeText)(F())!==c}function q(e){j($(e.currentTarget))}function W(){return f||(f=function(){const e=l()(w().render());return e.on(`mousedown.${I} touchstart.${I}`,()=>{E=!0}).on(`mousemove.${I}`,A).on(`click.${I}`,L,q),e}())}function V(){const e=W();(0,T.setMetrics)(n.get(0),e.get(0),t.rightpadding);const o=t.layer;e.removeClass(i.default.values(m().layer).join(" ")),e.addClass(m().layer[o])}function z(){y&&_&&(!d||F().length<O||(y=!1,W().detach().addClass(s().AnimFade).appendTo(document.body),V(),W().addClass(s().AnimFadeIn),P.on(`resize.${I}`,b()(V)),o.trigger(`showed.${I}`)))}function U(){x=[],d=null,c=null,W().html("")}function Y(e){const t=W(),o=t.find(L),n=(0,T.updateHighlight)(t.get(0),e);o.removeClass(m().highlightSelector),-1!==n&&o.eq(n).addClass(m().highlightSelector)}function G(e,n){if(F()!==e)return;if(!l().isPlainObject(n)||!Array.isArray(n.items)||!n.items.length)return y||o.one(`hid.${I}`,U),o.trigger(`Bloko-Suggest-NotFound.${I}`),void R();const i=Object.assign({},n,{items:n.items.slice(0,t.limit).map((e,t)=>Object.assign({},e,{datumId:t,id:String(e.id)})),delimiter:t.delimiter});if(t.autoselect&&1===i.items.length&&i.items[0][t.field].toUpperCase()===e.toUpperCase())return Z(r=i.items[0]),void o.trigger(`autoselected.${I}`,[r]);var r;if(JSON.stringify(i)===d)return void z();d=JSON.stringify(i),x=i.items;const s=W();s.html(function(e){const o={item:t.template};return C().render(e,o)}(i)),s.find(L).hover(e=>{l()(e.currentTarget).addClass(m().state.highlighted).addClass(m().highlightSelector)},e=>{l()(e.currentTarget).removeClass(m().state.highlighted).removeClass(m().highlightSelector)}),t.autoselectfirstsuggest&&Y(0),y?z():V()}function K(e){F()===e&&(o.trigger(`Bloko-Suggest-NotFound.${I}`),U())}function X(){const e=F();if(e.length<O)return o.trigger(`Bloko-Suggest-MinQueryLength.${I}`),void R();u(e).then(G.bind(null,e),K.bind(null,e))}function Q(){clearTimeout(g),c=(0,T.normalizeText)(F()),v&&v.val(""),S=null,o.trigger(`unselected.${I}`),clearTimeout(h),h=setTimeout(X,t.throttle)}function J(){return W().find(L).filter(N)}function ee(e){const t=J().index();W().find(M).removeClass(m().hover.enable),D(y,e,t)}function te(e){S={id:e.id},S[t.field]=e[t.field]}function oe(e){ne(p()(e,t.wildcard))}function ne(e){u=e}n.prop("autocomplete","off"),_=document.activeElement===n[0];const le=F();return le&&(c=(0,T.normalizeText)(le)),r&&(v=n.next().attr("name")===r?n.next():l()("<input>",{type:"hidden",name:r,value:""}).insertAfter(n),v.val(t.hiddenValue),v.addClass(t.hiddenClasses)),t.dataProvider?ne(t.dataProvider):t.remote?oe(t.remote):ne(k()(t.data.items)),function(){n.on(`focus.${I}`,()=>{_=!0,H()?Q():(clearTimeout(g),g=setTimeout(z,t.throttle))}).on(`blur.${I}`,()=>{document.activeElement!==this&&(_=!1,E||function(){if(!a&&!y){if(t.selectExactMatchOnBlur){const e=(0,T.normalizeText)(F()),o=i.default.find(x,o=>(0,T.normalizeText)(o[t.field])===e);o&&j(o)}if(t.selectonblur){const e=W().find(L);e.length&&j($(e.first()))}R()}}())}).on(`input.${I} change.${I}`,()=>{H()&&Q()}).on(`keydown.${I}`,ee),l()(document).on(`mouseup.${I} touchend.${I}`,()=>{E=!1})}(),{selectItem:Z,selectItemByData:function(e){if(clearTimeout(h),setTimeout(R,B),!l().isPlainObject(e))return;d=null;const i=e[t.field];i&&(n.val(i),c=(0,T.normalizeText)(i),n.trigger("input"),v&&v.val(e.id),te(e),o.trigger(`selected.${I}`,[e]))},getSelected:function(){return S},clear:function(){n.val("").trigger("change"),R()},changeRemote:function(e){t.dataProvider||oe(e)}}},D=c().build({defaults:{limit:f().LIMIT,wildcard:f().WILDCARD,throttle:E?f().TEST_THROTTLE:f().THROTTLE,autoselect:f().AUTOSELECT,selectonblur:f().SELECTION_ON_BLUR,selectExactMatchOnBlur:f
1().SELECT_EXACT_MATCH_ON_BLUR,autoselectfirstsuggest:f().AUTO_SELECT_FIRST_SUGGEST,delimiter:f().DELIMITER,rightpadding:0,layer:"above-content",field:f().FIELD,template:x(),suggestStartInputLength:f().SUGGEST_START_INPUT_LENGTH},create(e,t){if(!t||"function"!=typeof t.dataProvider&&"string"!=typeof t.remote&&"object"!=typeof t.data)throw new Error(`${I}: should be passed one of the following params: {Function} dataProvider | {String} remote | {Object} data`);return new O(e,t)},componentName:"bloko/blocks/suggest"})},772430:function(e,t,o){"use strict";o.r(t)},770191:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(635179),i=o(996373),r=o.n(i);const s=e=>{let{remote:t,wildcard:o}=e;const i=(0,n.useContext)(l.TranslationLangContext);return(0,n.useMemo)(()=>r()(t.replace("{lang}",i),o),[i,t,o])}},675029:function(e,t,o){"use strict";o.r(t),o.d(t,{createKeyboardHandler:()=>b,getTransitionStyles:()=>u,isObjectsEqual:()=>d,normalizeText:()=>c,setMetrics:()=>p,updateHighlight:()=>h});var n=o(837354),l=o(521496),i=o(923496),r=o.n(i),s=o(579892),a=o.n(s);const c=e=>e.trim().toUpperCase(),d=(e,t)=>{const o=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(o.length!==n.length)return!1;for(let n=0;n<o.length;n++){const l=o[n];if(e[l]!==t[l])return!1}return!0},b=(e,t,o,l)=>(i,r,s)=>{if(i)r.keyCode===n.KeyCode.ArrowDown&&(r.preventDefault(),o());else switch(r.keyCode){case n.KeyCode.ESC:r.preventDefault(),t();break;case n.KeyCode.ArrowUp:r.preventDefault(),e(s-1);break;case n.KeyCode.ArrowDown:r.preventDefault(),e(s+1);break;case n.KeyCode.Enter:if(-1===s)break;r.preventDefault(),l()}},u=e=>({stateStyles:{entering:{opacity:0},entered:{opacity:1}},defaultStyle:{transition:`opacity ${e}ms ease-in-out`,opacity:0}}),p=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=r().getElement(t),s=r().getMetrics(e),{left:a,top:c,height:d,width:b}=s;let u,p,h;
1if(i.style.maxHeight="",i.style.left="-9999px",i.style.top="-9999px",n){const t=r().getBoundingClientRect(e);u=r().getBoundingClientRect(i),p=window.innerHeight,h=p-t.top-t.height-10}else u=r().getMetrics(i),p=r().getWindowScrollHeight(),h=p-c-d-10;const k=p>0,g=Math.max(h,105),m=k&&u.height>g?g:"";let _={left:a,top:c+d,width:b+o,right:"",maxHeight:m};return(0,l.getBreakpoint)()===l.Breakpoint.XS&&(_={left:0,top:_.top,width:"auto",right:0,maxHeight:n?m:""}),Object.keys(_).forEach(e=>{const t=_[e],o="number"==typeof t&&!isNaN(t);i.style[e]=o?`${t}px`:String(t)}),s},h=(e,t)=>{const o=[...e.querySelectorAll(`.${a().element}`)],n=o.find(e=>e.classList.contains(a().state.highlighted)),l=o.length-1;let i;if(i=t<-1?l:t>l?-1:t,!n||-1!==i&&n===o[i]||n.classList.remove(a().state.highlighted),-1===i)return-1;o[i].classList.add(a().state.highlighted);const s=r().getMetrics(e),c=r().getMetrics(o[i]);if(!r().isRectangleInRectangle(c,s)){const t=o[i].offsetTop<e.scrollTop,n=o[i].offsetTop;e.scrollTop=t?n:n+o[i].offsetHeight-e.offsetHeight}return i}},98894:function(e,t,o){"use strict";o.r(t),o.d(t,{ACTION_STATES:()=>i,CLICK_REGION_THRESHOLD:()=>n,MAX_HORIZONTAL_SWIPE_ANGLE:()=>l,SwipeDirection:()=>r});const n=10,l=45,i={NONE:null,TOUCH:"TOUCH",MOUSE:"MOUSE"};let r;!function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(r||(r={}))},737539:function(e,t,o){"use strict";o.r(t),o.d(t,{SwipeDirection:()=>l.SwipeDirection,default:()=>c});var n=o(758162),l=o(98894),i=o(470028),r=o(248837),s=o(662191);const a={quickSwipePercent:6,minSwipePercent:20,maxBorderOffsetPercent:20,direction:l.SwipeDirection.Horizontal},c=e=>{let{children:t,quickSwipePercent:o=a.quickSwipePercent,minSwipePercent:c=a.minSwipePercent,maxBorderOffsetPercent:d=a.maxBorderOffsetPercent,onSwipePrevent:b,onSwipeEnd:u,onSwipeStart:p,onSwipeMove:h,direction:k=a.direction,...g}=e;const m=(0,n.useRef)(null),_=(0,n.useRef)({type:l.ACTION_STATES.NONE,moveStarted:!1,isSwipingHorizontally:!1,clientX:0,clientY:0,swipeDistance:0,isQuickSwipe:!1,quickSwipeTimeout:null,isScrolling:!1,directionWay:k}),f=(0,n.useCallback)(e=>{Object.assign(_.current,e)},[]),{swipeMove:v,swipeStart:w,swipeEnd:y}=(0,r.default)({quickSwipePercent:o,minSwipePercent:c,maxBorderOffsetPercent:d,containerEl:m,setSwipeDetails:f,swipeDetails:_,onSwipePrevent:b,onSwipeEnd:u,onSwipeStart:p,onSwipeMove:h,direction:k}),{onTouchStart:x,onTouchMove:S,onTouchEnd:C,onTouchCancel:T,onMouseDown:E,onMouseMove:I,onMouseUp:B,onMouseLeave:L}=(0,i.default)({setSwipeDetails:f,swipeDetails:_,swipeMove:v,swipeStart:w,swipeEnd:y});(0,n.useEffect)(()=>{var e,t,o,n;null==m||null===(e=m.current)||void 0===e||e.addEventListener("touchstart",x,{passive:!1}),null==m||null===(t=m.current)||void 0===t||t.addEventListener("touchmove",S,{passive:!1}),null==m||null===(o=m.current)||void 0===o||o.addEventListener("touchend",C,{passive:!1}),null==m||null===(n=m.current)||void 0===n||n.addEventListener("touchcancel",T,{passive:!1});return()=>{var e,t,o,n;null==m||null===(e=m.current)||void 0===e||e.removeEventListener("touchstart",x),null==m||null===(t=m.current)||void 0===t||t.removeEventListener("touchmove",S),null==m||null===(o=m.current)||void 0===o||o.removeEventListener("touchend",C),null==m||null===(n=m.current)||void 0===n||n.removeEventListener("touchcancel",T)}},[T,C,S,x]);const M=(0,n.useMemo)(()=>({ref:m,onMouseDown:E,onMouseMove:I,onMouseUp:B,onMouseLeave:L}),[E,L,I,B]);return(0,s.jsx)(n.Fragment,{children:t&&t({swipeContainerProps:M,...g})})}},581514:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(288153),l=o.n(n),i=o(16315),r=o(45003),s=o.n(r),a=o(492598),c=o.n(a),d=o(98894),b=o(793567);const u=l().View.extend({events:{"touchstart .Bloko-Swipe":"swipeStartTouch","touchmove .Bloko-Swipe":"swipeMoveTouch","touchend .Bloko-Swipe":"swipeEndTouch","touchleave .Bloko-Swipe":"swipeEndTouch","mousedown .Bloko-Swipe":"swipeStartMouse","mousemove .Bloko-Swipe":"swipeMoveMouse","mouseup .Bloko-Swipe":"swipeEndMouse","mouseleave .Bloko-Swipe":"swipeEndMouse","MSPointerDown .Bloko-Swipe":"swipeStartMouse","MSPointerMove .Bloko-Swipe":"swipeMoveMouse","MSPointerUp .Bloko-Swipe":"swipeEndMouse"},initialize(e){this.$container=this.$(".Bloko-Swipe"),this.quickSwipePercent=e.quickSwipePercent,this.minSwipePercent=e.minSwipePercent,this.maxBorderOffsetPercent=e.max
1BorderOffsetPercent,this.setSwipeDetails=this.setSwipeDetails.bind(this)},swipeStartTouch(e){this.type=d.ACTION_STATES.TOUCH;const t=e.originalEvent.changedTouches[0];this.moveStart(t.pageX,t.pageY)},swipeMoveTouch(e){if(this.type===d.ACTION_STATES.TOUCH){const t=e.originalEvent.changedTouches[0];return void this.swipeMove(e,t.pageX,t.pageY)}e.preventDefault()},swipeEndTouch(){this.type===d.ACTION_STATES.TOUCH&&(this.swipeEnd(),this.type=d.ACTION_STATES.NONE)},swipeStartMouse(e){this.type!==d.ACTION_STATES.TOUCH&&(this.type=d.ACTION_STATES.MOUSE,this.moveStart(e.pageX,e.pageY))},swipeMoveMouse(e){this.type===d.ACTION_STATES.MOUSE&&this.swipeMove(e,e.pageX,e.pageY)},swipeEndMouse(){this.type===d.ACTION_STATES.MOUSE&&(this.swipeEnd(),this.type=d.ACTION_STATES.NONE)},setSwipeDetails(e){Object.keys(e).forEach(t=>{this[t]=e[t]})},moveStart(e,t){(0,b.swipeStart)(e,t,{getSwipeDetails:e=>this[e],setSwipeDetails:this.setSwipeDetails})},swipeMove(e,t,o){(0,b.swipeMove)(e,t,o,{onSwipeMove:e=>this.trigger("bloko-swipe-move",e),onSwipeStart:e=>this.trigger("bloko-swipe-start",e),getSwipeDetails:e=>this[e],setSwipeDetails:this.setSwipeDetails})},swipeEnd(){(0,b.swipeEnd)(this.quickSwipePercent,this.minSwipePercent,this.maxBorderOffsetPercent,{onSwipePrevent:e=>this.trigger("bloko-swipe-prevent",e),onSwipeEnd:e=>this.trigger("bloko-swipe-end",e),getContainerBoundingClientRect:()=>({width:this.$container.width(),left:this.$container.offset().left}),getSwipeDetails:e=>this[e],setSwipeDetails:this.setSwipeDetails})}}),p=s().build({defaults:{quickSwipePercent:6,minSwipePercent:20,maxBorderOffsetPercent:20},create(e,t){const o=new u(i.default.extend({el:e},t)),n=c().extend({});return o.on("bloko-swipe-prevent",e=>{n._trigger("bloko-swipe-prevent",e)}).on("bloko-swipe-start",e=>{n._trigger("bloko-swipe-start",e)}).on("bloko-swipe-end",e=>{n._trigger("bloko-swipe-end",e)}).on("bloko-swipe-move",e=>{n._trigger("bloko-swipe-move",e)}),n},componentName:"bloko/blocks/swipe"})},793567:function(e,t,o){"use strict";o.r(t),o.d(t,{swipeEnd:()=>r,swipeMove:()=>i,swipeStart:()=>s});var n=o(98894);const l=(e,t)=>({type:e("type"),clientX:e("clientX"),clientY:e("clientY"),distance:e("swipeDistance"),isQuickSwipe:e("isQuickSwipe"),direction:t}),i=(e,t,o,l)=>{let{directionWay:i=n.SwipeDirection.Horizontal,onSwipeMove:r,onSwipeStart:s,getSwipeDetails:a,setSwipeDetails:c}=l;if(!a("moveStarted")||a("isScrolling"))return;const d=t-a("clientX"),b=o-a("clientY");if(c({swipeDistance:a("swipeDistance")+(i===n.SwipeDirection.Horizontal?d:b),clientX:t,clientY:o}),!a("isSwipingHorizontally")){if(180*Math.atan2(Math.abs(b),Math.abs(d))/Math.PI>n.MAX_HORIZONTAL_SWIPE_ANGLE&&i===n.SwipeDirection.Horizontal)return void c({isScrolling:!0});c({isSwipingHorizontally:!0}),null==s||s({type:a("type")}),c({isQuickSwipe:!0}),c({quickSwipeTimeout:setTimeout(()=>{c({isQuickSwipe:!1})},500)})}a("type")===n.ACTION_STATES.TOUCH&&e.preventDefault(),null==r||r({type:a("type"),clientX:a("clientX"),clientY:a("clientY"),distance:a("swipeDistance")})},r=(e,t,o,i)=>{let{directionWay:r=n.SwipeDirection.Horizontal,getContainerBoundingClientRect:s,onSwipePrevent:a,onSwipeEnd:c,getSwipeDetails:d,setSwipeDetails:b}=i;if(!d("moveStarted"))return;const u=s();if(!u)return;b({moveStarted:!1,isScrolling:!1});const p=u[n.SwipeDirection.Horizontal?"width":"height"],h=u[n.SwipeDirection.Horizontal?"left":"top"],k=d("quickSwipeTimeout");if(d("isQuickSwipe")&&Math.abs(d("swipeDistance"))<n.CLICK_REGION_THRESHOLD){const e=r===n.SwipeDirection.Horizontal?"clientX":"clientY";if(d(e)>=h&&d(e)<h+p*o/100)return null==c||c(l(d,-1)),void(k&&clearTimeout(k));if(d(e)<=h+p&&d(e)>h+p*(1-o/100))return null==c||c(l(d,1)),void(k&&clearTimeout(k))}if(d("isQuickSwipe")&&Math.abs(d("swipeDistance"))>p*e/100)return null==c||c(l(d,d("swipeDistance")>0?-1:1)),void(k&&clearTimeout(k));Math.abs(d("swipeDistance"))>p*t/100?null==c||c(l(d,d("swipeDistance")>0?-1:1)):null==a||a({type:d("type"),distance:d("swipeDistance")})},s=(e,t,o)=>{let{setSwipeDetails:l,directionWay:i=n.SwipeDirection.Horizontal}=o;l({moveStarted:!0,isSwipingHorizontally:!1,clientX:e,clientY:t,swipeDistance:0,directionWay:i})}},470028:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(98894);const i=e=>{let{setSwipeDetails:t,swipeDetails:o,swipeMove:i,swipeStart:r,swipeEnd:s}=e;const a=(0,n.useCallback)(e=>{o.current.type!==l.ACTION_STATES.TOUCH&&(t({type:l.ACTION_STATES.MOUSE}),r(e.pageX,e.pageY))},[o,t,r]),c=(0,n.useCallback)(e=>{o.current.type===l.ACTION_STATES.MOUSE&&i(e,e.pageX,e.pageY)},[o,i]),d=(0,n.useCallback)(()=>{o.current.type===l.ACTION_STATES.MOUSE&&(s(),t({type:l.ACTION_STATES.NONE}))},[o,s,t]),b=(0,n.useCallback)(e=>{t({type:l.ACTION_STATES.TOUCH});const o=e.changedTouches[0];r(o.pageX,o.pageY)},[t,r]),u=(0,n.useCallback)(e=>{if(o.current.type===l.ACTION_STATES.TOUCH){const t=e.changedTouches[0];return void i(e,t.pageX,t.pageY)}e.preventDefault()},[o,i]),p=(0,n.useCallback)(()=>{o.current.type===l.ACTION_STATES.TOUCH&&(s(),t({type:l.ACTION_STATES.NONE}))},[o,s,t]);return{onTouchStart:b,onTouchMove:u,onTouchEnd:p,onTouchCancel:p,onMouseDown:a,onMouseMove:c,onMouseUp:d,onMouseLeave:d}}},248837:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(793567);const i=e=>{let{quickSwipePercent:t,minSwipePercent:o,maxBorderOffsetPercent:i,containerEl:r,swipeDetails:s,setSwipeDetails:a,onSwipePrevent:c,onSwipeEnd:d,onSwipeStart:b,onSwipeMove:u,direction:p}=e;return{swipeMove:(0,n.useCallback)((e,t,o)=>{(0,l.swipeMove)(e,t,o,{directionWay:p,onSwipeMove:u,onSwipeStart:b,getSwipeDetails:e=>s.current[e],setSwipeDetails:a})},[p,u,b,a,s]),swipeStart:(0,n.useCallback)((e,t)=>{(0,l.swipeStart)(e,t,{directionWay:p,setSwipeDetails:a})},[p,a]),swipeEnd:(0,n.useCallback)(()=>{(0,l.swipeEnd)(t,o,i,{directionWay:p,onSwipePrevent:c,onSwipeEnd:d,getSwipeDetails:e=>s.current[e],setSwipeDetails:a,getContainerBoundingClientRect:()=>{var e,t;return null==r||null===(e=r.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e)}})},[p,r,i,o,d,c,t,a,s])}}},295040:function(e,t,o){"use strict";o.r(t),o.d(t,{TabDropdown:()=>u,TabItem:()=>p,default:()=>b});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(840592),a=o(597390),c=o(662191);function d(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const b=(0,n.forwardRef)((e,t)=>{let{Element:o="button",children:n,active:l,defaultActive:i,id:r,searchText:s,onClick:a,...d}=e;return(0,c.jsx)(o,{...d,onClick:a,draggable:!1,ref:t,children:n})});class u extends n.PureComponent{constructor(){super(...arguments),d(this,"onTabClick",e=>{var t,o;null===(t=(o=this.props).onClick)||void 0===t||t.call(o,e)})}render(){const{children:e,active:t}=this.props;return l().cloneElement(e,{className:r()(s.Z["bloko-drop-menu-item"],s.Z["bloko-drop-menu-item_selectable"],{[s.Z["bloko-drop-menu-item_selected"]]:this.props.active}),onClick:this.onTabClick,active:t})}}
1u.displayName="blocks/tabs/Tab/TabDropdown";class p extends n.PureComponent{constructor(){super(...arguments),d(this,"elementRef",(0,n.createRef)()),d(this,"preventScrollOnFocus",!1),d(this,"setActiveTab",()=>{var e,t;this.props.active&&(null===(e=(t=this.props).setElement)||void 0===e||e.call(t,this.elementRef.current))}),d(this,"onFocus",()=>{var e,t;this.preventScrollOnFocus||(null===(e=(t=this.props).setElement)||void 0===e||e.call(t,this.elementRef.current));this.preventScrollOnFocus=!1}),d(this,"onMouseDown",()=>{this.preventScrollOnFocus=!0}),d(this,"onTabClick",e=>{var t,o;null===(t=(o=this.props).onClick)||void 0===t||t.call(o,e)})}componentDidMount(){this.setActiveTab()}componentDidUpdate(e){this.props.active!==e.active&&this.setActiveTab()}render(){const{children:e,active:t}=this.props;return l().cloneElement(e,{className:r()(a.Z["bloko-tabs__item"],{[a.Z["bloko-tabs__item_active"]]:t}),onClick:this.onTabClick,onFocus:this.onFocus,onMouseDown:this.onMouseDown,tabIndex:0,active:t,ref:this.elementRef})}}p.displayName="blocks/tabs/Tab/TabItem"},306908:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>x});var n=o(758162),l=o.n(n),i=o(815252),r=o.n(i),s=o(596007),a=o.n(s),c=o(806537),d=o(219247),b=o(585614),u=o(533505),p=o.n(u),h=o(655015),k=o.n(h),g=o(837354),m=o(860179),_=o(775188),f=o.n(_),v=o(597390),w=o(662191);const y=e=>(0,n.isValidElement)(e)&&e.type===m.TabDropdown,x=e=>{let{dropdownVisible:t,setDropdownVisible:o,children:s,menuParams:h,hasSearchSupport:m,searchPlaceholder:_,emptySearchResultMessage:x}=e;const{filterQuery:S,setFilterQuery:C,filteredOptions:T}=a()(s,y),E=m?((e,t)=>n.Children.map(e,e=>{if(y(e))return l().cloneElement(e,{onClick:o=>{var n,l;t(""),null===(n=(l=e.props).onClick)||void 0===n||n.call(l,o)}})}))(T,C):T,I=m&&0===n.Children.count(E)&&n.Children.count(s)>0,B=(0,n.useRef)(null),L=(0,n.useCallback)(e=>{t&&e.keyCode===g.KeyCode.ESC&&o(!1)},[o,t]);return(0,n.useEffect)(()=>(document.addEventListener("keydown",L),()=>{document.removeEventListener("keydown",L)}),[L]),(0,w.jsx)(r(),{placement:i.MenuPlacement.BottomEnd,...h,activatorRef:B,show:t,onClose:()=>o(!1),render:()=>(0,w.jsxs)(w.Fragment,{children:[m&&(0,w.jsx)(f(),{filterQuery:S,setFilterQuery:C,placeholder:_}),(0,w.jsx)("div",{className:v.Z["bloko-tabs__dropdown-items-container"],children:I&&x?(0,w.jsxs)("div",{className:v.Z["bloko-tabs__dropdown-items-empty"],children:[(0,w.jsx)(k(),{base:6}),(0,w.jsx)(p(),{importance:u.TextImportance.Tertiary,children:x}),(0,w.jsx)(k(),{base:6})]}):E})]}),children:(0,w.jsx)("div",{className:v.Z["bloko-tabs__icon-container"],ref:B,children:(0,w.jsx)(c.Z,{onClick:()=>o(!t),children:(0,w.jsx)(d.Z,{initial:b.Z.Gray50})})})})}},627624:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(758162),l=o(557883),i=o(585614),r=o(574289),s=o.n(r),a=o(521496),c=o(597390),d=o(662191);const b=e=>{let{filterQuery:t,setFilterQuery:o,placeholder:r}=e;const b=(0,n.useRef)(null);return(0,n.useEffect)(()=>{(0,a.getBreakpoint)()!==a.Breakpoint.XS&&b.current&&b.current.focus()},[]),(0,d.jsx)("div",{className:c.Z["bloko-tabs__search"],children:(0,d.jsx)(s(),{"data-qa":"bloko-tabs-search",value:t,placeholder:r,onChange:o,ref:b,icon:(0,d.jsx)(l.Z,{initial:i.Z.Gray40})})})}},379268:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>D});var n=o(641208),l=o.n(n),i=o(85139),r=o(219247),s=o(585614),a=o(607621),c=o(122980),d=o(45003),b=o.n(d),u=o(20022),p=o.n(u),h=o(348674),k=o.n(h),g=o(407017),m=o.n(g),_=o(675083),f=o.n(_),v=o(841103),w=o.n(v),y=o(671410),x=o.n(y),S=o(863808),C=o.n(S),T=o(260675),E=o.n(T),I=o(380506),B=o.n(I);const L="bloko-drop-menu-item bloko-drop-menu-item_selectable Bloko-Tabs-Dropdown-Item";function M(e,t,o){e.removeClass(o),e.eq(t).addClass(o)}function N(e,t,o){let{showLeftGlare:n,showRightGlare:l}=o;e.toggleClass("bloko-tabs-right-glare_showed",l),t.toggleClass("bloko-tabs-left-glare_showed",n)}function P(e,t,o){const n=function(e){const t=[];return e.each((e,o)=>{const n=l()(o).clone().removeClass().addClass(L);t.push(n.get(0).outerHTML)}),t}(e),c=l()(x().render({items:n}));b().make(a.Z,l()(".Bloko-Tabs-More-Icon",c).get(0),{IconComponent:r.Z,iconProps:{initial:s.Z.Gray50}}),t.append(c);const d=l()(f().dropdownData,c),u=d.children(),p=b().make(i.Click,c.get(0),{...o,placement:i.MenuPlacement.BottomEnd,html:c.get(0).querySelector(".Bloko-Tabs-Dropdown-Data")});return{$moreButton:c,$dropdownItems:u,$dropdown:d,dropdownInstance:p}}function O(e,t){parseInt(e.css("margin-left"),10)!==t&&(e[0].dispatchEvent(p()("Bloko-Tabs-Will-Move")),m()(e.get(0),()=>{e[0].dispatchEvent(p()("Bloko-Tabs-Moved"))})),e.css({"margin-left":t})}
1const D=b().build({defaults:{cssClasses:{dropdownActiveTab:"bloko-drop-menu-item_selected"}},create:function(e,t){const o=l()(e),n=l()(f().container,o),i=n.find(f().tab),r=l()(w().render()),s=l()(C().render()),a=l()(B().render());let d,u=null;!function(e,t,o){e.append(t),t.append(o)}(n,a,i);const{$moreButton:h,$dropdownItems:g,$dropdown:_,dropdownInstance:v}=P(i,n,t.menuParams);let y=!1;const x=function(e){if(y&&(e!==u||arguments.length>1&&void 0!==arguments[1]&&arguments[1])){const t=(0,c.getActiveTabMarginLeft)({tabsWrapperElement:o[0],tabsContainerElement:n[0],tabsItemsElement:a[0],activeTabElement:e}),l=(0,c.getAdaptiveSettings)({tabsWrapperElement:o[0],tabsItemsElement:a[0],tabsMarginLeft:t});O(n,l.tabsMarginLeft),N(s,r,l),h.toggleClass("bloko-tabs__icon-container_hidden",!l.isAdaptiveMode),l.isAdaptiveMode&&!o.is(":hidden")||v.hide(),u=e}};i.on("focus",e=>x(e.target));const S=k()((e,t,l)=>{const i=(0,c.getClientX)(e),d=(0,c.getAdaptiveSettings)({tabsWrapperElement:o[0],tabsItemsElement:a[0],tabsMarginLeft:t+i-l});O(n,d.tabsMarginLeft),N(s,r,d)});function T(){return d}const I=e=>{n.append(r).append(s),function(e,t,o){t.on("click",f().dropdownItem,t=>{const n=l()(t.currentTarget);if("A"===n[0].tagName)return;const i=n.index();e().setActiveTab(i),o.hide()})}(T,_,v),M(g,e.index,t.cssClasses.dropdownActiveTab),y=!0,x(i.eq(e.index).get(0))};return e.addEventListener("Bloko-Tabs-Init",e=>{let{detail:t}=e;return I(t)}),e.addEventListener("Bloko-Tabs-Changed",e=>{let{detail:o}=e;return M(g,(n=o).index,t.cssClasses.dropdownActiveTab),void x(i.eq(n.index).get(0));var n}),i.on("touchstart mousedown",e=>{const t=parseInt(n.css("margin-left"),10),o=(0,c.getClientX)(e);let i=!0;const r=e=>{i?(n.addClass("bloko-tabs-scroll"),(0,c.isScrollExceedsThreshold)(o,e)&&(i=!1,n.addClass("bloko-tabs-scroll_ongoing"))):S(e,t,o)},s=()=>{n.removeClass("bloko-tabs-scroll bloko-tabs-scroll_ongoing"),l()(document).off("touchmove mousemove",r),l()(document).off("touchend mouseup",s)};l()(document).on("touchmove mousemove",r),l()(document).on("touchend mouseup",s)}),d=b().make(E(),e,t),l()(window).on("resize",k()(()=>x(u,!0))),m()(n.get(0),()=>{n[0].dispatchEvent(p()("Bloko-Tabs-Moved"))}),i.each((e,t)=>{l()(t).attr("draggable",!1)}),{tabs:d}},componentName:"blocks/tabs/adaptiveTabs"})},364418:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={tab:".Bloko-Tabs-Tab",tabBody:".Bloko-Tabs-Body",container:".Bloko-Tabs-Container",dropdownData:".Bloko-Tabs-Dropdown-Data",dropdownItem:".Bloko-Tabs-Dropdown-Item",moreButton:".Bloko-Tabs-More-Button"}},124204:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(641208),l=o.n(n),i=o(45003),r=o.n(i),s=o(535265),a=o.n(s),c=o(620501),d=o.n(c);function b(e){return"string"!=typeof e?"":e}const u=r().build({create:function(e){const t=l()(e),o=l()(".Bloko-Tabs-Tab",e),n={};let i=0;o.each((e,t)=>{const o=b(t.hash);if(o){n[o]=e;o===b(window.location.hash)&&(i=e)}});const s=r().make(d(),e,{activeTabIndex:i}).tabs;function c(e){e!==i&&(i=e,s.setActiveTab(i),t.trigger("Bloko-HashTabs-Changed",{index:i}))}return e.addEventListener("Bloko-Tabs-Changed",e=>{let{detail:t}=e;const n=b(o.eq(t.index).get(0).hash);if(""===n){""!==b(o.eq(i).get(0).hash)&&(a().historyApi()?window.history.pushState("",document.title,window.location.href.split("#")[0]):window.location.hash="")}else window.location.hash=n;c(t.index)}),l()(window).on("hashchange",()=>{let e=i;const t=b(window.location.hash);if(""===t){""!==b(o.eq(i).get(0).hash)&&(e=0)}else t in n&&(e=n[t]);c(e)}),t.trigger("Bloko-HashTabs-Init",{index:i}),{tabs:s}},componentName:"blocks/tabs/hashTabs"})},229204:function(e,t,o){"use strict";o.r(t),o.d(t,{Tab:()=>g.default,default:()=>w});var n=o(758162),l=o(761673),i=o.n(l),r=o(122980),s=o(245370),a=o.n(s),c=o(348674),d=o.n(c),b=o(581497),u=o.n(b),p=o(879498),h=o.n(p),k=o(597390),g=o(295040),m=o(306908),_=o(662191);const f=e=>(0,n.isValidElement)(e)&&e.type===g.default,v=e=>{let{children:t,addProperties:o,setDropdownVisible:l,onChange:i}=e;return n.Children.map(t,e=>{if(f(e))return o.inDropDown?(0,_.jsx)(g.TabDropdown,{...e.props,onClick:t=>{var o,n;i(e.props.id),l(!1),null===(o=(n=e.props).onClick)||void 0===o||o.call(n,t)},children:e}):(0,_.jsx)(g.TabItem,{...e.props,onClick:t=>{var o,n;i(e.props.id),null===(o=(n=e.props).onClick)||void 0===o||o.call(n,t)},...o,children:e})})},w=e=>{let{children:t,menuParams:o,onChange:l,isNarrow:s,source:c,hasSearchSupport:b,searchPlaceholder:p,emptySearchResultMessage:w,...y}=e;const x=(0,n.useRef)(null),S=(0,n.useRef)(null),C=(0,n.useRef)(null),[T,E]=(0,n.use
1State)(),[I,B]=(0,n.useState)(!0),[L,M]=(0,n.useState)(!1),[N,P]=(0,n.useState)(!1),[O,D]=(0,n.useState)(!1),[A,R]=(0,n.useState)(),[Z,j]=(0,n.useState)(),{isScrollOngoing:$,isScrollStarted:F,onScrollStart:H}=h()({tabsTrainRef:C,tabsWrapperRef:x,tabsItemsRef:S,setShowedLeftGlare:M,setShowedRightGlare:P}),q=(e=>(0,n.useMemo)(()=>n.Children.toArray(e).filter(e=>!!e),[e]))(t),W=(0,n.useMemo)(()=>{const e=n.Children.map(q,e=>{if(!f(e))return;e.props.active?j(!1):e.props.defaultActive&&j(!0);const t=void 0!==A?e.props.id===A:e.props.defaultActive||e.props.active;if(t&&R(e.props.id),Z&&e.props.active)throw new Error("defaultActive is setted, Tabs is uncontrolled");if(!1===Z&&e.props.defaultActive)throw new Error("active is setted, Tabs is controlled");return(0,_.jsx)(g.default,{...e.props,active:t})});return Z?e:[]},[A,q,Z]),V=e=>{Z&&R(e),null==l||l(e)},z=v({children:Z?W:q,setDropdownVisible:D,onChange:V,addProperties:{setElement:E}}),U=v({children:Z?W:q,setDropdownVisible:D,onChange:V,addProperties:{inDropDown:!0}}),Y=(0,n.useMemo)(()=>u()(d()(()=>(e=>{let{tabsWrapperRef:t,tabsItemsRef:o,setIsAdaptiveMode:n,setDropdownVisible:l,setShowedLeftGlare:i,setShowedRightGlare:s,tabsTrainRef:a,activeTabElement:c}=e;if(!(t.current&&o.current&&a.current&&c))return;const d=(0,r.getActiveTabMarginLeft)({tabsWrapperElement:t.current,tabsItemsElement:o.current,activeTabElement:c}),b=(0,r.getAdaptiveSettings)({tabsWrapperElement:t.current,tabsItemsElement:o.current,tabsMarginLeft:d});n(b.isAdaptiveMode),b.isAdaptiveMode||l(!1),a.current.style.marginLeft=`${b.tabsMarginLeft}px`,i(b.showLeftGlare),s(b.showRightGlare)})({tabsWrapperRef:x,tabsItemsRef:S,setIsAdaptiveMode:B,setDropdownVisible:D,setShowedLeftGlare:M,setShowedRightGlare:P,tabsTrainRef:C,activeTabElement:T})),40),[T]);return a()(Y),(0,n.useEffect)(()=>{Y()},[Y]),(0,_.jsx)("div",{className:i()(k.Z["bloko-tabs-wrapper"],{[k.Z["bloko-tabs-wrapper_narrow"]]:s}),...y,ref:x,source:c,children:(0,_.jsxs)("div",{className:i()(k.Z["bloko-tabs"],{[k.Z["bloko-tabs-scroll"]]:F,[k.Z["bloko-tabs-scroll_ongoing"]]:$}),ref:C,children:[(0,_.jsx)("div",{className:k.Z["bloko-tabs__items"],ref:S,onTouchStart:H,onMouseDown:H,children:z}),(0,_.jsx)("div",{className:i()(k.Z["bloko-tabs-left-glare"],{[k.Z["bloko-tabs-left-glare_showed"]]:L})}),(0,_.jsx)("div",{className:i()(k.Z["bloko-tabs-right-glare"],{[k.Z["bloko-tabs-right-glare_showed"]]:N})}),I&&(0,_.jsx)(m.default,{dropdownVisible:O,setDropdownVisible:D,menuParams:o,hasSearchSupport:b,searchPlaceholder:p,emptySearchResultMessage:w,children:U})]})})}},453198:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(16315),l=o(45003),i=o.n(l),r=o(20022),s=o.n(r),a=o(923496),c=o.n(a),d=o(675083),b=o.n(d);const u=window.bloko&&window.bloko.isTest?1:100;const p=i().build({defaults:{cssClasses:{activeTab:"bloko-tabs__item_active"}},create:function(e,t){const o=e.querySelector(b().container),l=[...o.querySelectorAll(b().tab)],i=[...e.querySelectorAll(b().tabBody)];let r;function a(e){return"number"==typeof e&&e!==r&&e>=0&&e<l.length}function d(){l.forEach((e,o)=>e.classList.toggle(t.cssClasses.activeTab,o===r));const e=i[r];i.forEach(e=>e.classList.add("g-hidden")),e&&e.classList.remove("g-hidden")}function p(t){r=t,d(),e.dispatchEvent(s()("Bloko-Tabs-Changed",{index:r}))}function h(){l.forEach((e,o)=>{e.setAttribute("offset",-e.offsetLeft),e.setAttribute("width",c().getOuterWidth(e)),void 0===r&&e.classList.contains(t.cssClasses.activeTab)&&(r=o)}),r=r||0,e.dispatchEvent(s()("Bloko-Tabs-Init",{index:r})),d()}if(o.addEventListener("click",e=>{let{target:t}=e;const n=t.closest(b().tab);n&&function(e){if("A"===e.tagName)return;const t=l.indexOf(e);if(a(t)){const e=s()("Bloko-Tabs-Will-Change");o.dispatchEvent(e,{index:t}),e.defaultPrevented||p(t)}}(n)}),a(t.activeTabIndex)&&(r=t.activeTabIndex),c().isVisible(o))h();else{const e=n.default.debounce(()=>{c().isVisible(o)&&(h(),window.removeEventListener("resize",e))},u);window.addEventListener("resize",e)}return{setActiveTab:function(e){a(e)&&(void 0!==r&&l[r].blur(),p(e))}}},componentName:"bloko/blocks/tabs"})},400346:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(122980),i=o(348674),r=o.n(i);const s=e=>{let{tabsTrainRef:t,tabsItemsRef:o,tabsWrapperRef:i,setShowedLeftGlare:s,setShowedRightGlare:a}=e;const c=(0,n.useRef)(!1),d=(0,n.useRef)(0),b=(0,n.useRef)(0),[u,p]=(0,n.use
1State)(!1),[h,k]=(0,n.useState)(!1),g=r()(e=>{if(!(t.current&&i.current&&o.current&&b.current))return;const n=(0,l.getClientX)(e),r=(0,l.getAdaptiveSettings)({tabsWrapperElement:i.current,tabsItemsElement:o.current,tabsMarginLeft:d.current+n-b.current});t.current.style.marginLeft=`${r.tabsMarginLeft}px`,s(r.showLeftGlare),a(r.showRightGlare)}),m=e=>{c.current?(p(!0),(0,l.isScrollExceedsThreshold)(b.current,e)&&(c.current=!1,k(!0))):g(e)};return{isScrollStarted:u,isScrollOngoing:h,onScrollStart:e=>{var o;c.current=!0,p(!1),k(!1),b.current=(0,l.getClientX)(e),null!==(o=t.current)&&void 0!==o&&o.style.marginLeft&&(d.current=parseInt(t.current.style.marginLeft,10));const n=()=>{p(!1),k(!1),document.removeEventListener("mousemove",m),document.removeEventListener("touchmove",m),document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n)};document.addEventListener("mousemove",m),document.addEventListener("touchmove",m),document.addEventListener("mouseup",n),document.addEventListener("touchend",n)}}}},103602:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(344337),a=o.n(s),c=o(599915),d=o.n(c),b=o(110342),u=o.n(b),p=o(143354),h=o.n(p);const k=r().extend({},h(),{createPublicInterface(e){const t=h().createPublicInterface.call(this,e);return r().extend(t,{updateTag:e.updateTag.bind(e),getCount:e.getCount.bind(e)},l().Events),e.on("Bloko-TagList-Updated",(e,o)=>{t.trigger("Bloko-TagList-Updated",e,o)}),t},createView(e,t){const o=d().extend(this.getOptions(t));return new(u())({collection:new(a())(null,{model:o}),el:e,options:t})}})},274863:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>M});var n=o(641208),l=o.n(n),i=o(515167),r=o.n(i),s=o(389057),a=o(585614),c=o(487153),d=o(607621),b=o(45003),u=o.n(b),p=o(931379),h=o.n(p),k=o(994145),g=o.n(k),m=o(468983),_=o.n(m),f=o(680112),v=o.n(f),w=o(245596),y=o.n(w),x=o(287436),S=o.n(x),C=o(123086),T=o.n(C),E=o(292821),I=o.n(E),B=o(867657),L=o.n(B);const M=S().extend({_defaults:l().extend({},S().prototype._defaults,{tooltipParams:{}}),template(e){return g().render(e,{textSection:I(),textTemplate:this.options.textTemplate||L(),hiddenSection:v(),removeSection:T(),increaseSection:y(),decreaseSection:_(),countSection:h()})},renderIcons(e){const t=e.get("id");l()(".Bloko-TagList-Tag",this.$el).each((e,o)=>{t&&t===o.dataset.tagId&&(this.initDecreaseIcon(o),this.initIncreaseIcon(o),this.renderRemoveIcon(o))})},events:l().extend({},S().prototype.events,{"click .Bloko-TagList-Increase":"increase","click .Bloko-TagList-Decrease":"decrease","mouseover .Bloko-TagList-Count":"showCountHint","mouseout .Bloko-TagList-Count":"hideCountHint"}),tips:{},initTags(){const e=[];l()(".Bloko-TagList-Tag",this.$el).each((t,o)=>{const n=l()(o),i=n.data("tag-id"),r=l()(".Bloko-TagList-Text",o).text().trim(),s=l()(".Bloko-TagList-Count",n),a=parseInt(s.text(),10)||0,c=!!l()(".Bloko-TagList-Increase, .Bloko-TagList-Decrease",o).length;c&&(this.initIncreaseIcon(o),this.initDecreaseIcon(o)),e.push({id:i,text:r,hiddenValue:i,count:a,countable:c})}),this.setTags(e)},initIncreaseIcon(e){const t=e.querySelector(".Bloko-TagList-IncreaseIcon");t&&u().make(d.Z,t,{IconComponent:s.Z,iconProps:{initial:a.Z.White,highlighted:a.Z.Gray60}})},initDecreaseIcon(e){const t=e.querySelector(".Bloko-TagList-DecreaseIcon");t&&u().make(d.Z,t,{IconComponent:c.Z,iconProps:{initial:a.Z.Gray50,highlighted:a.Z.Gray60}})},increase(e){const t=this.getTagFromEvent(e);this.trigger("Bloko-TagList-Updated",t.get("id"),!0)},decrease(e){const t=this.getTagFromEvent(e);this.trigger("Bloko-TagList-Updated",t.get("id"),!1)},showCountHint(e){const t=this.getTagFromEvent(e);this.options.tooltipParams.content&&this.getTipInstance(t.get("id"),e.target).show()},hideCountHint(e){const t=this.getTagFromEvent(e);this.options.tooltipParams.content&&this.getTipInstance(t.get("id"),e.target).hide()},getTipInstance(e,t){return this.tips[e]=this.tips[e]||u().make(r(),t,{...this.options.tooltipParams,html:this.options.tooltipParams.content}),this.tips[e].changeOptions({...this.options.tooltipParams,html:this.options.tooltipParams.content})},updateTag(e,t){return this.tags.get(e).set(l().extend({},{voted:t.voted,count:t.count})),this},getCount(e){return this.tags.get(e).get("count")}})},908031:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(306025),i=o(790613),r=o(662191);const s=e=>{let{items:t=[],animateNew:o=!0,removable:s=!1,stretched:a=!1,selectable:c=!1,selectableByClick:d=!0,editable:b=!1,countable:u=!1,tooltipParams:p,nested:h=!1,renderAfterTags:k,renderAfterTagsRef:g,source:m}=e;return t.length>0?(0,r.jsx)("div",{className:l.Z["bloko-tag-list"],source:m,children:(0,i.default)(o,t,(e,t)=>(0,n.cloneElement)(e,{...t,animateNew:o,removable:s,stretched:a,selectable:c,selectableByClick:d,editable:b,countable:u,tooltipParams:p,nested:h}),void 0,k,g)}):null}},843564:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>N});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(390713),a=o(487153),c=o(261471),d=o(585614),b=o(456500),u=o(607621),p=o(837354),h=o(45003),k=o.n(h),g=o(640397),m=o.n(g),_=o(344048),f=o.n(_),v=o(315062),w=o.n(v),y=o(680112),x=o.n(y),S=o(239585),C=o.n(S),T=o(123086),E=o.n(T),I=o(292821),B=o.n(I),L=o(867657),M=o.n(L);const N=l().View.extend({tagName:"span",className:"Bloko-TagList",_defaults:{hiddenFieldName:"",defaultSelected:!0,cssClasse
1s:{animated:"bloko-tag_animated"},bindings:{tag:".Bloko-TagList-Tag"}},template(e){return C().render(e,{textSection:B(),textTemplate:this.options.textTemplate||M(),hiddenSection:x(),removeSection:E(),editableSection:w(),editableAction:f()}).trim()},makeTemplateData(e){return{items:[].concat(e.toJSON()),hidden:this.options.hiddenFieldName,stretched:this.options.stretched}},events:{"click .Bloko-TagList-Remove":"removeTagOnClick","click .Bloko-TagList-Selectable":"selectTag","click .Bloko-TagList-EditCancel":"cancelEdit","click .Bloko-TagList-EditAction":"editAction","click .Bloko-TagList-EditDone":"editDone","blur .Bloko-TagList-EditInput":"blurEditInput","keydown .Bloko-TagList-EditInput":"keyDown"},initialize(e){this.tags=this.collection,this.options=r().extend({},this._defaults,e.options),this.listenTo(this.tags,"add",this.renderTagAdd),this.listenTo(this.tags,"change",this.renderTagChange),this.listenTo(this.tags,"remove",this.renderTagRemove)},initTags(){const e=[];r()(".Bloko-TagList-Tag",this.$el).each((t,o)=>{const n=r()(o),l=n.attr("data-tag-id");e.push({id:l,text:n.text().trim(),hiddenValue:l})}),this.setTags(e)},$nodeByTagId(e){return this.$(`[data-tag-id="${this.escapeId(e)}"]`)},escapeId:e=>e.toString().replace(/\\/g,"\\\\").replace(/"/g,'\\"'),renderTagAdd(e){var t;0===this.$nodeByTagId(e.get("id")).length&&(this.$el.append(this.template(this.makeTemplateData(e))),null===(t=this.renderIcons)||void 0===t||t.call(this,e));return this.trigger("Bloko-TagList-Added",e.toJSON()),this},renderTagChange(e){var t;return this.$nodeByTagId(e.get("id")).replaceWith(this.template(this.makeTemplateData(e))),null===(t=this.renderIcons)||void 0===t||t.call(this,e),this.trigger("Bloko-TagList-Changed",e.toJSON()),this},renderTagRemove(e){return this.$nodeByTagId(e.get("id")).remove(),this.trigger("Bloko-TagList-Removed",e.toJSON()),this},renderIcons(e){const t=this.$nodeByTagId(e.get("id")).get(0);t&&(this.renderRemoveIcon(t),this.renderIcon(t,".Bloko-TagList-EditAction",s.Z),this.renderIcon(t,".Bloko-TagList-EditCancel",a.Z),this.renderIcon(t,".Bloko-TagList-EditDone",c.Z,{initial:d.Z.Green60}),this.renderIcon(t,".Bloko-TagList-EditAction",s.Z))},renderRemoveIcon(e){this.renderIcon(e,".Bloko-TagList-Remove",b.Z)},renderIcon(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const l=e.querySelectorAll(t);for(const e of[...l])k().make(u.Z,e,{IconComponent:o,iconProps:{initial:d.Z.Gray50,highlighted:d.Z.Gray60,...n}})},selectTag(e){const t=this.getTagFromEvent(e);return this.options.defaultSelected&&this.toggleSelect(t.get("id"),!t.get("selected")),this.trigger("Bloko-TagList-ToggleSelected",t.toJSON()),this},setTags(e){return e=[].concat(e),this.tags.set(e,{parse:!0}),this},getTag(e){return this.tags.get(e).toJSON()},getTags(){return this.tags.toJSON()},addTag(e){return e=[].concat(e),this.tags.add(e,{parse:!0}),this},removeTag(e){return this.tags.remove(String(e)),this},setTagText(e,t){const o=this.tags.get(e);if(o){if(0===t.length)return void this.removeTag(e);o.set({edited:!1,text:t})}},toggleSelect(e,t){const o=this.tags.get(e);return o&&o.set("selected",t),this},toggleDisabled(e,t){const o=this.tags.get(e);return o&&o.set("disabled",t),this},getTagId:e=>r()(e).attr("data-tag-id")||r()(e).closest(".Bloko-TagList-Tag").attr("data-tag-id"),getTagFromEvent(e){const t=this.getTagId(e.currentTarget);return this.tags.get(t)},removeTagOnClick(e){const t=this.getTagId(e.currentTarget);this.removeTag(t)},cancelEdit(e){clearTimeout(this.blurTimeout);const t=this.getTagFromEvent(e);t.get("edited")&&this.setTagText(t,t.previous("text"))},keyDown(e){e.keyCode===p.KeyCode.Enter?(e.preventDefault(),this.editDone(e)):e.keyCode===p.KeyCode.ESC&&(e.preventDefault(),r()(e.currentTarget).blur(),this.cancelEdit(e))},blurEditInput(e){this.blurTimeout=setTimeout(()=>{this.editDone(e)},250)},editAction(e){const t=this.getTagFromEvent(e),o=r()(e.currentTarget).closest(".Bloko-TagList-Tag"),n=r()(".Bloko-TagList-SectionText",o).outerWidth();t.set("edited",!0);const l=this.$nodeByTagId(t.get("id")),i=r()(".Bloko-TagList-EditInput",l),s=this.calculateInputWidth(l,n);i.outerWidth(s),m().setCaretPosition(i[0],i.val().length)},editDone(e){clearTimeout(this.blurTimeout);const t=this.getTagFromEvent(e),o=r()(e.currentTarget).closest(".Bloko-TagList-Tag"),n=r()(".Bloko-TagList-EditInput",o);this.setTagText(t.id,n.val().trim())},calculateInputWidth(e,t){let o;const n=this.$el.width();let l=t;return r()(".Bloko-TagList-EditControl",e).each((e,t)=>{l+=r()(t).outerWidth()}),l>n&&(o=l-n,t-=o),t},setHiddenValue(e,t){this.options.hiddenFieldName&&r()(".Bloko-TagList-Value",this.$n
1odeByTagId(e)).val(t)}})},120701:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(641208),l=o.n(n),i=o(344337),r=o.n(i),s=o(247362),a=o.n(s),c=o(143354),d=o.n(c);const b=l().extend({},d(),{createPublicInterface(e){const t=d().createPublicInterface.call(this,e);return l().extend(t,{toggleExpanded:e.toggleExpanded.bind(e)}),t},createView(e,t){return new(a())({collection:new(r())(null,{model:this.createTagModel(t)}),el:e,options:l().extend({renderHiddenParentField:!0},t)})}})},885402:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>T});var n=o(641208),l=o.n(n),i=o(16315),r=o(898469),s=o(7367),a=o(585614),c=o(607621),d=o(45003),b=o.n(d),u=o(680112),p=o.n(u),h=o(287436),k=o.n(h),g=o(176159),m=o.n(g),_=o(166965),f=o.n(_),v=o(123086),w=o.n(v),y=o(292821),x=o.n(y),S=o(867657),C=o.n(S);const T=k().extend({template(e){return m().render(e,{textSection:x(),textTemplate:this.options.textTemplate||C(),hiddenSection:p(),removeSection:w(),nestedChildSection:f()})},childTemplate(e){return f().render(e,{textSection:x(),textTemplate:this.options.textTemplate||C(),hiddenSection:p(),removeSection:w()})},makeTemplateData(e){return{items:[].concat(e.toJSON()),renderHiddenParentField:this.options.renderHiddenParentField||0===e.get("children").length,hidden:this.options.hiddenFieldName,childHidden:this.options.hiddenChildFieldName}},events:l().extend({},k().prototype.events,{"click .Bloko-TagList-Expand":"toggleExpandedOnClick"}),initialize(e){this.parentsToRender=[],k().prototype.initialize.apply(this,[e]),this.listenTo(this.tags,"update",this.renderTagUpdate)},initTags(e){const t=[];l()(".Bloko-TagList-ParentTag",this.$el).each((o,n)=>{const i=l()(n),r=i.attr("data-tag-id");t.push({id:r,hiddenValue:r,text:i.find(".Bloko-TagList-Text").eq(0).text().trim(),expanded:e||!1,items:[]});const s=t[t.length-1].items;i.find(".Bloko-TagList-Children .Bloko-TagList-Tag").each((e,t)=>{const o=l()(t),n=o.attr("data-tag-id");s.push({id:n,hiddenValue:n,text:o.text().trim()})})}),this.setTags(t)},renderTagAdd(e){return e.has("parent")?(this.parentsToRender.push(e.get("parent")),this.trigger("Bloko-TagList-Added",e.toJSON())):k().prototype.renderTagAdd.apply(this,[e]),this},renderTagUpdate(e,t){t.add&&i.default.unique(this.parentsToRender).forEach(t=>{this.renderTagChange(e.get(t))}),this.parentsToRender=[]},renderTagChange(e){var t;const o=this.$nodeByTagId(e.get("id"));return e.has("parent")?o.replaceWith(this.childTemplate(this.makeTemplateData(e))):o.replaceWith(this.template(this.makeTemplateData(e))),null===(t=this.renderIcons)||void 0===t||t.call(this,e),this.trigger("Bloko-TagList-Changed",e.toJSON()),this},removeTag(e){const t=this.tags.get(e),o=t.get("children"),n=t.get("parent");if(o&&(o.forEach(e=>{this.tags.remove(e)}),t.set("children",[],{silent:!0})),n){const t=this.tags.get(n);t.attributes.children.splice(t.attributes.children.indexOf(e),1),0===t.get("children").length?this.tags.remove(n):this.trigger("Bloko-TagList-Changed",t.toJSON())}return this.tags.remove(e),this},renderIcons(e){const t=this.$nodeByTagId(e.get("id")).get(0);t&&(this.renderRemoveIcon(t),this.renderExpandenIcon(t,e.get("expanded")))},renderExpandenIcon(e,t){const o=e.querySelectorAll(".Bloko-TagList-ExpandedIcon");for(const e of[...o])b().make(c.Z,e,{IconComponent:t?r.Z:s.Z,iconProps:{initial:a.Z.Gray50,highlighted:a.Z.Gray60,"data-qa":"bloko-tag__"+(t?"collapse":"expand")}})},toggleExpanded(e,t){const o=this.tags.get(e);return o.set("expanded",void 0!==t?t:!o.get("expanded")),this},toggleExpandedOnClick(e){const t=this.getTagId(e.currentTarget);this.toggleExpanded(t)}})},322700:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>T});var n=o(758162),l=o(761673),i=o.n(l),r=o(636361),s=o.n(r),a=o(585614),c=o(898469),d=o(7367),b=o(487153),u=o(261471),p=o(390713),h=o(389057),k=o(456500),g=o(804203),m=o(574289),_=o.n(m),f=o(640397),v=o.n(f),w=o(306025),y=o(790613),x=o(662191);function S(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class C extends n.PureComponent{constructor(){super(...arguments),S(this,"state",{editing:!1,showTooltip:!1,prevItemsLength:this.props.items?this.props.items.length:0,highlight:!1}),S(this,"inputRef",(0,n.createRef)()),S(this,"currentRef",this.props.nodeRef||(0,n.createRef)()),S(this,"select",()=>this.props.selectableByClick&&this.props.onSelect&&this.props.onSelect()),S(this,"remove",()=>this.props.onRemove&&this.props.onRemove()),S(this,"increaseCount",()=>this.props.onCountIncrease&&this.props.onCountIncrease()),S(this,"decreaseCount",()=>
1this.props.onCountDecrease&&this.props.onCountDecrease()),S(this,"toggle",()=>this.props.onToggle&&this.props.onToggle()),S(this,"startEditing",()=>{this.currentRef.current&&(this.currentRef.current.style.width=`${this.currentRef.current.offsetWidth}px`),this.setState({editing:!0},()=>{this.inputRef.current&&v().setCaretPosition(this.inputRef.current,this.inputRef.current.value.length)})}),S(this,"cancelEditing",()=>{this.currentRef.current&&(this.currentRef.current.style.width=""),this.setState({editing:!1})}),S(this,"confirmEditing",()=>{var e;const t=(null===(e=this.inputRef.current)||void 0===e?void 0:e.value)||"";this.setState({editing:!1},()=>{this.props.onEdit&&this.props.onEdit(t)})}),S(this,"showTooltip",()=>this.setState({showTooltip:!0})),S(this,"hideTooltip",()=>this.setState({showTooltip:!1})),S(this,"renderChildren",()=>(0,y.default)(this.props.animateNew,this.props.items,this.renderChild,this.onChildAnimationComplete)),S(this,"renderChild",(e,t)=>{const{removable:o}=this.props;return(0,n.cloneElement)(e,{...t,child:!0,removable:o})}),S(this,"onChildAnimationComplete",()=>{this.setState({highlight:!1})}),S(this,"render",()=>this.props.nested?this.renderNestedTag():this.renderInlineTag())}static getDerivedStateFromProps(e,t){return e.animateNew?e.items&&e.items.length>t.prevItemsLength?{prevItemsLength:e.items.length,highlight:!0}:{highlight:e.isNew}:null}componentDidUpdate(e){this.currentRef.current&&this.props.text!==e.text&&(this.currentRef.current.style.width="")}renderTextSection(){const{children:e,selectable:t,disabled:o,nested:n,items:l,expanded:r}=this.props,{editing:s}=this.state;if(s)return null;if(t)return(0,x.jsx)("button",{type:"button",className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_text"],{[w.Z["bloko-tag__section_active"]]:!o}),disabled:o,onClick:this.select,children:(0,x.jsx)("span",{"data-qa":"bloko-tag__text bloko-tag__selectable",children:e})});const b={initial:a.Z.Gray50,"data-qa":i()({"bloko-tag__collapse":r,"bloko-tag__expand":!r})};return n&&l&&l.length>0?(0,x.jsxs)("button",{type:"button",className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_text"],{[w.Z["bloko-tag__section_active"]]:!o}),disabled:o,onClick:this.toggle,children:[(0,x.jsx)("span",{"data-qa":"bloko-tag__text",children:e}),r?(0,x.jsx)(c.Z,{...b}):(0,x.jsx)(d.Z,{...b})]}):(0,x.jsx)("span",{className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_text"]),"data-qa":"bloko-tag__text",children:e})}renderEditSection(){const{text:e,editable:t,disabled:o}=this.props,{editing:l}=this.state,r=o?void 0:a.Z.Gray60;return t?l?(0,x.jsxs)(n.Fragment,{children:[(0,x.jsx)("span",{className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_edit"]),children:(0,x.jsx)(_(),{ref:this.inputRef,scale:m.InputScale.Small,"data-qa":"bloko-tag-edit-input",defaultValue:e})}),(0,x.jsx)("button",{type:"button",className:w.Z["bloko-tag-button"],"data-qa":"bloko-tag-edit-cancel",disabled:o,onClick:this.cancelEditing,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(b.Z,{initial:a.Z.Gray50,highlighted:r})})}),(0,x.jsx)("button",{type:"button",className:w.Z["bloko-tag-button"],"data-qa":"bloko-tag-edit-done",disabled:o,onClick:this.confirmEditing,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(u.Z,{initial:a.Z.Green60,highlighted:r})})})]}):(0,x.jsx)("button",{type:"button",className:w.Z["bloko-tag-button"],"data-qa":"bloko-tag-edit-action",disabled:o,onClick:this.startEditing,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(p.Z,{initial:a.Z.Gray50,highlighted:r})})}):null}renderCountValue(){const{count:e,tooltipParams:t}=this.props,{showTooltip:o}=this.state;if(t){const{content:n,...l}=t;return(0,x.jsx)(s(),{...l,onExternalClose:this.hideTooltip,show:o,render:()=>n,children:(0,x.jsx)("div",{className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_count"]),"data-qa":"bloko-tag__count",onMouseOver:this.showTooltip,onMouseLeave:this.hideTooltip,children:e})})}return(0,x.jsx)("div",{className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_count"]),"data-qa":"bloko-tag__count",children:e})}renderCountControls(){const{disabled:e,voted:t}=this.props;if(!t)return(0,x.jsx)("button",{type:"button",className:i()(w.Z["bloko-tag-button"],w.Z["bloko-tag-button_increase"]),"data-qa":"bloko-tag__increase",disabled:e,onClick:this.increaseCount,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(h.Z,{initial:a.Z.White})})});const o=e?void 0:a.Z.Gray60;return(0,x.jsx)("button",{type:"button",className:w.Z["bloko-tag-button"],"data-qa":"bloko-tag__decrease",disabled:e,onClick:this.decreaseCount,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(b.Z,{initial:a.Z.Gray50,highlighted:o})})})}renderCountSection(){const{count:e=0,countable:t,changeable:o}=this.props;return t?(0,x.jsxs)(n.Fragment,{children:[e>0&&this.renderCountValue(),o&&this.renderCountControls()]}):null}renderRemoveSection(){const{removable:e,disabled:t}=this.props,{editing:o}=this.state;if(!e||o)return null;const n=t?void 0:a.Z.Gray60;return(0,x.jsx)("button",{className:w.Z["bloko-tag-button"],"data-qa":"bloko-tag__cross",type:"button",disabled:t,onClick:this.remove,children:(0,x.jsx)(g.Z,{children:(0,x.jsx)(k.Z,{initial:a.Z.Gray50,highlighted:n})})})}renderIconSection(){const{icon:e}=this.props;return e?(0,x.jsx)("div",{className:i()(w.Z["bloko-tag__section"],w.Z["bloko-tag__section_icon"]),"data-qa":"bloko-tag__icon",children:(0,x.jsx)("span",{children:e})}):null}renderInlineTag(){const{stretched:e,selectable:t,isNew:o,selected:n,disabled:l,countable:r,child:s,additionalDataQa:a,kind:c}=this.props;return(0,x.jsxs)("div",{ref:this.currentRef,className:i()(w.Z["bloko-tag"],{[w.Z["bloko-tag_inline"]]:!e&&!s,[w.Z["bloko-tag_animated"]]:o,[w.Z["bloko-tag_selectable"]]:t,[w.Z["bloko-tag_selected"]]:n,[w.Z["bloko-tag_disabled"]]:l,[w.Z["bloko-tag_countable"]]:r,[w.Z["bloko-tag_child"]]:s,[w.Z[`bloko-tag_${c}`]]:Boolean(c)}),"data-qa":i()(w.Z["bloko-tag"],w.Z["bloko-tag_inline"],{[w.Z["bloko-tag_selected"]]:n,[w.Z["bloko-tag_disabled"]]:l,[w.Z["bloko-tag_child"]]:s,[w.Z[`bloko-tag_${c}`]]:Boolean(c),[a]:""!==a}),children:[this.renderIconSection(),this.renderTextSection(),this.renderEditSection(),this.renderCountSection(),this.renderRemoveSection()]})}renderNestedTag(){const{disabled:e,expanded:t,items:o,additionalDataQa:n,nodeRef:l}=this.props,{highlight:r}=this.state;return(0,x.jsxs)("div",{ref:l,className:w.Z["bloko-nested-tag"],"data-qa":i()("bloko-tag bloko-tag_parent",{[n]:""!==n}),children:[(0,x.jsxs)("div",{className:i()(w.Z["bloko-tag"],w.Z["bloko-tag_parent"],{[w.Z["bloko-tag_animated"]]:r,[w.Z["bloko-tag_disabled"]]:e}),children:[this.renderTextSection(),this.renderRemoveSection()]}),(0,x.jsx)("div",{className:i()(w.Z["bloko-nested-tag__children"],{[w.Z["bloko-nested-tag__children_visible"]]:t&&o&&o.length}),children:this.renderChildren()})]})}}S(C,"defaultProps",{text:"",removable:!1,stretched:!1,selected:!1,editable:!1,isNew:!1,selectable:!1,selectableByClick:!0,disabled:!1,countable:!1,
1changeable:!0,voted:!1,animateNew:!0,nested:!1,child:!1,additionalDataQa:"",items:[],icon:null,kind:void 0});const T=C},141002:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(344337),a=o.n(s),c=o(539244),d=o.n(c),b=o(287436),u=o.n(b);const p={create(e,t){const o=this.createView(e,t);return this.createPublicInterface(o)},createView(e,t){return new(u())({collection:new(a())(null,{model:this.createTagModel(t)}),el:e,options:t})},createTagModel(e){return d().extend(this.getOptions(e))},getOptions:e=>e?{removable:!!e.removable,editable:!!e.editable,selectable:!!e.selectable,newTag:void 0===e.animateNew||!!e.animateNew}:{editable:!1,removable:!1,selectable:!1,newTag:!0},createPublicInterface(e){const t=r().extend({get:e.getTag.bind(e),getAll:e.getTags.bind(e),set:e.setTags.bind(e),add:e.addTag.bind(e),remove:e.removeTag.bind(e),setTagText:e.setTagText.bind(e),getTagElement:e.$nodeByTagId.bind(e),toggleSelect:e.toggleSelect.bind(e),toggleDisabled:e.toggleDisabled.bind(e),setHiddenValue:e.setHiddenValue.bind(e),initTags:e.initTags.bind(e)},l().Events);return e.on("Bloko-TagList-Added",e=>{t.trigger("Bloko-TagList-Added",e)}),e.on("Bloko-TagList-Changed",e=>{t.trigger("Bloko-TagList-Changed",e)}),e.on("Bloko-TagList-Removed",e=>{t.trigger("Bloko-TagList-Removed",e)}),e.on("Bloko-TagList-ToggleSelected",e=>{t.trigger("Bloko-TagList-ToggleSelected",e)}),t}}},790613:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(84994),i=o(633211),r=o(662191);const s=(e,t,o,s,a,c)=>e?(0,r.jsxs)(l.Z,{exit:!1,component:null,children:[t.map(e=>{const t=(0,n.createRef)();return(0,n.isValidElement)(e)?(0,r.jsx)(i.ZP,{timeout:800,onEntered:s,nodeRef:t,children:n=>o(e,{isNew:"entering"===n,nodeRef:t})},e.key):null}),a&&(0,r.jsx)(i.ZP,{nodeRef:c,timeout:800,onEntered:s,children:a})]}):(0,r.jsxs)(n.Fragment,{children:[t.map(e=>(0,n.isValidElement)(e)?o(e):null),null==a?void 0:a()]})},784947:function(e,t,o){"use strict";let n;o.r(t),o.d(t,{TagKind:()=>n}),function(e){e.Success="success"}(n||(n={}))},992897:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>_,TextSize:()=>h,TextImportance:()=>g});var n=o(761673),l=o.n(n);const i="bloko-text",r="bloko-text_small",s="bloko-text_large",a="bloko-text_extra-large",c="bloko-text_strong",d="bloko-text_secondary",b="bloko-text_tertiary",u="bloko-text_italic";var p=o(662191);let h;var k;let g;var m;(k=h||(h={})).Small="small",k.Medium="medium",k.Large="large",k.ExtraLarge="extra-large",(m=g||(g={})).Primary="primary",m.Secondary="secondary",m.Tertiary="tertiary";const _=e=>{let{children:t,Element:o="div",size:n=h.Medium,strong:k=!1,italic:m=!1,importance:_=g.Primary,innerRef:f,...v}=e;return(0,p.jsx)(o,{...v,className:l()(i,{[r]:n===h.Small,[s]:n===h.Large,[a]:n===h.ExtraLarge,[c]:k,[u]:m,[d]:_===g.Secondary,[b]:_===g.Tertiary}),ref:f,children:t})}},548399:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o.n(n),i=o(761673),r=o.n(i),s=o(373167),a=o.n(s),c=o(399687),d=o.n(c),b=o(693337),u=o(662191);const p=l().forwardRef((e,t)=>{const{rows:o,cols:l,invalid:i=!1,noresize:s=!1,source:c,autogrow:p,minHeight:h,maxHeight:k,defaultValue:g,value:m,onChange:_,...f}=e,v=(0,n.useRef)(null),{value:w,onChange:y}=d()({controlledValue:m,defaultValue:g,onChangeProp:_});return(0,n.useLayoutEffect)(()=>{p&&v.current&&a()(v.current,h,k)},[p,h,k,w,v]),(0,u.jsx)("textarea",{...f,value:w,onChange:y,ref:e=>{v.current=e,"function"==typeof t?t(e):t&&(t.current=e)},className:r()(b.Z["bloko-textarea"],{[b.Z["bloko-textarea_sized-rows"]]:o,[b.Z["bloko-textarea_sized-cols"]]:l,[b.Z["bloko-textarea_invalid"]]:i,[b.Z["bloko-textarea_noresize"]]:s||p}),rows:p?void 0:o,cols:l,source:c})})},761245:function(e,t,o){"use strict";o.r(t),o.d(t,{TextareaIconPosition:()=>d,default:()=>b});var n=o(758162),l=o(761673),i=o.n(l),r=o(337095),s=o.n(r),a=o(693337),c=o(662191);let d;!function(e){e.Top="top",e.Bottom="bottom"}(d||(d={}));const b=(0,n.forwardRef)((e,t)=>{const{icon:o,innerRef:n,iconPosition:l=d.Top,source:r,...b}=e;return(0,c.jsxs)("span",{ref:n,className:a.Z["bloko-textarea-wrapper"],source:r,children:[(0,c.jsx)(s(),{...b,ref:t}),(0,c.jsx)("span",{className:i()(a.Z["bloko-textarea-icon"],{[a.Z["bloko-textarea-icon_bottom"]]:l===d.Bottom}),children:o})]})})},612719:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(641208),l=o.n(n),i=o(45003),r=o.n(i),s=o(20022),a=o.n(s),c=o(727827),d=o.n(c);const b="toggle";const u=r().build({defaults:{name:"",expandClass:"bloko-toggle_expand"},create:function(e,t){const o=l()(e);function n(e){const n=l()(`[data-toggle-container="${t.name}"]`),i=n.length>0?n:o;l()(e.target).closest(i).length>0||s(!1)}function i(){let e;return t.expandClass?e=!o.hasClass(t.expandClass):t.collapseClass&&(e=o.hasClass(t.collapseClass)),e}function r(e){e?l()(document).on(`click.${b}`,n):l()(document).off(`click.${b}`,n)}function s(n){t.collapseClass&&o.toggleClass(t.collapseClass,!n),t.expandClass&&o.toggleClass(t.expandClass,n),t.closeByClick&&r(n),e.dispatchEvent(a()("Bloko-Toggle-Switch",{isClosed:i()})),o.trigger("possible-resize")}function c(e,t){e.preventDefault(),s("expand"===(t||(i()?"expand":"collapse")))}function u(){window.location.hash.substr(1)===t.showOnHash&&s(!0)}return o.on(`Bloko-Toggle-Click.${b}`,c),o.on(`click.${b}`,`[data-toggle="${t.name}"]`,c),t.closeByClick&&(o.on(`Bloko-Toggle-ConfigureClose.${b}`,(e,t)=>{r(t)}),i()||r(!0)),t.active&&s(!0),t.showOnHash&&(u(),l()(window).on("hashchange",u)),d().resolve(e,b,this),{expand(){s(!0)},collapse(){s(!1)},toggle(){s(!i())},isClosed:()=>i()}},componentName:"bloko/blocks/toggle"}),p={create:(e,t)=>
1r().make(u,l()(e).get(0),t)}},487730:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});const n="bloko-translate-guard";var l=o(662191);const i=e=>{let{useSpan:t,...o}=e;return o.children?t?(0,l.jsx)("span",{...o}):(0,l.jsx)("div",{className:n,...o}):null}},453913:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o(761673),i=o.n(l),r=o(858544),s=o.n(r),a=o(758771),c=o.n(a),d=o(813884),b=o(662191);const u=e=>{const{collection:t,expanded:o=[],inputName:n,indeterminate:l,parentId:r,items:a,singleChoice:p,leavesOnly:h,selected:k,disabled:g,LabelComponent:m,IconComponent:_,onChange:f,onExpansion:v,checkSelectableId:w}=e,y=a||t.getTopLevel();return(0,b.jsx)(b.Fragment,{children:y.map(a=>{const y=o.includes(a.id),x=t.hasChildren(a.id),S=!(h&&x)&&w(a.id),C=((e,t)=>i()(d.Z["bloko-tree-selector-item"],{[d.Z["bloko-tree-selector-item_has-children-has-action"]]:e&&t,[d.Z["bloko-tree-selector-item_no-children-no-action"]]:!e&&!t,[d.Z["bloko-tree-selector-item_no-children"]]:!e}))(x,S);return(0,b.jsxs)("div",{className:C,"data-qa":i()(c().item,`${c().item}-${a.id}`,{[c().expanded]:y}),children:[(0,b.jsxs)("div",{className:d.Z["bloko-tree-selector-item-content"],children:[_&&(0,b.jsx)("div",{className:d.Z["bloko-tree-selector-item-icon"],children:(0,b.jsx)(_,{id:a.id,text:a.text,additional:a.additional,collection:t})}),(0,b.jsx)(s(),{parentId:r,id:a.id,name:n,hasAction:S,hasChildren:x,disabled:g.includes(a.id),selected:k.includes(a.id),expanded:y,indeterminate:l.includes(a.id),onExpansion:v,onChange:f,singleChoice:p,children:m?(0,b.jsx)(m,{id:a.id,text:a.text,additional:a.additional,collection:t}):a.text})]}),x&&y&&(0,b.jsx)("div",{className:d.Z["bloko-tree-selector__items"],"data-qa":`${c().items} ${c().items}-${a.id}`,children:(0,b.jsx)(u,{...e,items:t.getChildren(a.id),parentId:a.id})})]},a.id)})})},p=(0,n.memo)(u)},650970:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(758162),l=o(84994),i=o(953198),r=o.n(i),s=o(616451),a=o.n(s),c=o(757520);const d="bloko-tree-selector-selected",b="bloko-tree-selector-selected-list";var u=o(662191);const p="bloko-tree-selector-selected-list",h="bloko-tree-selector-selected-list-item",k=e=>{let{items:t,onClick:o}=e;const i=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,u.jsx)(r(),{in:!!t.length,nodeRef:i,unmountOnExit:!0,children:(0,u.jsx)("div",{className:d,"data-qa":p,ref:i,children:(0,u.jsx)("div",{className:b,"data-qa":p,children:(0,u.jsx)(l.Z,{component:null,exit:!1,children:t.map(e=>(0,u.jsx)(r(),{nodeRef:s,children:(0,u.jsxs)("div",{"data-qa":`${h} ${h}-${e.id}`,ref:s,children:[(0,u.jsx)(a(),{checked:!0,onChange:t=>{let{target:n}=t;return null==o?void 0:o(e.id,n.checked)},children:e.text}),(0,u.jsx)(c.FormSeparator,{})]})},e.id))})})})})}},874026:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(758162),l=o(287583);const i=e=>{let{initialValue:t,controlledExpanded:o,onExpand:i}=e;const[r,s]=(0,n.useState)(t),a=(0,n.useRef)(t),c=(0,n.useRef)(i),d=(0,n.useCallback)(e=>{var t;null===(t=c.current)||void 0===t||t.call(c,e.slice()),(0,l.isEqualArrays)(a.current,e)||s(e)},[]),b=(0,n.useCallback)(e=>{let t;a.current.includes(e)?t=a.current.filter(t=>t!==e):(t=a.current.slice(),t.push(e)),d(t)},[d]);return(0,n.useEffect)(()=>{c.current=i},[i]),(0,n.useEffect)(()=>{a.current=r},[r]),(0,n.useEffect)(()=>{o&&d(o.slice())},[o,d]),[r,d,b]}},403482:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r,getIndeterminateParentIds:()=>i});var n=o(758162),l=o(287583);function i(e,t){return[...t.reduce((o,n)=>(e.getParentIds(n).forEach(e=>{t.includes(e)||o.add(e)}),o),new Set)]}const r=e=>{let{initialCollection:t,selected:o}=e;const[r,s]=(0,n.useState)([]);return(0,n.useEffect)(()=>{const e=i(t,o);s(t=>(0,l.isEqualArrays)(t,e)?t:e)},[o,t]),[r,s]}},751610:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>y,isValidTreeSelectorDummyElement:()=>x});var n=o(758162),l=o(384199),i=o.n(l),r=o(216440),s=o.n(r),a=o(728867),c=o(544075),d=o.n(c),b=o(123571),u=o.n(b),p=o(99967),h=o.n(p),k=o(27979),g=o.n(k),m=(o(813884),o(662191));let _=0;const f=[],v=()=>!0,w=e=>{let{leavesOnly:t,singleChoice:o,showSelectedList:l,selected:r=f,initialExpanded:c=f,constantlySuggested:b=f,disabled:p=f,onChange:k,inputName:w,collection:y,expanded:x,LabelComponent:S,IconComponent:C,onExpand:T,contentFilterQuery:E="",treeFilter:I,onChangeFilterQuery:B,suggestedNotFound:L=f,wrapperTreeProps:M,checkSelectable:N=v,indeterminateWithParents:P=!0}=e;
1const[O,D]=(0,n.useState)(y),A=(0,n.useRef)(w||function(){const e=`bloko-tree-selector-default-name-${_}`;return _+=1,e}()),R=(0,n.useRef)(y.getExistModels(L)),Z=(0,n.useRef)(y.getExistModels(b)),j=(0,n.useRef)(""),$=I||a.filterWithParents,[F]=g()({initialCollection:y,selected:P?r:f}),[H,q,W]=h()({initialValue:x?x.slice():c.slice(),controlledExpanded:x,onExpand:T}),V=(0,n.useCallback)((e,t)=>{null==B||B(e.slice(),t)},[B]),z=s()();(0,n.useEffect)(()=>{const e=E.trim(),t=e!==j.current.trim();if(t&&((o=e)&&o.length)){const o=[],n=$(y,t=>i().match(e,t.text));n.toList().forEach(e=>{n.hasChildren(e.id)?t&&o.push(e.id):y.walkChildren(e.id,(e,t)=>{n.addModel({...e},t[0].id)})});const l=n.toList().map(e=>e.id);!l.length&&R.current.length?R.current.forEach(e=>n.addModel({...e})):Z.current.forEach(e=>{l.includes(e.id)||n.addModel({...e})}),D(n),j.current=E,V(l,e),q(o)}else if(t){const t=c.slice();D(y),V(y.toList().map(e=>e.id),e),j.current=E,q(t)}var o},[y,E,$,V,c,r,q]);const U=(0,n.useCallback)(e=>N(e,y),[N,y]),Y=(0,n.useCallback)(()=>{const e=o?r:r.filter(e=>!O.hasChildren(e)),t=O.getExistModels(e);return(0,m.jsx)(u(),{items:t,onClick:k})},[O,k,r,o]);if(z)return null;const G=l&&!E;return(0,m.jsxs)(m.Fragment,{children:[G&&Y(),(0,m.jsx)("div",{...M,children:(0,m.jsx)(d(),{inputName:A.current,collection:O,leavesOnly:t,singleChoice:o,selected:r,expanded:H,disabled:p,indeterminate:F,LabelComponent:S,IconComponent:C,onChange:k,onExpansion:W,checkSelectableId:U})})]})},y=w,x=e=>(0,n.isValidElement)(e)&&e.type===w},117720:function(e,t,o){"use strict";o.r(t)},149946:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>b});var n=o(758162),l=o(616451),i=o.n(l),r=o(801648),s=o.n(r),a=o(758771),c=o.n(a),d=o(662191);const b=e=>{let{id:t,name:o,parentId:l,singleChoice:r,selected:a,disabled:b,indeterminate:u,onChange:p,onKeyDown:h,children:k}=e;const g={disabled:b,checked:a,onChange:(0,n.useCallback)(e=>{p&&p(t,e.target.checked)},[t,p]),onKeyDown:h,"data-qa":`${c().input} ${c().input}-${t}`,labelProps:{"data-qa":`${c().text} ${c().text}-${t}`},children:k};return r?(0,d.jsx)(s(),{...g,name:`${o}-${t}${l?`-${l}`:""}`}):(0,d.jsx)(i(),{...g,name:o,indeterminate:u})}},698612:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>h});var n=o(758162),l=o(804203),i=o(806537),r=o(7367),s=o(585614),a=o(191312),c=o(758771),d=o.n(c),b=o(813884),u=o(662191);const p=e=>{let{id:t,hasAction:o,expanded:n,onKeyDown:c,onClick:p}=e;const h=o?{}:{tabIndex:0,onKeyDown:c};return(0,u.jsx)("span",{className:b.Z["bloko-tree-selector-item-spacer"],children:(0,u.jsx)(l.Z,{children:(0,u.jsx)(i.Z,{Element:"span",onClick:p,"data-qa":`${d().toggle} ${d().toggle}-${t}`,...h,children:n?(0,u.jsx)(r.Z,{initial:s.Z.Gray60,highlighted:s.Z.Gray50}):(0,u.jsx)(a.Z,{initial:s.Z.Gray60,highlighted:s.Z.Gray50})})})})},h=(0,n.memo)(p)},676141:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(758162),l=o(758771),i=o.n(l),r=o(813884),s=o(662191);const a=e=>{let{id:t,hasChildren:o,onClick:n,children:l}=e;return o?(0,s.jsx)("div",{className:r.Z["bloko-tree-selector-item__text"],"data-qa":`${i().text} ${i().text}-${t}`,onClick:n,children:l}):(0,s.jsx)(s.Fragment,{children:l})},c=(0,n.memo)(a)},51434:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>h});var n=o(758162),l=o(837354),i=o(318590),r=o.n(i),s=o(207580),a=o.n(s),c=o(820326),d=o.n(c),b=o(813884),u=o(662191);const p=e=>{let{id:t,name:o,parentId:i,hasAction:s=!1,singleChoice:c=!1,hasChildren:p=!1,selected:h=!1,expanded:k=!1,disabled:g=!1,indeterminate:m=!1,onChange:_,onExpansion:f,children:v}=e;const w=(0,n.useCallback)(e=>{switch(e.keyCode){case l.KeyCode.ArrowLeft:k&&f&&f(t),e.preventDefault();break;case l.KeyCode.ArrowRight:!k&&f&&f(t),e.preventDefault()}},[k,t,f]),y=(0,n.useCallback)(()=>f&&f(t),[t,f]);return(0,u.jsxs)("div",{className:b.Z["bloko-tree-selector-content"],children:[p&&(0,u.jsx)(a(),{id:t,hasAction:s,onKeyDown:w,onClick:y,expanded:k}),s&&(0,u.jsx)(r(),{id:t,parentId:i,onKeyDown:w,onChange:_,singleChoice:c,indeterminate:m,selected:h,disabled:g,name:o,children:v}),!s&&(0,u.jsx)(d(),{id:t,hasChildren:p,onClick:y,children:v})]})},h=(0,n.memo)(p)},987490:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={expanded:"bloko-tree-selector-item-expanded",item:"bloko-tree-selector-item",items:"bloko-tree-selector-items",text:"bloko-tree-selector-item-text",input:"bloko-tree-selector-input",toggle:"bloko-tree-selector-toogle-node"}},449617:function(e,t,o){"use strict";o.r(t),o.d(t,{TreeSelectorDummy:()=>a.a,default:()=>h,isValidTreeSelector:()=>p,isValidTreeSelectorElement:()=>u});var n=o(758162),l=o(974534),i=o.n(l),r=o(728867),s=o(999443),a=o.n(s),c=o(662191);const d=[],b=e=>{let{data:t,leavesOnly:o,singleChoice:l,initialSelected:s=d,initialExpanded:b=d,disabled:u=d,LabelComponent:p,IconComponent:h,onChange:k,onExpand:g,contentFilterQuery:m="",treeFilter:_,onChangeFilterQuery:f,showSelectedList:v,wrapperTreeProps:w,suggestedNotFound:y,checkSelectable:x}=e;
1const[S,C]=(0,n.useState)(s),T=(0,n.useRef)((0,r.fromTree)(t)),E=(0,n.useRef)(null);(0,n.useEffect)(()=>{E.current=new(i())(T.current,{singleChoice:l,leavesOnly:o,checkSelectable:x})},[x,l,o]);const I=(0,n.useCallback)((e,t)=>{if(E.current){const o=t?E.current.add(S,[e]):E.current.remove(S,[e]);C(o),null==k||k(e,t,o)}},[S,k]);return(0,c.jsx)(a(),{collection:T.current,singleChoice:l,leavesOnly:o,selected:S,disabled:u,initialExpanded:b,LabelComponent:p,IconComponent:h,onChange:I,onExpand:g,contentFilterQuery:m,onChangeFilterQuery:f,treeFilter:_,showSelectedList:v,wrapperTreeProps:w,suggestedNotFound:y,checkSelectable:x})},u=e=>(0,n.isValidElement)(e)&&e.type===b,p=e=>(0,n.isValidElement)(e)&&(e.type===a()||e.type===b),h=b},745653:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>z});var n=o(641208),l=o.n(n),i=o(7367),r=o(191312),s=o(585614),a=o(607621),c=o(45003),d=o.n(c),b=o(492598),u=o.n(b),p=o(384199),h=o.n(p),k=o(526304),g=o.n(k),m=o(960541),_=o.n(m),f=o(4277),v=o.n(f),w=o(551402),y=o.n(w),x=o(547022),S=o.n(x),C=o(407448),T=o.n(C),E=o(213658),I=o.n(E),B=o(917965),L=o.n(B),M=o(461673),N=o.n(M),P=o(120500),O=o.n(P),D=o(468769),A=o.n(D),R=o(545617),Z=o.n(R),j=o(141963),$=o.n(j),F=o(42506),H=o.n(F),q=o(237749),W=o.n(q);const V=function(e){const t=l()(e.el),o=e.collection,n=o.get(),c=e.modelsHandler;new(W())(c);const b=e.labelTemplate||N(),p=I();let k,m,f,w=[];const y=`bloko-tree-selector-default-name-${Math.random()}`,x=u().extend({setSelected:function(t){switch(e.type){case"checkbox":B(t,!1);break;case"radio":R(t,!0)}},getSelected:function(){return o.getByAttributes({selected:!0,disabled:!1}).map(e=>c.toJSON(e))},addSelected:function(t){if("radio"===e.type)return void p.error(p.WRONG_TYPE_RADIO);B(t,!0)},toggleDisabled:function(e){"function"==typeof e?j("disabled",e):p.error(p.METHOD_ARGUMENT_NOT_FUNCTION)},filterByContent:function(e){const t=e.trim();o.get().forEach(e=>{const o=h().match(t,e.attributes.searchText);o&&e.attributes.parent&&(q(e.attributes.parent),z(e.attributes.parent,!!t)),c.set(e,{consistFilterQuery:o})});const n=o.getByAttributes({consistFilterQuery:!0}),l=n.reduce((e,t)=>{const o=t.attributes;let n=t.attributes.parent;for(o&&o.items&&o.items.length&&(e[o.id]=!0);n;)e[n.attributes.id]=!1,n=n.attributes.parent;return e},{});n.filter(e=>l[e.attributes.id]).forEach(e=>{H(e.attributes.items),c.set(e,{expanded:!1}),e.attributes.items.length&&V(e.attributes.items,!1)}),o.get().forEach(e=>{c.set(e,{hidden:!e.attributes.consistFilterQuery})})},toggleExpanded:function(e){"function"==typeof e?j("expanded",e):p.error(p.METHOD_ARGUMENT_NOT_FUNCTION)},change:function(t){switch(e.type){case"checkbox":t.forEach(e=>{const t=o.getById(e);t.length?t.forEach(e=>{P(e,!e.attributes.selected)}):p.error(p.ITEM_NOT_FOUND)}),D();break;case"radio":R(t)}},getItem:function(e){const t=o.getById(e),n=t.length?t[0]:null;return c.toJSON(n)},getAllItems:function(e){return o.getById(e).map(e=>c.toJSON(e))}});switch(e.type){case"checkbox":k=S(),m=e.leavesOnly?O():A(),f=e.leavesOnly?_():v();break;case"radio":k=T(),m=e.leavesOnly?O():Z(),f=e.leavesOnly?_():v();break;default:throw new Error(`BlokoTreeSelector: the wrong type: "${e.type}", can be "checkbox" or "radio"`)}const C=e.afterLabelTemplate?f:null;if(e.dataJSON){const u=function t(n,i){let r="";const s=[];let a=!1,c=!1;for(let d=0,u=n.length;d<u;d++){let h;const g={attributes:{id:n[d].id.toString()||null,text:n[d].text||"",name:y,parent:null,items:[],expanded:!!n[d].expanded||!1,selected:!!n[d].selected||!1,disabled:!!n[d].disabled||!1,changed:!1,indeterminate:!1,additional:n[d].additional?l().extend(!0,{},n[d].additional):null},view:{}};null===g.id&&p.error(p.ID_IS_NULL),i&&(g.attributes.parent=i,e.leavesOnly||"checkbox"!==e.type||i.attributes.selected&&(g.attributes.selected=!0),g.attributes.selected?a=!0:c=!0,s.push(g),d===u-1&&(e.leavesOnly||"checkbox"!==e.type||(i.attributes.indeterminate=a&&c,i.attributes.selected=!c),e.leavesOnly&&(i.attributes.selected=!1),i.attributes.items=s)),o.add(g),n[d].items&&n[d].items.length?r+=t(n[d].items,g):(h=k.render(g.attributes,{labelTemplate:b,afterLabelWrapperTemplate:C,afterLabelTemplate:e.afterLabelTemplate}),r+=h)}if(i)return m.render(l().extend({itemsTemplate:r},i.attributes),{labelTemplate:b,elementTemplate:k,afterLabelWrapperTemplate:C,afterLabelTemplate:e.afterLabelTemplate,iconsTemplate:L()});return r}(e.dataJSON);let h=l()(g().render()).append(u);if(h.find(".Bloko-TreeSelector-Element").each((e,t)=>{n[e].view.el=t,n[e].view.action=t.querySelector(".Bloko-TreeSelector-Action"),n[e].view.input=n[e].view.action.querySelector(".Bloko-TreeSelector-Input"),n[e].view.list=t.querySelector(".Bloko-TreeSelector-List"),n[e].view.icon=t.querySelector(".Bloko-TreeSelector-Icon"),n[e].view.icon&&(n[e].view.iconComponent=d().make(a.Z,n[e].view.icon,{IconComponent:n[e].attributes.expanded?i.Z:r.Z,iconProps:{initial:s.Z.Gray60,highlighted:s.Z.Gray50}})),n[e].attributes.searchText=l()(t.querySelector(".Bloko-TreeSelector-SearchContent")).text(),l()(n[e].view.list).detach()}),e.leavesOnly||"checkbox"!==e.type||o.getByAttributes({indeterminate:!0}
1).forEach(e=>{c.set(e,{indeterminate:!1}),E(e)}),"radio"===e.type){const e=o.getByAttributes({selected:!0}),t=e.length;if(t){for(let o=0;o<t-1;o++)e[o].attributes.selected=!1;const n=e[t-1];w=o.getById(n.attributes.id),w.forEach(e=>{e.attributes.selected=!0})}}t.append(h),h=null}function E(e){c.set(e,{indeterminate:!0}),e.attributes.parent&&E(e.attributes.parent)}function B(e,t){let n=t||!1;!e||e.length?(e.forEach(e=>{const t=o.getById(e);t.length?(n||(M(),n=!0),t.forEach(e=>{P(e,!0)})):p.error(p.ITEM_NOT_FOUND)}),D()):M()}function M(){o.get().forEach(e=>{c.set(e,{selected:!1,indeterminate:!1})})}function P(t,o){t.attributes.items.length&&e.leavesOnly?p.error(p.ELEMENT_NOT_SELECTABLE):(c.set(t,{selected:o,indeterminate:!1}),t.attributes.items&&!e.leavesOnly&&$(t.attributes.items,t.attributes.selected),t.attributes.parent&&!e.leavesOnly&&F(t.attributes.parent,t.attributes.selected))}function D(){const e=o.getByAttributes({changed:!0}),t=[];e.forEach(e=>{t.push(c.toJSON(e)),c.set(e,{changed:!1})}),t.length&&x._trigger("Bloko-TreeSelector-Changed",t)}function R(t,n){if(!t.length)return M(),void D();const l=t[t.length-1],i=o.getById(l);i.length?(w.forEach(e=>{c.set(e,{selected:!1,indeterminate:!1})}),w=i,i.forEach(t=>{t.attributes.items.length&&e.leavesOnly?p.error(p.ELEMENT_NOT_SELECTABLE):c.set(t,{selected:void 0!==n?n:!t.attributes.selected})}),D()):p.error(p.ITEM_NOT_FOUND)}function j(e,t){o.get().forEach(o=>{const n={};n[e]=!!t(c.toJSON(o)),c.set(o,n)})}function $(t,n){t.forEach(t=>{o.getById(t.attributes.id).forEach(t=>{c.set(t,{selected:n,indeterminate:!1}),t.attributes.items.length&&$(t.attributes.items,n),t.attributes.parent&&!e.leavesOnly&&F(t.attributes.parent,n)})})}function F(e,t){let o=!0,n=!1;e.attributes.items.forEach(e=>{e.attributes.selected!==t&&(o=!1),e.attributes.indeterminate&&(n=!0)}),(e.attributes.selected||o)&&c.set(e,{selected:t}),c.set(e,{indeterminate:!1}),!o||n?c.set(e,{indeterminate:!0}):c.set(e,{indeterminate:!1}),e.attributes.parent&&F(e.attributes.parent,t)}function H(e){e.forEach(e=>{c.set(e,{consistFilterQuery:!0,hidden:!1}),e.attributes.items&&H(e.attributes.items)})}function q(e){c.set(e,{consistFilterQuery:!0,hidden:!1}),e.attributes.parent&&q(e.attributes.parent)}function V(e,t){e.forEach(e=>{const o=e.attributes.items;o.length&&(c.set(e,{expanded:t}),V(o,t))})}function z(e,t){c.set(e,{expanded:t}),e.attributes.parent&&z(e.attributes.parent,t)}return x},z=d().build({create(e,t){const o=new($()),n=new(y())([]),l=new V({el:e,modelsHandler:o,collection:n,type:t.type,leavesOnly:t.leavesOnly,labelTemplate:t.labelTemplate,afterLabelTemplate:t.afterLabelTemplate,dataJSON:t.dataJSON});return new(H())({el:e,treeSelectorInterface:l,modelsHandler:o,collection:n,type:t.type}),l},componentName:"bloko/blocks/treeSelector"})},228310:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i);function s(e){const t={};return r().extend({get:function(){return e},add:function(o){e.push(o),t[o.attributes.id]=t[o.attributes.id]||[],t[o.attributes.id].push(o)},getById:function(e){return t[e]||[]},getByAttributes:function(t){return e.filter(e=>{const o=e.attributes;let n=!0;for(const e in t)o[e]!==t[e]&&(n=!1);return n})}},l().Events)}},272490:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(308415),l=o.n(n);const i={ID_IS_NULL:"BlokoTreeSelector: ID not passed",ITEM_NOT_FOUND:"BlokoTreeSelector: the selected item can not be found",WRONG_TYPE_RADIO:'BlokoTreeSelector: add to selected items can not be, because type="radio"',METHOD_ARGUMENT_NOT_FUNCTION:"BlokoTreeSelector: method got no argument function",ELEMENT_NOT_SELECTABLE:"BlokoTreeSelector: element not selectable",error(e,t){l().log("log error",new Error(e.replace("{{#message}}",t)))}}},296641:function(e,t,o){"use strict";function n(e,t){return e.forEach(e=>{t(e),e.items&&e.items.length&&n(e.items,t)}),e}o.r(t),o.d(t,{default:()=>l});const l={walker:n,getSelectedItemsWithoutSelectedParent:function(e){const t=e.reduce((e,t)=>(t.items&&t.items.length&&(e[t.id]=!0),e),{});return e.filter(e=>!t[e.parent])},getSelectedItemsLeavesOnly:function(e){return e.reduce((e,t)=>
1{var o;return null!==(o=t.items)&&void 0!==o&&o.length?e:e.concat(t)},[])},getUniqueItems:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e.id;const o=new Map;return e.forEach(e=>{const n=t(e);o.set(n,e)}),[...o.values()]},sort:function(e,t){return e.sort(t),n(e,e=>{e.items&&e.items.length&&e.items.sort(t)})}}},444138:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i);function s(){const e=r().extend({set:function(t,o){if("object"==typeof o)for(const n in o)"expanded"===n&&0===t.attributes.items.length||o[n]!==t.attributes[n]&&(t.attributes[n]=o[n],"selected"===n&&(t.attributes.changed=!0),e.trigger(`change:${n}`,t))},toJSON:function(e){if(!e)return null;const t=e.attributes;return{id:t.id,text:t.text,name:t.name,parent:t.parent?t.parent.attributes.id:null,expanded:t.expanded,selected:t.selected,disabled:t.disabled,items:t.items.map(e=>e.attributes.id),additional:t.additional?r().extend(!0,{},t.additional):null}}},l().Events);return e}},194801:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(288153),l=o.n(n),i=o(641208),r=o.n(i),s=o(837354),a=o(535265),c=o.n(a);const d=l().View.extend({initialize(e){this.treeSelectorInterface=e.treeSelectorInterface,this.modelsHandler=e.modelsHandler,this.collection=e.collection;const t=c().IE()||c().IEMobile();"checkbox"===e.type&&t?this.delegateEvents({"click .Bloko-TreeSelector-Chevron":"toggleList","click .Bloko-TreeSelector-Expanded":"toggleList","click .Bloko-TreeSelector-Input":"changeByEvent","keydown .Bloko-TreeSelector-Input":"keyboardControlIE","keydown .Bloko-TreeSelector-Action":"keyboardControl"}):this.delegateEvents({"click .Bloko-TreeSelector-Chevron":"toggleList","click .Bloko-TreeSelector-Expanded":"toggleList","change .Bloko-TreeSelector-Action":"changeByEvent","keydown .Bloko-TreeSelector-Action":"keyboardControl"})},keyboardControl(e){switch(e.keyCode){case s.KeyCode.ArrowLeft:this.toggleList(e,!1),e.preventDefault();break;case s.KeyCode.ArrowRight:this.toggleList(e,!0),e.preventDefault()}},keyboardControlIE(e){if(e.keyCode===s.KeyCode.Space)this.changeByEvent(e),e.preventDefault()},toggleList(e,t){const o=this._getCurrentIdByEvent(e);return this.collection.getById(o).forEach(e=>{e.attributes.items&&this.modelsHandler.set(e,{expanded:t||!e.attributes.expanded})}),!1},changeByEvent(e){const t=this._getCurrentIdByEvent(e);this.treeSelectorInterface.change([t])},_getCurrentIdByEvent:e=>r()(e.target).closest(".Bloko-TreeSelector-Element").attr("data-id")})},334280:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>d});var n=o(641208),l=o.n(n),i=o(7367),r=o(191312),s=o(585614),a=o(758771),c=o.n(a);function d(e){function t(e){e.view.$el||(e.view.$el=l()(e.view.el))}function o(e){const t=e.attributes.items;if(!e.attributes.expanded||!t||!t.length)return[];const n=t.reduce((e,t)=>{const n=o(t);return n.length&&Array.prototype.push.apply(e,n),e},[]);return t.concat(n)}e.on("change:selected",e=>{e.view.input.checked=e.attributes.selected}),e.on("change:expanded",e=>{var n,a;e.view.$icon||(e.view.$icon=l()(e.view.icon)),e.view.$list||(e.view.$list=l()(e.view.list)),t(e),e.attributes.expanded?e.view.$el.append(e.view.$list):e.view.$list.detach(),o(e).forEach(e=>{e.view.input&&(e.view.input.disabled=!!e.attributes.disabled)}),null===(n=e.view.iconComponent)||void 0===n||null===(a=n.change)||void 0===a||a.call(n,{IconComponent:e.attributes.expanded?i.Z:r.Z,iconProps:{initial:s.Z.Gray60,highlighted:s.Z.Gray50}}),e.view.$list.toggleClass("g-hidden"),e.view.$el.attr("data-qa",`${c().item} ${c().item}-${e.attributes.id} ${e.attributes.expanded?c().expanded:""}`)}),e.on("change:indeterminate",e=>{e.view.input.indeterminate=e.attributes.indeterminate}),e.on("change:disabled",e=>{e.view.input&&function(e){let t=e.attributes.parent;for(;t;){if(!t.attributes.expanded)return!1;t=t.attributes.parent}return!0}(e)&&(e.view.input.disabled=!!e.attributes.disabled)}),e.on("change:hidden",e=>{t(e),e.attributes.parent?e.attributes.hidden?e.view.$el.detach():l()(e.attributes.parent.view.list).append(e.view.$el):e.view.$el.toggleClass("g-hidden",e.attributes.hidden)})}},618773:function(e,t,o){"use strict";o.r(t),o.d(t,{isEqualArrays:()=>n});const n=(e,t)=>{if(e.length!==t.length)return!1;const o=t.slice().sort();return e.slice().sort().every((e,t)=>e===o[t])}},427121:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(758162),l=o(723162),i=o.n(l),r=o(757520),s=o(654267),a=o.n(s),c=o(196901),d=o(859407),b=o.n(d),u=o(727206),p=o(662191);const h=e=>{let{showLoadingOnSubmit:t,disabledSubmit:o,trlCancel:n,trlSubmit:d,onSubmit:h,onClose:k,footerExtra:g}=e;return(0,p.jsx)(c.ModalFooter,{children:(0,p.jsxs)("div",{className:u.Z["bloko-tree-selector-popup-footer"],children:[g&&(0,p.jsx)("div",{className:u.Z["bloko-tree-selector-popup-footer-extra"],children:g}),(0,p.jsx)(r.FormSpacer,{children:(0,p.jsx)(i(),{"data-qa":b().c
1ancel,onClick:k,children:n})}),(0,p.jsx)(r.FormSpacer,{children:(0,p.jsx)(i(),{kind:l.ButtonKind.Primary,disabled:o,onClick:h,"data-qa":b().submit,loading:t?(0,p.jsx)(a(),{initial:s.LoadingColor.White}):void 0,children:d})})]})})},k=(0,n.memo)(h)},464993:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>u});var n=o(758162),l=o(574289),i=o.n(l),r=o(196901),s=o(859407),a=o.n(s),c=o(727206),d=o(662191);const b=e=>{let{contentFilterQuery:t,searchWithClear:o,title:n,search:s,hint:b,trlPlaceholder:u="",onSearch:p,contentAfterTitle:h}=e;const k={type:l.InputType.Search,"data-qa":a().search,placeholder:u,value:t,onChange:p,showClearButton:o};return n||s||b?(0,d.jsxs)(r.ModalHeader,{children:[(0,d.jsx)(r.ModalTitle,{children:n}),h,s&&(0,d.jsx)("div",{className:c.Z["bloko-tree-selector-popup-search"],children:(0,d.jsx)(i(),{...k})}),b&&(0,d.jsx)("div",{className:c.Z["bloko-tree-selector-popup-hint"],children:b})]}):null},u=(0,n.memo)(b)},117494:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>h});var n=o(758162),l=o(761673),i=o.n(l),r=o(533522),s=o.n(r),a=o(999443),c=o.n(a),d=o(859407),b=o.n(d),u=o(727206),p=o(662191);const h=e=>{let{onChangeFilterQuery:t,onChange:o,onExpand:l,selected:a,expanded:d,controlledSelected:h,contentFilterQuery:k,trlNotFound:g="",children:m}=e;const[_,f]=(0,n.useState)(!1),v=(0,n.useCallback)((e,o)=>{f(!e.length),null==t||t(e,o)},[t]);if(!(0,r.isValidTreeSelector)(m))throw new Error("Children must be TreeSelector or TreeSelectorDummy");const w=m.props.showSelectedList;return(0,p.jsxs)("div",{className:i()(u.Z["bloko-tree-selector-popup"],{[u.Z["bloko-tree-selector-popup__with-selected"]]:w}),children:[_&&g&&(0,p.jsx)("div",{className:u.Z["bloko-tree-selector-popup-not-found"],"data-qa":b().notFound,children:g}),(0,r.isValidTreeSelector)(m)&&(0,n.cloneElement)(m,{onChange:o,onExpand:l,...m.type===s()&&{initialSelected:a},initialExpanded:d,...m.type===c()&&{selected:h},contentFilterQuery:k,onChangeFilterQuery:v,wrapperTreeProps:{className:i()(u.Z["bloko-tree-selector-popup-content"],{[u.Z["bloko-tree-selector-popup-content__with-selected"]]:w})}})]})}},687478:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={submit:"bloko-tree-selector-popup-submit",cancel:"bloko-tree-selector-popup-cancel",search:"bloko-tree-selector-popup-search",notFound:"bloko-tree-selector-popup-not-found"}},727314:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(758162),l=o(533522),i=o(999443),r=o(287583);const s=e=>{let{children:t,clearSearchOnChange:o,setContentFilterQuery:s,controlledSelected:a,onSubmit:c,setSelected:d,setExpanded:b,hideOnSubmitClick:u,onClose:p,onChange:h}=e;const k=(0,n.useRef)((0,l.isValidTreeSelectorElement)(t)&&t.props.initialSelected||[]),g=(0,n.useRef)((0,l.isValidTreeSelector)(t)&&t.props.initialExpanded||[]),m=(0,n.useCallback)(function(e,n){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var r,a;(0,i.isValidTreeSelectorDummyElement)(t)?null===(r=(a=t.props).onChange)||void 0===r||r.call(a,e,n):k.current=l;o&&s("")},[t,o,s]),_=(0,n.useCallback)(e=>{g.current=e},[]),f=(0,n.useCallback)(()=>{const e=(0,i.isValidTreeSelectorDummyElement)(t)?a:k.current,o=g.current;c?c(e.slice()):d(t=>(0,r.isEqualArrays)(t,e)?t:(null==h||h(e.slice()),e)),b(e=>(0,r.isEqualArrays)(e,o)?e:o),u&&(s(""),p())},[t,a,u,h,p,c,s,b,d]);return{handleTreeSelectorExpand:_,handleTreeSelectorChange:m,handleSubmit:f,handleSearch:(0,n.useCallback)(e=>{s(e||"")},[s])}}},460477:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>p});var n=o(758162),l=o(196901),i=o.n(l),r=o(533522),s=(o(727206),o(427121)),a=o(464993),c=o(117494),d=o(727314),b=o(662191);const u=[],p=e=>{let{selected:t=u,children:o,visible:p,onClose:h,title:k,search:g=!0,hint:m,trl:_,searchWithClear:f,disabledSubmit:v,showLoadingOnSubmit:w,onChange:y,onSubmit:x,error:S,hideOnSubmitClick:C=!0,onChangeFilterQuery:T,clearSearchOnChange:E,contentAfterTitle:I,footerExtra:B,host:L}=e;if(!(0,r.isValidTreeSelector)(o))throw new Error("Children must be TreeSelector or TreeSelectorDummy");
1const[M,N]=(0,n.useState)(""),[P,O]=(0,n.useState)(o.props.initialExpanded||[]),[D,A]=(0,n.useState)((0,r.isValidTreeSelectorElement)(o)?o.props.initialSelected||[]:t),{handleSubmit:R,handleTreeSelectorChange:Z,handleTreeSelectorExpand:j,handleSearch:$}=(0,d.default)({children:o,controlledSelected:t,onClose:h,setSelected:A,setContentFilterQuery:N,setExpanded:O,clearSearchOnChange:E,hideOnSubmitClick:C,onSubmit:x,onChange:y}),F={hint:m,search:g,title:k,searchWithClear:f,contentFilterQuery:M,onSearch:$,trlPlaceholder:_.searchPlaceholder,contentAfterTitle:I},H={selected:D,expanded:P,controlledSelected:t,contentFilterQuery:M,onChangeFilterQuery:T,onChange:Z,onExpand:j,trlNotFound:_.notFound,children:o},q={disabledSubmit:v,showLoadingOnSubmit:w,onClose:h,footerExtra:B,onSubmit:R,trlCancel:_.cancel,trlSubmit:_.submit};return(0,b.jsxs)(i(),{visible:p,onClose:h,host:L,children:[(0,b.jsx)(a.default,{...F}),(0,b.jsx)(c.default,{...H}),(0,b.jsx)(l.ModalError,{visible:!!S,children:S}),(0,b.jsx)(s.default,{...q})]})}},243052:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>I});var n=o(641208),l=o.n(n),i=o(16315),r=o(846507),s=o.n(r),a=o(654856),c=o.n(a),d=o(175422),b=o.n(d),u=o(719892),p=o.n(u),h=o(45003),k=o.n(h),g=o(492598),m=o.n(g),_=o(399135),f=o.n(_),v=o(521496),w=o(663147),y=o.n(w),x=o(125515),S=o.n(x),C=o(405057),T=o.n(C);const E=function(e){const t=l()(e.el),o=void 0===e.search||!!e.search,n=e.searchTreeSelector||null,r=void 0===e.autoHide||!!e.autoHide,a=!!e.showResultList;let d=!1;t.append(T().render(l().extend(e.trl,{title:e.title}),{search:o?S():null}));const u=l()(".Bloko-TreeSelectorPopup",t),h=l()(".Bloko-TreeSelectorPopup-SearchTreeSelector",t),g=l()(".Bloko-TreeSelectorPopup-Result",t),_=l()(".Bloko-TreeSelectorPopup-ResultContainer",t),w=l()(".Bloko-TreeSelectorPopup-ResultContainerXS",t),x=l()(".Bloko-TreeSelectorPopup-Submit",t);l()(".Bloko-TreeSelectorPopup-Cancel",t).on("click",function(){C.hide()});const C=k().make(s(),t.get(0)),E=k().make(b(),u.get(0),e.treeSelector),I=n?k().make(b(),h.get(0),{...e.treeSelector,...n}):null;let B=E,L=I;const M=function(){if(!a)return null;const t=k().make(y(),g.get(0),{items:p().getUniqueItems(B.getSelected()),treeSelectorType:e.treeSelector.type,onChange:e=>{V(e.map(e=>e.id))}});return W(),l()(window).on("resize",i.default.debounce(W,150)),t}();let N=!1;const P=new(f())(x),O=m().extend({treeSelector:E,searchTreeSelector:I,modal:C,loadingSetter:P,setErrorMessage:function(e){F.setMessage(e)},showError:function(){F.show()},hideError:function(){F.hide()},disableSubmit:function(){x.prop("disabled",!0)},enableSubmit:function(){x.prop("disabled",!1)},submitPopup:function(e){e&&O._trigger("Bloko-TreeSelectorPopup-Changed",$);d=!0,C.hide()},setHintElement:function(e){l()(".Bloko-TreeSelectorPopup-Hint",t).empty().append(e)},setSelected:V,change:function(e){B.change(e)},toggleDisabled:function(e){var t;B.toggleDisabled(e),null===(t=L)||void 0===t||t.toggleDisabled(e)}});const D=l()(".Bloko-TreeSelector-Element",u),A=l()(".Bloko-TreeSelector-Element",h),R=l()(".Bloko-TreeSelectorPopup-NotFoundHint",t),Z=l()(".Bloko-TreeSelector-Error",t);let j,$=[];const F=k().make(c(),Z.get(0),{message:e.trl&&e.trl.errorMessage?e.trl.errorMessage:""});function H(e){var t;$=$.concat(e),j=p().getUniqueItems(B.getSelected()),null===(t=L)||void 0===t||t.setSelected(j.map(e=>e.id)),q(j),O._trigger("Bloko-TreeSelectorPopup-SelectedChanged",e)}function q(e){M&&(M.setValue(e),M.toggle(!N&&e.length>0))}function W(){(0,v.getBreakpoint)()!==v.Breakpoint.XS?_.append(g):w.append(g)}function V(e){var t;(B.setSelected(e),null!=e&&e.length)||(null===(t=L)||void 0===t||t.setSelected([]),q([]))}return o&&l()(".Bloko-TreeSelectorPopup-Search",t).on("input change",i.default.throttle(e=>{var t;(function(e){if(!n)return!1;const t=null==e?void 0:e.trim();return t&&B!==I||!t&&B===I})(e.target.value)&&function(){B.off("Bloko-TreeSelector-Changed",H);const e=B;B=L,L=e,B.on("Bloko-TreeSelector-Changed",H),u.toggleClass("g-hidden"),h.toggleClass("g-hidden")}(),B.filterByContent(e.target.value),R.toggleClass("g-hidden",!!(B===I?A:D).not(".g-hidden").length),N=null===(t=e.target.value)||void 0===t?void 0:t.trim(),null==M||M.toggle(!N&&B.getSelected().length>0)},150)),C.on("showed",function(){d=!1,$=[],j=p().getUniqueItems(B.getSelected())}),C.on("hid",function(){d||(j=p().getSelectedItemsWithoutSelectedParent(j),B.setSelected(j.map(e=>e.id)))}),B.on("Bloko-TreeSelector-Changed",H),x.on("click",function(){r&&(d=!0,C.hide());
1O._trigger("Bloko-TreeSelectorPopup-Changed",$)}),O},I=k().build({create:(e,t)=>new E({el:e,treeSelector:t.treeSelector,autoHide:t.autoHide,search:t.search,searchTreeSelector:t.searchTreeSelector,showResultList:t.showResultList,trl:t.trl,title:t.title}),componentName:"bloko/blocks/treeSelectorPopup"})},580376:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(45003),l=o.n(n),i=o(497481),r=o.n(i),s=o(296641);const a=l().build({create:function(e,t){const o=t.onChange,n=document.createElement("div");let l=null;function i(i){const a="checkbox"===t.treeSelectorType?s.default.getSelectedItemsLeavesOnly(i):i;var c;c=a,n.innerHTML=r().render({hidden:!c.length,elements:c}),e.innerHTML="",l=n.firstChild,l.addEventListener("click",e=>{o(c.filter(t=>t.id!==e.target.value))}),e.append(l)}return i(t.items||[]),{setValue:i,toggle:function(e){var t;null===(t=l)||void 0===t||t.classList.toggle("g-hidden",!e)}}},componentName:"blocks/treeSelectorPopup/treeSelectorPopupResultList"})},93584:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(758162),l=o(761673),i=o.n(l);const r={"bloko-v-spacing-container":"bloko-v-spacing-container","bloko-v-spacing-container_base-0":"bloko-v-spacing-container_base-0","bloko-v-spacing-container_base-1":"bloko-v-spacing-container_base-1","bloko-v-spacing-container_base-2":"bloko-v-spacing-container_base-2","bloko-v-spacing-container_base-3":"bloko-v-spacing-container_base-3","bloko-v-spacing-container_base-4":"bloko-v-spacing-container_base-4","bloko-v-spacing-container_base-5":"bloko-v-spacing-container_base-5","bloko-v-spacing-container_base-6":"bloko-v-spacing-container_base-6","bloko-v-spacing-container_base-7":"bloko-v-spacing-container_base-7","bloko-v-spacing-container_base-8":"bloko-v-spacing-container_base-8","bloko-v-spacing-container_base-9":"bloko-v-spacing-container_base-9","bloko-v-spacing-container_base-10":"bloko-v-spacing-container_base-10","bloko-v-spacing-container_base-11":"bloko-v-spacing-container_base-11","bloko-v-spacing-container_base-12":"bloko-v-spacing-container_base-12","bloko-v-spacing-container_base-13":"bloko-v-spacing-container_base-13","bloko-v-spacing-container_base-14":"bloko-v-spacing-container_base-14","bloko-v-spacing-container_xs-0":"bloko-v-spacing-container_xs-0","bloko-v-spacing-container_xs-1":"bloko-v-spacing-container_xs-1","bloko-v-spacing-container_xs-2":"bloko-v-spacing-container_xs-2","bloko-v-spacing-container_xs-3":"bloko-v-spacing-container_xs-3","bloko-v-spacing-container_xs-4":"bloko-v-spacing-container_xs-4","bloko-v-spacing-container_xs-5":"bloko-v-spacing-container_xs-5","bloko-v-spacing-container_xs-6":"bloko-v-spacing-container_xs-6","bloko-v-spacing-container_xs-7":"bloko-v-spacing-container_xs-7","bloko-v-spacing-container_xs-8":"bloko-v-spacing-container_xs-8","bloko-v-spacing-container_xs-9":"bloko-v-spacing-container_xs-9","bloko-v-spacing-container_xs-10":"bloko-v-spacing-container_xs-10","bloko-v-spacing-container_xs-11":"bloko-v-spacing-container_xs-11","bloko-v-spacing-container_xs-12":"bloko-v-spacing-container_xs-12","bloko-v-spacing-container_xs-13":"bloko-v-spacing-container_xs-13","bloko-v-spacing-container_xs-14":"bloko-v-spacing-container_xs-14"};var s=o(662191);const a=(0,n.forwardRef)((e,t)=>{let{base:o,xs:n,children:l}=e;return(0,s.jsx)("div",{ref:t,className:i()(r["bloko-v-spacing-container"],r[`bloko-v-spacing-container_base-${o}`],{[r[`bloko-v-spacing-container_xs-${n}`]]:void 0!==n}),children:l})})},242696:function(e,t,o){"use strict";o.r(t),o.d(t,{spacingMultipliers:()=>a,default:()=>c});var n=o(758162),l=o(761673),i=o.n(l);const r={"bloko-v-spacing":"bloko-v-spacing","bloko-highlight-indents":"bloko-highlight-indents","bloko-v-spacing_base-0":"bloko-v-spacing_base-0","bloko-v-spacing_base-1":"bloko-v-spacing_base-1","bloko-v-spacing_base-2":"bloko-v-spacing_base-2","bloko-v-spacing_base-3":"bloko-v-spacing_base-3","bloko-v-spacing_base-4":"bloko-v-spacing_base-4","bloko-v-spacing_base-5":"bloko-v-spacing_base-5","bloko-v-spacing_base-6":"bloko-v-spacing_base-6","bloko-v-spacing_base-7":"bloko-v-spacing_base-7","bloko-v-spacing_base-8":"bloko-v-spacing_base-8","bloko-v-spacing_base-9":"bloko-v-spacing_base-9","bloko-v-spacing_base-10":"bloko-v-spacing_base-10","bloko-v-spacing_base-11":"bloko-v-spacing_base-11","bloko-v-spacing_base-12":"bloko-v-spacing_base-12","bloko-v-spacing_base-13":"bloko-v-spacing_base-13","bloko-v-spacing_base-14":"bloko-v-spacing_base-14","bloko-v-spacing_xs-0":"bloko-v-spacing_xs-0","bloko-v-spacing_xs-1":"bloko-v-spacing_xs-1","bloko-v-spacing_xs-2":"bloko-v-spacing_xs-2","bloko-v-spacing_xs-3":"bloko-v-spacing_xs-3","bloko-v-spacing_xs-4":"bloko-v-spacing_xs-4","bloko-v-spacing_xs-5":"bloko-v-spacing_xs-5","bloko-v-spacing_xs-6":"bloko-v-spacing_xs-6","bloko-v-spacing_xs-7":"bloko-v-spacing_xs-7","bloko-v-spacing_xs-8":"bloko-v-spacing_xs-8","bloko-v-spacing_xs-9":"bloko-v-spacing_xs-9","bloko-v-spacing_xs-10":"bloko-v-spacing_xs-10","bloko-v-spacing_xs-11":"bloko-v-spacing_xs-11","bloko-v-spacing_xs-12":"bloko-v-spacing_xs-12","bloko-v-spacing_xs-13":"bloko-v-spacing_xs-13","bloko-v-spacing_xs-14":"bloko-v-spacing_xs-14"};var s=o(662191);const a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],c=(0,n.forwardRef)((e,t)=>{let{base:o,xs:n,source:l}=e;return(0,s.jsx)("div",{ref:t,className:i()(r["bloko-v-spacing"],r[`bloko-v-spacing_base-${o}`],{[r[`bloko-v-spacing_xs-${n}`]]:void 0!==n}),source:l})})},478091:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=o(221135).L},725723:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=()=>{const e={};return{setTimeout:(t,o)=>{const n=window.setTimeout(i,o),l=Date.now()+o;return e[n]={cb:i,delay:o,scheduledTime:l},n;function i(){delete e[n],t()}},clearTimeout:t=>{window.clearTimeout(t),delete e[t]},pause:()=>
1{Object.entries(e).forEach(e=>{let[t,o]=e;window.clearTimeout(Number(t)),o.delay=o.scheduledTime-Date.now()})},resume:()=>{Object.values(e).forEach(e=>{window.setTimeout(e.cb,e.delay),e.scheduledTime=Date.now()+e.delay})}}}},320356:function(e,t,o){"use strict";o.r(t),o.d(t,{getActiveTabMarginLeft:()=>i,getAdaptiveSettings:()=>r,getClientX:()=>c,isScrollExceedsThreshold:()=>s});const n=34,l=10;function i(e){let{tabsWrapperElement:t,tabsItemsElement:o,activeTabElement:n}=e;const l=t.getBoundingClientRect().width,i=n.getBoundingClientRect().left;return(l-n.getBoundingClientRect().width)/2-(i-o.getBoundingClientRect().left)}function r(e){let{tabsWrapperElement:t,tabsItemsElement:o,tabsMarginLeft:l}=e;const i=t.getBoundingClientRect().width,r=o.getBoundingClientRect().width,s=1.5*n+r,a=s>i;l>0&&(l=0),l+s<i&&(l=i-s);let c=l<0,d=l+s>i;return a||(l=0,c=!1,d=!1),{isAdaptiveMode:a,tabsMarginLeft:l,showLeftGlare:c,showRightGlare:d}}function s(e,t){const o=c(t);return Math.abs(e-o)>l}const a=e=>Boolean(e.touches);function c(e){return a(e)?e.touches[0].clientX:e.clientX}},991102:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=function(){if("undefined"==typeof window||window.bloko&&window.bloko.isTest)return!1;const e=document.createElement("fakeElement"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend",OAnimation:"oAnimationEnd",MsAnimation:"msAnimationEnd",MozAnimation:"animationend"};for(const o of Object.keys(t))if(void 0!==e.style[o])return t[o];return!1}()},616261:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});const n=" ʼ’'`-",l="(?:[{prefix}]|^)[^{prefix}]*".replace(/\{prefix\}/g,n);function i(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(new RegExp(l,"g"),e=>{const t=new RegExp("[{prefix}]".replace("{prefix}",n),"g"),o=-1===e.search(t)?1:2;return e.slice(0,o).toUpperCase()+e.slice(o).toLowerCase()})}},772847:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a});var n=o(16315),l=o(492598),i=o.n(l),r=o(642132),s=o.n(r);const a=function(e){const t=i().extend(this),o=e||s(),l=new Set;function r(e){const o=function(e,t){const o={added:[],removed:[]};return e.forEach(e=>{t.has(e)||o.removed.push(e)}),t.forEach(t=>{e.has(t)||o.added.push(t)}),o}(e,l);(o.added.length||o.removed.length)&&t._trigger("change",o)}return n.default.extend(t,{get:function(){return[...l.values()]},set:function(e){const t=new Set(l.values());o.set(l,e),r(t)},add:function(e){const t=new Set(l.values());o.add(l,e),r(t)},remove:function(e){const t=new Set(l.values());o.remove(l,e),r(t)},contains:function(e){return l.has(e)}})}},402270:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=function(){return function(e,t,o){return o?!e.has(t)&&(e.size&&e.clear(),e.add(t),!0):!!e.has(t)&&(e.delete(t),!0)}}},615468:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(301883),l=o.n(n);const i=function(e,t,o){function n(o,n){let l=!1;const i=e.getChildren(n).every(n=>{const i=t(n.id,e);return l=l||i,o.has(n.id)||!i});return l?i:o.has(n)}return function(i,r,s){l()(i,r,s)&&!o.withExcluded&&e.walkParents(r,o=>{t(o.id,e)&&l()(i,o.id,n(i,o.id))}),function(o,n,i){e.walkChildren(n,n=>{t(n.id,e)&&l()(o,n.id,i)})}(i,r,s),function(o,i){e.hasChildren(i)&&e.getChildrenIds(i).reduce((o,n)=>{const l=e.getParentIdsDuplicates(n).filter(n=>n!==i&&!o.includes(n)&&t(n,e));return o.concat(l)},[]).forEach(e=>l()(o,e,n(o,e)))}(i,r)}}},159400:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=function(e,t){function o(o,l,i){o.length?i.forEach(r=>{if(t(r,e))if(l.has(r))l.delete(r),e.walkChildren(r,e=>{let{id:t}=e;return n({excluded:l,ids:i,items:o,childId:t,isAdding:!1})});else{const{isParentExcluded:t,isParentSelected:s}=function(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const l=e.getParentId(o);return{isParentSelected:l?t.includes(l):e.getTopLevel().includes(o),isParentExcluded:Boolean(l&&n.includes(l))}}(e,o,r,[...l]),a=s||t;a&&l.add(r),e.walkChildren(r,e=>{let{id:t}=e;return n({excluded:l,ids:i,items:o,childId:t,isAdding:a})})}}):l.clear()}function n(e){let{excluded:t,ids:n,items:l,childId:i,isAdding:r}=e;return!n.includes(i)&&(r?!t.has(i):t.has(i))&&o(l,t,[i])}return o}},290520:function(e,t,o){"use strict";function n(e,t,o){return o&&!e.has(t)?(e.add(t),!0):!(o||!e.has(t))&&(e.delete(t),!0)}o.r(t),o.d(t,{default:()=>n})},251770:function(e,t,o){"use strict";function n(e,t){t.forEach(t=>{e.add(t)})}o.r(t),o.d(t,{default:()=>l});const l={add:n,remove:function(e,t){t.forEach(t=>{e.delete(t)})},set(e,t){e.clear(),n(e,t)}}},885370:function(e,t,o){"use strict";var n;o.r(t),o.d(t,{default:()=>l}),function(e){e.NoTransition="g-notransition",e.AnimFade="g-anim-fade",e.AnimFadeIn="g-anim-fade_in",e.Hidden="g-hidden",e.ScrollMeasure="scroll-measure"}(n||(n={}));const l=n},631:function(e,t,o){"use strict";let n;o.r(t),o.d(t,{KeyCode:()=>n,default:()=>i}),function(e){e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e[e.Comma=44]="Comma",e[e.Period=46]="Period",e[e.Enter=13]="Enter",e[e.ESC=27]="ESC",e[e.Tab=9]="Tab",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.SpecialChar=32]="SpecialChar",e[e.Delete=46]="Delete",e[e.BackSpace=8]="BackSpace"}(n||(n={}));
1const l={188:n.Comma,190:n.Period},i={getChar:e=>e.which?e.which<n.SpecialChar?null:String.fromCharCode(l[e.which]||e.which):null}},154534:function(e,t,o){"use strict";var n;o.r(t),o.d(t,{default:()=>l}),function(e){e.AboveContent="above-content",e.Floating="floating",e.Overlay="overlay",e.OverlayContent="overlay-content",e.AboveOverlayContent="above-overlay-content",e.Topmost="topmost"}(n||(n={}));const l=n},944675:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={BUTTON_LEFT:0,BUTTON_RIGHT:2}},289536:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(641208),l=o.n(n),i=o(308415),r=o.n(i);const s={build:e=>function(t,o,n){if(!0!==n&&r().log("out error",new Error(`[${e.componentName}] Direct call is prohibited (use Components.make)`)),!t||!("nodeName"in t))throw new TypeError(`[${e.componentName}] First argument is not of type Element`);const i=l().extend(!0,{},e.defaults||{},o);return e.create.call(null,t,i)},init(e,t){if(!e||!("nodeName"in e))throw new TypeError("First argument is not of type Element");if(!t)throw new TypeError("Import Function as a second argument is required");const o=this,n=[];return l()("script[data-name]",e).each((e,i)=>{const s=l()(i),a=s.data("name");let c,d=s.attr("data-params");c="prev"===s.data("for")?s.prev().get(0):i.parentNode;let b={};if(d&&d.length){d=d.trim().replace(/(\n|\r)/g,"");try{b=JSON.parse(d)}catch(e){return void r().log("out error",new Error(`Syntax Error in JSON params in component ${a}`),{paramsString:d.replace(/\s{2,}/g," ")})}}const u=l().Deferred();t(a).then(e=>{let t;try{t=o.make(e,c,b,a)}catch(e){r().log("out error",e,{explain:`Error while creating ${a}`}),u.reject()}u.resolve(t)},e=>{r().log("out error",e,{explain:`Error while loading ${a}`}),u.reject()}),n.push(u.promise())}),l().when(...n)},make:(e,t,o)=>e(t,o,!0)}},619761:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=o(413296).c},66916:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t)=>{let o;const n=function(){for(var n=arguments.length,l=new Array(n),i=0;i<n;i++)l[i]=arguments[i];o&&clearTimeout(o),o=setTimeout(()=>{o=null,e.apply(this,l)},t)};return n.cancel=()=>{o&&clearTimeout(o),o=null},n}},90507:function(e,t,o){"use strict";o.r(t),o.d(t,{Bound:()=>i,default:()=>a});var n=o(923496),l=o.n(n);let i;!function(e){e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right"}(i||(i={}));const r=e=>{let{entry:t,rect:o,trackingBounds:n=[i.Bottom],entryPercent:l=0}=e;const{windowWidth:r,windowHeight:s}=(e=>{var t,o;return{windowWidth:(null==e||null===(t=e.rootBounds)||void 0===t?void 0:t.width)||window.innerWidth||document.documentElement.clientWidth,windowHeight:(null==e||null===(o=e.rootBounds)||void 0===o?void 0:o.height)||window.innerHeight||document.documentElement.clientHeight}})(t),a={[i.Top]:()=>o.top<=s&&o.top>=0,[i.Bottom]:()=>o.top+o.height<=s&&o.top+o.height>0,[i.Left]:()=>o.left<=r&&o.left>0,[i.Right]:()=>o.left+o.width<=r&&o.left+o.width>0};let c=!0;return l?((e,t,o)=>e.top+e.height/(1/t)<=o&&e.top+e.height>0)(o,l,s):(n.some(e=>{const t=a[e]();return c=c&&t,!t}),c)},s=(e,t)=>{let o=null;return(n,i)=>{if(n){if(!t.onShow)return o;t.elementLockTime?o=setTimeout(()=>{o=null;var n;r({entry:i,rect:l().getBoundingClientRect(e),...t})&&(null===(n=t.onShow)||void 0===n||n.call(t))},t.elementLockTime):t.onShow()}else if(o)clearTimeout(o),o=null;else{var s;null===(s=t.onHide)||void 0===s||s.call(t)}return o}},a=(e,t)=>"IntersectionObserver"in window?((e,t)=>{const o=s(e,t);let n,l;const i=e=>{const i=e[0],s=r({entry:i,rect:i.boundingClientRect,...t});s!==n&&(l=o(s,i),n=s)};let a;const c=[0,1];t.entryPercent&&c.push(t.entryPercent);try{a=new IntersectionObserver(i,{threshold:c,root:t.rootElement,rootMargin:t.rootMargin})}catch(e){a=new IntersectionObserver(i,{threshold:c})}const d=()=>{n=!1,a.observe(e)};return d(),{stopSpying:()=>{l&&clearTimeout(l),a.disconnect()},startSpying:d}})(e,t):((e,t)=>{const o={trackingInterval:500,...t},n=s(e,o);let i,a,c;const d=()=>{const t=r({rect:l().getBoundingClientRect(e),...o});t!==i&&(c=n(t),i=t)},b=()=>{i=!1,a=setInterval(d,o.trackingInterval)};return b(),{stopSpying:()=>{c&&clearTimeout(c),clearInterval(a)},startSpying:b}})(e,t)},470288:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});const n=/[|![\]^$(){}+=?.*\\]/g,l=e=>e.replace(n,"\\$&")},364907:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t)=>new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:t})},628147:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(288153),l=o.n(n),i=o(16315);const r={_trigger(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];l().Events.trigger.call(this,...t)},on:l().Events.on,off:l().Events.off,once:l().Events.once},s={extend:e=>i.default.extend(e,r)}},504414:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(753790),l=o.n(n);const i=(e,t)=>{const o=new RegExp(Object.keys(t).map(e=>l()(e)).join("|"),"g");return e.replace(o,e=>`${t[e]}`)}},567891:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>g});var n=o(277697),l=o(753790),i=o.n(l);const r=/[её]/g,s=/\s+/g;function a(e){return e.replace(s," ").trim()}function c(e){return i()(e).replace(r,"[её]")}const d="qwertyuiopasdfghjkl;'zxcvbnm,QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>`~[].".split(""),b="йцукенгшщзфывапролджэячсмитьбЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮёЁхъю".split("");function u(e,t){return e.reduce((e,o,n)=>(e[o]=t[n],e),{})}const p={russian:u(d,b),english:u(b,d)};function h(e,t){return e.split("").map(e=>t[e]||e).join("")}const k=(0,n.Z)(e=>{const t=a(e);if(t.length){const e=(o=t,[o.toLowerCase(),h(o,p.russian).toLowerCase(),h(o,p.english).toLowerCase()]).map(c),n=new RegExp(`(^|[^a-zа-яё])(${e.join("|")})`);return e=>n.test(a(e).toLowerCase())}var o;return()=>!0});const g={match:function(e,t){return k(e)(t)}}},472261:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});function n(e){return e*(180/Math.PI)}function l(e){return 6356.8*Math.abs(e)/90}
1function i(e){return l(e)*Math.cos(e*(Math.PI/180))}const r={getBoundPoints:function(e,t){const o=e[0],r=e[1],s=n(t/l(o)),a=n(t/i(o));return[[Math.max(o-s,-90),Math.max(r-a,-180)],[Math.min(o+s,90),Math.min(r+a,180)]]}}},687490:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=e=>{let{one:t,some:o,many:n,value:l}=e;const i=l%10,r=l%100;let s;return s=Math.round(l)!==l||r>=5&&r<=20?n:1===i?t:i>=2&&i<=4?o:n,s}},439777:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(308415),l=o.n(n),i=o(149262),r=o.n(i);const s=function(){let{version:e="2.1.79",lang:t="ru_RU",apiKey:o="9579efd9-168f-4cdd-8940-2fbd5548bc5b",suggestApiKey:n="ab255225-48b2-4cc9-84e7-25979be3fee2",rejectOnError:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return window.blokoYmapsPromise||(window.blokoYmapsPromise=new Promise((s,a)=>{window.blokoYmapsPromiseResolve=s,window.blokoYmapsPromiseReject=e=>{i?a(e):l().log("error",`Ymaps error: ${e}`)};const c=r()(`https://api-maps.yandex.ru/${e}/`);c.params={onload:["blokoYmapsPromiseResolve"],onerror:["blokoYmapsPromiseReject"],lang:[t],apikey:[o],suggest_apikey:[n]};const d=document.createElement("script");d.onerror=()=>{const e=`Ymaps loading error: ${c.href}`;i?a(new Error(e)):l().log("error",e)},d.src=c.href,document.head.appendChild(d)})),window.blokoYmapsPromise}},77098:function(e,t,o){"use strict";o.r(t),o.d(t,{childrenInstanceOf:()=>r,componentInvariants:()=>i,default:()=>a,instanceOfDOMNodeOrNull:()=>s});var n=o(758162),l=o(395932);const i=e=>(t,o,n)=>{if(!(0,l.isValidElementType)(t[o])&&!e.includes(t[o]))return new TypeError(`Invalid prop ${o} supplied to ${n}. Expected one of tags: ${e} or function`)},r=e=>(t,o,l)=>{if(!n.Children.toArray(t[o]).every(t=>e.includes(t.type)))return new TypeError(`Invalid prop ${o} supplied to ${l}. Allowed types ${e.map(e=>{let{name:t}=e;return t})}`)},s=()=>(e,t,o)=>{if(!(null===e[t]||"undefined"!=typeof window&&"Node"in window&&e[t]instanceof window.Node))return new TypeError(`Invalid prop ${t} supplied to ${o}. Allowed types instanceof window.Node or null`)},a={componentInvariants:i,childrenInstanceOf:r,instanceOfDOMNodeOrNull:s}},945152:function(e,t,o){"use strict";o.r(t),o.d(t,{escape:()=>l,unescape:()=>i});const n=e=>{const t=t=>e[t],o=`(?:${Object.keys(e).join("|")})`,n=RegExp(o),l=RegExp(o,"g");return function(e){return e=null==e?"":`${e}`,n.test(e)?e.replace(l,t):e}},l=n({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}),i=n({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"})},314040:function(){},410345:function(e,t,o){"use strict";o.r(t)},223279:function(e,t,o){"use strict";o.r(t),o.d(t,{Breakpoint:()=>r.Breakpoint,default:()=>c});var n=o(758162),l=o(744054),i=o.n(l),r=o(521496),s=o(245370),a=o.n(s);const c=e=>{const{breakpoint:t}=i()(),o=null!=t?t:e||r.DEFAULT_BREAKPOINT,[l,s]=(0,n.useState)(o),c=(0,n.useCallback)(()=>{const e=(0,r.getBreakpoint)();s(e)},[]);return(0,n.useEffect)(c),a()(c),l}},222746:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=(e,t)=>{const o=(0,n.useRef)(e),l=(0,n.useRef)(null);(0,n.useEffect)(()=>{o.current=e},[e]);const i=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{var e;null===(e=o.current)||void 0===e||e.apply(this,n)},t)};return i.cancel=()=>{l.current&&(clearTimeout(l.current),l.current=null)},i}},708411:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=e=>{let{controlledValue:t,defaultValue:o,onChangeProp:l}=e;const[i,r]=(0,n.useState)(o),s=(0,n.useCallback)(e=>{return l?l(e):r(null!=(t=e)&&t.target?e.target.value:e);var t},[l]);return{value:l||t?t:i,onChange:s}}},355290:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);function l(e){const t=(0,n.useRef)(e);t.current=e,(0,n.useEffect)(()=>{const e=e=>t.current(e);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[])}},277619:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(758162);const l=()=>
1{const[e,t]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{t(!1)},[]),e}},487074:function(e,t,o){"use strict";o.r(t),o.d(t,{T:()=>d,TranslationLangContext:()=>a,default:()=>b});var n=o(758162),l=o(308415),i=o.n(l),r=o(662191);function s(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const a=(0,n.createContext)(""),c=e=>e?` in "${e.displayName||""}"`:"";class d extends n.PureComponent{constructor(){super(...arguments),s(this,"state",{failed:!1})}static getDerivedStateFromError(){return{failed:!0}}componentDidCatch(e,t){let{componentStack:o}=t;i().log("out error",e,{componentStack:o})}render(){if(this.state.failed)return null;const{Element:e,forwardRef:t,trls:o,...n}=this.props;return(0,r.jsx)(e,{...n,trls:o,ref:t})}}d.displayName="common/hooks/useTranslations/T";const b=(e,t,o,l)=>{const r=(0,n.useContext)(a)||o;if(!t[r]){const o=`The translation lang "${r}" is undefined${c(e)}`;i().log("out error",new Error(o),{trls:t})}return(0,n.useMemo)(()=>((e,t,o,n)=>o||!("Proxy"in window)?e[t]:new Proxy(e[t],{get(e,t){if("string"!=typeof t||"constructor"===t||"@@toStringTag"===t||"$$typeof"===t)return null;if("undefined"===t){const t=JSON.stringify(e),o=`The translation key is undefined${c(n)}"`;i().log("out error",new Error(o),{trls:t,sentryFingerprint:[!!n&&n.displayName,"translation-key"].filter(
1Boolean)})}else if(!e[t]){const o=JSON.stringify(e),l=`The translation key ${t} does not exist${c(n)}"`;i().log("out error",new Error(l),{trls:o,sentryFingerprint:[!!n&&n.displayName,"translation-key"].filter(Boolean)})}return e[t]}}))(t,r,l,e),[e,l,r,t])}},466143:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t)=>e.hasOwnProperty(t)},304819:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(641208),l=o.n(n);const i={"bloko-button":"bloko-button_loading","bloko-loading":"bloko-loading_visible"};function r(e){const t=l()(e),o=function(){for(const e in i)if(t.hasClass(e))return i[e];return null}();this.start=function(){o&&t.addClass(o)},this.stop=function(){o&&t.removeClass(o)}}},856768:function(e,t,o){"use strict";o.r(t),o.d(t,{getBreakpoint:()=>b,Breakpoint:()=>l,DEFAULT_BREAKPOINT:()=>r,calculateCurrentBreakpoint:()=>a});const n="bloko-media-marker";let l;var i;(i=l||(l={})).XS="xs",i.S="s",i.M="m",i.L="l";const r=l.XS;let s;const a=()=>{if(!("getComputedStyle"in window))return r;s=s||function(){const e=document.createElement("div");return e.className=n,document.body.appendChild(e),e}();return function(e){if(!e)return r;const t=e.getPropertyValue("font-family").replace(/['"]/g,"");return t&&Object.values(l).find(e=>e===t)||r}(window.getComputedStyle(s))};let c=r;const d=()=>{c=a()};"undefined"!=typeof window&&(window.addEventListener("resize",d),d());const b=()=>c},955484:function(e,t,o){"use strict";o.r(t),o.d(t,{Placement:()=>r,PlacementDirection:()=>i,default:()=>b});var n=o(376750),l=o.n(n);let i,r;!function(e){e.Top="top",e.Bottom="bottom",e.Right="right",e.Left="left"}(i||(i={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.TopStart="top-start",e.TopEnd="top-end",e.RightStart="right-start",e.RightEnd="right-end",e.BottomStart="bottom-start",e.BottomEnd="bottom-end",e.LeftStart="left-start",e.LeftEnd="left-end"}(r||(r={}));const s={top:0,left:0,width:0,height:0,right:0,bottom:0},a=e=>e&&"get"in e&&"function"==typeof e.get&&e.get(0)?e.get(0):e;function c(e,t,o){const n=[];return e<o.left&&n.push(r.Left),e>o.right&&n.push(r.Right),t<o.top&&n.push(r.Top),t>o.bottom&&n.push(r.Bottom),n}const d=e=>{if(e===document.body||"relative"===getComputedStyle(e).position||"sticky"===getComputedStyle(e).position)return e;const t=e.parentElement;return null===t?e:d(t)},b={getElement:a,getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(e){return{...s}}},getMetrics(e){const t=a(e),o={...s};if(!t)return o;const n=this.getBoundingClientRect(t);return o.width=n.width,o.height=n.height,o.left=n.left+window.pageXOffset,o.top=n.top+window.pageYOffset,o.right=o.left+o.width,o.bottom=o.top+o.height,o},getRelativeMetrics(e){const t=a(e),o={...s};if(!t)return o;const n=this.getBoundingClientRect(t);if(window.SVGElement&&t instanceof window.SVGElement){const e=this.getBoundingClientRect(d(t));o.top=n.top-e.top,o.left=n.left-e.left}
1else"offsetTop"in t&&"offsetLeft"in t&&(o.top=t.offsetTop,o.left=t.offsetLeft);return o.width=n.width,o.height=n.height,o.right=o.left+o.width,o.bottom=o.top+o.height,o},getDocumentMetrics:()=>({width:document.body.scrollWidth,height:document.body.scrollHeight,left:0,top:0,right:document.body.scrollWidth,bottom:document.body.scrollHeight}),getViewportMetrics:()=>({width:window.innerWidth,height:window.innerHeight,left:window.pageXOffset,top:window.pageYOffset,right:window.pageXOffset+window.innerWidth,bottom:window.pageYOffset+window.innerHeight}),isPointInRectangle:(e,t,o)=>0===c(e,t,o).length,isRectangleInRectangle(e,t){return this.isPointInRectangle(e.left,e.top,t)&&this.isPointInRectangle(e.right,e.bottom,t)},checkIfRectangleInRectangle:(e,t)=>[...new Set([...c(e.left,e.top,t),...c(e.right,e.bottom,t)])],getScrollbarWidth(){const e=document.createElement("div");e.classList.add(l().ScrollMeasure),document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},getWindowScrollHeight:()=>Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),getOuterWidth(e){const t=getComputedStyle(e);let o=e.offsetWidth;return o+=parseInt(t.marginLeft,10)+parseInt(t.marginRight,10),o},isVisible:e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}},772802:function(e,t,o){"use strict";
1o.r(t),o.d(t,{NoscrollCssClasses:()=>s,default:()=>d});var n=o(923496),l=o.n(n),i=o(535265),r=o.n(i);let s,a;!function(e){e.General="bloko-modal-no-scroll",e.Ios="bloko-modal-no-scroll_ios"}(s||(s={}));let c=0;const d={enableScroll:()=>{c-=1,c>0||(document.body.style.paddingRight="",document.body.classList.remove(s.General),document.body.classList.remove(s.Ios),document.documentElement.classList.remove(s.General),document.documentElement.classList.remove(s.Ios),void 0!==a&&(window.scrollTo(0,a),a=void 0))},disableScroll:()=>{if(c+=1,c>1)return;a=window.pageYOffset;const e=parseInt(document.body.style.paddingRight||"0",10);document.body.style.paddingRight=`${e+l().getScrollbarWidth()}px`,document.body.classList.add(s.General),r().ios()&&(document.body.classList.add(s.Ios),document.documentElement.classList.add(s.General),document.documentElement.classList.add(s.Ios))}}},422874:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});const n=["-","−"],l={groupSeparator:" ",decimalMark:",",groupSize:3,decimalLength:2,allowNegative:!0};const i={format:function(e,t){const o={...l,...t},i=new RegExp(`\\B(?=(\\d{${o.groupSize}})+(?!\\d))`,"g"),r=function(e,t){const o=e.trim(),l=t.allowNegative&&n.includes(o[0])?"-":"",i=o.replace(/[^\d.,]+/g,"").replace(/[.,]/,"#").replace(/[.,]/g,""),r=`${l}${i}`.split("#");if(null===t.decimalLength)return r.join(".");if(0===t.decimalLength||1===r.length)return r[0];return`${r[0]}.${r[1].slice(0,t.decimalLength)}`}(e,o).split(".");return r[0]=r[0].replace(i,o.groupSeparator).replace(/^-/,"−"),""===r[0]&&1===r.length?"":""===r[1]?r[0]:(""===r[0]&&(r[0]="0"),r.join(o.decimalMark))}}},468002:function(e,t,o){"use strict";o.r(t),o.d(t,{NumberValidatorError:()=>l,default:()=>i});const n={groupSeparator:" ",decimalMark:",",decimalLength:2,allowNegative:!1};let l;!function(e){e.NotNumber="notNumber",e.DecimalLength="decimalLength"}(l||(l={}));const i={validate:function(e,t){const o={...n,...t},i=[];if(""===e)return i;return(0===o.decimalLength?/^[\d]*$/:new RegExp(`^${o.allowNegative?"-?":""}\\d+${o.decimalMark}?\\d*$`)).test(e.replace("−","-").split(o.groupSeparator).join(""))||i.push(l.NotNumber),o.decimalLength&&(e.split(o.decimalMark)[1]||[]).length>o.decimalLength&&i.push(l.DecimalLength),i}}},572962:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(641208),l=o.n(n);const i=function(e,t){const o=l()(e).first(),n=`bloko-ready-${t}`;let i=o.data(n);return i||(i=l().Deferred(),o.data(n,i)),i},r={resolve:(e,t,o)=>i(e,t).resolve(o),getPromise:(e,t)=>i(e,t).promise()}},284831:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=o(951553).D},464464:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=o(314384).k},45431:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=o(441227).S},638281:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>a,mockComponent:()=>r,mockComponentRenderProp:()=>s});var n=o(758162),l=o(662191);function i(e,t){delete t.type,delete t.$$typeof,delete t.render;for(const o in t)e[o]=t[o]}const r=function(e,t){let{withChildren:o,innerDependence:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=(0,n.forwardRef)((t,n)=>{let{children:i,...s}=t;return(0,l.jsxs)("bloko-component-mock",{...s,_component:e,children:[r?r(s,n):null,o?i:null]})});return t&&i(s,t),s.displayName="bloko-ref",s},s=function(e,t){let{withChildren:o,innerDependence:n,renderArguments:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{renderArguments:[]};const s=t=>{let{render:i,children:s,...a}=t;return(0,l.jsxs)("bloko-component-mock-render-prop",{...a,_component:e,children:[n?n(a):null,o?s:null,null==i?void 0:i(...r||[])]})};return t&&i(s,t),s.displayName="bloko-component-mock-render-prop",s},a={}},335506:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(535265),l=o.n(n),i=o(15482),r=o.n(i),s=o(521157),a=o.n(s);const c=l().localStorage()?a()(window.localStorage):new(r())},792348:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=function(){let e={};this.length=0,this.key=function(t){const o=Object.keys(e);return t<o.length?o[t]:null},this.setItem=function(t,o){e.hasOwnProperty(t)||(this.length+=1),e[t]=String(o)},this.getItem=function(t){return e.hasOwnProperty(t)?e[t]:null},this.removeItem=function(t){this.length-=1,delete e[t]},this.clear=function(){this.length=0,e={}},this.getLength=function(){return this.length}}},310493:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>c});var n=o(535265),l=o.n(n),i=o(15482),r=o.n(i),s=o(521157),a=o.n(s);const c=l().sessionStorage()?a()(window.sessionStorage):new(r())},871132:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=function(e){return{key(t){try{return e.key(t)}catch(e){return null}},getItem(t){try{return e.getItem(t)}catch(e){return null}},setItem(t,o){try{e.setItem(t,o)}catch(n){try{e.removeItem(t),e.setItem(t,o)}catch(e){}}},removeItem(t){try{e.removeItem(t)}catch(e){}},clear(){try{e.clear()}catch(e){}},getLength(){try{return e.length}catch(e){return 0}}}}},603973:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});const n=function(e){let t;return function(){return void 0===t&&(t=e()),t}},l=function(e,t){return function(){try{return window[e].setItem(t,t),window[e].removeItem(t),!0}catch(e){return!1}}};let i;const r=()=>(void 0===i&&(i=navigator.userAgent.toLowerCase()),i),s={localStorage:n(l("localStorage","_bloko_hh_test_local_storage")),sessionStorage:n(l("sessionStorage","_bloko_hh_test_session_storage")),historyApi:n(()=>
1!(!window.history||!window.history.pushState)),android:n(()=>/android/i.test(r())&&!/IEMobile/i.test(r())&&!/(ipad|ipod|iphone)/i.test(r())),IEMobile:n(()=>/IEMobile/i.test(r())),IE:n(()=>/MSIE/i.test(r())||/trident/.test(r())&&/rv:11/.test(r())||/edge/.test(r())),mobile:n(()=>/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(r())),ios:n(()=>/(ipad|ipod|iphone)/i.test(r())),webkit:n(()=>/webkit/i.test(r())),touch:n(()=>"ontouchstart"in window),inputTypeTime:n(()=>{const e=document.createElement("input");return e.setAttribute("type","time"),"time"===e.type})}},116216:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n={fromString:e=>e.replace(/^\s*<!--|-->\s*$/g,"").replace(/^\s*\n|\n\s*$/g,""),fromElement(e){return e instanceof Element?this.fromString(e.innerHTML):""}}},139604:function(e,t,o){"use strict";function n(e){this.name="TextSelectionError",this.message=e}function l(e){this.name="TextSelectionArgumentsError",this.message=e}o.r(t),o.d(t,{default:()=>c}),n.prototype=Error.prototype,l.prototype=Error.prototype;const i=function(){throw new n("Selection is not supported")};let r=i,s=i;const a="undefined"!=typeof window&&"document"in window?window.document:null;a&&"selectionStart"in a.createElement("input")?(r=function(e){return{start:e.selectionStart,end:e.selectionEnd,direction:e.selectionDirection||"none"}},s=function(e,t,o,n){"INPUT"===e.tagName&&"number"===e.type?(e.type="text",e.setSelectionRange(t,o,n),e.type="number"):e.setSelectionRange(t,o,n)}):a&&a.selection&&(r=function(e){const t=a.selection.createRange(),o=e.createTextRange(),n=o.duplicate();return o.moveToBookmark(t.getBookmark()),n.setEndPoint("EndToStart",o),{start:n.text.length,end:n.text.length+t.text.length,direction:"none"}},s=function(e,t,o){const n=e.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",o-t),n.select()});const c={get:e=>r(e),getCaretPosition(e){const t=this.get(e);return"forward"===t.direction?t.end:t.start},set(e,t,o,n){if("number"!=typeof t)throw new l("First argument of textSelection.set() must be a number");"number"!=typeof o&&(o=t),-1===["forward","backward","none"].indexOf(n)&&(n="none"),e.focus(),s(e,t,o,n)},setCaretPosition(e,t){this.set(e,t,t)}}},436316:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>n});const n=(e,t)=>{let o,n,l;const i=function i(){for(var r=arguments.length,s=new Array(r),a=0;a<r;a++)s[a]=arguments[a];if(o)return n=s,void(l=this);e.apply(this,s),o=setTimeout(()=>{o=null,n&&(i.apply(l,n),n=null)},t)};return i.cancel=()=>{o&&clearTimeout(o),n=null,o=null},i}},639010:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});const n=e=>{const t=e.indexOf("ms")>-1?1:1e3;return parseFloat(e.trim())*t},l=e=>e?Math.max(...e.split(",").map(n)):0,i=(e,t)=>{const o=t=>{t.target===e&&i()};e.addEventListener("transitionend",o);let n=0;function i(){r(),t()}function r(){window.clearTimeout(n),e.removeEventListener("transitionend",o)}const s=window.getComputedStyle(e),a=l(s.getPropertyValue("transition-duration")),c=l(s.getPropertyValue("transition-delay"));return n=window.setTimeout(i,1.5*(c+a)),r}},430237:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(288153);const l=o.n(n)().Collection.extend({converter(e,t,o){this.sortFucntion&&e.sort(this.sortFucntion.bind(this)),e.forEach(e=>{const n=this.parseItem(e,t);this.setupParent(n),e.items&&e.items.length>0&&this.converter(e.items,n,o),o.push(n),t.children?t.children.push(n.id):t.children=[n.id]})},parseItem:(e,t)=>({id:e.id,text:e.text,children:[],parent:t.id,removable:e.removable,editable:e.editable,selectable:e.selectable,disabled:e.disabled,hiddenValue:e.hiddenValue,additional:e.additional}),parse(e){const t=[];return e.forEach(e=>{e.id=e.id.toString(),e.parent&&(e.parent=e.parent.toString()),e.items&&this.converter(e.items,e,t),this.setupParent(e),e.items=null,t.push(e)}),t},setupParent(e){const t=this.get(e.parent);if(t){const o=t.get("children");return-1===o.indexOf(e.id)&&t.set("children",o.concat([e.id]),{silent:!0}),!0}return!1},toJSON(){const e=[];
1return this.models.forEach(t=>{t.has("parent")||e.push(t.toJSON())}),e}})},392926:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>s});var n=o(641208),l=o.n(n),i=o(539244),r=o.n(i);const s=r().extend({defaults:l().extend({},r().defaults,{changeable:!0,voted:!1,count:0})})},567579:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>i});var n=o(221639),l=o.n(n);function i(e,t){const o=new(l())(e,t);return{add(e,t){const n=new Set(e);return o.add(n,t),[...n]},exclude(e,t,n){const l=new Set(t);return o.exclude(e,l,n),[...l]},remove(e,t){const n=new Set(e);return o.remove(n,t),[...n]}}}},162541:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(288153),l=o.n(n),i=o(16315);const r=l().Model.extend({defaults:{id:null,text:"",expanded:!1,children:[],parent:null,items:null,hiddenValue:null,animated:!0,selectable:!1,disabled:!1,editable:!1,edited:!1},initialize(){this.set("id",this.get("id").toString(),{silent:!0})},toJSON(e){const t=i.default.clone(this.attributes);return t.items=[],t.removable=this.removable||!1,t.editable=this.editable||!1,t.selectable=this.selectable||!1,t.selected=this.get("selected")||!1,t.expanded=this.get("expanded")||!1,t.disabled=this.get("disabled")||!1,t.isNew=this.get("animated")&&(this.hasChanged("children")||this.newTag),t.hiddenValue=this.get("hiddenValue")||this.get("text"),e&&(this.newTag=!1),null===this.get("parent")&&(this.newTag=!1,t.children&&t.children.forEach(e=>{this.collection.get(e)&&t.items.push(this.collection.get(e).toJSON(!0))}),t.children=[]),t}})},329360:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>g});var n=o(474448),l=o.n(n),i=o(623479),r=o.n(i),s=o(704457),a=o.n(s),c=o(301883),d=o.n(c),b=o(308415),u=o.n(b),p=o(728867);function h(e,t,o){return t.filter(t=>o(t,e))}const k=()=>!0;const g=function(e,t){const o=t.checkSelectable||k,n=t.singleChoice?l()():r()(e,o,{withExcluded:t.withExcluded}),i=a()(e,o);function s(o,l){let i=(0,p.filterMissingIds)(e,l);t.singleCategory&&(i=(0,p.filterSingleCategory)(e,o,i)),t.singleChoice&&(i=function(e){return e.length>1?(u().log("out error",new Error("Collection accepts only one ID")),[e[e.length-1]]):e}(i)),t.leavesOnly&&(i=(0,p.filterParents)(e,i)),t.checkSelectable&&(i=h(e,i,t.checkSelectable)),t.leavesOnly&&!t.singleChoice?i.forEach(e=>{d()(o,e,!0)}):i.forEach(e=>{n(o,e,!0)})}return{add:s,remove:function(t,o){(0,p.filterMissingIds)(e,o).forEac
1h(e=>{n(t,e,!1)})},set:function(e,t){e.clear(),s(e,t)},exclude:function(o,n,l){const r=t.checkSelectable?h(e,(0,p.filterMissingIds)(e,l),t.checkSelectable):(0,p.filterMissingIds)(e,l);i(o,n,r)}}}},998135:function(e,t,o){"use strict";o.r(t),o.d(t,{createModel:()=>i,default:()=>r});var n=o(801817);function l(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const i=e=>{const t=e[n.CoreField.Id];if("string"!=typeof t)throw new Error(`Invalid ID: "${JSON.stringify(t)}"`);return{[n.CoreField.Id]:e[n.CoreField.Id],[n.CoreField.Text]:e[n.CoreField.Text],...n.CoreField.Additional in e?{[n.CoreField.Additional]:e[n.CoreField.Additional]}:{}}};const r=class{constructor(){l(this,"models",[]),l(this,"topLevelModels",[]),l(this,"modelsById",{}),l(this,"childrenById",{}),l(this,"parentsById",{})}addModel(e,t){const o=i(e),l=o[n.CoreField.Id];void 0===this.getModel(l)&&(this.models.push(o),this.modelsById[l]=o),t?(this.parentsById[l]=this.parentsById[l]||[],this.parentsById[l].push(t),this.childrenById[t]=this.childrenById[t]||[],this.childrenById[t].push(l)):this.topLevelModels.push(o)}toList(){return this.models.slice()}getTopLevel(){return this.topLevelModels.slice()}getModel(e){return this.modelsById.hasOwnProperty(e)?this.modelsById[e]:void 0}getExistModels(e){return e.reduce((e,t)=>{const o=this.getModel(t);return o&&e.push(o),e},[])}getParentId(e){return this.parentsById.hasOwnProperty(e)?this.parentsById[e][0]:void 0}getParent(e){const t=this.getParentId(e);return t?this.getModel(t):void 0}getParentIdsDuplicates(e){return this.parentsById.hasOwnProperty(e)?this.parentsById[e]:[]}getParentIds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const o=this.getParentIdsDuplicates(e);return o.length&&(t.push(...o),o.forEach(e=>this.getParentIds(e,t))),t}getParents(e){const t=this.getParentIds(e);return this.getExistModels(t)}hasChildren(e){return this.childrenById.hasOwnProperty(e)}getChildrenIds(e){return this.hasChildren(e)?this.childrenById[e].slice():[]}getChildren(e){const t=this.getChildrenIds(e);return this.getExistModels(t)}_walk(e,t,o){const n=o?o.slice():[];e.forEach(e=>{t(e,n);const o=this.getChildren(e.id);o&&o.length&&this._walk(o,t,[e].concat(n))})}walk(e){this._walk(this.getTopLevel(),e)}walkChildren(e,t){const o=this.getChildren(e);if(o.length){const n=this.getExistModels([e]).concat(this.getParents(e));this._walk(o,t,n)}}walkParents(e,t){const o=this.getParents(e);for(;o.length;){t(o.shift(),o.slice())}}toTree(e){const t=[],o={};return this.walk((n,l)=>{if(!e||e(n)){const e={...n};if(o[n.id]=e,0===l.length)t.push(e);else{const t=o[l[0].id];t.items||(t.items=[]),t.items.push(e)}}}),t}}},525634:function(e,t,o){"use strict";o.r(t),o.d(t,{extendExcludedFromParentsToChildren:()=>_,filterMissingIds:()=>d,filterParents:()=>b,filterSingleCategory:()=>u,filterTreeByIdsWithParents:()=>c,filterUniqueLeavesOnly:()=>h,filterWithParents:()=>p,fromTree:()=>r,getIdsWithNoParentsInSameList:()=>s,getParentsHashMap:()=>a,isNotLeaf:()=>k,narrowDownExcludedFromChildrenToParents:()=>m,removeExcludedFromSelected:()=>g,walk:()=>i});var n=o(923089),l=o.n(n);const i=(e,t,o)=>{const n=o?o.slice():[];e.forEach(e=>{t(e,n),e.items&&e.items.length&&i(e.items,t,[e].concat(n))})},r=(e,t)=>{const o=new(l());return i(e,(e,n)=>{"function"==typeof t&&t(e,n),o.addModel(e,n.length?n[0].id:void 0)}),o},s=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=t.reduce((t,n)=>(t[n]=e.getChildren(n).length>0&&!o.includes(n),t),{});return t.filter(t=>!e.getParentIdsDuplicates(t).some(e=>n.hasOwnProperty(e)&&n[e]))},a=(e,t)=>t.reduce((t,o)=>(e.getParentIds(o).forEach(e=>{t[e]=!0}),t),{}),c=(e,t)=>{const o=a(e,t);
1return t.forEach(e=>{o[e]=!0}),e.toTree(e=>o.hasOwnProperty(e.id))},d=(e,t)=>{const o=[];return t.forEach(t=>{e.getModel(t)&&o.push(t)}),o},b=(e,t)=>t.filter(t=>0===e.getChildrenIds(t).length),u=(e,t,o)=>{const n=t.values().next().value;if(!n)return o;const l=e.getParentId(n);return l?o.filter(t=>e.getParentId(t)===l):o},p=(e,t)=>{const o=new e.constructor,n=new Set;return e.walk((e,o)=>{t(e)&&(n.add(e.id),o.forEach(e=>{n.add(e.id)}))}),n.forEach(t=>{const n=e.getModel(t);if(n){const t=e.getParentIdsDuplicates(n.id);t.length?t.forEach(e=>{o.addModel({...n},e)}):o.addModel({...n})}}),o},h=(e,t)=>{const o=new(l());return e.walk(n=>{o.getModel(n.id)||e.hasChildren(n.id)||!t(n)||o.addModel({...n})}),o},k=(e,t)=>t.hasChildren(e),g=(e,t)=>[e.filter(e=>!t.includes(e)),t],m=(e,t)=>{const o=new Map;return t.reduce((n,l)=>{var i;const r=e.getParentId(l),s=e.getParentIds(l);if(n.includes(l)||r&&null!==(i=o.get(r))&&void 0!==i&&i.has(l)||s.some(e=>t.includes(e)))return n;const a=e.getChildrenIds(l);return a.length&&o.set(l,new Set(a
1)),n.push(l),n},[])},_=(e,t,o)=>t.length?o.reduce((o,n)=>(o.includes(n)||!e.getModel(n)||(e.walkChildren(n,e=>!t.includes(e.id)&&o.push(e.id)),o.push(n)),o),[]):[]},904263:function(e,t,o){"use strict";let n;o.r(t),o.d(t,{CoreField:()=>n}),function(e){e.Id="id",e.Text="text",e.Additional="additional"}(n||(n={}))},368095:function(e,t,o){"use strict";o.r(t),o.d(t,{format:()=>c,formatFromTo:()=>u,formatNewLine:()=>b,formatToReactComponent:()=>d});var n=o(758162),l=o(727038),i=o.n(l),r=o(14482),s=o.n(r),a=o(662191);const c=i(),d=(e,t)=>{const o=e;Object.keys(t).forEach((t,o)=>{e=e.replace(t,`#${o}#`)});const l=e.split(new RegExp(`${Object.keys(t).map((e,t)=>`#${t}#`).join("|")}`,"g")),i=Object.keys(t).map(e=>({index:o.indexOf(e),value:t[e]})).filter(e=>-1!==e.index).sort((e,t)=>e.index-t.index);return(0,a.jsx)(a.Fragment,{children:l.map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,t!==l.length-1&&i[t].value]},t))})},b=e=>{const t=e.split(/\n/gi),o=t.length-1;return(0,a.jsx)(a.Fragment,{children:t.map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,t<o&&(0,a.jsx)("br",{})]},t))})},u=(e,t,o)=>{let{from:n,to:l}=e,{trlFrom:r,trlTo:a,trlFromTo:c}=t;return n&&l?i()(c,{"{0}":s().format(n.toString(),o),"{1}":s().format(l.toString(),o)}):l?i()(a,{"{0}":s().format(l.toString(),o)}):n?i()(r,{"{0}":s().format(n.toString(),o)}):null}},213913:function(e,t,o){"use strict";o.r(t)},378971:function(e,t,o){"use strict";o.r(t),o.d(t,{DUMMY_HOST:()=>a,default:()=>b});const n=e=>[null,void 0].includes(e),l=e=>n(e)||Array.isArray(e)||!["function","object"].includes(typeof e);function i(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))throw new TypeError("GET параметры должны быть объектом.");if(!Object.values(e).every(l))throw new TypeError("Значение параметра должено быть массивом или примитивом");return Object.entries(e).filter(e=>!n(e[1])).reduce((e,t)=>{let[o,n]=t;return Array.isArray(n)?e.push(...n.map(e=>[o,e])):e.push([o,n]),e},[])}function r(e){const t=i(e);return new URLSearchParams(t).toString()}function s(e){return[...new URLSearchParams(e).entries()].reduce((e,t)=>{let[o,n]=t;return e[o]?(e[o].push(n),e):(e[o]=[n],e)},{})}const a="dummy.dummy",c=`https://${a}`;function d(e){let t=e;t||(t="");const o=new URL(t,c),n={params:s(o.search),protocol:o.protocol,hostname:o.hostname,host:o.host,port:o.port,pathname:o.pathname,search:o.search,hash:o.hash};return function(e,t){Object.defineProperty(e,"href",{get:()=>(o.search=r(e.params),o.hash=e.hash,o.href.replace(c,"")),set(t){o.href=t,e.params=s(o.search)},enumerable:t}),Object.defineProperty(e,"search",{get:()=>(o.search=r(e.params),o.search),set(t){o.search=t,e.params=s(o.search)},enumerable:t}),Object.defineProperty(e,"host",{get:()=>o.hostname.replace(a,"")+(""===o.port?"":`:${o.port}`),set(t){const[n,l]=t.split(":");o.hostname=n,l?e.port=l:o.port=""},enumerable:t}),Object.defineProperty(e,"hostname",{get:()=>o.hostname.replace(a,""),set(e){o.hostname=e},enumerable:t}),Object.defineProperty(e,"port",{get:()=>"0"===o.port||"80"===o.port?"":o.port,set(e){if(isNaN(parseInt(e,10)))throw new TypeError("Порт должен быть числом");o.port=e},enumerable:t}),Object.defineProperty(e,"protocol",{get:()=>o.protocol,set(e){o.protocol=e}}),Object.defineProperty(e,"pathname",{get:()=>0===o.pathname.indexOf("/")?o.pathname:`/${aContainer.url}`,set(e){o.pathname=e}})}(n,!0),n}d.stringify=e=>{if(!e)return"";let t=e;return Array.isArray(t)||(t=i(t)),new URLSearchParams(t).toString()};const b=d},620161:function(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>r});var n=o(641208),l=o.n(n);const i={"bloko-input-text":"bloko-input-text_invalid","bloko-select":"bloko-select_invalid","bloko-textarea":"bloko-textarea_invalid","bloko-custom-select":"bloko-custom-select_invalid","bloko-checkbox":"bloko-checkbox_invalid","bloko-radio":"bloko-radio_invalid","bloko-button":"bloko-button_invalid"};function r(e){const t=l()(e);if(t.data("validity-setter"))return;let o=!1;const n=function(){for(const e in i)if(t.hasClass(e))return i[e];return null}();t.on("setInvalid",function(){o=!0,n&&t.addClass(n)}.bind(null)),t.on("setValid",function(){o&&(o=!1,n&&t.removeClass(n))}.bind(null)),t.on("focusin",()=>{n&&t.removeClass(n)}),t.on("focusout",()=>{o&&n&&t.addClass(n)}),t.data("validity-setter",!0)}},561624:function(e,t,o){"use strict";o.r(t);o(687433),o(857915),o(426505),o(481739),o(953198),o(876862),o(373167),o(534054),o(744054),o(259355),o(594776),o(4376
158),o(55553),o(225745),o(723162),o(91440),o(559413),o(755141),o(522505),o(374421),o(687553),o(127096),o(758917),o(909818),o(473165),o(831090),o(442607),o(289129),o(378773),o(905626),o(697541),o(983793),o(616451),o(715883),o(4847),o(690385),o(703554),o(75381),o(374806),o(545609),o(327766),o(377005),o(463640),o(901072),o(961030),o(750947),o(693931),o(801309),o(859428),o(819823),o(210799),o(771795),o(595455),o(868234),o(911518),o(874357),o(149055),o(341793),o(191613),o(16074),o(210341),o(991008),o(14933),o(967017),o(312650),o(314355),o(402682),o(668693),o(893124),o(243140),o(178283),o(90459),o(859948),o(281510),o(711618),o(138890),o(60157),o(704591),o(185963),o(887013),o(961751),o(863733),o(889694),o(203461),o(820248),o(538073),o(801855),o(277440),o(904167),o(964240),o(836604),o(49677),o(912690),o(977653),o(652544),o(215273),o(909809),o(439637),o(44029),o(42331),o(815252),o(321608),o(85139),o(596007),o(514133),o(482221),o(53380),o(467987),o(539175),o(636361),o(515167),o(283371),o(613879),o(348269),o(952203),o(947625),o(286530),o(853030),o(847793),o(333948),o(737826),o(150542),o(757520),o(964681),o(222568),o(327127),o(225755),o(240035),o(74102),o(291869),o(719371),o(991429),o(102530),o(574289),o(678364),o(103301),o(840935),o(654267),o(556731),o(32992),o(120939),o(57875),o(196901),o(846507),o(693778),o(654856),o(821492),o(605041),o(384920),o(673707),o(482013),o(196269),o(486821),o(52037),o(992630),o(260056),o(18982),o(730806),o(156042),o(96242),o(801648),o(845603),o(145137),o(631593),o(403519),o(664052),o(990320),o(245367),o(535378),o(813705),o(887854),o(97126),o(608299),o(145487),o(141068),o(992816),o(223739),o(25853),o(428529),o(153218),o(705892),o(996373),o(999332),o(579892),o(417042),o(842922),o(831436),o(38263),o(714378),o(84065),o(58978),o(846515),o(523796),o(419314),o(902386),o(571357),o(174206),o(334316),o(39654),o(553712),o(620501),o(675083),o(93486),o(272607),o(860179),o(260675),o(588587),o(775188),o(879498),o(352253),o(110342),o(385572),o(287436),o(430639),o(247362),o(253103),o(143354),o(508916),o(937352),o(533505),o(337095),o(400773),o(267719),o(761324),o(758771),o(99967),o(27979),o(999443),o(544075),o(123571),o(109166),o(318590),o(207580),o(858544),o(820326),o(533522),o(175422),o(551402),o(213658),o(719892),o(141963),o(42506),o(237749),o(287583),o(859407),o(151774),o(60642),o(649197),o(319141),o(823316),o(966149),o(663147),o(655015),o(504810),o(122980),o(426551),o(950229),o(705774),o(474448),o(623479),o(704457),o(301883),o(642132),o(376750),o(837354),o(755746),o(238676),o(892998),o(45003),o(308415),o(890803),o(701497),o(753790),o(20022),o(492598),o(727038),o(384199),o(303888),o(776267),o(948498),o(462276),o(40585),o(314803),o(800391),o(432833),o(355039),o(399687),o(245370),o(216440),o(635179),o(586317),o(399135),o(521496),o(923496),o(178734),o(14482),o(482707),o(727827),o(348674),o(340263),o(19778),o(491904),o(153182),o(15482),o(919260),o(521157),o(535265),o(390853),o(640397),o(581497),o(563178),o(407017),o(344337),o(599915),o(974534),o(539244),o(221639),o(923089),o(728867),o(801817),o(351963),o(648629),o(149262),o(925738)},3105:function(e,t,o){"use strict";var n=o(721140);window.bloko=window.bloko||{},window.bloko.getUserAgentDetails=n.T}}]);
2//# sourceMappingURL=bloko.a6e08411c32e4015.js.map
3//# debugId=d062ca52-6034-4160-b093-a4c0644b9ba6

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.