@ambuj.bhaskar/react-component-library 0.10.0 → 0.10.1

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_highlight: #fc0;--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:1px solid var(--c_surface_primary);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.focused{border:2px solid var(--c_highlight)}.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: 0px 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:0 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{padding:2% 4%;gap:2%;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 .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:100%;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-between;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: 0px 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_highlight: #fc0;--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:1px solid var(--c_surface_primary);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.focused{border:2px solid var(--c_highlight)}.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:0 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{padding:2% 4%;gap:2%;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 .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:100%;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-between;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:t2},[`&${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:a2},[`&${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:n2},[`${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`},cP(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(b).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")]},J8=ga("DatePicker",e=>{const t=Pn(j8(e),GD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[qD(t),JD(t),XD(t),QD(t),ZD(t),Nc(e,{focusElCls:`${e.componentCls}-focused`})]},KD);var eF={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"},tF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:eF}))},_2=i.forwardRef(tF);process.env.NODE_ENV!=="production"&&(_2.displayName="CalendarOutlined");var nF={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"},rF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:nF}))},O2=i.forwardRef(rF);process.env.NODE_ENV!=="production"&&(O2.displayName="ClockCircleOutlined");var aF={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"},oF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:aF}))},e9=i.forwardRef(oF);process.env.NODE_ENV!=="production"&&(e9.displayName="SwapRightOutlined");function iF(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 lF(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 t9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=a8(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[sF,cF]=["week","WeekPicker"],[uF,dF]=["month","MonthPicker"],[fF,vF]=["year","YearPicker"],[mF,gF]=["quarter","QuarterPicker"],[n9,Gd]=["time","TimePicker"],hF=e=>i.createElement(Ro,Object.assign({size:"small",type:"primary"},e));function r9(e){return P.useMemo(()=>Object.assign({button:hF},e),[e])}var pF=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 CF=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:v,size:g,disabled:p,bordered:C=!0,placeholder:b,popupClassName:y,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=pF(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]=w2("rangePicker",x,C),N=bl(j),[I,z,k]=J8(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]=t9(n,j),q=r9(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===n9?i.createElement(O2,null):i.createElement(_2,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(c2,{space:!0},i.createElement(V8,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(e9,null)),disabled:ce,ref:M,placement:v,placeholder:lF(se,L,b),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},b2(j,y2(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,y||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 bF=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 yF=e=>{const t=(d,m)=>{const v=m===Gd?"timePicker":"datePicker",g=P.forwardRef((p,C)=>{var b;const{prefixCls:y,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=bF(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:O,direction:N,getPopupContainer:I,[v]:z}=P.useContext(En),k=O("picker",y),{compactSize:Z,compactItemClassnames:q}=Rc(k,N),J=i.useRef(null),[Q,ce]=w2("datePicker",U,M),de=bl(k),[ae,ve,me]=J8(k,de);P.useImperativeHandle(C,()=>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]=t9(p,k),Oe=r9(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(O2,null):i.createElement(_2,null),ut&&Je),[Ct]=no("DatePicker",ec),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=Mc("DatePicker",(b=p.popupStyle)===null||b===void 0?void 0:b.zIndex);return ae(i.createElement(c2,{space:!0},i.createElement(B8,Object.assign({ref:J,placeholder:iF(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},b2(k,y2(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(sF,cF),a=t(uF,dF),s=t(fF,vF),c=t(mF,gF),u=t(n9,Gd);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},a9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=yF(e),u=CF(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=a9(HP),wF=d2(Ci,"popupAlign",void 0,"picker");Ci._InternalPanelDoNotUseOrYouWillBeFired=wF;const EF=d2(Ci.RangePicker,"popupAlign",void 0,"picker");Ci._InternalRangePanelDoNotUseOrYouWillBeFired=EF;Ci.generatePicker=a9;var SF=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 xF=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,m=SF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:v}=i.useContext(En),g=v(),p=t||v("modal"),C=bl(g),[b,y,h]=gf(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(pf,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(df,Object.assign({},e)),children:u},b(i.createElement(l2,Object.assign({prefixCls:p,className:Pe(y,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},m,{closeIcon:uf(p,r),closable:a},E)))},LF=Mf(xF);function o9(e){return Ll(wf(e))}const Kr=hf;Kr.useModal=sO;Kr.info=function(t){return Ll(Ef(t))};Kr.success=function(t){return Ll(Sf(t))};Kr.error=function(t){return Ll(xf(t))};Kr.warning=o9;Kr.warn=o9;Kr.confirm=function(t){return Ll(Lf(t))};Kr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}};Kr.config=rO;Kr._InternalPanelDoNotUseOrYouWillBeFired=LF;process.env.NODE_ENV!=="production"&&(Kr.displayName="Modal");var MF=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],i9=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,v=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,b=e.onKeyDown,y=sn(e,MF),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),C==null||C(V,A)),V}function $(F){F.which===Te.LEFT?L(!1,F):F.which===Te.RIGHT&&L(!0,F),b==null||b(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({},y,{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")},v),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});i9.displayName="Switch";const $F=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,v=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% + ${v} - ${g})`,marginInlineEnd:`calc(100% - ${v} + ${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% - ${v} + ${g})`,marginInlineEnd:`calc(-100% + ${v} - ${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()}}}}}}},RF=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}}}},_F=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}}}}},OF=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()),v=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} - ${v})`,marginInlineEnd:`calc(100% - ${m} + ${v})`},[`${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} + ${v})`,marginInlineEnd:`calc(-100% + ${m} - ${v})`}},[`&: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()}}}}}},IF=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}}),Y4(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"}})}},PF=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}},DF=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[IF(t),OF(t),_F(t),RF(t),$F(t)]},PF);var FF=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 NF=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:m,value:v,defaultChecked:g,defaultValue:p,onChange:C}=e,b=FF(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[y,h]=ur(!1,{value:m??v,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]=DF(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]),C==null||C.apply(void 0,arguments)};return F(i.createElement(e2,{component:"Switch"},i.createElement(i9,Object.assign({},b,{checked:y,onChange:H,prefixCls:M,className:G,style:U,disabled:$,ref:t,loadingIcon:_}))))}),I2=NF;I2.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(I2.displayName="Switch");const l9=({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:v="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",suffixIcon:h=!0})=>$e.jsx(ro,{id:y,className:`${s} single_select_container h_${b} items_${a} ${v?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${b} items_${a} ${v?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),TF=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"}],AF=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,m]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=Ds[89])==null?void 0:p.dialingCode),v=b=>{var y;m(b),t(b+c+(((y=e.split(c))==null?void 0:y[1])||""))},g=b=>{const{value:y}=b.target;t(d+c+y)};return $e.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[$e.jsx(l9,{options:Ds==null?void 0:Ds.map(b=>({label:$e.jsx("img",{src:TF(b.countryCode)}),value:b==null?void 0:b.dialingCode})),placement:"center",value:d,onChange:v,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),$e.jsx(P1,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),$e.jsx(P1,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},HF="DD MMM YY - HH:mm:ss",VF=[{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()]}],kF=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:BF}=Ci,jF=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=HF,presetRanges:s=VF,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:v="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:b=!1,...y})=>{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 $e.jsx(BF,{showTime:r,...y,value:h,onChange:S,format:a,presets:s,disabledDate:b?kF:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":v,"--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 s9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var v,g,p;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=C=>{C===Ki.NEXT?s(b=>(b+1)%(r==null?void 0:r.length)):C===Ki.PREV&&s(b=>(b-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?$e.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[$e.jsxs("header",{children:[$e.jsx("h6",{children:e}),$e.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),$e.jsxs("div",{className:"carousel_card",children:[$e.jsxs("div",{className:"carousel_card_images",children:[(c==null?void 0:c.detection)&&$e.jsxs("span",{children:[$e.jsx("p",{children:"Detection"}),$e.jsx("img",{src:(v=c==null?void 0:c.detection)==null?void 0:v.image,alt:"Detected Image"})]}),(c==null?void 0:c.match)&&$e.jsxs("span",{children:[$e.jsx("p",{children:"Match"}),$e.jsx("img",{src:(g=c==null?void 0:c.match)==null?void 0:g.image,alt:"Detected Image"})]})]}),$e.jsxs("div",{className:"carousel_info_container",children:[$e.jsx("p",{className:"text_s",children:"Label"}),$e.jsx("h6",{className:"capatalize_first_letter",children:((p=c==null?void 0:c.labels)==null?void 0:p[0])||"N.A."})]}),$e.jsxs("div",{className:"carousel_info_container",children:[$e.jsx("p",{className:"text_s",children:"Score"}),$e.jsx("h6",{className:"font_secondary",children:d()})]}),$e.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?$e.jsxs($e.Fragment,{children:[$e.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,b)=>{var y,h;return $e.jsxs("div",{className:"event_preview_carousel_attribute",children:[$e.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),$e.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((y=c==null?void 0:c.attributes)==null?void 0:y[C])||"N.A.",children:((h=c==null?void 0:c.attributes)==null?void 0:h[C])||"N.A."})]},b)})||$e.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):$e.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&$e.jsxs("footer",{className:"event_preview_carousel_footer",children:[$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(Ki.PREV)}),$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(Ki.NEXT)})]})]}):$e.jsx($e.Fragment,{})},Yd=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),Kd=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),zF=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem"})=>{var u;const s={id:0,frameUrl:"https://unsplash.it/500",severity:"low",location:"asdasd asd",timeStamp:new Date,color:"#00ff00",blobs:[{detection:{image:"https://unsplash.it/250/400"},match:{image:"https://unsplash.it/401/200"},attributes:{source_latitude:"28.451",source_longitude:"77.021","Dectection Score":"","Detected Blob Aspect Ratio":"1.233333","Detected Blob Size":"90 x 111",Subclass:""},labels:["front_face"],score:.8234103322029114}]},c=n;return $e.jsxs("div",{className:"event_preview_window",style:{height:a,width:r},children:[$e.jsxs("span",{className:"event_preview_dialog_header",children:[$e.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&$e.jsx("img",{src:t,alt:e})}),$e.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:$e.jsx("h6",{className:"hydra_text_limit",children:e})})]}),$e.jsxs("div",{className:"event_preview_content_container",children:[$e.jsxs("span",{className:"event_preview_image_container",children:[$e.jsx("img",{src:s==null?void 0:s.frameUrl,alt:"Alert"}),$e.jsxs("div",{className:"event_preview_image_footer",children:[$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${s==null?void 0:s.color})`}}),$e.jsx("p",{children:"Severity"}),$e.jsx("h5",{title:s==null?void 0:s.severity,children:(u=s==null?void 0:s.severity)==null?void 0:u.toLocaleLowerCase()})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Source"}),$e.jsx("h5",{title:s==null?void 0:s.location,children:s==null?void 0:s.location})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Date"}),$e.jsx("h5",{title:Yd.format(new Date(s==null?void 0:s.timeStamp)),children:Yd.format(new Date(s==null?void 0:s.timeStamp))})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Time"}),$e.jsx("h5",{title:Kd.format(new Date(s==null?void 0:s.timeStamp)),children:Kd.format(new Date(s==null?void 0:s.timeStamp))})]})]})]}),$e.jsx("span",{className:"event_preview_content",children:$e.jsx(s9,{data:s==null?void 0:s.blobs})}),$e.jsxs("span",{className:"event_preview_other_events_container",children:[$e.jsxs("header",{children:[$e.jsx("h6",{children:"Events"}),$e.jsx("p",{className:"font_secondary"})]}),$e.jsx("div",{className:"event_preview_other_events",children:c==null?void 0:c.map((d,m)=>$e.jsx("div",{children:$e.jsx(t7,{data:d},m)},d==null?void 0:d.id))}),$e.jsxs("footer",{children:[$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",textSize:"xs"}),$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",textSize:"xs"})]})]})]})]})},ZF={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},WF=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>$e.jsx(Kr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:ZF[r],children:a}),UF=({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:v=null,searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",maxTagCount:h="responsive",suffixIcon:S=!0})=>$e.jsx(ro,{id:y,disabled:p,showSearch:g,className:`multi_select_container ${a} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:C,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),qF=({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,v]=P.useState(e),g=e!==void 0,p=g?e:m,C=b=>{g||v(b),a==null||a(b)};return $e.jsx(I2,{checked:p,onChange:C,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:n2},[`${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`},cP(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(b).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")]},J8=ga("DatePicker",e=>{const t=Pn(j8(e),GD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[qD(t),JD(t),XD(t),QD(t),ZD(t),Nc(e,{focusElCls:`${e.componentCls}-focused`})]},KD);var eF={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"},tF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:eF}))},_2=i.forwardRef(tF);process.env.NODE_ENV!=="production"&&(_2.displayName="CalendarOutlined");var nF={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"},rF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:nF}))},O2=i.forwardRef(rF);process.env.NODE_ENV!=="production"&&(O2.displayName="ClockCircleOutlined");var aF={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"},oF=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:aF}))},e9=i.forwardRef(oF);process.env.NODE_ENV!=="production"&&(e9.displayName="SwapRightOutlined");function iF(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 lF(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 t9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=a8(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[sF,cF]=["week","WeekPicker"],[uF,dF]=["month","MonthPicker"],[fF,vF]=["year","YearPicker"],[mF,gF]=["quarter","QuarterPicker"],[n9,Gd]=["time","TimePicker"],hF=e=>i.createElement(Ro,Object.assign({size:"small",type:"primary"},e));function r9(e){return P.useMemo(()=>Object.assign({button:hF},e),[e])}var pF=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 CF=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:v,size:g,disabled:p,bordered:C=!0,placeholder:b,popupClassName:y,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=pF(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]=w2("rangePicker",x,C),N=bl(j),[I,z,k]=J8(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]=t9(n,j),q=r9(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===n9?i.createElement(O2,null):i.createElement(_2,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(c2,{space:!0},i.createElement(V8,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(e9,null)),disabled:ce,ref:M,placement:v,placeholder:lF(se,L,b),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},b2(j,y2(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,y||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 bF=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 yF=e=>{const t=(d,m)=>{const v=m===Gd?"timePicker":"datePicker",g=P.forwardRef((p,C)=>{var b;const{prefixCls:y,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=bF(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:O,direction:N,getPopupContainer:I,[v]:z}=P.useContext(En),k=O("picker",y),{compactSize:Z,compactItemClassnames:q}=Rc(k,N),J=i.useRef(null),[Q,ce]=w2("datePicker",U,M),de=bl(k),[ae,ve,me]=J8(k,de);P.useImperativeHandle(C,()=>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]=t9(p,k),Oe=r9(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(O2,null):i.createElement(_2,null),ut&&Je),[Ct]=no("DatePicker",ec),et=Object.assign(Object.assign({},Ct),p.locale),[Et]=Mc("DatePicker",(b=p.popupStyle)===null||b===void 0?void 0:b.zIndex);return ae(i.createElement(c2,{space:!0},i.createElement(B8,Object.assign({ref:J,placeholder:iF(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},b2(k,y2(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(sF,cF),a=t(uF,dF),s=t(fF,vF),c=t(mF,gF),u=t(n9,Gd);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},a9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=yF(e),u=CF(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=a9(HP),wF=d2(Ci,"popupAlign",void 0,"picker");Ci._InternalPanelDoNotUseOrYouWillBeFired=wF;const EF=d2(Ci.RangePicker,"popupAlign",void 0,"picker");Ci._InternalRangePanelDoNotUseOrYouWillBeFired=EF;Ci.generatePicker=a9;var SF=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 xF=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,m=SF(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:v}=i.useContext(En),g=v(),p=t||v("modal"),C=bl(g),[b,y,h]=gf(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(pf,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(df,Object.assign({},e)),children:u},b(i.createElement(l2,Object.assign({prefixCls:p,className:Pe(y,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},m,{closeIcon:uf(p,r),closable:a},E)))},LF=Mf(xF);function o9(e){return Ll(wf(e))}const Kr=hf;Kr.useModal=sO;Kr.info=function(t){return Ll(Ef(t))};Kr.success=function(t){return Ll(Sf(t))};Kr.error=function(t){return Ll(xf(t))};Kr.warning=o9;Kr.warn=o9;Kr.confirm=function(t){return Ll(Lf(t))};Kr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}};Kr.config=rO;Kr._InternalPanelDoNotUseOrYouWillBeFired=LF;process.env.NODE_ENV!=="production"&&(Kr.displayName="Modal");var MF=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],i9=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,v=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,b=e.onKeyDown,y=sn(e,MF),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),C==null||C(V,A)),V}function $(F){F.which===Te.LEFT?L(!1,F):F.which===Te.RIGHT&&L(!0,F),b==null||b(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({},y,{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")},v),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});i9.displayName="Switch";const $F=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,v=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% + ${v} - ${g})`,marginInlineEnd:`calc(100% - ${v} + ${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% - ${v} + ${g})`,marginInlineEnd:`calc(-100% + ${v} - ${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()}}}}}}},RF=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}}}},_F=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}}}}},OF=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()),v=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} - ${v})`,marginInlineEnd:`calc(100% - ${m} + ${v})`},[`${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} + ${v})`,marginInlineEnd:`calc(-100% + ${m} - ${v})`}},[`&: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()}}}}}},IF=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}}),Y4(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"}})}},PF=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}},DF=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[IF(t),OF(t),_F(t),RF(t),$F(t)]},PF);var FF=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 NF=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:m,value:v,defaultChecked:g,defaultValue:p,onChange:C}=e,b=FF(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[y,h]=ur(!1,{value:m??v,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]=DF(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]),C==null||C.apply(void 0,arguments)};return F(i.createElement(e2,{component:"Switch"},i.createElement(i9,Object.assign({},b,{checked:y,onChange:H,prefixCls:M,className:G,style:U,disabled:$,ref:t,loadingIcon:_}))))}),I2=NF;I2.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(I2.displayName="Switch");const l9=({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:v="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",suffixIcon:h=!0})=>$e.jsx(ro,{id:y,className:`${s} single_select_container h_${b} items_${a} ${v?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${b} items_${a} ${v?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),TF=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"}],AF=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,m]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=Ds[89])==null?void 0:p.dialingCode),v=b=>{var y;m(String(b)),t(b+c+(((y=e.split(c))==null?void 0:y[1])||""))},g=b=>{const{value:y}=b.target;t(d+c+y)};return $e.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[$e.jsx(l9,{options:Ds==null?void 0:Ds.map(b=>({label:$e.jsx("img",{src:TF(b.countryCode)}),value:b==null?void 0:b.dialingCode})),placement:"center",value:d,onChange:v,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),$e.jsx(P1,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),$e.jsx(P1,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},HF="DD MMM YY - HH:mm:ss",VF=[{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()]}],kF=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:BF}=Ci,jF=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=HF,presetRanges:s=VF,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:v="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:b=!1,...y})=>{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 $e.jsx(BF,{showTime:r,...y,value:h,onChange:S,format:a,presets:s,disabledDate:b?kF:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":v,"--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 s9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var v,g,p;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=C=>{C===Ki.NEXT?s(b=>(b+1)%(r==null?void 0:r.length)):C===Ki.PREV&&s(b=>(b-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?$e.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[$e.jsxs("header",{children:[$e.jsx("h6",{children:e}),$e.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),$e.jsxs("div",{className:"carousel_card",children:[$e.jsxs("div",{className:"carousel_card_images",children:[(c==null?void 0:c.detection)&&$e.jsxs("span",{children:[$e.jsx("p",{children:"Detection"}),$e.jsx("img",{src:(v=c==null?void 0:c.detection)==null?void 0:v.image,alt:"Detected Image"})]}),(c==null?void 0:c.match)&&$e.jsxs("span",{children:[$e.jsx("p",{children:"Match"}),$e.jsx("img",{src:(g=c==null?void 0:c.match)==null?void 0:g.image,alt:"Detected Image"})]})]}),$e.jsxs("div",{className:"carousel_info_container",children:[$e.jsx("p",{className:"text_s",children:"Label"}),$e.jsx("h6",{className:"capatalize_first_letter",children:((p=c==null?void 0:c.labels)==null?void 0:p[0])||"N.A."})]}),$e.jsxs("div",{className:"carousel_info_container",children:[$e.jsx("p",{className:"text_s",children:"Score"}),$e.jsx("h6",{className:"font_secondary",children:d()})]}),$e.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?$e.jsxs($e.Fragment,{children:[$e.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,b)=>{var y,h;return $e.jsxs("div",{className:"event_preview_carousel_attribute",children:[$e.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),$e.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((y=c==null?void 0:c.attributes)==null?void 0:y[C])||"N.A.",children:((h=c==null?void 0:c.attributes)==null?void 0:h[C])||"N.A."})]},b)})||$e.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):$e.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&$e.jsxs("footer",{className:"event_preview_carousel_footer",children:[$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(Ki.PREV)}),$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(Ki.NEXT)})]})]}):$e.jsx($e.Fragment,{})},Yd=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),Kd=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),zF=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem"})=>{var u;const s={id:0,frameUrl:"https://unsplash.it/500",severity:"low",location:"asdasd asd",timeStamp:new Date,color:"#00ff00",blobs:[{detection:{image:"https://unsplash.it/250/400"},match:{image:"https://unsplash.it/401/200"},attributes:{source_latitude:"28.451",source_longitude:"77.021","Dectection Score":"","Detected Blob Aspect Ratio":"1.233333","Detected Blob Size":"90 x 111",Subclass:""},labels:["front_face"],score:.8234103322029114}]},c=n;return $e.jsxs("div",{className:"event_preview_window",style:{height:a,width:r},children:[$e.jsxs("span",{className:"event_preview_dialog_header",children:[$e.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&$e.jsx("img",{src:t,alt:e})}),$e.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:$e.jsx("h6",{className:"hydra_text_limit",children:e})})]}),$e.jsxs("div",{className:"event_preview_content_container",children:[$e.jsxs("span",{className:"event_preview_image_container",children:[$e.jsx("img",{src:s==null?void 0:s.frameUrl,alt:"Alert"}),$e.jsxs("div",{className:"event_preview_image_footer",children:[$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${s==null?void 0:s.color})`}}),$e.jsx("p",{children:"Severity"}),$e.jsx("h5",{title:s==null?void 0:s.severity,children:(u=s==null?void 0:s.severity)==null?void 0:u.toLocaleLowerCase()})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Source"}),$e.jsx("h5",{title:s==null?void 0:s.location,children:s==null?void 0:s.location})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Date"}),$e.jsx("h5",{title:Yd.format(new Date(s==null?void 0:s.timeStamp)),children:Yd.format(new Date(s==null?void 0:s.timeStamp))})]}),$e.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[$e.jsx("p",{children:"Time"}),$e.jsx("h5",{title:Kd.format(new Date(s==null?void 0:s.timeStamp)),children:Kd.format(new Date(s==null?void 0:s.timeStamp))})]})]})]}),$e.jsx("span",{className:"event_preview_content",children:$e.jsx(s9,{data:s==null?void 0:s.blobs})}),$e.jsxs("span",{className:"event_preview_other_events_container",children:[$e.jsxs("header",{children:[$e.jsx("h6",{children:"Events"}),$e.jsx("p",{className:"font_secondary"})]}),$e.jsx("div",{className:"event_preview_other_events",children:c==null?void 0:c.map((d,m)=>$e.jsx("div",{children:$e.jsx(t7,{data:d},m)},d==null?void 0:d.id))}),$e.jsxs("footer",{children:[$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",textSize:"xs"}),$e.jsx(al,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",textSize:"xs"})]})]})]})]})},ZF={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},WF=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>$e.jsx(Kr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:ZF[r],children:a}),UF=({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:v=null,searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",maxTagCount:h="responsive",suffixIcon:S=!0})=>$e.jsx(ro,{id:y,disabled:p,showSearch:g,className:`multi_select_container ${a} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:C,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),qF=({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,v]=P.useState(e),g=e!==void 0,p=g?e:m,C=b=>{g||v(b),a==null||a(b)};return $e.jsx(I2,{checked:p,onChange:C,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.d.ts CHANGED
@@ -277,11 +277,11 @@ export declare const Multiselect: default_2.FC<MultiselectProps>;
277
277
 
