@ambuj.bhaskar/react-component-library 0.10.5 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- *{box-sizing:border-box}body{margin:0}mark{background-color:unset!important;padding:0rem!important}hr,p{margin:0}:root{font-family:Inter,sans-serif;line-height:1.5;font-weight:400;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}}.icon_svg{width:100%;height:100%}.icon.size_xs{width:16px;height:16px}.icon.size_s{width:20px;height:20px}.icon.size_m{width:24px;height:24px}.icon.size_l{width:32px;height:32px}.icon.size_xl{width:48px;height:48px}.spinner{animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button{transition:all .2s ease-in-out;display:flex;align-items:center;cursor:pointer;position:relative;background-color:unset;border:none;outline-style:solid;border-radius:500px;font-family:Inter,sans-serif}.button .background{transition:all .2s ease-in-out;position:absolute;z-index:1;width:100%;height:100%;top:0;left:0;border-radius:500px}.button .background.primary{filter:opacity(.1)}.button .background.primary:hover{filter:opacity(.2)}.button .background.primary:active{filter:opacity(1)}.button .background.secondary{filter:opacity(.1)}.button .background.secondary:hover{filter:opacity(.15)}.button .background.secondary:active{filter:opacity(.2)}.button .background.tertiary{filter:opacity(0)}.button .background.tertiary:hover{filter:opacity(.1)}.button .background.tertiary:active{filter:opacity(.2)}.button .background.nav{filter:opacity(0)}.button .background.nav:hover{filter:opacity(.1)}.button .background.nav:active{filter:opacity(.2)}.button .background.disabled{filter:opacity(.05)!important}.button .background.disabled.tertiary,.button .background.disabled.nav{filter:opacity(0)!important}.button>p{align-self:center;font-weight:var(--hydra_font_weight_s, 400);z-index:2}.button.disabled,.button.disabled:hover,.button.disabled:active{cursor:no-drop!important;color:var(--hydra_c_disabled)!important}.button.disabled{cursor:no-drop;color:var(--hydra_c_disabled)}.button.disabled.primary,.button.disabled.primary:hover,.button.disabled.primary:active{outline-width:1px!important}.button.disabled.secondary,.button.disabled.secondary:hover,.button.disabled.secondary:active,.button.disabled.tertiary,.button.disabled.tertiary:hover,.button.disabled.tertiary:active,.button.disabled.nav,.button.disabled.nav:hover,.button.disabled.nav:active{outline-width:0px!important}.button.disabled.primary,.button.primary{outline-width:1px!important}.button.tertiary,.button.secondary{outline-width:0px!important}.button.secondary:hover,.button.secondary:active{outline-width:1px!important}.button.nav,.button.nav:hover{outline-width:0px!important}.button.nav:active{outline-width:1px!important}.button>p,.button>svg{z-index:2;pointer-events:none;transition:all .2s ease-in-out}.button.fixed.size_s{--button_height: 2rem;height:var(--button_height);padding:0 16px}.button.fixed.size_m{--button_height: 2.5rem;height:var(--button_height);padding:0 18px}.button.fixed.size_l{--button_height: 3rem;height:var(--button_height);padding:0 20px}.button.hugging.size_s{padding:8px 16px}.button.hugging.size_m{padding:10px 18px}.button.hugging.size_l{padding:12px 20px}.button.fixed.size_s.icon_button{--button_height: 2rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_m.icon_button{--button_height: 2.5rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_l.icon_button{--button_height: 3rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.hugging.size_s.icon_button{padding:8px}.button.hugging.size_m.icon_button{padding:10px}.button.hugging.size_l.icon_button{padding:12px}.button>.text_xs{font-size:var(--awi_font_xs, 12px);line-height:12px}.button>.text_s{font-size:var(--awi_font_s, 14px);line-height:16px}.button>.text_m{font-size:var(--awi_font_m, 16px);line-height:20px}.button>.text_l{font-size:var(--awi_font_l, 20px);line-height:24px}.button>.text_xl{font-size:var(--awi_font_xl, 22px);line-height:28px}.compact_event_card{--c_surface_primary_border: #eaebee;--c_surface_primary: #fff;--c_text_primary: #292929;--c_text_secondary: #474747;--c_surface_secondary: #f3f5f7;--font_s: 14px;--font_xs: 12px}.compact_event_card{-webkit-user-select:none;user-select:none;position:relative;display:flex;justify-content:flex-start;align-items:center;background-color:var(--c_surface_primary);border:unset;border-bottom:1px solid var(--c_surface_primary_border);z-index:1}.compact_event_card>img{height:100%;width:40%;min-width:40%;max-width:40%;background-color:var(--c_surface_secondary);object-fit:contain}.compact_event_card .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.compact_event_card .compact_event_card_content{display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;width:60%;height:100%}.compact_event_card .compact_event_card_content>header{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:2% 4%;height:20%;min-height:20%;max-height:20%;border-bottom:1px solid var(--c_surface_primary_border)}.compact_event_card .compact_event_card_content>header>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;flex-grow:1;flex-wrap:wrap}.compact_event_card .compact_event_card_details>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details>span{display:flex;flex-direction:column;justify-content:center;gap:2%;width:50%}.compact_event_card .compact_event_card_details>span>p{text-transform:uppercase;font-size:var(--font_xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_details>span>h6{font-size:var(--font_s);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_content>footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;height:20%;color:var(--c_text_primary)}.compact_event_card .compact_event_card_content>footer>.status_indicator{z-index:2}.compact_event_card .compact_event_card_content>footer>p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:capitalize}.compact_event_card .compact_event_card_content>div{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.compact_event_card .compact_event_card_checkbox{position:absolute!important;top:.5rem;right:.5rem;z-index:10}.compact_event_card .compact_event_card_bookmark{position:absolute;top:.25rem;left:.25rem;z-index:10;height:1rem;width:1rem;max-height:1rem;max-width:1rem}.input_wrapper{--color_text_placeholder: #929292;--color_input_box_active: #29292926;--color_input_box_result: #29292926;--color_input_box_border_primary: #292929;--color_input_box_disabled: rgb(168, 168, 168);--color_disabled: rgb(24, 24, 24);--font_s: 14px;transition:all .2s ease-in-out;display:flex;align-items:center;position:relative;border:none;box-sizing:border-box;gap:8px;border-radius:25px;--input_box_height_s: 30px;--input_box_height_m: 40px;--input_box_height_l: 50px;--input_box_padding_s: .5rem 1rem;--input_box_padding_m: .75rem 1rem;--input_box_padding_l: .5rem 1.5rem}.input_wrapper.disabled{cursor:no-drop!important}.input_wrapper.disabled>.input{cursor:no-drop!important}.input_wrapper.h_s{height:var(--input_box_height_s);padding:var(--input_box_padding_s)}.input_wrapper.h_m{height:var(--input_box_height_m);padding:var(--input_box_padding_m)}.input_wrapper.h_l{height:var(--input_box_height_l);padding:var(--input_box_padding_l)}.input_wrapper:focus-within{background-color:var(--color_input_box_active);outline:1px solid var(--color_input_box_border_primary)}.input_wrapper.icon_before{flex-direction:row}.input_wrapper.icon_after{flex-direction:row-reverse}.input{border:none!important;outline:none!important;background:transparent;text-overflow:ellipsis;overflow:hidden!important;min-width:0!important;flex-grow:1;font-size:var(--font_s)!important}.input_wrapper:not(.empty):not(.disabled):not(:focus-within){background-color:var(--color_input_box_result);color:var(--color_text_primary)}.input::placeholder{font-size:var(--font_s)!important;color:var(--color_text_placeholder)!important}.icon-wrapper{display:flex;align-items:center;justify-content:center}.input_wrapper.input-disabled{background-color:var(--color_input_box_disabled);color:var(--color_disabled)!important}.single_select_container,.single_select_dropdown{--c_border: 1px solid #29292929;--c_trigger_background: #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--c_secondary: #292929;--c_text_primary: #292929;--font_s: 14px;--font_weight_m: 500;--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.single_select_container{display:flex;justify-content:center;align-items:center;height:unset}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:var(--c_trigger_background)!important}.single_select_container .ant-select-selector{outline:var(--c_border)!important}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.single_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important}.single_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.single_select_dropdown.border{outline:var(--c_border)!important}.single_select_dropdown .ant-select-item-option{display:flex!important;align-items:center!important;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.single_select_dropdown .ant-select-item-option-content{display:flex!important;align-items:center!important}.single_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown .ant-select-item-option>.ant-select-item-option-content>img{max-height:1.5rem}.single_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.single_select_dropdown.items_center .ant-select-item-option-content{justify-content:center!important}.single_select_dropdown.items_start .ant-select-item-option-content{justify-content:flex-start!important}.single_select_dropdown.items_end .ant-select-item-option-content{justify-content:flex-end!important}.single_select_dropdown .ant-select-item-option-selected{background-color:var(--c_menu_active)!important}.single_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){background-color:var(--c_menu_hover)!important}.single_select_container.items_center .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:center!important}.single_select_container.items_start .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-start!important}.single_select_container.items_end .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-end!important}.single_select_container .ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.single_select_container .ant-select-selection-item>img{max-height:1.5rem}.contact_input{display:flex;flex-direction:row;align-items:center;gap:.5rem}.ant-picker.ant-picker-range,.ant-picker-dropdown{--c_text_primary: #292929;--c_text_secondary: rgb(110, 110, 110);--c_trigger_border: #29292955;--c_trigger_background: #29292929;--c_highlight: #fc0;--c_date_range_fill: rgba(255, 204, 0, .26);--c_surface_border: rgb(234, 235, 238);--c_surface: #fff}.ant-picker.ant-picker-range{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;height:40px!important;padding:0 .75rem!important}.ant-picker.ant-picker-range.border{outline:1px solid var(--c_trigger_border)!important}.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px 0 0 500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end>.ant-picker-cell-inner{border-radius:0 500px 500px 0!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-today :before{border:1px solid var(--c_highlight)!important}.ant-picker-cell.ant-picker-cell-range-start.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-range-end.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-in-range.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-time-panel-cell-selected>.ant-picker-time-panel-cell-inner{background-color:var(--c_date_range_fill)!important}.ant-picker-footer>.ant-picker-ranges>.ant-picker-ok>button{background-color:var(--c_highlight)!important;color:var(--c_text_primary)!important;border-radius:500px!important}.ant-picker-header>.ant-picker-header-view>button :hover{color:var(--c_text_secondary)!important}.ant-picker-active-bar{background:var(--c_highlight)!important}.ant-picker-ranges,.ant-picker-header{border-radius:0!important}.ant-picker-dropdown-range{z-index:10000;border-radius:0!important;border:1px solid var(--c_surface_border);padding:0}.ant-picker-range-wrapper{border-radius:0!important}.ant-picker-range-arrow{border:unset!important;border-color:unset!important}.ant-picker-panel-container{border-radius:0!important;background-color:var(--c_surface)!important;box-shadow:unset!important}.ant-picker-panel-layout{color:var(--c_text_primary)!important}.ant-picker-body{border-color:var(--c_surface_border)!important}.ant-picker-content>thead>tr>th,.ant-picker-cell-inner,.ant-picker-time-panel-cell-inner,.ant-picker-header-view,.ant-picker-header-super-prev-btn,.ant-picker-header-prev-btn,.ant-picker-header-next-btn,.ant-picker-header-super-next-btn{color:var(--c_text_primary)!important}.ant-picker-suffix,.ant-picker-clear{color:var(--c_text_secondary)!important}.event_preview_carousel_container{position:relative!important;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%;height:100%;--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_carousel_container>header{height:3rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--c_surface_primary_border);padding:2% 4%}.event_preview_carousel_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_carousel_container .text_s{font-size:12px}.event_preview_carousel_container .carousel_card{min-height:80%;flex-grow:1;overflow-y:auto}.event_preview_carousel_container .carousel_card_images{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span:nth-child(odd){border-right:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span{width:50%;height:10rem;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:var(--font_s)}.event_preview_carousel_container .carousel_card_images>span>img{flex-grow:1;width:100%;height:7rem;object-fit:contain;background-color:var(--c_surface_secondary)}.event_preview_carousel_container .carousel_info_container{display:flex;flex-direction:column;justify-content:center;padding:1.5% 4%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span>p{height:2rem;display:flex;justify-content:flex-start;align-items:center}.event_preview_carousel_container .carousel_info_container>p{text-transform:uppercase}.event_preview_carousel_container .object_attributes_container{display:flex;flex-direction:column;padding:2% 4%;gap:.25rem;flex-grow:1}.event_preview_carousel_container .event_preview_carousel_attribute{display:flex;justify-content:space-between;align-items:center;width:100%}.event_preview_carousel_container .event_preview_carousel_attribute>p{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_attribute>h6{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_footer{width:100%;display:flex;justify-content:center;align-items:center;padding:.5rem;border-top:1px solid var(--c_surface_primary_border);gap:.5rem}.event_preview_window{--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_window{background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);border-bottom:unset;display:flex;flex-direction:column}.event_preview_window.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem}.event_preview_window .event_preview_dialog_header{display:flex;justify-content:flex-start;align-items:center;height:3rem;gap:1rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_icon{width:3rem;height:100%;background-color:var(--c_surface_primary);border-right:1px solid var(--c_surface_primary_border);font-size:var(--font_s);overflow:hidden}.event_preview_window .event_preview_dialog_header_icon>img{height:100%;width:100%}.event_preview_window .event_preview_dialog_header_content{height:3rem;display:flex;justify-content:flex-start;align-items:center;gap:.25rem;width:69%}.event_preview_window .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.event_preview_window .event_preview_window_header_container{width:100%;display:flex;justify-content:flex-end;align-items:center;height:3rem;min-height:3rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_actions{display:flex;justify-content:flex-end;padding:0 1rem}.event_preview_window .event_preview_content_container{display:flex;width:100%;height:calc(100% - 3rem);flex-grow:1}.event_preview_window .event_preview_image_container{position:relative;display:flex;flex-direction:column;width:50%;min-height:100%;max-height:100%;height:100%}.event_preview_window .event_preview_image_container>img{width:100%;flex-grow:1;object-fit:contain;background-color:var(--c_surface_secondary);height:88%;min-height:88%}.event_preview_window .event_preview_image_footer{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--c_surface_primary_border);height:12%;max-height:12%}.event_preview_window .event_preview_image_footer_infoitem{display:flex;flex-direction:column;justify-content:space-around;height:100%;border-right:1px solid var(--c_surface_primary_border);padding:.25rem .5rem;color:var(--c_text_primary)}.event_preview_window .event_preview_image_footer_infoitem>p{text-transform:uppercase;font-size:var(--font_s)}.event_preview_window .event_preview_image_footer_infoitem>h5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1){width:20%;position:relative;z-index:1}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>h5{text-transform:capitalize}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>.hydra_status_indicator{z-index:2}.event_preview_window .event_preview_image_footer_infoitem:nth-child(2){width:40%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(3){width:20%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(4){width:20%;border-right:unset}.event_preview_window .event_preview_content{flex-grow:1;height:100%;width:25%;background-color:var(--c_surface_primary);border-bottom:1px solid var(--c_surface_primary_border);border-right:1px solid var(--c_surface_primary_border);border-left:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events_container{width:25%;display:flex;flex-direction:column;height:100%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.event_preview_window .event_preview_other_events>div{width:100%}.event_preview_window .event_preview_other_events_container>header{width:100%;height:3rem;min-height:3rem;max-height:3rem;display:flex;justify-content:space-between;padding:0 2%;align-items:center;border-bottom:1px solid var(--c_surface_primary_border);background-color:var(--c_surface_primary)}.event_preview_window .event_preview_other_events_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_window .event_preview_other_events_container>footer{height:3rem;padding:.5rem;gap:.5rem;display:flex;align-items:center}.event_preview_window .event_footer_color_legend_container{display:flex;justify-content:flex-start;align-items:center;padding:0 1rem 0 0}.event_preview_window .event_footer_color_legend{display:flex;justify-content:center;align-items:center;gap:.25rem;padding:0 .5rem}.event_preview_window .event_footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.event_preview_window .footer_action_container{display:flex;gap:1rem}.event_preview_window .load_more_container{display:flex;justify-content:center;width:100%}.event_preview_window .share_alerts_dialog{display:flex;flex-direction:column;width:100%;gap:1rem}.event_preview_window .share_alerts_dialog>input{width:100%}.ant-modal-content{padding:0!important;border-radius:0!important;border:1px solid #eaebee;box-shadow:unset!important}.ant-modal-close{top:.25rem!important;right:.25rem!important;border-radius:500px!important}.ant-modal-close .anticon{color:#292929!important}.multi_select_container,.multi_select_dropdown{--font_weight_m: 500;--c_text_primary: #292929;--c_secondary: #292929;--c_trigger_background: #29292929;--c_trigger_highlight: #29292955;--color_text_secondary: #f1f1f1;--c_border: 1px solid #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.multi_select_container{display:flex;justify-content:center;align-items:center;height:unset}.multi_select_container.border .ant-select-selector{outline:var(--c_border)!important}.multi_select_container .ant-select-selector{background-color:var(--c_trigger_background)!important}.multi_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.multi_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;width:100%!important;height:40px!important;padding:0 .75rem!important}.ant-select-selection-overflow-item>.ant-select-selection-item{background-color:var(--c_trigger_highlight)!important;border-radius:500px!important}.ant-select-selection-item{border-radius:500px!important}.multi_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_container.h_l>.ant-select-selector:focus{background-color:red!important}.ant-select-selection-wrap{height:100%}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.multi_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.multi_select_dropdown.border{outline:1px solid var(--color_dropdown_border)}.multi_select_dropdown .ant-select-item-option{align-items:center;padding:1rem;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.multi_select_dropdown .ant-select-item-option-selected{align-items:center;padding:1rem;background-color:var(--c_menu_active)!important}.multi_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){align-items:center;padding:1rem;background-color:var(--c_menu_hover)!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary)}.multi_select_dropdown .ant-select-item-option-state{color:var(--c_secondary)!important}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.multi_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_dropdown .ant-select-item-option{padding:.3rem .5rem}
1
+ *{box-sizing:border-box}body{margin:0}mark{background-color:unset!important;padding:0rem!important}hr,p{margin:0}:root{font-family:Inter,sans-serif;line-height:1.5;font-weight:400;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}}.icon_svg{width:100%;height:100%}.icon.size_xs{width:16px;height:16px}.icon.size_s{width:20px;height:20px}.icon.size_m{width:24px;height:24px}.icon.size_l{width:32px;height:32px}.icon.size_xl{width:48px;height:48px}.spinner{animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button{transition:all .2s ease-in-out;display:flex;align-items:center;cursor:pointer;position:relative;background-color:unset;border:none;outline-style:solid;border-radius:500px;font-family:Inter,sans-serif}.button .background{transition:all .2s ease-in-out;position:absolute;z-index:1;width:100%;height:100%;top:0;left:0;border-radius:500px}.button .background.primary{filter:opacity(.1)}.button .background.primary:hover{filter:opacity(.2)}.button .background.primary:active{filter:opacity(1)}.button .background.secondary{filter:opacity(.1)}.button .background.secondary:hover{filter:opacity(.15)}.button .background.secondary:active{filter:opacity(.2)}.button .background.tertiary{filter:opacity(0)}.button .background.tertiary:hover{filter:opacity(.1)}.button .background.tertiary:active{filter:opacity(.2)}.button .background.nav{filter:opacity(0)}.button .background.nav:hover{filter:opacity(.1)}.button .background.nav:active{filter:opacity(.2)}.button .background.disabled{filter:opacity(.05)!important}.button .background.disabled.tertiary,.button .background.disabled.nav{filter:opacity(0)!important}.button>p{align-self:center;font-weight:var(--hydra_font_weight_s, 400);z-index:2}.button.disabled,.button.disabled:hover,.button.disabled:active{cursor:no-drop!important;color:var(--hydra_c_disabled)!important}.button.disabled{cursor:no-drop;color:var(--hydra_c_disabled)}.button.disabled.primary,.button.disabled.primary:hover,.button.disabled.primary:active{outline-width:1px!important}.button.disabled.secondary,.button.disabled.secondary:hover,.button.disabled.secondary:active,.button.disabled.tertiary,.button.disabled.tertiary:hover,.button.disabled.tertiary:active,.button.disabled.nav,.button.disabled.nav:hover,.button.disabled.nav:active{outline-width:0px!important}.button.disabled.primary,.button.primary{outline-width:1px!important}.button.tertiary,.button.secondary{outline-width:0px!important}.button.secondary:hover,.button.secondary:active{outline-width:1px!important}.button.nav,.button.nav:hover{outline-width:0px!important}.button.nav:active{outline-width:1px!important}.button>p,.button>svg{z-index:2;pointer-events:none;transition:all .2s ease-in-out}.button.fixed.size_s{--button_height: 2rem;height:var(--button_height);padding:0 16px}.button.fixed.size_m{--button_height: 2.5rem;height:var(--button_height);padding:0 18px}.button.fixed.size_l{--button_height: 3rem;height:var(--button_height);padding:0 20px}.button.hugging.size_s{padding:8px 16px}.button.hugging.size_m{padding:10px 18px}.button.hugging.size_l{padding:12px 20px}.button.fixed.size_s.icon_button{--button_height: 2rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_m.icon_button{--button_height: 2.5rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_l.icon_button{--button_height: 3rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.hugging.size_s.icon_button{padding:8px}.button.hugging.size_m.icon_button{padding:10px}.button.hugging.size_l.icon_button{padding:12px}.button>.text_xs{font-size:var(--awi_font_xs, 12px);line-height:12px}.button>.text_s{font-size:var(--awi_font_s, 14px);line-height:16px}.button>.text_m{font-size:var(--awi_font_m, 16px);line-height:20px}.button>.text_l{font-size:var(--awi_font_l, 20px);line-height:24px}.button>.text_xl{font-size:var(--awi_font_xl, 22px);line-height:28px}.compact_event_card{--c_surface_primary_border: #eaebee;--c_surface_primary: #fff;--c_text_primary: #292929;--c_text_secondary: #474747;--c_surface_secondary: #f3f5f7;--font_s: 14px;--font_xs: 12px}.compact_event_card{-webkit-user-select:none;user-select:none;position:relative;display:flex;justify-content:flex-start;align-items:center;background-color:var(--c_surface_primary);border:unset;border-bottom:1px solid var(--c_surface_primary_border);z-index:1}.compact_event_card>img{height:100%;width:40%;min-width:40%;max-width:40%;background-color:var(--c_surface_secondary);object-fit:contain}.compact_event_card .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.compact_event_card .compact_event_card_content{display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;width:60%;height:100%}.compact_event_card .compact_event_card_content>header{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:2% 4%;height:20%;min-height:20%;max-height:20%;border-bottom:1px solid var(--c_surface_primary_border)}.compact_event_card .compact_event_card_content>header>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;flex-grow:1;flex-wrap:wrap}.compact_event_card .compact_event_card_details>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details>span{display:flex;flex-direction:column;justify-content:center;gap:2%;width:50%}.compact_event_card .compact_event_card_details>span>p{text-transform:uppercase;font-size:var(--font_xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_details>span>h6{font-size:var(--font_s);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_content>footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;height:20%;color:var(--c_text_primary)}.compact_event_card .compact_event_card_content>footer>.status_indicator{z-index:2}.compact_event_card .compact_event_card_content>footer>p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:capitalize}.compact_event_card .compact_event_card_content>div{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.compact_event_card .compact_event_card_checkbox{position:absolute!important;top:.5rem;right:.5rem;z-index:10}.compact_event_card .compact_event_card_bookmark{position:absolute;top:.25rem;left:.25rem;z-index:10;height:1rem;width:1rem;max-height:1rem;max-width:1rem}.input_wrapper{--color_text_placeholder: #929292;--color_input_box_active: #29292926;--color_input_box_result: #29292926;--color_input_box_border_primary: #292929;--color_input_box_disabled: rgb(168, 168, 168);--color_disabled: rgb(24, 24, 24);--font_s: 14px;transition:all .2s ease-in-out;display:flex;align-items:center;position:relative;border:none;box-sizing:border-box;gap:8px;border-radius:25px;--input_box_height_s: 30px;--input_box_height_m: 40px;--input_box_height_l: 50px;--input_box_padding_s: .5rem 1rem;--input_box_padding_m: .75rem 1rem;--input_box_padding_l: .5rem 1.5rem}.input_wrapper.disabled{cursor:no-drop!important}.input_wrapper.disabled>.input{cursor:no-drop!important}.input_wrapper.h_s{height:var(--input_box_height_s);padding:var(--input_box_padding_s)}.input_wrapper.h_m{height:var(--input_box_height_m);padding:var(--input_box_padding_m)}.input_wrapper.h_l{height:var(--input_box_height_l);padding:var(--input_box_padding_l)}.input_wrapper:focus-within{background-color:var(--color_input_box_active);outline:1px solid var(--color_input_box_border_primary)}.input_wrapper.icon_before{flex-direction:row}.input_wrapper.icon_after{flex-direction:row-reverse}.input{border:none!important;outline:none!important;background:transparent;text-overflow:ellipsis;overflow:hidden!important;min-width:0!important;flex-grow:1;font-size:var(--font_s)!important}.input_wrapper:not(.empty):not(.disabled):not(:focus-within){background-color:var(--color_input_box_result);color:var(--color_text_primary)}.input::placeholder{font-size:var(--font_s)!important;color:var(--color_text_placeholder)!important}.icon-wrapper{display:flex;align-items:center;justify-content:center}.input_wrapper.input-disabled{background-color:var(--color_input_box_disabled);color:var(--color_disabled)!important}.single_select_container,.single_select_dropdown{--c_border: 1px solid #29292929;--c_trigger_background: #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--c_secondary: #292929;--c_text_primary: #292929;--font_s: 14px;--font_weight_m: 500;--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.single_select_container{display:flex;justify-content:center;align-items:center;height:unset}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:var(--c_trigger_background)!important}.single_select_container .ant-select-selector{outline:var(--c_border)!important}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.single_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important}.single_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.single_select_dropdown.border{outline:var(--c_border)!important}.single_select_dropdown .ant-select-item-option{display:flex!important;align-items:center!important;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.single_select_dropdown .ant-select-item-option-content{display:flex!important;align-items:center!important}.single_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown .ant-select-item-option>.ant-select-item-option-content>img{max-height:1.5rem}.single_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.single_select_dropdown.items_center .ant-select-item-option-content{justify-content:center!important}.single_select_dropdown.items_start .ant-select-item-option-content{justify-content:flex-start!important}.single_select_dropdown.items_end .ant-select-item-option-content{justify-content:flex-end!important}.single_select_dropdown .ant-select-item-option-selected{background-color:var(--c_menu_active)!important}.single_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){background-color:var(--c_menu_hover)!important}.single_select_container.items_center .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:center!important}.single_select_container.items_start .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-start!important}.single_select_container.items_end .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-end!important}.single_select_container .ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.single_select_container .ant-select-selection-item>img{max-height:1.5rem}.contact_input{display:flex;flex-direction:row;align-items:center;gap:.5rem}.ant-picker.ant-picker-range,.ant-picker-dropdown{--c_text_primary: #292929;--c_text_secondary: rgb(110, 110, 110);--c_trigger_border: #29292955;--c_trigger_background: #29292929;--c_highlight: #fc0;--c_date_range_fill: rgba(255, 204, 0, .26);--c_surface_border: rgb(234, 235, 238);--c_surface: #fff}.ant-picker.ant-picker-range{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;height:40px!important;padding:0 .75rem!important}.ant-picker.ant-picker-range.border{outline:1px solid var(--c_trigger_border)!important}.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px 0 0 500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end>.ant-picker-cell-inner{border-radius:0 500px 500px 0!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-today :before{border:1px solid var(--c_highlight)!important}.ant-picker-cell.ant-picker-cell-range-start.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-range-end.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-in-range.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-time-panel-cell-selected>.ant-picker-time-panel-cell-inner{background-color:var(--c_date_range_fill)!important}.ant-picker-footer>.ant-picker-ranges>.ant-picker-ok>button{background-color:var(--c_highlight)!important;color:var(--c_text_primary)!important;border-radius:500px!important}.ant-picker-header>.ant-picker-header-view>button :hover{color:var(--c_text_secondary)!important}.ant-picker-active-bar{background:var(--c_highlight)!important}.ant-picker-ranges,.ant-picker-header{border-radius:0!important}.ant-picker-dropdown-range{z-index:10000;border-radius:0!important;border:1px solid var(--c_surface_border);padding:0}.ant-picker-range-wrapper{border-radius:0!important}.ant-picker-range-arrow{border:unset!important;border-color:unset!important}.ant-picker-panel-container{border-radius:0!important;background-color:var(--c_surface)!important;box-shadow:unset!important}.ant-picker-panel-layout{color:var(--c_text_primary)!important}.ant-picker-body{border-color:var(--c_surface_border)!important}.ant-picker-content>thead>tr>th,.ant-picker-cell-inner,.ant-picker-time-panel-cell-inner,.ant-picker-header-view,.ant-picker-header-super-prev-btn,.ant-picker-header-prev-btn,.ant-picker-header-next-btn,.ant-picker-header-super-next-btn{color:var(--c_text_primary)!important}.ant-picker-suffix,.ant-picker-clear{color:var(--c_text_secondary)!important}.event_preview_carousel_container{position:relative!important;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%;height:100%;--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_carousel_container>header{height:3rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--c_surface_primary_border);padding:2% 4%}.event_preview_carousel_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_carousel_container .text_s{font-size:12px}.event_preview_carousel_container .carousel_card{min-height:80%;flex-grow:1;overflow-y:auto}.event_preview_carousel_container .carousel_card_images{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span:nth-child(odd){border-right:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span{width:50%;height:10rem;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:var(--font_s)}.event_preview_carousel_container .carousel_card_images>span>img{flex-grow:1;width:100%;height:7rem;object-fit:contain;background-color:var(--c_surface_secondary)}.event_preview_carousel_container .carousel_info_container{display:flex;flex-direction:column;justify-content:center;padding:1.5% 4%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span>p{height:2rem;display:flex;justify-content:flex-start;align-items:center}.event_preview_carousel_container .carousel_info_container>p{text-transform:uppercase}.event_preview_carousel_container .object_attributes_container{display:flex;flex-direction:column;padding:2% 4%;gap:.25rem;flex-grow:1}.event_preview_carousel_container .event_preview_carousel_attribute{display:flex;justify-content:space-between;align-items:center;width:100%}.event_preview_carousel_container .event_preview_carousel_attribute>p{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_attribute>h6{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_footer{width:100%;display:flex;justify-content:center;align-items:center;padding:.5rem;border-top:1px solid var(--c_surface_primary_border);gap:.5rem;height:3rem}.event_preview_window{--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_window{background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);border-bottom:unset;display:flex;flex-direction:column}.event_preview_window.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem}.event_preview_window .event_preview_dialog_header{display:flex;justify-content:flex-start;align-items:center;height:3rem;gap:1rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_icon{width:3rem;height:100%;background-color:var(--c_surface_primary);border-right:1px solid var(--c_surface_primary_border);font-size:var(--font_s);overflow:hidden}.event_preview_window .event_preview_dialog_header_icon>img{height:100%;width:100%}.event_preview_window .event_preview_dialog_header_content{height:3rem;display:flex;justify-content:flex-start;align-items:center;gap:.25rem;width:69%}.event_preview_window .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.event_preview_window .event_preview_window_header_container{width:100%;display:flex;justify-content:flex-end;align-items:center;height:3rem;min-height:3rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_actions{display:flex;justify-content:flex-end;padding:0 1rem}.event_preview_window .event_preview_content_container{display:flex;width:100%;height:calc(100% - 3rem);flex-grow:1}.event_preview_window .event_preview_image_container{position:relative;display:flex;flex-direction:column;width:50%;min-height:100%;max-height:100%;height:100%}.event_preview_window .event_preview_image_container>img{width:100%;flex-grow:1;object-fit:contain;background-color:var(--c_surface_secondary);height:88%;min-height:88%}.event_preview_window .event_preview_image_footer{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--c_surface_primary_border);height:12%;max-height:12%}.event_preview_window .event_preview_image_footer_infoitem{display:flex;flex-direction:column;justify-content:space-around;height:100%;border-right:1px solid var(--c_surface_primary_border);padding:.25rem .5rem;color:var(--c_text_primary)}.event_preview_window .event_preview_image_footer_infoitem>p{text-transform:uppercase;font-size:var(--font_s)}.event_preview_window .event_preview_image_footer_infoitem>h5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1){width:20%;position:relative;z-index:1}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>h5{text-transform:capitalize}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>.hydra_status_indicator{z-index:2}.event_preview_window .event_preview_image_footer_infoitem:nth-child(2){width:40%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(3){width:20%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(4){width:20%;border-right:unset}.event_preview_window .event_preview_content{flex-grow:1;height:100%;width:25%;background-color:var(--c_surface_primary);border-bottom:1px solid var(--c_surface_primary_border);border-right:1px solid var(--c_surface_primary_border);border-left:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events_container{width:25%;display:flex;flex-direction:column;height:100%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.event_preview_window .event_preview_other_events>div{width:100%}.event_preview_window .event_preview_other_events_container>header{width:100%;height:3rem;min-height:3rem;max-height:3rem;display:flex;justify-content:space-between;padding:0 2%;align-items:center;border-bottom:1px solid var(--c_surface_primary_border);background-color:var(--c_surface_primary)}.event_preview_window .event_preview_other_events_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_window .event_preview_other_events_container>footer{height:3rem;padding:.5rem;gap:.5rem;display:flex;align-items:center}.event_preview_window .event_footer_color_legend_container{display:flex;justify-content:flex-start;align-items:center;padding:0 1rem 0 0}.event_preview_window .event_footer_color_legend{display:flex;justify-content:center;align-items:center;gap:.25rem;padding:0 .5rem}.event_preview_window .event_footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.event_preview_window .footer_action_container{display:flex;gap:1rem}.event_preview_window .load_more_container{display:flex;justify-content:center;width:100%}.event_preview_window .share_alerts_dialog{display:flex;flex-direction:column;width:100%;gap:1rem}.event_preview_window .share_alerts_dialog>input{width:100%}.ant-modal-content{padding:0!important;border-radius:0!important;border:1px solid #eaebee;box-shadow:unset!important}.ant-modal-close{top:.25rem!important;right:.25rem!important;border-radius:500px!important}.ant-modal-close .anticon{color:#292929!important}.multi_select_container,.multi_select_dropdown{--font_weight_m: 500;--c_text_primary: #292929;--c_secondary: #292929;--c_trigger_background: #29292929;--c_trigger_highlight: #29292955;--color_text_secondary: #f1f1f1;--c_border: 1px solid #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.multi_select_container{display:flex;justify-content:center;align-items:center;height:unset}.multi_select_container.border .ant-select-selector{outline:var(--c_border)!important}.multi_select_container .ant-select-selector{background-color:var(--c_trigger_background)!important}.multi_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.multi_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;width:100%!important;height:40px!important;padding:0 .75rem!important}.ant-select-selection-overflow-item>.ant-select-selection-item{background-color:var(--c_trigger_highlight)!important;border-radius:500px!important}.ant-select-selection-item{border-radius:500px!important}.multi_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_container.h_l>.ant-select-selector:focus{background-color:red!important}.ant-select-selection-wrap{height:100%}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.multi_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.multi_select_dropdown.border{outline:1px solid var(--color_dropdown_border)}.multi_select_dropdown .ant-select-item-option{align-items:center;padding:1rem;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.multi_select_dropdown .ant-select-item-option-selected{align-items:center;padding:1rem;background-color:var(--c_menu_active)!important}.multi_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){align-items:center;padding:1rem;background-color:var(--c_menu_hover)!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary)}.multi_select_dropdown .ant-select-item-option-state{color:var(--c_secondary)!important}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.multi_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_dropdown .ant-select-item-option{padding:.3rem .5rem}
package/dist/index.cjs CHANGED
@@ -265,7 +265,7 @@ html body {
265
265
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
266
266
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:n2},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
267
267
  &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:o2},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
268
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:r2},[`${t}-panel > ${t}-time-panel`]:{paddingTop:_},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${$} ease-out`},uP(e,A,N)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:A,borderRadius:V,boxShadow:j,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:O,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${ye(s)} ${c} ${U}`,li:Object.assign(Object.assign({},rc),{borderRadius:G,paddingInline:h,paddingBlock:e.calc(y).sub(I).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:S},"&:hover":{background:H}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${ye(e.calc(F).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},sc(e,"slide-up"),sc(e,"slide-down"),lc(e,"move-up"),lc(e,"move-down")]},e9=ga("DatePicker",e=>{const t=Pn(z8(e),YD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[GD(t),eF(t),QD(t),JD(t),WD(t),Nc(e,{focusElCls:`${e.componentCls}-focused`})]},XD);var tF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},nF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:tF}))},O2=i.forwardRef(nF);process.env.NODE_ENV!=="production"&&(O2.displayName="CalendarOutlined");var rF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},aF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:rF}))},I2=i.forwardRef(aF);process.env.NODE_ENV!=="production"&&(I2.displayName="ClockCircleOutlined");var oF={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},iF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:oF}))},t9=i.forwardRef(iF);process.env.NODE_ENV!=="production"&&(t9.displayName="SwapRightOutlined");function lF(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function sF(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function n9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=o8(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[cF,uF]=["week","WeekPicker"],[dF,fF]=["month","MonthPicker"],[vF,mF]=["year","YearPicker"],[gF,hF]=["quarter","QuarterPicker"],[r9,Yd]=["time","TimePicker"],pF=e=>i.createElement(Ro,Object.assign({size:"small",type:"primary"},e));function a9(e){return P.useMemo(()=>Object.assign({button:pF},e),[e])}var CF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const bF=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:f,size:g,disabled:p,bordered:b=!0,placeholder:y,popupClassName:C,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=CF(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),M=i.useRef(null),{getPrefixCls:_,direction:F,getPopupContainer:A,rangePicker:V}=P.useContext(En),j=_("picker",s),{compactSize:G,compactItemClassnames:U}=Rc(j,F),H=_(),[B,O]=E2("rangePicker",x,b),N=bl(j),[I,z,k]=e9(j,N);if(process.env.NODE_ENV!=="production"){const ne=pr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=n9(n,j),q=a9(u),J=wl(ne=>{var ie;return(ie=g??G)!==null&&ie!==void 0?ie:ne}),Q=i.useContext(Xa),ce=p??Q,de=P.useContext(ui),{hasFeedback:ae,status:ve,feedbackIcon:me}=de,ge=i.createElement(i.Fragment,null,L===r9?i.createElement(I2,null):i.createElement(O2,null),ae&&me);P.useImperativeHandle(r,()=>M.current);const[le]=no("Calendar",ec),se=Object.assign(Object.assign({},le),n.locale),[ue]=Mc("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return I(i.createElement(u2,{space:!0},i.createElement(k8,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(t9,null)),disabled:ce,ref:M,placement:f,placeholder:sF(se,L,y),suffixIcon:ge,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${H}-slide-up`,picker:L},$,{className:Pe({[`${j}-${J}`]:J,[`${j}-${B}`]:O},y2(j,w2(ve,S),ae),z,U,d,V==null?void 0:V.className,k,N,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),m),locale:se.lang,prefixCls:j,getPopupContainer:c||A,generateConfig:e,components:q,direction:F,classNames:{popup:Pe(z,C||h,k,N,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var yF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const wF=e=>{const t=(d,m)=>{const f=m===Yd?"timePicker":"datePicker",g=P.forwardRef((p,b)=>{var y;const{prefixCls:C,getPopupContainer:h,components:S,style:E,className:x,rootClassName:L,size:$,bordered:M,placement:_,placeholder:F,popupClassName:A,dropdownClassName:V,disabled:j,status:G,variant:U,onCalendarChange:H}=p,B=yF(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:O,direction:N,getPopupContainer:I,[f]:z}=P.useContext(En),k=O("picker",C),{compactSize:Z,compactItemClassnames:q}=Rc(k,N),J=i.useRef(null),[Q,ce]=E2("datePicker",U,M),de=bl(k),[ae,ve,me]=e9(k,de);P.useImperativeHandle(b,()=>J.current);const ge={showToday:!0},le=d||p.picker,se=O(),{onSelect:ue,multiple:ne}=B,ie=ue&&d==="time"&&!ne,he=(yt,dt,we)=>{H==null||H(yt,dt,we),ie&&ue(yt)};if(process.env.NODE_ENV!=="production"){const yt=pr(m||"DatePicker");process.env.NODE_ENV!=="production"&&yt(d!=="quarter","deprecated",`DatePicker.${m} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),yt.deprecated(!V,"dropdownClassName","popupClassName"),yt.deprecated(!("bordered"in p),"bordered","variant"),yt.deprecated(!ie,"onSelect","onCalendarChange")}const[Ce,_e]=n9(p,k),Oe=a9(S),He=wl(yt=>{var dt;return(dt=$??Z)!==null&&dt!==void 0?dt:yt}),Ie=i.useContext(Xa),Ue=j??Ie,Be=P.useContext(ui),{hasFeedback:ut,status:pt,feedbackIcon:Je}=Be,Ge=i.createElement(i.Fragment,null,le==="time"?i.createElement(I2,null):i.createElement(O2,null),ut&&Je),[Ct]=no("DatePicker",ec),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=Mc("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return ae(i.createElement(u2,{space:!0},i.createElement(j8,Object.assign({ref:J,placeholder:lF(et,le,F),suffixIcon:Ge,placement:_,prevIcon:i.createElement("span",{className:`${k}-prev-icon`}),nextIcon:i.createElement("span",{className:`${k}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${k}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${k}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:he},ge,B,{locale:et.lang,className:Pe({[`${k}-${He}`]:He,[`${k}-${Q}`]:ce},y2(k,w2(pt,G),ut),ve,q,z==null?void 0:z.className,x,me,de,L),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:k,getPopupContainer:h||I,generateConfig:e,components:Oe,direction:N,disabled:Ue,classNames:{popup:Pe(ve,me,de,L,A||V)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:Et})},allowClear:Ce,removeIcon:_e}))))});return process.env.NODE_ENV!=="production"&&m&&(g.displayName=m),g},n=t(),r=t(cF,uF),a=t(dF,fF),s=t(vF,mF),c=t(gF,hF),u=t(r9,Yd);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},o9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=wF(e),u=bF(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},Ci=o9(VP),EF=f2(Ci,"popupAlign",void 0,"picker");Ci._InternalPanelDoNotUseOrYouWillBeFired=EF;const SF=f2(Ci.RangePicker,"popupAlign",void 0,"picker");Ci._InternalRangePanelDoNotUseOrYouWillBeFired=SF;Ci.generatePicker=o9;var xF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const LF=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,m=xF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(En),g=f(),p=t||f("modal"),b=bl(g),[y,C,h]=hf(p,b),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(Cf,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(ff,Object.assign({},e)),children:u},y(i.createElement(s2,Object.assign({prefixCls:p,className:Pe(C,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,b)},m,{closeIcon:df(p,r),closable:a},E)))},MF=$f(LF);function i9(e){return Ll(Ef(e))}const Kr=pf;Kr.useModal=cO;Kr.info=function(t){return Ll(Sf(t))};Kr.success=function(t){return Ll(xf(t))};Kr.error=function(t){return Ll(Lf(t))};Kr.warning=i9;Kr.warn=i9;Kr.confirm=function(t){return Ll(Mf(t))};Kr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}};Kr.config=aO;Kr._InternalPanelDoNotUseOrYouWillBeFired=MF;process.env.NODE_ENV!=="production"&&(Kr.displayName="Modal");var $F=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],l9=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,m=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,b=e.onChange,y=e.onKeyDown,C=sn(e,$F),h=ur(!1,{value:c,defaultValue:u}),S=te(h,2),E=S[0],x=S[1];function L(F,A){var V=E;return d||(V=F,x(V),b==null||b(V,A)),V}function $(F){F.which===Te.LEFT?L(!1,F):F.which===Te.RIGHT&&L(!0,F),y==null||y(F)}function M(F){var A=L(!E,F);p==null||p(A,F)}var _=Pe(a,s,(n={},X(n,"".concat(a,"-checked"),E),X(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},C,{type:"button",role:"switch","aria-checked":E,disabled:d,className:_,ref:t,onKeyDown:$,onClick:M}),m,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});l9.displayName="Switch";const RF=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,f=ye(d(u).add(d(r).mul(2)).equal()),g=ye(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:ye(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${m}-checked, ${m}-unchecked`]:{minHeight:n},[`${m}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${m}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${m}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${m}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ye(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${m}`]:{[`${m}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${m}`]:{[`${m}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},_F=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},OF=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${ye(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},IF=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,m=ye(u(c).add(u(r).mul(2)).equal()),f=ye(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${m} - ${f})`,marginInlineEnd:`calc(100% - ${m} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${m} + ${f})`,marginInlineEnd:`calc(-100% + ${m} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},PF=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Ia(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ye(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),K4(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},DF=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,m=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:m*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:m,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:m/2,innerMaxMarginSM:m+u+u*2}},FF=ga("Switch",e=>{const t=Pn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[PF(t),IF(t),OF(t),_F(t),RF(t)]},DF);var NF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const TF=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:m,value:f,defaultChecked:g,defaultValue:p,onChange:b}=e,y=NF(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[C,h]=ur(!1,{value:m??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(En),L=i.useContext(Xa),$=(a??L)||s,M=S("switch",n),_=i.createElement("div",{className:`${M}-handle`},s&&i.createElement(Lc,{className:`${M}-loading-icon`})),[F,A,V]=FF(M),j=wl(r),G=Pe(x==null?void 0:x.className,{[`${M}-small`]:j==="small",[`${M}-loading`]:s,[`${M}-rtl`]:E==="rtl"},c,u,A,V),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),H=function(){h(arguments.length<=0?void 0:arguments[0]),b==null||b.apply(void 0,arguments)};return F(i.createElement(t2,{component:"Switch"},i.createElement(l9,Object.assign({},y,{checked:C,onChange:H,prefixCls:M,className:G,style:U,disabled:$,ref:t,loadingIcon:_}))))}),P2=TF;P2.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(P2.displayName="Switch");const s9=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",suffixIcon:h=!0})=>Le.jsx(ro,{id:C,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:b,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),AF=e=>`https://flagsapi.com/${e}/flat/64.png`,Ds=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],HF=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,b;const[d,m]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=Ds[89])==null?void 0:p.dialingCode),f=y=>{var C;m(String(y)),t(y+c+(((C=e.split(c))==null?void 0:C[1])||""))},g=y=>{const{value:C}=y.target;t(d+c+C)};return Le.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[Le.jsx(s9,{options:Ds==null?void 0:Ds.map(y=>({label:Le.jsx("img",{src:AF(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),Le.jsx(D1,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),Le.jsx(D1,{value:(b=e.split(c))==null?void 0:b[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},VF="DD MMM YY - HH:mm:ss",kF=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],BF=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:jF}=Ci,zF=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=VF,presetRanges:s=kF,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:b=()=>!1,disableFutureDates:y=!1,...C})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(L=>(L==null?void 0:L.toDate())||new Date);t(x)}else t&&t([])};return Le.jsx(jF,{showTime:r,...C,value:h,onChange:S,format:a,presets:s,disabledDate:y?BF:b,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var Ki=(e=>(e.NEXT="next",e.PREV="prev",e))(Ki||{});const c9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,b,y;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=C=>{C===Ki.NEXT?s(h=>(h+1)%(r==null?void 0:r.length)):C===Ki.PREV&&s(h=>(h-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const C=c==null?void 0:c.score;return C?`${(C*100).toFixed(2)}%`:"N.A."},m=C=>C.split("_").join(" ");return r?Le.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[Le.jsxs("header",{children:[Le.jsx("h6",{children:e}),Le.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),Le.jsxs("div",{className:"carousel_card",children:[Le.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&Le.jsxs("span",{children:[Le.jsx("p",{children:"Detection"}),Le.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&Le.jsxs("span",{children:[Le.jsx("p",{children:"Match"}),Le.jsx("img",{src:(b=c==null?void 0:c.match)==null?void 0:b.image,alt:"Matched Image"})]})]}),Le.jsxs("div",{className:"carousel_info_container",children:[Le.jsx("p",{className:"text_s",children:"Label"}),Le.jsx("h6",{className:"capatalize_first_letter",children:((y=c==null?void 0:c.labels)==null?void 0:y[0])||"N.A."})]}),Le.jsxs("div",{className:"carousel_info_container",children:[Le.jsx("p",{className:"text_s",children:"Score"}),Le.jsx("h6",{className:"font_secondary",children:d()})]}),Le.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?Le.jsxs(Le.Fragment,{children:[Le.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,h)=>{var S,E;return Le.jsxs("div",{className:"event_preview_carousel_attribute",children:[Le.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),Le.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((S=c==null?void 0:c.attributes)==null?void 0:S[C])||"N.A.",children:((E=c==null?void 0:c.attributes)==null?void 0:E[C])||"N.A."})]},h)})||Le.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):Le.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&Le.jsxs("footer",{className:"event_preview_carousel_footer",children:[Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(Ki.PREV)}),Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(Ki.NEXT)})]})]}):Le.jsx(Le.Fragment,{})},Kd=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),Xd=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),I1=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},ZF=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var m;const u=n,d=u==null?void 0:u[s];return d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon),Le.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?Le.jsx("p",{children:"No data found! 📊"}):Le.jsxs(Le.Fragment,{children:[Le.jsxs("span",{className:"event_preview_dialog_header",children:[Le.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&Le.jsx("img",{src:t,alt:e})}),Le.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:Le.jsx("h6",{className:"hydra_text_limit",children:e})})]}),Le.jsxs("div",{className:"event_preview_content_container",children:[Le.jsxs("span",{className:"event_preview_image_container",children:[Le.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),Le.jsxs("div",{className:"event_preview_image_footer",children:[Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),Le.jsx("p",{children:"Severity"}),Le.jsx("h5",{title:d==null?void 0:d.severity,children:(m=d==null?void 0:d.severity)==null?void 0:m.toLocaleLowerCase()})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Source"}),Le.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Date"}),Le.jsx("h5",{title:Kd.format(new Date(d==null?void 0:d.timeStamp)),children:Kd.format(new Date(d==null?void 0:d.timeStamp))})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Time"}),Le.jsx("h5",{title:Xd.format(new Date(d==null?void 0:d.timeStamp)),children:Xd.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),Le.jsx("span",{className:"event_preview_content",children:Le.jsx(c9,{data:d==null?void 0:d.blobs,height:"calc(100% - 3rem)"})}),Le.jsxs("span",{className:"event_preview_other_events_container",children:[Le.jsxs("header",{children:[Le.jsx("h6",{children:"Events"}),Le.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),Le.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((f,g)=>Le.jsx("div",{onClick:p=>{p.target.tagName!="INPUT"&&(I1(p.target),c==null||c(g))},children:Le.jsx(n7,{data:f,isFocused:g==s},g)},f==null?void 0:f.id))}),Le.jsxs("footer",{children:[Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",onClick:f=>{s!==0&&(I1(f.target),c==null||c(s-1))},textSize:"xs"}),Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",onClick:f=>{s!==(u==null?void 0:u.length)-1&&(I1(f.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},WF={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},UF=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>Le.jsx(Kr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:WF[r],children:a}),qF=({options:e,onChange:t,value:n,placeholder:r="Select Items...",className:a="",triggerHighlightColor:s="#29292955",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f=null,searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",maxTagCount:h="responsive",suffixIcon:S=!0})=>Le.jsx(ro,{id:C,disabled:p,showSearch:g,className:`multi_select_container ${a} h_${y} ${f?"border":""}`,mode:"multiple",style:{width:b,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${y} ${f?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),GF=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[m,f]=P.useState(e),g=e!==void 0,p=g?e:m,b=y=>{g||f(y),a==null||a(y)};return Le.jsx(P2,{checked:p,onChange:b,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var Xi={exports:{}};/**
268
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:r2},[`${t}-panel > ${t}-time-panel`]:{paddingTop:_},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${$} ease-out`},uP(e,A,N)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:A,borderRadius:V,boxShadow:j,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:O,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${ye(s)} ${c} ${U}`,li:Object.assign(Object.assign({},rc),{borderRadius:G,paddingInline:h,paddingBlock:e.calc(y).sub(I).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:S},"&:hover":{background:H}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${ye(e.calc(F).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},sc(e,"slide-up"),sc(e,"slide-down"),lc(e,"move-up"),lc(e,"move-down")]},e9=ga("DatePicker",e=>{const t=Pn(z8(e),YD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[GD(t),eF(t),QD(t),JD(t),WD(t),Nc(e,{focusElCls:`${e.componentCls}-focused`})]},XD);var tF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},nF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:tF}))},O2=i.forwardRef(nF);process.env.NODE_ENV!=="production"&&(O2.displayName="CalendarOutlined");var rF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},aF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:rF}))},I2=i.forwardRef(aF);process.env.NODE_ENV!=="production"&&(I2.displayName="ClockCircleOutlined");var oF={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},iF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:oF}))},t9=i.forwardRef(iF);process.env.NODE_ENV!=="production"&&(t9.displayName="SwapRightOutlined");function lF(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function sF(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function n9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=o8(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[cF,uF]=["week","WeekPicker"],[dF,fF]=["month","MonthPicker"],[vF,mF]=["year","YearPicker"],[gF,hF]=["quarter","QuarterPicker"],[r9,Yd]=["time","TimePicker"],pF=e=>i.createElement(Ro,Object.assign({size:"small",type:"primary"},e));function a9(e){return P.useMemo(()=>Object.assign({button:pF},e),[e])}var CF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const bF=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:f,size:g,disabled:p,bordered:b=!0,placeholder:y,popupClassName:C,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=CF(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),M=i.useRef(null),{getPrefixCls:_,direction:F,getPopupContainer:A,rangePicker:V}=P.useContext(En),j=_("picker",s),{compactSize:G,compactItemClassnames:U}=Rc(j,F),H=_(),[B,O]=E2("rangePicker",x,b),N=bl(j),[I,z,k]=e9(j,N);if(process.env.NODE_ENV!=="production"){const ne=pr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=n9(n,j),q=a9(u),J=wl(ne=>{var ie;return(ie=g??G)!==null&&ie!==void 0?ie:ne}),Q=i.useContext(Xa),ce=p??Q,de=P.useContext(ui),{hasFeedback:ae,status:ve,feedbackIcon:me}=de,ge=i.createElement(i.Fragment,null,L===r9?i.createElement(I2,null):i.createElement(O2,null),ae&&me);P.useImperativeHandle(r,()=>M.current);const[le]=no("Calendar",ec),se=Object.assign(Object.assign({},le),n.locale),[ue]=Mc("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return I(i.createElement(u2,{space:!0},i.createElement(k8,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(t9,null)),disabled:ce,ref:M,placement:f,placeholder:sF(se,L,y),suffixIcon:ge,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${H}-slide-up`,picker:L},$,{className:Pe({[`${j}-${J}`]:J,[`${j}-${B}`]:O},y2(j,w2(ve,S),ae),z,U,d,V==null?void 0:V.className,k,N,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),m),locale:se.lang,prefixCls:j,getPopupContainer:c||A,generateConfig:e,components:q,direction:F,classNames:{popup:Pe(z,C||h,k,N,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var yF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const wF=e=>{const t=(d,m)=>{const f=m===Yd?"timePicker":"datePicker",g=P.forwardRef((p,b)=>{var y;const{prefixCls:C,getPopupContainer:h,components:S,style:E,className:x,rootClassName:L,size:$,bordered:M,placement:_,placeholder:F,popupClassName:A,dropdownClassName:V,disabled:j,status:G,variant:U,onCalendarChange:H}=p,B=yF(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:O,direction:N,getPopupContainer:I,[f]:z}=P.useContext(En),k=O("picker",C),{compactSize:Z,compactItemClassnames:q}=Rc(k,N),J=i.useRef(null),[Q,ce]=E2("datePicker",U,M),de=bl(k),[ae,ve,me]=e9(k,de);P.useImperativeHandle(b,()=>J.current);const ge={showToday:!0},le=d||p.picker,se=O(),{onSelect:ue,multiple:ne}=B,ie=ue&&d==="time"&&!ne,he=(yt,dt,we)=>{H==null||H(yt,dt,we),ie&&ue(yt)};if(process.env.NODE_ENV!=="production"){const yt=pr(m||"DatePicker");process.env.NODE_ENV!=="production"&&yt(d!=="quarter","deprecated",`DatePicker.${m} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),yt.deprecated(!V,"dropdownClassName","popupClassName"),yt.deprecated(!("bordered"in p),"bordered","variant"),yt.deprecated(!ie,"onSelect","onCalendarChange")}const[Ce,_e]=n9(p,k),Oe=a9(S),He=wl(yt=>{var dt;return(dt=$??Z)!==null&&dt!==void 0?dt:yt}),Ie=i.useContext(Xa),Ue=j??Ie,Be=P.useContext(ui),{hasFeedback:ut,status:pt,feedbackIcon:Je}=Be,Ge=i.createElement(i.Fragment,null,le==="time"?i.createElement(I2,null):i.createElement(O2,null),ut&&Je),[Ct]=no("DatePicker",ec),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=Mc("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return ae(i.createElement(u2,{space:!0},i.createElement(j8,Object.assign({ref:J,placeholder:lF(et,le,F),suffixIcon:Ge,placement:_,prevIcon:i.createElement("span",{className:`${k}-prev-icon`}),nextIcon:i.createElement("span",{className:`${k}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${k}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${k}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:he},ge,B,{locale:et.lang,className:Pe({[`${k}-${He}`]:He,[`${k}-${Q}`]:ce},y2(k,w2(pt,G),ut),ve,q,z==null?void 0:z.className,x,me,de,L),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:k,getPopupContainer:h||I,generateConfig:e,components:Oe,direction:N,disabled:Ue,classNames:{popup:Pe(ve,me,de,L,A||V)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:Et})},allowClear:Ce,removeIcon:_e}))))});return process.env.NODE_ENV!=="production"&&m&&(g.displayName=m),g},n=t(),r=t(cF,uF),a=t(dF,fF),s=t(vF,mF),c=t(gF,hF),u=t(r9,Yd);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},o9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=wF(e),u=bF(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},Ci=o9(VP),EF=f2(Ci,"popupAlign",void 0,"picker");Ci._InternalPanelDoNotUseOrYouWillBeFired=EF;const SF=f2(Ci.RangePicker,"popupAlign",void 0,"picker");Ci._InternalRangePanelDoNotUseOrYouWillBeFired=SF;Ci.generatePicker=o9;var xF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const LF=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,m=xF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(En),g=f(),p=t||f("modal"),b=bl(g),[y,C,h]=hf(p,b),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(Cf,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(ff,Object.assign({},e)),children:u},y(i.createElement(s2,Object.assign({prefixCls:p,className:Pe(C,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,b)},m,{closeIcon:df(p,r),closable:a},E)))},MF=$f(LF);function i9(e){return Ll(Ef(e))}const Kr=pf;Kr.useModal=cO;Kr.info=function(t){return Ll(Sf(t))};Kr.success=function(t){return Ll(xf(t))};Kr.error=function(t){return Ll(Lf(t))};Kr.warning=i9;Kr.warn=i9;Kr.confirm=function(t){return Ll(Mf(t))};Kr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}};Kr.config=aO;Kr._InternalPanelDoNotUseOrYouWillBeFired=MF;process.env.NODE_ENV!=="production"&&(Kr.displayName="Modal");var $F=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],l9=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,m=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,b=e.onChange,y=e.onKeyDown,C=sn(e,$F),h=ur(!1,{value:c,defaultValue:u}),S=te(h,2),E=S[0],x=S[1];function L(F,A){var V=E;return d||(V=F,x(V),b==null||b(V,A)),V}function $(F){F.which===Te.LEFT?L(!1,F):F.which===Te.RIGHT&&L(!0,F),y==null||y(F)}function M(F){var A=L(!E,F);p==null||p(A,F)}var _=Pe(a,s,(n={},X(n,"".concat(a,"-checked"),E),X(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},C,{type:"button",role:"switch","aria-checked":E,disabled:d,className:_,ref:t,onKeyDown:$,onClick:M}),m,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});l9.displayName="Switch";const RF=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,f=ye(d(u).add(d(r).mul(2)).equal()),g=ye(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:ye(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${m}-checked, ${m}-unchecked`]:{minHeight:n},[`${m}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${m}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${m}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${m}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ye(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${m}`]:{[`${m}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${m}`]:{[`${m}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},_F=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},OF=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${ye(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},IF=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,m=ye(u(c).add(u(r).mul(2)).equal()),f=ye(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${m} - ${f})`,marginInlineEnd:`calc(100% - ${m} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${m} + ${f})`,marginInlineEnd:`calc(-100% + ${m} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},PF=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Ia(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ye(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),K4(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},DF=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,m=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:m*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:m,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:m/2,innerMaxMarginSM:m+u+u*2}},FF=ga("Switch",e=>{const t=Pn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[PF(t),IF(t),OF(t),_F(t),RF(t)]},DF);var NF=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const TF=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:m,value:f,defaultChecked:g,defaultValue:p,onChange:b}=e,y=NF(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[C,h]=ur(!1,{value:m??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(En),L=i.useContext(Xa),$=(a??L)||s,M=S("switch",n),_=i.createElement("div",{className:`${M}-handle`},s&&i.createElement(Lc,{className:`${M}-loading-icon`})),[F,A,V]=FF(M),j=wl(r),G=Pe(x==null?void 0:x.className,{[`${M}-small`]:j==="small",[`${M}-loading`]:s,[`${M}-rtl`]:E==="rtl"},c,u,A,V),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),H=function(){h(arguments.length<=0?void 0:arguments[0]),b==null||b.apply(void 0,arguments)};return F(i.createElement(t2,{component:"Switch"},i.createElement(l9,Object.assign({},y,{checked:C,onChange:H,prefixCls:M,className:G,style:U,disabled:$,ref:t,loadingIcon:_}))))}),P2=TF;P2.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(P2.displayName="Switch");const s9=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",suffixIcon:h=!0})=>Le.jsx(ro,{id:C,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:b,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),AF=e=>`https://flagsapi.com/${e}/flat/64.png`,Ds=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],HF=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,b;const[d,m]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=Ds[89])==null?void 0:p.dialingCode),f=y=>{var C;m(String(y)),t(y+c+(((C=e.split(c))==null?void 0:C[1])||""))},g=y=>{const{value:C}=y.target;t(d+c+C)};return Le.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[Le.jsx(s9,{options:Ds==null?void 0:Ds.map(y=>({label:Le.jsx("img",{src:AF(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),Le.jsx(D1,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),Le.jsx(D1,{value:(b=e.split(c))==null?void 0:b[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},VF="DD MMM YY - HH:mm:ss",kF=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],BF=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:jF}=Ci,zF=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=VF,presetRanges:s=kF,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:b=()=>!1,disableFutureDates:y=!1,...C})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(L=>(L==null?void 0:L.toDate())||new Date);t(x)}else t&&t([])};return Le.jsx(jF,{showTime:r,...C,value:h,onChange:S,format:a,presets:s,disabledDate:y?BF:b,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var Ki=(e=>(e.NEXT="next",e.PREV="prev",e))(Ki||{});const c9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,b,y;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=C=>{C===Ki.NEXT?s(h=>(h+1)%(r==null?void 0:r.length)):C===Ki.PREV&&s(h=>(h-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const C=c==null?void 0:c.score;return C?`${(C*100).toFixed(2)}%`:"N.A."},m=C=>C.split("_").join(" ");return r?Le.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[Le.jsxs("header",{children:[Le.jsx("h6",{children:e}),Le.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),Le.jsxs("div",{className:"carousel_card",children:[Le.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&Le.jsxs("span",{children:[Le.jsx("p",{children:"Detection"}),Le.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&Le.jsxs("span",{children:[Le.jsx("p",{children:"Match"}),Le.jsx("img",{src:(b=c==null?void 0:c.match)==null?void 0:b.image,alt:"Matched Image"})]})]}),Le.jsxs("div",{className:"carousel_info_container",children:[Le.jsx("p",{className:"text_s",children:"Label"}),Le.jsx("h6",{className:"capatalize_first_letter",children:((y=c==null?void 0:c.labels)==null?void 0:y[0])||"N.A."})]}),Le.jsxs("div",{className:"carousel_info_container",children:[Le.jsx("p",{className:"text_s",children:"Score"}),Le.jsx("h6",{className:"font_secondary",children:d()})]}),Le.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?Le.jsxs(Le.Fragment,{children:[Le.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,h)=>{var S,E;return Le.jsxs("div",{className:"event_preview_carousel_attribute",children:[Le.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),Le.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((S=c==null?void 0:c.attributes)==null?void 0:S[C])||"N.A.",children:((E=c==null?void 0:c.attributes)==null?void 0:E[C])||"N.A."})]},h)})||Le.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):Le.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&Le.jsxs("footer",{className:"event_preview_carousel_footer",children:[Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(Ki.PREV)}),Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(Ki.NEXT)})]})]}):Le.jsx(Le.Fragment,{})},Kd=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),Xd=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),I1=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},ZF=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var m;const u=n,d=u==null?void 0:u[s];return d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon),Le.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?Le.jsx("p",{children:"No data found! 📊"}):Le.jsxs(Le.Fragment,{children:[Le.jsxs("span",{className:"event_preview_dialog_header",children:[Le.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&Le.jsx("img",{src:t,alt:e})}),Le.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:Le.jsx("h6",{className:"hydra_text_limit",children:e})})]}),Le.jsxs("div",{className:"event_preview_content_container",children:[Le.jsxs("span",{className:"event_preview_image_container",children:[Le.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),Le.jsxs("div",{className:"event_preview_image_footer",children:[Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),Le.jsx("p",{children:"Severity"}),Le.jsx("h5",{title:d==null?void 0:d.severity,children:(m=d==null?void 0:d.severity)==null?void 0:m.toLocaleLowerCase()})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Source"}),Le.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Date"}),Le.jsx("h5",{title:Kd.format(new Date(d==null?void 0:d.timeStamp)),children:Kd.format(new Date(d==null?void 0:d.timeStamp))})]}),Le.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Le.jsx("p",{children:"Time"}),Le.jsx("h5",{title:Xd.format(new Date(d==null?void 0:d.timeStamp)),children:Xd.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),Le.jsx("span",{className:"event_preview_content",children:Le.jsx(c9,{data:d==null?void 0:d.blobs})}),Le.jsxs("span",{className:"event_preview_other_events_container",children:[Le.jsxs("header",{children:[Le.jsx("h6",{children:"Events"}),Le.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),Le.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((f,g)=>Le.jsx("div",{onClick:p=>{p.target.tagName!="INPUT"&&(I1(p.target),c==null||c(g))},children:Le.jsx(n7,{data:f,isFocused:g==s},g)},f==null?void 0:f.id))}),Le.jsxs("footer",{children:[Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",onClick:f=>{s!==0&&(I1(f.target),c==null||c(s-1))},textSize:"xs"}),Le.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",onClick:f=>{s!==(u==null?void 0:u.length)-1&&(I1(f.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},WF={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},UF=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>Le.jsx(Kr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:WF[r],children:a}),qF=({options:e,onChange:t,value:n,placeholder:r="Select Items...",className:a="",triggerHighlightColor:s="#29292955",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f=null,searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",maxTagCount:h="responsive",suffixIcon:S=!0})=>Le.jsx(ro,{id:C,disabled:p,showSearch:g,className:`multi_select_container ${a} h_${y} ${f?"border":""}`,mode:"multiple",style:{width:b,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${y} ${f?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),GF=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[m,f]=P.useState(e),g=e!==void 0,p=g?e:m,b=y=>{g||f(y),a==null||a(y)};return Le.jsx(P2,{checked:p,onChange:b,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var Xi={exports:{}};/**
269
269
  * @license
270
270
  * Lodash <https://lodash.com/>
271
271
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
package/dist/index.js CHANGED
@@ -25607,13 +25607,7 @@ const tN = ({
25607
25607
  ] })
25608
25608
  ] })
25609
25609
  ] }),
25610
- /* @__PURE__ */ Le.jsx("span", { className: "event_preview_content", children: /* @__PURE__ */ Le.jsx(
25611
- tN,
25612
- {
25613
- data: d == null ? void 0 : d.blobs,
25614
- height: "calc(100% - 3rem)"
25615
- }
25616
- ) }),
25610
+ /* @__PURE__ */ Le.jsx("span", { className: "event_preview_content", children: /* @__PURE__ */ Le.jsx(tN, { data: d == null ? void 0 : d.blobs }) }),
25617
25611
  /* @__PURE__ */ Le.jsxs("span", { className: "event_preview_other_events_container", children: [
25618
25612
  /* @__PURE__ */ Le.jsxs("header", { children: [
25619
25613
  /* @__PURE__ */ Le.jsx("h6", { children: "Events" }),
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(In,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],R):(In=typeof globalThis<"u"?globalThis:In||self,R(In["Awiros UI"]={},In.React,In.ReactDOM))})(this,function(In,R,la){"use strict";var F2=document.createElement("style");F2.textContent=`*{box-sizing:border-box}body{margin:0}mark{background-color:unset!important;padding:0rem!important}hr,p{margin:0}:root{font-family:Inter,sans-serif;line-height:1.5;font-weight:400;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}}.icon_svg{width:100%;height:100%}.icon.size_xs{width:16px;height:16px}.icon.size_s{width:20px;height:20px}.icon.size_m{width:24px;height:24px}.icon.size_l{width:32px;height:32px}.icon.size_xl{width:48px;height:48px}.spinner{animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button{transition:all .2s ease-in-out;display:flex;align-items:center;cursor:pointer;position:relative;background-color:unset;border:none;outline-style:solid;border-radius:500px;font-family:Inter,sans-serif}.button .background{transition:all .2s ease-in-out;position:absolute;z-index:1;width:100%;height:100%;top:0;left:0;border-radius:500px}.button .background.primary{filter:opacity(.1)}.button .background.primary:hover{filter:opacity(.2)}.button .background.primary:active{filter:opacity(1)}.button .background.secondary{filter:opacity(.1)}.button .background.secondary:hover{filter:opacity(.15)}.button .background.secondary:active{filter:opacity(.2)}.button .background.tertiary{filter:opacity(0)}.button .background.tertiary:hover{filter:opacity(.1)}.button .background.tertiary:active{filter:opacity(.2)}.button .background.nav{filter:opacity(0)}.button .background.nav:hover{filter:opacity(.1)}.button .background.nav:active{filter:opacity(.2)}.button .background.disabled{filter:opacity(.05)!important}.button .background.disabled.tertiary,.button .background.disabled.nav{filter:opacity(0)!important}.button>p{align-self:center;font-weight:var(--hydra_font_weight_s, 400);z-index:2}.button.disabled,.button.disabled:hover,.button.disabled:active{cursor:no-drop!important;color:var(--hydra_c_disabled)!important}.button.disabled{cursor:no-drop;color:var(--hydra_c_disabled)}.button.disabled.primary,.button.disabled.primary:hover,.button.disabled.primary:active{outline-width:1px!important}.button.disabled.secondary,.button.disabled.secondary:hover,.button.disabled.secondary:active,.button.disabled.tertiary,.button.disabled.tertiary:hover,.button.disabled.tertiary:active,.button.disabled.nav,.button.disabled.nav:hover,.button.disabled.nav:active{outline-width:0px!important}.button.disabled.primary,.button.primary{outline-width:1px!important}.button.tertiary,.button.secondary{outline-width:0px!important}.button.secondary:hover,.button.secondary:active{outline-width:1px!important}.button.nav,.button.nav:hover{outline-width:0px!important}.button.nav:active{outline-width:1px!important}.button>p,.button>svg{z-index:2;pointer-events:none;transition:all .2s ease-in-out}.button.fixed.size_s{--button_height: 2rem;height:var(--button_height);padding:0 16px}.button.fixed.size_m{--button_height: 2.5rem;height:var(--button_height);padding:0 18px}.button.fixed.size_l{--button_height: 3rem;height:var(--button_height);padding:0 20px}.button.hugging.size_s{padding:8px 16px}.button.hugging.size_m{padding:10px 18px}.button.hugging.size_l{padding:12px 20px}.button.fixed.size_s.icon_button{--button_height: 2rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_m.icon_button{--button_height: 2.5rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_l.icon_button{--button_height: 3rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.hugging.size_s.icon_button{padding:8px}.button.hugging.size_m.icon_button{padding:10px}.button.hugging.size_l.icon_button{padding:12px}.button>.text_xs{font-size:var(--awi_font_xs, 12px);line-height:12px}.button>.text_s{font-size:var(--awi_font_s, 14px);line-height:16px}.button>.text_m{font-size:var(--awi_font_m, 16px);line-height:20px}.button>.text_l{font-size:var(--awi_font_l, 20px);line-height:24px}.button>.text_xl{font-size:var(--awi_font_xl, 22px);line-height:28px}.compact_event_card{--c_surface_primary_border: #eaebee;--c_surface_primary: #fff;--c_text_primary: #292929;--c_text_secondary: #474747;--c_surface_secondary: #f3f5f7;--font_s: 14px;--font_xs: 12px}.compact_event_card{-webkit-user-select:none;user-select:none;position:relative;display:flex;justify-content:flex-start;align-items:center;background-color:var(--c_surface_primary);border:unset;border-bottom:1px solid var(--c_surface_primary_border);z-index:1}.compact_event_card>img{height:100%;width:40%;min-width:40%;max-width:40%;background-color:var(--c_surface_secondary);object-fit:contain}.compact_event_card .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.compact_event_card .compact_event_card_content{display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;width:60%;height:100%}.compact_event_card .compact_event_card_content>header{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:2% 4%;height:20%;min-height:20%;max-height:20%;border-bottom:1px solid var(--c_surface_primary_border)}.compact_event_card .compact_event_card_content>header>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;flex-grow:1;flex-wrap:wrap}.compact_event_card .compact_event_card_details>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details>span{display:flex;flex-direction:column;justify-content:center;gap:2%;width:50%}.compact_event_card .compact_event_card_details>span>p{text-transform:uppercase;font-size:var(--font_xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_details>span>h6{font-size:var(--font_s);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_content>footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;height:20%;color:var(--c_text_primary)}.compact_event_card .compact_event_card_content>footer>.status_indicator{z-index:2}.compact_event_card .compact_event_card_content>footer>p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:capitalize}.compact_event_card .compact_event_card_content>div{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.compact_event_card .compact_event_card_checkbox{position:absolute!important;top:.5rem;right:.5rem;z-index:10}.compact_event_card .compact_event_card_bookmark{position:absolute;top:.25rem;left:.25rem;z-index:10;height:1rem;width:1rem;max-height:1rem;max-width:1rem}.input_wrapper{--color_text_placeholder: #929292;--color_input_box_active: #29292926;--color_input_box_result: #29292926;--color_input_box_border_primary: #292929;--color_input_box_disabled: rgb(168, 168, 168);--color_disabled: rgb(24, 24, 24);--font_s: 14px;transition:all .2s ease-in-out;display:flex;align-items:center;position:relative;border:none;box-sizing:border-box;gap:8px;border-radius:25px;--input_box_height_s: 30px;--input_box_height_m: 40px;--input_box_height_l: 50px;--input_box_padding_s: .5rem 1rem;--input_box_padding_m: .75rem 1rem;--input_box_padding_l: .5rem 1.5rem}.input_wrapper.disabled{cursor:no-drop!important}.input_wrapper.disabled>.input{cursor:no-drop!important}.input_wrapper.h_s{height:var(--input_box_height_s);padding:var(--input_box_padding_s)}.input_wrapper.h_m{height:var(--input_box_height_m);padding:var(--input_box_padding_m)}.input_wrapper.h_l{height:var(--input_box_height_l);padding:var(--input_box_padding_l)}.input_wrapper:focus-within{background-color:var(--color_input_box_active);outline:1px solid var(--color_input_box_border_primary)}.input_wrapper.icon_before{flex-direction:row}.input_wrapper.icon_after{flex-direction:row-reverse}.input{border:none!important;outline:none!important;background:transparent;text-overflow:ellipsis;overflow:hidden!important;min-width:0!important;flex-grow:1;font-size:var(--font_s)!important}.input_wrapper:not(.empty):not(.disabled):not(:focus-within){background-color:var(--color_input_box_result);color:var(--color_text_primary)}.input::placeholder{font-size:var(--font_s)!important;color:var(--color_text_placeholder)!important}.icon-wrapper{display:flex;align-items:center;justify-content:center}.input_wrapper.input-disabled{background-color:var(--color_input_box_disabled);color:var(--color_disabled)!important}.single_select_container,.single_select_dropdown{--c_border: 1px solid #29292929;--c_trigger_background: #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--c_secondary: #292929;--c_text_primary: #292929;--font_s: 14px;--font_weight_m: 500;--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.single_select_container{display:flex;justify-content:center;align-items:center;height:unset}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:var(--c_trigger_background)!important}.single_select_container .ant-select-selector{outline:var(--c_border)!important}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.single_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important}.single_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.single_select_dropdown.border{outline:var(--c_border)!important}.single_select_dropdown .ant-select-item-option{display:flex!important;align-items:center!important;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.single_select_dropdown .ant-select-item-option-content{display:flex!important;align-items:center!important}.single_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown .ant-select-item-option>.ant-select-item-option-content>img{max-height:1.5rem}.single_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.single_select_dropdown.items_center .ant-select-item-option-content{justify-content:center!important}.single_select_dropdown.items_start .ant-select-item-option-content{justify-content:flex-start!important}.single_select_dropdown.items_end .ant-select-item-option-content{justify-content:flex-end!important}.single_select_dropdown .ant-select-item-option-selected{background-color:var(--c_menu_active)!important}.single_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){background-color:var(--c_menu_hover)!important}.single_select_container.items_center .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:center!important}.single_select_container.items_start .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-start!important}.single_select_container.items_end .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-end!important}.single_select_container .ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.single_select_container .ant-select-selection-item>img{max-height:1.5rem}.contact_input{display:flex;flex-direction:row;align-items:center;gap:.5rem}.ant-picker.ant-picker-range,.ant-picker-dropdown{--c_text_primary: #292929;--c_text_secondary: rgb(110, 110, 110);--c_trigger_border: #29292955;--c_trigger_background: #29292929;--c_highlight: #fc0;--c_date_range_fill: rgba(255, 204, 0, .26);--c_surface_border: rgb(234, 235, 238);--c_surface: #fff}.ant-picker.ant-picker-range{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;height:40px!important;padding:0 .75rem!important}.ant-picker.ant-picker-range.border{outline:1px solid var(--c_trigger_border)!important}.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px 0 0 500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end>.ant-picker-cell-inner{border-radius:0 500px 500px 0!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-today :before{border:1px solid var(--c_highlight)!important}.ant-picker-cell.ant-picker-cell-range-start.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-range-end.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-in-range.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-time-panel-cell-selected>.ant-picker-time-panel-cell-inner{background-color:var(--c_date_range_fill)!important}.ant-picker-footer>.ant-picker-ranges>.ant-picker-ok>button{background-color:var(--c_highlight)!important;color:var(--c_text_primary)!important;border-radius:500px!important}.ant-picker-header>.ant-picker-header-view>button :hover{color:var(--c_text_secondary)!important}.ant-picker-active-bar{background:var(--c_highlight)!important}.ant-picker-ranges,.ant-picker-header{border-radius:0!important}.ant-picker-dropdown-range{z-index:10000;border-radius:0!important;border:1px solid var(--c_surface_border);padding:0}.ant-picker-range-wrapper{border-radius:0!important}.ant-picker-range-arrow{border:unset!important;border-color:unset!important}.ant-picker-panel-container{border-radius:0!important;background-color:var(--c_surface)!important;box-shadow:unset!important}.ant-picker-panel-layout{color:var(--c_text_primary)!important}.ant-picker-body{border-color:var(--c_surface_border)!important}.ant-picker-content>thead>tr>th,.ant-picker-cell-inner,.ant-picker-time-panel-cell-inner,.ant-picker-header-view,.ant-picker-header-super-prev-btn,.ant-picker-header-prev-btn,.ant-picker-header-next-btn,.ant-picker-header-super-next-btn{color:var(--c_text_primary)!important}.ant-picker-suffix,.ant-picker-clear{color:var(--c_text_secondary)!important}.event_preview_carousel_container{position:relative!important;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%;height:100%;--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_carousel_container>header{height:3rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--c_surface_primary_border);padding:2% 4%}.event_preview_carousel_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_carousel_container .text_s{font-size:12px}.event_preview_carousel_container .carousel_card{min-height:80%;flex-grow:1;overflow-y:auto}.event_preview_carousel_container .carousel_card_images{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span:nth-child(odd){border-right:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span{width:50%;height:10rem;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:var(--font_s)}.event_preview_carousel_container .carousel_card_images>span>img{flex-grow:1;width:100%;height:7rem;object-fit:contain;background-color:var(--c_surface_secondary)}.event_preview_carousel_container .carousel_info_container{display:flex;flex-direction:column;justify-content:center;padding:1.5% 4%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span>p{height:2rem;display:flex;justify-content:flex-start;align-items:center}.event_preview_carousel_container .carousel_info_container>p{text-transform:uppercase}.event_preview_carousel_container .object_attributes_container{display:flex;flex-direction:column;padding:2% 4%;gap:.25rem;flex-grow:1}.event_preview_carousel_container .event_preview_carousel_attribute{display:flex;justify-content:space-between;align-items:center;width:100%}.event_preview_carousel_container .event_preview_carousel_attribute>p{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_attribute>h6{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_footer{width:100%;display:flex;justify-content:center;align-items:center;padding:.5rem;border-top:1px solid var(--c_surface_primary_border);gap:.5rem}.event_preview_window{--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_window{background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);border-bottom:unset;display:flex;flex-direction:column}.event_preview_window.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem}.event_preview_window .event_preview_dialog_header{display:flex;justify-content:flex-start;align-items:center;height:3rem;gap:1rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_icon{width:3rem;height:100%;background-color:var(--c_surface_primary);border-right:1px solid var(--c_surface_primary_border);font-size:var(--font_s);overflow:hidden}.event_preview_window .event_preview_dialog_header_icon>img{height:100%;width:100%}.event_preview_window .event_preview_dialog_header_content{height:3rem;display:flex;justify-content:flex-start;align-items:center;gap:.25rem;width:69%}.event_preview_window .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.event_preview_window .event_preview_window_header_container{width:100%;display:flex;justify-content:flex-end;align-items:center;height:3rem;min-height:3rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_actions{display:flex;justify-content:flex-end;padding:0 1rem}.event_preview_window .event_preview_content_container{display:flex;width:100%;height:calc(100% - 3rem);flex-grow:1}.event_preview_window .event_preview_image_container{position:relative;display:flex;flex-direction:column;width:50%;min-height:100%;max-height:100%;height:100%}.event_preview_window .event_preview_image_container>img{width:100%;flex-grow:1;object-fit:contain;background-color:var(--c_surface_secondary);height:88%;min-height:88%}.event_preview_window .event_preview_image_footer{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--c_surface_primary_border);height:12%;max-height:12%}.event_preview_window .event_preview_image_footer_infoitem{display:flex;flex-direction:column;justify-content:space-around;height:100%;border-right:1px solid var(--c_surface_primary_border);padding:.25rem .5rem;color:var(--c_text_primary)}.event_preview_window .event_preview_image_footer_infoitem>p{text-transform:uppercase;font-size:var(--font_s)}.event_preview_window .event_preview_image_footer_infoitem>h5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1){width:20%;position:relative;z-index:1}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>h5{text-transform:capitalize}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>.hydra_status_indicator{z-index:2}.event_preview_window .event_preview_image_footer_infoitem:nth-child(2){width:40%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(3){width:20%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(4){width:20%;border-right:unset}.event_preview_window .event_preview_content{flex-grow:1;height:100%;width:25%;background-color:var(--c_surface_primary);border-bottom:1px solid var(--c_surface_primary_border);border-right:1px solid var(--c_surface_primary_border);border-left:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events_container{width:25%;display:flex;flex-direction:column;height:100%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.event_preview_window .event_preview_other_events>div{width:100%}.event_preview_window .event_preview_other_events_container>header{width:100%;height:3rem;min-height:3rem;max-height:3rem;display:flex;justify-content:space-between;padding:0 2%;align-items:center;border-bottom:1px solid var(--c_surface_primary_border);background-color:var(--c_surface_primary)}.event_preview_window .event_preview_other_events_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_window .event_preview_other_events_container>footer{height:3rem;padding:.5rem;gap:.5rem;display:flex;align-items:center}.event_preview_window .event_footer_color_legend_container{display:flex;justify-content:flex-start;align-items:center;padding:0 1rem 0 0}.event_preview_window .event_footer_color_legend{display:flex;justify-content:center;align-items:center;gap:.25rem;padding:0 .5rem}.event_preview_window .event_footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.event_preview_window .footer_action_container{display:flex;gap:1rem}.event_preview_window .load_more_container{display:flex;justify-content:center;width:100%}.event_preview_window .share_alerts_dialog{display:flex;flex-direction:column;width:100%;gap:1rem}.event_preview_window .share_alerts_dialog>input{width:100%}.ant-modal-content{padding:0!important;border-radius:0!important;border:1px solid #eaebee;box-shadow:unset!important}.ant-modal-close{top:.25rem!important;right:.25rem!important;border-radius:500px!important}.ant-modal-close .anticon{color:#292929!important}.multi_select_container,.multi_select_dropdown{--font_weight_m: 500;--c_text_primary: #292929;--c_secondary: #292929;--c_trigger_background: #29292929;--c_trigger_highlight: #29292955;--color_text_secondary: #f1f1f1;--c_border: 1px solid #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.multi_select_container{display:flex;justify-content:center;align-items:center;height:unset}.multi_select_container.border .ant-select-selector{outline:var(--c_border)!important}.multi_select_container .ant-select-selector{background-color:var(--c_trigger_background)!important}.multi_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.multi_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;width:100%!important;height:40px!important;padding:0 .75rem!important}.ant-select-selection-overflow-item>.ant-select-selection-item{background-color:var(--c_trigger_highlight)!important;border-radius:500px!important}.ant-select-selection-item{border-radius:500px!important}.multi_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_container.h_l>.ant-select-selector:focus{background-color:red!important}.ant-select-selection-wrap{height:100%}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.multi_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.multi_select_dropdown.border{outline:1px solid var(--color_dropdown_border)}.multi_select_dropdown .ant-select-item-option{align-items:center;padding:1rem;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.multi_select_dropdown .ant-select-item-option-selected{align-items:center;padding:1rem;background-color:var(--c_menu_active)!important}.multi_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){align-items:center;padding:1rem;background-color:var(--c_menu_hover)!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary)}.multi_select_dropdown .ant-select-item-option-state{color:var(--c_secondary)!important}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.multi_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_dropdown .ant-select-item-option{padding:.3rem .5rem}
1
+ (function(In,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],R):(In=typeof globalThis<"u"?globalThis:In||self,R(In["Awiros UI"]={},In.React,In.ReactDOM))})(this,function(In,R,la){"use strict";var F2=document.createElement("style");F2.textContent=`*{box-sizing:border-box}body{margin:0}mark{background-color:unset!important;padding:0rem!important}hr,p{margin:0}:root{font-family:Inter,sans-serif;line-height:1.5;font-weight:400;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}}.icon_svg{width:100%;height:100%}.icon.size_xs{width:16px;height:16px}.icon.size_s{width:20px;height:20px}.icon.size_m{width:24px;height:24px}.icon.size_l{width:32px;height:32px}.icon.size_xl{width:48px;height:48px}.spinner{animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button{transition:all .2s ease-in-out;display:flex;align-items:center;cursor:pointer;position:relative;background-color:unset;border:none;outline-style:solid;border-radius:500px;font-family:Inter,sans-serif}.button .background{transition:all .2s ease-in-out;position:absolute;z-index:1;width:100%;height:100%;top:0;left:0;border-radius:500px}.button .background.primary{filter:opacity(.1)}.button .background.primary:hover{filter:opacity(.2)}.button .background.primary:active{filter:opacity(1)}.button .background.secondary{filter:opacity(.1)}.button .background.secondary:hover{filter:opacity(.15)}.button .background.secondary:active{filter:opacity(.2)}.button .background.tertiary{filter:opacity(0)}.button .background.tertiary:hover{filter:opacity(.1)}.button .background.tertiary:active{filter:opacity(.2)}.button .background.nav{filter:opacity(0)}.button .background.nav:hover{filter:opacity(.1)}.button .background.nav:active{filter:opacity(.2)}.button .background.disabled{filter:opacity(.05)!important}.button .background.disabled.tertiary,.button .background.disabled.nav{filter:opacity(0)!important}.button>p{align-self:center;font-weight:var(--hydra_font_weight_s, 400);z-index:2}.button.disabled,.button.disabled:hover,.button.disabled:active{cursor:no-drop!important;color:var(--hydra_c_disabled)!important}.button.disabled{cursor:no-drop;color:var(--hydra_c_disabled)}.button.disabled.primary,.button.disabled.primary:hover,.button.disabled.primary:active{outline-width:1px!important}.button.disabled.secondary,.button.disabled.secondary:hover,.button.disabled.secondary:active,.button.disabled.tertiary,.button.disabled.tertiary:hover,.button.disabled.tertiary:active,.button.disabled.nav,.button.disabled.nav:hover,.button.disabled.nav:active{outline-width:0px!important}.button.disabled.primary,.button.primary{outline-width:1px!important}.button.tertiary,.button.secondary{outline-width:0px!important}.button.secondary:hover,.button.secondary:active{outline-width:1px!important}.button.nav,.button.nav:hover{outline-width:0px!important}.button.nav:active{outline-width:1px!important}.button>p,.button>svg{z-index:2;pointer-events:none;transition:all .2s ease-in-out}.button.fixed.size_s{--button_height: 2rem;height:var(--button_height);padding:0 16px}.button.fixed.size_m{--button_height: 2.5rem;height:var(--button_height);padding:0 18px}.button.fixed.size_l{--button_height: 3rem;height:var(--button_height);padding:0 20px}.button.hugging.size_s{padding:8px 16px}.button.hugging.size_m{padding:10px 18px}.button.hugging.size_l{padding:12px 20px}.button.fixed.size_s.icon_button{--button_height: 2rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_m.icon_button{--button_height: 2.5rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.fixed.size_l.icon_button{--button_height: 3rem;height:var(--button_height)!important;width:var(--button_height)!important;padding:unset!important}.button.hugging.size_s.icon_button{padding:8px}.button.hugging.size_m.icon_button{padding:10px}.button.hugging.size_l.icon_button{padding:12px}.button>.text_xs{font-size:var(--awi_font_xs, 12px);line-height:12px}.button>.text_s{font-size:var(--awi_font_s, 14px);line-height:16px}.button>.text_m{font-size:var(--awi_font_m, 16px);line-height:20px}.button>.text_l{font-size:var(--awi_font_l, 20px);line-height:24px}.button>.text_xl{font-size:var(--awi_font_xl, 22px);line-height:28px}.compact_event_card{--c_surface_primary_border: #eaebee;--c_surface_primary: #fff;--c_text_primary: #292929;--c_text_secondary: #474747;--c_surface_secondary: #f3f5f7;--font_s: 14px;--font_xs: 12px}.compact_event_card{-webkit-user-select:none;user-select:none;position:relative;display:flex;justify-content:flex-start;align-items:center;background-color:var(--c_surface_primary);border:unset;border-bottom:1px solid var(--c_surface_primary_border);z-index:1}.compact_event_card>img{height:100%;width:40%;min-width:40%;max-width:40%;background-color:var(--c_surface_secondary);object-fit:contain}.compact_event_card .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.compact_event_card .compact_event_card_content{display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;width:60%;height:100%}.compact_event_card .compact_event_card_content>header{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:2% 4%;height:20%;min-height:20%;max-height:20%;border-bottom:1px solid var(--c_surface_primary_border)}.compact_event_card .compact_event_card_content>header>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;flex-grow:1;flex-wrap:wrap}.compact_event_card .compact_event_card_details>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details>span{display:flex;flex-direction:column;justify-content:center;gap:2%;width:50%}.compact_event_card .compact_event_card_details>span>p{text-transform:uppercase;font-size:var(--font_xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_details>span>h6{font-size:var(--font_s);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_content>footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;height:20%;color:var(--c_text_primary)}.compact_event_card .compact_event_card_content>footer>.status_indicator{z-index:2}.compact_event_card .compact_event_card_content>footer>p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:capitalize}.compact_event_card .compact_event_card_content>div{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.compact_event_card .compact_event_card_checkbox{position:absolute!important;top:.5rem;right:.5rem;z-index:10}.compact_event_card .compact_event_card_bookmark{position:absolute;top:.25rem;left:.25rem;z-index:10;height:1rem;width:1rem;max-height:1rem;max-width:1rem}.input_wrapper{--color_text_placeholder: #929292;--color_input_box_active: #29292926;--color_input_box_result: #29292926;--color_input_box_border_primary: #292929;--color_input_box_disabled: rgb(168, 168, 168);--color_disabled: rgb(24, 24, 24);--font_s: 14px;transition:all .2s ease-in-out;display:flex;align-items:center;position:relative;border:none;box-sizing:border-box;gap:8px;border-radius:25px;--input_box_height_s: 30px;--input_box_height_m: 40px;--input_box_height_l: 50px;--input_box_padding_s: .5rem 1rem;--input_box_padding_m: .75rem 1rem;--input_box_padding_l: .5rem 1.5rem}.input_wrapper.disabled{cursor:no-drop!important}.input_wrapper.disabled>.input{cursor:no-drop!important}.input_wrapper.h_s{height:var(--input_box_height_s);padding:var(--input_box_padding_s)}.input_wrapper.h_m{height:var(--input_box_height_m);padding:var(--input_box_padding_m)}.input_wrapper.h_l{height:var(--input_box_height_l);padding:var(--input_box_padding_l)}.input_wrapper:focus-within{background-color:var(--color_input_box_active);outline:1px solid var(--color_input_box_border_primary)}.input_wrapper.icon_before{flex-direction:row}.input_wrapper.icon_after{flex-direction:row-reverse}.input{border:none!important;outline:none!important;background:transparent;text-overflow:ellipsis;overflow:hidden!important;min-width:0!important;flex-grow:1;font-size:var(--font_s)!important}.input_wrapper:not(.empty):not(.disabled):not(:focus-within){background-color:var(--color_input_box_result);color:var(--color_text_primary)}.input::placeholder{font-size:var(--font_s)!important;color:var(--color_text_placeholder)!important}.icon-wrapper{display:flex;align-items:center;justify-content:center}.input_wrapper.input-disabled{background-color:var(--color_input_box_disabled);color:var(--color_disabled)!important}.single_select_container,.single_select_dropdown{--c_border: 1px solid #29292929;--c_trigger_background: #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--c_secondary: #292929;--c_text_primary: #292929;--font_s: 14px;--font_weight_m: 500;--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.single_select_container{display:flex;justify-content:center;align-items:center;height:unset}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:var(--c_trigger_background)!important}.single_select_container .ant-select-selector{outline:var(--c_border)!important}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.single_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important}.single_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.single_select_dropdown.border{outline:var(--c_border)!important}.single_select_dropdown .ant-select-item-option{display:flex!important;align-items:center!important;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.single_select_dropdown .ant-select-item-option-content{display:flex!important;align-items:center!important}.single_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown .ant-select-item-option>.ant-select-item-option-content>img{max-height:1.5rem}.single_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.single_select_dropdown.items_center .ant-select-item-option-content{justify-content:center!important}.single_select_dropdown.items_start .ant-select-item-option-content{justify-content:flex-start!important}.single_select_dropdown.items_end .ant-select-item-option-content{justify-content:flex-end!important}.single_select_dropdown .ant-select-item-option-selected{background-color:var(--c_menu_active)!important}.single_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){background-color:var(--c_menu_hover)!important}.single_select_container.items_center .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:center!important}.single_select_container.items_start .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-start!important}.single_select_container.items_end .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-end!important}.single_select_container .ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.single_select_container .ant-select-selection-item>img{max-height:1.5rem}.contact_input{display:flex;flex-direction:row;align-items:center;gap:.5rem}.ant-picker.ant-picker-range,.ant-picker-dropdown{--c_text_primary: #292929;--c_text_secondary: rgb(110, 110, 110);--c_trigger_border: #29292955;--c_trigger_background: #29292929;--c_highlight: #fc0;--c_date_range_fill: rgba(255, 204, 0, .26);--c_surface_border: rgb(234, 235, 238);--c_surface: #fff}.ant-picker.ant-picker-range{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;height:40px!important;padding:0 .75rem!important}.ant-picker.ant-picker-range.border{outline:1px solid var(--c_trigger_border)!important}.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px 0 0 500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end>.ant-picker-cell-inner{border-radius:0 500px 500px 0!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-today :before{border:1px solid var(--c_highlight)!important}.ant-picker-cell.ant-picker-cell-range-start.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-range-end.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-in-range.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-time-panel-cell-selected>.ant-picker-time-panel-cell-inner{background-color:var(--c_date_range_fill)!important}.ant-picker-footer>.ant-picker-ranges>.ant-picker-ok>button{background-color:var(--c_highlight)!important;color:var(--c_text_primary)!important;border-radius:500px!important}.ant-picker-header>.ant-picker-header-view>button :hover{color:var(--c_text_secondary)!important}.ant-picker-active-bar{background:var(--c_highlight)!important}.ant-picker-ranges,.ant-picker-header{border-radius:0!important}.ant-picker-dropdown-range{z-index:10000;border-radius:0!important;border:1px solid var(--c_surface_border);padding:0}.ant-picker-range-wrapper{border-radius:0!important}.ant-picker-range-arrow{border:unset!important;border-color:unset!important}.ant-picker-panel-container{border-radius:0!important;background-color:var(--c_surface)!important;box-shadow:unset!important}.ant-picker-panel-layout{color:var(--c_text_primary)!important}.ant-picker-body{border-color:var(--c_surface_border)!important}.ant-picker-content>thead>tr>th,.ant-picker-cell-inner,.ant-picker-time-panel-cell-inner,.ant-picker-header-view,.ant-picker-header-super-prev-btn,.ant-picker-header-prev-btn,.ant-picker-header-next-btn,.ant-picker-header-super-next-btn{color:var(--c_text_primary)!important}.ant-picker-suffix,.ant-picker-clear{color:var(--c_text_secondary)!important}.event_preview_carousel_container{position:relative!important;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%;height:100%;--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_carousel_container>header{height:3rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--c_surface_primary_border);padding:2% 4%}.event_preview_carousel_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_carousel_container .text_s{font-size:12px}.event_preview_carousel_container .carousel_card{min-height:80%;flex-grow:1;overflow-y:auto}.event_preview_carousel_container .carousel_card_images{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span:nth-child(odd){border-right:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span{width:50%;height:10rem;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:var(--font_s)}.event_preview_carousel_container .carousel_card_images>span>img{flex-grow:1;width:100%;height:7rem;object-fit:contain;background-color:var(--c_surface_secondary)}.event_preview_carousel_container .carousel_info_container{display:flex;flex-direction:column;justify-content:center;padding:1.5% 4%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span>p{height:2rem;display:flex;justify-content:flex-start;align-items:center}.event_preview_carousel_container .carousel_info_container>p{text-transform:uppercase}.event_preview_carousel_container .object_attributes_container{display:flex;flex-direction:column;padding:2% 4%;gap:.25rem;flex-grow:1}.event_preview_carousel_container .event_preview_carousel_attribute{display:flex;justify-content:space-between;align-items:center;width:100%}.event_preview_carousel_container .event_preview_carousel_attribute>p{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_attribute>h6{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_footer{width:100%;display:flex;justify-content:center;align-items:center;padding:.5rem;border-top:1px solid var(--c_surface_primary_border);gap:.5rem;height:3rem}.event_preview_window{--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_window{background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);border-bottom:unset;display:flex;flex-direction:column}.event_preview_window.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem}.event_preview_window .event_preview_dialog_header{display:flex;justify-content:flex-start;align-items:center;height:3rem;gap:1rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_icon{width:3rem;height:100%;background-color:var(--c_surface_primary);border-right:1px solid var(--c_surface_primary_border);font-size:var(--font_s);overflow:hidden}.event_preview_window .event_preview_dialog_header_icon>img{height:100%;width:100%}.event_preview_window .event_preview_dialog_header_content{height:3rem;display:flex;justify-content:flex-start;align-items:center;gap:.25rem;width:69%}.event_preview_window .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.event_preview_window .event_preview_window_header_container{width:100%;display:flex;justify-content:flex-end;align-items:center;height:3rem;min-height:3rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_actions{display:flex;justify-content:flex-end;padding:0 1rem}.event_preview_window .event_preview_content_container{display:flex;width:100%;height:calc(100% - 3rem);flex-grow:1}.event_preview_window .event_preview_image_container{position:relative;display:flex;flex-direction:column;width:50%;min-height:100%;max-height:100%;height:100%}.event_preview_window .event_preview_image_container>img{width:100%;flex-grow:1;object-fit:contain;background-color:var(--c_surface_secondary);height:88%;min-height:88%}.event_preview_window .event_preview_image_footer{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--c_surface_primary_border);height:12%;max-height:12%}.event_preview_window .event_preview_image_footer_infoitem{display:flex;flex-direction:column;justify-content:space-around;height:100%;border-right:1px solid var(--c_surface_primary_border);padding:.25rem .5rem;color:var(--c_text_primary)}.event_preview_window .event_preview_image_footer_infoitem>p{text-transform:uppercase;font-size:var(--font_s)}.event_preview_window .event_preview_image_footer_infoitem>h5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1){width:20%;position:relative;z-index:1}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>h5{text-transform:capitalize}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>.hydra_status_indicator{z-index:2}.event_preview_window .event_preview_image_footer_infoitem:nth-child(2){width:40%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(3){width:20%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(4){width:20%;border-right:unset}.event_preview_window .event_preview_content{flex-grow:1;height:100%;width:25%;background-color:var(--c_surface_primary);border-bottom:1px solid var(--c_surface_primary_border);border-right:1px solid var(--c_surface_primary_border);border-left:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events_container{width:25%;display:flex;flex-direction:column;height:100%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.event_preview_window .event_preview_other_events>div{width:100%}.event_preview_window .event_preview_other_events_container>header{width:100%;height:3rem;min-height:3rem;max-height:3rem;display:flex;justify-content:space-between;padding:0 2%;align-items:center;border-bottom:1px solid var(--c_surface_primary_border);background-color:var(--c_surface_primary)}.event_preview_window .event_preview_other_events_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_window .event_preview_other_events_container>footer{height:3rem;padding:.5rem;gap:.5rem;display:flex;align-items:center}.event_preview_window .event_footer_color_legend_container{display:flex;justify-content:flex-start;align-items:center;padding:0 1rem 0 0}.event_preview_window .event_footer_color_legend{display:flex;justify-content:center;align-items:center;gap:.25rem;padding:0 .5rem}.event_preview_window .event_footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.event_preview_window .footer_action_container{display:flex;gap:1rem}.event_preview_window .load_more_container{display:flex;justify-content:center;width:100%}.event_preview_window .share_alerts_dialog{display:flex;flex-direction:column;width:100%;gap:1rem}.event_preview_window .share_alerts_dialog>input{width:100%}.ant-modal-content{padding:0!important;border-radius:0!important;border:1px solid #eaebee;box-shadow:unset!important}.ant-modal-close{top:.25rem!important;right:.25rem!important;border-radius:500px!important}.ant-modal-close .anticon{color:#292929!important}.multi_select_container,.multi_select_dropdown{--font_weight_m: 500;--c_text_primary: #292929;--c_secondary: #292929;--c_trigger_background: #29292929;--c_trigger_highlight: #29292955;--color_text_secondary: #f1f1f1;--c_border: 1px solid #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--select_height_s: 30px;--select_height_m: 40px;--select_height_l: 50px;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.multi_select_container{display:flex;justify-content:center;align-items:center;height:unset}.multi_select_container.border .ant-select-selector{outline:var(--c_border)!important}.multi_select_container .ant-select-selector{background-color:var(--c_trigger_background)!important}.multi_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.multi_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;width:100%!important;height:40px!important;padding:0 .75rem!important}.ant-select-selection-overflow-item>.ant-select-selection-item{background-color:var(--c_trigger_highlight)!important;border-radius:500px!important}.ant-select-selection-item{border-radius:500px!important}.multi_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_container.h_l>.ant-select-selector:focus{background-color:red!important}.ant-select-selection-wrap{height:100%}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.multi_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.multi_select_dropdown.border{outline:1px solid var(--color_dropdown_border)}.multi_select_dropdown .ant-select-item-option{align-items:center;padding:1rem;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.multi_select_dropdown .ant-select-item-option-selected{align-items:center;padding:1rem;background-color:var(--c_menu_active)!important}.multi_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){align-items:center;padding:1rem;background-color:var(--c_menu_hover)!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary)}.multi_select_dropdown .ant-select-item-option-state{color:var(--c_secondary)!important}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.multi_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_dropdown .ant-select-item-option{padding:.3rem .5rem}
2
2
  /*$vite$:1*/`,document.head.appendChild(F2);function N2(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=N2(R),T2=N2(la);var Ol=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Co(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Il={exports:{}},yi={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -266,7 +266,7 @@ html body {
266
266
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
267
267
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:g1},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
268
268
  &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:C1},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
269
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:h1},[`${t}-panel > ${t}-time-panel`]:{paddingTop:O},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${M} ease-out`},S_(e,A,N)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:A,borderRadius:k,boxShadow:j,transition:`margin ${M}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:I,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${ye(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ls),{borderRadius:G,paddingInline:h,paddingBlock:e.calc(y).sub(P).div(2).equal(),cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:S},"&:hover":{background:H}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${ye(e.calc(F).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},xs(e,"slide-up"),xs(e,"slide-down"),Ss(e,"move-up"),Ss(e,"move-down")]},Wf=fo("DatePicker",e=>{const t=Pn(If(e),sM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[lM(t),vM(t),dM(t),fM(t),oM(t),Is(e,{focusElCls:`${e.componentCls}-focused`})]},uM);var mM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},gM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:mM}))},x4=i.forwardRef(gM);process.env.NODE_ENV!=="production"&&(x4.displayName="CalendarOutlined");var hM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},pM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:hM}))},_4=i.forwardRef(pM);process.env.NODE_ENV!=="production"&&(_4.displayName="ClockCircleOutlined");var CM={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},bM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:CM}))},Uf=i.forwardRef(bM);process.env.NODE_ENV!=="production"&&(Uf.displayName="SwapRightOutlined");function yM(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function wM(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function qf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=F7(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),o]}const[EM,SM]=["week","WeekPicker"],[xM,_M]=["month","MonthPicker"],[LM,MM]=["year","YearPicker"],[$M,OM]=["quarter","QuarterPicker"],[Gf,Yf]=["time","TimePicker"],IM=e=>i.createElement(ma,Object.assign({size:"small",type:"primary"},e));function Kf(e){return R.useMemo(()=>Object.assign({button:IM},e),[e])}var PM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const RM=e=>{const t=R.forwardRef((n,r)=>{var o;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:f,size:g,disabled:p,bordered:b=!0,placeholder:y,popupClassName:C,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=PM(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),L=i.useRef(null),{getPrefixCls:O,direction:F,getPopupContainer:A,rangePicker:k}=R.useContext(yn),j=O("picker",s),{compactSize:G,compactItemClassnames:U}=ys(j,F),H=O(),[B,I]=l4("rangePicker",x,b),N=Bi(j),[P,z,V]=Wf(j,N);if(process.env.NODE_ENV!=="production"){const ne=fr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=qf(n,j),q=Kf(u),ee=Zi(ne=>{var ie;return(ie=g??G)!==null&&ie!==void 0?ie:ne}),Q=i.useContext(Zo),ce=p??Q,de=R.useContext(Xa),{hasFeedback:oe,status:ve,feedbackIcon:me}=de,ge=i.createElement(i.Fragment,null,_===Gf?i.createElement(_4,null):i.createElement(x4,null),oe&&me);R.useImperativeHandle(r,()=>L.current);const[le]=zo("Calendar",Ql),se=Object.assign(Object.assign({},le),n.locale),[ue]=ps("DatePicker",(o=n.popupStyle)===null||o===void 0?void 0:o.zIndex);return P(i.createElement(A1,{space:!0},i.createElement(Mf,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(Uf,null)),disabled:ce,ref:L,placement:f,placeholder:wM(se,_,y),suffixIcon:ge,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${H}-slide-up`,picker:_},M,{className:Re({[`${j}-${ee}`]:ee,[`${j}-${B}`]:I},a4(j,i4(ve,S),oe),z,U,d,k==null?void 0:k.className,V,N,E),style:Object.assign(Object.assign({},k==null?void 0:k.style),m),locale:se.lang,prefixCls:j,getPopupContainer:c||A,generateConfig:e,components:q,direction:F,classNames:{popup:Re(z,C||h,V,N,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var DM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const FM=e=>{const t=(d,m)=>{const f=m===Yf?"timePicker":"datePicker",g=R.forwardRef((p,b)=>{var y;const{prefixCls:C,getPopupContainer:h,components:S,style:E,className:x,rootClassName:_,size:M,bordered:L,placement:O,placeholder:F,popupClassName:A,dropdownClassName:k,disabled:j,status:G,variant:U,onCalendarChange:H}=p,B=DM(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:N,getPopupContainer:P,[f]:z}=R.useContext(yn),V=I("picker",C),{compactSize:Z,compactItemClassnames:q}=ys(V,N),ee=i.useRef(null),[Q,ce]=l4("datePicker",U,L),de=Bi(V),[oe,ve,me]=Wf(V,de);R.useImperativeHandle(b,()=>ee.current);const ge={showToday:!0},le=d||p.picker,se=I(),{onSelect:ue,multiple:ne}=B,ie=ue&&d==="time"&&!ne,he=(yt,dt,we)=>{H==null||H(yt,dt,we),ie&&ue(yt)};if(process.env.NODE_ENV!=="production"){const yt=fr(m||"DatePicker");process.env.NODE_ENV!=="production"&&yt(d!=="quarter","deprecated",`DatePicker.${m} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),yt.deprecated(!k,"dropdownClassName","popupClassName"),yt.deprecated(!("bordered"in p),"bordered","variant"),yt.deprecated(!ie,"onSelect","onCalendarChange")}const[Ce,Oe]=qf(p,V),Ie=Kf(S),He=Zi(yt=>{var dt;return(dt=M??Z)!==null&&dt!==void 0?dt:yt}),Pe=i.useContext(Zo),Ue=j??Pe,Be=R.useContext(Xa),{hasFeedback:ut,status:pt,feedbackIcon:Je}=Be,Ge=i.createElement(i.Fragment,null,le==="time"?i.createElement(_4,null):i.createElement(x4,null),ut&&Je),[Ct]=zo("DatePicker",Ql),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=ps("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return oe(i.createElement(A1,{space:!0},i.createElement(Of,Object.assign({ref:ee,placeholder:yM(et,le,F),suffixIcon:Ge,placement:O,prevIcon:i.createElement("span",{className:`${V}-prev-icon`}),nextIcon:i.createElement("span",{className:`${V}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${V}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${V}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:he},ge,B,{locale:et.lang,className:Re({[`${V}-${He}`]:He,[`${V}-${Q}`]:ce},a4(V,i4(pt,G),ut),ve,q,z==null?void 0:z.className,x,me,de,_),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:V,getPopupContainer:h||P,generateConfig:e,components:Ie,direction:N,disabled:Ue,classNames:{popup:Re(ve,me,de,_,A||k)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:Et})},allowClear:Ce,removeIcon:Oe}))))});return process.env.NODE_ENV!=="production"&&m&&(g.displayName=m),g},n=t(),r=t(EM,SM),o=t(xM,_M),s=t(LM,MM),c=t($M,OM),u=t(Gf,Yf);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:s,TimePicker:u,QuarterPicker:c}},Xf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:s,QuarterPicker:c}=FM(e),u=RM(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=o,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},ai=Xf(Q_),NM=W1(ai,"popupAlign",void 0,"picker");ai._InternalPanelDoNotUseOrYouWillBeFired=NM;const TM=W1(ai.RangePicker,"popupAlign",void 0,"picker");ai._InternalRangePanelDoNotUseOrYouWillBeFired=TM,ai.generatePicker=Xf;var AM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const HM=Fd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:s,title:c,children:u,footer:d}=e,m=AM(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(yn),g=f(),p=t||f("modal"),b=Bi(g),[y,C,h]=Ed(p,b),S=`${p}-confirm`;let E={};return s?E={closable:o??!1,title:"",footer:"",children:i.createElement(xd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:o??!0,title:c,footer:d!==null&&i.createElement(pd,Object.assign({},e)),children:u},y(i.createElement(E1,Object.assign({prefixCls:p,className:Re(C,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,b)},m,{closeIcon:hd(p,r),closable:o},E)))});function Qf(e){return Ki($d(e))}const Br=Sd;Br.useModal=ES,Br.info=function(t){return Ki(Od(t))},Br.success=function(t){return Ki(Id(t))},Br.error=function(t){return Ki(Pd(t))},Br.warning=Qf,Br.warn=Qf,Br.confirm=function(t){return Ki(Rd(t))},Br.destroyAll=function(){for(;pa.length;){const t=pa.pop();t&&t()}},Br.config=pS,Br._InternalPanelDoNotUseOrYouWillBeFired=HM,process.env.NODE_ENV!=="production"&&(Br.displayName="Modal");var kM=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Jf=i.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,m=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,b=e.onChange,y=e.onKeyDown,C=on(e,kM),h=ar(!1,{value:c,defaultValue:u}),S=J(h,2),E=S[0],x=S[1];function _(F,A){var k=E;return d||(k=F,x(k),b==null||b(k,A)),k}function M(F){F.which===Te.LEFT?_(!1,F):F.which===Te.RIGHT&&_(!0,F),y==null||y(F)}function L(F){var A=_(!E,F);p==null||p(A,F)}var O=Re(o,s,(n={},X(n,"".concat(o,"-checked"),E),X(n,"".concat(o,"-disabled"),d),n));return i.createElement("button",Ze({},C,{type:"button",role:"switch","aria-checked":E,disabled:d,className:O,ref:t,onKeyDown:M,onClick:L}),m,i.createElement("span",{className:"".concat(o,"-inner")},i.createElement("span",{className:"".concat(o,"-inner-checked")},f),i.createElement("span",{className:"".concat(o,"-inner-unchecked")},g)))});Jf.displayName="Switch";const VM=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,f=ye(d(u).add(d(r).mul(2)).equal()),g=ye(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:ye(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${m}-checked, ${m}-unchecked`]:{minHeight:n},[`${m}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${m}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${m}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${m}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ye(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${m}`]:{[`${m}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${m}`]:{[`${m}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},BM=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},jM=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${ye(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},zM=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,m=ye(u(c).add(u(r).mul(2)).equal()),f=ye(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${m} - ${f})`,marginInlineEnd:`calc(100% - ${m} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:o,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${m} + ${f})`,marginInlineEnd:`calc(-100% + ${m} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},ZM=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},xo(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ye(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Uu(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},WM=fo("Switch",e=>{const t=Pn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ZM(t),zM(t),jM(t),BM(t),VM(t)]},e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,s=t*n,c=r/2,u=2,d=s-u*2,m=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:m*2+u*2,trackPadding:u,handleBg:o,handleSize:d,handleSizeSM:m,handleShadow:`0 2px 4px 0 ${new nn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:m/2,innerMaxMarginSM:m+u+u*2}});var UM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const L4=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,loading:s,className:c,rootClassName:u,style:d,checked:m,value:f,defaultChecked:g,defaultValue:p,onChange:b}=e,y=UM(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[C,h]=ar(!1,{value:m??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(yn),_=i.useContext(Zo),M=(o??_)||s,L=S("switch",n),O=i.createElement("div",{className:`${L}-handle`},s&&i.createElement(hs,{className:`${L}-loading-icon`})),[F,A,k]=WM(L),j=Zi(r),G=Re(x==null?void 0:x.className,{[`${L}-small`]:j==="small",[`${L}-loading`]:s,[`${L}-rtl`]:E==="rtl"},c,u,A,k),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),H=function(){h(arguments.length<=0?void 0:arguments[0]),b==null||b.apply(void 0,arguments)};return F(i.createElement(c1,{component:"Switch"},i.createElement(Jf,Object.assign({},y,{checked:C,onChange:H,prefixCls:L,className:G,style:U,disabled:M,ref:t,loadingIcon:O}))))});L4.__ANT_SWITCH=!0,process.env.NODE_ENV!=="production"&&(L4.displayName="Switch");const e6=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:o="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",suffixIcon:h=!0})=>xe.jsx(Yo,{id:C,className:`${s} single_select_container h_${y} items_${o} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:b,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${o} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),qM=e=>`https://flagsapi.com/${e}/flat/64.png`,lc=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],GM=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:o="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,b;const[d,m]=R.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=lc[89])==null?void 0:p.dialingCode),f=y=>{var C;m(String(y)),t(y+c+(((C=e.split(c))==null?void 0:C[1])||""))},g=y=>{const{value:C}=y.target;t(d+c+C)};return xe.jsxs("div",{className:`contact_input ${o}`,style:{width:r},children:[xe.jsx(e6,{options:lc==null?void 0:lc.map(y=>({label:xe.jsx("img",{src:qM(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),xe.jsx(qc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),xe.jsx(qc,{value:(b=e.split(c))==null?void 0:b[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},YM="DD MMM YY - HH:mm:ss",KM=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],XM=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:QM}=ai,JM=({value:e,onChange:t,className:n="",showTime:r=!0,format:o=YM,presetRanges:s=KM,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:b=()=>!1,disableFutureDates:y=!1,...C})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(_=>(_==null?void 0:_.toDate())||new Date);t(x)}else t&&t([])};return xe.jsx(QM,{showTime:r,...C,value:h,onChange:S,format:o,presets:s,disabledDate:y?XM:b,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var sl=(e=>(e.NEXT="next",e.PREV="prev",e))(sl||{});const t6=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,b,y;const[o,s]=R.useState(0),c=(r==null?void 0:r[o])??{},u=C=>{C===sl.NEXT?s(h=>(h+1)%(r==null?void 0:r.length)):C===sl.PREV&&s(h=>(h-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const C=c==null?void 0:c.score;return C?`${(C*100).toFixed(2)}%`:"N.A."},m=C=>C.split("_").join(" ");return r?xe.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[xe.jsxs("header",{children:[xe.jsx("h6",{children:e}),xe.jsxs("p",{className:"font_secondary",children:["(",o+1,"/",r==null?void 0:r.length,")"]})]}),xe.jsxs("div",{className:"carousel_card",children:[xe.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&xe.jsxs("span",{children:[xe.jsx("p",{children:"Detection"}),xe.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&xe.jsxs("span",{children:[xe.jsx("p",{children:"Match"}),xe.jsx("img",{src:(b=c==null?void 0:c.match)==null?void 0:b.image,alt:"Matched Image"})]})]}),xe.jsxs("div",{className:"carousel_info_container",children:[xe.jsx("p",{className:"text_s",children:"Label"}),xe.jsx("h6",{className:"capatalize_first_letter",children:((y=c==null?void 0:c.labels)==null?void 0:y[0])||"N.A."})]}),xe.jsxs("div",{className:"carousel_info_container",children:[xe.jsx("p",{className:"text_s",children:"Score"}),xe.jsx("h6",{className:"font_secondary",children:d()})]}),xe.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?xe.jsxs(xe.Fragment,{children:[xe.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,h)=>{var S,E;return xe.jsxs("div",{className:"event_preview_carousel_attribute",children:[xe.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),xe.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((S=c==null?void 0:c.attributes)==null?void 0:S[C])||"N.A.",children:((E=c==null?void 0:c.attributes)==null?void 0:E[C])||"N.A."})]},h)})||xe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):xe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&xe.jsxs("footer",{className:"event_preview_carousel_footer",children:[xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(sl.PREV)}),xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(sl.NEXT)})]})]}):xe.jsx(xe.Fragment,{})},n6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),r6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),M4=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},e$=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:o="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var m;const u=n,d=u==null?void 0:u[s];return d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon),xe.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:o,width:r},children:(u==null?void 0:u.length)==0||d==null?xe.jsx("p",{children:"No data found! 📊"}):xe.jsxs(xe.Fragment,{children:[xe.jsxs("span",{className:"event_preview_dialog_header",children:[xe.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&xe.jsx("img",{src:t,alt:e})}),xe.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:xe.jsx("h6",{className:"hydra_text_limit",children:e})})]}),xe.jsxs("div",{className:"event_preview_content_container",children:[xe.jsxs("span",{className:"event_preview_image_container",children:[xe.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),xe.jsxs("div",{className:"event_preview_image_footer",children:[xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),xe.jsx("p",{children:"Severity"}),xe.jsx("h5",{title:d==null?void 0:d.severity,children:(m=d==null?void 0:d.severity)==null?void 0:m.toLocaleLowerCase()})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Source"}),xe.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Date"}),xe.jsx("h5",{title:n6.format(new Date(d==null?void 0:d.timeStamp)),children:n6.format(new Date(d==null?void 0:d.timeStamp))})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Time"}),xe.jsx("h5",{title:r6.format(new Date(d==null?void 0:d.timeStamp)),children:r6.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),xe.jsx("span",{className:"event_preview_content",children:xe.jsx(t6,{data:d==null?void 0:d.blobs,height:"calc(100% - 3rem)"})}),xe.jsxs("span",{className:"event_preview_other_events_container",children:[xe.jsxs("header",{children:[xe.jsx("h6",{children:"Events"}),xe.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),xe.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((f,g)=>xe.jsx("div",{onClick:p=>{p.target.tagName!="INPUT"&&(M4(p.target),c==null||c(g))},children:xe.jsx(B2,{data:f,isFocused:g==s},g)},f==null?void 0:f.id))}),xe.jsxs("footer",{children:[xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",onClick:f=>{s!==0&&(M4(f.target),c==null||c(s-1))},textSize:"xs"}),xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",onClick:f=>{s!==(u==null?void 0:u.length)-1&&(M4(f.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},t$={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},n$=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:o})=>xe.jsx(Br,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:t$[r],children:o}),r$=({options:e,onChange:t,value:n,placeholder:r="Select Items...",className:o="",triggerHighlightColor:s="#29292955",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f=null,searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",maxTagCount:h="responsive",suffixIcon:S=!0})=>xe.jsx(Yo,{id:C,disabled:p,showSearch:g,className:`multi_select_container ${o} h_${y} ${f?"border":""}`,mode:"multiple",style:{width:b,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${y} ${f?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),o$=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:o=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[m,f]=R.useState(e),g=e!==void 0,p=g?e:m,b=y=>{g||f(y),o==null||o(y)};return xe.jsx(L4,{checked:p,onChange:b,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var cl={exports:{}};/**
269
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:h1},[`${t}-panel > ${t}-time-panel`]:{paddingTop:O},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${M} ease-out`},S_(e,A,N)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:A,borderRadius:k,boxShadow:j,transition:`margin ${M}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:I,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${ye(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ls),{borderRadius:G,paddingInline:h,paddingBlock:e.calc(y).sub(P).div(2).equal(),cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:S},"&:hover":{background:H}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${ye(e.calc(F).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},xs(e,"slide-up"),xs(e,"slide-down"),Ss(e,"move-up"),Ss(e,"move-down")]},Wf=fo("DatePicker",e=>{const t=Pn(If(e),sM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[lM(t),vM(t),dM(t),fM(t),oM(t),Is(e,{focusElCls:`${e.componentCls}-focused`})]},uM);var mM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},gM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:mM}))},x4=i.forwardRef(gM);process.env.NODE_ENV!=="production"&&(x4.displayName="CalendarOutlined");var hM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},pM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:hM}))},_4=i.forwardRef(pM);process.env.NODE_ENV!=="production"&&(_4.displayName="ClockCircleOutlined");var CM={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},bM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:CM}))},Uf=i.forwardRef(bM);process.env.NODE_ENV!=="production"&&(Uf.displayName="SwapRightOutlined");function yM(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function wM(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function qf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=F7(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),o]}const[EM,SM]=["week","WeekPicker"],[xM,_M]=["month","MonthPicker"],[LM,MM]=["year","YearPicker"],[$M,OM]=["quarter","QuarterPicker"],[Gf,Yf]=["time","TimePicker"],IM=e=>i.createElement(ma,Object.assign({size:"small",type:"primary"},e));function Kf(e){return R.useMemo(()=>Object.assign({button:IM},e),[e])}var PM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const RM=e=>{const t=R.forwardRef((n,r)=>{var o;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:f,size:g,disabled:p,bordered:b=!0,placeholder:y,popupClassName:C,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=PM(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),L=i.useRef(null),{getPrefixCls:O,direction:F,getPopupContainer:A,rangePicker:k}=R.useContext(yn),j=O("picker",s),{compactSize:G,compactItemClassnames:U}=ys(j,F),H=O(),[B,I]=l4("rangePicker",x,b),N=Bi(j),[P,z,V]=Wf(j,N);if(process.env.NODE_ENV!=="production"){const ne=fr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=qf(n,j),q=Kf(u),ee=Zi(ne=>{var ie;return(ie=g??G)!==null&&ie!==void 0?ie:ne}),Q=i.useContext(Zo),ce=p??Q,de=R.useContext(Xa),{hasFeedback:oe,status:ve,feedbackIcon:me}=de,ge=i.createElement(i.Fragment,null,_===Gf?i.createElement(_4,null):i.createElement(x4,null),oe&&me);R.useImperativeHandle(r,()=>L.current);const[le]=zo("Calendar",Ql),se=Object.assign(Object.assign({},le),n.locale),[ue]=ps("DatePicker",(o=n.popupStyle)===null||o===void 0?void 0:o.zIndex);return P(i.createElement(A1,{space:!0},i.createElement(Mf,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(Uf,null)),disabled:ce,ref:L,placement:f,placeholder:wM(se,_,y),suffixIcon:ge,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${H}-slide-up`,picker:_},M,{className:Re({[`${j}-${ee}`]:ee,[`${j}-${B}`]:I},a4(j,i4(ve,S),oe),z,U,d,k==null?void 0:k.className,V,N,E),style:Object.assign(Object.assign({},k==null?void 0:k.style),m),locale:se.lang,prefixCls:j,getPopupContainer:c||A,generateConfig:e,components:q,direction:F,classNames:{popup:Re(z,C||h,V,N,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var DM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const FM=e=>{const t=(d,m)=>{const f=m===Yf?"timePicker":"datePicker",g=R.forwardRef((p,b)=>{var y;const{prefixCls:C,getPopupContainer:h,components:S,style:E,className:x,rootClassName:_,size:M,bordered:L,placement:O,placeholder:F,popupClassName:A,dropdownClassName:k,disabled:j,status:G,variant:U,onCalendarChange:H}=p,B=DM(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:N,getPopupContainer:P,[f]:z}=R.useContext(yn),V=I("picker",C),{compactSize:Z,compactItemClassnames:q}=ys(V,N),ee=i.useRef(null),[Q,ce]=l4("datePicker",U,L),de=Bi(V),[oe,ve,me]=Wf(V,de);R.useImperativeHandle(b,()=>ee.current);const ge={showToday:!0},le=d||p.picker,se=I(),{onSelect:ue,multiple:ne}=B,ie=ue&&d==="time"&&!ne,he=(yt,dt,we)=>{H==null||H(yt,dt,we),ie&&ue(yt)};if(process.env.NODE_ENV!=="production"){const yt=fr(m||"DatePicker");process.env.NODE_ENV!=="production"&&yt(d!=="quarter","deprecated",`DatePicker.${m} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),yt.deprecated(!k,"dropdownClassName","popupClassName"),yt.deprecated(!("bordered"in p),"bordered","variant"),yt.deprecated(!ie,"onSelect","onCalendarChange")}const[Ce,Oe]=qf(p,V),Ie=Kf(S),He=Zi(yt=>{var dt;return(dt=M??Z)!==null&&dt!==void 0?dt:yt}),Pe=i.useContext(Zo),Ue=j??Pe,Be=R.useContext(Xa),{hasFeedback:ut,status:pt,feedbackIcon:Je}=Be,Ge=i.createElement(i.Fragment,null,le==="time"?i.createElement(_4,null):i.createElement(x4,null),ut&&Je),[Ct]=zo("DatePicker",Ql),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=ps("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return oe(i.createElement(A1,{space:!0},i.createElement(Of,Object.assign({ref:ee,placeholder:yM(et,le,F),suffixIcon:Ge,placement:O,prevIcon:i.createElement("span",{className:`${V}-prev-icon`}),nextIcon:i.createElement("span",{className:`${V}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${V}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${V}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:he},ge,B,{locale:et.lang,className:Re({[`${V}-${He}`]:He,[`${V}-${Q}`]:ce},a4(V,i4(pt,G),ut),ve,q,z==null?void 0:z.className,x,me,de,_),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:V,getPopupContainer:h||P,generateConfig:e,components:Ie,direction:N,disabled:Ue,classNames:{popup:Re(ve,me,de,_,A||k)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:Et})},allowClear:Ce,removeIcon:Oe}))))});return process.env.NODE_ENV!=="production"&&m&&(g.displayName=m),g},n=t(),r=t(EM,SM),o=t(xM,_M),s=t(LM,MM),c=t($M,OM),u=t(Gf,Yf);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:s,TimePicker:u,QuarterPicker:c}},Xf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:s,QuarterPicker:c}=FM(e),u=RM(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=o,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},ai=Xf(Q_),NM=W1(ai,"popupAlign",void 0,"picker");ai._InternalPanelDoNotUseOrYouWillBeFired=NM;const TM=W1(ai.RangePicker,"popupAlign",void 0,"picker");ai._InternalRangePanelDoNotUseOrYouWillBeFired=TM,ai.generatePicker=Xf;var AM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const HM=Fd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:s,title:c,children:u,footer:d}=e,m=AM(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(yn),g=f(),p=t||f("modal"),b=Bi(g),[y,C,h]=Ed(p,b),S=`${p}-confirm`;let E={};return s?E={closable:o??!1,title:"",footer:"",children:i.createElement(xd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:o??!0,title:c,footer:d!==null&&i.createElement(pd,Object.assign({},e)),children:u},y(i.createElement(E1,Object.assign({prefixCls:p,className:Re(C,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,b)},m,{closeIcon:hd(p,r),closable:o},E)))});function Qf(e){return Ki($d(e))}const Br=Sd;Br.useModal=ES,Br.info=function(t){return Ki(Od(t))},Br.success=function(t){return Ki(Id(t))},Br.error=function(t){return Ki(Pd(t))},Br.warning=Qf,Br.warn=Qf,Br.confirm=function(t){return Ki(Rd(t))},Br.destroyAll=function(){for(;pa.length;){const t=pa.pop();t&&t()}},Br.config=pS,Br._InternalPanelDoNotUseOrYouWillBeFired=HM,process.env.NODE_ENV!=="production"&&(Br.displayName="Modal");var kM=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Jf=i.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,m=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,b=e.onChange,y=e.onKeyDown,C=on(e,kM),h=ar(!1,{value:c,defaultValue:u}),S=J(h,2),E=S[0],x=S[1];function _(F,A){var k=E;return d||(k=F,x(k),b==null||b(k,A)),k}function M(F){F.which===Te.LEFT?_(!1,F):F.which===Te.RIGHT&&_(!0,F),y==null||y(F)}function L(F){var A=_(!E,F);p==null||p(A,F)}var O=Re(o,s,(n={},X(n,"".concat(o,"-checked"),E),X(n,"".concat(o,"-disabled"),d),n));return i.createElement("button",Ze({},C,{type:"button",role:"switch","aria-checked":E,disabled:d,className:O,ref:t,onKeyDown:M,onClick:L}),m,i.createElement("span",{className:"".concat(o,"-inner")},i.createElement("span",{className:"".concat(o,"-inner-checked")},f),i.createElement("span",{className:"".concat(o,"-inner-unchecked")},g)))});Jf.displayName="Switch";const VM=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,f=ye(d(u).add(d(r).mul(2)).equal()),g=ye(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:ye(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${m}-checked, ${m}-unchecked`]:{minHeight:n},[`${m}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${m}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${m}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${m}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ye(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${m}`]:{[`${m}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${m}`]:{[`${m}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},BM=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},jM=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${ye(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},zM=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,m=ye(u(c).add(u(r).mul(2)).equal()),f=ye(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${m} - ${f})`,marginInlineEnd:`calc(100% - ${m} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:o,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${m} + ${f})`,marginInlineEnd:`calc(-100% + ${m} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},ZM=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},xo(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ye(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Uu(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},WM=fo("Switch",e=>{const t=Pn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ZM(t),zM(t),jM(t),BM(t),VM(t)]},e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,s=t*n,c=r/2,u=2,d=s-u*2,m=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:m*2+u*2,trackPadding:u,handleBg:o,handleSize:d,handleSizeSM:m,handleShadow:`0 2px 4px 0 ${new nn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:m/2,innerMaxMarginSM:m+u+u*2}});var UM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const L4=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,loading:s,className:c,rootClassName:u,style:d,checked:m,value:f,defaultChecked:g,defaultValue:p,onChange:b}=e,y=UM(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[C,h]=ar(!1,{value:m??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(yn),_=i.useContext(Zo),M=(o??_)||s,L=S("switch",n),O=i.createElement("div",{className:`${L}-handle`},s&&i.createElement(hs,{className:`${L}-loading-icon`})),[F,A,k]=WM(L),j=Zi(r),G=Re(x==null?void 0:x.className,{[`${L}-small`]:j==="small",[`${L}-loading`]:s,[`${L}-rtl`]:E==="rtl"},c,u,A,k),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),H=function(){h(arguments.length<=0?void 0:arguments[0]),b==null||b.apply(void 0,arguments)};return F(i.createElement(c1,{component:"Switch"},i.createElement(Jf,Object.assign({},y,{checked:C,onChange:H,prefixCls:L,className:G,style:U,disabled:M,ref:t,loadingIcon:O}))))});L4.__ANT_SWITCH=!0,process.env.NODE_ENV!=="production"&&(L4.displayName="Switch");const e6=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:o="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",suffixIcon:h=!0})=>xe.jsx(Yo,{id:C,className:`${s} single_select_container h_${y} items_${o} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:b,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${o} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),qM=e=>`https://flagsapi.com/${e}/flat/64.png`,lc=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],GM=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:o="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,b;const[d,m]=R.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=lc[89])==null?void 0:p.dialingCode),f=y=>{var C;m(String(y)),t(y+c+(((C=e.split(c))==null?void 0:C[1])||""))},g=y=>{const{value:C}=y.target;t(d+c+C)};return xe.jsxs("div",{className:`contact_input ${o}`,style:{width:r},children:[xe.jsx(e6,{options:lc==null?void 0:lc.map(y=>({label:xe.jsx("img",{src:qM(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),xe.jsx(qc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),xe.jsx(qc,{value:(b=e.split(c))==null?void 0:b[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},YM="DD MMM YY - HH:mm:ss",KM=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],XM=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:QM}=ai,JM=({value:e,onChange:t,className:n="",showTime:r=!0,format:o=YM,presetRanges:s=KM,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:b=()=>!1,disableFutureDates:y=!1,...C})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(_=>(_==null?void 0:_.toDate())||new Date);t(x)}else t&&t([])};return xe.jsx(QM,{showTime:r,...C,value:h,onChange:S,format:o,presets:s,disabledDate:y?XM:b,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var sl=(e=>(e.NEXT="next",e.PREV="prev",e))(sl||{});const t6=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,b,y;const[o,s]=R.useState(0),c=(r==null?void 0:r[o])??{},u=C=>{C===sl.NEXT?s(h=>(h+1)%(r==null?void 0:r.length)):C===sl.PREV&&s(h=>(h-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const C=c==null?void 0:c.score;return C?`${(C*100).toFixed(2)}%`:"N.A."},m=C=>C.split("_").join(" ");return r?xe.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[xe.jsxs("header",{children:[xe.jsx("h6",{children:e}),xe.jsxs("p",{className:"font_secondary",children:["(",o+1,"/",r==null?void 0:r.length,")"]})]}),xe.jsxs("div",{className:"carousel_card",children:[xe.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&xe.jsxs("span",{children:[xe.jsx("p",{children:"Detection"}),xe.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&xe.jsxs("span",{children:[xe.jsx("p",{children:"Match"}),xe.jsx("img",{src:(b=c==null?void 0:c.match)==null?void 0:b.image,alt:"Matched Image"})]})]}),xe.jsxs("div",{className:"carousel_info_container",children:[xe.jsx("p",{className:"text_s",children:"Label"}),xe.jsx("h6",{className:"capatalize_first_letter",children:((y=c==null?void 0:c.labels)==null?void 0:y[0])||"N.A."})]}),xe.jsxs("div",{className:"carousel_info_container",children:[xe.jsx("p",{className:"text_s",children:"Score"}),xe.jsx("h6",{className:"font_secondary",children:d()})]}),xe.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?xe.jsxs(xe.Fragment,{children:[xe.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,h)=>{var S,E;return xe.jsxs("div",{className:"event_preview_carousel_attribute",children:[xe.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),xe.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((S=c==null?void 0:c.attributes)==null?void 0:S[C])||"N.A.",children:((E=c==null?void 0:c.attributes)==null?void 0:E[C])||"N.A."})]},h)})||xe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):xe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&xe.jsxs("footer",{className:"event_preview_carousel_footer",children:[xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(sl.PREV)}),xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(sl.NEXT)})]})]}):xe.jsx(xe.Fragment,{})},n6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),r6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),M4=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},e$=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:o="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var m;const u=n,d=u==null?void 0:u[s];return d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon),xe.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:o,width:r},children:(u==null?void 0:u.length)==0||d==null?xe.jsx("p",{children:"No data found! 📊"}):xe.jsxs(xe.Fragment,{children:[xe.jsxs("span",{className:"event_preview_dialog_header",children:[xe.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&xe.jsx("img",{src:t,alt:e})}),xe.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:xe.jsx("h6",{className:"hydra_text_limit",children:e})})]}),xe.jsxs("div",{className:"event_preview_content_container",children:[xe.jsxs("span",{className:"event_preview_image_container",children:[xe.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),xe.jsxs("div",{className:"event_preview_image_footer",children:[xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),xe.jsx("p",{children:"Severity"}),xe.jsx("h5",{title:d==null?void 0:d.severity,children:(m=d==null?void 0:d.severity)==null?void 0:m.toLocaleLowerCase()})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Source"}),xe.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Date"}),xe.jsx("h5",{title:n6.format(new Date(d==null?void 0:d.timeStamp)),children:n6.format(new Date(d==null?void 0:d.timeStamp))})]}),xe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[xe.jsx("p",{children:"Time"}),xe.jsx("h5",{title:r6.format(new Date(d==null?void 0:d.timeStamp)),children:r6.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),xe.jsx("span",{className:"event_preview_content",children:xe.jsx(t6,{data:d==null?void 0:d.blobs})}),xe.jsxs("span",{className:"event_preview_other_events_container",children:[xe.jsxs("header",{children:[xe.jsx("h6",{children:"Events"}),xe.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),xe.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((f,g)=>xe.jsx("div",{onClick:p=>{p.target.tagName!="INPUT"&&(M4(p.target),c==null||c(g))},children:xe.jsx(B2,{data:f,isFocused:g==s},g)},f==null?void 0:f.id))}),xe.jsxs("footer",{children:[xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",onClick:f=>{s!==0&&(M4(f.target),c==null||c(s-1))},textSize:"xs"}),xe.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",onClick:f=>{s!==(u==null?void 0:u.length)-1&&(M4(f.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},t$={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},n$=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:o})=>xe.jsx(Br,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:t$[r],children:o}),r$=({options:e,onChange:t,value:n,placeholder:r="Select Items...",className:o="",triggerHighlightColor:s="#29292955",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:m="#ffcc00",borderColor:f=null,searchable:g=!0,disabled:p=!1,width:b="300px",height:y="m",id:C="",maxTagCount:h="responsive",suffixIcon:S=!0})=>xe.jsx(Yo,{id:C,disabled:p,showSearch:g,className:`multi_select_container ${o} h_${y} ${f?"border":""}`,mode:"multiple",style:{width:b,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${f}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${y} ${f?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),o$=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:o=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[m,f]=R.useState(e),g=e!==void 0,p=g?e:m,b=y=>{g||f(y),o==null||o(y)};return xe.jsx(L4,{checked:p,onChange:b,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var cl={exports:{}};/**
270
270
  * @license
271
271
  * Lodash <https://lodash.com/>
272
272
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ambuj.bhaskar/react-component-library",
3
3
  "private": false,
4
- "version": "0.10.5",
4
+ "version": "0.10.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"