278
278
  declare type MultiselectProps = {
279
279
  options: Option_2[];
280
- onChange: (value: string[]) => void;
280
+ onChange: (value: Option_2["value"][]) => void;
281
281
  placeholder?: string;
282
282
  searchable?: boolean;
283
283
  maxTagCount?: "responsive" | number;
284
- value?: string[];
284
+ value?: Option_2["value"][];
285
285
  width?: CSSstring;
286
286
  height?: string;
287
287
  className?: string;
@@ -298,7 +298,7 @@ declare type MultiselectProps = {
298
298
 
299
299
  declare type Option_2 = {
300
300
  label: string;
301
- value: string;
301
+ value: string | number;
302
302
  };
303
303
 
304
304
  /**
@@ -319,11 +319,11 @@ export declare const Select: React.FC<SelectProps>;
319
319
 
320
320
  declare type SelectProps = {
321
321
  options: Option_2[] | CustomOption[];
322
- onChange: (value: string) => void;
322
+ onChange: (value: Option_2["value"]) => void;
323
323
  placeholder?: string;
324
324
  searchable?: boolean;
325
325
  placement?: "start" | "center" | "end";
326
- value?: string;
326
+ value?: Option_2["value"];
327
327
  className?: string;
328
328
  triggerBackgroundColor?: Color;
329
329
  menuBackgroundColor?: Color;
package/dist/index.js CHANGED
@@ -25297,7 +25297,7 @@ const GF = ({
25297
25297
  e != null && e.includes(c) ? e.split(c)[0] : (p = As[89]) == null ? void 0 : p.dialingCode
25298
25298
  ), v = (b) => {
25299
25299
  var y;
25300
- m(b), t(b + c + (((y = e.split(c)) == null ? void 0 : y[1]) || ""));
25300
+ m(String(b)), t(b + c + (((y = e.split(c)) == null ? void 0 : y[1]) || ""));
25301
25301
  }, g = (b) => {
25302
25302
  const { value: y } = b.target;
25303
25303
  t(d + c + y);
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 D2=document.createElement("style");D2.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_highlight: #fc0;--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:1px solid var(--c_surface_primary);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.focused{border:2px solid var(--c_highlight)}.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: 0px 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:0 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{padding:2% 4%;gap:2%;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 .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:100%;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-between;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: 0px 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 D2=document.createElement("style");D2.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_highlight: #fc0;--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:1px solid var(--c_surface_primary);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.focused{border:2px solid var(--c_highlight)}.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:0 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{padding:2% 4%;gap:2%;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 .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:100%;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-between;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(D2);function F2(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=F2(R),N2=F2(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`},E_(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(b).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")]},Zf=fo("DatePicker",e=>{const t=Pn(Of(e),lM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[iM(t),fM(t),uM(t),dM(t),rM(t),Is(e,{focusElCls:`${e.componentCls}-focused`})]},cM);var vM={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"},mM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:vM}))},x4=i.forwardRef(mM);process.env.NODE_ENV!=="production"&&(x4.displayName="CalendarOutlined");var gM={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"},hM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:gM}))},_4=i.forwardRef(hM);process.env.NODE_ENV!=="production"&&(_4.displayName="ClockCircleOutlined");var pM={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"},CM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:pM}))},Wf=i.forwardRef(CM);process.env.NODE_ENV!=="production"&&(Wf.displayName="SwapRightOutlined");function bM(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 yM(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 Uf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=D7(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[wM,EM]=["week","WeekPicker"],[SM,xM]=["month","MonthPicker"],[_M,LM]=["year","YearPicker"],[MM,$M]=["quarter","QuarterPicker"],[qf,Gf]=["time","TimePicker"],OM=e=>i.createElement(ma,Object.assign({size:"small",type:"primary"},e));function Yf(e){return R.useMemo(()=>Object.assign({button:OM},e),[e])}var IM=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 PM=e=>{const t=R.forwardRef((n,r)=>{var o;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:v,size:g,disabled:p,bordered:C=!0,placeholder:b,popupClassName:y,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=IM(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,C),N=Bi(j),[P,z,V]=Zf(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]=Uf(n,j),q=Yf(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,_===qf?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(Lf,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(Wf,null)),disabled:ce,ref:L,placement:v,placeholder:yM(se,_,b),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,y||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 RM=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 DM=e=>{const t=(d,m)=>{const v=m===Gf?"timePicker":"datePicker",g=R.forwardRef((p,C)=>{var b;const{prefixCls:y,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=RM(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:N,getPopupContainer:P,[v]:z}=R.useContext(yn),V=I("picker",y),{compactSize:Z,compactItemClassnames:q}=ys(V,N),ee=i.useRef(null),[Q,ce]=l4("datePicker",U,L),de=Bi(V),[oe,ve,me]=Zf(V,de);R.useImperativeHandle(C,()=>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]=Uf(p,V),Ie=Yf(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",(b=p.popupStyle)===null||b===void 0?void 0:b.zIndex);return oe(i.createElement(A1,{space:!0},i.createElement($f,Object.assign({ref:ee,placeholder:bM(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(wM,EM),o=t(SM,xM),s=t(_M,LM),c=t(MM,$M),u=t(qf,Gf);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:s,TimePicker:u,QuarterPicker:c}},Kf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:s,QuarterPicker:c}=DM(e),u=PM(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=Kf(X_),FM=W1(ai,"popupAlign",void 0,"picker");ai._InternalPanelDoNotUseOrYouWillBeFired=FM;const NM=W1(ai.RangePicker,"popupAlign",void 0,"picker");ai._InternalRangePanelDoNotUseOrYouWillBeFired=NM,ai.generatePicker=Kf;var TM=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 AM=Dd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:s,title:c,children:u,footer:d}=e,m=TM(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:v}=i.useContext(yn),g=v(),p=t||v("modal"),C=Bi(g),[b,y,h]=wd(p,C),S=`${p}-confirm`;let E={};return s?E={closable:o??!1,title:"",footer:"",children:i.createElement(Sd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:o??!0,title:c,footer:d!==null&&i.createElement(hd,Object.assign({},e)),children:u},b(i.createElement(E1,Object.assign({prefixCls:p,className:Re(y,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},m,{closeIcon:gd(p,r),closable:o},E)))});function Xf(e){return Ki(Md(e))}const Br=Ed;Br.useModal=wS,Br.info=function(t){return Ki($d(t))},Br.success=function(t){return Ki(Od(t))},Br.error=function(t){return Ki(Id(t))},Br.warning=Xf,Br.warn=Xf,Br.confirm=function(t){return Ki(Pd(t))},Br.destroyAll=function(){for(;pa.length;){const t=pa.pop();t&&t()}},Br.config=hS,Br._InternalPanelDoNotUseOrYouWillBeFired=AM,process.env.NODE_ENV!=="production"&&(Br.displayName="Modal");var HM=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Qf=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,v=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,b=e.onKeyDown,y=on(e,HM),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),C==null||C(k,A)),k}function M(F){F.which===Te.LEFT?_(!1,F):F.which===Te.RIGHT&&_(!0,F),b==null||b(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({},y,{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")},v),i.createElement("span",{className:"".concat(o,"-inner-unchecked")},g)))});Qf.displayName="Switch";const kM=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,v=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% + ${v} - ${g})`,marginInlineEnd:`calc(100% - ${v} + ${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% - ${v} + ${g})`,marginInlineEnd:`calc(-100% + ${v} - ${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()}}}}}}},VM=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}}}},BM=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}}}}},jM=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()),v=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} - ${v})`,marginInlineEnd:`calc(100% - ${m} + ${v})`},[`${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} + ${v})`,marginInlineEnd:`calc(-100% + ${m} - ${v})`}},[`&: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"}})}},ZM=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),jM(t),BM(t),VM(t),kM(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 WM=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:v,defaultChecked:g,defaultValue:p,onChange:C}=e,b=WM(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[y,h]=ar(!1,{value:m??v,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]=ZM(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]),C==null||C.apply(void 0,arguments)};return F(i.createElement(c1,{component:"Switch"},i.createElement(Qf,Object.assign({},b,{checked:y,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 Jf=({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:v="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",suffixIcon:h=!0})=>Me.jsx(Yo,{id:y,className:`${s} single_select_container h_${b} items_${o} ${v?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${b} items_${o} ${v?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),UM=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"}],qM=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:o="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,m]=R.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=lc[89])==null?void 0:p.dialingCode),v=b=>{var y;m(b),t(b+c+(((y=e.split(c))==null?void 0:y[1])||""))},g=b=>{const{value:y}=b.target;t(d+c+y)};return Me.jsxs("div",{className:`contact_input ${o}`,style:{width:r},children:[Me.jsx(Jf,{options:lc==null?void 0:lc.map(b=>({label:Me.jsx("img",{src:UM(b.countryCode)}),value:b==null?void 0:b.dialingCode})),placement:"center",value:d,onChange:v,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),Me.jsx(qc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),Me.jsx(qc,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},GM="DD MMM YY - HH:mm:ss",YM=[{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()]}],KM=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:XM}=ai,QM=({value:e,onChange:t,className:n="",showTime:r=!0,format:o=GM,presetRanges:s=YM,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:v="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:b=!1,...y})=>{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 Me.jsx(XM,{showTime:r,...y,value:h,onChange:S,format:o,presets:s,disabledDate:b?KM:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":v,"--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 e6=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var v,g,p;const[o,s]=R.useState(0),c=(r==null?void 0:r[o])??{},u=C=>{C===sl.NEXT?s(b=>(b+1)%(r==null?void 0:r.length)):C===sl.PREV&&s(b=>(b-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?Me.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[Me.jsxs("header",{children:[Me.jsx("h6",{children:e}),Me.jsxs("p",{className:"font_secondary",children:["(",o+1,"/",r==null?void 0:r.length,")"]})]}),Me.jsxs("div",{className:"carousel_card",children:[Me.jsxs("div",{className:"carousel_card_images",children:[(c==null?void 0:c.detection)&&Me.jsxs("span",{children:[Me.jsx("p",{children:"Detection"}),Me.jsx("img",{src:(v=c==null?void 0:c.detection)==null?void 0:v.image,alt:"Detected Image"})]}),(c==null?void 0:c.match)&&Me.jsxs("span",{children:[Me.jsx("p",{children:"Match"}),Me.jsx("img",{src:(g=c==null?void 0:c.match)==null?void 0:g.image,alt:"Detected Image"})]})]}),Me.jsxs("div",{className:"carousel_info_container",children:[Me.jsx("p",{className:"text_s",children:"Label"}),Me.jsx("h6",{className:"capatalize_first_letter",children:((p=c==null?void 0:c.labels)==null?void 0:p[0])||"N.A."})]}),Me.jsxs("div",{className:"carousel_info_container",children:[Me.jsx("p",{className:"text_s",children:"Score"}),Me.jsx("h6",{className:"font_secondary",children:d()})]}),Me.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?Me.jsxs(Me.Fragment,{children:[Me.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,b)=>{var y,h;return Me.jsxs("div",{className:"event_preview_carousel_attribute",children:[Me.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),Me.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((y=c==null?void 0:c.attributes)==null?void 0:y[C])||"N.A.",children:((h=c==null?void 0:c.attributes)==null?void 0:h[C])||"N.A."})]},b)})||Me.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):Me.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&Me.jsxs("footer",{className:"event_preview_carousel_footer",children:[Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(sl.PREV)}),Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(sl.NEXT)})]})]}):Me.jsx(Me.Fragment,{})},t6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),n6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),JM=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:o="40rem"})=>{var u;const s={id:0,frameUrl:"https://unsplash.it/500",severity:"low",location:"asdasd asd",timeStamp:new Date,color:"#00ff00",blobs:[{detection:{image:"https://unsplash.it/250/400"},match:{image:"https://unsplash.it/401/200"},attributes:{source_latitude:"28.451",source_longitude:"77.021","Dectection Score":"","Detected Blob Aspect Ratio":"1.233333","Detected Blob Size":"90 x 111",Subclass:""},labels:["front_face"],score:.8234103322029114}]},c=n;return Me.jsxs("div",{className:"event_preview_window",style:{height:o,width:r},children:[Me.jsxs("span",{className:"event_preview_dialog_header",children:[Me.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&Me.jsx("img",{src:t,alt:e})}),Me.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:Me.jsx("h6",{className:"hydra_text_limit",children:e})})]}),Me.jsxs("div",{className:"event_preview_content_container",children:[Me.jsxs("span",{className:"event_preview_image_container",children:[Me.jsx("img",{src:s==null?void 0:s.frameUrl,alt:"Alert"}),Me.jsxs("div",{className:"event_preview_image_footer",children:[Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${s==null?void 0:s.color})`}}),Me.jsx("p",{children:"Severity"}),Me.jsx("h5",{title:s==null?void 0:s.severity,children:(u=s==null?void 0:s.severity)==null?void 0:u.toLocaleLowerCase()})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Source"}),Me.jsx("h5",{title:s==null?void 0:s.location,children:s==null?void 0:s.location})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Date"}),Me.jsx("h5",{title:t6.format(new Date(s==null?void 0:s.timeStamp)),children:t6.format(new Date(s==null?void 0:s.timeStamp))})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Time"}),Me.jsx("h5",{title:n6.format(new Date(s==null?void 0:s.timeStamp)),children:n6.format(new Date(s==null?void 0:s.timeStamp))})]})]})]}),Me.jsx("span",{className:"event_preview_content",children:Me.jsx(e6,{data:s==null?void 0:s.blobs})}),Me.jsxs("span",{className:"event_preview_other_events_container",children:[Me.jsxs("header",{children:[Me.jsx("h6",{children:"Events"}),Me.jsx("p",{className:"font_secondary"})]}),Me.jsx("div",{className:"event_preview_other_events",children:c==null?void 0:c.map((d,m)=>Me.jsx("div",{children:Me.jsx(V2,{data:d},m)},d==null?void 0:d.id))}),Me.jsxs("footer",{children:[Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",textSize:"xs"}),Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",textSize:"xs"})]})]})]})]})},e$={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},t$=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:o})=>Me.jsx(Br,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:e$[r],children:o}),n$=({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:v=null,searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",maxTagCount:h="responsive",suffixIcon:S=!0})=>Me.jsx(Yo,{id:y,disabled:p,showSearch:g,className:`multi_select_container ${o} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:C,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),r$=({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,v]=R.useState(e),g=e!==void 0,p=g?e:m,C=b=>{g||v(b),o==null||o(b)};return Me.jsx(L4,{checked:p,onChange:C,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`},E_(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(b).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")]},Zf=fo("DatePicker",e=>{const t=Pn(Of(e),lM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[iM(t),fM(t),uM(t),dM(t),rM(t),Is(e,{focusElCls:`${e.componentCls}-focused`})]},cM);var vM={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"},mM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:vM}))},x4=i.forwardRef(mM);process.env.NODE_ENV!=="production"&&(x4.displayName="CalendarOutlined");var gM={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"},hM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:gM}))},_4=i.forwardRef(hM);process.env.NODE_ENV!=="production"&&(_4.displayName="ClockCircleOutlined");var pM={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"},CM=function(t,n){return i.createElement(vr,Ze({},t,{ref:n,icon:pM}))},Wf=i.forwardRef(CM);process.env.NODE_ENV!=="production"&&(Wf.displayName="SwapRightOutlined");function bM(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 yM(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 Uf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=D7(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[wM,EM]=["week","WeekPicker"],[SM,xM]=["month","MonthPicker"],[_M,LM]=["year","YearPicker"],[MM,$M]=["quarter","QuarterPicker"],[qf,Gf]=["time","TimePicker"],OM=e=>i.createElement(ma,Object.assign({size:"small",type:"primary"},e));function Yf(e){return R.useMemo(()=>Object.assign({button:OM},e),[e])}var IM=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 PM=e=>{const t=R.forwardRef((n,r)=>{var o;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:m,placement:v,size:g,disabled:p,bordered:C=!0,placeholder:b,popupClassName:y,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=IM(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,C),N=Bi(j),[P,z,V]=Zf(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]=Uf(n,j),q=Yf(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,_===qf?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(Lf,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(Wf,null)),disabled:ce,ref:L,placement:v,placeholder:yM(se,_,b),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,y||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 RM=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 DM=e=>{const t=(d,m)=>{const v=m===Gf?"timePicker":"datePicker",g=R.forwardRef((p,C)=>{var b;const{prefixCls:y,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=RM(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:N,getPopupContainer:P,[v]:z}=R.useContext(yn),V=I("picker",y),{compactSize:Z,compactItemClassnames:q}=ys(V,N),ee=i.useRef(null),[Q,ce]=l4("datePicker",U,L),de=Bi(V),[oe,ve,me]=Zf(V,de);R.useImperativeHandle(C,()=>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]=Uf(p,V),Ie=Yf(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",(b=p.popupStyle)===null||b===void 0?void 0:b.zIndex);return oe(i.createElement(A1,{space:!0},i.createElement($f,Object.assign({ref:ee,placeholder:bM(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(wM,EM),o=t(SM,xM),s=t(_M,LM),c=t(MM,$M),u=t(qf,Gf);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:s,TimePicker:u,QuarterPicker:c}},Kf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:s,QuarterPicker:c}=DM(e),u=PM(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=Kf(X_),FM=W1(ai,"popupAlign",void 0,"picker");ai._InternalPanelDoNotUseOrYouWillBeFired=FM;const NM=W1(ai.RangePicker,"popupAlign",void 0,"picker");ai._InternalRangePanelDoNotUseOrYouWillBeFired=NM,ai.generatePicker=Kf;var TM=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 AM=Dd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:s,title:c,children:u,footer:d}=e,m=TM(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:v}=i.useContext(yn),g=v(),p=t||v("modal"),C=Bi(g),[b,y,h]=wd(p,C),S=`${p}-confirm`;let E={};return s?E={closable:o??!1,title:"",footer:"",children:i.createElement(Sd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:o??!0,title:c,footer:d!==null&&i.createElement(hd,Object.assign({},e)),children:u},b(i.createElement(E1,Object.assign({prefixCls:p,className:Re(y,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},m,{closeIcon:gd(p,r),closable:o},E)))});function Xf(e){return Ki(Md(e))}const Br=Ed;Br.useModal=wS,Br.info=function(t){return Ki($d(t))},Br.success=function(t){return Ki(Od(t))},Br.error=function(t){return Ki(Id(t))},Br.warning=Xf,Br.warn=Xf,Br.confirm=function(t){return Ki(Pd(t))},Br.destroyAll=function(){for(;pa.length;){const t=pa.pop();t&&t()}},Br.config=hS,Br._InternalPanelDoNotUseOrYouWillBeFired=AM,process.env.NODE_ENV!=="production"&&(Br.displayName="Modal");var HM=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Qf=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,v=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,b=e.onKeyDown,y=on(e,HM),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),C==null||C(k,A)),k}function M(F){F.which===Te.LEFT?_(!1,F):F.which===Te.RIGHT&&_(!0,F),b==null||b(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({},y,{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")},v),i.createElement("span",{className:"".concat(o,"-inner-unchecked")},g)))});Qf.displayName="Switch";const kM=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,m=`${t}-inner`,v=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% + ${v} - ${g})`,marginInlineEnd:`calc(100% - ${v} + ${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% - ${v} + ${g})`,marginInlineEnd:`calc(-100% + ${v} - ${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()}}}}}}},VM=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}}}},BM=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}}}}},jM=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()),v=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} - ${v})`,marginInlineEnd:`calc(100% - ${m} + ${v})`},[`${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} + ${v})`,marginInlineEnd:`calc(-100% + ${m} - ${v})`}},[`&: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"}})}},ZM=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),jM(t),BM(t),VM(t),kM(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 WM=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:v,defaultChecked:g,defaultValue:p,onChange:C}=e,b=WM(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[y,h]=ar(!1,{value:m??v,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]=ZM(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]),C==null||C.apply(void 0,arguments)};return F(i.createElement(c1,{component:"Switch"},i.createElement(Qf,Object.assign({},b,{checked:y,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 Jf=({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:v="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",suffixIcon:h=!0})=>Me.jsx(Yo,{id:y,className:`${s} single_select_container h_${b} items_${o} ${v?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${b} items_${o} ${v?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),UM=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"}],qM=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:o="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,m]=R.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=lc[89])==null?void 0:p.dialingCode),v=b=>{var y;m(String(b)),t(b+c+(((y=e.split(c))==null?void 0:y[1])||""))},g=b=>{const{value:y}=b.target;t(d+c+y)};return Me.jsxs("div",{className:`contact_input ${o}`,style:{width:r},children:[Me.jsx(Jf,{options:lc==null?void 0:lc.map(b=>({label:Me.jsx("img",{src:UM(b.countryCode)}),value:b==null?void 0:b.dialingCode})),placement:"center",value:d,onChange:v,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),Me.jsx(qc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),Me.jsx(qc,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},GM="DD MMM YY - HH:mm:ss",YM=[{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()]}],KM=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:XM}=ai,QM=({value:e,onChange:t,className:n="",showTime:r=!0,format:o=GM,presetRanges:s=YM,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:m="#fc0",pickerRangeColor:v="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:b=!1,...y})=>{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 Me.jsx(XM,{showTime:r,...y,value:h,onChange:S,format:o,presets:s,disabledDate:b?KM:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":m,"--c_date_range_fill":v,"--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 e6=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var v,g,p;const[o,s]=R.useState(0),c=(r==null?void 0:r[o])??{},u=C=>{C===sl.NEXT?s(b=>(b+1)%(r==null?void 0:r.length)):C===sl.PREV&&s(b=>(b-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?Me.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[Me.jsxs("header",{children:[Me.jsx("h6",{children:e}),Me.jsxs("p",{className:"font_secondary",children:["(",o+1,"/",r==null?void 0:r.length,")"]})]}),Me.jsxs("div",{className:"carousel_card",children:[Me.jsxs("div",{className:"carousel_card_images",children:[(c==null?void 0:c.detection)&&Me.jsxs("span",{children:[Me.jsx("p",{children:"Detection"}),Me.jsx("img",{src:(v=c==null?void 0:c.detection)==null?void 0:v.image,alt:"Detected Image"})]}),(c==null?void 0:c.match)&&Me.jsxs("span",{children:[Me.jsx("p",{children:"Match"}),Me.jsx("img",{src:(g=c==null?void 0:c.match)==null?void 0:g.image,alt:"Detected Image"})]})]}),Me.jsxs("div",{className:"carousel_info_container",children:[Me.jsx("p",{className:"text_s",children:"Label"}),Me.jsx("h6",{className:"capatalize_first_letter",children:((p=c==null?void 0:c.labels)==null?void 0:p[0])||"N.A."})]}),Me.jsxs("div",{className:"carousel_info_container",children:[Me.jsx("p",{className:"text_s",children:"Score"}),Me.jsx("h6",{className:"font_secondary",children:d()})]}),Me.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?Me.jsxs(Me.Fragment,{children:[Me.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((C,b)=>{var y,h;return Me.jsxs("div",{className:"event_preview_carousel_attribute",children:[Me.jsx("p",{className:"text_s capatalize_first_letter",title:m(C)||C,children:m(C)||C}),Me.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((y=c==null?void 0:c.attributes)==null?void 0:y[C])||"N.A.",children:((h=c==null?void 0:c.attributes)==null?void 0:h[C])||"N.A."})]},b)})||Me.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):Me.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&Me.jsxs("footer",{className:"event_preview_carousel_footer",children:[Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"leftArrow",text:"Prev Object",textSize:"xs",onClick:()=>u(sl.PREV)}),Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",text:"Next Object",textSize:"xs",onClick:()=>u(sl.NEXT)})]})]}):Me.jsx(Me.Fragment,{})},t6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),n6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),JM=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:o="40rem"})=>{var u;const s={id:0,frameUrl:"https://unsplash.it/500",severity:"low",location:"asdasd asd",timeStamp:new Date,color:"#00ff00",blobs:[{detection:{image:"https://unsplash.it/250/400"},match:{image:"https://unsplash.it/401/200"},attributes:{source_latitude:"28.451",source_longitude:"77.021","Dectection Score":"","Detected Blob Aspect Ratio":"1.233333","Detected Blob Size":"90 x 111",Subclass:""},labels:["front_face"],score:.8234103322029114}]},c=n;return Me.jsxs("div",{className:"event_preview_window",style:{height:o,width:r},children:[Me.jsxs("span",{className:"event_preview_dialog_header",children:[Me.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&Me.jsx("img",{src:t,alt:e})}),Me.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:Me.jsx("h6",{className:"hydra_text_limit",children:e})})]}),Me.jsxs("div",{className:"event_preview_content_container",children:[Me.jsxs("span",{className:"event_preview_image_container",children:[Me.jsx("img",{src:s==null?void 0:s.frameUrl,alt:"Alert"}),Me.jsxs("div",{className:"event_preview_image_footer",children:[Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${s==null?void 0:s.color})`}}),Me.jsx("p",{children:"Severity"}),Me.jsx("h5",{title:s==null?void 0:s.severity,children:(u=s==null?void 0:s.severity)==null?void 0:u.toLocaleLowerCase()})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Source"}),Me.jsx("h5",{title:s==null?void 0:s.location,children:s==null?void 0:s.location})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Date"}),Me.jsx("h5",{title:t6.format(new Date(s==null?void 0:s.timeStamp)),children:t6.format(new Date(s==null?void 0:s.timeStamp))})]}),Me.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[Me.jsx("p",{children:"Time"}),Me.jsx("h5",{title:n6.format(new Date(s==null?void 0:s.timeStamp)),children:n6.format(new Date(s==null?void 0:s.timeStamp))})]})]})]}),Me.jsx("span",{className:"event_preview_content",children:Me.jsx(e6,{data:s==null?void 0:s.blobs})}),Me.jsxs("span",{className:"event_preview_other_events_container",children:[Me.jsxs("header",{children:[Me.jsx("h6",{children:"Events"}),Me.jsx("p",{className:"font_secondary"})]}),Me.jsx("div",{className:"event_preview_other_events",children:c==null?void 0:c.map((d,m)=>Me.jsx("div",{children:Me.jsx(V2,{data:d},m)},d==null?void 0:d.id))}),Me.jsxs("footer",{children:[Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowUp",text:"Prev Event",textSize:"xs"}),Me.jsx(Ei,{variant:"secondary",container:"fixed",size:"s",width:"50%",icon:"arrowDown",text:"Next Event",textSize:"xs"})]})]})]})]})},e$={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},t$=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:o})=>Me.jsx(Br,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:e$[r],children:o}),n$=({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:v=null,searchable:g=!0,disabled:p=!1,width:C="300px",height:b="m",id:y="",maxTagCount:h="responsive",suffixIcon:S=!0})=>Me.jsx(Yo,{id:y,disabled:p,showSearch:g,className:`multi_select_container ${o} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:C,"--c_trigger_highlight":s,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":m,"--c_border":`1px solid ${v}`},suffixIcon:S?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:h}),r$=({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,v]=R.useState(e),g=e!==void 0,p=g?e:m,C=b=>{g||v(b),o==null||o(b)};return Me.jsx(L4,{checked:p,onChange:C,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.0",
4
+ "version": "0.10.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"