@firecms/core 3.0.0-alpha.47 → 3.0.0-alpha.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -26,7 +26,7 @@
26
26
  height: 0;
27
27
  }
28
28
  }
29
- `),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:F(`CollapseContent-${i}`),children:e})})}function ko(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){nc(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function nc(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:nc(e.parentNode):!1}const cl=({ref:e})=>{const[t,c]=f.useState(!1),[i,a]=f.useState(!1);return f.useEffect(()=>{e.current&&(e.current.onfocus=()=>{c(!0),a(!0)},e.current.onblur=()=>{a(!1)})},[e]),{inputFocused:i,autoCompleteOpen:t,setAutoCompleteOpen:c}};function il({children:e,open:t,setOpen:c}){const i=f.useRef(null);return ko(i,()=>c(!1)),n.jsx(wo,{in:t,duration:50,className:F("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:F(t?je:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function al({children:e,onClick:t}){return n.jsx("div",{className:"flex w-full items-center pr-6 pl-14 h-[48px] cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800",onClick:t,children:e})}const ll=e=>{switch(e){case"error":return"bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900";case"warning":return"bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900";case"info":return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900";case"success":return"bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900";default:return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900"}},sl=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=ll(c);return n.jsxs("div",{style:l,className:F("px-4 py-2 rounded-md flex items-center gap-2",s,a),children:[n.jsx("span",{className:"flex-grow",children:e}),t&&n.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400",onClick:t,children:"×"}),i]})},dl=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:F("rounded-full flex items-center justify-center overflow-hidden",Ie,"p-1 hover:bg-gray-200 hover:dark:bg-gray-700",i),children:e?n.jsx("img",{className:"object-cover rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",src:e,alt:t}):n.jsx("span",{className:"py-1.5 text-lg font-medium text-gray-900 dark:text-white rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",children:c})}),fr=f.forwardRef(dl),Ar=f.forwardRef(function({value:t,allowIndeterminate:c,className:i,onValueChange:a,disabled:l=!1,size:s="medium",...d},u){return n.jsxs("button",{ref:u,tabIndex:l?-1:void 0,onClick:l?A=>A.preventDefault():A=>{A.preventDefault(),c?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},className:F(s==="small"?"w-[38px] h-[22px] min-w-[38px] min-h-[22px]":"w-[42px] h-[26px] min-w-[42px] min-h-[26px]","outline-none rounded-full relative shadow-sm",t?l?"bg-white bg-opacity-54 dark:bg-gray-950":"ring-secondary ring-1 bg-secondary dark:bg-secondary":"bg-white bg-opacity-54 dark:bg-gray-900 ring-1 ring-gray-100 dark:ring-gray-700",i),...d,children:[c&&t==null&&n.jsx("div",{className:F("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-400 dark:bg-gray-600":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[10px]":s==="medium","w-[19px] h-[8px]":s==="small","translate-x-[10px]":s==="medium","translate-x-[9px]":s==="small"})}),!(c&&t==null)&&n.jsx("div",{className:F("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-300 dark:bg-gray-700":t?"bg-white":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[21px]":s==="medium","w-[19px] h-[19px]":s==="small",[t?"translate-x-[19px]":"translate-x-[3px]"]:s==="medium",[t?"translate-x-[17px]":"translate-x-[2px]"]:s==="small"})})]})}),Dn=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:u,size:A,..._}){const h=f.useRef(null),g=f.useRef(null),[y,I]=f.useState(d),b=()=>I(!0),p=()=>I(!1);f.useEffect(()=>{},[]);const w=document.activeElement===g?.current||document.activeElement===h?.current;return n.jsxs("div",{ref:h,onFocus:b,onBlur:p,tabIndex:-1,className:F(!i&&Xe,!i&&(u?nn:Ye),u?"cursor-default":"cursor-pointer","rounded-md relative max-w-full justify-between w-full box-border relative inline-flex items-center",!i&&w&&!u?dr:"",l?"text-red-500 dark:text-red-600":w&&!u?"text-primary":u?"text-text-secondary dark:text-text-secondary-dark":"text-text-primary dark:text-text-primary-dark",A==="small"?"min-h-[40px]":"min-h-[64px]",A==="small"?"pl-2":"pl-4",A==="small"?"pr-4":"pr-6",c==="end"?"flex-row-reverse":"flex-row"),onClick:u?void 0:k=>{_.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(Ar,{value:t,ref:g,size:A,className:i&&w?dr:"",disabled:u,..._}),n.jsx("div",{className:F("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})};function ie({children:e,className:t,variant:c="filled",disabled:i=!1,size:a="medium",startIcon:l=null,fullWidth:s=!1,component:d,...u}){const A="rounded-md border uppercase inline-flex items-center justify-center p-2 px-4 text-sm font-medium focus:outline-none transition ease-in-out duration-150 gap-2",_=F({"w-full":s,"w-fit":!s,"border-transparent bg-primary hover:bg-blue-600 focus:ring-blue-400 !text-white shadow hover:ring-1 hover:ring-primary":c==="filled"&&!i,"border-primary !text-primary hover:bg-primary hover:bg-opacity-10 hover:border-blue-600 !hover:text-blue-600 focus:ring-blue-400 hover:ring-1 hover:ring-primary":c==="outlined"&&!i,"border-transparent !text-primary !hover:text-blue-600 hover:bg-primary hover:bg-opacity-10":c==="text"&&!i,"border-blue-600 border-opacity-50 dark:border-blue-500 dark:border-opacity-50 opacity-50 !text-blue-600 !dark:text-blue-500 text-opacity-50 dark:text-opacity-50":c==="outlined"&&i,"border-transparent outline-none opacity-50 !text-gray-600 !dark:text-gray-500":(c==="filled"||c==="text")&&i}),h=F({"py-1 px-2":a==="small","py-2 px-4":a==="medium","py-2 px-5":a==="large"});return d?n.jsxs(d,{onClick:u.onClick,className:F(Ie,l?"pl-3":"",A,_,h,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:F(Ie,l?"pl-3":"",A,_,h,t),disabled:i,...u,children:[l,e]})}function oc({children:e,style:t,onClick:c,className:i}){const a=f.useCallback(l=>{(l.key==="Enter"||l.key===" ")&&c?.()},[c]);return n.jsx("div",{onKeyPress:a,role:c?"button":void 0,tabIndex:c?0:void 0,onClick:c,className:F(Rt,c&&Ie,c&&ec,i),style:t,children:e})}const ul={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},fl=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?ul[i]:"";return n.jsx("div",{ref:a,className:F("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},yr=f.forwardRef(fl);function _r({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(yr,{className:F("m-auto",i),maxWidth:t,children:e})})}function Nn({size:e="medium",className:t}){let c="";e==="small"?c="w-4 h-4":e==="medium"?c="w-8 h-8 m-1":c="w-10 h-10 m-1";let i="";return e==="small"?i="border-[3px]":e==="medium"?i="border-4":i="border-[6px]",n.jsx("div",{className:F(c,i,"inline-block animate-spin rounded-full border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]","text-blue-600 dark:text-blue-400",t),role:"status",children:n.jsx("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})}const gr=["table_rows","video_label","airlines","bento","border_all","border_clear","ac_unit","adjust","align_horizontal_center","album","all_inclusive","all_out","animation","assistant","audiotrack","account_balance_wallet","auto_awesome_mosaic","bolt","brightness_1","breakfast_dining","broken_image","brightness_5","cable","calendar_view_month","catching_pokemon","casino","category","cloud","color_lens","credit_card","earbuds","egg_alt","fiber_smart_record","flag","healing","heat_pump","hive","hub","local_library","local_pizza","memory","outlet","pages","panorama_photosphere","signal_cellular_0_bar","sports_baseball","storm","stairs"],rc=["search","123","360","10k","10mp","11mp","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","20mp","21mp","22mp","23mp","24mp","2k","2k_plus","2mp","30fps","30fps_select","3d_rotation","3g_mobiledata","3k","3k_plus","3mp","3p","4g_mobiledata","4g_plus_mobiledata","4k","4k_plus","4mp","5g","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_circle","account_tree","ad_units","adb","add","add_a_photo","add_alarm","add_alert","add_box","add_business","add_card","add_chart","add_circle","add_circle_outline","add_comment","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_photo_alternate","add_reaction","add_road","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","adf_scanner","adjust","admin_panel_settings","ads_click","agriculture","air","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","alarm","alarm_add","alarm_off","alarm_on","album","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_out","alt_route","alternate_email","analytics","anchor","android","animation","announcement","aod","apartment","api","app_blocking","app_registration","app_settings_alt","app_shortcut","approval","apps","apps_outage","architecture","archive","area_chart","arrow_back","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_downward","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_left","arrow_outward","arrow_right","arrow_right_alt","arrow_upward","art_track","article","aspect_ratio","assessment","assignment","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_direction","assistant_photo","assured_workload","atm","attach_email","attach_file","attach_money","attachment","attractions","attribution","audio_file","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_stories","autofps_select","autorenew","av_timer","baby_changing_station","back_hand","backpack","backspace","backup","backup_table","badge","bakery_dining","balance","balcony","ballot","bar_chart","batch_prediction","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_2_bar","battery_3_bar","battery_4_bar","battery_5_bar","battery_6_bar","battery_alert","battery_charging_full","battery_full","battery_saver","battery_std","battery_unknown","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bike_scooter","biotech","blender","blind","blinds","blinds_closed","block","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_off","blur_on","bolt","book","book_online","bookmark","bookmark_add","bookmark_added","bookmark_border","bookmark_remove","bookmarks","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","boy","branding_watermark","breakfast_dining","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_auto","brightness_high","brightness_low","brightness_medium","broadcast_on_home","broadcast_on_personal","broken_image","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble_chart","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","cabin","cable","cached","cake","calculate","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_made","call_merge","call_missed","call_missed_outgoing","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","cameraswitch","campaign","cancel","cancel_presentation","cancel_schedule_send","candlestick_chart","car_crash","car_rental","car_repair","card_giftcard","card_membership","card_travel","carpenter","cases","casino","cast","cast_connected","cast_for_education","castle","catching_pokemon","category","celebration","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charging_station","chat","chat_bubble","chat_bubble_outline","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","checklist","checklist_rtl","checkroom","chevron_left","chevron_right","child_care","child_friendly","chrome_reader_mode","church","circle","circle_notifications","class","clean_hands","cleaning_services","clear","clear_all","close","close_fullscreen","closed_caption","closed_caption_disabled","closed_caption_off","cloud","cloud_circle","cloud_done","cloud_download","cloud_off","cloud_queue","cloud_sync","cloud_upload","co2","co_present","code","code_off","coffee","coffee_maker","collections","collections_bookmark","color_lens","colorize","comment","comment_bank","comments_disabled","commit","commute","compare","compare_arrows","compass_calibration","compost","compress","computer","confirmation_number","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contacts","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contrast","control_camera","control_point","control_point_duplicate","cookie","copy_all","copyright","coronavirus","corporate_fare","cottage","countertops","create","create_new_folder","credit_card","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","cruelty_free","css","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_yen","currency_yuan","curtains","curtains_closed","cyclone","dangerous","dark_mode","dashboard","dashboard_customize","data_array","data_exploration","data_object","data_saver_off","data_saver_on","data_thresholding","data_usage","dataset","dataset_linked","date_range","deblur","deck","dehaze","delete","delete_forever","delete_outline","delete_sweep","delivery_dining","density_large","density_medium","density_small","departure_board","description","deselect","design_services","desk","desktop_access_disabled","desktop_mac","desktop_windows","details","developer_board","developer_board_off","developer_mode","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_other","dialer_sip","dialpad","diamond","difference","dining","dinner_dining","directions","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","display_settings","diversity_1","diversity_2","diversity_3","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","document_scanner","domain","domain_add","domain_disabled","domain_verification","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_sliding","doorbell","double_arrow","downhill_skiing","download","download_done","download_for_offline","downloading","drafts","drag_handle","drag_indicator","draw","drive_eta","drive_file_move","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dry","dry_cleaning","duo","dvr","dynamic_feed","dynamic_form","e_mobiledata","earbuds","earbuds_battery","east","edgesensor_high","edgesensor_low","edit","edit_attributes","edit_calendar","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevator","email","emergency","emergency_recording","emergency_share","emoji_emotions","emoji_events","emoji_food_beverage","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","energy_savings_leaf","engineering","enhanced_encryption","equalizer","error","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_station","event","event_available","event_busy","event_note","event_repeat","event_seat","exit_to_app","expand","expand_circle_down","expand_less","expand_more","explicit","explore","explore_off","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","face","face_2","face_3","face_4","face_5","face_6","face_retouching_natural","face_retouching_off","fact_check","factory","family_restroom","fast_forward","fast_rewind","fastfood","favorite","favorite_border","fax","featured_play_list","featured_video","feed","feedback","female","fence","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_download","file_download_done","file_download_off","file_open","file_present","file_upload","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_off","filter_none","filter_tilt_shift","filter_vintage","find_in_page","find_replace","fingerprint","fire_extinguisher","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_screen","fitbit","fitness_center","flag","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flight","flight_class","flight_land","flight_takeoff","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","flood","fluorescent","flutter_dash","fmd_bad","fmd_good","folder","folder_copy","folder_delete","folder_off","folder_open","folder_shared","folder_special","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","forest","fork_left","fork_right","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_indent_decrease","format_indent_increase","format_italic","format_line_spacing","format_list_bulleted","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_quote","format_shapes","format_size","format_strikethrough","format_textdirection_l_to_r","format_textdirection_r_to_l","format_underlined","fort","forum","forward","forward_10","forward_30","forward_5","forward_to_inbox","foundation","free_breakfast","free_cancellation","front_hand","fullscreen","fullscreen_exit","functions","g_mobiledata","g_translate","gamepad","games","garage","gas_meter","gavel","generating_tokens","gesture","get_app","gif","gif_box","girl","gite","golf_course","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graphic_eq","grass","grid_3x3","grid_4x4","grid_goldenratio","grid_off","grid_on","grid_view","group","group_add","group_off","group_remove","group_work","groups","groups_2","groups_3","h_mobiledata","h_plus_mobiledata","hail","handshake","handyman","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_strong","hdr_weak","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_safety","hearing","hearing_disabled","heart_broken","heat_pump","height","help","help_center","help_outline","hevc","hexagon","hide_image","hide_source","high_quality","highlight","highlight_alt","highlight_off","hiking","history","history_edu","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_max","home_mini","home_repair_service","home_work","horizontal_distribute","horizontal_rule","horizontal_split","hot_tub","hotel","hotel_class","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_top","house","house_siding","houseboat","how_to_reg","how_to_vote","html","http","https","hub","hvac","ice_skating","icecream","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","import_contacts","import_export","important_devices","inbox","incomplete_circle","indeterminate_check_box","info","input","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insights","install_desktop","install_mobile","integration_instructions","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios_share","iron","iso","javascript","join_full","join_inner","join_left","join_right","kayaking","kebab_dining","key","key_off","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_hide","keyboard_option_key","keyboard_return","keyboard_tab","keyboard_voice","king_bed","kitchen","kitesurfing","label","label_important","label_off","lan","landscape","landslide","language","laptop","laptop_chromebook","laptop_mac","laptop_windows","last_page","launch","layers","layers_clear","leaderboard","leak_add","leak_remove","legend_toggle","lens","lens_blur","library_add","library_add_check","library_books","library_music","light","light_mode","lightbulb","lightbulb_circle","line_axis","line_style","line_weight","linear_scale","link","link_off","linked_camera","liquor","list","list_alt","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_city","location_disabled","location_off","location_on","location_searching","lock","lock_clock","lock_open","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_priority","loyalty","lte_mobiledata","lte_plus_mobiledata","luggage","lunch_dining","lyrics","macro_off","mail","mail_lock","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","map","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markunread","markunread_mailbox","masks","maximize","media_bluetooth_off","media_bluetooth_on","mediation","medical_information","medical_services","medication","medication_liquid","meeting_room","memory","menu","menu_book","menu_open","merge","merge_type","message","mic","mic_external_off","mic_external_on","mic_none","mic_off","microwave","military_tech","minimize","minor_crash","miscellaneous_services","missed_video_call","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_edit","mode_edit_outline","mode_fan_off","mode_night","mode_of_travel","mode_standby","model_training","monetization_on","money","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monochrome_photos","mood","mood_bad","moped","more","more_horiz","more_time","more_vert","mosque","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","mouse","move_down","move_to_inbox","move_up","movie","movie_creation","movie_filter","moving","mp","multiline_chart","multiple_stop","museum","music_note","music_off","music_video","my_location","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby_error","nearby_off","nest_cam_wired_stand","network_cell","network_check","network_locked","network_ping","network_wifi","network_wifi_1_bar","network_wifi_2_bar","network_wifi_3_bar","new_label","new_releases","newspaper","next_plan","next_week","nfc","night_shelter","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meeting_room","no_photography","no_sim","no_stroller","no_transfer","noise_aware","noise_control_off","nordic_walking","north","north_east","north_west","not_accessible","not_interested","not_listed_location","not_started","note","note_add","note_alt","notes","notification_add","notification_important","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","numbers","offline_bolt","offline_pin","offline_share","oil_barrel","on_device_training","ondemand_video","online_prediction","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_off","open_with","other_houses","outbound","outbox","outdoor_grill","outlet","outlined_flag","output","padding","pages","pageview","paid","palette","pan_tool","pan_tool_alt","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","party_mode","password","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_off","person_outline","person_pin","person_pin_circle","person_remove","person_remove_alt_1","person_search","personal_injury","personal_video","pest_control","pest_control_rodent","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_setup","photo","photo_album","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_library","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","pie_chart","pie_chart_outline","pin","pin_drop","pin_end","pin_invoke","pinch","pivot_table_chart","pix","place","plagiarism","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","point_of_sale","policy","poll","polyline","polymer","pool","portable_wifi_off","portrait","post_add","power","power_input","power_off","power_settings_new","precision_manufacturing","pregnant_woman","present_to_all","preview","price_change","price_check","print","print_disabled","priority_high","privacy_tip","private_connectivity","production_quantity_limits","propane","propane_tank","psychology","psychology_alt","public","public_off","publish","published_with_changes","punch_clock","push_pin","qr_code","qr_code_2","qr_code_scanner","query_builder","query_stats","question_answer","question_mark","queue","queue_music","queue_play_next","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_unchecked","railway_alert","ramen_dining","ramp_left","ramp_right","rate_review","raw_off","raw_on","read_more","real_estate_agent","receipt","receipt_long","recent_actors","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","remember_me","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_shopping_cart","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_tv","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","reviews","rice_bowl","ring_volume","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","rowing","rss_feed","rsvp","rtt","rule","rule_folder","run_circle","running_with_errors","rv_hookup","safety_check","safety_divider","sailing","sanitizer","satellite","satellite_alt","save","save_alt","save_as","saved_search","savings","scale","scanner","scatter_plot","schedule","schedule_send","schema","school","science","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_rotation","screen_rotation_alt","screen_search_desktop","screen_share","screenshot","screenshot_monitor","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","search","search_off","security","security_update","security_update_good","security_update_warning","segment","select_all","self_improvement","sell","send","send_and_archive","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_off","sentiment_dissatisfied","sentiment_neutral","sentiment_satisfied","sentiment_satisfied_alt","sentiment_very_dissatisfied","sentiment_very_satisfied","set_meal","settings","settings_accessibility","settings_applications","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_ethernet","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_overscan","settings_phone","settings_power","settings_remote","settings_suggest","settings_system_daydream","settings_voice","severe_cold","shape_line","share","share_location","shield","shield_moon","shop","shop_2","shop_two","shopping_bag","shopping_basket","shopping_cart","shopping_cart_checkout","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","sick","sign_language","signal_cellular_0_bar","signal_cellular_4_bar","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_wifi_0_bar","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_null","signpost","sim_card","sim_card_alert","sim_card_download","single_bed","sip","skateboarding","skip_next","skip_previous","sledding","slideshow","slow_motion_video","smart_button","smart_display","smart_screen","smart_toy","smartphone","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowmobile","snowshoeing","soap","social_distance","solar_power","sort","sort_by_alpha","sos","soup_kitchen","source","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","speed","spellcheck","splitscreen","spoke","sports","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","square","square_foot","ssid_chart","stacked_bar_chart","stacked_line_chart","stadium","stairs","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","stars","start","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","sticky_note_2","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","stream","streetview","strikethrough_s","stroller","style","subdirectory_arrow_left","subdirectory_arrow_right","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","superscript","supervised_user_circle","supervisor_account","support","support_agent","surfing","surround_sound","swap_calls","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","synagogue","sync","sync_alt","sync_disabled","sync_lock","sync_problem","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_unselected","table_bar","table_chart","table_restaurant","table_rows","table_view","tablet","tablet_android","tablet_mac","tag","tag_faces","takeout_dining","tap_and_play","tapas","task","task_alt","taxi_alert","temple_buddhist","temple_hindu","terminal","terrain","text_decrease","text_fields","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_snippet","textsms","texture","theater_comedy","theaters","thermostat","thermostat_auto","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbs_up_down","thunderstorm","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_select","timer_3","timer_3_select","timer_off","tips_and_updates","tire_repair","title","toc","today","toggle_off","toggle_on","token","toll","tonality","topic","tornado","touch_app","tour","toys","track_changes","traffic","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","translate","travel_explore","trending_down","trending_flat","trending_up","trip_origin","troubleshoot","try","tsunami","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_off","two_wheeler","type_specimen","u_turn_left","u_turn_right","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upload","upload_file","usb","usb_off","vaccines","vape_free","vaping_rooms","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_front","video_chat","video_file","video_label","video_library","video_settings","video_stable","videocam","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_array","view_carousel","view_column","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_kanban","view_list","view_module","view_quilt","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_off","voice_chat","voice_over_off","voicemail","volcano","volume_down","volume_mute","volume_off","volume_up","volunteer_activism","vpn_key","vpn_key_off","vpn_lock","vrpano","wallet","wallpaper","warehouse","warning","warning_amber","wash","watch","watch_later","watch_off","water","water_damage","water_drop","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twilight","wc","web","web_asset","web_asset_off","web_stories","webhook","weekend","west","whatshot","wheelchair_pickup","where_to_vote","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_calling","wifi_calling_3","wifi_channel","wifi_find","wifi_lock","wifi_off","wifi_password","wifi_protected_setup","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","wine_bar","woman","woman_2","work","work_history","work_off","work_outline","workspace_premium","workspaces","wrap_text","wrong_location","wysiwyg","yard","youtube_searched_for","zoom_in","zoom_in_map","zoom_out","zoom_out_map"],Al={inherit:"",primary:"text-primary",success:"text-green-500",warning:"text-yellow-500",secondary:"text-secondary",disabled:"text-disabled dark:text-disabled-dark",error:"text-red-500"};function r({iconKey:e,size:t="medium",color:c,className:i,onClick:a,style:l}){let s;switch(t){case"smallest":s=16;break;case"small":s=20;break;case"medium":s=24;break;case"large":s=28;break;default:s=t}return s||(s=24),n.jsx("span",{style:{fontSize:`${s}px`,display:"block",...l},className:F("material-icons",c?Al[c]:"","select-none",i),onClick:a,children:e})}function yl(e){return n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:e.className,fill:"currentColor",width:e.size??24,height:e.size??24,viewBox:"0 0 24 24",children:n.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function hr(e){return n.jsx(r,{...e,iconKey:"search"})}function _l(e){return n.jsx(r,{...e,iconKey:"123"})}function gl(e){return n.jsx(r,{...e,iconKey:"360"})}function hl(e){return n.jsx(r,{...e,iconKey:"10k"})}function Il(e){return n.jsx(r,{...e,iconKey:"10mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"13mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function ml(e){return n.jsx(r,{...e,iconKey:"15mp"})}function vl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function Sl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function El(e){return n.jsx(r,{...e,iconKey:"1k"})}function Fl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function Pl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Dl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Nl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Tl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Ml(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Ol(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Ll(e){return n.jsx(r,{...e,iconKey:"2k"})}function Ql(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Vl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Wl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Gl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function zl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Hl(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ul(e){return n.jsx(r,{...e,iconKey:"3k"})}function Yl(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function jl(e){return n.jsx(r,{...e,iconKey:"3mp"})}function $l(e){return n.jsx(r,{...e,iconKey:"3p"})}function ql(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Jl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Zl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Xl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function xl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Rl(e){return n.jsx(r,{...e,iconKey:"5g"})}function es(e){return n.jsx(r,{...e,iconKey:"5k"})}function ns(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function os(e){return n.jsx(r,{...e,iconKey:"5mp"})}function rs(e){return n.jsx(r,{...e,iconKey:"60fps"})}function ts(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function cs(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function is(e){return n.jsx(r,{...e,iconKey:"6k"})}function as(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function ls(e){return n.jsx(r,{...e,iconKey:"6mp"})}function ss(e){return n.jsx(r,{...e,iconKey:"7k"})}function ds(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function us(e){return n.jsx(r,{...e,iconKey:"7mp"})}function fs(e){return n.jsx(r,{...e,iconKey:"8k"})}function As(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function ys(e){return n.jsx(r,{...e,iconKey:"8mp"})}function _s(e){return n.jsx(r,{...e,iconKey:"9k"})}function gs(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function hs(e){return n.jsx(r,{...e,iconKey:"9mp"})}function Is(e){return n.jsx(r,{...e,iconKey:"abc"})}function bs(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function ps(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function ws(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function ks(e){return n.jsx(r,{...e,iconKey:"access_time"})}function ms(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function vs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function Cs(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function Ks(e){return n.jsx(r,{...e,iconKey:"accessible"})}function Ss(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function Bs(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function Es(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function Fs(e){return n.jsx(r,{...e,iconKey:"account_box"})}function Ps(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Ds(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Ns(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ts(e){return n.jsx(r,{...e,iconKey:"adb"})}function sn(e){return n.jsx(r,{...e,iconKey:"add"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_home"})}function js(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function tc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Rs(e){return n.jsx(r,{...e,iconKey:"add_road"})}function ed(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function nd(e){return n.jsx(r,{...e,iconKey:"add_task"})}function od(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function rd(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function td(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function cd(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function id(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function ad(e){return n.jsx(r,{...e,iconKey:"adjust"})}function ld(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function sd(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function dd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function ud(e){return n.jsx(r,{...e,iconKey:"air"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function yd(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function _d(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function gd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function hd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function Id(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function bd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function pd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function wd(e){return n.jsx(r,{...e,iconKey:"airlines"})}function kd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function md(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function vd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function Cd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function Kd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function Sd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function Bd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function Ed(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function Fd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function Pd(e){return n.jsx(r,{...e,iconKey:"album"})}function Dd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Nd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Td(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Md(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Od(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Ld(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Qd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Vd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Wd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Gd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function zd(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Hd(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Ud(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Yd(e){return n.jsx(r,{...e,iconKey:"android"})}function jd(e){return n.jsx(r,{...e,iconKey:"animation"})}function $d(e){return n.jsx(r,{...e,iconKey:"announcement"})}function qd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Zd(e){return n.jsx(r,{...e,iconKey:"api"})}function Xd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function xd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Rd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function eu(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function nu(e){return n.jsx(r,{...e,iconKey:"approval"})}function ou(e){return n.jsx(r,{...e,iconKey:"apps"})}function ru(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function tu(e){return n.jsx(r,{...e,iconKey:"architecture"})}function cu(e){return n.jsx(r,{...e,iconKey:"archive"})}function iu(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function yu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function Ir(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function gu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function cc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function hu(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function Iu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function bu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function pu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function wu(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function mo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function ku(e){return n.jsx(r,{...e,iconKey:"art_track"})}function mu(e){return n.jsx(r,{...e,iconKey:"article"})}function vu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function ic(e){return n.jsx(r,{...e,iconKey:"assignment"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function Su(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function Eu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function Fu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function Pu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Du(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Nu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Tu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Mu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Ou(e){return n.jsx(r,{...e,iconKey:"atm"})}function Lu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Qu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Vu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Wu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Gu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function zu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Hu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Uu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function qu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Ju(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Xu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function xu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Ru(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function ef(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function nf(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function of(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function rf(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function tf(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function cf(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function af(e){return n.jsx(r,{...e,iconKey:"backpack"})}function lf(e){return n.jsx(r,{...e,iconKey:"backspace"})}function sf(e){return n.jsx(r,{...e,iconKey:"backup"})}function df(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function uf(e){return n.jsx(r,{...e,iconKey:"badge"})}function ff(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function Af(e){return n.jsx(r,{...e,iconKey:"balance"})}function yf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function br(e){return n.jsx(r,{...e,iconKey:"ballot"})}function _f(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function gf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function hf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function If(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function Cf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function Kf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function Sf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function Bf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function Ef(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function Ff(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function Pf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Df(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Mf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Of(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Lf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Qf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Vf(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function zf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Hf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Uf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Yf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function jf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function $f(e){return n.jsx(r,{...e,iconKey:"block"})}function qf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Jf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function eA(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function nA(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function oA(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function rA(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function tA(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function cA(e){return n.jsx(r,{...e,iconKey:"bolt"})}function iA(e){return n.jsx(r,{...e,iconKey:"book"})}function aA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function lA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function sA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function dA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function uA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function fA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function AA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function bA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function pA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function wA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function kA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function mA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function vA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function CA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function KA(e){return n.jsx(r,{...e,iconKey:"boy"})}function SA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function BA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function NA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function TA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function MA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function OA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function LA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function QA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function VA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function WA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function GA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function zA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function HA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function UA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function YA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function jA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function $A(e){return n.jsx(r,{...e,iconKey:"brush"})}function qA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function JA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function ZA(e){return n.jsx(r,{...e,iconKey:"build"})}function XA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function xA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function RA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function ey(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function ny(e){return n.jsx(r,{...e,iconKey:"business"})}function oy(e){return n.jsx(r,{...e,iconKey:"business_center"})}function ry(e){return n.jsx(r,{...e,iconKey:"cabin"})}function ty(e){return n.jsx(r,{...e,iconKey:"cable"})}function cy(e){return n.jsx(r,{...e,iconKey:"cached"})}function iy(e){return n.jsx(r,{...e,iconKey:"cake"})}function ay(e){return n.jsx(r,{...e,iconKey:"calculate"})}function ac(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function ly(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function sy(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function dy(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function uy(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function fy(e){return n.jsx(r,{...e,iconKey:"call"})}function Ay(e){return n.jsx(r,{...e,iconKey:"call_end"})}function yy(e){return n.jsx(r,{...e,iconKey:"call_made"})}function _y(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function gy(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function hy(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function Iy(e){return n.jsx(r,{...e,iconKey:"call_received"})}function by(e){return n.jsx(r,{...e,iconKey:"call_split"})}function py(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function wy(e){return n.jsx(r,{...e,iconKey:"camera"})}function ky(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function my(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function vy(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function Cy(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function Ky(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function Sy(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function By(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function Fy(e){return n.jsx(r,{...e,iconKey:"campaign"})}function Py(e){return n.jsx(r,{...e,iconKey:"cancel"})}function Dy(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function Ny(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function Ty(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function My(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function Oy(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function Ly(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function Qy(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function Vy(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function Wy(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function Gy(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function zy(e){return n.jsx(r,{...e,iconKey:"cases"})}function Hy(e){return n.jsx(r,{...e,iconKey:"casino"})}function Uy(e){return n.jsx(r,{...e,iconKey:"cast"})}function Yy(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function jy(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function $y(e){return n.jsx(r,{...e,iconKey:"castle"})}function qy(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function Jy(e){return n.jsx(r,{...e,iconKey:"category"})}function Zy(e){return n.jsx(r,{...e,iconKey:"celebration"})}function Xy(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function xy(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function Ry(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function e_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function n_(e){return n.jsx(r,{...e,iconKey:"chair"})}function o_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function r_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function t_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function c_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function i_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function a_(e){return n.jsx(r,{...e,iconKey:"chat"})}function l_(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function s_(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function lc(e){return n.jsx(r,{...e,iconKey:"check"})}function d_(e){return n.jsx(r,{...e,iconKey:"check_box"})}function u_(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function f_(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function A_(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function y_(e){return n.jsx(r,{...e,iconKey:"checklist"})}function __(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function g_(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function sc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function h_(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function I_(e){return n.jsx(r,{...e,iconKey:"child_care"})}function b_(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function p_(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function w_(e){return n.jsx(r,{...e,iconKey:"church"})}function pr(e){return n.jsx(r,{...e,iconKey:"circle"})}function k_(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function m_(e){return n.jsx(r,{...e,iconKey:"class"})}function v_(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function C_(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function dn(e){return n.jsx(r,{...e,iconKey:"clear"})}function K_(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function wr(e){return n.jsx(r,{...e,iconKey:"close"})}function S_(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function B_(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function E_(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function F_(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function P_(e){return n.jsx(r,{...e,iconKey:"cloud"})}function D_(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function N_(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function T_(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function M_(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function O_(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function L_(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Q_(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function V_(e){return n.jsx(r,{...e,iconKey:"co2"})}function W_(e){return n.jsx(r,{...e,iconKey:"co_present"})}function G_(e){return n.jsx(r,{...e,iconKey:"code"})}function z_(e){return n.jsx(r,{...e,iconKey:"code_off"})}function H_(e){return n.jsx(r,{...e,iconKey:"coffee"})}function U_(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Y_(e){return n.jsx(r,{...e,iconKey:"collections"})}function j_(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function $_(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function q_(e){return n.jsx(r,{...e,iconKey:"colorize"})}function J_(e){return n.jsx(r,{...e,iconKey:"comment"})}function Z_(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function X_(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function x_(e){return n.jsx(r,{...e,iconKey:"commit"})}function R_(e){return n.jsx(r,{...e,iconKey:"commute"})}function eg(e){return n.jsx(r,{...e,iconKey:"compare"})}function ng(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function og(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function rg(e){return n.jsx(r,{...e,iconKey:"compost"})}function tg(e){return n.jsx(r,{...e,iconKey:"compress"})}function cg(e){return n.jsx(r,{...e,iconKey:"computer"})}function ig(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function ag(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function lg(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function sg(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function dg(e){return n.jsx(r,{...e,iconKey:"construction"})}function ug(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function fg(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function Ag(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function yg(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function _g(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function gg(e){return n.jsx(r,{...e,iconKey:"contactless"})}function hg(e){return n.jsx(r,{...e,iconKey:"contacts"})}function xn(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function Ig(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function bg(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function pg(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function wg(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function kg(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function mg(e){return n.jsx(r,{...e,iconKey:"contrast"})}function vg(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function Cg(e){return n.jsx(r,{...e,iconKey:"control_point"})}function Kg(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function Sg(e){return n.jsx(r,{...e,iconKey:"cookie"})}function Bg(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function Eg(e){return n.jsx(r,{...e,iconKey:"copyright"})}function Fg(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function Pg(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function Dg(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Ng(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Tg(e){return n.jsx(r,{...e,iconKey:"create"})}function Mg(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Og(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Lg(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Qg(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Vg(e){return n.jsx(r,{...e,iconKey:"crib"})}function Wg(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Gg(e){return n.jsx(r,{...e,iconKey:"crop"})}function zg(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Hg(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Ug(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Yg(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function jg(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function $g(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function qg(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Jg(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Zg(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Xg(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function xg(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function Rg(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function eh(e){return n.jsx(r,{...e,iconKey:"css"})}function nh(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function oh(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function rh(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function th(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function ch(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function ih(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function ah(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function lh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function sh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function dh(e){return n.jsx(r,{...e,iconKey:"curtains"})}function uh(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function fh(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function Ah(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function dc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function yh(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function _h(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function gh(e){return n.jsx(r,{...e,iconKey:"data_array"})}function hh(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function Ih(e){return n.jsx(r,{...e,iconKey:"data_object"})}function bh(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function ph(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function wh(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function kh(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function mh(e){return n.jsx(r,{...e,iconKey:"dataset"})}function vh(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function Ch(e){return n.jsx(r,{...e,iconKey:"date_range"})}function Kh(e){return n.jsx(r,{...e,iconKey:"deblur"})}function Sh(e){return n.jsx(r,{...e,iconKey:"deck"})}function Bh(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function vo(e){return n.jsx(r,{...e,iconKey:"delete"})}function Eh(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function Fh(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function Ph(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Dh(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Nh(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Th(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Mh(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Oh(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function uc(e){return n.jsx(r,{...e,iconKey:"description"})}function Lh(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Qh(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Vh(e){return n.jsx(r,{...e,iconKey:"desk"})}function Wh(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Gh(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function zh(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Hh(e){return n.jsx(r,{...e,iconKey:"details"})}function Uh(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Yh(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function jh(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function $h(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function qh(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Jh(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Zh(e){return n.jsx(r,{...e,iconKey:"devices"})}function Xh(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function xh(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Rh(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function eI(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function nI(e){return n.jsx(r,{...e,iconKey:"diamond"})}function oI(e){return n.jsx(r,{...e,iconKey:"difference"})}function rI(e){return n.jsx(r,{...e,iconKey:"dining"})}function tI(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function yI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function gI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function hI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function II(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function bI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function pI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function wI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function kI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function mI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function vI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function CI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function KI(e){return n.jsx(r,{...e,iconKey:"discount"})}function SI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function BI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function EI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function FI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function PI(e){return n.jsx(r,{...e,iconKey:"dns"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function OI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function LI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function QI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function VI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function WI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function GI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function zI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function HI(e){return n.jsx(r,{...e,iconKey:"dock"})}function UI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function YI(e){return n.jsx(r,{...e,iconKey:"domain"})}function jI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function $I(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function qI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function JI(e){return n.jsx(r,{...e,iconKey:"done"})}function ZI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function XI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function xI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function RI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function eb(e){return n.jsx(r,{...e,iconKey:"door_back"})}function nb(e){return n.jsx(r,{...e,iconKey:"door_front"})}function ob(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function rb(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function tb(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function cb(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function ib(e){return n.jsx(r,{...e,iconKey:"download"})}function ab(e){return n.jsx(r,{...e,iconKey:"download_done"})}function lb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function sb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function db(e){return n.jsx(r,{...e,iconKey:"drafts"})}function ub(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function fb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function Ab(e){return n.jsx(r,{...e,iconKey:"draw"})}function yb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function _b(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function gb(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function hb(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function fc(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function Ib(e){return n.jsx(r,{...e,iconKey:"dry"})}function bb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function pb(e){return n.jsx(r,{...e,iconKey:"duo"})}function wb(e){return n.jsx(r,{...e,iconKey:"dvr"})}function kb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function mb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function vb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function Cb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function Kb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function Sb(e){return n.jsx(r,{...e,iconKey:"east"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function Ac(e){return n.jsx(r,{...e,iconKey:"edit"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function Pb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Db(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Nb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Tb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Mb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Ob(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Lb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Qb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Vb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Wb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Gb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function zb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Ub(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Yb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function jb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function $b(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function qb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Jb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Zb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Xb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function yc(e){return n.jsx(r,{...e,iconKey:"email"})}function xb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function ep(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function op(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function rp(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function tp(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function cp(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function ip(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function ap(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function lp(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function sp(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function dp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function up(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function fp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function kr(e){return n.jsx(r,{...e,iconKey:"error"})}function _c(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function Ap(e){return n.jsx(r,{...e,iconKey:"escalator"})}function yp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function _p(e){return n.jsx(r,{...e,iconKey:"euro"})}function gp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function hp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function Ip(e){return n.jsx(r,{...e,iconKey:"event"})}function bp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function pp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function wp(e){return n.jsx(r,{...e,iconKey:"event_note"})}function kp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function mp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function vp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function Cp(e){return n.jsx(r,{...e,iconKey:"expand"})}function Kp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function Sp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Co(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function Bp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function Ep(e){return n.jsx(r,{...e,iconKey:"explore"})}function Fp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function Pp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Dp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Np(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Tp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Mp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Op(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Lp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Qp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face"})}function Wp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Gp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function zp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Hp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Up(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Yp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function jp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function $p(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function qp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Jp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Zp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Xp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function xp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Rp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function ew(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function nw(e){return n.jsx(r,{...e,iconKey:"fax"})}function ow(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function rw(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function tw(e){return n.jsx(r,{...e,iconKey:"feed"})}function cw(e){return n.jsx(r,{...e,iconKey:"feedback"})}function iw(e){return n.jsx(r,{...e,iconKey:"female"})}function aw(e){return n.jsx(r,{...e,iconKey:"fence"})}function lw(e){return n.jsx(r,{...e,iconKey:"festival"})}function sw(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function dw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function uw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function fw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function Aw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function gc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function yw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function _w(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function gw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function hw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function Iw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function bw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Tw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Mw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Ow(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Lw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function hc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function Ic(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Qw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Vw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Ww(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Gw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function zw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Yw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function jw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function $w(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function qw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Jw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Zw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Xw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function bc(e){return n.jsx(r,{...e,iconKey:"flag"})}function xw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function ek(e){return n.jsx(r,{...e,iconKey:"flare"})}function nk(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function ok(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function rk(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function tk(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function ck(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function ik(e){return n.jsx(r,{...e,iconKey:"flatware"})}function ak(e){return n.jsx(r,{...e,iconKey:"flight"})}function lk(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function sk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function dk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function uk(e){return n.jsx(r,{...e,iconKey:"flip"})}function fk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function Ak(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function yk(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function _k(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function gk(e){return n.jsx(r,{...e,iconKey:"flood"})}function hk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function Ik(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function bk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function pk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder"})}function kk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function mk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function vk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function Ck(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function Kk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function Sk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function Bk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function Ek(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function Fk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function Pk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Dk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Nk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Tk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Mk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function mr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function xk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function pc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Rk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function em(e){return n.jsx(r,{...e,iconKey:"format_size"})}function nm(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function om(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function rm(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function tm(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function cm(e){return n.jsx(r,{...e,iconKey:"fort"})}function im(e){return n.jsx(r,{...e,iconKey:"forum"})}function am(e){return n.jsx(r,{...e,iconKey:"forward"})}function lm(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function sm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function dm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function um(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function fm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function Am(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function ym(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function _m(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function gm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function hm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function wc(e){return n.jsx(r,{...e,iconKey:"functions"})}function Im(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function bm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function pm(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function wm(e){return n.jsx(r,{...e,iconKey:"games"})}function km(e){return n.jsx(r,{...e,iconKey:"garage"})}function mm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function vm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function Cm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function Km(e){return n.jsx(r,{...e,iconKey:"gesture"})}function Sm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gif"})}function Em(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function Fm(e){return n.jsx(r,{...e,iconKey:"girl"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gite"})}function Dm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Nm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Tm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Mm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Om(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Lm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Qm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Wm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grading"})}function zm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Hm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Um(e){return n.jsx(r,{...e,iconKey:"grass"})}function Ym(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function jm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function $m(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function qm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Jm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Zm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Xm(e){return n.jsx(r,{...e,iconKey:"group"})}function xm(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Rm(e){return n.jsx(r,{...e,iconKey:"group_off"})}function ev(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function nv(e){return n.jsx(r,{...e,iconKey:"group_work"})}function ov(e){return n.jsx(r,{...e,iconKey:"groups"})}function rv(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function tv(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function cv(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function iv(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function av(e){return n.jsx(r,{...e,iconKey:"hail"})}function lv(e){return n.jsx(r,{...e,iconKey:"handshake"})}function sv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function dv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function uv(e){return n.jsx(r,{...e,iconKey:"hd"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function yv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function gv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function hv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function Iv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function bv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function pv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function wv(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function kv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function mv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function vv(e){return n.jsx(r,{...e,iconKey:"headset"})}function Cv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function Kv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function Sv(e){return n.jsx(r,{...e,iconKey:"healing"})}function Bv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hearing"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function Pv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Dv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Nv(e){return n.jsx(r,{...e,iconKey:"height"})}function Tv(e){return n.jsx(r,{...e,iconKey:"help"})}function Mv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Ov(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Lv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Qv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Vv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Wv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Gv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function zv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Hv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Uv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Yv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function jv(e){return n.jsx(r,{...e,iconKey:"history"})}function $v(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function qv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Jv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Zv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Xv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function xv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Rv(e){return n.jsx(r,{...e,iconKey:"home"})}function e0(e){return n.jsx(r,{...e,iconKey:"home_max"})}function n0(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function o0(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function r0(e){return n.jsx(r,{...e,iconKey:"home_work"})}function t0(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function c0(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function i0(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function a0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function l0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function s0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function d0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function u0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function f0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function A0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function y0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function _0(e){return n.jsx(r,{...e,iconKey:"house"})}function g0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function h0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function I0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function b0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function p0(e){return n.jsx(r,{...e,iconKey:"html"})}function kc(e){return n.jsx(r,{...e,iconKey:"http"})}function w0(e){return n.jsx(r,{...e,iconKey:"https"})}function k0(e){return n.jsx(r,{...e,iconKey:"hub"})}function m0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function v0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function C0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function K0(e){return n.jsx(r,{...e,iconKey:"image"})}function S0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function B0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function E0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function F0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function P0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function D0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function N0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function T0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function M0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function O0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function mc(e){return n.jsx(r,{...e,iconKey:"info"})}function L0(e){return n.jsx(r,{...e,iconKey:"input"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function W0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function G0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function z0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function H0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function U0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function Y0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function j0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function $0(e){return n.jsx(r,{...e,iconKey:"insights"})}function q0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function J0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function Z0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function X0(e){return n.jsx(r,{...e,iconKey:"interests"})}function x0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function R0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function eC(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function nC(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function oC(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function rC(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function tC(e){return n.jsx(r,{...e,iconKey:"iron"})}function cC(e){return n.jsx(r,{...e,iconKey:"iso"})}function iC(e){return n.jsx(r,{...e,iconKey:"javascript"})}function aC(e){return n.jsx(r,{...e,iconKey:"join_full"})}function lC(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function sC(e){return n.jsx(r,{...e,iconKey:"join_left"})}function dC(e){return n.jsx(r,{...e,iconKey:"join_right"})}function uC(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function fC(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function AC(e){return n.jsx(r,{...e,iconKey:"key"})}function yC(e){return n.jsx(r,{...e,iconKey:"key_off"})}function _C(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function gC(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function hC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function IC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function bC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function pC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function wC(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function kC(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function mC(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function vC(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function CC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function KC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function SC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function BC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function EC(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function FC(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function PC(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Ko(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function DC(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function NC(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function TC(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function MC(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function OC(e){return n.jsx(r,{...e,iconKey:"label"})}function LC(e){return n.jsx(r,{...e,iconKey:"label_important"})}function QC(e){return n.jsx(r,{...e,iconKey:"label_off"})}function VC(e){return n.jsx(r,{...e,iconKey:"lan"})}function WC(e){return n.jsx(r,{...e,iconKey:"landscape"})}function GC(e){return n.jsx(r,{...e,iconKey:"landslide"})}function zC(e){return n.jsx(r,{...e,iconKey:"language"})}function HC(e){return n.jsx(r,{...e,iconKey:"laptop"})}function UC(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function YC(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function jC(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function $C(e){return n.jsx(r,{...e,iconKey:"last_page"})}function qC(e){return n.jsx(r,{...e,iconKey:"launch"})}function JC(e){return n.jsx(r,{...e,iconKey:"layers"})}function ZC(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function XC(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function xC(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function RC(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function eK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function nK(e){return n.jsx(r,{...e,iconKey:"lens"})}function oK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function rK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function tK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function cK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function iK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function aK(e){return n.jsx(r,{...e,iconKey:"light"})}function vc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function lK(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function sK(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function dK(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function uK(e){return n.jsx(r,{...e,iconKey:"line_style"})}function fK(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function AK(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Cc(e){return n.jsx(r,{...e,iconKey:"link"})}function yK(e){return n.jsx(r,{...e,iconKey:"link_off"})}function _K(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function gK(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Kc(e){return n.jsx(r,{...e,iconKey:"list"})}function Sc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function hK(e){return n.jsx(r,{...e,iconKey:"live_help"})}function IK(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function bK(e){return n.jsx(r,{...e,iconKey:"living"})}function pK(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function wK(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function kK(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function mK(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function vK(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function CK(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function KK(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function SK(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function BK(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function EK(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function FK(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function PK(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function DK(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function NK(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function TK(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function MK(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function OK(e){return n.jsx(r,{...e,iconKey:"local_library"})}function LK(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function QK(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function VK(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function WK(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function GK(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function zK(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function HK(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function UK(e){return n.jsx(r,{...e,iconKey:"local_play"})}function YK(e){return n.jsx(r,{...e,iconKey:"local_police"})}function jK(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function $K(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function qK(e){return n.jsx(r,{...e,iconKey:"local_see"})}function JK(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function ZK(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function XK(e){return n.jsx(r,{...e,iconKey:"location_city"})}function xK(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function RK(e){return n.jsx(r,{...e,iconKey:"location_off"})}function eS(e){return n.jsx(r,{...e,iconKey:"location_on"})}function nS(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function oS(e){return n.jsx(r,{...e,iconKey:"lock"})}function rS(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function tS(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function cS(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function iS(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function aS(e){return n.jsx(r,{...e,iconKey:"login"})}function lS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Bc(e){return n.jsx(r,{...e,iconKey:"logout"})}function sS(e){return n.jsx(r,{...e,iconKey:"looks"})}function dS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function uS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function fS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function AS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function yS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function _S(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function gS(e){return n.jsx(r,{...e,iconKey:"loop"})}function hS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function IS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function bS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function pS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function wS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function kS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function mS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function vS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function CS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function KS(e){return n.jsx(r,{...e,iconKey:"mail"})}function SS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function BS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function ES(e){return n.jsx(r,{...e,iconKey:"male"})}function FS(e){return n.jsx(r,{...e,iconKey:"man"})}function PS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function DS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function NS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function TS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function MS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function OS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function LS(e){return n.jsx(r,{...e,iconKey:"map"})}function QS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function VS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function WS(e){return n.jsx(r,{...e,iconKey:"margin"})}function GS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function zS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function HS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function US(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function YS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function jS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function $S(e){return n.jsx(r,{...e,iconKey:"markunread"})}function qS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function JS(e){return n.jsx(r,{...e,iconKey:"masks"})}function ZS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function XS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function xS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function RS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function eB(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function nB(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function oB(e){return n.jsx(r,{...e,iconKey:"medication"})}function rB(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function tB(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function cB(e){return n.jsx(r,{...e,iconKey:"memory"})}function vr(e){return n.jsx(r,{...e,iconKey:"menu"})}function iB(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function aB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function lB(e){return n.jsx(r,{...e,iconKey:"merge"})}function sB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function dB(e){return n.jsx(r,{...e,iconKey:"message"})}function uB(e){return n.jsx(r,{...e,iconKey:"mic"})}function fB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function AB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function yB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function _B(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function gB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function hB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function IB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function bB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function pB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function wB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function kB(e){return n.jsx(r,{...e,iconKey:"mms"})}function mB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function vB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function CB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function KB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode"})}function BB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function EB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function FB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function PB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function DB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function NB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function TB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function MB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function OB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function LB(e){return n.jsx(r,{...e,iconKey:"money"})}function QB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function VB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function WB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function GB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function zB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function HB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function UB(e){return n.jsx(r,{...e,iconKey:"mood"})}function YB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function jB(e){return n.jsx(r,{...e,iconKey:"moped"})}function $B(e){return n.jsx(r,{...e,iconKey:"more"})}function qB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function JB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function Cr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function ZB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function XB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function xB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function RB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function eE(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function nE(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function oE(e){return n.jsx(r,{...e,iconKey:"mouse"})}function rE(e){return n.jsx(r,{...e,iconKey:"move_down"})}function tE(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function cE(e){return n.jsx(r,{...e,iconKey:"move_up"})}function iE(e){return n.jsx(r,{...e,iconKey:"movie"})}function aE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function lE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function sE(e){return n.jsx(r,{...e,iconKey:"moving"})}function dE(e){return n.jsx(r,{...e,iconKey:"mp"})}function uE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function fE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function AE(e){return n.jsx(r,{...e,iconKey:"museum"})}function yE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function _E(e){return n.jsx(r,{...e,iconKey:"music_off"})}function gE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function hE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function IE(e){return n.jsx(r,{...e,iconKey:"nat"})}function bE(e){return n.jsx(r,{...e,iconKey:"nature"})}function pE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function wE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function kE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function mE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function vE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function CE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function KE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function SE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function BE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function FE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function PE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function DE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function NE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function TE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function ME(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function OE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function LE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function QE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function VE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function WE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function GE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function zE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function HE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function UE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function YE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function jE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function $E(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_food"})}function tF(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function cF(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function iF(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function aF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function lF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function sF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function dF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function uF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function fF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function AF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function yF(e){return n.jsx(r,{...e,iconKey:"north"})}function _F(e){return n.jsx(r,{...e,iconKey:"north_east"})}function gF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function hF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function IF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function bF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function pF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function wF(e){return n.jsx(r,{...e,iconKey:"note"})}function kF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function mF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function vF(e){return n.jsx(r,{...e,iconKey:"notes"})}function CF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function KF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function SF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function BF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function EF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function FF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function PF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Ec(e){return n.jsx(r,{...e,iconKey:"numbers"})}function DF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function NF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function TF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function MF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function OF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function LF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function QF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function VF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function WF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function GF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function Rn(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function zF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function HF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function UF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function YF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function jF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function $F(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function qF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function JF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function ZF(e){return n.jsx(r,{...e,iconKey:"output"})}function XF(e){return n.jsx(r,{...e,iconKey:"padding"})}function xF(e){return n.jsx(r,{...e,iconKey:"pages"})}function RF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function eP(e){return n.jsx(r,{...e,iconKey:"paid"})}function nP(e){return n.jsx(r,{...e,iconKey:"palette"})}function oP(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function rP(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function aP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function lP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function sP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function dP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function uP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function fP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function AP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function yP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function _P(e){return n.jsx(r,{...e,iconKey:"park"})}function gP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function hP(e){return n.jsx(r,{...e,iconKey:"password"})}function IP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function bP(e){return n.jsx(r,{...e,iconKey:"pause"})}function pP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function wP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function kP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function mP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function vP(e){return n.jsx(r,{...e,iconKey:"payment"})}function CP(e){return n.jsx(r,{...e,iconKey:"payments"})}function KP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function SP(e){return n.jsx(r,{...e,iconKey:"pending"})}function BP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function EP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function FP(e){return n.jsx(r,{...e,iconKey:"people"})}function PP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function DP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function NP(e){return n.jsx(r,{...e,iconKey:"percent"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function MP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function OP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function LP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function QP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function VP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function WP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function GP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function zP(e){return n.jsx(r,{...e,iconKey:"person"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function ZP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function XP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function xP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function RP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function e1(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function n1(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function o1(e){return n.jsx(r,{...e,iconKey:"person_search"})}function r1(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function t1(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function c1(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function i1(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function a1(e){return n.jsx(r,{...e,iconKey:"pets"})}function l1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function A1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function y1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function _1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function g1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function h1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function I1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function b1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function p1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function w1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function k1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function m1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function v1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function C1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function E1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function F1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function P1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function D1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function N1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function T1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function M1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function O1(e){return n.jsx(r,{...e,iconKey:"php"})}function L1(e){return n.jsx(r,{...e,iconKey:"piano"})}function Q1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function V1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function W1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function G1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function z1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function H1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function U1(e){return n.jsx(r,{...e,iconKey:"pin"})}function Y1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function j1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function $1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function q1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function J1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function Z1(e){return n.jsx(r,{...e,iconKey:"pix"})}function X1(e){return n.jsx(r,{...e,iconKey:"place"})}function x1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function R1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function eD(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function oD(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function rD(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function tD(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function cD(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function iD(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function aD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function lD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function sD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function dD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function uD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function fD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function AD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function yD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function _D(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function gD(e){return n.jsx(r,{...e,iconKey:"policy"})}function hD(e){return n.jsx(r,{...e,iconKey:"poll"})}function ID(e){return n.jsx(r,{...e,iconKey:"polyline"})}function bD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function pD(e){return n.jsx(r,{...e,iconKey:"pool"})}function wD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function kD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function mD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function vD(e){return n.jsx(r,{...e,iconKey:"power"})}function CD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function KD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function SD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function BD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function ED(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function FD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function PD(e){return n.jsx(r,{...e,iconKey:"preview"})}function DD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function ND(e){return n.jsx(r,{...e,iconKey:"price_check"})}function TD(e){return n.jsx(r,{...e,iconKey:"print"})}function MD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function OD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function LD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function QD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function VD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function WD(e){return n.jsx(r,{...e,iconKey:"propane"})}function GD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function zD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function HD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function UD(e){return n.jsx(r,{...e,iconKey:"public"})}function YD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function jD(e){return n.jsx(r,{...e,iconKey:"publish"})}function $D(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function qD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function JD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function ZD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function XD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function xD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function RD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function eN(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function nN(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function oN(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function rN(e){return n.jsx(r,{...e,iconKey:"queue"})}function tN(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function cN(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function iN(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function aN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function lN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function sN(e){return n.jsx(r,{...e,iconKey:"radar"})}function dN(e){return n.jsx(r,{...e,iconKey:"radio"})}function uN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function fN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function AN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function yN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function _N(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function gN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function hN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function IN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function bN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function pN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function wN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function kN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function mN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function vN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function CN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function KN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function SN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function BN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function EN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function FN(e){return n.jsx(r,{...e,iconKey:"redo"})}function PN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function DN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function NN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function eo(e){return n.jsx(r,{...e,iconKey:"remove"})}function Fc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function TN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function MN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function ON(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function LN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function QN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function VN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function WN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function GN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function zN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function Kr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function HN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function UN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function YN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function jN(e){return n.jsx(r,{...e,iconKey:"replay"})}function $N(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function qN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function JN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function ZN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function XN(e){return n.jsx(r,{...e,iconKey:"reply"})}function xN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function RN(e){return n.jsx(r,{...e,iconKey:"report"})}function eT(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function nT(e){return n.jsx(r,{...e,iconKey:"report_off"})}function oT(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function rT(e){return n.jsx(r,{...e,iconKey:"request_page"})}function tT(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function cT(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function iT(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function aT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function lT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function sT(e){return n.jsx(r,{...e,iconKey:"restore"})}function dT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function uT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function fT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function AT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function yT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function _T(e){return n.jsx(r,{...e,iconKey:"rocket"})}function gT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function hT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function IT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function bT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function pT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function wT(e){return n.jsx(r,{...e,iconKey:"room"})}function kT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function mT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function vT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function CT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function KT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function ST(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function BT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function ET(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function FT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function PT(e){return n.jsx(r,{...e,iconKey:"route"})}function DT(e){return n.jsx(r,{...e,iconKey:"router"})}function NT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function TT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function MT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function OT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function LT(e){return n.jsx(r,{...e,iconKey:"rule"})}function QT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function VT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function WT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function GT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function zT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function HT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function UT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function YT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function jT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function $T(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function qT(e){return n.jsx(r,{...e,iconKey:"save"})}function JT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function ZT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function XT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function xT(e){return n.jsx(r,{...e,iconKey:"savings"})}function RT(e){return n.jsx(r,{...e,iconKey:"scale"})}function eM(e){return n.jsx(r,{...e,iconKey:"scanner"})}function nM(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Pc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function oM(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function rM(e){return n.jsx(r,{...e,iconKey:"schema"})}function tM(e){return n.jsx(r,{...e,iconKey:"school"})}function cM(e){return n.jsx(r,{...e,iconKey:"science"})}function iM(e){return n.jsx(r,{...e,iconKey:"score"})}function aM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function lM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function sM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function dM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function uM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function fM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function AM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function yM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function _M(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function gM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function hM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function IM(e){return n.jsx(r,{...e,iconKey:"sd"})}function bM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function pM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function wM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function kM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function mM(e){return n.jsx(r,{...e,iconKey:"security"})}function vM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function CM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function KM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function SM(e){return n.jsx(r,{...e,iconKey:"segment"})}function BM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function EM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function FM(e){return n.jsx(r,{...e,iconKey:"sell"})}function PM(e){return n.jsx(r,{...e,iconKey:"send"})}function DM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function NM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function TM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function MM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function OM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function QM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function VM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function WM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function GM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function zM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function HM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function UM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function YM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function jM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function i2(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function a2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function l2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function s2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function d2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function u2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function f2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function A2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function y2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function _2(e){return n.jsx(r,{...e,iconKey:"share"})}function g2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function h2(e){return n.jsx(r,{...e,iconKey:"shield"})}function I2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function b2(e){return n.jsx(r,{...e,iconKey:"shop"})}function p2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function w2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function k2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function m2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function v2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function C2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Dc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function K2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function S2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function B2(e){return n.jsx(r,{...e,iconKey:"shower"})}function E2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function F2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function P2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function D2(e){return n.jsx(r,{...e,iconKey:"sick"})}function N2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function j2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function J2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function Z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function X2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function x2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function R2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function eO(e){return n.jsx(r,{...e,iconKey:"signpost"})}function nO(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function oO(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function rO(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function tO(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function cO(e){return n.jsx(r,{...e,iconKey:"sip"})}function iO(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function aO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function lO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function sO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function dO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function uO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function fO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function AO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function yO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function _O(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function gO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function hO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function IO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function bO(e){return n.jsx(r,{...e,iconKey:"sms"})}function pO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function wO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function kO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function mO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function vO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function CO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function KO(e){return n.jsx(r,{...e,iconKey:"soap"})}function SO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function BO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function EO(e){return n.jsx(r,{...e,iconKey:"sort"})}function FO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function PO(e){return n.jsx(r,{...e,iconKey:"sos"})}function DO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function NO(e){return n.jsx(r,{...e,iconKey:"source"})}function TO(e){return n.jsx(r,{...e,iconKey:"south"})}function MO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function OO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function LO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function QO(e){return n.jsx(r,{...e,iconKey:"spa"})}function VO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function WO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function GO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function zO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function HO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function UO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function YO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function jO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function $O(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function qO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function JO(e){return n.jsx(r,{...e,iconKey:"speed"})}function ZO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function XO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function xO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function fL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function AL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function yL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function _L(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function gL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function hL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function IL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function bL(e){return n.jsx(r,{...e,iconKey:"square"})}function pL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function wL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function kL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function mL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function vL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function CL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Sr(e){return n.jsx(r,{...e,iconKey:"star"})}function Br(e){return n.jsx(r,{...e,iconKey:"star_border"})}function KL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function SL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function BL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function EL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function FL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function PL(e){return n.jsx(r,{...e,iconKey:"stars"})}function DL(e){return n.jsx(r,{...e,iconKey:"start"})}function NL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function TL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function ML(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function OL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function LL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function QL(e){return n.jsx(r,{...e,iconKey:"stop"})}function VL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function WL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function GL(e){return n.jsx(r,{...e,iconKey:"storage"})}function zL(e){return n.jsx(r,{...e,iconKey:"store"})}function HL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function UL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function YL(e){return n.jsx(r,{...e,iconKey:"storm"})}function jL(e){return n.jsx(r,{...e,iconKey:"straight"})}function $L(e){return n.jsx(r,{...e,iconKey:"straighten"})}function qL(e){return n.jsx(r,{...e,iconKey:"stream"})}function JL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function ZL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function XL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function xL(e){return n.jsx(r,{...e,iconKey:"style"})}function RL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function e4(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Nc(e){return n.jsx(r,{...e,iconKey:"subject"})}function n4(e){return n.jsx(r,{...e,iconKey:"subscript"})}function o4(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function r4(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function t4(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function c4(e){return n.jsx(r,{...e,iconKey:"subway"})}function i4(e){return n.jsx(r,{...e,iconKey:"summarize"})}function a4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function l4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function s4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function d4(e){return n.jsx(r,{...e,iconKey:"support"})}function u4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function f4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function A4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function y4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function _4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function g4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function h4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function I4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function k4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function m4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function v4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function C4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function K4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function S4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function B4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function E4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function F4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function P4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function D4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function N4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function T4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function M4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function O4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function L4(e){return n.jsx(r,{...e,iconKey:"sync"})}function Q4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function V4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function W4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function G4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function z4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function H4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function U4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function Y4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function j4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function $4(e){return n.jsx(r,{...e,iconKey:"tab"})}function q4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function J4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function Z4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function X4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function x4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function R4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tablet"})}function nQ(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function oQ(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function rQ(e){return n.jsx(r,{...e,iconKey:"tag"})}function tQ(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function cQ(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function iQ(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function aQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function lQ(e){return n.jsx(r,{...e,iconKey:"task"})}function sQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function dQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function uQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function fQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function AQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function yQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function bQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function pQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function wQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function kQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function mQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function vQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function CQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function KQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function SQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function BQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function EQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function NQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function TQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function MQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function OQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function LQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function QQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function VQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function WQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function zQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function HQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function UQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function YQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function jQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function $Q(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function qQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function JQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function XQ(e){return n.jsx(r,{...e,iconKey:"title"})}function xQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function RQ(e){return n.jsx(r,{...e,iconKey:"today"})}function eV(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function nV(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function oV(e){return n.jsx(r,{...e,iconKey:"token"})}function rV(e){return n.jsx(r,{...e,iconKey:"toll"})}function tV(e){return n.jsx(r,{...e,iconKey:"tonality"})}function cV(e){return n.jsx(r,{...e,iconKey:"topic"})}function iV(e){return n.jsx(r,{...e,iconKey:"tornado"})}function aV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function lV(e){return n.jsx(r,{...e,iconKey:"tour"})}function sV(e){return n.jsx(r,{...e,iconKey:"toys"})}function dV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function uV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function fV(e){return n.jsx(r,{...e,iconKey:"train"})}function AV(e){return n.jsx(r,{...e,iconKey:"tram"})}function yV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function _V(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function gV(e){return n.jsx(r,{...e,iconKey:"transform"})}function hV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function IV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function bV(e){return n.jsx(r,{...e,iconKey:"translate"})}function pV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function wV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function kV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function mV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function vV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function CV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function KV(e){return n.jsx(r,{...e,iconKey:"try"})}function SV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function BV(e){return n.jsx(r,{...e,iconKey:"tty"})}function EV(e){return n.jsx(r,{...e,iconKey:"tune"})}function FV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function PV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function DV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function NV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function TV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function MV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function OV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function LV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function QV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function VV(e){return n.jsx(r,{...e,iconKey:"tv"})}function WV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function GV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function zV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function HV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function UV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function YV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function jV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function $V(e){return n.jsx(r,{...e,iconKey:"undo"})}function qV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function JV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function ZV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function XV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function xV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function RV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function eW(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function nW(e){return n.jsx(r,{...e,iconKey:"update"})}function oW(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function rW(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function tW(e){return n.jsx(r,{...e,iconKey:"upload"})}function Tc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function cW(e){return n.jsx(r,{...e,iconKey:"usb"})}function iW(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function aW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function lW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function sW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function dW(e){return n.jsx(r,{...e,iconKey:"verified"})}function uW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function fW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function AW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function yW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function _W(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function gW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function hW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function IW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function bW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function kW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function mW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function vW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function CW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function KW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function SW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function BW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function EW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function FW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function PW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function DW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function YW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function jW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function $W(e){return n.jsx(r,{...e,iconKey:"view_module"})}function qW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function JW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Mc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function ZW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function XW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function xW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function RW(e){return n.jsx(r,{...e,iconKey:"villa"})}function eG(e){return n.jsx(r,{...e,iconKey:"visibility"})}function nG(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function oG(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function rG(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function tG(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function cG(e){return n.jsx(r,{...e,iconKey:"volcano"})}function iG(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function aG(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function lG(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function sG(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function dG(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function uG(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function fG(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function AG(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function yG(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function _G(e){return n.jsx(r,{...e,iconKey:"wallet"})}function gG(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function hG(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function IG(e){return n.jsx(r,{...e,iconKey:"warning"})}function bG(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function pG(e){return n.jsx(r,{...e,iconKey:"wash"})}function wG(e){return n.jsx(r,{...e,iconKey:"watch"})}function kG(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function mG(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function vG(e){return n.jsx(r,{...e,iconKey:"water"})}function CG(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function KG(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function SG(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function BG(e){return n.jsx(r,{...e,iconKey:"waves"})}function EG(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function FG(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function PG(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function DG(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function NG(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function TG(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function MG(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function OG(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function LG(e){return n.jsx(r,{...e,iconKey:"wc"})}function QG(e){return n.jsx(r,{...e,iconKey:"web"})}function VG(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function WG(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function GG(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function zG(e){return n.jsx(r,{...e,iconKey:"webhook"})}function HG(e){return n.jsx(r,{...e,iconKey:"weekend"})}function UG(e){return n.jsx(r,{...e,iconKey:"west"})}function YG(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function jG(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function $G(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function qG(e){return n.jsx(r,{...e,iconKey:"widgets"})}function JG(e){return n.jsx(r,{...e,iconKey:"width_full"})}function ZG(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function XG(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function xG(e){return n.jsx(r,{...e,iconKey:"wifi"})}function RG(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function e5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function n5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function o5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function r5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function t5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function c5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function i5(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function a5(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function l5(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function s5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function d5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function u5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function f5(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function A5(e){return n.jsx(r,{...e,iconKey:"window"})}function y5(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function _5(e){return n.jsx(r,{...e,iconKey:"woman"})}function g5(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function h5(e){return n.jsx(r,{...e,iconKey:"work"})}function I5(e){return n.jsx(r,{...e,iconKey:"work_history"})}function b5(e){return n.jsx(r,{...e,iconKey:"work_off"})}function p5(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function w5(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function k5(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function m5(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function v5(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function C5(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function K5(e){return n.jsx(r,{...e,iconKey:"yard"})}function S5(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function B5(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function E5(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function F5(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function P5(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}const D5={large:"w-6 h-6 rounded flex items-center justify-center",medium:"w-5 h-5 rounded flex items-center justify-center",small:"w-4 h-4 rounded flex items-center justify-center"},N5={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Er=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:F(N5[i],"inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",a?"rounded-full hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75":"",a?"cursor-pointer":"cursor-default"),children:n.jsx(Xt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:F("border-2 relative transition-colors ease-in-out duration-150",D5[i],c?"bg-gray-400 dark:bg-gray-600":l?"bg-primary":"bg-white dark:bg-gray-900",l?"text-gray-100 dark:text-gray-900":"",c||l?"border-transparent":"border-gray-800 dark:border-gray-200"),children:n.jsx(Xt.Indicator,{asChild:!0,children:t?n.jsx("div",{className:"w-full h-[1px] bg-currentColor"}):n.jsx(r,{iconKey:"check",size:20,className:"absolute"})})})})})};function Oc(e){let t=0,c,i;for(c=0;c<e.length;c++)i=e.charCodeAt(c),t=(t<<5)-t+i,t|=0;return Math.abs(t)}const So={blueLighter:{color:"#cfdfff",text:"#102046"},cyanLighter:{color:"#d0f0fd",text:"#04283f"},tealLighter:{color:"#c2f5e9",text:"#012524"},greenLighter:{color:"#d1f7c4",text:"#0b1d05"},yellowLighter:{color:"#ffeab6",text:"#3b2501"},orangeLighter:{color:"#fee2d5",text:"#6b2613"},redLighter:{color:"#ffdce5",text:"#4c0c1c"},pinkLighter:{color:"#ffdaf6",text:"#400832"},purpleLighter:{color:"#ede2fe",text:"#280b42"},grayLighter:{color:"#eee",text:"#040404"},blueLight:{color:"#9cc7ff",text:"#102046"},cyanLight:{color:"#77d1f3",text:"#04283f"},tealLight:{color:"#72ddc3",text:"#012524"},greenLight:{color:"#93e088",text:"#0b1d05"},yellowLight:{color:"#ffd66e",text:"#3b2501"},orangeLight:{color:"#ffa981",text:"#6b2613"},redLight:{color:"#ff9eb7",text:"#4c0c1c"},pinkLight:{color:"#f99de2",text:"#400832"},purpleLight:{color:"#cdb0ff",text:"#280b42"},grayLight:{color:"#ccc",text:"#040404"},blueDark:{color:"#2d7ff9",text:"#fff"},cyanDark:{color:"#18bfff",text:"#fff"},tealDark:{color:"#20d9d2",text:"#fff"},greenDark:{color:"#20c933",text:"#fff"},yellowDark:{color:"#fcb400",text:"#fff"},orangeDark:{color:"#ff6f2c",text:"#fff"},redDark:{color:"#f82b60",text:"#fff"},pinkDark:{color:"#ff08c2",text:"#fff"},purpleDark:{color:"#8b46ff",text:"#fff"},grayDark:{color:"#666",text:"#fff"},blueDarker:{color:"#2750ae",text:"#cfdfff"},cyanDarker:{color:"#0b76b7",text:"#d0f0fd"},tealDarker:{color:"#06a09b",text:"#daf3e9"},greenDarker:{color:"#338a17",text:"#d1f7c4"},yellowDarker:{color:"#b87503",text:"#ffeab6"},orangeDarker:{color:"#d74d26",text:"#fee2d5"},redDarker:{color:"#ba1e45",text:"#ffdce5"},pinkDarker:{color:"#b2158b",text:"#ffdaf6"},purpleDarker:{color:"#6b1cb0",text:"#ede2fe"},grayDarker:{color:"#444",text:"#eee"}};function Lc(e){const t=Oc(e),c=Object.keys(So),i=t%c.length;return So[c[i]]}function T5(e){return So[e]}const M5={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function Bo({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?T5(t):t;return n.jsxs("div",{className:F("rounded-lg w-fit h-fit font-regular inline-flex items-center gap-1","truncate",a?"cursor-pointer hover:bg-gray-300 hover:dark:bg-gray-700":"",M5[s],c||!u?"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-200":"",c?"text-red-500 dark:text-red-400":"",d),onClick:a,style:{backgroundColor:c||!u?void 0:u.color,color:c||!u?void 0:u.text},children:[e,l]})}const O5="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",L5="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",Q5="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",V5={medium:"w-10 !h-10 min-w-10 min-h-10",small:"w-8 !h-8 min-w-8 min-h-8",large:"w-12 !h-12 min-w-12 min-h-12"},W5={circular:"rounded-full",square:"rounded-md"},G5=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...u},A)=>{const _=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",h=d||"button";return n.jsx(h,{type:"button",ref:A,...u,className:F(Ie,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",Q5,_,L5,O5,W5[a],V5[c],t),children:e})},R=f.forwardRef(G5),Qc=f.createContext({}),We=()=>f.useContext(Qc),Vc=f.createContext({}),Ae=()=>f.useContext(Vc),Fr=f.createContext({}),un=()=>f.useContext(Fr),Wc=f.createContext({}),no=()=>f.useContext(Wc),Gc=f.createContext({}),fn=()=>f.useContext(Gc),zc=f.createContext({}),Tn=()=>f.useContext(zc),An=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=qt.useSnackbar(),c=f.useCallback(a=>{const{type:l,message:s,autoHideDuration:d}=a;e({message:s,variant:l,autoHideDuration:d})},[]),i=f.useCallback(()=>{t()},[]);return f.useMemo(()=>({open:c,close:i}),[c,i])},Hc=f.createContext(void 0),Mn=()=>f.useContext(Hc),Uc=f.createContext({}),z5=({children:e})=>{const[t,c]=f.useState([]),i=f.useRef(t),a=d=>{i.current=d,c(d)},l=f.useCallback(()=>{if(t.length===0)return;const d=[...t.slice(0,-1)];a(d)},[t]),s=f.useCallback(d=>{const u=[...t,d];return a(u),{closeDialog:()=>{const A=i.current.filter(_=>_.key!==d.key);a(A)}}},[t]);return n.jsxs(Uc.Provider,{value:{open:s,close:l},children:[e,t.map((d,u)=>n.jsx(d.Component,{open:!0},`dialog_${u}`))]})},H5=()=>f.useContext(Uc),Pr=f.createContext({}),ee=()=>{const e=f.useContext(Pr),t=un(),c=no(),i=fn(),a=Ae(),l=We(),s=Tn(),d=An(),u=Mn(),A=H5();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u,dialogsController:A}};function Yc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=We(),u=Ae().resolveAliasesFrom(e),A=i?i[0]:void 0,_=i?i[1]:void 0,h=ee(),[g,y]=f.useState([]),[I,b]=f.useState(!1),[p,w]=f.useState(),[k,m]=f.useState(!1);return f.useEffect(()=>{b(!0);const v=async K=>{if(t.callbacks?.onFetch)try{K=await Promise.all(K.map(C=>t.callbacks.onFetch({collection:t,path:u,entity:C,context:h})))}catch(C){console.error(C)}b(!1),w(void 0),y(K.map(C=>({...C}))),m(!a||K.length<a)},S=K=>{console.error("ERROR",K),b(!1),y([]),w(K)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:v,onError:S,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:_}):(s.fetchCollection({path:u,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:_}).then(v).catch(S),()=>{})},[u,a,_,A,c,l]),{data:g,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Dr={};function Nr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=We(),s=Ae().resolveAliasesFrom(e),d=ee(),[u,A]=f.useState(),[_,h]=f.useState(!0),[g,y]=f.useState();return f.useEffect(()=>{h(!0);const I=async p=>{if(c.callbacks?.onFetch&&p)try{p=await c.callbacks.onFetch({collection:c,path:s,entity:p,context:d})}catch(w){console.error(w)}Dr[`${s}/${t}`]=p,A(p),h(!1),y(void 0)},b=p=>{console.error("ERROR fetching entity",p),h(!1),A(void 0),y(p)};return t&&i&&Dr[`${s}/${t}`]?(A(Dr[`${s}/${t}`]),h(!1),y(void 0),()=>{}):t&&s&&c?a.listenEntity?a.listenEntity({path:s,entityId:t,collection:c,onUpdate:I,onError:b}):(a.fetchEntity({path:s,entityId:t,collection:c}).then(I).catch(b),()=>{}):(I(void 0),()=>{})},[t,s]),{entity:u,dataLoading:_,dataLoadingError:g}}class $e{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class Eo{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const oo="type",Fo="value";function On(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function ro(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Ee(e){return typeof e=="function"}function to(e){return e?Object.entries(e).map(([t,c])=>{const i=Po(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function Po(e){if(!Ee(e))if(e.dataType==="map"&&e.properties){const t=to(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:Tr(e.dataType)}function Tr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function jc({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return Mr(e,t,(l,s)=>{if(s.dataType==="date"){let d;return c==="existing"&&s.autoValue==="on_update"||(c==="new"||c==="copy")&&(s.autoValue==="on_update"||s.autoValue==="on_create")?d=i:d=l,s.mode==="date"&&(d=a(d)),d}else return l})??{}}function U5(e,t){const c=e;return Object.entries(t).forEach(([i,a])=>{e&&e[i]!==void 0?c[i]=e[i]:a.validation?.required&&(c[i]=null)}),c}function Cn(e){return new $e(e.id,e.path)}function Mr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=Do(d,s,c);if(u!==void 0)return{[l]:u}}).reduce((l,s)=>({...l,...s}),{}),a={...e,...i};if(Object.keys(a).length!==0)return a}function Do(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=Mr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Do(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??oo,l=t.oneOf?.valueField??Fo;i=e.map(s=>{if(s===null)return null;if(typeof s!="object")return s;const d=s[a],u=t.oneOf?.properties[d];return!d||!u?s:{[a]:d,[l]:Do(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function Or(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Ee(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Or(l.properties,l.propertiesOrder)}}:{[a]:l}}else return}).filter(a=>a!==void 0).reduce((a,l)=>({...a,...l}),{})}catch(c){return console.error("Error sorting properties",c),e}}function Lr(e,t){if(e)return typeof e=="string"?e:e(t)}const Y5=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,j5=e=>{const t=e.match(Y5);return t?t.map(c=>c.toLowerCase()).join("-"):""},$5=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,q5=e=>{const t=e.match($5);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Ln(e=5){return Math.random().toString(36).slice(2,2+e)}function J5(){return Math.floor(Math.random()*16777215).toString(16)}function No(e,t="_",c=!0){if(!e)return"";const i="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;-",a=`aaaaaeeeeeiiiiooooouuuunc${t}${t}${t}${t}${t}${t}${t}`;for(let l=0,s=i.length;l<s;l++)e=e.replace(new RegExp(i.charAt(l),"g"),a.charAt(l));return e=e.toString().replace(/\s+/g,t).replace(/&/g,t).replace(/[^\w\\-]+/g,"").replace(new RegExp("\\"+t+"\\"+t+"+","g"),t).trim().replace(/^\s+|\s+$/g,""),c?e.toLowerCase():e}const $c="MMMM dd, yyyy, HH:mm:ss";function yn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function To(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function qc(e,t){const c=To(e,t);if(!c?.color)return Lc(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return So[c.color];if(typeof c.color=="object")return c.color}}function Z5(e){return typeof e=="object"&&e.disabled}function Jc(e){if(e!==void 0)return typeof e=="object"?e.label:e}const Zc=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function Mo(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ge(e,t){const c=Mo(e),i=c?{...e}:e;return c&&Mo(t)&&Object.keys(t).forEach(a=>{Mo(t[a])?a in e?i[a]=Ge(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function _n(e,t){if(e&&typeof e=="object"){if(t in e)return e[t];if(t.includes(".")||t.includes("[")){let c=t.split(/[.[]/);t.includes("[")&&(c=c.map(d=>d.replace("]","")));const i=c[0],a=Array.isArray(e[i])&&!isNaN(parseInt(c[1])),l=a?e[i][parseInt(c[1])]:e[i],s=c.slice(a?2:1).join(".");return s===""?l:_n(l,s)}}}function X5(e,t){let c={...e};const i=t.split("."),a=i.pop();for(const l of i)c=c[l];return a&&delete c[a],c}function Qr(e){if(e!==void 0)return e===null?null:typeof e=="object"?Object.entries(e).filter(([t,c])=>typeof c!="function").map(([t,c])=>Array.isArray(c)?{[t]:c.map(i=>Qr(i))}:typeof c=="object"?{[t]:Qr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function Vr(e){if(!e)return null;if(typeof e=="object"){if("id"in e)return e.id;if(e instanceof Date)return e.toLocaleString();if(e instanceof Eo)return Jt(e)}return Jt(e,{ignoreUnknown:!0})}function Wr(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>Wr(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!Gr(e)){const a=Wr(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!Gr(a)&&s&&(c[i]=a)}}),c)}return e}function Gr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}function Xc(e,t){const c=l=>typeof l=="object"&&l!==null,i=l=>Array.isArray(l);if(!c(e)||!c(t))return e;const a=i(e)?[...e]:{...e};return Object.keys(t).forEach(l=>{l in a&&(c(a[l])&&c(t[l])?a[l]=Xc(a[l],t[l]):a[l]===t[l]&&(i(a)?a.splice(l,1):delete a[l]))}),a}const xc="::";function zr(e){return Rc(ze(e))}function Rc(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${xc}${c}`)}function ze(e){return e.split("/").filter((t,c)=>c%2===0)}function x5(e){return e?e.toString():""}function ei(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function R5(e){return e.match(/\/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)\/((?:g(?:im?|mi?)?|i(?:gm?|mg?)?|m(?:gi?|ig?)?)?)/)?!0:!!e.match(/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)/)}function ez(e){return e.includes("-")||e.includes("_")||!e.includes(" ")?e.replace(/[-_]/g," ").replace(/\w\S*/g,function(c){return c.charAt(0).toUpperCase()+c.substr(1)}):e}function we(e){return ni(oi(e))}function ni(e){return e.startsWith("/")?e.slice(1):e}function oi(e){return e.endsWith("/")?e.slice(0,-1):e}function nz(e){return e.startsWith("/")?e:`/${e}`}function oz(e){const t=we(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function Hr(e,t){const c=we(e),i=c.split("/");if(i.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const a=t.find(s=>s.id===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=Oo(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+Hr(d,s.subcollections)}else return l??c}function Oo(e,t){const c=we(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=Lo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.id??"").localeCompare(A.id??"")).find(u=>u.id===s||u.path===s);if(d){if(s===e)a=d;else if(d.subcollections){const u=e.replace(s,"").split("/").slice(2).join("/");u.length>0&&(a=Oo(u,d.subcollections))}}if(a)break}return a}function Lo(e){const t=e.length>0&&e.length%2===0?e.splice(0,e.length-1):e,c=t.length,i=[];for(let a=c;a>0;a=a-2)i.push(t.slice(0,a).join("/"));return i}function Qo(e,t,c,i=300){const a=f.useRef(!1),l=()=>{t(),a.current=!1},s=f.useRef(void 0);f.useEffect(()=>(a.current=!0,clearTimeout(s.current),s.current=setTimeout(l,i),()=>{c&&l()}),[c,e])}function rz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}const ye=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(vn("Tooltip",tz),a?n.jsx(Jn.Provider,{delayDuration:250,children:n.jsxs(Jn.Root,{open:e,onOpenChange:i,children:[n.jsx(Jn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Jn.Portal,{children:n.jsx(Jn.Content,{className:F("TooltipContent","max-w-lg leading-relaxed","z-50 rounded px-3 py-2 text-xs leading-none bg-gray-700 dark:bg-gray-800 bg-opacity-90 font-medium text-gray-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",d),sideOffset:c===void 0?4:c,side:t,children:a})})]})}):n.jsx(n.Fragment,{children:u})),tz=`
29
+ `),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:F(`CollapseContent-${i}`),children:e})})}function ko(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){nc(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function nc(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:nc(e.parentNode):!1}const cl=({ref:e})=>{const[t,c]=f.useState(!1),[i,a]=f.useState(!1);return f.useEffect(()=>{e.current&&(e.current.onfocus=()=>{c(!0),a(!0)},e.current.onblur=()=>{a(!1)})},[e]),{inputFocused:i,autoCompleteOpen:t,setAutoCompleteOpen:c}};function il({children:e,open:t,setOpen:c}){const i=f.useRef(null);return ko(i,()=>c(!1)),n.jsx(wo,{in:t,duration:50,className:F("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:F(t?je:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function al({children:e,onClick:t}){return n.jsx("div",{className:"flex w-full items-center pr-6 pl-14 h-[48px] cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800",onClick:t,children:e})}const ll=e=>{switch(e){case"error":return"bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900";case"warning":return"bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900";case"info":return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900";case"success":return"bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900";default:return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900"}},sl=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=ll(c);return n.jsxs("div",{style:l,className:F("px-4 py-2 rounded-md flex items-center gap-2",s,a),children:[n.jsx("span",{className:"flex-grow",children:e}),t&&n.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400",onClick:t,children:"×"}),i]})},dl=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:F("rounded-full flex items-center justify-center overflow-hidden",Ie,"p-1 hover:bg-gray-200 hover:dark:bg-gray-700",i),children:e?n.jsx("img",{className:"object-cover rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",src:e,alt:t}):n.jsx("span",{className:"py-1.5 text-lg font-medium text-gray-900 dark:text-white rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",children:c})}),fr=f.forwardRef(dl),Ar=f.forwardRef(function({value:t,allowIndeterminate:c,className:i,onValueChange:a,disabled:l=!1,size:s="medium",...d},u){return n.jsxs("button",{ref:u,tabIndex:l?-1:void 0,onClick:l?A=>A.preventDefault():A=>{A.preventDefault(),c?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},className:F(s==="small"?"w-[38px] h-[22px] min-w-[38px] min-h-[22px]":"w-[42px] h-[26px] min-w-[42px] min-h-[26px]","outline-none rounded-full relative shadow-sm",t?l?"bg-white bg-opacity-54 dark:bg-gray-950":"ring-secondary ring-1 bg-secondary dark:bg-secondary":"bg-white bg-opacity-54 dark:bg-gray-900 ring-1 ring-gray-100 dark:ring-gray-700",i),...d,children:[c&&t==null&&n.jsx("div",{className:F("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-400 dark:bg-gray-600":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[10px]":s==="medium","w-[19px] h-[8px]":s==="small","translate-x-[10px]":s==="medium","translate-x-[9px]":s==="small"})}),!(c&&t==null)&&n.jsx("div",{className:F("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-300 dark:bg-gray-700":t?"bg-white":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[21px]":s==="medium","w-[19px] h-[19px]":s==="small",[t?"translate-x-[19px]":"translate-x-[3px]"]:s==="medium",[t?"translate-x-[17px]":"translate-x-[2px]"]:s==="small"})})]})}),Dn=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:u,size:A,...g}){const h=f.useRef(null),_=f.useRef(null),[y,I]=f.useState(d),b=()=>I(!0),p=()=>I(!1);f.useEffect(()=>{},[]);const w=document.activeElement===_?.current||document.activeElement===h?.current;return n.jsxs("div",{ref:h,onFocus:b,onBlur:p,tabIndex:-1,className:F(!i&&Xe,!i&&(u?nn:Ye),u?"cursor-default":"cursor-pointer","rounded-md relative max-w-full justify-between w-full box-border relative inline-flex items-center",!i&&w&&!u?dr:"",l?"text-red-500 dark:text-red-600":w&&!u?"text-primary":u?"text-text-secondary dark:text-text-secondary-dark":"text-text-primary dark:text-text-primary-dark",A==="small"?"min-h-[40px]":"min-h-[64px]",A==="small"?"pl-2":"pl-4",A==="small"?"pr-4":"pr-6",c==="end"?"flex-row-reverse":"flex-row"),onClick:u?void 0:k=>{g.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(Ar,{value:t,ref:_,size:A,className:i&&w?dr:"",disabled:u,...g}),n.jsx("div",{className:F("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})};function ie({children:e,className:t,variant:c="filled",disabled:i=!1,size:a="medium",startIcon:l=null,fullWidth:s=!1,component:d,...u}){const A="rounded-md border uppercase inline-flex items-center justify-center p-2 px-4 text-sm font-medium focus:outline-none transition ease-in-out duration-150 gap-2",g=F({"w-full":s,"w-fit":!s,"border-transparent bg-primary hover:bg-blue-600 focus:ring-blue-400 !text-white shadow hover:ring-1 hover:ring-primary":c==="filled"&&!i,"border-primary !text-primary hover:bg-primary hover:bg-opacity-10 hover:border-blue-600 !hover:text-blue-600 focus:ring-blue-400 hover:ring-1 hover:ring-primary":c==="outlined"&&!i,"border-transparent !text-primary !hover:text-blue-600 hover:bg-primary hover:bg-opacity-10":c==="text"&&!i,"border-blue-600 border-opacity-50 dark:border-blue-500 dark:border-opacity-50 opacity-50 !text-blue-600 !dark:text-blue-500 text-opacity-50 dark:text-opacity-50":c==="outlined"&&i,"border-transparent outline-none opacity-50 !text-gray-600 !dark:text-gray-500":(c==="filled"||c==="text")&&i}),h=F({"py-1 px-2":a==="small","py-2 px-4":a==="medium","py-2 px-5":a==="large"});return d?n.jsxs(d,{onClick:u.onClick,className:F(Ie,l?"pl-3":"",A,g,h,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:F(Ie,l?"pl-3":"",A,g,h,t),disabled:i,...u,children:[l,e]})}function oc({children:e,style:t,onClick:c,className:i}){const a=f.useCallback(l=>{(l.key==="Enter"||l.key===" ")&&c?.()},[c]);return n.jsx("div",{onKeyPress:a,role:c?"button":void 0,tabIndex:c?0:void 0,onClick:c,className:F(Rt,c&&Ie,c&&ec,i),style:t,children:e})}const ul={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},fl=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?ul[i]:"";return n.jsx("div",{ref:a,className:F("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},yr=f.forwardRef(fl);function gr({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(yr,{className:F("m-auto",i),maxWidth:t,children:e})})}function Nn({size:e="medium",className:t}){let c="";e==="small"?c="w-4 h-4":e==="medium"?c="w-8 h-8 m-1":c="w-10 h-10 m-1";let i="";return e==="small"?i="border-[3px]":e==="medium"?i="border-4":i="border-[6px]",n.jsx("div",{className:F(c,i,"inline-block animate-spin rounded-full border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]","text-blue-600 dark:text-blue-400",t),role:"status",children:n.jsx("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})}const _r=["table_rows","video_label","airlines","bento","border_all","border_clear","ac_unit","adjust","align_horizontal_center","album","all_inclusive","all_out","animation","assistant","audiotrack","account_balance_wallet","auto_awesome_mosaic","bolt","brightness_1","breakfast_dining","broken_image","brightness_5","cable","calendar_view_month","catching_pokemon","casino","category","cloud","color_lens","credit_card","earbuds","egg_alt","fiber_smart_record","flag","healing","heat_pump","hive","hub","local_library","local_pizza","memory","outlet","pages","panorama_photosphere","signal_cellular_0_bar","sports_baseball","storm","stairs"],rc=["search","123","360","10k","10mp","11mp","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","20mp","21mp","22mp","23mp","24mp","2k","2k_plus","2mp","30fps","30fps_select","3d_rotation","3g_mobiledata","3k","3k_plus","3mp","3p","4g_mobiledata","4g_plus_mobiledata","4k","4k_plus","4mp","5g","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_circle","account_tree","ad_units","adb","add","add_a_photo","add_alarm","add_alert","add_box","add_business","add_card","add_chart","add_circle","add_circle_outline","add_comment","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_photo_alternate","add_reaction","add_road","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","adf_scanner","adjust","admin_panel_settings","ads_click","agriculture","air","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","alarm","alarm_add","alarm_off","alarm_on","album","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_out","alt_route","alternate_email","analytics","anchor","android","animation","announcement","aod","apartment","api","app_blocking","app_registration","app_settings_alt","app_shortcut","approval","apps","apps_outage","architecture","archive","area_chart","arrow_back","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_downward","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_left","arrow_outward","arrow_right","arrow_right_alt","arrow_upward","art_track","article","aspect_ratio","assessment","assignment","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_direction","assistant_photo","assured_workload","atm","attach_email","attach_file","attach_money","attachment","attractions","attribution","audio_file","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_stories","autofps_select","autorenew","av_timer","baby_changing_station","back_hand","backpack","backspace","backup","backup_table","badge","bakery_dining","balance","balcony","ballot","bar_chart","batch_prediction","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_2_bar","battery_3_bar","battery_4_bar","battery_5_bar","battery_6_bar","battery_alert","battery_charging_full","battery_full","battery_saver","battery_std","battery_unknown","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bike_scooter","biotech","blender","blind","blinds","blinds_closed","block","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_off","blur_on","bolt","book","book_online","bookmark","bookmark_add","bookmark_added","bookmark_border","bookmark_remove","bookmarks","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","boy","branding_watermark","breakfast_dining","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_auto","brightness_high","brightness_low","brightness_medium","broadcast_on_home","broadcast_on_personal","broken_image","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble_chart","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","cabin","cable","cached","cake","calculate","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_made","call_merge","call_missed","call_missed_outgoing","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","cameraswitch","campaign","cancel","cancel_presentation","cancel_schedule_send","candlestick_chart","car_crash","car_rental","car_repair","card_giftcard","card_membership","card_travel","carpenter","cases","casino","cast","cast_connected","cast_for_education","castle","catching_pokemon","category","celebration","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charging_station","chat","chat_bubble","chat_bubble_outline","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","checklist","checklist_rtl","checkroom","chevron_left","chevron_right","child_care","child_friendly","chrome_reader_mode","church","circle","circle_notifications","class","clean_hands","cleaning_services","clear","clear_all","close","close_fullscreen","closed_caption","closed_caption_disabled","closed_caption_off","cloud","cloud_circle","cloud_done","cloud_download","cloud_off","cloud_queue","cloud_sync","cloud_upload","co2","co_present","code","code_off","coffee","coffee_maker","collections","collections_bookmark","color_lens","colorize","comment","comment_bank","comments_disabled","commit","commute","compare","compare_arrows","compass_calibration","compost","compress","computer","confirmation_number","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contacts","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contrast","control_camera","control_point","control_point_duplicate","cookie","copy_all","copyright","coronavirus","corporate_fare","cottage","countertops","create","create_new_folder","credit_card","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","cruelty_free","css","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_yen","currency_yuan","curtains","curtains_closed","cyclone","dangerous","dark_mode","dashboard","dashboard_customize","data_array","data_exploration","data_object","data_saver_off","data_saver_on","data_thresholding","data_usage","dataset","dataset_linked","date_range","deblur","deck","dehaze","delete","delete_forever","delete_outline","delete_sweep","delivery_dining","density_large","density_medium","density_small","departure_board","description","deselect","design_services","desk","desktop_access_disabled","desktop_mac","desktop_windows","details","developer_board","developer_board_off","developer_mode","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_other","dialer_sip","dialpad","diamond","difference","dining","dinner_dining","directions","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","display_settings","diversity_1","diversity_2","diversity_3","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","document_scanner","domain","domain_add","domain_disabled","domain_verification","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_sliding","doorbell","double_arrow","downhill_skiing","download","download_done","download_for_offline","downloading","drafts","drag_handle","drag_indicator","draw","drive_eta","drive_file_move","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dry","dry_cleaning","duo","dvr","dynamic_feed","dynamic_form","e_mobiledata","earbuds","earbuds_battery","east","edgesensor_high","edgesensor_low","edit","edit_attributes","edit_calendar","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevator","email","emergency","emergency_recording","emergency_share","emoji_emotions","emoji_events","emoji_food_beverage","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","energy_savings_leaf","engineering","enhanced_encryption","equalizer","error","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_station","event","event_available","event_busy","event_note","event_repeat","event_seat","exit_to_app","expand","expand_circle_down","expand_less","expand_more","explicit","explore","explore_off","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","face","face_2","face_3","face_4","face_5","face_6","face_retouching_natural","face_retouching_off","fact_check","factory","family_restroom","fast_forward","fast_rewind","fastfood","favorite","favorite_border","fax","featured_play_list","featured_video","feed","feedback","female","fence","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_download","file_download_done","file_download_off","file_open","file_present","file_upload","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_off","filter_none","filter_tilt_shift","filter_vintage","find_in_page","find_replace","fingerprint","fire_extinguisher","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_screen","fitbit","fitness_center","flag","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flight","flight_class","flight_land","flight_takeoff","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","flood","fluorescent","flutter_dash","fmd_bad","fmd_good","folder","folder_copy","folder_delete","folder_off","folder_open","folder_shared","folder_special","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","forest","fork_left","fork_right","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_indent_decrease","format_indent_increase","format_italic","format_line_spacing","format_list_bulleted","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_quote","format_shapes","format_size","format_strikethrough","format_textdirection_l_to_r","format_textdirection_r_to_l","format_underlined","fort","forum","forward","forward_10","forward_30","forward_5","forward_to_inbox","foundation","free_breakfast","free_cancellation","front_hand","fullscreen","fullscreen_exit","functions","g_mobiledata","g_translate","gamepad","games","garage","gas_meter","gavel","generating_tokens","gesture","get_app","gif","gif_box","girl","gite","golf_course","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graphic_eq","grass","grid_3x3","grid_4x4","grid_goldenratio","grid_off","grid_on","grid_view","group","group_add","group_off","group_remove","group_work","groups","groups_2","groups_3","h_mobiledata","h_plus_mobiledata","hail","handshake","handyman","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_strong","hdr_weak","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_safety","hearing","hearing_disabled","heart_broken","heat_pump","height","help","help_center","help_outline","hevc","hexagon","hide_image","hide_source","high_quality","highlight","highlight_alt","highlight_off","hiking","history","history_edu","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_max","home_mini","home_repair_service","home_work","horizontal_distribute","horizontal_rule","horizontal_split","hot_tub","hotel","hotel_class","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_top","house","house_siding","houseboat","how_to_reg","how_to_vote","html","http","https","hub","hvac","ice_skating","icecream","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","import_contacts","import_export","important_devices","inbox","incomplete_circle","indeterminate_check_box","info","input","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insights","install_desktop","install_mobile","integration_instructions","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios_share","iron","iso","javascript","join_full","join_inner","join_left","join_right","kayaking","kebab_dining","key","key_off","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_hide","keyboard_option_key","keyboard_return","keyboard_tab","keyboard_voice","king_bed","kitchen","kitesurfing","label","label_important","label_off","lan","landscape","landslide","language","laptop","laptop_chromebook","laptop_mac","laptop_windows","last_page","launch","layers","layers_clear","leaderboard","leak_add","leak_remove","legend_toggle","lens","lens_blur","library_add","library_add_check","library_books","library_music","light","light_mode","lightbulb","lightbulb_circle","line_axis","line_style","line_weight","linear_scale","link","link_off","linked_camera","liquor","list","list_alt","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_city","location_disabled","location_off","location_on","location_searching","lock","lock_clock","lock_open","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_priority","loyalty","lte_mobiledata","lte_plus_mobiledata","luggage","lunch_dining","lyrics","macro_off","mail","mail_lock","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","map","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markunread","markunread_mailbox","masks","maximize","media_bluetooth_off","media_bluetooth_on","mediation","medical_information","medical_services","medication","medication_liquid","meeting_room","memory","menu","menu_book","menu_open","merge","merge_type","message","mic","mic_external_off","mic_external_on","mic_none","mic_off","microwave","military_tech","minimize","minor_crash","miscellaneous_services","missed_video_call","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_edit","mode_edit_outline","mode_fan_off","mode_night","mode_of_travel","mode_standby","model_training","monetization_on","money","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monochrome_photos","mood","mood_bad","moped","more","more_horiz","more_time","more_vert","mosque","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","mouse","move_down","move_to_inbox","move_up","movie","movie_creation","movie_filter","moving","mp","multiline_chart","multiple_stop","museum","music_note","music_off","music_video","my_location","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby_error","nearby_off","nest_cam_wired_stand","network_cell","network_check","network_locked","network_ping","network_wifi","network_wifi_1_bar","network_wifi_2_bar","network_wifi_3_bar","new_label","new_releases","newspaper","next_plan","next_week","nfc","night_shelter","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meeting_room","no_photography","no_sim","no_stroller","no_transfer","noise_aware","noise_control_off","nordic_walking","north","north_east","north_west","not_accessible","not_interested","not_listed_location","not_started","note","note_add","note_alt","notes","notification_add","notification_important","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","numbers","offline_bolt","offline_pin","offline_share","oil_barrel","on_device_training","ondemand_video","online_prediction","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_off","open_with","other_houses","outbound","outbox","outdoor_grill","outlet","outlined_flag","output","padding","pages","pageview","paid","palette","pan_tool","pan_tool_alt","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","party_mode","password","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_off","person_outline","person_pin","person_pin_circle","person_remove","person_remove_alt_1","person_search","personal_injury","personal_video","pest_control","pest_control_rodent","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_setup","photo","photo_album","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_library","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","pie_chart","pie_chart_outline","pin","pin_drop","pin_end","pin_invoke","pinch","pivot_table_chart","pix","place","plagiarism","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","point_of_sale","policy","poll","polyline","polymer","pool","portable_wifi_off","portrait","post_add","power","power_input","power_off","power_settings_new","precision_manufacturing","pregnant_woman","present_to_all","preview","price_change","price_check","print","print_disabled","priority_high","privacy_tip","private_connectivity","production_quantity_limits","propane","propane_tank","psychology","psychology_alt","public","public_off","publish","published_with_changes","punch_clock","push_pin","qr_code","qr_code_2","qr_code_scanner","query_builder","query_stats","question_answer","question_mark","queue","queue_music","queue_play_next","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_unchecked","railway_alert","ramen_dining","ramp_left","ramp_right","rate_review","raw_off","raw_on","read_more","real_estate_agent","receipt","receipt_long","recent_actors","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","remember_me","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_shopping_cart","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_tv","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","reviews","rice_bowl","ring_volume","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","rowing","rss_feed","rsvp","rtt","rule","rule_folder","run_circle","running_with_errors","rv_hookup","safety_check","safety_divider","sailing","sanitizer","satellite","satellite_alt","save","save_alt","save_as","saved_search","savings","scale","scanner","scatter_plot","schedule","schedule_send","schema","school","science","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_rotation","screen_rotation_alt","screen_search_desktop","screen_share","screenshot","screenshot_monitor","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","search","search_off","security","security_update","security_update_good","security_update_warning","segment","select_all","self_improvement","sell","send","send_and_archive","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_off","sentiment_dissatisfied","sentiment_neutral","sentiment_satisfied","sentiment_satisfied_alt","sentiment_very_dissatisfied","sentiment_very_satisfied","set_meal","settings","settings_accessibility","settings_applications","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_ethernet","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_overscan","settings_phone","settings_power","settings_remote","settings_suggest","settings_system_daydream","settings_voice","severe_cold","shape_line","share","share_location","shield","shield_moon","shop","shop_2","shop_two","shopping_bag","shopping_basket","shopping_cart","shopping_cart_checkout","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","sick","sign_language","signal_cellular_0_bar","signal_cellular_4_bar","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_wifi_0_bar","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_null","signpost","sim_card","sim_card_alert","sim_card_download","single_bed","sip","skateboarding","skip_next","skip_previous","sledding","slideshow","slow_motion_video","smart_button","smart_display","smart_screen","smart_toy","smartphone","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowmobile","snowshoeing","soap","social_distance","solar_power","sort","sort_by_alpha","sos","soup_kitchen","source","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","speed","spellcheck","splitscreen","spoke","sports","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","square","square_foot","ssid_chart","stacked_bar_chart","stacked_line_chart","stadium","stairs","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","stars","start","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","sticky_note_2","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","stream","streetview","strikethrough_s","stroller","style","subdirectory_arrow_left","subdirectory_arrow_right","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","superscript","supervised_user_circle","supervisor_account","support","support_agent","surfing","surround_sound","swap_calls","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","synagogue","sync","sync_alt","sync_disabled","sync_lock","sync_problem","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_unselected","table_bar","table_chart","table_restaurant","table_rows","table_view","tablet","tablet_android","tablet_mac","tag","tag_faces","takeout_dining","tap_and_play","tapas","task","task_alt","taxi_alert","temple_buddhist","temple_hindu","terminal","terrain","text_decrease","text_fields","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_snippet","textsms","texture","theater_comedy","theaters","thermostat","thermostat_auto","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbs_up_down","thunderstorm","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_select","timer_3","timer_3_select","timer_off","tips_and_updates","tire_repair","title","toc","today","toggle_off","toggle_on","token","toll","tonality","topic","tornado","touch_app","tour","toys","track_changes","traffic","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","translate","travel_explore","trending_down","trending_flat","trending_up","trip_origin","troubleshoot","try","tsunami","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_off","two_wheeler","type_specimen","u_turn_left","u_turn_right","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upload","upload_file","usb","usb_off","vaccines","vape_free","vaping_rooms","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_front","video_chat","video_file","video_label","video_library","video_settings","video_stable","videocam","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_array","view_carousel","view_column","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_kanban","view_list","view_module","view_quilt","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_off","voice_chat","voice_over_off","voicemail","volcano","volume_down","volume_mute","volume_off","volume_up","volunteer_activism","vpn_key","vpn_key_off","vpn_lock","vrpano","wallet","wallpaper","warehouse","warning","warning_amber","wash","watch","watch_later","watch_off","water","water_damage","water_drop","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twilight","wc","web","web_asset","web_asset_off","web_stories","webhook","weekend","west","whatshot","wheelchair_pickup","where_to_vote","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_calling","wifi_calling_3","wifi_channel","wifi_find","wifi_lock","wifi_off","wifi_password","wifi_protected_setup","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","wine_bar","woman","woman_2","work","work_history","work_off","work_outline","workspace_premium","workspaces","wrap_text","wrong_location","wysiwyg","yard","youtube_searched_for","zoom_in","zoom_in_map","zoom_out","zoom_out_map"],Al={inherit:"",primary:"text-primary",success:"text-green-500",warning:"text-yellow-500",secondary:"text-secondary",disabled:"text-disabled dark:text-disabled-dark",error:"text-red-500"};function r({iconKey:e,size:t="medium",color:c,className:i,onClick:a,style:l}){let s;switch(t){case"smallest":s=16;break;case"small":s=20;break;case"medium":s=24;break;case"large":s=28;break;default:s=t}return s||(s=24),n.jsx("span",{style:{fontSize:`${s}px`,display:"block",...l},className:F("material-icons",c?Al[c]:"","select-none",i),onClick:a,children:e})}function yl(e){return n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:e.className,fill:"currentColor",width:e.size??24,height:e.size??24,viewBox:"0 0 24 24",children:n.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function hr(e){return n.jsx(r,{...e,iconKey:"search"})}function gl(e){return n.jsx(r,{...e,iconKey:"123"})}function _l(e){return n.jsx(r,{...e,iconKey:"360"})}function hl(e){return n.jsx(r,{...e,iconKey:"10k"})}function Il(e){return n.jsx(r,{...e,iconKey:"10mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"13mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function ml(e){return n.jsx(r,{...e,iconKey:"15mp"})}function vl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function Sl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function El(e){return n.jsx(r,{...e,iconKey:"1k"})}function Fl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function Pl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Dl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Nl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Tl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Ml(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Ol(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Ll(e){return n.jsx(r,{...e,iconKey:"2k"})}function Ql(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Vl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Wl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Gl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function zl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Hl(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ul(e){return n.jsx(r,{...e,iconKey:"3k"})}function Yl(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function jl(e){return n.jsx(r,{...e,iconKey:"3mp"})}function $l(e){return n.jsx(r,{...e,iconKey:"3p"})}function ql(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Jl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Zl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Xl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function xl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Rl(e){return n.jsx(r,{...e,iconKey:"5g"})}function es(e){return n.jsx(r,{...e,iconKey:"5k"})}function ns(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function os(e){return n.jsx(r,{...e,iconKey:"5mp"})}function rs(e){return n.jsx(r,{...e,iconKey:"60fps"})}function ts(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function cs(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function is(e){return n.jsx(r,{...e,iconKey:"6k"})}function as(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function ls(e){return n.jsx(r,{...e,iconKey:"6mp"})}function ss(e){return n.jsx(r,{...e,iconKey:"7k"})}function ds(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function us(e){return n.jsx(r,{...e,iconKey:"7mp"})}function fs(e){return n.jsx(r,{...e,iconKey:"8k"})}function As(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function ys(e){return n.jsx(r,{...e,iconKey:"8mp"})}function gs(e){return n.jsx(r,{...e,iconKey:"9k"})}function _s(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function hs(e){return n.jsx(r,{...e,iconKey:"9mp"})}function Is(e){return n.jsx(r,{...e,iconKey:"abc"})}function bs(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function ps(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function ws(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function ks(e){return n.jsx(r,{...e,iconKey:"access_time"})}function ms(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function vs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function Cs(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function Ks(e){return n.jsx(r,{...e,iconKey:"accessible"})}function Ss(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function Bs(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function Es(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function Fs(e){return n.jsx(r,{...e,iconKey:"account_box"})}function Ps(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Ds(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Ns(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ts(e){return n.jsx(r,{...e,iconKey:"adb"})}function sn(e){return n.jsx(r,{...e,iconKey:"add"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_home"})}function js(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function tc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Rs(e){return n.jsx(r,{...e,iconKey:"add_road"})}function ed(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function nd(e){return n.jsx(r,{...e,iconKey:"add_task"})}function od(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function rd(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function td(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function cd(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function id(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function ad(e){return n.jsx(r,{...e,iconKey:"adjust"})}function ld(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function sd(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function dd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function ud(e){return n.jsx(r,{...e,iconKey:"air"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function yd(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function gd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function _d(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function hd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function Id(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function bd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function pd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function wd(e){return n.jsx(r,{...e,iconKey:"airlines"})}function kd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function md(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function vd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function Cd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function Kd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function Sd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function Bd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function Ed(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function Fd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function Pd(e){return n.jsx(r,{...e,iconKey:"album"})}function Dd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Nd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Td(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Md(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Od(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Ld(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Qd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Vd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Wd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Gd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function zd(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Hd(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Ud(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Yd(e){return n.jsx(r,{...e,iconKey:"android"})}function jd(e){return n.jsx(r,{...e,iconKey:"animation"})}function $d(e){return n.jsx(r,{...e,iconKey:"announcement"})}function qd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Zd(e){return n.jsx(r,{...e,iconKey:"api"})}function Xd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function xd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Rd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function eu(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function nu(e){return n.jsx(r,{...e,iconKey:"approval"})}function ou(e){return n.jsx(r,{...e,iconKey:"apps"})}function ru(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function tu(e){return n.jsx(r,{...e,iconKey:"architecture"})}function cu(e){return n.jsx(r,{...e,iconKey:"archive"})}function iu(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function yu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function Ir(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function gu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function cc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function hu(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function Iu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function bu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function pu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function wu(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function mo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function ku(e){return n.jsx(r,{...e,iconKey:"art_track"})}function mu(e){return n.jsx(r,{...e,iconKey:"article"})}function vu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function ic(e){return n.jsx(r,{...e,iconKey:"assignment"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function Su(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function Eu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function Fu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function Pu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Du(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Nu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Tu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Mu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Ou(e){return n.jsx(r,{...e,iconKey:"atm"})}function Lu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Qu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Vu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Wu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Gu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function zu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Hu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Uu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function qu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Ju(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Xu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function xu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Ru(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function ef(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function nf(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function of(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function rf(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function tf(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function cf(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function af(e){return n.jsx(r,{...e,iconKey:"backpack"})}function lf(e){return n.jsx(r,{...e,iconKey:"backspace"})}function sf(e){return n.jsx(r,{...e,iconKey:"backup"})}function df(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function uf(e){return n.jsx(r,{...e,iconKey:"badge"})}function ff(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function Af(e){return n.jsx(r,{...e,iconKey:"balance"})}function yf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function br(e){return n.jsx(r,{...e,iconKey:"ballot"})}function gf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function _f(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function hf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function If(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function Cf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function Kf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function Sf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function Bf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function Ef(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function Ff(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function Pf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Df(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Mf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Of(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Lf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Qf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Vf(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function zf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Hf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Uf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Yf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function jf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function $f(e){return n.jsx(r,{...e,iconKey:"block"})}function qf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Jf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function eA(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function nA(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function oA(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function rA(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function tA(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function cA(e){return n.jsx(r,{...e,iconKey:"bolt"})}function iA(e){return n.jsx(r,{...e,iconKey:"book"})}function aA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function lA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function sA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function dA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function uA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function fA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function AA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function bA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function pA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function wA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function kA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function mA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function vA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function CA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function KA(e){return n.jsx(r,{...e,iconKey:"boy"})}function SA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function BA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function NA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function TA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function MA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function OA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function LA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function QA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function VA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function WA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function GA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function zA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function HA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function UA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function YA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function jA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function $A(e){return n.jsx(r,{...e,iconKey:"brush"})}function qA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function JA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function ZA(e){return n.jsx(r,{...e,iconKey:"build"})}function XA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function xA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function RA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function ey(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function ny(e){return n.jsx(r,{...e,iconKey:"business"})}function oy(e){return n.jsx(r,{...e,iconKey:"business_center"})}function ry(e){return n.jsx(r,{...e,iconKey:"cabin"})}function ty(e){return n.jsx(r,{...e,iconKey:"cable"})}function cy(e){return n.jsx(r,{...e,iconKey:"cached"})}function iy(e){return n.jsx(r,{...e,iconKey:"cake"})}function ay(e){return n.jsx(r,{...e,iconKey:"calculate"})}function ac(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function ly(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function sy(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function dy(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function uy(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function fy(e){return n.jsx(r,{...e,iconKey:"call"})}function Ay(e){return n.jsx(r,{...e,iconKey:"call_end"})}function yy(e){return n.jsx(r,{...e,iconKey:"call_made"})}function gy(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function _y(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function hy(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function Iy(e){return n.jsx(r,{...e,iconKey:"call_received"})}function by(e){return n.jsx(r,{...e,iconKey:"call_split"})}function py(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function wy(e){return n.jsx(r,{...e,iconKey:"camera"})}function ky(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function my(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function vy(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function Cy(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function Ky(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function Sy(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function By(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function Fy(e){return n.jsx(r,{...e,iconKey:"campaign"})}function Py(e){return n.jsx(r,{...e,iconKey:"cancel"})}function Dy(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function Ny(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function Ty(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function My(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function Oy(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function Ly(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function Qy(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function Vy(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function Wy(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function Gy(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function zy(e){return n.jsx(r,{...e,iconKey:"cases"})}function Hy(e){return n.jsx(r,{...e,iconKey:"casino"})}function Uy(e){return n.jsx(r,{...e,iconKey:"cast"})}function Yy(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function jy(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function $y(e){return n.jsx(r,{...e,iconKey:"castle"})}function qy(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function Jy(e){return n.jsx(r,{...e,iconKey:"category"})}function Zy(e){return n.jsx(r,{...e,iconKey:"celebration"})}function Xy(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function xy(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function Ry(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function eg(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function ng(e){return n.jsx(r,{...e,iconKey:"chair"})}function og(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function rg(e){return n.jsx(r,{...e,iconKey:"chalet"})}function tg(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function cg(e){return n.jsx(r,{...e,iconKey:"change_history"})}function ig(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function ag(e){return n.jsx(r,{...e,iconKey:"chat"})}function lg(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function sg(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function lc(e){return n.jsx(r,{...e,iconKey:"check"})}function dg(e){return n.jsx(r,{...e,iconKey:"check_box"})}function ug(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function fg(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function Ag(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function yg(e){return n.jsx(r,{...e,iconKey:"checklist"})}function gg(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function _g(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function sc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function hg(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function Ig(e){return n.jsx(r,{...e,iconKey:"child_care"})}function bg(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function pg(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function wg(e){return n.jsx(r,{...e,iconKey:"church"})}function pr(e){return n.jsx(r,{...e,iconKey:"circle"})}function kg(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function mg(e){return n.jsx(r,{...e,iconKey:"class"})}function vg(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function Cg(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function dn(e){return n.jsx(r,{...e,iconKey:"clear"})}function Kg(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function wr(e){return n.jsx(r,{...e,iconKey:"close"})}function Sg(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function Bg(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function Eg(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function Fg(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function Pg(e){return n.jsx(r,{...e,iconKey:"cloud"})}function Dg(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function Ng(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function Tg(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function Mg(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function Og(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function Lg(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Qg(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Vg(e){return n.jsx(r,{...e,iconKey:"co2"})}function Wg(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Gg(e){return n.jsx(r,{...e,iconKey:"code"})}function zg(e){return n.jsx(r,{...e,iconKey:"code_off"})}function Hg(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Ug(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Yg(e){return n.jsx(r,{...e,iconKey:"collections"})}function jg(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function $g(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function qg(e){return n.jsx(r,{...e,iconKey:"colorize"})}function Jg(e){return n.jsx(r,{...e,iconKey:"comment"})}function Zg(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Xg(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function xg(e){return n.jsx(r,{...e,iconKey:"commit"})}function Rg(e){return n.jsx(r,{...e,iconKey:"commute"})}function e_(e){return n.jsx(r,{...e,iconKey:"compare"})}function n_(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function o_(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function r_(e){return n.jsx(r,{...e,iconKey:"compost"})}function t_(e){return n.jsx(r,{...e,iconKey:"compress"})}function c_(e){return n.jsx(r,{...e,iconKey:"computer"})}function i_(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function a_(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function l_(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function s_(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function d_(e){return n.jsx(r,{...e,iconKey:"construction"})}function u_(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function f_(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function A_(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function y_(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function g_(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function __(e){return n.jsx(r,{...e,iconKey:"contactless"})}function h_(e){return n.jsx(r,{...e,iconKey:"contacts"})}function xn(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function I_(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function b_(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function p_(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function w_(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function k_(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function m_(e){return n.jsx(r,{...e,iconKey:"contrast"})}function v_(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function C_(e){return n.jsx(r,{...e,iconKey:"control_point"})}function K_(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function S_(e){return n.jsx(r,{...e,iconKey:"cookie"})}function B_(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function E_(e){return n.jsx(r,{...e,iconKey:"copyright"})}function F_(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function P_(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function D_(e){return n.jsx(r,{...e,iconKey:"cottage"})}function N_(e){return n.jsx(r,{...e,iconKey:"countertops"})}function T_(e){return n.jsx(r,{...e,iconKey:"create"})}function M_(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function O_(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function L_(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Q_(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function V_(e){return n.jsx(r,{...e,iconKey:"crib"})}function W_(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function G_(e){return n.jsx(r,{...e,iconKey:"crop"})}function z_(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function H_(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function U_(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Y_(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function j_(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function $_(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function q_(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function J_(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Z_(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function X_(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function x_(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function R_(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function eh(e){return n.jsx(r,{...e,iconKey:"css"})}function nh(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function oh(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function rh(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function th(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function ch(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function ih(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function ah(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function lh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function sh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function dh(e){return n.jsx(r,{...e,iconKey:"curtains"})}function uh(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function fh(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function Ah(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function dc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function yh(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function gh(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function _h(e){return n.jsx(r,{...e,iconKey:"data_array"})}function hh(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function Ih(e){return n.jsx(r,{...e,iconKey:"data_object"})}function bh(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function ph(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function wh(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function kh(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function mh(e){return n.jsx(r,{...e,iconKey:"dataset"})}function vh(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function Ch(e){return n.jsx(r,{...e,iconKey:"date_range"})}function Kh(e){return n.jsx(r,{...e,iconKey:"deblur"})}function Sh(e){return n.jsx(r,{...e,iconKey:"deck"})}function Bh(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function vo(e){return n.jsx(r,{...e,iconKey:"delete"})}function Eh(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function Fh(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function Ph(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Dh(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Nh(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Th(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Mh(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Oh(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function uc(e){return n.jsx(r,{...e,iconKey:"description"})}function Lh(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Qh(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Vh(e){return n.jsx(r,{...e,iconKey:"desk"})}function Wh(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Gh(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function zh(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Hh(e){return n.jsx(r,{...e,iconKey:"details"})}function Uh(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Yh(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function jh(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function $h(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function qh(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Jh(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Zh(e){return n.jsx(r,{...e,iconKey:"devices"})}function Xh(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function xh(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Rh(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function eI(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function nI(e){return n.jsx(r,{...e,iconKey:"diamond"})}function oI(e){return n.jsx(r,{...e,iconKey:"difference"})}function rI(e){return n.jsx(r,{...e,iconKey:"dining"})}function tI(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function yI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function gI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function hI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function II(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function bI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function pI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function wI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function kI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function mI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function vI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function CI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function KI(e){return n.jsx(r,{...e,iconKey:"discount"})}function SI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function BI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function EI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function FI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function PI(e){return n.jsx(r,{...e,iconKey:"dns"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function OI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function LI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function QI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function VI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function WI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function GI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function zI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function HI(e){return n.jsx(r,{...e,iconKey:"dock"})}function UI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function YI(e){return n.jsx(r,{...e,iconKey:"domain"})}function jI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function $I(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function qI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function JI(e){return n.jsx(r,{...e,iconKey:"done"})}function ZI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function XI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function xI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function RI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function eb(e){return n.jsx(r,{...e,iconKey:"door_back"})}function nb(e){return n.jsx(r,{...e,iconKey:"door_front"})}function ob(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function rb(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function tb(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function cb(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function ib(e){return n.jsx(r,{...e,iconKey:"download"})}function ab(e){return n.jsx(r,{...e,iconKey:"download_done"})}function lb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function sb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function db(e){return n.jsx(r,{...e,iconKey:"drafts"})}function ub(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function fb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function Ab(e){return n.jsx(r,{...e,iconKey:"draw"})}function yb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function gb(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function _b(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function hb(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function fc(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function Ib(e){return n.jsx(r,{...e,iconKey:"dry"})}function bb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function pb(e){return n.jsx(r,{...e,iconKey:"duo"})}function wb(e){return n.jsx(r,{...e,iconKey:"dvr"})}function kb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function mb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function vb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function Cb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function Kb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function Sb(e){return n.jsx(r,{...e,iconKey:"east"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function Ac(e){return n.jsx(r,{...e,iconKey:"edit"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function Pb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Db(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Nb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Tb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Mb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Ob(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Lb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Qb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Vb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Wb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Gb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function zb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Ub(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Yb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function jb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function $b(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function qb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Jb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Zb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Xb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function yc(e){return n.jsx(r,{...e,iconKey:"email"})}function xb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function ep(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function op(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function rp(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function tp(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function cp(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function ip(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function ap(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function lp(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function sp(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function dp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function up(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function fp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function kr(e){return n.jsx(r,{...e,iconKey:"error"})}function gc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function Ap(e){return n.jsx(r,{...e,iconKey:"escalator"})}function yp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function gp(e){return n.jsx(r,{...e,iconKey:"euro"})}function _p(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function hp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function Ip(e){return n.jsx(r,{...e,iconKey:"event"})}function bp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function pp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function wp(e){return n.jsx(r,{...e,iconKey:"event_note"})}function kp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function mp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function vp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function Cp(e){return n.jsx(r,{...e,iconKey:"expand"})}function Kp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function Sp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Co(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function Bp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function Ep(e){return n.jsx(r,{...e,iconKey:"explore"})}function Fp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function Pp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Dp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Np(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Tp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Mp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Op(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Lp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Qp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face"})}function Wp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Gp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function zp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Hp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Up(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Yp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function jp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function $p(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function qp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Jp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Zp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Xp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function xp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Rp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function ew(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function nw(e){return n.jsx(r,{...e,iconKey:"fax"})}function ow(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function rw(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function tw(e){return n.jsx(r,{...e,iconKey:"feed"})}function cw(e){return n.jsx(r,{...e,iconKey:"feedback"})}function iw(e){return n.jsx(r,{...e,iconKey:"female"})}function aw(e){return n.jsx(r,{...e,iconKey:"fence"})}function lw(e){return n.jsx(r,{...e,iconKey:"festival"})}function sw(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function dw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function uw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function fw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function Aw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function _c(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function yw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function gw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function _w(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function hw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function Iw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function bw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Tw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Mw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Ow(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Lw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function hc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function Ic(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Qw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Vw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Ww(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Gw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function zw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Yw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function jw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function $w(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function qw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Jw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Zw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Xw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function bc(e){return n.jsx(r,{...e,iconKey:"flag"})}function xw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function ek(e){return n.jsx(r,{...e,iconKey:"flare"})}function nk(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function ok(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function rk(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function tk(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function ck(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function ik(e){return n.jsx(r,{...e,iconKey:"flatware"})}function ak(e){return n.jsx(r,{...e,iconKey:"flight"})}function lk(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function sk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function dk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function uk(e){return n.jsx(r,{...e,iconKey:"flip"})}function fk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function Ak(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function yk(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function gk(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function _k(e){return n.jsx(r,{...e,iconKey:"flood"})}function hk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function Ik(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function bk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function pk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder"})}function kk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function mk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function vk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function Ck(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function Kk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function Sk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function Bk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function Ek(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function Fk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function Pk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Dk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Nk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Tk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Mk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function mr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function xk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function pc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Rk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function em(e){return n.jsx(r,{...e,iconKey:"format_size"})}function nm(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function om(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function rm(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function tm(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function cm(e){return n.jsx(r,{...e,iconKey:"fort"})}function im(e){return n.jsx(r,{...e,iconKey:"forum"})}function am(e){return n.jsx(r,{...e,iconKey:"forward"})}function lm(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function sm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function dm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function um(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function fm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function Am(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function ym(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function gm(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function _m(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function hm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function wc(e){return n.jsx(r,{...e,iconKey:"functions"})}function Im(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function bm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function pm(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function wm(e){return n.jsx(r,{...e,iconKey:"games"})}function km(e){return n.jsx(r,{...e,iconKey:"garage"})}function mm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function vm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function Cm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function Km(e){return n.jsx(r,{...e,iconKey:"gesture"})}function Sm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gif"})}function Em(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function Fm(e){return n.jsx(r,{...e,iconKey:"girl"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gite"})}function Dm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Nm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Tm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Mm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Om(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Lm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Qm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Wm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grading"})}function zm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Hm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Um(e){return n.jsx(r,{...e,iconKey:"grass"})}function Ym(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function jm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function $m(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function qm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Jm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Zm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Xm(e){return n.jsx(r,{...e,iconKey:"group"})}function xm(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Rm(e){return n.jsx(r,{...e,iconKey:"group_off"})}function ev(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function nv(e){return n.jsx(r,{...e,iconKey:"group_work"})}function ov(e){return n.jsx(r,{...e,iconKey:"groups"})}function rv(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function tv(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function cv(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function iv(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function av(e){return n.jsx(r,{...e,iconKey:"hail"})}function lv(e){return n.jsx(r,{...e,iconKey:"handshake"})}function sv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function dv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function uv(e){return n.jsx(r,{...e,iconKey:"hd"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function yv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function gv(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function hv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function Iv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function bv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function pv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function wv(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function kv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function mv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function vv(e){return n.jsx(r,{...e,iconKey:"headset"})}function Cv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function Kv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function Sv(e){return n.jsx(r,{...e,iconKey:"healing"})}function Bv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hearing"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function Pv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Dv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Nv(e){return n.jsx(r,{...e,iconKey:"height"})}function Tv(e){return n.jsx(r,{...e,iconKey:"help"})}function Mv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Ov(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Lv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Qv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Vv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Wv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Gv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function zv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Hv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Uv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Yv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function jv(e){return n.jsx(r,{...e,iconKey:"history"})}function $v(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function qv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Jv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Zv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Xv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function xv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Rv(e){return n.jsx(r,{...e,iconKey:"home"})}function e0(e){return n.jsx(r,{...e,iconKey:"home_max"})}function n0(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function o0(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function r0(e){return n.jsx(r,{...e,iconKey:"home_work"})}function t0(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function c0(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function i0(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function a0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function l0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function s0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function d0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function u0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function f0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function A0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function y0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function g0(e){return n.jsx(r,{...e,iconKey:"house"})}function _0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function h0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function I0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function b0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function p0(e){return n.jsx(r,{...e,iconKey:"html"})}function kc(e){return n.jsx(r,{...e,iconKey:"http"})}function w0(e){return n.jsx(r,{...e,iconKey:"https"})}function k0(e){return n.jsx(r,{...e,iconKey:"hub"})}function m0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function v0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function C0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function K0(e){return n.jsx(r,{...e,iconKey:"image"})}function S0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function B0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function E0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function F0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function P0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function D0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function N0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function T0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function M0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function O0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function mc(e){return n.jsx(r,{...e,iconKey:"info"})}function L0(e){return n.jsx(r,{...e,iconKey:"input"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function W0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function G0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function z0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function H0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function U0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function Y0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function j0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function $0(e){return n.jsx(r,{...e,iconKey:"insights"})}function q0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function J0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function Z0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function X0(e){return n.jsx(r,{...e,iconKey:"interests"})}function x0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function R0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function eC(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function nC(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function oC(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function rC(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function tC(e){return n.jsx(r,{...e,iconKey:"iron"})}function cC(e){return n.jsx(r,{...e,iconKey:"iso"})}function iC(e){return n.jsx(r,{...e,iconKey:"javascript"})}function aC(e){return n.jsx(r,{...e,iconKey:"join_full"})}function lC(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function sC(e){return n.jsx(r,{...e,iconKey:"join_left"})}function dC(e){return n.jsx(r,{...e,iconKey:"join_right"})}function uC(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function fC(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function AC(e){return n.jsx(r,{...e,iconKey:"key"})}function yC(e){return n.jsx(r,{...e,iconKey:"key_off"})}function gC(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function _C(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function hC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function IC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function bC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function pC(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function wC(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function kC(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function mC(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function vC(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function CC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function KC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function SC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function BC(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function EC(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function FC(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function PC(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Ko(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function DC(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function NC(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function TC(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function MC(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function OC(e){return n.jsx(r,{...e,iconKey:"label"})}function LC(e){return n.jsx(r,{...e,iconKey:"label_important"})}function QC(e){return n.jsx(r,{...e,iconKey:"label_off"})}function VC(e){return n.jsx(r,{...e,iconKey:"lan"})}function WC(e){return n.jsx(r,{...e,iconKey:"landscape"})}function GC(e){return n.jsx(r,{...e,iconKey:"landslide"})}function zC(e){return n.jsx(r,{...e,iconKey:"language"})}function HC(e){return n.jsx(r,{...e,iconKey:"laptop"})}function UC(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function YC(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function jC(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function $C(e){return n.jsx(r,{...e,iconKey:"last_page"})}function qC(e){return n.jsx(r,{...e,iconKey:"launch"})}function JC(e){return n.jsx(r,{...e,iconKey:"layers"})}function ZC(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function XC(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function xC(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function RC(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function eK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function nK(e){return n.jsx(r,{...e,iconKey:"lens"})}function oK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function rK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function tK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function cK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function iK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function aK(e){return n.jsx(r,{...e,iconKey:"light"})}function vc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function lK(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function sK(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function dK(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function uK(e){return n.jsx(r,{...e,iconKey:"line_style"})}function fK(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function AK(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Cc(e){return n.jsx(r,{...e,iconKey:"link"})}function yK(e){return n.jsx(r,{...e,iconKey:"link_off"})}function gK(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function _K(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Kc(e){return n.jsx(r,{...e,iconKey:"list"})}function Sc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function hK(e){return n.jsx(r,{...e,iconKey:"live_help"})}function IK(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function bK(e){return n.jsx(r,{...e,iconKey:"living"})}function pK(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function wK(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function kK(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function mK(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function vK(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function CK(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function KK(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function SK(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function BK(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function EK(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function FK(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function PK(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function DK(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function NK(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function TK(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function MK(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function OK(e){return n.jsx(r,{...e,iconKey:"local_library"})}function LK(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function QK(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function VK(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function WK(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function GK(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function zK(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function HK(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function UK(e){return n.jsx(r,{...e,iconKey:"local_play"})}function YK(e){return n.jsx(r,{...e,iconKey:"local_police"})}function jK(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function $K(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function qK(e){return n.jsx(r,{...e,iconKey:"local_see"})}function JK(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function ZK(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function XK(e){return n.jsx(r,{...e,iconKey:"location_city"})}function xK(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function RK(e){return n.jsx(r,{...e,iconKey:"location_off"})}function eS(e){return n.jsx(r,{...e,iconKey:"location_on"})}function nS(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function oS(e){return n.jsx(r,{...e,iconKey:"lock"})}function rS(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function tS(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function cS(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function iS(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function aS(e){return n.jsx(r,{...e,iconKey:"login"})}function lS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Bc(e){return n.jsx(r,{...e,iconKey:"logout"})}function sS(e){return n.jsx(r,{...e,iconKey:"looks"})}function dS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function uS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function fS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function AS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function yS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function gS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function _S(e){return n.jsx(r,{...e,iconKey:"loop"})}function hS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function IS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function bS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function pS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function wS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function kS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function mS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function vS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function CS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function KS(e){return n.jsx(r,{...e,iconKey:"mail"})}function SS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function BS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function ES(e){return n.jsx(r,{...e,iconKey:"male"})}function FS(e){return n.jsx(r,{...e,iconKey:"man"})}function PS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function DS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function NS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function TS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function MS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function OS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function LS(e){return n.jsx(r,{...e,iconKey:"map"})}function QS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function VS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function WS(e){return n.jsx(r,{...e,iconKey:"margin"})}function GS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function zS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function HS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function US(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function YS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function jS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function $S(e){return n.jsx(r,{...e,iconKey:"markunread"})}function qS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function JS(e){return n.jsx(r,{...e,iconKey:"masks"})}function ZS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function XS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function xS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function RS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function eB(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function nB(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function oB(e){return n.jsx(r,{...e,iconKey:"medication"})}function rB(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function tB(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function cB(e){return n.jsx(r,{...e,iconKey:"memory"})}function vr(e){return n.jsx(r,{...e,iconKey:"menu"})}function iB(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function aB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function lB(e){return n.jsx(r,{...e,iconKey:"merge"})}function sB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function dB(e){return n.jsx(r,{...e,iconKey:"message"})}function uB(e){return n.jsx(r,{...e,iconKey:"mic"})}function fB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function AB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function yB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function gB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function _B(e){return n.jsx(r,{...e,iconKey:"microwave"})}function hB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function IB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function bB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function pB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function wB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function kB(e){return n.jsx(r,{...e,iconKey:"mms"})}function mB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function vB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function CB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function KB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode"})}function BB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function EB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function FB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function PB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function DB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function NB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function TB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function MB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function OB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function LB(e){return n.jsx(r,{...e,iconKey:"money"})}function QB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function VB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function WB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function GB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function zB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function HB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function UB(e){return n.jsx(r,{...e,iconKey:"mood"})}function YB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function jB(e){return n.jsx(r,{...e,iconKey:"moped"})}function $B(e){return n.jsx(r,{...e,iconKey:"more"})}function qB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function JB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function Cr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function ZB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function XB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function xB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function RB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function eE(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function nE(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function oE(e){return n.jsx(r,{...e,iconKey:"mouse"})}function rE(e){return n.jsx(r,{...e,iconKey:"move_down"})}function tE(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function cE(e){return n.jsx(r,{...e,iconKey:"move_up"})}function iE(e){return n.jsx(r,{...e,iconKey:"movie"})}function aE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function lE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function sE(e){return n.jsx(r,{...e,iconKey:"moving"})}function dE(e){return n.jsx(r,{...e,iconKey:"mp"})}function uE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function fE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function AE(e){return n.jsx(r,{...e,iconKey:"museum"})}function yE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function gE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function _E(e){return n.jsx(r,{...e,iconKey:"music_video"})}function hE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function IE(e){return n.jsx(r,{...e,iconKey:"nat"})}function bE(e){return n.jsx(r,{...e,iconKey:"nature"})}function pE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function wE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function kE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function mE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function vE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function CE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function KE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function SE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function BE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function FE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function PE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function DE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function NE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function TE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function ME(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function OE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function LE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function QE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function VE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function WE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function GE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function zE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function HE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function UE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function YE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function jE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function $E(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_food"})}function tF(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function cF(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function iF(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function aF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function lF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function sF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function dF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function uF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function fF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function AF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function yF(e){return n.jsx(r,{...e,iconKey:"north"})}function gF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function _F(e){return n.jsx(r,{...e,iconKey:"north_west"})}function hF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function IF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function bF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function pF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function wF(e){return n.jsx(r,{...e,iconKey:"note"})}function kF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function mF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function vF(e){return n.jsx(r,{...e,iconKey:"notes"})}function CF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function KF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function SF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function BF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function EF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function FF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function PF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Ec(e){return n.jsx(r,{...e,iconKey:"numbers"})}function DF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function NF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function TF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function MF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function OF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function LF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function QF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function VF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function WF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function GF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function Rn(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function zF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function HF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function UF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function YF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function jF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function $F(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function qF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function JF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function ZF(e){return n.jsx(r,{...e,iconKey:"output"})}function XF(e){return n.jsx(r,{...e,iconKey:"padding"})}function xF(e){return n.jsx(r,{...e,iconKey:"pages"})}function RF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function eP(e){return n.jsx(r,{...e,iconKey:"paid"})}function nP(e){return n.jsx(r,{...e,iconKey:"palette"})}function oP(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function rP(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function aP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function lP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function sP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function dP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function uP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function fP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function AP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function yP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function gP(e){return n.jsx(r,{...e,iconKey:"park"})}function _P(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function hP(e){return n.jsx(r,{...e,iconKey:"password"})}function IP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function bP(e){return n.jsx(r,{...e,iconKey:"pause"})}function pP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function wP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function kP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function mP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function vP(e){return n.jsx(r,{...e,iconKey:"payment"})}function CP(e){return n.jsx(r,{...e,iconKey:"payments"})}function KP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function SP(e){return n.jsx(r,{...e,iconKey:"pending"})}function BP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function EP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function FP(e){return n.jsx(r,{...e,iconKey:"people"})}function PP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function DP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function NP(e){return n.jsx(r,{...e,iconKey:"percent"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function MP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function OP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function LP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function QP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function VP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function WP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function GP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function zP(e){return n.jsx(r,{...e,iconKey:"person"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function ZP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function XP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function xP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function RP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function e1(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function n1(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function o1(e){return n.jsx(r,{...e,iconKey:"person_search"})}function r1(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function t1(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function c1(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function i1(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function a1(e){return n.jsx(r,{...e,iconKey:"pets"})}function l1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function A1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function y1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function g1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function _1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function h1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function I1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function b1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function p1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function w1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function k1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function m1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function v1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function C1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function E1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function F1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function P1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function D1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function N1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function T1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function M1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function O1(e){return n.jsx(r,{...e,iconKey:"php"})}function L1(e){return n.jsx(r,{...e,iconKey:"piano"})}function Q1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function V1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function W1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function G1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function z1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function H1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function U1(e){return n.jsx(r,{...e,iconKey:"pin"})}function Y1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function j1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function $1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function q1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function J1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function Z1(e){return n.jsx(r,{...e,iconKey:"pix"})}function X1(e){return n.jsx(r,{...e,iconKey:"place"})}function x1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function R1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function eD(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function oD(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function rD(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function tD(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function cD(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function iD(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function aD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function lD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function sD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function dD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function uD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function fD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function AD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function yD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function gD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function _D(e){return n.jsx(r,{...e,iconKey:"policy"})}function hD(e){return n.jsx(r,{...e,iconKey:"poll"})}function ID(e){return n.jsx(r,{...e,iconKey:"polyline"})}function bD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function pD(e){return n.jsx(r,{...e,iconKey:"pool"})}function wD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function kD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function mD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function vD(e){return n.jsx(r,{...e,iconKey:"power"})}function CD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function KD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function SD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function BD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function ED(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function FD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function PD(e){return n.jsx(r,{...e,iconKey:"preview"})}function DD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function ND(e){return n.jsx(r,{...e,iconKey:"price_check"})}function TD(e){return n.jsx(r,{...e,iconKey:"print"})}function MD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function OD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function LD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function QD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function VD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function WD(e){return n.jsx(r,{...e,iconKey:"propane"})}function GD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function zD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function HD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function UD(e){return n.jsx(r,{...e,iconKey:"public"})}function YD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function jD(e){return n.jsx(r,{...e,iconKey:"publish"})}function $D(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function qD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function JD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function ZD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function XD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function xD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function RD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function eN(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function nN(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function oN(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function rN(e){return n.jsx(r,{...e,iconKey:"queue"})}function tN(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function cN(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function iN(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function aN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function lN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function sN(e){return n.jsx(r,{...e,iconKey:"radar"})}function dN(e){return n.jsx(r,{...e,iconKey:"radio"})}function uN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function fN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function AN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function yN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function gN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function _N(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function hN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function IN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function bN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function pN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function wN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function kN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function mN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function vN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function CN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function KN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function SN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function BN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function EN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function FN(e){return n.jsx(r,{...e,iconKey:"redo"})}function PN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function DN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function NN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function eo(e){return n.jsx(r,{...e,iconKey:"remove"})}function Fc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function TN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function MN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function ON(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function LN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function QN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function VN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function WN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function GN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function zN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function Kr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function HN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function UN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function YN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function jN(e){return n.jsx(r,{...e,iconKey:"replay"})}function $N(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function qN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function JN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function ZN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function XN(e){return n.jsx(r,{...e,iconKey:"reply"})}function xN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function RN(e){return n.jsx(r,{...e,iconKey:"report"})}function eT(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function nT(e){return n.jsx(r,{...e,iconKey:"report_off"})}function oT(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function rT(e){return n.jsx(r,{...e,iconKey:"request_page"})}function tT(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function cT(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function iT(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function aT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function lT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function sT(e){return n.jsx(r,{...e,iconKey:"restore"})}function dT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function uT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function fT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function AT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function yT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function gT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function _T(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function hT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function IT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function bT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function pT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function wT(e){return n.jsx(r,{...e,iconKey:"room"})}function kT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function mT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function vT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function CT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function KT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function ST(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function BT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function ET(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function FT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function PT(e){return n.jsx(r,{...e,iconKey:"route"})}function DT(e){return n.jsx(r,{...e,iconKey:"router"})}function NT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function TT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function MT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function OT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function LT(e){return n.jsx(r,{...e,iconKey:"rule"})}function QT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function VT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function WT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function GT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function zT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function HT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function UT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function YT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function jT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function $T(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function qT(e){return n.jsx(r,{...e,iconKey:"save"})}function JT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function ZT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function XT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function xT(e){return n.jsx(r,{...e,iconKey:"savings"})}function RT(e){return n.jsx(r,{...e,iconKey:"scale"})}function eM(e){return n.jsx(r,{...e,iconKey:"scanner"})}function nM(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Pc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function oM(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function rM(e){return n.jsx(r,{...e,iconKey:"schema"})}function tM(e){return n.jsx(r,{...e,iconKey:"school"})}function cM(e){return n.jsx(r,{...e,iconKey:"science"})}function iM(e){return n.jsx(r,{...e,iconKey:"score"})}function aM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function lM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function sM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function dM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function uM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function fM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function AM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function yM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function gM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function _M(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function hM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function IM(e){return n.jsx(r,{...e,iconKey:"sd"})}function bM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function pM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function wM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function kM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function mM(e){return n.jsx(r,{...e,iconKey:"security"})}function vM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function CM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function KM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function SM(e){return n.jsx(r,{...e,iconKey:"segment"})}function BM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function EM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function FM(e){return n.jsx(r,{...e,iconKey:"sell"})}function PM(e){return n.jsx(r,{...e,iconKey:"send"})}function DM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function NM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function TM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function MM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function OM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function QM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function VM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function WM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function GM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function zM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function HM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function UM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function YM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function jM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function i2(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function a2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function l2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function s2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function d2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function u2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function f2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function A2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function y2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function g2(e){return n.jsx(r,{...e,iconKey:"share"})}function _2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function h2(e){return n.jsx(r,{...e,iconKey:"shield"})}function I2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function b2(e){return n.jsx(r,{...e,iconKey:"shop"})}function p2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function w2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function k2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function m2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function v2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function C2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Dc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function K2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function S2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function B2(e){return n.jsx(r,{...e,iconKey:"shower"})}function E2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function F2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function P2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function D2(e){return n.jsx(r,{...e,iconKey:"sick"})}function N2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function j2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function J2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function Z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function X2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function x2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function R2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function eO(e){return n.jsx(r,{...e,iconKey:"signpost"})}function nO(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function oO(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function rO(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function tO(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function cO(e){return n.jsx(r,{...e,iconKey:"sip"})}function iO(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function aO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function lO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function sO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function dO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function uO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function fO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function AO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function yO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function gO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function _O(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function hO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function IO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function bO(e){return n.jsx(r,{...e,iconKey:"sms"})}function pO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function wO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function kO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function mO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function vO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function CO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function KO(e){return n.jsx(r,{...e,iconKey:"soap"})}function SO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function BO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function EO(e){return n.jsx(r,{...e,iconKey:"sort"})}function FO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function PO(e){return n.jsx(r,{...e,iconKey:"sos"})}function DO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function NO(e){return n.jsx(r,{...e,iconKey:"source"})}function TO(e){return n.jsx(r,{...e,iconKey:"south"})}function MO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function OO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function LO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function QO(e){return n.jsx(r,{...e,iconKey:"spa"})}function VO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function WO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function GO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function zO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function HO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function UO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function YO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function jO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function $O(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function qO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function JO(e){return n.jsx(r,{...e,iconKey:"speed"})}function ZO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function XO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function xO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function fL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function AL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function yL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function gL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function _L(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function hL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function IL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function bL(e){return n.jsx(r,{...e,iconKey:"square"})}function pL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function wL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function kL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function mL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function vL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function CL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Sr(e){return n.jsx(r,{...e,iconKey:"star"})}function Br(e){return n.jsx(r,{...e,iconKey:"star_border"})}function KL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function SL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function BL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function EL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function FL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function PL(e){return n.jsx(r,{...e,iconKey:"stars"})}function DL(e){return n.jsx(r,{...e,iconKey:"start"})}function NL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function TL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function ML(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function OL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function LL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function QL(e){return n.jsx(r,{...e,iconKey:"stop"})}function VL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function WL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function GL(e){return n.jsx(r,{...e,iconKey:"storage"})}function zL(e){return n.jsx(r,{...e,iconKey:"store"})}function HL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function UL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function YL(e){return n.jsx(r,{...e,iconKey:"storm"})}function jL(e){return n.jsx(r,{...e,iconKey:"straight"})}function $L(e){return n.jsx(r,{...e,iconKey:"straighten"})}function qL(e){return n.jsx(r,{...e,iconKey:"stream"})}function JL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function ZL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function XL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function xL(e){return n.jsx(r,{...e,iconKey:"style"})}function RL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function e4(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Nc(e){return n.jsx(r,{...e,iconKey:"subject"})}function n4(e){return n.jsx(r,{...e,iconKey:"subscript"})}function o4(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function r4(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function t4(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function c4(e){return n.jsx(r,{...e,iconKey:"subway"})}function i4(e){return n.jsx(r,{...e,iconKey:"summarize"})}function a4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function l4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function s4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function d4(e){return n.jsx(r,{...e,iconKey:"support"})}function u4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function f4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function A4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function y4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function g4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function _4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function h4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function I4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function k4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function m4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function v4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function C4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function K4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function S4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function B4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function E4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function F4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function P4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function D4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function N4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function T4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function M4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function O4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function L4(e){return n.jsx(r,{...e,iconKey:"sync"})}function Q4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function V4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function W4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function G4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function z4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function H4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function U4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function Y4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function j4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function $4(e){return n.jsx(r,{...e,iconKey:"tab"})}function q4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function J4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function Z4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function X4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function x4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function R4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tablet"})}function nQ(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function oQ(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function rQ(e){return n.jsx(r,{...e,iconKey:"tag"})}function tQ(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function cQ(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function iQ(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function aQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function lQ(e){return n.jsx(r,{...e,iconKey:"task"})}function sQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function dQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function uQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function fQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function AQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function yQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function bQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function pQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function wQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function kQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function mQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function vQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function CQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function KQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function SQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function BQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function EQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function NQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function TQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function MQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function OQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function LQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function QQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function VQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function WQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function zQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function HQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function UQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function YQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function jQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function $Q(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function qQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function JQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function XQ(e){return n.jsx(r,{...e,iconKey:"title"})}function xQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function RQ(e){return n.jsx(r,{...e,iconKey:"today"})}function eV(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function nV(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function oV(e){return n.jsx(r,{...e,iconKey:"token"})}function rV(e){return n.jsx(r,{...e,iconKey:"toll"})}function tV(e){return n.jsx(r,{...e,iconKey:"tonality"})}function cV(e){return n.jsx(r,{...e,iconKey:"topic"})}function iV(e){return n.jsx(r,{...e,iconKey:"tornado"})}function aV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function lV(e){return n.jsx(r,{...e,iconKey:"tour"})}function sV(e){return n.jsx(r,{...e,iconKey:"toys"})}function dV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function uV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function fV(e){return n.jsx(r,{...e,iconKey:"train"})}function AV(e){return n.jsx(r,{...e,iconKey:"tram"})}function yV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function gV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function _V(e){return n.jsx(r,{...e,iconKey:"transform"})}function hV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function IV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function bV(e){return n.jsx(r,{...e,iconKey:"translate"})}function pV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function wV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function kV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function mV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function vV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function CV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function KV(e){return n.jsx(r,{...e,iconKey:"try"})}function SV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function BV(e){return n.jsx(r,{...e,iconKey:"tty"})}function EV(e){return n.jsx(r,{...e,iconKey:"tune"})}function FV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function PV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function DV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function NV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function TV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function MV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function OV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function LV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function QV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function VV(e){return n.jsx(r,{...e,iconKey:"tv"})}function WV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function GV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function zV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function HV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function UV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function YV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function jV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function $V(e){return n.jsx(r,{...e,iconKey:"undo"})}function qV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function JV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function ZV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function XV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function xV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function RV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function eW(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function nW(e){return n.jsx(r,{...e,iconKey:"update"})}function oW(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function rW(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function tW(e){return n.jsx(r,{...e,iconKey:"upload"})}function Tc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function cW(e){return n.jsx(r,{...e,iconKey:"usb"})}function iW(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function aW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function lW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function sW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function dW(e){return n.jsx(r,{...e,iconKey:"verified"})}function uW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function fW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function AW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function yW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function gW(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function _W(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function hW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function IW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function bW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function kW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function mW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function vW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function CW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function KW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function SW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function BW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function EW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function FW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function PW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function DW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function YW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function jW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function $W(e){return n.jsx(r,{...e,iconKey:"view_module"})}function qW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function JW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Mc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function ZW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function XW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function xW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function RW(e){return n.jsx(r,{...e,iconKey:"villa"})}function eG(e){return n.jsx(r,{...e,iconKey:"visibility"})}function nG(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function oG(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function rG(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function tG(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function cG(e){return n.jsx(r,{...e,iconKey:"volcano"})}function iG(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function aG(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function lG(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function sG(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function dG(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function uG(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function fG(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function AG(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function yG(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function gG(e){return n.jsx(r,{...e,iconKey:"wallet"})}function _G(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function hG(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function IG(e){return n.jsx(r,{...e,iconKey:"warning"})}function bG(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function pG(e){return n.jsx(r,{...e,iconKey:"wash"})}function wG(e){return n.jsx(r,{...e,iconKey:"watch"})}function kG(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function mG(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function vG(e){return n.jsx(r,{...e,iconKey:"water"})}function CG(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function KG(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function SG(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function BG(e){return n.jsx(r,{...e,iconKey:"waves"})}function EG(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function FG(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function PG(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function DG(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function NG(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function TG(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function MG(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function OG(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function LG(e){return n.jsx(r,{...e,iconKey:"wc"})}function QG(e){return n.jsx(r,{...e,iconKey:"web"})}function VG(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function WG(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function GG(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function zG(e){return n.jsx(r,{...e,iconKey:"webhook"})}function HG(e){return n.jsx(r,{...e,iconKey:"weekend"})}function UG(e){return n.jsx(r,{...e,iconKey:"west"})}function YG(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function jG(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function $G(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function qG(e){return n.jsx(r,{...e,iconKey:"widgets"})}function JG(e){return n.jsx(r,{...e,iconKey:"width_full"})}function ZG(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function XG(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function xG(e){return n.jsx(r,{...e,iconKey:"wifi"})}function RG(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function e5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function n5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function o5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function r5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function t5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function c5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function i5(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function a5(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function l5(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function s5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function d5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function u5(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function f5(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function A5(e){return n.jsx(r,{...e,iconKey:"window"})}function y5(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function g5(e){return n.jsx(r,{...e,iconKey:"woman"})}function _5(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function h5(e){return n.jsx(r,{...e,iconKey:"work"})}function I5(e){return n.jsx(r,{...e,iconKey:"work_history"})}function b5(e){return n.jsx(r,{...e,iconKey:"work_off"})}function p5(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function w5(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function k5(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function m5(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function v5(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function C5(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function K5(e){return n.jsx(r,{...e,iconKey:"yard"})}function S5(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function B5(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function E5(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function F5(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function P5(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}const D5={large:"w-6 h-6 rounded flex items-center justify-center",medium:"w-5 h-5 rounded flex items-center justify-center",small:"w-4 h-4 rounded flex items-center justify-center"},N5={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Er=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:F(N5[i],"inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",a?"rounded-full hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75":"",a?"cursor-pointer":"cursor-default"),children:n.jsx(Xt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:F("border-2 relative transition-colors ease-in-out duration-150",D5[i],c?"bg-gray-400 dark:bg-gray-600":l?"bg-primary":"bg-white dark:bg-gray-900",l?"text-gray-100 dark:text-gray-900":"",c||l?"border-transparent":"border-gray-800 dark:border-gray-200"),children:n.jsx(Xt.Indicator,{asChild:!0,children:t?n.jsx("div",{className:"w-full h-[1px] bg-currentColor"}):n.jsx(r,{iconKey:"check",size:20,className:"absolute"})})})})})};function Oc(e){let t=0,c,i;for(c=0;c<e.length;c++)i=e.charCodeAt(c),t=(t<<5)-t+i,t|=0;return Math.abs(t)}const So={blueLighter:{color:"#cfdfff",text:"#102046"},cyanLighter:{color:"#d0f0fd",text:"#04283f"},tealLighter:{color:"#c2f5e9",text:"#012524"},greenLighter:{color:"#d1f7c4",text:"#0b1d05"},yellowLighter:{color:"#ffeab6",text:"#3b2501"},orangeLighter:{color:"#fee2d5",text:"#6b2613"},redLighter:{color:"#ffdce5",text:"#4c0c1c"},pinkLighter:{color:"#ffdaf6",text:"#400832"},purpleLighter:{color:"#ede2fe",text:"#280b42"},grayLighter:{color:"#eee",text:"#040404"},blueLight:{color:"#9cc7ff",text:"#102046"},cyanLight:{color:"#77d1f3",text:"#04283f"},tealLight:{color:"#72ddc3",text:"#012524"},greenLight:{color:"#93e088",text:"#0b1d05"},yellowLight:{color:"#ffd66e",text:"#3b2501"},orangeLight:{color:"#ffa981",text:"#6b2613"},redLight:{color:"#ff9eb7",text:"#4c0c1c"},pinkLight:{color:"#f99de2",text:"#400832"},purpleLight:{color:"#cdb0ff",text:"#280b42"},grayLight:{color:"#ccc",text:"#040404"},blueDark:{color:"#2d7ff9",text:"#fff"},cyanDark:{color:"#18bfff",text:"#fff"},tealDark:{color:"#20d9d2",text:"#fff"},greenDark:{color:"#20c933",text:"#fff"},yellowDark:{color:"#fcb400",text:"#fff"},orangeDark:{color:"#ff6f2c",text:"#fff"},redDark:{color:"#f82b60",text:"#fff"},pinkDark:{color:"#ff08c2",text:"#fff"},purpleDark:{color:"#8b46ff",text:"#fff"},grayDark:{color:"#666",text:"#fff"},blueDarker:{color:"#2750ae",text:"#cfdfff"},cyanDarker:{color:"#0b76b7",text:"#d0f0fd"},tealDarker:{color:"#06a09b",text:"#daf3e9"},greenDarker:{color:"#338a17",text:"#d1f7c4"},yellowDarker:{color:"#b87503",text:"#ffeab6"},orangeDarker:{color:"#d74d26",text:"#fee2d5"},redDarker:{color:"#ba1e45",text:"#ffdce5"},pinkDarker:{color:"#b2158b",text:"#ffdaf6"},purpleDarker:{color:"#6b1cb0",text:"#ede2fe"},grayDarker:{color:"#444",text:"#eee"}};function Lc(e){const t=Oc(e),c=Object.keys(So),i=t%c.length;return So[c[i]]}function T5(e){return So[e]}const M5={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function Bo({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?T5(t):t;return n.jsxs("div",{className:F("rounded-lg w-fit h-fit font-regular inline-flex items-center gap-1","truncate",a?"cursor-pointer hover:bg-gray-300 hover:dark:bg-gray-700":"",M5[s],c||!u?"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-200":"",c?"text-red-500 dark:text-red-400":"",d),onClick:a,style:{backgroundColor:c||!u?void 0:u.color,color:c||!u?void 0:u.text},children:[e,l]})}const O5="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",L5="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",Q5="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",V5={medium:"w-10 !h-10 min-w-10 min-h-10",small:"w-8 !h-8 min-w-8 min-h-8",large:"w-12 !h-12 min-w-12 min-h-12"},W5={circular:"rounded-full",square:"rounded-md"},G5=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...u},A)=>{const g=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",h=d||"button";return n.jsx(h,{type:"button",ref:A,...u,className:F(Ie,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",Q5,g,L5,O5,W5[a],V5[c],t),children:e})},R=f.forwardRef(G5),Qc=f.createContext({}),We=()=>f.useContext(Qc),Vc=f.createContext({}),Ae=()=>f.useContext(Vc),Fr=f.createContext({}),un=()=>f.useContext(Fr),Wc=f.createContext({}),no=()=>f.useContext(Wc),Gc=f.createContext({}),fn=()=>f.useContext(Gc),zc=f.createContext({}),Tn=()=>f.useContext(zc),An=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=qt.useSnackbar(),c=f.useCallback(a=>{const{type:l,message:s,autoHideDuration:d}=a;e({message:s,variant:l,autoHideDuration:d})},[]),i=f.useCallback(()=>{t()},[]);return f.useMemo(()=>({open:c,close:i}),[c,i])},Hc=f.createContext(void 0),Mn=()=>f.useContext(Hc),Uc=f.createContext({}),z5=({children:e})=>{const[t,c]=f.useState([]),i=f.useRef(t),a=d=>{i.current=d,c(d)},l=f.useCallback(()=>{if(t.length===0)return;const d=[...t.slice(0,-1)];a(d)},[t]),s=f.useCallback(d=>{const u=[...t,d];return a(u),{closeDialog:()=>{const A=i.current.filter(g=>g.key!==d.key);a(A)}}},[t]);return n.jsxs(Uc.Provider,{value:{open:s,close:l},children:[e,t.map((d,u)=>n.jsx(d.Component,{open:!0},`dialog_${u}`))]})},H5=()=>f.useContext(Uc),Pr=f.createContext({}),ee=()=>{const e=f.useContext(Pr),t=un(),c=no(),i=fn(),a=Ae(),l=We(),s=Tn(),d=An(),u=Mn(),A=H5();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u,dialogsController:A}};function Yc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=We(),u=Ae().resolveAliasesFrom(e),A=i?i[0]:void 0,g=i?i[1]:void 0,h=ee(),[_,y]=f.useState([]),[I,b]=f.useState(!1),[p,w]=f.useState(),[k,m]=f.useState(!1);return f.useEffect(()=>{b(!0);const v=async K=>{if(t.callbacks?.onFetch)try{K=await Promise.all(K.map(C=>t.callbacks.onFetch({collection:t,path:u,entity:C,context:h})))}catch(C){console.error(C)}b(!1),w(void 0),y(K.map(C=>({...C}))),m(!a||K.length<a)},S=K=>{console.error("ERROR",K),b(!1),y([]),w(K)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:v,onError:S,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:g}):(s.fetchCollection({path:u,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:g}).then(v).catch(S),()=>{})},[u,a,g,A,c,l]),{data:_,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Dr={};function Nr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=We(),s=Ae().resolveAliasesFrom(e),d=ee(),[u,A]=f.useState(),[g,h]=f.useState(!0),[_,y]=f.useState();return f.useEffect(()=>{h(!0);const I=async p=>{if(c.callbacks?.onFetch&&p)try{p=await c.callbacks.onFetch({collection:c,path:s,entity:p,context:d})}catch(w){console.error(w)}Dr[`${s}/${t}`]=p,A(p),h(!1),y(void 0)},b=p=>{console.error("ERROR fetching entity",p),h(!1),A(void 0),y(p)};return t&&i&&Dr[`${s}/${t}`]?(A(Dr[`${s}/${t}`]),h(!1),y(void 0),()=>{}):t&&s&&c?a.listenEntity?a.listenEntity({path:s,entityId:t,collection:c,onUpdate:I,onError:b}):(a.fetchEntity({path:s,entityId:t,collection:c}).then(I).catch(b),()=>{}):(I(void 0),()=>{})},[t,s]),{entity:u,dataLoading:g,dataLoadingError:_}}class $e{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class Eo{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const oo="type",Fo="value";function On(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function ro(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Ee(e){return typeof e=="function"}function to(e){return e?Object.entries(e).map(([t,c])=>{const i=Po(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function Po(e){if(!Ee(e))if(e.dataType==="map"&&e.properties){const t=to(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:Tr(e.dataType)}function Tr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function jc({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return Mr(e,t,(l,s)=>{if(s.dataType==="date"){let d;return c==="existing"&&s.autoValue==="on_update"||(c==="new"||c==="copy")&&(s.autoValue==="on_update"||s.autoValue==="on_create")?d=i:d=l,s.mode==="date"&&(d=a(d)),d}else return l})??{}}function U5(e,t){const c=e;return Object.entries(t).forEach(([i,a])=>{e&&e[i]!==void 0?c[i]=e[i]:a.validation?.required&&(c[i]=null)}),c}function Cn(e){return new $e(e.id,e.path)}function Mr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=Do(d,s,c);if(u!==void 0)return{[l]:u}}).reduce((l,s)=>({...l,...s}),{}),a={...e,...i};if(Object.keys(a).length!==0)return a}function Do(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=Mr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Do(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??oo,l=t.oneOf?.valueField??Fo;i=e.map(s=>{if(s===null)return null;if(typeof s!="object")return s;const d=s[a],u=t.oneOf?.properties[d];return!d||!u?s:{[a]:d,[l]:Do(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function Or(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Ee(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Or(l.properties,l.propertiesOrder)}}:{[a]:l}}else return}).filter(a=>a!==void 0).reduce((a,l)=>({...a,...l}),{})}catch(c){return console.error("Error sorting properties",c),e}}function Lr(e,t){if(e)return typeof e=="string"?e:e(t)}const Y5=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,j5=e=>{const t=e.match(Y5);return t?t.map(c=>c.toLowerCase()).join("-"):""},$5=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,q5=e=>{const t=e.match($5);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Ln(e=5){return Math.random().toString(36).slice(2,2+e)}function J5(){return Math.floor(Math.random()*16777215).toString(16)}function No(e,t="_",c=!0){if(!e)return"";const i="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;-",a=`aaaaaeeeeeiiiiooooouuuunc${t}${t}${t}${t}${t}${t}${t}`;for(let l=0,s=i.length;l<s;l++)e=e.replace(new RegExp(i.charAt(l),"g"),a.charAt(l));return e=e.toString().replace(/\s+/g,t).replace(/&/g,t).replace(/[^\w\\-]+/g,"").replace(new RegExp("\\"+t+"\\"+t+"+","g"),t).trim().replace(/^\s+|\s+$/g,""),c?e.toLowerCase():e}const $c="MMMM dd, yyyy, HH:mm:ss";function yn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function To(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function qc(e,t){const c=To(e,t);if(!c?.color)return Lc(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return So[c.color];if(typeof c.color=="object")return c.color}}function Z5(e){return typeof e=="object"&&e.disabled}function Jc(e){if(e!==void 0)return typeof e=="object"?e.label:e}const Zc=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function Mo(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ge(e,t){const c=Mo(e),i=c?{...e}:e;return c&&Mo(t)&&Object.keys(t).forEach(a=>{Mo(t[a])?a in e?i[a]=Ge(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function gn(e,t){if(e&&typeof e=="object"){if(t in e)return e[t];if(t.includes(".")||t.includes("[")){let c=t.split(/[.[]/);t.includes("[")&&(c=c.map(d=>d.replace("]","")));const i=c[0],a=Array.isArray(e[i])&&!isNaN(parseInt(c[1])),l=a?e[i][parseInt(c[1])]:e[i],s=c.slice(a?2:1).join(".");return s===""?l:gn(l,s)}}}function X5(e,t){let c={...e};const i=t.split("."),a=i.pop();for(const l of i)c=c[l];return a&&delete c[a],c}function Qr(e){if(e!==void 0)return e===null?null:typeof e=="object"?Object.entries(e).filter(([t,c])=>typeof c!="function").map(([t,c])=>Array.isArray(c)?{[t]:c.map(i=>Qr(i))}:typeof c=="object"?{[t]:Qr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function Vr(e){if(!e)return null;if(typeof e=="object"){if("id"in e)return e.id;if(e instanceof Date)return e.toLocaleString();if(e instanceof Eo)return Jt(e)}return Jt(e,{ignoreUnknown:!0})}function Wr(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>Wr(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!Gr(e)){const a=Wr(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!Gr(a)&&s&&(c[i]=a)}}),c)}return e}function Gr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}function Xc(e,t){const c=l=>typeof l=="object"&&l!==null,i=l=>Array.isArray(l);if(!c(e)||!c(t))return e;const a=i(e)?[...e]:{...e};return Object.keys(t).forEach(l=>{l in a&&(c(a[l])&&c(t[l])?a[l]=Xc(a[l],t[l]):a[l]===t[l]&&(i(a)?a.splice(l,1):delete a[l]))}),a}const xc="::";function zr(e){return Rc(ze(e))}function Rc(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${xc}${c}`)}function ze(e){return e.split("/").filter((t,c)=>c%2===0)}function x5(e){return e?e.toString():""}function ei(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function R5(e){return e.match(/\/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)\/((?:g(?:im?|mi?)?|i(?:gm?|mg?)?|m(?:gi?|ig?)?)?)/)?!0:!!e.match(/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)/)}function ez(e){return e.includes("-")||e.includes("_")||!e.includes(" ")?e.replace(/[-_]/g," ").replace(/\w\S*/g,function(c){return c.charAt(0).toUpperCase()+c.substr(1)}):e}function we(e){return ni(oi(e))}function ni(e){return e.startsWith("/")?e.slice(1):e}function oi(e){return e.endsWith("/")?e.slice(0,-1):e}function nz(e){return e.startsWith("/")?e:`/${e}`}function oz(e){const t=we(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function Hr(e,t){const c=we(e),i=c.split("/");if(i.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const a=t.find(s=>s.id===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=Oo(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+Hr(d,s.subcollections)}else return l??c}function Oo(e,t){const c=we(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=Lo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.id??"").localeCompare(A.id??"")).find(u=>u.id===s||u.path===s);if(d){if(s===e)a=d;else if(d.subcollections){const u=e.replace(s,"").split("/").slice(2).join("/");u.length>0&&(a=Oo(u,d.subcollections))}}if(a)break}return a}function Lo(e){const t=e.length>0&&e.length%2===0?e.splice(0,e.length-1):e,c=t.length,i=[];for(let a=c;a>0;a=a-2)i.push(t.slice(0,a).join("/"));return i}function Qo(e,t,c,i=300){const a=f.useRef(!1),l=()=>{t(),a.current=!1},s=f.useRef(void 0);f.useEffect(()=>(a.current=!0,clearTimeout(s.current),s.current=setTimeout(l,i),()=>{c&&l()}),[c,e])}function rz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}const ye=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(vn("Tooltip",tz),a?n.jsx(Jn.Provider,{delayDuration:250,children:n.jsxs(Jn.Root,{open:e,onOpenChange:i,children:[n.jsx(Jn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Jn.Portal,{children:n.jsx(Jn.Content,{className:F("TooltipContent","max-w-lg leading-relaxed","z-50 rounded px-3 py-2 text-xs leading-none bg-gray-700 dark:bg-gray-800 bg-opacity-90 font-medium text-gray-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",d),sideOffset:c===void 0?4:c,side:t,children:a})})]})}):n.jsx(n.Fragment,{children:u})),tz=`
30
30
 
31
31
  .TooltipContent {
32
32
  animation-duration: 220ms;
@@ -90,12 +90,12 @@
90
90
  opacity: 1;
91
91
  transform: translateX(0);
92
92
  }
93
- }`;function ri(e){return n.jsx(ye,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const ti={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",label:"label",body1:"p",body2:"p",inherit:"p",caption:"p",button:"span"},cz={inherit:"text-inherit",initial:"text-current",primary:"text-text-primary dark:text-text-primary-dark",secondary:"text-text-secondary dark:text-text-secondary-dark",disabled:"text-text-disabled dark:text-text-disabled-dark",error:"text-red-600 dark:text-red-500"},iz={h1:"text-6xl font-headers font-light",h2:"text-5xl font-headers font-light",h3:"text-4xl font-headers font-normal",h4:"text-3xl font-headers font-normal",h5:"text-2xl font-headers font-normal",h6:"text-xl font-headers font-medium",subtitle1:"text-lg font-headers font-medium",subtitle2:"text-base font-headers font-medium",body1:"text-base",body2:"text-sm",label:"text-sm font-medium text-gray-500",inherit:"text-inherit",caption:"text-xs",button:"text-sm font-medium"};function Z({align:e="inherit",color:t="primary",children:c,className:i,component:a,gutterBottom:l=!1,noWrap:s=!1,paragraph:d=!1,variant:u="body1",variantMapping:A=ti,style:_,onClick:h,...g}){const y=a||(d?"p":A[u]||ti[u])||"span",I=F(Ie,iz[u],t?cz[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(y,{className:I,onClick:h,style:_,...g,children:c})}function me({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t;console.log("ErrorView",t);const a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(kr,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(Z,{variant:"body2",className:"font-medium",children:e}),n.jsx(Z,{variant:"body2",children:i})]})]});return c?n.jsx(ri,{title:c,children:a}):a}function Qn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const az=40,lz=100,sz=200;function Vn(e){if(e==="tiny")return az;if(e==="small")return lz;if(e==="medium")return sz;throw Error("Thumbnail size not mapped")}function gn(e){switch(e){case"xs":case"s":return"tiny";case"m":return"small";case"l":case"xl":return"medium";default:throw Error("Missing mapping value in getPreviewSizeFrom: "+e)}}function ci({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Vn(e),[e]);if(e==="tiny")return n.jsx("img",{src:t,className:"rounded-md",style:{position:"relative",objectFit:"cover",width:a,height:a,maxHeight:"100%"}},"tiny_image_preview_"+t);const l={maxWidth:"100%",maxHeight:"100%"};return n.jsxs("div",{className:"relative flex items-center justify-center max-w-full max-h-full",style:{width:a,height:a},onMouseEnter:()=>i(!0),onMouseMove:()=>i(!0),onMouseLeave:()=>i(!1),children:[n.jsx("img",{src:t,className:"rounded-md",style:l}),c&&n.jsxs(n.Fragment,{children:[navigator&&n.jsx(ye,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(R,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(xn,{className:"text-gray-500",size:"small"})})})}),n.jsx(ye,{title:"Open image in new tab",children:n.jsx(R,{variant:"filled",component:"a",style:{position:"absolute",bottom:-4,right:-4},href:t,rel:"noopener noreferrer",target:"_blank",size:"small",onClick:s=>s.stopPropagation(),children:n.jsx(Rn,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function co({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(ci,{url:e,size:c}):t==="audio"?n.jsxs("audio",{controls:!0,src:e,children:["Your browser does not support the",n.jsx("code",{children:"audio"})," element."]}):t==="video"?n.jsx("video",{className:`max-w-${c==="small"?"sm":"md"}`,controls:!0,children:n.jsx("source",{src:e})}):n.jsxs("a",{href:e,rel:"noopener noreferrer",target:"_blank",onClick:a=>a.stopPropagation(),className:"flex flex-col items-center justify-center",style:{width:Vn(c),height:Vn(c)},children:[n.jsx(uc,{className:"flex-grow"}),i&&n.jsx(ye,{title:i,children:n.jsx(Z,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Qn,{}):n.jsxs("a",{className:"flex gap-4 break-words items-center font-medium text-primary visited:text-primary dark:visited:text-primary dark:text-primary",href:e,rel:"noopener noreferrer",onMouseDown:a=>{a.preventDefault()},target:"_blank",children:[n.jsx(Rn,{size:"small"}),e]})}function Wn({property:e,size:t}){e||console.error("No property assigned for skeleton component",e,t);let c;if(e.dataType==="string"){const i=e;i.url?c=_z(i,t):i.storage?c=Yr(t):c=on()}else if(e.dataType==="array"){const i=e;i.of&&(Array.isArray(i.of)?c=n.jsxs(n.Fragment,{children:[i.of.map((a,l)=>Ur(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=uz(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=Az():i.of.storage?c=Ur(i.of):c=fz():c=Ur(i.of))}else e.dataType==="map"?c=dz(e,t):e.dataType==="date"?c=on():e.dataType==="reference"?c=yz():(e.dataType,c=on());return c||null}function dz(e,t){if(!e.properties)return n.jsx(n.Fragment,{});let c;return t==="medium"?c=Object.keys(e.properties):(c=e.previewProperties||Object.keys(e.properties),t==="small"?c=c.slice(0,3):t==="tiny"&&(c=c.slice(0,1))),t!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-4",children:c.map((i,a)=>n.jsx("div",{children:e.properties&&e.properties[i]&&n.jsx(Wn,{property:e.properties[i],size:"small"})},`map_${i}`))}):n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:c&&c.map((i,a)=>n.jsxs("tr",{className:"border-b last:border-b-0",children:[n.jsx("th",{className:"align-top",style:{width:"30%"},children:n.jsx("p",{className:"text-xs text-secondary",children:e.properties[i].name})},`table-cell-title--${i}`),n.jsx("th",{style:{width:"70%"},children:e.properties&&e.properties[i]&&n.jsx(Wn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function uz(e,t,c){let i=c;return(!i||!i.length)&&(i=Object.keys(e),t&&(i=i.slice(0,3))),n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:[0,1,2].map((a,l)=>n.jsx("tr",{children:i&&i.map(s=>n.jsx("th",{children:n.jsx(Wn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function fz(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>on(t))})}function Az(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:on(t)}))})}function Ur(e,t=0){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((c,i)=>n.jsx(n.Fragment,{children:n.jsx(Wn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Yr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Oe,{width:t,height:t})}function yz(){return n.jsx(Oe,{width:200,height:100})}function _z(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[jr(),on()]}):gz(t)}function gz(e){return n.jsx("div",{className:`w-${Vn(e)} h-${Vn(e)}`,children:jr()})}function on(e,t=120){return n.jsx(Oe,{width:t},`skeleton_${e}`)}function hz(e){return n.jsx(Oe,{height:20})}function jr(){return n.jsx(Oe,{width:24,height:24})}const ii=f.memo(li,Iz);function Iz(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const ai={};function li({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Tn(),[s,d]=f.useState(ai[t]);if(f.useEffect(()=>{if(!t)return;let _=!1;return l.getDownloadURL(t).then(function(h){_||(d(h),ai[t]=h)}).catch(a),()=>{_=!0}},[t]),!t)return null;const u=s?.metadata?bz(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(me,{error:"File not found"}):s?.url?n.jsx(co,{previewType:A,url:s.url,size:c,hint:t}):Yr(c)}function bz(e){return e.startsWith("image")?"image/*":e.startsWith("video")?"video/*":e.startsWith("audio")?"audio/*":e.startsWith("application")?"application/*":e.startsWith("text")?"text/*":e.startsWith("font")?"font/*":e}function Fe({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=yn(e),s=t!==void 0?To(l,t):void 0,d=Jc(s),u=qc(l,t);return n.jsxs(Bo,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function $r({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=Tt(c);return n.jsx(Fe,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=Lc(e??"");return n.jsx(ae,{children:n.jsx(Bo,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(co,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
93
+ }`;function ri(e){return n.jsx(ye,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const ti={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",label:"label",body1:"p",body2:"p",inherit:"p",caption:"p",button:"span"},cz={inherit:"text-inherit",initial:"text-current",primary:"text-text-primary dark:text-text-primary-dark",secondary:"text-text-secondary dark:text-text-secondary-dark",disabled:"text-text-disabled dark:text-text-disabled-dark",error:"text-red-600 dark:text-red-500"},iz={h1:"text-6xl font-headers font-light",h2:"text-5xl font-headers font-light",h3:"text-4xl font-headers font-normal",h4:"text-3xl font-headers font-normal",h5:"text-2xl font-headers font-normal",h6:"text-xl font-headers font-medium",subtitle1:"text-lg font-headers font-medium",subtitle2:"text-base font-headers font-medium",body1:"text-base",body2:"text-sm",label:"text-sm font-medium text-gray-500",inherit:"text-inherit",caption:"text-xs",button:"text-sm font-medium"};function Z({align:e="inherit",color:t="primary",children:c,className:i,component:a,gutterBottom:l=!1,noWrap:s=!1,paragraph:d=!1,variant:u="body1",variantMapping:A=ti,style:g,onClick:h,..._}){const y=a||(d?"p":A[u]||ti[u])||"span",I=F(Ie,iz[u],t?cz[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(y,{className:I,onClick:h,style:g,..._,children:c})}function me({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t;console.log("ErrorView",t);const a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(kr,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(Z,{variant:"body2",className:"font-medium",children:e}),n.jsx(Z,{variant:"body2",children:i})]})]});return c?n.jsx(ri,{title:c,children:a}):a}function Qn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const az=40,lz=100,sz=200;function Vn(e){if(e==="tiny")return az;if(e==="small")return lz;if(e==="medium")return sz;throw Error("Thumbnail size not mapped")}function _n(e){switch(e){case"xs":case"s":return"tiny";case"m":return"small";case"l":case"xl":return"medium";default:throw Error("Missing mapping value in getPreviewSizeFrom: "+e)}}function ci({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Vn(e),[e]);if(e==="tiny")return n.jsx("img",{src:t,className:"rounded-md",style:{position:"relative",objectFit:"cover",width:a,height:a,maxHeight:"100%"}},"tiny_image_preview_"+t);const l={maxWidth:"100%",maxHeight:"100%"};return n.jsxs("div",{className:"relative flex items-center justify-center max-w-full max-h-full",style:{width:a,height:a},onMouseEnter:()=>i(!0),onMouseMove:()=>i(!0),onMouseLeave:()=>i(!1),children:[n.jsx("img",{src:t,className:"rounded-md",style:l}),c&&n.jsxs(n.Fragment,{children:[navigator&&n.jsx(ye,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(R,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(xn,{className:"text-gray-500",size:"small"})})})}),n.jsx(ye,{title:"Open image in new tab",children:n.jsx(R,{variant:"filled",component:"a",style:{position:"absolute",bottom:-4,right:-4},href:t,rel:"noopener noreferrer",target:"_blank",size:"small",onClick:s=>s.stopPropagation(),children:n.jsx(Rn,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function co({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(ci,{url:e,size:c}):t==="audio"?n.jsxs("audio",{controls:!0,src:e,children:["Your browser does not support the",n.jsx("code",{children:"audio"})," element."]}):t==="video"?n.jsx("video",{className:`max-w-${c==="small"?"sm":"md"}`,controls:!0,children:n.jsx("source",{src:e})}):n.jsxs("a",{href:e,rel:"noopener noreferrer",target:"_blank",onClick:a=>a.stopPropagation(),className:"flex flex-col items-center justify-center",style:{width:Vn(c),height:Vn(c)},children:[n.jsx(uc,{className:"flex-grow"}),i&&n.jsx(ye,{title:i,children:n.jsx(Z,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Qn,{}):n.jsxs("a",{className:"flex gap-4 break-words items-center font-medium text-primary visited:text-primary dark:visited:text-primary dark:text-primary",href:e,rel:"noopener noreferrer",onMouseDown:a=>{a.preventDefault()},target:"_blank",children:[n.jsx(Rn,{size:"small"}),e]})}function Wn({property:e,size:t}){e||console.error("No property assigned for skeleton component",e,t);let c;if(e.dataType==="string"){const i=e;i.url?c=gz(i,t):i.storage?c=Yr(t):c=on()}else if(e.dataType==="array"){const i=e;i.of&&(Array.isArray(i.of)?c=n.jsxs(n.Fragment,{children:[i.of.map((a,l)=>Ur(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=uz(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=Az():i.of.storage?c=Ur(i.of):c=fz():c=Ur(i.of))}else e.dataType==="map"?c=dz(e,t):e.dataType==="date"?c=on():e.dataType==="reference"?c=yz():(e.dataType,c=on());return c||null}function dz(e,t){if(!e.properties)return n.jsx(n.Fragment,{});let c;return t==="medium"?c=Object.keys(e.properties):(c=e.previewProperties||Object.keys(e.properties),t==="small"?c=c.slice(0,3):t==="tiny"&&(c=c.slice(0,1))),t!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-4",children:c.map((i,a)=>n.jsx("div",{children:e.properties&&e.properties[i]&&n.jsx(Wn,{property:e.properties[i],size:"small"})},`map_${i}`))}):n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:c&&c.map((i,a)=>n.jsxs("tr",{className:"border-b last:border-b-0",children:[n.jsx("th",{className:"align-top",style:{width:"30%"},children:n.jsx("p",{className:"text-xs text-secondary",children:e.properties[i].name})},`table-cell-title--${i}`),n.jsx("th",{style:{width:"70%"},children:e.properties&&e.properties[i]&&n.jsx(Wn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function uz(e,t,c){let i=c;return(!i||!i.length)&&(i=Object.keys(e),t&&(i=i.slice(0,3))),n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:[0,1,2].map((a,l)=>n.jsx("tr",{children:i&&i.map(s=>n.jsx("th",{children:n.jsx(Wn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function fz(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>on(t))})}function Az(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:on(t)}))})}function Ur(e,t=0){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((c,i)=>n.jsx(n.Fragment,{children:n.jsx(Wn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Yr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Oe,{width:t,height:t})}function yz(){return n.jsx(Oe,{width:200,height:100})}function gz(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[jr(),on()]}):_z(t)}function _z(e){return n.jsx("div",{className:`w-${Vn(e)} h-${Vn(e)}`,children:jr()})}function on(e,t=120){return n.jsx(Oe,{width:t},`skeleton_${e}`)}function hz(e){return n.jsx(Oe,{height:20})}function jr(){return n.jsx(Oe,{width:24,height:24})}const ii=f.memo(li,Iz);function Iz(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const ai={};function li({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Tn(),[s,d]=f.useState(ai[t]);if(f.useEffect(()=>{if(!t)return;let g=!1;return l.getDownloadURL(t).then(function(h){g||(d(h),ai[t]=h)}).catch(a),()=>{g=!0}},[t]),!t)return null;const u=s?.metadata?bz(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(me,{error:"File not found"}):s?.url?n.jsx(co,{previewType:A,url:s.url,size:c,hint:t}):Yr(c)}function bz(e){return e.startsWith("image")?"image/*":e.startsWith("video")?"video/*":e.startsWith("audio")?"audio/*":e.startsWith("application")?"application/*":e.startsWith("text")?"text/*":e.startsWith("font")?"font/*":e}function Fe({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=yn(e),s=t!==void 0?To(l,t):void 0,d=Jc(s),u=qc(l,t);return n.jsxs(Bo,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function $r({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=Tt(c);return n.jsx(Fe,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=Lc(e??"");return n.jsx(ae,{children:n.jsx(Bo,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(co,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
94
94
  `);return t&&t.includes(`
95
- `)?n.jsx("div",{className:"overflow-x-scroll",children:a.map((l,s)=>n.jsxs(f.Fragment,{children:[n.jsx("span",{children:l}),s!==a.length-1&&n.jsx("br",{})]},`string_preview_${s}`))}):n.jsx(n.Fragment,{children:t})}}}function qr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(!s.of)throw Error(`You need to specify an 'of' prop (or specify a custom field) in your array property ${e}`);if(s.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");const d=t;if(!d)return null;const u=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col gap-2",children:d&&d.map((A,_)=>{const h=s.resolvedProperties[_]??s.resolvedProperties[_]??(Array.isArray(s.of)?s.of[_]:s.of);return h?n.jsx(f.Fragment,{children:n.jsx("div",{className:F(fe,"m-1 border-b last:border-b-0"),children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,entity:i,value:A,property:h,size:u})})})},"preview_array_"+_):null})})}const rn=le.memo(function(t){const c=t.reference;return c instanceof $e?n.jsx(wz,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Vo,{onClick:t.onClick,size:t.size,children:n.jsx(me,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},pz);function pz(e,t){return e.disabled===t.disabled&&e.size===t.size&&e.onHover===t.onHover&&e.reference?.id===t.reference?.id&&e.reference?.path===t.reference?.path&&e.allowEntityNavigation===t.allowEntityNavigation}function wz({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ee(),A=Ae().getCollection(t.path);if(!A){if(d.components?.missingReference)return n.jsx(d.components.missingReference,{path:t.path});throw Error(`Couldn't find the corresponding collection view for the path: ${t.path}`)}return n.jsx(kz,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function kz({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=fn(),{entity:_,dataLoading:h,dataLoadingError:g}=Nr({path:e.path,entityId:e.id,collection:t,useCache:!0});_&&si.set(e.pathWithId,_);const y=_??si.get(e.pathWithId),I=f.useMemo(()=>Te({collection:t,path:e.path,values:y?.values,fields:u.propertyConfigs}),[t]),b=f.useMemo(()=>ma(I,u.propertyConfigs,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?y&&!y.values?p=n.jsx(me,{error:"Reference does not exist",tooltip:e.path}):p=n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"flex flex-col flex-grow w-full max-w-[calc(100%-52px)] m-1",children:[i!=="tiny"&&(e?n.jsx("div",{className:`${i!=="medium"?"block whitespace-nowrap overflow-hidden truncate":""}`,children:n.jsx(Z,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(Oe,{})),b&&b.map(w=>{const k=I.properties[w];return k?n.jsx("div",{className:b.length>1?"my-0.5":"my-0",children:y?n.jsx(Ce,{propertyKey:w,value:_n(y.values,w),property:k,entity:y,size:"tiny"}):n.jsx(Wn,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&y&&l&&n.jsx(ye,{title:`See details for ${y.id}`,children:n.jsx(R,{color:"inherit",size:"small",onClick:w=>{w.stopPropagation(),u.onAnalyticsEvent?.("entity_click_from_reference",{path:y.path,entityId:y.id}),A.open({entityId:y.id,path:y.path,collection:I,updateUrl:!0})},children:n.jsx(Ko,{size:"small"})})})})]}):p=n.jsx(me,{error:"Reference not set"}),n.jsx(Vo,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(me,{error:"Could not find collection with id "+I})}function Vo({children:e,onHover:t,size:c,onClick:i}){return n.jsx(Z,{variant:"label",className:F("bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60","w-full","flex","rounded-md","overflow-hidden",t?"hover:bg-opacity-90 dark:hover:bg-opacity-90":"",c==="medium"?"p-2":"p-1",c==="tiny"?"items-center":"","transition-colors duration-300 ease-in-out ",i?"cursor-pointer":""),style:{tabindex:0},onClick:a=>{i&&(a.preventDefault(),i(a))},children:e})}const si=new Map;function di({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=In({propertyKey:e,property:c,propertyValue:t,fields:a.propertyConfigs});if(Array.isArray(l?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(l?.dataType!=="array"||!l.of||l.of.dataType!=="reference")throw Error("Picked wrong preview component ArrayOfReferencesPreview");const s=i==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col w-full",children:t&&t.map((d,u)=>{const A=l.of;return n.jsx("div",{className:"mt-1 mb-1 w-full",children:n.jsx(rn,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function ui({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=In({propertyKey:e,property:i,propertyValue:c,fields:l.propertyConfigs});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s.dataType!=="array"||!s.of||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");const d=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-wrap gap-2",children:c&&c.map((u,A)=>n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Jr({name:e,value:t,enumValues:c,size:i}){return n.jsx("div",{className:"flex flex-wrap gap-1.5",children:t&&t.map((a,l)=>n.jsx(ae,{children:n.jsx(Fe,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Zr({propertyKey:e,value:t,property:c,size:i}){if(c.dataType!=="array")throw Error("Picked wrong preview component ArrayEnumPreview");const a=c.of;if(!a.enumValues)throw Error("Picked wrong preview component ArrayEnumPreview");return t?n.jsx(Jr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function fi({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(!s.of||s.dataType!=="array"||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStringsPreview");if(t&&!Array.isArray(t))return n.jsx("div",{children:`Unexpected value: ${t}`});const d=s.of;return n.jsx("div",{className:"flex flex-col gap-2",children:t&&t.map((u,A)=>n.jsx("div",{children:n.jsx(ae,{children:n.jsx($r,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function Ai({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(s?.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");if(!s?.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${e}`);const d=t;if(!d)return null;const u=i==="medium"?"small":"tiny",A=s.oneOf.typeField??oo,_=s.oneOf.valueField??Fo,h=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((g,y)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:F(fe,"m-1 border-b last:border-b-0"),children:n.jsx(ae,{children:g&&n.jsx(Ce,{propertyKey:e,value:g[_],entity:a,property:s.resolvedProperties[y]??h[g[A]],size:u})})})},"preview_array_"+g+"_"+y))})}function yi({propertyKey:e,value:t,property:c,entity:i,size:a}){if(c.dataType!=="map")throw Error("Picked wrong preview component MapPropertyPreview");const l=c;if(!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(Xr,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a==="tiny"?n.jsx("div",{className:"w-full flex flex-col space-y-1 md:space-y-2",children:s.map((d,u)=>n.jsx("div",{children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:d,value:t[d],property:l.properties[d],entity:i,size:a})},"map_preview_"+l.name+d+u)},`map_${d}`))}):n.jsx("div",{className:"flex flex-col gap-1 w-full",children:s&&s.map((d,u)=>{const A=l.properties[d];return n.jsxs("div",{className:F(fe,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(Z,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(ae,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})})]}),(A.dataType==="map"||A==="array")&&n.jsx("div",{className:F(fe,"border-l pl-4 ml-2 my-2"),children:n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function Xr({value:e}){return typeof e!="object"?null:n.jsx("div",{className:"flex flex-col gap-1 w-full",children:Object.entries(e).map(([t,c])=>n.jsxs("div",{className:F(fe,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(Z,{variant:"caption",className:"font-mono break-words",color:"secondary",children:t})},`table-cell-title-${t}-${t}`),n.jsx("div",{className:"flex-grow max-w-[75%]",children:typeof c!="object"&&n.jsx(Z,{children:n.jsx(ae,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:F(fe,"border-l pl-4"),children:n.jsx(Xr,{value:c})})]},`map_preview_table_${t}}`))})}function _i({date:e}){const t=ee(),c=t?.locale?xt[t?.locale]:void 0,i=t?.dateTimeFormat??$c,a=e?qa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}function gi({value:e}){return n.jsx(Er,{checked:e})}function hi({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=yn(t.enumValues);return a?n.jsx(Fe,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Ce(e){const t=ee();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:u,entity:A}=e,_=Me({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.propertyConfigs});if(l===void 0||_===null)c=n.jsx(Qn,{});else if(_.Preview)c=f.createElement(_.Preview,{propertyKey:a,value:l,property:_,size:s,height:d,width:u,entity:A,customProps:_.customProps});else if(l===null)c=n.jsx(Qn,{});else if(_.dataType==="string"){const h=_;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(co,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(co,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx(ii,{storeUrl:_.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(Ao,{source:l}):c=n.jsx($r,{...e,property:h,value:l}):c=Kn(a,_.dataType,l)}else if(_.dataType==="array")if(l instanceof Array){const h=_;if(!h.of&&!h.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${a}`);h.of?Array.isArray(h.of)?c=n.jsx(qr,{...e,value:l,property:_}):h.of.dataType==="reference"?c=n.jsx(di,{...e,value:l,property:_}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(Zr,{...e,value:l,property:_}):h.of.storage?c=n.jsx(ui,{...e,value:l,property:_}):c=n.jsx(fi,{...e,value:l,property:_}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(Zr,{...e,value:l,property:_}):c=n.jsx(qr,{...e,value:l,property:_}):h.oneOf&&(c=n.jsx(Ai,{...e,value:l,property:_}))}else c=Kn(a,_.dataType,l);else _.dataType==="map"?typeof l=="object"?c=n.jsx(yi,{...e,property:_}):c=Kn(a,_.dataType,l):_.dataType==="date"?l instanceof Date?c=n.jsx(_i,{date:l}):c=Kn(a,_.dataType,l):_.dataType==="reference"?typeof _.path=="string"?l instanceof $e?c=n.jsx(rn,{disabled:!_.path,previewProperties:_.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=Kn(a,_.dataType,l):c=n.jsx(Qn,{}):_.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(gi,{value:l}):c=Kn(a,_.dataType,l):_.dataType==="number"?typeof l=="number"?c=n.jsx(hi,{...e,value:l,property:_}):c=Kn(a,_.dataType,l):c=JSON.stringify(l);return c??n.jsx(Qn,{})}function Kn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(me,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}function mz({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(Array.isArray(s?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s?.dataType!=="array"||!s.of||s.of.dataType!=="map")throw Error("Picked wrong preview component ArrayOfMapsPreview");const d=s.of,u=d.properties;if(!u)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);const A=t,_=d.previewProperties;if(!A)return null;let h=_;return(!h||!h.length)&&(h=Object.keys(u),i&&(h=h.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((g,y)=>n.jsx("div",{className:"border-b last:border-b-0",children:h&&h.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:I,value:g[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${g}_${y}`))})})}function Oe({width:e,height:t,className:c}){return n.jsx("span",{className:F("block","bg-gray-200 dark:bg-gray-800 rounded","animate-pulse",e?`w-[${e}px]`:"w-full",t?`h-[${t}px]`:"h-3","max-w-full max-h-full",c)})}const vz=le.memo(function({builder:t}){const[c,i]=f.useState(!0),[a,l]=f.useState(null);return f.useEffect(()=>{let s=!1;return t.then(d=>{s||(i(!1),l(d))}).catch(d=>{i(!1),console.error(d)}),()=>{s=!0}},[t]),c?n.jsx(Oe,{}):n.jsx(le.Fragment,{children:a})});function xr({entity:e,collection:t,path:c,className:i}){const a=ee(),l=f.useMemo(()=>Te({collection:t,path:c,entityId:e.id,values:e.values,fields:a.propertyConfigs}),[t,c,e]),s=ee(),d=l.properties;return n.jsx("div",{className:"w-full "+i,children:n.jsxs("div",{className:"w-full mb-4",children:[n.jsxs("div",{className:F(fe,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:"Id"})}),n.jsxs("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:[n.jsx("span",{className:"flex-grow mr-2",children:e.id}),s?.entityLinkBuilder&&n.jsx("a",{href:s.entityLinkBuilder({entity:e}),rel:"noopener noreferrer",target:"_blank",children:n.jsx(R,{children:n.jsx(Rn,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const _=e.values[u];return n.jsxs("div",{className:F(fe,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:A.name})}),n.jsx("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:n.jsx(Ce,{propertyKey:u,value:_,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function Cz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function Ii(e){if(e.columnWidth)return e.columnWidth;if(e.dataType==="string")return e.url?280:e.storage?160:e.enumValues?200:e.multiline||e.markdown?300:(e.email,200);if(e.dataType==="array"){const t=e;return t.of?Array.isArray(e.of)?300:Ii(t.of):300}else return e.dataType==="number"?e.enumValues?200:140:e.dataType==="map"?360:e.dataType==="date"?200:e.dataType==="reference"?220:e.dataType==="boolean"?140:200}function Rr(e){return`subcollection:${e.id??e.path}`}function bi(e,t=166){let c;function i(...a){const l=()=>{e.apply(this,a)};clearTimeout(c),c=setTimeout(l,t)}return i.clear=()=>{clearTimeout(c)},i}function io(e){return parseInt(e,10)||0}const Kz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function pi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const et=le.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:_,onBlur:h,sizeRef:g,ignoreBoxSizing:y,...I}=t,{current:b}=le.useRef(A!=null),p=le.useRef(null),w=Sz(c,p),k=le.useRef(null),m=le.useRef(0),[v,S]=le.useState({outerHeightStyle:0}),K=le.useCallback(()=>{const B=p.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(B);if(N.width==="0px")return{outerHeightStyle:0};const W=g?.current??k.current,z=k.current;W.style.width=N.width,z.value=B.value||t.placeholder||"x",z.value.slice(-1)===`
95
+ `)?n.jsx("div",{className:"overflow-x-scroll",children:a.map((l,s)=>n.jsxs(f.Fragment,{children:[n.jsx("span",{children:l}),s!==a.length-1&&n.jsx("br",{})]},`string_preview_${s}`))}):n.jsx(n.Fragment,{children:t})}}}function qr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(!s.of)throw Error(`You need to specify an 'of' prop (or specify a custom field) in your array property ${e}`);if(s.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");const d=t;if(!d)return null;const u=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col gap-2",children:d&&d.map((A,g)=>{const h=s.resolvedProperties[g]??s.resolvedProperties[g]??(Array.isArray(s.of)?s.of[g]:s.of);return h?n.jsx(f.Fragment,{children:n.jsx("div",{className:F(fe,"m-1 border-b last:border-b-0"),children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,entity:i,value:A,property:h,size:u})})})},"preview_array_"+g):null})})}const rn=le.memo(function(t){const c=t.reference;return c instanceof $e?n.jsx(wz,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Vo,{onClick:t.onClick,size:t.size,children:n.jsx(me,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},pz);function pz(e,t){return e.disabled===t.disabled&&e.size===t.size&&e.onHover===t.onHover&&e.reference?.id===t.reference?.id&&e.reference?.path===t.reference?.path&&e.allowEntityNavigation===t.allowEntityNavigation}function wz({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ee(),A=Ae().getCollection(t.path);if(!A){if(d.components?.missingReference)return n.jsx(d.components.missingReference,{path:t.path});throw Error(`Couldn't find the corresponding collection view for the path: ${t.path}`)}return n.jsx(kz,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function kz({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=fn(),{entity:g,dataLoading:h,dataLoadingError:_}=Nr({path:e.path,entityId:e.id,collection:t,useCache:!0});g&&si.set(e.pathWithId,g);const y=g??si.get(e.pathWithId),I=f.useMemo(()=>Te({collection:t,path:e.path,values:y?.values,fields:u.propertyConfigs}),[t]),b=f.useMemo(()=>ma(I,u.propertyConfigs,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?y&&!y.values?p=n.jsx(me,{error:"Reference does not exist",tooltip:e.path}):p=n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"flex flex-col flex-grow w-full max-w-[calc(100%-52px)] m-1",children:[i!=="tiny"&&(e?n.jsx("div",{className:`${i!=="medium"?"block whitespace-nowrap overflow-hidden truncate":""}`,children:n.jsx(Z,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(Oe,{})),b&&b.map(w=>{const k=I.properties[w];return k?n.jsx("div",{className:b.length>1?"my-0.5":"my-0",children:y?n.jsx(Ce,{propertyKey:w,value:gn(y.values,w),property:k,entity:y,size:"tiny"}):n.jsx(Wn,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&y&&l&&n.jsx(ye,{title:`See details for ${y.id}`,children:n.jsx(R,{color:"inherit",size:"small",onClick:w=>{w.stopPropagation(),u.onAnalyticsEvent?.("entity_click_from_reference",{path:y.path,entityId:y.id}),A.open({entityId:y.id,path:y.path,collection:I,updateUrl:!0})},children:n.jsx(Ko,{size:"small"})})})})]}):p=n.jsx(me,{error:"Reference not set"}),n.jsx(Vo,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(me,{error:"Could not find collection with id "+I})}function Vo({children:e,onHover:t,size:c,onClick:i}){return n.jsx(Z,{variant:"label",className:F("bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60","w-full","flex","rounded-md","overflow-hidden",t?"hover:bg-opacity-90 dark:hover:bg-opacity-90":"",c==="medium"?"p-2":"p-1",c==="tiny"?"items-center":"","transition-colors duration-300 ease-in-out ",i?"cursor-pointer":""),style:{tabindex:0},onClick:a=>{i&&(a.preventDefault(),i(a))},children:e})}const si=new Map;function di({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=In({propertyKey:e,property:c,propertyValue:t,fields:a.propertyConfigs});if(Array.isArray(l?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(l?.dataType!=="array"||!l.of||l.of.dataType!=="reference")throw Error("Picked wrong preview component ArrayOfReferencesPreview");const s=i==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col w-full",children:t&&t.map((d,u)=>{const A=l.of;return n.jsx("div",{className:"mt-1 mb-1 w-full",children:n.jsx(rn,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function ui({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=In({propertyKey:e,property:i,propertyValue:c,fields:l.propertyConfigs});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s.dataType!=="array"||!s.of||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");const d=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-wrap gap-2",children:c&&c.map((u,A)=>n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Jr({name:e,value:t,enumValues:c,size:i}){return n.jsx("div",{className:"flex flex-wrap gap-1.5",children:t&&t.map((a,l)=>n.jsx(ae,{children:n.jsx(Fe,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Zr({propertyKey:e,value:t,property:c,size:i}){if(c.dataType!=="array")throw Error("Picked wrong preview component ArrayEnumPreview");const a=c.of;if(!a.enumValues)throw Error("Picked wrong preview component ArrayEnumPreview");return t?n.jsx(Jr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function fi({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(!s.of||s.dataType!=="array"||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStringsPreview");if(t&&!Array.isArray(t))return n.jsx("div",{children:`Unexpected value: ${t}`});const d=s.of;return n.jsx("div",{className:"flex flex-col gap-2",children:t&&t.map((u,A)=>n.jsx("div",{children:n.jsx(ae,{children:n.jsx($r,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function Ai({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(s?.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");if(!s?.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${e}`);const d=t;if(!d)return null;const u=i==="medium"?"small":"tiny",A=s.oneOf.typeField??oo,g=s.oneOf.valueField??Fo,h=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((_,y)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:F(fe,"m-1 border-b last:border-b-0"),children:n.jsx(ae,{children:_&&n.jsx(Ce,{propertyKey:e,value:_[g],entity:a,property:s.resolvedProperties[y]??h[_[A]],size:u})})})},"preview_array_"+_+"_"+y))})}function yi({propertyKey:e,value:t,property:c,entity:i,size:a}){if(c.dataType!=="map")throw Error("Picked wrong preview component MapPropertyPreview");const l=c;if(!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(Xr,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a==="tiny"?n.jsx("div",{className:"w-full flex flex-col space-y-1 md:space-y-2",children:s.map((d,u)=>n.jsx("div",{children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:d,value:t[d],property:l.properties[d],entity:i,size:a})},"map_preview_"+l.name+d+u)},`map_${d}`))}):n.jsx("div",{className:"flex flex-col gap-1 w-full",children:s&&s.map((d,u)=>{const A=l.properties[d];return n.jsxs("div",{className:F(fe,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(Z,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(ae,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})})]}),(A.dataType==="map"||A==="array")&&n.jsx("div",{className:F(fe,"border-l pl-4 ml-2 my-2"),children:n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function Xr({value:e}){return typeof e!="object"?null:n.jsx("div",{className:"flex flex-col gap-1 w-full",children:Object.entries(e).map(([t,c])=>n.jsxs("div",{className:F(fe,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(Z,{variant:"caption",className:"font-mono break-words",color:"secondary",children:t})},`table-cell-title-${t}-${t}`),n.jsx("div",{className:"flex-grow max-w-[75%]",children:typeof c!="object"&&n.jsx(Z,{children:n.jsx(ae,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:F(fe,"border-l pl-4"),children:n.jsx(Xr,{value:c})})]},`map_preview_table_${t}}`))})}function gi({date:e}){const t=ee(),c=t?.locale?xt[t?.locale]:void 0,i=t?.dateTimeFormat??$c,a=e?qa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}function _i({value:e}){return n.jsx(Er,{checked:e})}function hi({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=yn(t.enumValues);return a?n.jsx(Fe,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Ce(e){const t=ee();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:u,entity:A}=e,g=Me({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.propertyConfigs});if(l===void 0||g===null)c=n.jsx(Qn,{});else if(g.Preview)c=f.createElement(g.Preview,{propertyKey:a,value:l,property:g,size:s,height:d,width:u,entity:A,customProps:g.customProps});else if(l===null)c=n.jsx(Qn,{});else if(g.dataType==="string"){const h=g;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(co,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(co,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx(ii,{storeUrl:g.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(Ao,{source:l}):c=n.jsx($r,{...e,property:h,value:l}):c=Kn(a,g.dataType,l)}else if(g.dataType==="array")if(l instanceof Array){const h=g;if(!h.of&&!h.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${a}`);h.of?Array.isArray(h.of)?c=n.jsx(qr,{...e,value:l,property:g}):h.of.dataType==="reference"?c=n.jsx(di,{...e,value:l,property:g}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(Zr,{...e,value:l,property:g}):h.of.storage?c=n.jsx(ui,{...e,value:l,property:g}):c=n.jsx(fi,{...e,value:l,property:g}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(Zr,{...e,value:l,property:g}):c=n.jsx(qr,{...e,value:l,property:g}):h.oneOf&&(c=n.jsx(Ai,{...e,value:l,property:g}))}else c=Kn(a,g.dataType,l);else g.dataType==="map"?typeof l=="object"?c=n.jsx(yi,{...e,property:g}):c=Kn(a,g.dataType,l):g.dataType==="date"?l instanceof Date?c=n.jsx(gi,{date:l}):c=Kn(a,g.dataType,l):g.dataType==="reference"?typeof g.path=="string"?l instanceof $e?c=n.jsx(rn,{disabled:!g.path,previewProperties:g.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=Kn(a,g.dataType,l):c=n.jsx(Qn,{}):g.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(_i,{value:l}):c=Kn(a,g.dataType,l):g.dataType==="number"?typeof l=="number"?c=n.jsx(hi,{...e,value:l,property:g}):c=Kn(a,g.dataType,l):c=JSON.stringify(l);return c??n.jsx(Qn,{})}function Kn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(me,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}function mz({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=In({propertyKey:e,property:c,propertyValue:t,fields:l.propertyConfigs});if(Array.isArray(s?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s?.dataType!=="array"||!s.of||s.of.dataType!=="map")throw Error("Picked wrong preview component ArrayOfMapsPreview");const d=s.of,u=d.properties;if(!u)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);const A=t,g=d.previewProperties;if(!A)return null;let h=g;return(!h||!h.length)&&(h=Object.keys(u),i&&(h=h.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((_,y)=>n.jsx("div",{className:"border-b last:border-b-0",children:h&&h.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:I,value:_[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${_}_${y}`))})})}function Oe({width:e,height:t,className:c}){return n.jsx("span",{className:F("block","bg-gray-200 dark:bg-gray-800 rounded","animate-pulse",e?`w-[${e}px]`:"w-full",t?`h-[${t}px]`:"h-3","max-w-full max-h-full",c)})}const vz=le.memo(function({builder:t}){const[c,i]=f.useState(!0),[a,l]=f.useState(null);return f.useEffect(()=>{let s=!1;return t.then(d=>{s||(i(!1),l(d))}).catch(d=>{i(!1),console.error(d)}),()=>{s=!0}},[t]),c?n.jsx(Oe,{}):n.jsx(le.Fragment,{children:a})});function xr({entity:e,collection:t,path:c,className:i}){const a=ee(),l=f.useMemo(()=>Te({collection:t,path:c,entityId:e.id,values:e.values,fields:a.propertyConfigs}),[t,c,e]),s=ee(),d=l.properties;return n.jsx("div",{className:"w-full "+i,children:n.jsxs("div",{className:"w-full mb-4",children:[n.jsxs("div",{className:F(fe,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:"Id"})}),n.jsxs("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:[n.jsx("span",{className:"flex-grow mr-2",children:e.id}),s?.entityLinkBuilder&&n.jsx("a",{href:s.entityLinkBuilder({entity:e}),rel:"noopener noreferrer",target:"_blank",children:n.jsx(R,{children:n.jsx(Rn,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const g=e.values[u];return n.jsxs("div",{className:F(fe,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:A.name})}),n.jsx("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:n.jsx(Ce,{propertyKey:u,value:g,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function Cz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function Ii(e){if(e.columnWidth)return e.columnWidth;if(e.dataType==="string")return e.url?280:e.storage?160:e.enumValues?200:e.multiline||e.markdown?300:(e.email,200);if(e.dataType==="array"){const t=e;return t.of?Array.isArray(e.of)?300:Ii(t.of):300}else return e.dataType==="number"?e.enumValues?200:140:e.dataType==="map"?360:e.dataType==="date"?200:e.dataType==="reference"?220:e.dataType==="boolean"?140:200}function Rr(e){return`subcollection:${e.id??e.path}`}function bi(e,t=166){let c;function i(...a){const l=()=>{e.apply(this,a)};clearTimeout(c),c=setTimeout(l,t)}return i.clear=()=>{clearTimeout(c)},i}function io(e){return parseInt(e,10)||0}const Kz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function pi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const et=le.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:g,onBlur:h,sizeRef:_,ignoreBoxSizing:y,...I}=t,{current:b}=le.useRef(A!=null),p=le.useRef(null),w=Sz(c,p),k=le.useRef(null),m=le.useRef(0),[v,S]=le.useState({outerHeightStyle:0}),K=le.useCallback(()=>{const B=p.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(B);if(N.width==="0px")return{outerHeightStyle:0};const W=_?.current??k.current,z=k.current;W.style.width=N.width,z.value=B.value||t.placeholder||"x",z.value.slice(-1)===`
96
96
  `&&(z.value+=" ");const q=N.boxSizing,ne=io(N.paddingBottom)+io(N.paddingTop),H=io(N.borderBottomWidth)+io(N.borderTopWidth),V=io(N.minHeight),te=W.scrollHeight;z.value="x";const U=W.scrollHeight;let J=te;d&&(J=Math.max(Number(d)*U,J)),s&&(J=Math.min(Number(s)*U,J)),J=Math.max(J,U,V);const de=J+(!y&&q==="border-box"?ne+H:0),Y=Math.abs(J-te)<=1;return{outerHeightStyle:de,overflow:Y}},[s,d,t.placeholder]),C=(B,D)=>{const{outerHeightStyle:N,overflow:W}=D;return m.current<20&&(N>0&&Math.abs((B.outerHeightStyle||0)-N)>1||B.overflow!==W)?(m.current+=1,{overflow:W,outerHeightStyle:N}):(process.env.NODE_ENV!=="production"&&m.current===20&&console.error(["MUI: Too many re-renders. The layout is unstable.","TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
97
- `)),B)},P=le.useCallback(()=>{const B=K();pi(B)||(l&&l(B),S(D=>C(D,B)))},[K,l]),E=()=>{const B=K();pi(B)||nl.flushSync(()=>{S(D=>C(D,B))})};le.useEffect(()=>{const B=bi(()=>{m.current=0,p.current&&E()});let D;const N=p.current,W=window;if(!(typeof window>"u"))return W.addEventListener("resize",B),typeof ResizeObserver<"u"&&(D=new ResizeObserver(B),D.observe(N)),()=>{B.clear(),W.removeEventListener("resize",B),D&&D.disconnect()}}),f.useLayoutEffect(()=>{P()}),le.useEffect(()=>{m.current=0},[A]);const T=B=>{m.current=0,b||P(),i&&i(B)};return n.jsxs(le.Fragment,{children:[n.jsx("textarea",{value:A,onChange:T,className:t.className,ref:w,onFocus:_,onBlur:h,rows:d,style:{height:v.outerHeightStyle,overflow:v.overflow?"hidden":void 0,...u},onScroll:a,...I}),n.jsx("textarea",{"aria-hidden":!0,className:F(t.className,t.shadowClassName),readOnly:!0,ref:k,tabIndex:-1,style:{...Kz.shadow,...u,padding:0}})]})});function Sz(...e){return le.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{Bz(c,t)})},e)}function Bz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ez(e){const t=f.useRef(null),{disabled:c,value:i,multiline:a,updateValue:l,focused:s}=e,d=f.useRef(i),[u,A]=f.useState(i),_=f.useRef(!1);f.useEffect(()=>{d.current!==i&&i!==u&&A(i),d.current=i},[i]);const h=f.useCallback(()=>{!i&&!u||u!==i&&(d.current=u,l(u))},[u,l,i]);return Qo(u,h,!s,2e3),f.useEffect(()=>{t.current&&s&&!_.current?(_.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):_.current=s},[s,t]),n.jsx(et,{ref:t,style:{padding:0,margin:0,width:"100%",color:"unset",fontWeight:"unset",lineHeight:"unset",fontSize:"unset",fontFamily:"unset",background:"unset",border:"unset",resize:"none",outline:"none"},value:u??"",onChange:g=>{const y=g.target.value;(a||!y.endsWith(`
98
- `))&&A(y)},onFocus:()=>{_.current=!0},onBlur:()=>{_.current=!1,h()}})}function nt(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:_}=e,h=Array.isArray(a)&&A||!Array.isArray(a)&&!A,g=f.useRef(null);f.useEffect(()=>{g.current&&d&&g.current?.focus({preventScroll:!0})},[d,g]);const y=f.useCallback(b=>{if(_==="number")if(A){const p=b.map(w=>parseFloat(w));u(p)}else u(parseFloat(b));else if(_==="string")u(b||null);else throw Error("Missing mapping in TableSelect")},[A,u,_]),I=(b,p)=>A&&Array.isArray(b)?n.jsx(Jr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Fe,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(kt,{inputRef:g,containerClassName:"w-full h-full",className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,padding:!1,includeFocusOutline:!1,value:h?a.map(b=>b.toString()):[],onMultiValueChange:y,renderValue:I,children:c?.map(b=>n.jsx(mt,{value:String(b.id),children:n.jsx(Fe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(xe,{inputRef:g,className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,multiple:A,padding:!1,includeFocusOutline:!1,value:h?A?a.map(b=>b.toString()):a?.toString():A?[]:"",onValueChange:y,onMultiValueChange:y,renderValue:I,children:c?.map(b=>n.jsx(Re,{value:String(b.id),children:n.jsx(Fe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function Fz(e){const{align:t,value:c,updateValue:i,focused:a}=e,l=c&&typeof c=="number"?c.toString():"",[s,d]=f.useState(l),u=f.useRef(c);f.useEffect(()=>{u.current!==c&&String(c)!==s&&d(c?c.toString():null),u.current=c},[c]);const A=f.useCallback(()=>{if(s!==l)if(s!=null){const g=parseFloat(s);if(isNaN(g))return;g!=null&&i(g)}else i(null)},[s,c]);Qo(s,A,!a,2e3),f.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const _=f.useRef(null);f.useEffect(()=>{_.current&&a&&_.current.focus({preventScroll:!0})},[a,_]);const h=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:_,className:"w-full text-right p-0 m-0 bg-transparent border-none resize-none outline-none font-normal leading-normal text-unset",style:{textAlign:t},value:s??"",onChange:g=>{const y=g.target.value.replace(",",".");y.length===0&&d(null),(h.test(y)||y.startsWith("-"))&&d(y)}})}function Pz(e){const{internalValue:t,updateValue:c,focused:i}=e,a=f.useRef(null);return f.useEffect(()=>{a.current&&i&&a.current.focus({preventScroll:!0})},[i,a]),n.jsx(Ar,{ref:a,size:"small",value:!!t,onValueChange:c})}function Dz(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Yn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}class ae extends f.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,c){console.error(t)}render(){return this.state.error?n.jsxs("div",{className:"flex flex-col m-2",children:[n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(kr,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(Z,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}async function Nz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=wi(s,e,i,d,a),u||(u=Ln()+"_"+s.name),u}function Tz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=wi(s,e,i,d,a),u||(u=Ln()+"_"+s.name),u}function wi(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Ln()).replace("{file}",e.name).replace("{file.type}",e.type).replace("{path}",a);if(l){s=s.replace("{file.ext}",l);const d=e.name.replace(`.${l}`,"");s=s.replace("{file.name}",d)}return s||(s=Ln()+"_"+e.name),s}function ki({entityId:e,entityValues:t,path:c,value:i,property:a,propertyKey:l,storageSource:s,disabled:d,onChange:u}){const A=a.dataType==="string"?a.storage:a.dataType==="array"&&a.of.dataType==="string"?a.of.storage:void 0,_=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const h=A?.metadata,g=_?"small":"medium",y=A?.imageCompression,I=(_?i??[]:i?[i]:[]).map(C=>({id:ot(),storagePathOrDownloadUrl:C,metadata:h,size:g})),[b,p]=f.useState(i),[w,k]=f.useState(I);f.useEffect(()=>{se(b,i)||(p(i),k(I))},[I,i,b]);const m=f.useCallback(async C=>{if(A.fileName){const P=await Nz(A.fileName,A,t,e,c,a,C,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Ln()+"_"+C.name},[e,t,c,a,l,A]),v=f.useCallback(C=>Tz(A.storagePath,A,t,e,c,a,C,l)??"/",[e,t,c,a,l,A]),S=f.useCallback(async(C,P,E)=>{console.debug("onFileUploadComplete",C,P);let T=C;if(A.storeUrl&&(T=(await s.getDownloadURL(C)).url),A.postProcess&&T&&(T=await A.postProcess(T)),!T){console.warn("uploadPathOrDownloadUrl is null");return}let B;P.storagePathOrDownloadUrl=T,P.metadata=E,B=[...w],B=mi(B),k(B);const D=B.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);u(_?D:D?D[0]:null)},[w,_,u,A,s]),K=f.useCallback(async C=>{if(!C.length||d)return;let P;if(_)P=[...w,...await Promise.all(C.map(async E=>(y&&rt(E)&&(E=await Ci(E,y)),{id:ot(),file:E,fileName:await m(E),metadata:h,size:g})))];else{let E=C[0];y&&rt(E)&&(E=await Ci(E,y)),P=[{id:ot(),file:E,fileName:await m(E),metadata:h,size:g}]}P=mi(P),k(P)},[d,m,w,h,_,g]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:v,onFileUploadComplete:S,onFilesAdded:K,multipleFilesSupported:_}}function mi(e){return e.filter((t,c)=>(e.map(i=>i.storagePathOrDownloadUrl).indexOf(t.storagePathOrDownloadUrl)===c||!t.storagePathOrDownloadUrl)&&(e.map(i=>i.file).indexOf(t.file)===c||!t.file))}function ot(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const vi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},rt=e=>vi[e.type]?vi[e.type]:null,Mz=100,Ci=(e,t)=>new Promise(c=>{const i=t.quality===void 0?Mz:t.quality,a=i>=0&&i<=100?i:100,l=rt(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Za.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function Ki({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Tn(),d=An(),[u,A]=f.useState(),[_,h]=f.useState(!1),g=f.useRef(!1),y=f.useRef(!1),I=f.useCallback((b,p)=>{y.current||(y.current=!0,A(void 0),h(!0),s.uploadFile({file:b,fileName:p,path:e,metadata:c}).then(async({path:w})=>{console.debug("Upload successful"),await i(w,t,c),g.current&&h(!1)}).catch(w=>{console.warn("Upload error",w),g.current&&(A(w),h(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{y.current=!1}))},[t,c,i,s,e]);return f.useEffect(()=>(g.current=!0,t.file&&I(t.file,t.fileName),()=>{g.current=!1}),[t.file,t.fileName,I]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:_&&n.jsx(Oe,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:F(je,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[_&&n.jsx(Oe,{className:"w-full h-full"}),u&&n.jsx(me,{title:"Error uploading file",error:u})]})}function Si({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=f.useRef(null),d=f.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),u=f.useRef();return f.useEffect(()=>{u.current&&i&&u.current.focus({preventScroll:!0})},[i]),n.jsx(n.Fragment,{children:(e||!t&&c)&&n.jsxs("div",{ref:s,className:"absolute top-0.5 right-0.5 flex items-center",children:[i&&l,i&&!t&&c&&n.jsx(R,{ref:u,color:"inherit",size:"small",onClick:d,children:n.jsxs("svg",{fill:"#888",width:"20",height:"20",viewBox:"0 0 24 24",children:[n.jsx("path",{className:"cls-2",d:"M20,5a1,1,0,0,0-1-1L14,4h0a1,1,0,0,0,0,2h2.57L13.29,9.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L18,7.42V10a1,1,0,0,0,1,1h0a1,1,0,0,0,1-1Z"}),n.jsx("path",{className:"cls-2",d:"M10.71,13.29a1,1,0,0,0-1.42,0L6,16.57V14a1,1,0,0,0-1-1H5a1,1,0,0,0-1,1l0,5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2H7.42l3.29-3.29A1,1,0,0,0,10.71,13.29Z"})]})}),e&&n.jsx(ri,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(_c,{size:"small",color:"error"})})]})})}const Oz="max-w-full box-border relative pt-[2px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",Lz="pt-0 border-2 border-solid",Qz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500 bg-green-50 dark:bg-green-900",Vz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500 bg-red-50 dark:bg-red-900";function Wz(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:_,updateValue:h}=e,g=Tn(),{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=ki({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:g,onChange:h,value:l,disabled:s});return n.jsx(Gz,{internalValue:y,setInternalValue:I,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:h,entity:u,storagePathBuilder:k,storage:p,multipleFilesSupported:m,onFilesAdded:b,onFileUploadComplete:w,previewSize:_})}function Gz({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:_,disabled:h,autoFocus:g,storage:y,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),m=A&&_==="medium"?"small":_;if(A){const H=e;if(Array.isArray(H.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(H.of){if(H.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const v=y?.metadata,S=!!c,K=An(),{open:C,getRootProps:P,getInputProps:E,isDragActive:T,isDragAccept:B,isDragReject:D}=ir.useDropzone({accept:y.acceptedFiles?y.acceptedFiles.map(H=>({[H]:[]})).reduce((H,V)=>({...H,...V}),{}):void 0,disabled:h,maxSize:y.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(H,V)=>{for(const te of H)for(const U of te.errors)K.open({type:"error",message:`Error uploading file: File is larger than ${y.maxSize} bytes`})}}),{...N}=P(),W=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",z=A?e.of:e,q=f.useMemo(()=>Vn(m),[m]),ne=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:F(Oz,"relative w-full h-full flex",`justify-${S?"start":"center"}`,T?Lz:"",B?Qz:"",D?Vz:""),children:[n.jsx("input",{autoFocus:g,...E()}),c.map((H,V)=>{let te;return H.storagePathOrDownloadUrl?te=n.jsx(zz,{property:z,value:H.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${V}`):H.file&&(te=n.jsx(Ki,{entry:H,metadata:v,storagePath:p(H.file),onFileUploadComplete:b,imageSize:q,simple:!0},`storage_progress_${V}`)),te}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:C,children:n.jsx(Z,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:W})}),n.jsx(Si,{showError:ne,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(R,{color:"inherit",size:"small",onClick:C,children:n.jsx(Ac,{size:"small",className:"text-gray-500"})})})]})}function zz({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(ae,{children:n.jsx(Ce,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Bi(e){const t=ee(),c=Ae(),{path:i}=e,a=c.getCollection(i);if(!a){if(t.components?.missingReference)return n.jsx(t.components.missingReference,{path:i});throw Error(`Couldn't find the corresponding collection view for the path: ${i}`)}return n.jsx(Hz,{...e,collection:a})}function Hz(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:_,collection:h}=e,[g,y]=f.useState(!1),I=f.useCallback(()=>y(!0),[]),b=f.useCallback(()=>y(!1),[]),p=f.useCallback(P=>{i(P?Cn(P):null)},[i]),w=f.useCallback(P=>{i(P.map(E=>Cn(E)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=fo({multiselect:a,path:l,collection:h,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:_}),v=f.useCallback(()=>{A||m.open()},[A,m]),S=!c||Array.isArray(c)&&c.length===0,K=()=>c instanceof $e?n.jsx(rn,{onClick:A?void 0:v,size:gn(s),reference:c,onHover:g,disabled:!l,previewProperties:d}):n.jsx(Vo,{onClick:A?void 0:v,size:gn(s),children:n.jsx(me,{title:"Value is not a reference.",error:"Click to edit"})}),C=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,E)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(rn,{onClick:A?void 0:v,size:"tiny",reference:P,onHover:g,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${E}`))}):n.jsx(me,{error:"Data is not an array of references"});return h?n.jsxs("div",{className:"w-full",onMouseEnter:I,onMouseMove:I,onMouseLeave:b,children:[c&&!a&&K(),c&&a&&C(),S&&n.jsxs(ie,{onClick:v,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(me,{error:"The specified collection does not exist"})}Ne.addMethod(Ne.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Ei(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=ao({property:l,customFieldValidator:c,name:a,entityId:e})}),Ne.object().shape(i)}function ao(e){const t=e.property;if(Ee(t))throw console.error("Error in property",e),Error("Trying to create a yup mapping from a property builder. Please use resolved properties only");if(t.dataType==="string")return Yz(e);if(t.dataType==="number")return jz(e);if(t.dataType==="boolean")return Zz(e);if(t.dataType==="map")return Uz(e);if(t.dataType==="array")return xz(e);if(t.dataType==="date")return qz(e);if(t.dataType==="geopoint")return $z(e);if(t.dataType==="reference")return Jz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function Uz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=ao({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Ne.object().shape(a)}function Yz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=yn(e.enumValues);l=l.oneOf((s?.required?d:[...d,null]).map(u=>u?.id??null)).nullable(!0)}if(s){if(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",(d,u)=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} must be min ${s.min} characters long`)),(s.max||s.max===0)&&(l=l.max(s.max,`${e.name} must be max ${s.max} characters long`)),s.matches){const d=typeof s.matches=="string"?ei(s.matches):s.matches;d&&(l=l.matches(d,s.matchesMessage?{message:s.matchesMessage}:void 0))}s.trim&&(l=l.trim()),s.lowercase&&(l=l.lowercase()),s.uppercase&&(l=l.uppercase()),e.email&&(l=l.email(`${e.name} must be an email`)),e.url&&(l=l.url(`${e.name} must be a url`))}else l=l.notRequired().nullable(!0);return l}function jz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Ne.number().typeError("Must be a number");return l?(s=l.required?s.required(l.requiredMessage?l.requiredMessage:"Required").nullable(!0):s.notRequired().nullable(!0),l.unique&&c&&i&&(s=s.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(l.min||l.min===0)&&(s=s.min(l.min,`${e.name} must be higher or equal to ${l.min}`)),(l.max||l.max===0)&&(s=s.max(l.max,`${e.name} must be lower or equal to ${l.max}`)),(l.lessThan||l.lessThan===0)&&(s=s.lessThan(l.lessThan,`${e.name} must be higher than ${l.lessThan}`)),(l.moreThan||l.moreThan===0)&&(s=s.moreThan(l.moreThan,`${e.name} must be lower than ${l.moreThan}`)),l.positive&&(s=s.positive(`${e.name} must be positive`)),l.negative&&(s=s.negative(`${e.name} must be negative`)),l.integer&&(s=s.integer(`${e.name} must be an integer`))):s=s.notRequired().nullable(!0),s}function $z({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.object();const s=e.validation;return s?.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s?.required?l=l.required(s.requiredMessage).nullable(!0):l=l.notRequired().nullable(!0),l}function qz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Ne.object().nullable();let l=Ne.date();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required"):l.notRequired(),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s.min&&(l=l.min(s.min,`${e.name} must be after ${s.min}`)),s.max&&(l=l.max(s.max,`${e.name} must be before ${s.min}`))):l=l.notRequired(),l.transform(d=>d instanceof Date?d:null).nullable()}function Jz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.object();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Zz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.boolean();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Xz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function xz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:ao({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Ne.array().of(Ne.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>_n(d,A.path).validate(u)))}else{l=l.of(ao({property:e.of,parentProperty:e,entityId:a}));const d=Xz(e.of);d&&(typeof d=="boolean"?l=l.uniqueInArray(u=>u,`${e.name} should have unique values within the array`):Array.isArray(d)&&d.forEach(([u,A])=>{l=l.uniqueInArray(_=>_&&_[u],`${e.name} → ${A.name??u}: should have unique values within the array`)}))}const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} should be min ${s.min} entries long`)),s.max&&(l=l.max(s.max,`${e.name} should be max ${s.max} entries long`))):l=l.notRequired().nullable(!0),l}function Gn(e){switch(e){case"xl":return 400;case"l":return 280;case"m":return 140;case"s":return 80;case"xs":return 54;default:throw Error("Missing mapping for collection size -> height")}}const Rz=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:F("flex flex-col max-h-full w-full",{"items-start":c||t}),style:{justifyContent:e,height:i?"100%":void 0,overflow:t?"auto":void 0,WebkitMaskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0,maskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0},children:a}),tt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:_,removePadding:h,fullHeight:g,onSelect:y,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=ar(),m=f.useRef(null);ko(m,()=>{a&&y&&y(void 0)},!!(a&&y));const[v,S]=f.useState(!1),K=f.useMemo(()=>Gn(i),[i]),[C,P]=f.useState(!1),[E,T]=f.useState(d),B=!l&&u;f.useEffect(()=>{d&&T(!0);const U=setTimeout(()=>{T(!1)},800);return()=>{clearTimeout(U)}},[d]);let D=0;if(!h)switch(i){case"l":case"xl":D=4;break;case"m":D=2;break;case"s":default:D=1;break}let N;switch(A){case"right":N="flex-end";break;case"center":N="center";break;case"left":default:N="flex-start"}const W=f.useCallback(()=>{if(!y)return;const U=m&&m?.current?.getBoundingClientRect();l?y(void 0):!a&&U&&y(U)},[m,y,a,l]),z=f.useCallback(U=>{W(),U.stopPropagation()},[W]);f.useEffect(()=>{if(k){const U=k.height>K;v!==U&&S(U)}},[k,v,K]);const q=!B&&a,ne=!l&&_&&v,H=!l&&!_&&v,V=f.useCallback(()=>P(!0),[]),te=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:F("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${D} border border-4 border-opacity-75`,C&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!q&&!E&&!B?"border-transparent":"",b?"overflow-hidden":"",q?"bg-gray-50 dark:bg-gray-900":"",q&&!E?"border-primary":"",E?"border-green-500 ":"",B?"border-red-500":""),style:{justifyContent:N,alignItems:l||!v?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:z,onMouseEnter:V,onMouseMove:V,onMouseLeave:te,children:[n.jsxs(ae,{children:[g&&!H&&t,(!g||H)&&n.jsx(Rz,{fullHeight:g??!1,justifyContent:N,scrollable:ne??!1,faded:H,children:!g&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:N,height:g?"100%":void 0},children:t})})]}),c,l&&C&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(ye,{title:s,children:n.jsx(Fc,{size:"smallest",color:"disabled",className:"text-gray-500"})})})]})},(e,t)=>e.error===t.error&&e.value===t.value&&e.disabled===t.disabled&&e.saved===t.saved&&e.allowScroll===t.allowScroll&&e.align===t.align&&e.size===t.size&&e.disabledTooltip===t.disabledTooltip&&e.width===t.width&&e.showExpandIcon===t.showExpandIcon&&e.removePadding===t.removePadding&&e.fullHeight===t.fullHeight&&e.selected===t.selected);function eH(e){return e.dataType==="string"&&e.storage?!0:e.dataType==="array"?Array.isArray(e.of)?!1:e.of?.dataType==="string"&&e.of?.storage:!1}const nH=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:_,disabled:h}){const g=ee(),{onValueChange:y,size:I,selectedCell:b,select:p,setPopupCell:w}=hH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,v]=f.useState(i),S=f.useRef(i),[K,C]=f.useState(),[P,E]=f.useState(!1),T=f.useCallback(()=>{E(!0),setTimeout(()=>{E(!1)},100)},[]),B=!!a.Field,D=!!a.Preview,N=On(a),W=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,z=_||h||!!a.disabled,q=f.useMemo(()=>ao({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{se(i,S.current)||(C(void 0),v(i),S.current=i,T())},[T,i]);const ne=M=>{se(M,S.current)||(E(!1),q.validate(M).then(()=>{C(void 0),S.current=M,y&&y({value:M,propertyKey:t,setError:C,onValueUpdated:T,entity:A,fullPath:u,context:g})}).catch(L=>{C(L)}))};f.useEffect(()=>{q.validate(m).then(()=>C(void 0)).catch(M=>{C(M)})},[m,q,t,a,A]);const H=M=>{let L;M===void 0?L=null:L=M,v(L),ne(L)};Le({property:a,value:m,setValue:H});const V=f.useCallback(M=>{p(M?{width:s,height:d,entity:A,cellRect:M,propertyKey:t}:void 0)},[A,d,t,p,s]),te=M=>{w&&w(M?{width:s,height:d,entity:A,cellRect:M,propertyKey:t}:void 0)};let U,J=!1,de=!1,Y=!0,O=!1,$=!1,oe=!0;const j=!z&&K;if(_||N)return n.jsx(tt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:W??(N?"Read only":void 0),disabled:!0,children:n.jsx(Ce,{width:s,height:Gn(I),propertyKey:t,property:a,entity:A,value:m,size:gn(I)})},`${t}_${A.path}_${A.id}`);if(!B&&(!D||k)){if(eH(a))U=n.jsx(Wz,{error:K,disabled:z,focused:k,selected:k,openPopup:w?te:void 0,property:a,entity:A,path:u,value:m,previewSize:gn(I),updateValue:H,propertyKey:t}),oe=!1,de=!0,$=!0,O=!0;else if(k&&a.dataType==="number"){const L=a;L.enumValues?(U=n.jsx(nt,{name:t,multiple:!1,disabled:z,focused:k,valueType:"number",small:gn(I)!=="medium",enumValues:L.enumValues,error:K,internalValue:m,updateValue:H}),$=!0):(U=n.jsx(Fz,{align:l,error:K,focused:k,disabled:z,value:m,updateValue:H}),J=!0)}else if(k&&a.dataType==="string"){const L=a;if(L.enumValues)U=n.jsx(nt,{name:t,multiple:!1,focused:k,disabled:z,valueType:"string",small:gn(I)!=="medium",enumValues:L.enumValues,error:K,internalValue:m,updateValue:H}),$=!0;else if(!L.storage){const Qe=!!L.multiline||!!L.markdown;U=n.jsx(Ez,{error:K,disabled:z,multiline:Qe,focused:k,value:m,updateValue:H}),J=!0}}else if(a.dataType==="boolean")U=n.jsx(Pz,{error:K,disabled:z,focused:k,internalValue:m,updateValue:H});else if(a.dataType==="date")U=n.jsx(Dz,{name:t,error:K,disabled:z,mode:a.mode,focused:k,internalValue:m,updateValue:H}),$=!0,Y=!1,J=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(U=n.jsx(Bi,{name:t,internalValue:m,updateValue:H,disabled:z,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),J=!1;else if(a.dataType==="array"){const L=a;if(!L.of&&!L.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);L.of&&!Array.isArray(L.of)&&(L.of.dataType==="string"||L.of.dataType==="number"?k&&L.of.enumValues&&(U=n.jsx(nt,{name:t,multiple:!0,disabled:z,focused:k,small:gn(I)!=="medium",valueType:L.of.dataType,enumValues:L.of.enumValues,error:K,internalValue:m,updateValue:H}),J=!0,$=!0,Y=!1):L.of.dataType==="reference"&&(typeof L.of.path=="string"&&(U=n.jsx(Bi,{name:t,disabled:z,internalValue:m,updateValue:H,size:I,multiselect:!0,path:L.of.path,previewProperties:L.of.previewProperties,title:L.of.name,forceFilter:L.of.forceFilter})),J=!1))}}return U||(J=!1,de=k&&!U&&!z&&!N,U=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:gn(I)})),n.jsx(tt,{size:I,width:s,onSelect:V,selected:k,disabled:z||N,disabledTooltip:W??"Disabled",removePadding:O,fullHeight:$,saved:P,error:K,align:l,allowScroll:J,showExpandIcon:de,value:m,hideOverflow:Y,actions:oe&&n.jsx(Si,{showError:j,disabled:z,showExpandIcon:de,selected:k,openPopup:z?void 0:te}),children:U},`cell_${t}_${A.path}_${A.id}`)},oH);function oH(e,t){return e.height===t.height&&e.propertyKey===t.propertyKey&&e.align===t.align&&e.width===t.width&&se(e.property,t.property)&&se(e.value,t.value)&&se(e.entity.id,t.entity.id)&&se(e.entity.values,t.entity.values)}function lo({text:e,...t}){return n.jsx("div",{className:"flex w-full h-screen max-h-full max-w-full bg-gray-50 dark:bg-gray-900 gap-4",children:n.jsxs("div",{className:"m-auto flex flex-col gap-2 items-center",children:[n.jsx(Nn,{...t}),e&&n.jsx(Z,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const rH=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:_,AdditionalHeaderWidget:h}){const[g,y]=f.useState(!1),[I,b]=f.useState(!1),[p,w]=f.useState(!1),k=f.useCallback(C=>{b(!0)},[]),m=f.useCallback((C,P)=>{s(u,C),P!==void 0&&b(P)},[u,s]),v=i===c,K=!(i!==c&&i>0)&&(g||v);return n.jsx(ae,{children:n.jsxs("div",{className:F("flex py-0 px-3 h-full text-xs uppercase font-semibold relative select-none items-center bg-gray-50 dark:bg-gray-900","text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200 ","hover:bg-gray-100 dark:hover:bg-gray-800 hover:bg-opacity-50 dark:hover:bg-opacity-50",u.frozen?"sticky left-0 z-10":"relative z-0"),style:{left:u.frozen?0:void 0,minWidth:u.width,maxWidth:u.width},onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:[n.jsx("div",{className:"overflow-hidden flex-grow",children:n.jsxs("div",{className:`flex items-center justify-${u.headerAlign} flex-row`,children:[u.icon&&u.icon(g||I),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:u.align},children:u.title})]})}),n.jsxs(n.Fragment,{children:[h&&n.jsx(h,{onHover:g||I}),u.sortable&&(a||K||I)&&n.jsx(jt,{color:"secondary",invisible:!a,children:n.jsxs(R,{size:"small",className:g||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(mo,{}),a==="asc"&&n.jsx(mo,{}),a==="desc"&&n.jsx(mo,{className:"rotate-180"})]})})]}),u.filter&&_&&n.jsx("div",{children:n.jsx(jt,{color:"secondary",invisible:!d,children:n.jsx(tr,{open:I,onOpenChange:b,className:p?"hidden":void 0,modal:!0,trigger:n.jsx(R,{className:g||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:k,children:n.jsx(hc,{size:"small"})}),children:n.jsx(tH,{column:u,filter:d,onHover:g,onFilterUpdate:m,createFilterField:_,hidden:p,setHidden:w})})})}),u.resizable&&n.jsx("div",{ref:t,className:F("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",K&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,u):void 0})]})})},se);function tH({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,hidden:l,setHidden:s}){const d=e.key,[u,A]=f.useState(c);if(f.useEffect(()=>{A(c)},[c]),!e.filter)return null;const _=()=>{t(u,!1)},h=I=>{t(void 0,!1)},g=!!c,y=a({id:d,filterValue:u,setFilterValue:A,column:e,hidden:l,setHidden:s});return y?n.jsxs("div",{className:"text-gray-900 dark:text-white",children:[n.jsx("div",{className:F(fe,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),y&&n.jsx("div",{className:"m-4",children:y}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(ie,{className:"mr-4",disabled:!g,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(ie,{variant:"outlined",color:"primary",onClick:_,children:"Filter"})]})]}):null}const cH=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u,AddColumnComponent:A})=>{const _=e.map(()=>f.createRef()),[h,g]=f.useState(-1),y=f.useCallback((S,K,C)=>{const P=e[S],E=100,T=800,B=K>T?T:K<E?E:K,D={width:B,key:P.key,column:{...P,width:B}};C?d(D):s(D)},[e,s,d]),I=f.useCallback(S=>{if(h>=0){const K=_[h].current?.parentElement?.getBoundingClientRect().left;return K?S.clientX-K:void 0}},[_,h]),b=f.useCallback(S=>{document.body.style.cursor=S?"col-resize":"auto"},[]),p=f.useCallback(S=>{S.stopPropagation(),S.preventDefault();const K=I(S);K&&y(h,K,!1)},[y,I,h]),w=f.useCallback(S=>{S.stopPropagation(),S.preventDefault();const K=I(S);K&&y(h,K,!0),g(-1),b(!1)},[y,I,h,b]),k=f.useCallback(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",w)},[p,w]),m=f.useCallback(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",w)},[p,w]);f.useEffect(()=>(h>=0?m():k(),()=>{k()}),[m,h,k]);const v=f.useCallback(S=>{g(S),b(!0)},[b]);return n.jsxs("div",{className:F(fe,"z-20 sticky min-w-full flex w-fit flex-row top-0 left-0 h-12 border-b bg-gray-50 dark:bg-gray-900"),children:[e.map((S,K)=>{const C=e[K],P=C&&l&&l[C.key]?l[C.key]:void 0;return n.jsx(ae,{children:n.jsx(rH,{resizeHandleRef:_[K],columnIndex:K,isResizingIndex:h,onFilterUpdate:i,filter:P,sort:a===C.key?t:void 0,onColumnSort:c,onClickResizeColumn:v,column:C,createFilterField:u,AdditionalHeaderWidget:C.AdditionalHeaderWidget})},"header_"+C.key)}),A&&n.jsx(A,{})]})},iH=f.memo(function({rowData:t,rowIndex:c,children:i,onRowClick:a,size:l,style:s,hoverRow:d,rowClassName:u}){const A=f.useCallback(_=>a?a({rowData:t,rowIndex:c,event:_}):void 0,[a,t,c]);return n.jsx("div",{className:F("flex min-w-full text-sm border-b border-gray-200 dark:border-gray-800 border-opacity-40 dark:border-opacity-40",u?u(t):"",{"hover:bg-opacity-95":d,"cursor-pointer":a}),onClick:A,style:{...s,height:Gn(l),width:"fit-content"},children:i})},se),aH=f.memo(function(t){return t.rowData&&t.cellRenderer({cellData:t.cellData,rowData:t.rowData,rowIndex:t.rowIndex,isScrolling:!1,column:t.column,columns:t.columns,columnIndex:t.columnIndex,width:t.column.width})},(e,t)=>se(e,t)),Wo=f.createContext({});Wo.displayName="VirtualListContext";const lH=f.forwardRef(({children:e,...t},c)=>n.jsx(Wo.Consumer,{children:i=>{const a=i.customView;return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:"virtual-table",style:{position:"relative",height:"100%"},children:n.jsxs("div",{ref:c,...t,style:{...t?.style,minHeight:"100%",position:"relative"},children:[n.jsx(cH,{...i}),!a&&e]})}),a&&n.jsx("div",{style:{position:"sticky",top:"56px",flexGrow:1,height:"calc(100% - 56px)",marginTop:"calc(56px - 100vh)",left:0},children:a})]})}})),Fi=f.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:u,checkFilterCombination:A,onFilterUpdate:_,sortBy:h,error:g,emptyComponent:y,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:v,endAdornment:S,AddColumnComponent:K}){const C=h?h[0]:void 0,P=h?h[1]:void 0,[E,T]=f.useState(l),B=f.useRef(null),D=f.useRef(0);f.useEffect(()=>{T(l)},[l]);const[N,W]=ar(),z=f.useCallback(M=>{T(E.map(L=>L.key===M.column.key?M.column:L))},[E]),q=f.useCallback(M=>{T(E.map(L=>L.key===M.column.key?M.column:L)),d&&d(M)},[E,d]),ne=f.useRef();f.useEffect(()=>{ne.current=u},[u]);const H=f.useCallback(()=>{D.current=0,B.current&&B.current.scrollTo(B.current?.scrollLeft,0)},[]),V=f.useCallback(M=>{const L=C===M&&P==="desc",be=C===M&&P==="asc"?"desc":L?void 0:"asc",_e=L?void 0:M,Ve=ne.current,bn=be&&_e?[_e,be]:void 0;Ve&&A&&!A(Ve,bn)&&_&&_(void 0),c&&c(),I&&I(bn),H()},[A,P,_,c,I,H,C]),te=f.useCallback(()=>{D.current=0,I&&I(void 0)},[I]),U=Math.max((t?.length??0)*Gn(a)-W.height,0),J=f.useCallback(M=>{i&&(t?.length??0)>0&&M>D.current+600&&(D.current=M,i())},[t?.length,i]),de=f.useCallback(({scrollOffset:M,scrollUpdateWasRequested:L})=>{!L&&M>=U-600&&J(M)},[U,J]),Y=f.useCallback((M,L)=>{D.current=0;const Qe=ne.current;let be=Qe?{...Qe}:{};L?be[M.key]=L:delete be[M.key],!A||A(be,C&&P?[C,P]:void 0)||(be=L?{[M.key]:L}:{}),_&&_(be),M.key!==C&&te()},[A,P,_,te,C]),O=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(Z,{variant:"h6",children:"Error fetching data from the data source"}),g?.message&&n.jsx(Ao,{className:"px-4 break-all",source:g.message})]}),[g?.message]),$=f.useCallback(()=>b?n.jsx(lo,{}):n.jsxs("div",{className:"flex flex-col overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(ic,{}),y]}),[y,b]),oe=!b&&(t?.length??0)===0,j=g?O():oe?$():void 0;return n.jsx("div",{ref:N,className:F("h-full w-full",v),children:n.jsx(Wo.Provider,{value:{data:t,size:a,cellRenderer:p,columns:E,currentSort:P,onRowClick:s,customView:j,onColumnResize:z,onColumnResizeEnd:q,filter:ne.current,onColumnSort:V,onFilterUpdate:Y,sortByProperty:C,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:S,AddColumnComponent:K},children:n.jsx(sH,{outerRef:B,width:W.width,height:W.height,itemCount:(t?.length??0)+(S?1:0),onScroll:de,includeAddColumn:!!K,itemSize:Gn(a)},a)})})},se);function sH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=f.useCallback(({index:u,style:A})=>n.jsx(Wo.Consumer,{children:({onRowClick:_,data:h,columns:g,size:y="m",cellRenderer:I,hoverRow:b,rowClassName:p,endAdornment:w})=>{if(w&&u===(h??[]).length)return n.jsx("div",{style:{...A,height:"auto",position:"sticky",bottom:0,zIndex:1},children:w});const k=h&&h[u];return n.jsxs(iH,{rowData:k,rowIndex:u,onRowClick:_,columns:g,hoverRow:b,rowClassName:p,style:{...A,top:`calc(${A.top}px + 48px)`},size:y,children:[g.map((m,v)=>{const S=k&&k[m.key];return n.jsx(aH,{dataKey:m.key,cellRenderer:I,column:m,columns:g,rowData:k,cellData:S,rowIndex:u,columnIndex:v},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${u}`)}}),[]);return n.jsx(Xa.FixedSizeList,{outerRef:e,innerElementType:lH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}const ct=f.memo(function({entity:t,collection:c,fullPath:i,width:a,frozen:l,isSelected:s,selectionEnabled:d,size:u,highlightEntity:A,onCollectionChange:_,unhighlightEntity:h,actions:g=[],hideId:y,selectionController:I}){const b=He(),p=ee(),w=f.useCallback(C=>{I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),k=f.useCallback(C=>{C.stopPropagation(),I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),m=g.length>0,v=g.some(C=>C.collapsed||C.collapsed===void 0),S=g.filter(C=>C.collapsed||C.collapsed===void 0),K=g.filter(C=>C.collapsed===!1);return n.jsxs("div",{onClick:k,className:F("h-full flex items-center justify-center flex-col bg-gray-50 dark:bg-gray-900 bg-opacity-90 dark:bg-opacity-90 z-10",l?"sticky left-0":""),style:{width:a,position:l?"sticky":"initial",left:l?0:"initial",contain:"strict"},children:[(m||d)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[K.map((C,P)=>n.jsx(ye,{title:C.name,children:n.jsx(R,{onClick:E=>{E.stopPropagation(),C.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:_})},size:b?"medium":"small",children:C.icon})},P)),v&&n.jsx(jn,{trigger:n.jsx(R,{size:b?"medium":"small",children:n.jsx(Cr,{})}),children:S.map((C,P)=>n.jsxs(Be,{onClick:E=>{E.stopPropagation(),C.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:_})},children:[C.icon,C.name]},P))}),d&&n.jsx(ye,{title:`Select ${t.id}`,children:n.jsx(Er,{size:b?"medium":"small",checked:s,onCheckedChange:w})})]}),!y&&u!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:t?n.jsxs(Z,{onClick:C=>{C.stopPropagation()},className:"font-mono select-all",variant:"caption",color:"secondary",children:[" ",t.id," "]}):n.jsx(Oe,{})})]})},se);function dH(e){const t=He(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(ie,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(Ic,{}),"Clear filter"]}),i=n.jsx(xe,{value:e.size,className:"w-16 h-10",size:"small",onValueChange:a=>e.onSizeChanged(a),renderValue:a=>n.jsx("div",{className:"font-medium",children:a.toUpperCase()}),children:["xs","s","m","l","xl"].map(a=>n.jsx(Re,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:F(fe,"no-scrollbar min-h-[56px] overflow-x-auto px-4 bg-gray-50 dark:bg-gray-900 border-b flex flex-row justify-between items-center w-full"),children:[n.jsxs("div",{className:"flex items-center gap-2",children:[e.title&&n.jsx("div",{className:"hidden lg:block",children:e.title}),i,e.actionsStart,c]}),n.jsxs("div",{className:"flex items-center gap-2",children:[t&&n.jsx("div",{className:"w-[22px]",children:e.loading&&n.jsx(Nn,{size:"small"})}),e.onTextSearch&&n.jsx(Ut,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const Pi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},it=["array-contains-any","in","not-in"];function uH({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setHidden:d}){const u=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,_]=f.useState(!1);i?u.push("array-contains-any"):u.push("in","not-in");const[h,g]=t||[u[0],void 0],[y,I]=f.useState(h),[b,p]=f.useState(g),w=b?Array.isArray(b)?b.map(B=>B instanceof $e?B.id:null).filter(Boolean):[b.id]:[];function k(B,D){const N=it.includes(y),W=it.includes(B);let z=D;N!==W&&(z=W?z instanceof $e?[z]:[]:void 0),I(B),p(z);const q=z!==null&&Array.isArray(z)?z.length>0:z!==void 0;c(B&&q?[B,z]:void 0)}const m=Ae(),v=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),S=B=>{k(y,Cn(B))},K=B=>{k(y,B.map(D=>Cn(D)))},C=it.includes(y),P=fo({multiselect:C,path:a,collection:v,onSingleEntitySelected:S,onMultipleEntitiesSelected:K,selectedEntityIds:w,onClose:()=>{d(!1)}}),E=()=>{d(!0),P.open()},T=B=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>_(!1),children:n.jsx(rn,{disabled:!a,previewProperties:s,size:"medium",onClick:E,reference:B,onHover:A,allowEntityNavigation:!1})});return console.log("ReferenceFilterField",{internalValue:b}),n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(xe,{value:y,onValueChange:B=>{k(B,b)},renderValue:B=>Pi[B],children:u.map(B=>n.jsx(Re,{value:B,children:Pi[B]},B))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((B,D)=>T(B))}),b&&!Array.isArray(b)&&n.jsx("div",{children:T(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(ie,{onClick:E,variant:"outlined",className:"h-full w-full",children:C?"Select references":"Select reference"})]})]})}const Di={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},at=["array-contains-any","in","not-in"];function fH({name:e,value:t,setValue:c,dataType:i,isArray:a,enumValues:l,title:s}){const d=a?["array-contains"]:["==","!=",">","<",">=","<="];l&&(a?d.push("array-contains-any"):d.push("in","not-in"));const[u,A]=t||[d[0],void 0],[_,h]=f.useState(u),[g,y]=f.useState(A);function I(p,w){let k=w;const m=at.includes(_),v=at.includes(p);m!==v&&(k=v?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),y(k);const S=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&S?[p,k]:void 0)}const b=at.includes(_);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:_,position:"item-aligned",onValueChange:p=>{I(p,g)},renderValue:p=>Di[p],children:d.map(p=>n.jsx(Re,{value:p,children:Di[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(tn,{type:i==="number"?"number":void 0,value:g!==void 0?String(g):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;I(_,w)},endAdornment:g&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(_,void 0),children:n.jsx(dn,{})})}),l&&n.jsx(xe,{position:"item-aligned",value:g!==void 0?Array.isArray(g)?g.map(p=>String(p)):String(g):a?[]:"",onValueChange:p=>{I(_,i==="number"?parseInt(p):p)},multiple:b,endAdornment:g&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(_,void 0),children:n.jsx(dn,{})}),renderValue:p=>n.jsx(Fe,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(Re,{value:String(p.id),children:n.jsx(Fe,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function AH({name:e,title:t,value:c,setValue:i}){function a(d){i(d!==void 0?["==",d]:void 0)}const l=c&&c[1],s=!!c;return n.jsx("div",{className:"w-[200px]",children:n.jsx(Dn,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const Ni={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},Ti=["array-contains-any","in"];function yH({name:e,isArray:t,mode:c,value:i,setValue:a,title:l}){const s=t?["array-contains"]:["==","!=",">","<",">=","<="],[d,u]=i||[s[0],void 0],[A,_]=f.useState(d),[h,g]=f.useState(u);function y(I,b){let p=b;const w=Ti.includes(A),k=Ti.includes(I);w!==k&&(p=k?b?[b]:[]:""),_(I),g(p===null?void 0:p);const m=p!==null&&Array.isArray(p)?p.length>0:p!==void 0;a(I&&m?[I,p]:void 0)}return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:A,onValueChange:I=>{y(I,h)},renderValue:I=>Ni[I],children:s.map(I=>n.jsx(Re,{value:I,children:Ni[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Yn,{mode:c,size:"medium",value:h,onChange:I=>{y(A,I===null?void 0:I)},clearable:!0})})]})}const Mi="collectionGroupParent";function Oi(e,t){return f.useMemo(()=>e.propertiesOrder?Li(e,e.propertiesOrder):_H(e,t),[e,t])}function Li(e,t){return t.flatMap(c=>{const i=e.properties[c];return i?i.hideFromCollection?[null]:i.disabled&&typeof i.disabled=="object"&&i.disabled.hidden?[null]:i.dataType==="map"&&i.spreadChildren&&i.properties?lt(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.key===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>Rr(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===Mi?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function _H(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.key)];if(t){const s=a.map(d=>Rr(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(Mi),Li(e,l)}function lt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>lt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const gH={},Qi=f.createContext(gH),hH=()=>f.useContext(Qi),st=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:_,onEntityClick:h,onColumnResize:g,onSizeChanged:y,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:v,tableController:{data:S,dataLoading:K,noMoreToLoad:C,dataLoadingError:P,filterValues:E,setFilterValues:T,sortBy:B,setSortBy:D,setSearchString:N,clearFilter:W,itemCount:z,setItemCount:q,pageSize:ne=50,paginationEnabled:H,checkFilterCombination:V,setPopupCell:te},filterable:U=!0,sortable:J=!0,endAdornment:de,AddColumnComponent:Y,AdditionalHeaderWidget:O,additionalIDHeaderWidget:$,emptyComponent:oe,getIdColumnWidth:j}){const M=He(),L=!!t,Qe=A?.selectedEntities?.length>0?A?.selectedEntities:_,be=ee(),[_e,Ve]=f.useState(m??"m"),[bn,cn]=f.useState(void 0),en=Qe?.map(X=>X.id),yo=!!E&&Object.keys(E).length>0,$n=()=>{!H||K||C||z!==void 0&&q?.(z+ne)},_o=f.useCallback(()=>{q?.(ne)},[ne]),pn=f.useCallback(({rowData:X})=>{if(!p)return h&&h(X)},[h,p]),wn=f.useCallback(X=>{y&&y(X),Ve(X)},[]),go=f.useCallback(X=>N?.(X),[]),kn=f.useMemo(()=>w?w.map(X=>({[X.key]:X})).reduce((X,ke)=>({...X,...ke}),{}):{},[w]);f.useEffect(()=>{const X=ke=>{ke.keyCode===27&&Io()};return document.addEventListener("keydown",X,!1),()=>{document.removeEventListener("keydown",X,!1)}});const ho=f.useCallback(X=>{cn(X)},[]),Io=f.useCallback(()=>{cn(void 0)},[]),G=s,Q=f.useCallback(({column:X,columnIndex:ke,rowData:he,rowIndex:Ue})=>{const ue=he,an=X.key;let ln=X.custom?.disabled;const $t=ue.values?_n(ue.values,an):void 0,Fn=d?.({propertyKey:an,propertyValue:$t,entity:ue})??X.custom.resolvedProperty;return Fn?.disabled||(ln=!1),Fn?n.jsx(ae,{children:ue?n.jsx(nH,{readonly:!p,align:X.align??"left",propertyKey:an,property:Fn,value:ue?.values?_n(ue.values,an):void 0,customFieldValidator:G,columnIndex:ke,width:X.width,height:Gn(_e),entity:ue,disabled:ln,path:ue.path},`property_table_cell_${ue.id}_${an}`):on()}):null},[G,p,_e,en]),x=f.useCallback(({column:X,rowData:ke,width:he})=>{const Ue=ke,ue=kn[X.key],an=ue.dependencies?Object.entries(Ue.values).filter(([Fn,Oa])=>ue.dependencies.includes(Fn)).reduce((Fn,Oa)=>({...Fn,...Oa}),{}):Ue,ln=ue.Builder;if(!ln&&!ue.value)throw new Error("When using additional fields you need to provide a Builder or a value");const $t=ln?n.jsx(ln,{entity:Ue,context:be}):n.jsx(n.Fragment,{children:ue.value?.({entity:Ue,context:be})});return n.jsx(tt,{width:he,size:_e,value:an,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(ae,{children:$t})},`additional_table_cell_${Ue.id}_${X.key}`)},[kn,_e,en]),re=f.useMemo(()=>{const X=Object.entries(v).flatMap(([he,Ue])=>lt(Ue,he)).map(({key:he,disabled:Ue})=>{const ue=Lt(v,he);if(!ue)throw Error("Internal error: no property found in path "+he);const an=Vi(ue);return{key:he,align:Cz(ue),icon:ln=>ve(ue,"small"),title:ue.name??he,sortable:J&&(t?Object.keys(t).includes(he):!0),filter:!L&&an,width:Ii(ue),resizable:!0,custom:{resolvedProperty:ue,disabled:Ue},AdditionalHeaderWidget:({onHover:ln})=>O?n.jsx(O,{property:ue,propertyKey:he,onHover:ln}):void 0}}),ke=w?w.map(he=>({key:he.key,align:"left",sortable:!1,title:he.name,width:he.width??200})):[];return[...X,...ke]},[w,L,t,v,J]),ce=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:j?.()??(M?160:130),title:"ID",resizable:!1,frozen:M,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>$}),[j,M]),ge=f.useMemo(()=>[ce,...k.map(X=>re.find(ke=>ke.key===X.key)).filter(Boolean)],[re,k,ce]),qe=f.useCallback(X=>{const ke=X.column,he=X.columns,Ue=ke.key;if(X.columnIndex===0)return l?l({entity:X.rowData,size:_e,width:ke.width,frozen:ke.frozen}):n.jsx(ct,{entity:X.rowData,width:ke.width,frozen:ke.frozen,isSelected:!1,size:_e});if(kn[Ue])return x(X);if(X.columnIndex<he.length+1)return Q(X);throw Error("Internal: columns not mapped properly")},[kn,l,_e,x,Q]),bo=f.useCallback(X=>{T?.({...X,...t})},[t]);return n.jsx(Qi.Provider,{value:{setPopupCell:te,select:ho,onValueChange:u,size:_e,selectedCell:bn,selectedEntityIds:en},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(dH,{forceFilter:L,filterIsSet:yo,onTextSearch:I?go:void 0,clearFilter:W,size:_e,onSizeChanged:wn,title:a,actionsStart:c,actions:i,loading:K}),n.jsx(Fi,{data:S,columns:ge,cellRenderer:qe,onRowClick:p?void 0:h?pn:void 0,onEndReached:$n,onResetPagination:_o,error:P,paginationEnabled:H,onColumnResize:g,size:_e,loading:K,filter:E,onFilterUpdate:T?bo:void 0,sortBy:B,onSortByUpdate:D,hoverRow:b,emptyComponent:oe,checkFilterCombination:V,createFilterField:U?IH:void 0,rowClassName:f.useCallback(X=>en?.includes(X.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[en]),className:"flex-grow",endAdornment:de,AddColumnComponent:Y})]})})},se);function IH({id:e,filterValue:t,setFilterValue:c,column:i,hidden:a,setHidden:l}){if(!i.custom)return null;const{resolvedProperty:s}=i.custom,d=s?.dataType==="array",u=d?s.of:s;if(!u)return null;if(u.dataType==="reference")return n.jsx(uH,{value:t,setValue:c,name:e,isArray:d,path:u.path,title:s?.name,previewProperties:u?.previewProperties,hidden:a,setHidden:l});if(u.dataType==="number"||u.dataType==="string"){const A=u.name,_=u.enumValues?yn(u.enumValues):void 0;return n.jsx(fH,{value:t,setValue:c,name:e,dataType:u.dataType,isArray:d,enumValues:_,title:A})}else if(u.dataType==="boolean"){const A=u.name;return n.jsx(AH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(yH,{value:t,setValue:c,name:e,mode:u.mode,isArray:d,title:A})}return n.jsx("div",{children:`Currently the filter field ${s.dataType} is not supported`})}function Vi(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?Vi(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function bH({data:e,entitiesDisplayedFirst:t}){if(!t)return e;const c=new Set(t.map(i=>i.id));return[...t,...e.filter(i=>!c.has(i.id))]}function pH(e,t,c=5e3){const[i,a]=f.useState(e),l=f.useRef(i.length??0),s=f.useRef(!1),d=f.useRef(t),u=!se(d.current,t),A=e.length>=l.current||u;return f.useEffect(()=>{const _=()=>{se(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let h;return A?_():h=setTimeout(_,c),()=>{clearTimeout(h),s.current&&A&&_()}},[e,c,t,A]),A?e:i}const wH=50;function dt({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),_=Ae(),h=We(),g=f.useMemo(()=>_.resolveAliasesFrom(e),[e,_.resolveAliasesFrom]),y=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:wH,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),v=f.useCallback((H,V)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:g,collection:t,filterValues:H,sortBy:V}):!0,[]),S=f.useMemo(()=>{if(s&&y&&!v(y,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,y]),[K,C]=f.useState(y??l??void 0),[P,E]=f.useState(S),T=f.useCallback(()=>C(y??void 0),[y]),B=f.useCallback(H=>{if(y){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}H&&Object.keys(H).length===0?C(void 0):C(H)},[y]),{data:D,dataLoading:N,noMoreToLoad:W,dataLoadingError:z}=Yc({path:e,collection:t,filterValues:K,sortBy:P,searchString:p,itemCount:k}),q=bH({data:D,entitiesDisplayedFirst:c});return{data:pH(q,{filterValues:K,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:W,dataLoadingError:z,filterValues:K,setFilterValues:B,sortBy:P,setSortBy:E,searchString:p,setSearchString:w,clearFilter:T,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:v,popupCell:u,setPopupCell:A}}function Wi({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=We(),A=An(),[_,h]=f.useState(!1),[g,y]=f.useState(),[I,b]=f.useState(),p=ee();f.useEffect(()=>{if(e){const B=Array.isArray(e)&&e.length===1?e[0]:e;y(B),b(Array.isArray(B))}},[e]);const w=f.useMemo(()=>Te({collection:t,path:d,fields:p.propertyConfigs}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(B=>{console.debug("Deleted",B)},[]),v=f.useCallback((B,D)=>{A.open({type:"error",message:"Error deleting: "+D?.message}),console.error("Error deleting entity"),console.error(D)},[w.name]),S=f.useCallback((B,D)=>{A.open({type:"error",message:"Error before deleting: "+D?.message}),console.error(D)},[w.name]),K=f.useCallback((B,D)=>{A.open({type:"error",message:"Error after deleting: "+D?.message}),console.error(D)},[w.name]),C=f.useCallback(B=>Pa({dataSource:u,entity:B,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:v,onPreDeleteHookError:S,onDeleteSuccessHookError:K,context:p}),[u,w,a,m,v,S,K,p]),P=f.useCallback(async()=>{g&&(h(!0),I?Promise.all(g.map(C)).then(B=>{h(!1),s&&g&&s(d,g),B.every(Boolean)?A.open({type:"success",message:`${w.name}: multiple deleted`}):B.some(Boolean)?A.open({type:"warning",message:`${w.name}: Some of the entities have been deleted, but not all`}):A.open({type:"error",message:`${w.name}: Error deleting entities`}),c()}):C(g).then(B=>{h(!1),B&&(l&&g&&l(d,g),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[g,I,C,s,d,c,A,w.name,l]);let E;if(g&&I)E=n.jsx(n.Fragment,{children:"Multiple entities"});else{const B=g;E=B?n.jsx(xr,{entity:B,collection:t,path:d}):n.jsx(n.Fragment,{})}const T=I?n.jsxs(n.Fragment,{children:[n.jsx("b",{children:w.name}),": Confirm multiple delete?"]}):`Would you like to delete this ${w.singularName??w.name}?`;return n.jsxs(nr,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:B=>B?void 0:c(),children:[n.jsxs(or,{fullHeight:!0,children:[n.jsx(Z,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:E})]}),n.jsxs(En,{children:[_&&n.jsx(Nn,{size:"small"}),n.jsx(ie,{onClick:k,disabled:_,variant:"text",color:"primary",children:"Cancel"}),n.jsx(ie,{autoFocus:!0,disabled:_,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function Go(e){return Array.isArray(e)?e:e?[e]:[]}function kH({collection:e,relativePath:t,parentCollectionIds:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const _=ee(),h=_.plugins??[],g=un(),y=He(),I=d.selectedEntities,b=Un(e,g,ze(s),null)&&i&&(y?n.jsxs(ie,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(sn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ie,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(sn,{})})),p=xo(e,g,ze(s),null);let w;if(l){const v=y?n.jsxs(ie,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(vo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(R,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(vo,{})});w=n.jsx(ye,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:v})}const k={path:s,relativePath:t,parentCollectionIds:c,collection:e,selectionController:d,context:_,tableController:u,collectionEntitiesCount:A},m=Go(e.Actions).map((v,S)=>n.jsx(ae,{children:n.jsx(v,{...k})},`actions_${S}`));return h&&h.forEach((v,S)=>{v.collections?.CollectionActions&&m.push(...Go(v.collections?.CollectionActions).map((K,C)=>n.jsx(ae,{children:n.jsx(K,{...k,...v.collections?.collectionActionsProps})},`plugin_actions_${S}_${C}`)))}),n.jsxs(n.Fragment,{children:[m,w,b]})}function mH({containerRef:e,innerRef:t,x:c,y:i,onMove:a}){let l=0,s=0;const d=f.useRef(!1),u=I=>{if(I.button!==0||!e.current||I.defaultPrevented||I.innerClicked)return;const{x:b,y:p}=e.current.getBoundingClientRect();l=I.screenX-b,s=I.screenY-p,document.addEventListener("mousemove",g),document.addEventListener("mouseup",h),document.addEventListener("selectstart",_),d.current=!0},A=I=>{I.innerClicked=!0},_=I=>{I.preventDefault(),I.stopPropagation()},h=I=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",h),document.removeEventListener("selectstart",_),I.stopPropagation(),d.current=!1},g=I=>{I.target.localName==="input"||!d.current||(a({x:I.screenX-l,y:I.screenY-s}),I.stopPropagation())},y=()=>{e.current&&(e.current.style.top=`${i}px`,e.current.style.left=`${c}px`)};f.useEffect(()=>{const I=e.current,b=t.current;if(!(!I||!b))return b&&b.addEventListener("mousedown",A),I&&I.addEventListener("mousedown",u),y(),()=>{I&&I.removeEventListener("mousedown",u),b&&b.removeEventListener("mousedown",A)}})}function vH(){const[e,t]=f.useState({width:0,height:0});return f.useLayoutEffect(()=>{function c(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[]),e}const CH=({onResize:e})=>{const t=f.useRef(0),c=f.useRef(null),i=f.useRef(e);i.current=e;const a=f.useCallback(s=>{t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{i.current(s)})},[]),l=f.useCallback(()=>{const s=c.current;s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.addEventListener("resize",a)},[a]);return f.useEffect(()=>{const s=c.current;return()=>{s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.removeEventListener("resize",a)}},[a]),n.jsx("object",{onLoad:l,ref:c,tabIndex:-1,type:"text/html",data:"about:blank",title:"",style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",pointerEvents:"none",zIndex:-1,opacity:0}})};function KH(e){return e.open?n.jsx(SH,{...e}):null}function SH({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:_}){const h=We(),g=ee(),[y,I]=f.useState(),[b,p]=f.useState(),w=t?.id,[k,m]=f.useState(t);f.useEffect(()=>w&&a?h.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:V=>{m(V),S(V?.values)}}):()=>{},[h,w,a,l,d]);const[v,S]=f.useState(k?.values),K=a?Te({collection:a,path:l,values:v,entityId:w,fields:g.propertyConfigs}):void 0,C=vH(),P=f.useRef(null),E=f.useRef(null),T=f.useRef(!1),B=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<C.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<C.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,C.height,C.width]),D=f.useCallback(({x:V,y:te})=>{const U=P.current?.getBoundingClientRect();if(!U)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(V,C.width-U.width)),y:Math.max(0,Math.min(te,C.height-U.height))}},[C]),N=f.useCallback(V=>{const te=P.current?.getBoundingClientRect();if(!s||!te)return;const U=V??D(B());(!b||U.x!==b.x||U.y!==b.y)&&p(U)},[s,B,D,b]);mH({containerRef:P,innerRef:E,x:b?.x,y:b?.y,onMove:N}),f.useEffect(()=>{T.current=!1},[i,k]),f.useLayoutEffect(()=>{const V=P.current?.getBoundingClientRect();!s||!V||T.current||(N(),T.current=!0)},[s,N,T.current]),f.useLayoutEffect(()=>{N(b)},[C,s]);const W=f.useMemo(()=>{if(!(!K||!w))return Ei(w,i&&K.properties[i]?{[i]:K.properties[i]}:{},c)},[K,w,i,c]),z=f.useCallback(()=>N(b),[b,N]),q=async V=>(I(null),a&&k&&A&&i?A({value:V[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:g}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const ne=k&&n.jsxs("div",{className:`text-gray-900 dark:text-white overflow-auto rounded rounded-md bg-white dark:bg-gray-950 ${d?"":"hidden"} cursor-grab max-w-[100vw]`,children:[n.jsx(Pe.Formik,{initialValues:k?.values??{},enableReinitialize:!0,validationSchema:W,validateOnMount:!0,validate:V=>console.debug("Validating",V),onSubmit:(V,te)=>{q(V).then(()=>u()).finally(()=>te.setSubmitting(!1))},children:({values:V,setFieldValue:te,handleSubmit:U,isSubmitting:J})=>{if(f.useEffect(()=>{se(V,v)||S(V)},[V]),!k)return n.jsx(me,{error:"PopupFormField misconfiguration"});if(!K)return n.jsx(n.Fragment,{});const de=J,Y={collection:K,entityId:w,values:V,path:l,setFieldValue:te,save:q},O=i&&Bn(K.properties,i),$=i&&O?{propertyKey:i,disabled:J||On(O)||!!O.disabled,property:O,includeDescription:!1,underlyingValueHasChanged:!1,context:Y,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let oe=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Pe.Form,{onSubmit:U,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:E,className:"cursor-auto",style:{cursor:"auto !important"},children:$&&n.jsx(Sn,{...$})})}),n.jsx(En,{children:n.jsx(ie,{variant:"filled",color:"primary",type:"submit",disabled:de,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const j=g.plugins;return j&&j.forEach(M=>{M.form?.provider&&(oe=n.jsx(M.form.provider.Component,{status:"existing",path:l,collection:K,entity:k,context:g,currentEntityId:w,formContext:Y,...M.form.provider.props,children:oe}))}),oe}}),y&&n.jsx(Z,{color:"error",children:y.message})]}),H=n.jsxs("div",{style:{boxShadow:"0 0 0 2px rgba(128,128,128,0.2)"},className:`inline-block fixed z-20 shadow-outline rounded-md bg-white dark:bg-gray-950 ${d?"visible":"invisible"} cursor-grab overflow-visible`,ref:P,children:[n.jsx(CH,{onResize:z}),n.jsxs("div",{className:"overflow-hidden",children:[ne,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(R,{size:"small",onClick:V=>{V.stopPropagation(),u()},children:n.jsx(dn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(rl.Root,{asChild:!0,container:_,children:H})}const BH={icon:n.jsx(Ko,{}),name:"Edit",collapsed:!1,onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},Gi={icon:n.jsx(gc,{}),name:"Copy",onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("copy_entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,copy:!0,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},zi={icon:n.jsx(vo,{}),name:"Delete",onClick({entity:e,fullPath:t,collection:c,context:i,selectionController:a,onCollectionChange:l,sideEntityController:s}){const{closeDialog:d}=i.dialogsController.open({key:"delete_entity_dialog_"+e.id,Component:({open:u})=>{if(!c||!t)throw new Error("deleteEntityAction: Collection is undefined");return n.jsx(Wi,{entityOrEntitiesToDelete:e,path:t,collection:c,callbacks:c.callbacks,open:u,onEntityDelete:()=>{i.onAnalyticsEvent?.("single_entity_deleted",{path:t}),a?.setSelectedEntities(a.selectedEntities.filter(A=>A.id!==e.id)),l?.(),s?.close()},onClose:d})}});return Promise.resolve(void 0)}},EH="collectionGroupParent",ut=f.memo(function({fullPath:t,parentCollectionIds:c,isSubCollection:i,className:a,...l}){const s=We(),d=Ae(),u=fn(),A=un(),_=Mn(),h=ee(),g=f.useRef(null),y=f.useMemo(()=>{const Q=_?.getCollectionConfig(t);return Q?Ge(l,Q):l},[l,t,_?.getCollectionConfig]),I=Un(y,A,ze(t),null),[b,p]=f.useState(void 0),[w,k]=f.useState(void 0),[m,v]=f.useState(0),[S,K]=f.useState(0),C=f.useCallback(()=>{const Q=b;setTimeout(()=>{Q===b&&p(void 0)},2400)},[b]),P=f.useCallback(Q=>Qt(y,A,ze(t),Q??null)?y.inlineEditing===void 0||y.inlineEditing:!1,[y,A,t]),E=y.selectionEnabled===void 0||y.selectionEnabled,T=!P(),[B,D]=f.useState(!1),N=ft(),W=y.selectionController??N,{selectedEntities:z,toggleEntitySelection:q,isEntitySelected:ne,setSelectedEntities:H}=W;f.useEffect(()=>{k(void 0)},[z]);const V=dt({fullPath:t,collection:y,entitiesDisplayedFirst:[],lastDeleteTimestamp:m}),te=f.useRef(Math.random().toString(36)),U=V.popupCell,J=f.useCallback(()=>{V.setPopupCell?.(void 0)},[V.setPopupCell]),de=f.useCallback(Q=>(p(Q),h.onAnalyticsEvent?.("edit_entity_clicked",{path:Q.path,entityId:Q.id}),u.open({entityId:Q.id,path:Q.path,collection:y,updateUrl:!0,onClose:C})),[t,y,u]),Y=f.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:y,updateUrl:!0,onClose:C})},[t,y,u]);f.useCallback(Q=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),k(Q)},[h,t]);const O=f.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),k(z)},[h,t,z]),$=f.useCallback((Q,x)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),H(re=>re.filter(ce=>ce.id!==x.id)),v(Date.now())},[h,t,H]),oe=f.useCallback((Q,x)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),H([]),k(void 0),v(Date.now())},[H]);let j;h?.plugins&&(j=h.plugins.find(Q=>Q.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const M=f.useCallback((Q,x)=>{if(_){const re=_.getCollectionConfig(Q),ce=Ge(re,x);_.onCollectionModified(Q,ce)}},[_]),L=f.useCallback(({width:Q,key:x})=>{if(!Bn(y.properties,x))return;const re=Hi(x,Q);M(t,re)},[y,M,t]),Qe=f.useCallback(Q=>{_&&M(t,{defaultSize:Q})},[M,t,_]),be=Un(y,A,ze(t),null),_e=f.useCallback(({name:Q,value:x,property:re,entityId:ce})=>s.checkUniqueField(t,Q,x,ce),[t]),Ve=({fullPath:Q,context:x,value:re,propertyKey:ce,onValueUpdated:ge,setError:qe,entity:bo})=>{const X=Pe.setIn({...bo.values},ce,re),ke={path:Q,entityId:bo.id,values:X,previousValues:bo.values,collection:y,status:"existing"};return Wt({...ke,collection:y,callbacks:y.callbacks,dataSource:s,context:x,onSaveSuccess:()=>ge(),onSaveFailure:he=>{console.error("Save failure"),console.error(he),qe(he)}})},bn=d.resolveAliasesFrom(t),cn=f.useMemo(()=>Te({collection:y,path:t,fields:h.propertyConfigs}),[y,t]),en=f.useCallback(({propertyKey:Q,propertyValue:x,entity:re})=>{let ce=Bn(y.properties,Q);return ce||(ce=Bn(cn.properties,Q)),Me({propertyKey:Q,propertyOrBuilder:ce,path:t,propertyValue:x,values:re.values,entityId:re.id,fields:h.propertyConfigs})},[y.properties,h.propertyConfigs,t,cn.properties]),yo=Oi(cn,!0),$n=f.useMemo(()=>{const Q=y.subcollections?.map(re=>({key:Rr(re),name:re.name,width:200,dependencies:[],Builder:({entity:ce})=>n.jsx(ie,{color:"primary",variant:"outlined",startIcon:n.jsx(Ko,{size:"small"}),onClick:ge=>{ge.stopPropagation(),u.open({path:t,entityId:ce.id,selectedSubPath:re.id??re.path,collection:y,updateUrl:!0})},children:re.name})}))??[],x=y.collectionGroup?[{key:EH,name:"Parent entities",width:260,dependencies:[],Builder:({entity:re})=>{const ce=d.getParentReferencesFromPath(re.path);return n.jsx(n.Fragment,{children:ce.map(ge=>n.jsx(rn,{reference:ge,size:"tiny"},ge.path+"/"+ge.id))})}}]:[];return[...y.additionalFields??[],...Q,...x]},[y,t]),_o=f.useCallback(()=>{v(Date.now())},[]),pn=He(),wn=f.useCallback(({entity:Q,customEntityActions:x})=>{const re=Q?xo(y,A,ze(t),Q):!0,ce=[BH];return be&&ce.push(Gi),re&&ce.push(zi),x&&ce.push(...x),ce},[A,y,be,t]),go=f.useCallback(()=>{const Q=wn({}),x=Q.filter(ge=>ge.collapsed!==!1),ce=Q.filter(ge=>ge.collapsed===!1).length*(pn?40:30);return(pn?80+ce:70+ce)+(x.length>0?pn?40:30:0)},[pn,wn]),kn=f.useCallback(({entity:Q,size:x,width:re,frozen:ce})=>{const ge=ne(Q),qe=wn({entity:Q,customEntityActions:y.entityActions});return n.jsx(ct,{entity:Q,width:re,frozen:ce,isSelected:ge,selectionEnabled:E,size:x,highlightEntity:p,unhighlightEntity:C,collection:y,fullPath:t,actions:qe,hideId:y?.hideIdFromCollection,onCollectionChange:_o,selectionController:W})},[ne,y,A,t,E,q,be]),ho=n.jsx(tr,{open:B,onOpenChange:D,enabled:!!y.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(Z,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${y.description?"cursor-pointer":"cursor-auto"}`,onClick:y.description?Q=>{D(!0),Q.stopPropagation()}:void 0,children:`${y.name}`}),n.jsx(FH,{fullPath:t,collection:y,filter:V.filterValues,sortBy:V.sortBy,onCountChange:K})]}),children:y.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(Ao,{source:y.description})})});function Io({property:Q,propertyKey:x,onHover:re}){return h.plugins?n.jsx(n.Fragment,{children:h.plugins.filter(ce=>ce.collectionView?.HeaderAction).map((ce,ge)=>{const qe=ce.collectionView.HeaderAction;return n.jsx(qe,{onHover:re,propertyKey:x,property:Q,fullPath:t,collection:y,parentCollectionIds:c??[]},`plugin_header_action_${ge}`)})}):null}const G=j?function(){return typeof j=="function"?n.jsx(j,{fullPath:t,parentCollectionIds:c??[],collection:y}):null}:void 0;return n.jsxs("div",{className:F("overflow-hidden h-full w-full",a),ref:g,children:[n.jsx(st,{additionalFields:$n,tableController:V,displayedColumnIds:yo,onSizeChanged:Qe,onEntityClick:de,onColumnResize:L,onValueChange:Ve,tableRowActionsBuilder:kn,uniqueFieldValidator:_e,title:ho,selectionController:W,highlightedEntities:b?[b]:[],defaultSize:y.defaultSize,properties:cn.properties,getPropertyFor:en,actions:n.jsx(kH,{parentCollectionIds:c??[],collection:y,tableController:V,onMultipleDeleteClick:O,onNewClick:Y,path:t,relativePath:y.path,selectionController:W,selectionEnabled:E,collectionEntitiesCount:S}),emptyComponent:I&&V.filterValues===void 0&&V.sortBy===void 0?n.jsxs("div",{className:"flex flex-col items-center justify-center",children:[n.jsx(Z,{variant:"subtitle2",children:"So empty..."}),n.jsxs(ie,{color:"primary",variant:"outlined",onClick:Y,className:"mt-4",children:[n.jsx(sn,{}),"Create your first entity"]})]}):n.jsx(Z,{variant:"label",children:"No results with the applied filter/sort"}),hoverRow:T,inlineEditing:P(),AdditionalHeaderWidget:Io,AddColumnComponent:G,getIdColumnWidth:go,additionalIDHeaderWidget:n.jsx(PH,{path:t,collection:y})},`collection_table_${t}`),n.jsx(KH,{open:!!U,onClose:J,cellRect:U?.cellRect,propertyKey:U?.propertyKey,collection:y,entity:U?.entity,tableKey:te.current,customFieldValidator:_e,path:bn,onCellValueChange:Ve,container:g.current},`popup_form_${U?.propertyKey}_${U?.entity?.id}`),w&&n.jsx(Wi,{entityOrEntitiesToDelete:w,path:t,collection:y,callbacks:y.callbacks,open:!!w,onEntityDelete:$,onMultipleEntitiesDelete:oe,onClose:()=>k(void 0)})]})},se);function ft(){const[e,t]=f.useState([]),c=f.useCallback(a=>{let l;e.map(s=>s.id).includes(a.id)?l=e.filter(s=>s.id!==a.id):l=[...e,a],t(l)},[e]),i=f.useCallback(a=>e.map(l=>l.id).includes(a.id),[e]);return{selectedEntities:e,setSelectedEntities:t,isEntitySelected:i,toggleEntitySelection:c}}function FH({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=We(),s=Ae(),[d,u]=f.useState(void 0),[A,_]=f.useState(void 0),h=i?i[0]:void 0,g=i?i[1]:void 0,y=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:y,collection:t,filter:c,orderBy:h,order:g}).then(u).catch(_)},[e,l,y,t,c,h,g]),f.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(Z,{className:"w-full text-ellipsis block overflow-hidden whitespace-nowrap max-w-xs text-left w-fit-content",variant:"caption",color:"secondary",children:d!==void 0?`${d} entities`:n.jsx(Oe,{className:"w-full max-w-[80px] mt-1"})})}function Hi(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:Hi(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function PH({collection:e,path:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(""),s=fn();return n.jsx(ye,{title:c?void 0:"Find by ID",children:n.jsx(tr,{open:c,onOpenChange:i,trigger:n.jsx(R,{size:"small",children:n.jsx(hr,{size:"small"})}),children:n.jsx("form",{noValidate:!0,onSubmit:d=>{if(d.preventDefault(),!!a)return i(!1),s.open({entityId:a,path:t,collection:e,updateUrl:!0})},className:"text-gray-900 dark:text-white w-96 max-w-full",children:n.jsxs("div",{className:"flex p-4 w-full gap-4",children:[n.jsx(tn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(ie,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}const DH={breadcrumbs:[],set:e=>{}},Ui=f.createContext(DH),NH=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Ui.Provider,{value:{breadcrumbs:t,set:i},children:e})},TH=({children:e})=>n.jsx(qt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e}),MH={mode:"light",setMode:e=>{},toggleMode:()=>{}},zo=f.createContext(MH),OH=zo.Provider;function At(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=we(t).split("/"),l=Lo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(_=>_.id===u||_.path===u);if(A){const _=A.id??A.path,h=i&&i.length>0?i+"/"+_:_;s.push({type:"collection",path:h,collection:A});const g=we(we(t).replace(u,"")),y=g.length>0?g.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push({type:"entity",entityId:I,path:h,parentCollection:A}),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(m=>Mt(m,e.contextEntityViews)).filter(Boolean).find(m=>m.key===p);if(k){const m=i&&i.length>0?i+"/"+k.key:k.key;s.push({type:"custom_view",path:m,view:k})}else A.subcollections&&s.push(...At({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}const LH="100vw",QH="55vw",Yi="768px",Ho="main_##Q$SC^#S6";function VH({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,parentCollectionIds:l,onValuesAreModified:s,formWidth:d,onUpdate:u,onClose:A}){a.customId&&a.formAutoSave&&console.warn(`The collection ${a.path} has customId and formAutoSave enabled. This is not supported and formAutoSave will be ignored`);const[_,h]=f.useState(!1),[g,y]=f.useState(void 0);Qo(g,()=>{g&&L({entityId:J?.id,collection:a,path:e,values:g,closeAfterSave:!1})},!1,2e3);const I=We(),b=Uo(),p=fn(),w=An(),k=ee(),m=un(),[v,S]=f.useState(void 0),[K,C]=f.useState(i?"copy":t?"existing":"new"),P=f.useRef(void 0),E=P.current,T=(a.subcollections??[]).filter(G=>!G.hideFromNavigation),B=T?.length??0,D=a.entityViews,N=D?.length??0,W=a.formAutoSave&&!a.customId,z=N>0||B>0,q=c??Lr(a?a.defaultSelectedView:void 0,{status:K,entityId:t}),ne=f.useRef(q??Ho),H=ne.current===Ho,{entity:V,dataLoading:te,dataLoadingError:U}=Nr({path:e,entityId:t,collection:a,useCache:!1}),[J,de]=f.useState(V),[Y,O]=f.useState(void 0);f.useEffect(()=>{V&&de(V)},[V]),f.useEffect(()=>{if(K==="new")O(!1);else{const G=J?Qt(a,m,ze(e),J??null):!1;J&&O(!G)}},[m,J,K]);const $=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error before saving: "+G?.message}),console.error(G)},[w]),oe=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error after saving (entity is saved): "+G?.message}),console.error(G)},[w]),j=(G,Q)=>{h(!1),W||w.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),de(G),C("existing"),s(!1),u&&u({entity:G}),Q?(b.setBlocked(!1),b.close(!0),A?.()):K!=="existing"&&p.replace({path:e,entityId:G.id,selectedSubPath:ne.current,updateUrl:!0,collection:a})},M=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error saving: "+G?.message}),console.error("Error saving entity",e,t),console.error(G)},[t,e,w]),L=({values:G,previousValues:Q,closeAfterSave:x,entityId:re,collection:ce,path:ge})=>{h(!0),Wt({path:ge,entityId:re,values:G,previousValues:Q,collection:ce,status:K,dataSource:I,context:k,onSaveSuccess:qe=>j(qe,x),onSaveFailure:M,onPreSaveHookError:$,onSaveSuccessHookError:oe}).then()},Qe=async({collection:G,path:Q,entityId:x,values:re,previousValues:ce,closeAfterSave:ge,autoSave:qe})=>{K&&(qe?y(re):L({collection:G,path:Q,entityId:x,values:re,previousValues:ce,closeAfterSave:ge}))},be=D?D.map(G=>Mt(G,k.entityViews)).filter(Boolean):[],_e=D&&be.map((G,Q)=>{if(!G||ne.current!==G.key)return null;const x=G.Builder;return x?n.jsx("div",{className:F(fe,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(ae,{children:v&&n.jsx(x,{collection:a,entity:J,modifiedValues:E??J?.values,formContext:v})})},`custom_view_${G.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),Ve=te&&!J||(!J||Y===void 0)&&(K==="existing"||K==="copy"),bn=Ve||_,cn=T&&T.map((G,Q)=>{const x=G.id??G.path,re=J?`${e}/${J?.id}/${we(x)}`:void 0;return ne.current!==x?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[bn&&n.jsx(lo,{}),!Ve&&(J&&re?n.jsx(ut,{fullPath:re,parentCollectionIds:[...l,a.id],isSubCollection:!0,...G}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(Z,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${x}`)}).filter(Boolean),en=f.useCallback(()=>{s(!1)},[]),yo=G=>{ne.current=G,p.replace({path:e,entityId:t,selectedSubPath:G===Ho?void 0:G,updateUrl:!0,collection:a})},$n=f.useCallback(G=>{P.current=G},[]),_o=f.useCallback(G=>{w.open({type:"error",message:"Error updating id, check the console"})},[]),pn=f.useCallback(G=>{de(Q=>Q?{...Q,id:G}:void 0)},[]),wn=G=>{W||s(G)};function go(){const G=k.plugins;let Q=n.jsx(Ia,{status:K,path:e,collection:a,onEntitySaveRequested:Qe,onDiscard:en,onValuesChanged:$n,onModified:wn,entity:J,onIdChange:pn,onFormContextChange:S,hideId:a.hideIdFromForm,autoSave:W,onIdUpdateError:_o});return G&&G.forEach(x=>{x.form?.provider&&(Q=n.jsx(x.form.provider.Component,{status:K,path:e,collection:a,onDiscard:en,onValuesChanged:$n,onModified:wn,entity:J,context:k,formContext:v,...x.form.provider.props,children:Q}))}),n.jsx(ae,{children:Q})}const kn=Y===void 0?n.jsx(n.Fragment,{}):Y?n.jsxs(n.Fragment,{children:[n.jsx(Z,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(xr,{className:"px-12",entity:J,path:e,collection:a})]}):go(),ho=T&&T.map(G=>n.jsx(rr,{className:"text-sm min-w-[140px]",value:G.id,children:G.name},`entity_detail_collection_tab_${G.name}`)),Io=be.map(G=>n.jsx(rr,{className:"text-sm min-w-[140px]",value:G.key,children:G.name},`entity_detail_collection_tab_${G.name}`));return n.jsx("div",{className:"flex flex-col h-full w-full transition-width duration-250 ease-in-out",children:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:F(fe,"no-scrollbar border-b pl-2 pr-2 pt-1 flex items-end overflow-scroll bg-gray-50 dark:bg-gray-950"),children:[n.jsx("div",{className:"pb-1 self-center",children:n.jsx(R,{onClick:()=>(A?.(),b.close(!1)),size:"large",children:n.jsx(wr,{})})}),n.jsx("div",{className:"flex-grow"}),Ve&&n.jsx("div",{className:"self-center",children:n.jsx(Nn,{size:"small"})}),n.jsxs(Ma,{value:ne.current,onValueChange:G=>{yo(G)},className:"pl-4 pr-4 pt-0",children:[n.jsx(rr,{disabled:!z,value:Ho,className:`${z?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),Io,ho]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!H,id:`form_${e}`,className:" w-full",children:Ve?n.jsx(lo,{}):kn}),_e,cn]})]})})}function WH(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(pe.UNSAFE_NavigationContext),l=pe.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:_,retry:h})=>{switch(A){case"REPLACE":{h();return}case"POP":i(_)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(_=>{const h={..._,retry(){A(),_.retry()}};u(h)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function GH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(nr,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(or,{children:[n.jsx(Z,{variant:"h6",children:a}),i,n.jsx(Z,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(En,{children:[n.jsx(ie,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(ie,{onClick:t,children:" Ok "})]})]})}const ji=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Uo=()=>f.useContext(ji);function zH(){const t=no().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(HH,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function HH({offsetPosition:e,panel:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(!1),[s,d]=f.useState(),u=f.useRef(t?.width),A=u.current,_=no(),{navigationWasBlocked:h,handleOk:g,handleCancel:y}=WH(a&&!c,()=>l(!1));f.useEffect(()=>{t&&(u.current=t.width)},[t]);const I=()=>{l(!1),i(!1),_.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(_.close(),t?.onClose?.())};return n.jsxs(ji.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Yt,{open:!!t,onOpenChange:w=>!w&&p(),children:[t&&n.jsx("div",{className:"transform max-w-[100vw] lg:max-w-[95vw] flex flex-col h-full transition-all duration-250 ease-in-out bg-white dark:bg-gray-900 ",style:{width:t.width,transform:`translateX(-${e*200}px)`},children:n.jsx(ae,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(GH,{open:h||c,handleOk:c?I:g,handleCancel:c?b:y,body:s})]})}function UH(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Uo(),a=Ae(),l=f.useMemo(()=>a.getParentCollectionIds(e.path),[a,e.path]),s=f.useMemo(()=>{if(!e)return;let u=e.collection;if(!u&&(u=a.getCollection(e.path,e.entityId),!u))throw console.error("ERROR: No collection found in path `",e.path,"`. Entity id: ",e.entityId),Error("ERROR: No collection found in path `"+e.path+"`. Make sure you have defined a collection for this path in the root navigation.");return u},[a,e]);f.useEffect(()=>{function u(A){t&&s&&(A.preventDefault(),A.returnValue=`You have unsaved changes in this ${s.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",u),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",u)}},[t,s]);const d=f.useCallback(u=>{c(u),i(u?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:s?.singularName??s?.name}),"."]}):void 0)},[s?.name,c,i]);return!e||!s?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(ae,{children:n.jsx(VH,{...e,formWidth:e.width,collection:s,parentCollectionIds:l,onValuesAreModified:d})})})}const $i="new";function YH(e,t){if(t)return LH;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??Yi:`calc(${QH} + ${i??Yi})`}const jH=(e,t)=>{const c=pe.useLocation(),i=f.useRef(!1),a=!He();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${$i}`,A=e.urlPathToDataPath(c.pathname),_=$H(A,e.collections,u);for(let h=0;h<_.length;h++){const g=_[h];setTimeout(()=>{h===0?t.replace(Yo(g,e,a)):t.open(Yo(g,e,a))},1)}}i.current=!0}},[c,e,t,a]);const l=f.useCallback(()=>{t.close()},[t]),s=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");const A=Lr(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Yo({selectedSubPath:A,...u},e,a))},[t,e,a]),d=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");t.replace(Yo(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function $H(e,t,c){const i=At({path:e,collections:t}),a=[];let l="";for(let s=0;s<i.length;s++){const d=i[s];if(d.type==="collection"&&(l=d.path),s>0){const u=i[s-1];if(d.type==="entity")a.push({path:d.path,entityId:d.entityId,copy:!1});else if(d.type==="custom_view"){if(u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.view.key)}}else if(d.type==="collection"&&u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.collection.id??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Yo=(e,t,c)=>{const i=we(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${$i}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(UH,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:YH(e,c),onClose:e.onClose}};function qH(){const e=pe.useLocation(),t=pe.useNavigate(),[c,i]=f.useState([]),a=f.useRef(c),l=f.useRef({}),s=f.useRef(0),d=h=>{a.current=h,i(h)};f.useEffect(()=>{const y=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);se(a.current.map(I=>I.key),y.map(I=>I.key))||d(y)},[e]);const u=f.useCallback(()=>{if(c.length===0)return;const h=c[c.length-1],g=[...c.slice(0,-1)];if(d(g),s.current>0)h.urlPath&&t(-1),s.current--;else if(h.parentUrlPath){const y=e.state?.base_location??e;t(h.parentUrlPath,{replace:!0,state:{base_location:y,panels:g.map(I=>I.key)}})}},[c,t,e]),A=f.useCallback(h=>{const g=Array.isArray(h)?h:[h];g.forEach(b=>{l.current[b.key]=b}),s.current=s.current+g.length;const y=e.state?.base_location??e,I=[...c,...g];d(I),g.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]),_=f.useCallback(h=>{const g=Array.isArray(h)?h:[h];g.forEach(b=>{l.current[b.key]=b});const y=e.state?.base_location??e,I=[...c.slice(0,-g.length),...g];d(I),g.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:_}}function JH(e){f.useEffect(()=>{if(!e)return;const t=xt[e];t&&(cr.registerLocale(e,t),cr.setDefaultLocale(e))},[e])}function qi(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=we(t).split("/"),l=Lo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(_=>_.id===u||_.path===u);if(A){const _=A.id??A.path,h=i&&i.length>0?i+"/"+_:_,g=we(we(t).replace(u,"")),y=g.length>0?g.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push(new $e(I,h)),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...qi({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}const ZH="/",XH="/c";function xH({basePath:e=ZH,baseCollectionPath:t=XH,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=pe.useLocation(),[A,_]=f.useState(),[h,g]=f.useState(),[y,I]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[m,v]=f.useState(void 0),S=we(e),K=we(t),C=S?`/${S}`:"/",P=S?`/${S}/${K}`:`/${K}`,E=f.useCallback(Y=>S?`/${S}/${jo(Y)}`:`/${jo(Y)}`,[S]),T=f.useCallback(Y=>`${we(t)}/${jo(Y)}`,[t]),B=f.useCallback((Y,O)=>{const $=[...(Y??[]).map(j=>j.hideFromNavigation?void 0:{url:T(j.id??j.path),type:"collection",name:j.name.trim(),path:j.id??j.path,collection:j,description:j.description?.trim(),group:j.group?.trim()}).filter(Boolean),...(O??[]).map(j=>j.hideFromNavigation?void 0:{url:E(Array.isArray(j.path)?j.path[0]:j.path),name:j.name.trim(),type:"view",view:j,description:j.description?.trim(),group:j.group?.trim()}).filter(Boolean)],oe=Object.values($).map(j=>j.group).filter(Boolean).filter((j,M,L)=>L.indexOf(j)===M);return{navigationEntries:$,groups:oe}},[E,T]),D=f.useCallback(async()=>{if(!c.initialLoading){try{const[Y=[],O=[]]=await Promise.all([RH(i,c,d,s),e3(a,c,d)]);_(Y),g(O),p(B(Y??[],O))}catch(Y){console.error(Y),v(Y)}k(!1),I(!0)}},[i,c.user,c.initialLoading,s,a,B]);f.useEffect(()=>{D()},[D]);const N=f.useCallback((Y,O,$=!1)=>{if(!A)return;const oe=Oo(we(Y),A),j=$?l?.getCollectionConfig(Y):void 0,M=oe?Ge(oe,j):void 0;let L=M;if(M){const Qe=M.subcollections,be=M.callbacks,_e=M.permissions;L={...L,subcollections:L?.subcollections??Qe,callbacks:L?.callbacks??be,permissions:L?.permissions??_e}}if(L)return{...M,...L}},[e,t,A]),W=f.useCallback(Y=>{let O=A;if(!O)throw Error("Collections have not been initialised yet");for(let $=0;$<Y.length;$++){const oe=Y[$],j=O.find(M=>M.id===oe||M.path===oe);if(!j)return;if(O=j.subcollections,$===Y.length-1)return j}},[A]),z=f.useCallback(Y=>{let O=A;if(!O)throw Error("Collections have not been initialised yet");for(let $=0;$<Y.length;$++){const oe=Y[$],j=O.find(M=>M.id===oe);if(!j)return;if(O=j.subcollections,$===Y.length-1)return j}},[A]),q=f.useCallback(Y=>we(Y+"/").startsWith(we(P)+"/"),[P]),ne=f.useCallback(Y=>{if(Y.startsWith(P))return Y.replace(P,"");throw Error("Expected path starting with "+P)},[P]),H=f.useCallback(({path:Y})=>`s/edit/${jo(Y)}`,[]),V=f.useCallback(Y=>{if(!A)throw Error("Collections have not been initialised yet");return Hr(Y,A)},[A]),te=u.state,U=te&&te.base_location?te.base_location:u,J=f.useCallback(Y=>qi({path:Y,collections:A}),[A]),de=f.useCallback(Y=>J(Y).map(O=>O.id),[J]);return f.useMemo(()=>({collections:A??[],views:h??[],loading:!y||w,navigationLoadingError:m,homeUrl:C,basePath:e,baseCollectionPath:t,initialised:y,getCollection:N,getCollectionFromPaths:W,getCollectionFromIds:z,isUrlCollectionPath:q,urlPathToDataPath:ne,buildUrlCollectionPath:T,buildUrlEditCollectionPath:H,buildCMSUrlPath:E,resolveAliasesFrom:V,topLevelNavigation:b,baseLocation:U,refreshNavigation:D,getParentReferencesFromPath:J,getParentCollectionIds:de}),[t,U,e,E,T,H,A,J,N,W,C,y,q,w,m,D,V,b,ne,h])}function jo(e){return encodeURIComponent(we(e)).replaceAll("%2F","/").replaceAll("%23","#")}function Ji(e,t){return e.filter(c=>c.permissions?uo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:Ji(c.subcollections,t)}:c)}async function RH(e,t,c,i){let a=[];return typeof e=="function"?a=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(a=e),a=Ji(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function e3(e,t,c){let i=[];return typeof e=="function"?i=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(i=e),i}function n3({delegate:e,propertyConfigs:t,navigationController:c}){return{fetchCollection:f.useCallback(({path:i,collection:a,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:_})=>e.fetchCollection({path:i,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:_}),[e]),listenCollection:e.listenCollection?f.useCallback(({path:i,collection:a,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:_,onUpdate:h,onError:g})=>{const I=!!(a??c.getCollection(i))?.collectionGroup;if(!e.listenCollection)throw Error("useBuildDataSource delegate not initialised");return e.listenCollection({path:i,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:_,onUpdate:h,onError:g,isCollectionGroup:I})},[e,c.getCollection]):void 0,fetchEntity:f.useCallback(({path:i,entityId:a})=>e.fetchEntity({path:i,entityId:a}),[e]),listenEntity:e.listenEntity?f.useCallback(({path:i,entityId:a,collection:l,onUpdate:s,onError:d})=>{if(!e.listenEntity)throw Error("useBuildDataSource delegate not initialised");return e.listenEntity({path:i,entityId:a,onUpdate:s,onError:d})},[e.listenEntity]):void 0,saveEntity:f.useCallback(({path:i,entityId:a,values:l,collection:s,status:d})=>{const u=s??c.getCollection(i),_=(u?Te({collection:u,path:i,entityId:a,fields:t}):void 0)?.properties,h=yt(l,e.buildReference,e.buildGeoPoint,e.buildDate,e.buildDeleteFieldValue),g=_?jc({inputValues:h,properties:_,status:d,timestampNowValue:e.currentTime(),setDateToMidnight:e.setDateToMidnight}):h;return console.debug("Saving entity",i,a,g),e.saveEntity({path:i,entityId:a,values:g,status:d}).then(y=>({id:y.id,path:y.path,values:e.delegateToCMSModel(g)}))},[e.saveEntity,c.getCollection]),deleteEntity:f.useCallback(({entity:i})=>e.deleteEntity({entity:i}),[e.deleteEntity]),checkUniqueField:f.useCallback((i,a,l,s)=>e.checkUniqueField(i,a,l,s),[e.checkUniqueField]),generateEntityId:f.useCallback(i=>e.generateEntityId(i),[e.generateEntityId]),countEntities:f.useCallback(async({path:i,collection:a,filter:l,order:s,orderBy:d})=>e.countEntities({path:i,filter:l,orderBy:d,order:s,isCollectionGroup:!!a.collectionGroup}),[e.countEntities]),isFilterCombinationValid:f.useCallback(({path:i,filterValues:a,sortBy:l})=>e.isFilterCombinationValid?e.isFilterCombinationValid({path:i,filterValues:a,sortBy:l}):!0,[e.isFilterCombinationValid])}}function yt(e,t,c,i,a){return e===void 0?a():Array.isArray(e)?e.map(l=>yt(l,t,c,i,a)):e instanceof $e?t(e):e instanceof Eo?c(e):e instanceof Date?i(e):e&&typeof e=="object"?Object.entries(e).map(([l,s])=>({[l]:yt(s,t,c,i,a)})).reduce((l,s)=>({...l,...s}),{}):e}function o3(e){const t=Gt(),{children:c,entityLinkBuilder:i,userConfigPersistence:a,dateTimeFormat:l,locale:s,authController:d,storageSource:u,dataSourceDelegate:A,plugins:_,onAnalyticsEvent:h,propertyConfigs:g,entityViews:y,components:I,baseCollectionPath:b,basePath:p,collections:w,views:k}=e;JH(s);const m=xH({basePath:p,baseCollectionPath:b,authController:d,collections:w,views:k,userConfigPersistence:a,dataSource:A,plugins:_}),v=n3({delegate:A,propertyConfigs:g,navigationController:m}),S=qH(),K=jH(m,S),C=_?.some(T=>T.loading)??!1,P=d.initialLoading||m.loading||C,E=f.useMemo(()=>({entityLinkBuilder:i,dateTimeFormat:l,locale:s,plugins:_,onAnalyticsEvent:h,entityViews:y??[],propertyConfigs:g??{},components:I}),[l,s,_,y,g,I]);return m.navigationLoadingError?n.jsx(_r,{maxWidth:"md",fullScreen:!0,children:n.jsx(me,{title:"Error loading navigation",error:m.navigationLoadingError})}):d.authError?n.jsx(_r,{maxWidth:"md",fullScreen:!0,children:n.jsx(me,{title:"Error loading auth",error:d.authError})}):n.jsx(zo.Provider,{value:t,children:n.jsx(Pr.Provider,{value:E,children:n.jsx(Hc.Provider,{value:a,children:n.jsx(zc.Provider,{value:u,children:n.jsx(Qc.Provider,{value:v,children:n.jsx(Fr.Provider,{value:d,children:n.jsx(Wc.Provider,{value:S,children:n.jsx(Gc.Provider,{value:K,children:n.jsx(Vc.Provider,{value:m,children:n.jsx(NH,{children:n.jsx(z5,{children:n.jsx(r3,{loading:P,children:c})})})})})})})})})})})})}function r3({loading:e,children:t}){const c=ee();let i=t({context:c,loading:e});const a=c.plugins;return!e&&a&&a.forEach(l=>{l.provider&&(i=n.jsx(l.provider.Component,{...l.provider.props,context:c,children:i}))}),n.jsx(n.Fragment,{children:i})}function Zi({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ee(),a=Ae(),l=e&&!t,s=He();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:u}=a.topLevelNavigation,A=Object.values(d).filter(g=>!g.group),_=f.useCallback(g=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(Z,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:g?g.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),h=g=>{const y=g.type==="collection"?"drawer_navigate_to_collection":g.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(y,{url:g.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[u.map(g=>n.jsxs(f.Fragment,{children:[_(g),Object.values(d).filter(y=>y.group===g).map((y,I)=>n.jsx(_t,{icon:Ro(y.collection??y.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>h(y),url:y.url,name:y.name},`navigation_${I}`))]},`drawer_group_${g}`)),A.length>0&&_(),A.map((g,y)=>n.jsx(_t,{icon:Ro(g.collection??g.view),tooltipsOpen:l,onClick:()=>h(g),drawerOpen:t,url:g.url,name:g.name},`navigation_${y}`))]})}function _t({name:e,icon:t,drawerOpen:c,tooltipsOpen:i,url:a,onClick:l}){const s=n.jsx("div",{className:"text-gray-600 dark:text-gray-500",children:t}),d=n.jsxs(pe.NavLink,{onClick:l,className:({isActive:u})=>F("rounded-r-xl truncate","hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-gray-100","flex flex-row items-center w-full mr-8",c?"pl-8 h-12":"pl-6 h-11","font-medium text-sm",u?"bg-gray-100 dark:bg-gray-800":""),to:a,children:[s,n.jsx("div",{className:F(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(ye,{open:i,side:"right",title:e,children:d})}const t3=280,c3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=Zi,drawerProps:u,FireCMSAppBarComponent:A=ra,fireCMSAppBarComponentProps:_}=t,h=He(),g=Ae(),[y,I]=f.useState(!1),[b,p]=f.useState(!1),w=f.useCallback(()=>p(!0),[]),k=f.useCallback(()=>p(!1),[]),m=f.useCallback(()=>{I(!1)},[]),v=y||!!(h&&s&&b);return n.jsxs("div",{className:"flex h-screen w-screen bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-white overflow-hidden",style:{paddingTop:"env(safe-area-inset-top)",paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",height:"100dvh"},children:[n.jsx(A,{title:i,includeDrawer:l,drawerOpen:v,..._}),n.jsx(a3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:v,logo:a,hovered:b,setDrawerOpen:I,children:l&&(g.loading?n.jsx(lo,{}):n.jsx(d,{hovered:b,drawerOpen:v,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(i3,{}),n.jsx("div",{className:F(fe,"flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1"),children:n.jsx(ae,{children:c})})]})]})},se),i3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function a3(e){const t=Ae(),c=e.displayed?e.open?t3:72:0,i=n.jsxs("div",{className:"relative h-full no-scrollbar overflow-y-auto overflow-x-hidden",style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[!e.open&&e.displayed&&n.jsx(ye,{title:"Open menu",side:"right",sideOffset:12,className:"fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit",children:n.jsx(R,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(vr,{})})}),n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{style:{transition:"padding 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",padding:e.open?"32px 96px 0px 24px":"72px 16px 0px"},className:F("cursor-pointer"),children:n.jsx(ye,{title:"Home",sideOffset:20,side:"right",children:n.jsx(pe.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:F("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(oa,{})})})}),e.children]})]});return He()?n.jsxs("div",{className:"relative",onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[i,n.jsx("div",{className:`absolute right-0 top-4 ${e.open?"opacity-100":"opacity-0 invisible"} transition-opacity duration-1000 ease-in-out`,children:n.jsx(R,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(sc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(vr,{})}),n.jsx(Yt,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const l3=f.memo(function({HomePage:t=ea,customRoutes:c}){const i=pe.useLocation(),a=Ae();if(!a)return n.jsx(n.Fragment,{});const l=i.state,s=l&&l.base_location?l.base_location:i,d=[];a.views&&a.views.forEach(g=>{Array.isArray(g.path)?d.push(...g.path.map(y=>Xi(y,g))):d.push(Xi(g.path,g))});const A=[...a.collections??[]].sort((g,y)=>y.path.length-g.path.length).map(g=>{const y=a.buildUrlCollectionPath(g.id??g.path);return n.jsx(pe.Route,{path:y+"/*",element:n.jsx($o,{path:y,title:g.name,type:"collection",children:n.jsx(ut,{isSubCollection:!1,parentCollectionIds:[],fullPath:g.id??g.path,...g,Actions:Go(g.Actions)},`collection_view_${g.id??g.path}`)})},`navigation_${g.id??g.path}`)}),_=n.jsx(pe.Route,{path:"/",element:n.jsx($o,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(pe.Route,{path:"*",element:n.jsx(na,{})});return n.jsxs(pe.Routes,{location:s,children:[A,d,_,h,c]})}),Xi=(e,t)=>n.jsx(pe.Route,{path:e,element:n.jsx($o,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),$o=f.memo(function({children:t,title:c,path:i,type:a}){const l=zt();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);function s3(){const e=typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)"),c=(localStorage.getItem("prefers-dark-mode")!=null?localStorage.getItem("prefers-dark-mode")==="true":null)??e,[i,a]=f.useState(c?"dark":"light");f.useEffect(()=>{a(c?"dark":"light"),d(c?"dark":"light")},[c]);const l=f.useCallback(()=>{a("dark"),d("dark")},[e]),s=f.useCallback(()=>{a("light"),d("light")},[]),d=A=>{document.body.style.setProperty("color-scheme",A),document.documentElement.dataset.theme=A},u=f.useCallback(()=>{i==="light"?(e?localStorage.removeItem("prefers-dark-mode"):localStorage.setItem("prefers-dark-mode","true"),l()):(e?localStorage.setItem("prefers-dark-mode","false"):localStorage.removeItem("prefers-dark-mode"),s())},[i,e]);return{mode:i,setMode:a,toggleMode:u}}function d3(){const[e,t]=f.useState({}),c=f.useCallback(I=>{const b=localStorage.getItem(I);return b?JSON.parse(b):{}},[]),i=f.useCallback(I=>{const b=`collection_config::${zr(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${zr(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=Ge(k??c(I),b);return Ge(w,m)})},[c]),[l,s]=f.useState([]),[d,u]=f.useState([]),[A,_]=f.useState([]);f.useEffect(()=>{s(localStorage.getItem("recently_visited_paths")?JSON.parse(localStorage.getItem("recently_visited_paths")):[]),u(localStorage.getItem("favourite_paths")?JSON.parse(localStorage.getItem("favourite_paths")):[]),_(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const h=f.useCallback(I=>{localStorage.setItem("recently_visited_paths",JSON.stringify(I)),s(I)},[]),g=f.useCallback(I=>{localStorage.setItem("favourite_paths",JSON.stringify(I)),u(I)},[]),y=f.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),_(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:h,favouritePaths:d,setFavouritePaths:g,collapsedGroups:A,setCollapsedGroups:y}}function xi({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Uo(),_=fn(),h=Ae(),g=ee(),y=h.resolveAliasesFrom(a),I=We(),[b,p]=f.useState([]),w=ft();f.useEffect(()=>{let B=!1;const D=l?.map(N=>N?.toString()).filter(Boolean);return D&&i?Promise.all(D.map(N=>I.fetchEntity({path:y,entityId:N,collection:i}))).then(N=>{if(!B){const W=N.filter(z=>z!==void 0);w.setSelectedEntities(W),p(W)}}):(w.setSelectedEntities([]),p([])),()=>{B=!0}},[I,y,l,i,w.setSelectedEntities]);const k=f.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_clear",{path:y}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},[c,t,e]),m=f.useCallback(B=>{let D;const N=w.selectedEntities;if(g.onAnalyticsEvent?.("reference_selection_toggle",{path:y,entityId:B.id}),N){if(N.map(W=>W.id).indexOf(B.id)>-1)D=N.filter(W=>W.id!==B.id);else{if(u&&N.length>=u)return;D=[...N,B]}w.setSelectedEntities(D),t&&t(D)}},[t,w.selectedEntities]),v=f.useCallback(B=>{!c&&e?(g.onAnalyticsEvent?.("reference_selected_single",{path:y,entityId:B.id}),e(B),A.close(!1)):m(B)},[A,c,e,m]),S=f.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_new_entity",{path:y}),_.open({path:y,collection:i,updateUrl:!0,onUpdate:({entity:B})=>{p([B,...b]),v(B)},closeOnSave:!0})},[_,y,i,b,v]),K=f.useCallback(({entity:B,size:D,width:N,frozen:W})=>{const z=w.selectedEntities,q=z&&z.map(ne=>ne.id).indexOf(B.id)>-1;return n.jsx(ct,{width:N,frozen:W,entity:B,size:D,isSelected:q,selectionEnabled:c,hideId:i?.hideIdFromCollection,fullPath:y,selectionController:w})},[c,w.selectedEntities,m,i?.hideIdFromCollection]),C=f.useCallback(B=>{B.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(me,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Te({collection:i,path:y,values:{},fields:g.propertyConfigs}),[i,g.propertyConfigs,y]),E=Oi(P,!1),T=dt({fullPath:y,collection:i,entitiesDisplayedFirst:b,forceFilter:d});return n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{className:"flex-grow",children:b&&n.jsx(st,{displayedColumnIds:E,onEntityClick:v,tableController:T,tableRowActionsBuilder:K,title:n.jsx(Z,{variant:"subtitle2",children:i.singularName?`Select ${i.singularName}`:`Select from ${i.name}`}),defaultSize:i.defaultSize,properties:P.properties,forceFilter:d,inlineEditing:!1,selectionController:w,actions:n.jsx(u3,{collection:i,path:y,onNewClick:S,onClear:k})})}),n.jsxs(En,{translucent:!1,children:[s&&n.jsx(Z,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(ie,{onClick:C,color:"primary",variant:"filled",children:"Done"})]})]})}function u3({collection:e,path:t,onClear:c,onNewClick:i}){const a=un(),l=He(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Un(e,a,ze(t),null)&&s&&(l?n.jsxs(ie,{onClick:s,startIcon:n.jsx(sn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ie,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(sn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(ie,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function hn({title:e,children:t,invisible:c=!1,expanded:i,onExpandedChange:a,initiallyExpanded:l=!0,titleClassName:s,asField:d,className:u}){vn("ExpandablePanel",`
97
+ `)),B)},P=le.useCallback(()=>{const B=K();pi(B)||(l&&l(B),S(D=>C(D,B)))},[K,l]),E=()=>{const B=K();pi(B)||nl.flushSync(()=>{S(D=>C(D,B))})};le.useEffect(()=>{const B=bi(()=>{m.current=0,p.current&&E()});let D;const N=p.current,W=window;if(!(typeof window>"u"))return W.addEventListener("resize",B),typeof ResizeObserver<"u"&&(D=new ResizeObserver(B),D.observe(N)),()=>{B.clear(),W.removeEventListener("resize",B),D&&D.disconnect()}}),f.useLayoutEffect(()=>{P()}),le.useEffect(()=>{m.current=0},[A]);const T=B=>{m.current=0,b||P(),i&&i(B)};return n.jsxs(le.Fragment,{children:[n.jsx("textarea",{value:A,onChange:T,className:t.className,ref:w,onFocus:g,onBlur:h,rows:d,style:{height:v.outerHeightStyle,overflow:v.overflow?"hidden":void 0,...u},onScroll:a,...I}),n.jsx("textarea",{"aria-hidden":!0,className:F(t.className,t.shadowClassName),readOnly:!0,ref:k,tabIndex:-1,style:{...Kz.shadow,...u,padding:0}})]})});function Sz(...e){return le.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{Bz(c,t)})},e)}function Bz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ez(e){const t=f.useRef(null),{disabled:c,value:i,multiline:a,updateValue:l,focused:s}=e,d=f.useRef(i),[u,A]=f.useState(i),g=f.useRef(!1);f.useEffect(()=>{d.current!==i&&i!==u&&A(i),d.current=i},[i]);const h=f.useCallback(()=>{!i&&!u||u!==i&&(d.current=u,l(u))},[u,l,i]);return Qo(u,h,!s,2e3),f.useEffect(()=>{t.current&&s&&!g.current?(g.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):g.current=s},[s,t]),n.jsx(et,{ref:t,style:{padding:0,margin:0,width:"100%",color:"unset",fontWeight:"unset",lineHeight:"unset",fontSize:"unset",fontFamily:"unset",background:"unset",border:"unset",resize:"none",outline:"none"},value:u??"",onChange:_=>{const y=_.target.value;(a||!y.endsWith(`
98
+ `))&&A(y)},onFocus:()=>{g.current=!0},onBlur:()=>{g.current=!1,h()}})}function nt(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:g}=e,h=Array.isArray(a)&&A||!Array.isArray(a)&&!A,_=f.useRef(null);f.useEffect(()=>{_.current&&d&&_.current?.focus({preventScroll:!0})},[d,_]);const y=f.useCallback(b=>{if(g==="number")if(A){const p=b.map(w=>parseFloat(w));u(p)}else u(parseFloat(b));else if(g==="string")u(b||null);else throw Error("Missing mapping in TableSelect")},[A,u,g]),I=(b,p)=>A&&Array.isArray(b)?n.jsx(Jr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Fe,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(kt,{inputRef:_,containerClassName:"w-full h-full",className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,padding:!1,includeFocusOutline:!1,value:h?a.map(b=>b.toString()):[],onMultiValueChange:y,renderValue:I,children:c?.map(b=>n.jsx(mt,{value:String(b.id),children:n.jsx(Fe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(xe,{inputRef:_,className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,multiple:A,padding:!1,includeFocusOutline:!1,value:h?A?a.map(b=>b.toString()):a?.toString():A?[]:"",onValueChange:y,onMultiValueChange:y,renderValue:I,children:c?.map(b=>n.jsx(Re,{value:String(b.id),children:n.jsx(Fe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function Fz(e){const{align:t,value:c,updateValue:i,focused:a}=e,l=c&&typeof c=="number"?c.toString():"",[s,d]=f.useState(l),u=f.useRef(c);f.useEffect(()=>{u.current!==c&&String(c)!==s&&d(c?c.toString():null),u.current=c},[c]);const A=f.useCallback(()=>{if(s!==l)if(s!=null){const _=parseFloat(s);if(isNaN(_))return;_!=null&&i(_)}else i(null)},[s,c]);Qo(s,A,!a,2e3),f.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const g=f.useRef(null);f.useEffect(()=>{g.current&&a&&g.current.focus({preventScroll:!0})},[a,g]);const h=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:g,className:"w-full text-right p-0 m-0 bg-transparent border-none resize-none outline-none font-normal leading-normal text-unset",style:{textAlign:t},value:s??"",onChange:_=>{const y=_.target.value.replace(",",".");y.length===0&&d(null),(h.test(y)||y.startsWith("-"))&&d(y)}})}function Pz(e){const{internalValue:t,updateValue:c,focused:i}=e,a=f.useRef(null);return f.useEffect(()=>{a.current&&i&&a.current.focus({preventScroll:!0})},[i,a]),n.jsx(Ar,{ref:a,size:"small",value:!!t,onValueChange:c})}function Dz(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Yn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}class ae extends f.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,c){console.error(t)}render(){return this.state.error?n.jsxs("div",{className:"flex flex-col m-2",children:[n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(kr,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(Z,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}async function Nz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=wi(s,e,i,d,a),u||(u=Ln()+"_"+s.name),u}function Tz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=wi(s,e,i,d,a),u||(u=Ln()+"_"+s.name),u}function wi(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Ln()).replace("{file}",e.name).replace("{file.type}",e.type).replace("{path}",a);if(l){s=s.replace("{file.ext}",l);const d=e.name.replace(`.${l}`,"");s=s.replace("{file.name}",d)}return s||(s=Ln()+"_"+e.name),s}function ki({entityId:e,entityValues:t,path:c,value:i,property:a,propertyKey:l,storageSource:s,disabled:d,onChange:u}){const A=a.dataType==="string"?a.storage:a.dataType==="array"&&a.of.dataType==="string"?a.of.storage:void 0,g=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const h=A?.metadata,_=g?"small":"medium",y=A?.imageCompression,I=(g?i??[]:i?[i]:[]).map(C=>({id:ot(),storagePathOrDownloadUrl:C,metadata:h,size:_})),[b,p]=f.useState(i),[w,k]=f.useState(I);f.useEffect(()=>{se(b,i)||(p(i),k(I))},[I,i,b]);const m=f.useCallback(async C=>{if(A.fileName){const P=await Nz(A.fileName,A,t,e,c,a,C,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Ln()+"_"+C.name},[e,t,c,a,l,A]),v=f.useCallback(C=>Tz(A.storagePath,A,t,e,c,a,C,l)??"/",[e,t,c,a,l,A]),S=f.useCallback(async(C,P,E)=>{console.debug("onFileUploadComplete",C,P);let T=C;if(A.storeUrl&&(T=(await s.getDownloadURL(C)).url),A.postProcess&&T&&(T=await A.postProcess(T)),!T){console.warn("uploadPathOrDownloadUrl is null");return}let B;P.storagePathOrDownloadUrl=T,P.metadata=E,B=[...w],B=mi(B),k(B);const D=B.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);u(g?D:D?D[0]:null)},[w,g,u,A,s]),K=f.useCallback(async C=>{if(!C.length||d)return;let P;if(g)P=[...w,...await Promise.all(C.map(async E=>(y&&rt(E)&&(E=await Ci(E,y)),{id:ot(),file:E,fileName:await m(E),metadata:h,size:_})))];else{let E=C[0];y&&rt(E)&&(E=await Ci(E,y)),P=[{id:ot(),file:E,fileName:await m(E),metadata:h,size:_}]}P=mi(P),k(P)},[d,m,w,h,g,_]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:v,onFileUploadComplete:S,onFilesAdded:K,multipleFilesSupported:g}}function mi(e){return e.filter((t,c)=>(e.map(i=>i.storagePathOrDownloadUrl).indexOf(t.storagePathOrDownloadUrl)===c||!t.storagePathOrDownloadUrl)&&(e.map(i=>i.file).indexOf(t.file)===c||!t.file))}function ot(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const vi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},rt=e=>vi[e.type]?vi[e.type]:null,Mz=100,Ci=(e,t)=>new Promise(c=>{const i=t.quality===void 0?Mz:t.quality,a=i>=0&&i<=100?i:100,l=rt(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Za.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function Ki({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Tn(),d=An(),[u,A]=f.useState(),[g,h]=f.useState(!1),_=f.useRef(!1),y=f.useRef(!1),I=f.useCallback((b,p)=>{y.current||(y.current=!0,A(void 0),h(!0),s.uploadFile({file:b,fileName:p,path:e,metadata:c}).then(async({path:w})=>{console.debug("Upload successful"),await i(w,t,c),_.current&&h(!1)}).catch(w=>{console.warn("Upload error",w),_.current&&(A(w),h(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{y.current=!1}))},[t,c,i,s,e]);return f.useEffect(()=>(_.current=!0,t.file&&I(t.file,t.fileName),()=>{_.current=!1}),[t.file,t.fileName,I]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:g&&n.jsx(Oe,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:F(je,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[g&&n.jsx(Oe,{className:"w-full h-full"}),u&&n.jsx(me,{title:"Error uploading file",error:u})]})}function Si({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=f.useRef(null),d=f.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),u=f.useRef();return f.useEffect(()=>{u.current&&i&&u.current.focus({preventScroll:!0})},[i]),n.jsx(n.Fragment,{children:(e||!t&&c)&&n.jsxs("div",{ref:s,className:"absolute top-0.5 right-0.5 flex items-center",children:[i&&l,i&&!t&&c&&n.jsx(R,{ref:u,color:"inherit",size:"small",onClick:d,children:n.jsxs("svg",{fill:"#888",width:"20",height:"20",viewBox:"0 0 24 24",children:[n.jsx("path",{className:"cls-2",d:"M20,5a1,1,0,0,0-1-1L14,4h0a1,1,0,0,0,0,2h2.57L13.29,9.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L18,7.42V10a1,1,0,0,0,1,1h0a1,1,0,0,0,1-1Z"}),n.jsx("path",{className:"cls-2",d:"M10.71,13.29a1,1,0,0,0-1.42,0L6,16.57V14a1,1,0,0,0-1-1H5a1,1,0,0,0-1,1l0,5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2H7.42l3.29-3.29A1,1,0,0,0,10.71,13.29Z"})]})}),e&&n.jsx(ri,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(gc,{size:"small",color:"error"})})]})})}const Oz="max-w-full box-border relative pt-[2px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",Lz="pt-0 border-2 border-solid",Qz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500 bg-green-50 dark:bg-green-900",Vz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500 bg-red-50 dark:bg-red-900";function Wz(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:g,updateValue:h}=e,_=Tn(),{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=ki({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:_,onChange:h,value:l,disabled:s});return n.jsx(Gz,{internalValue:y,setInternalValue:I,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:h,entity:u,storagePathBuilder:k,storage:p,multipleFilesSupported:m,onFilesAdded:b,onFileUploadComplete:w,previewSize:g})}function Gz({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:g,disabled:h,autoFocus:_,storage:y,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),m=A&&g==="medium"?"small":g;if(A){const H=e;if(Array.isArray(H.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(H.of){if(H.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const v=y?.metadata,S=!!c,K=An(),{open:C,getRootProps:P,getInputProps:E,isDragActive:T,isDragAccept:B,isDragReject:D}=ir.useDropzone({accept:y.acceptedFiles?y.acceptedFiles.map(H=>({[H]:[]})).reduce((H,V)=>({...H,...V}),{}):void 0,disabled:h,maxSize:y.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(H,V)=>{for(const te of H)for(const U of te.errors)K.open({type:"error",message:`Error uploading file: File is larger than ${y.maxSize} bytes`})}}),{...N}=P(),W=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",z=A?e.of:e,q=f.useMemo(()=>Vn(m),[m]),ne=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:F(Oz,"relative w-full h-full flex",`justify-${S?"start":"center"}`,T?Lz:"",B?Qz:"",D?Vz:""),children:[n.jsx("input",{autoFocus:_,...E()}),c.map((H,V)=>{let te;return H.storagePathOrDownloadUrl?te=n.jsx(zz,{property:z,value:H.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${V}`):H.file&&(te=n.jsx(Ki,{entry:H,metadata:v,storagePath:p(H.file),onFileUploadComplete:b,imageSize:q,simple:!0},`storage_progress_${V}`)),te}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:C,children:n.jsx(Z,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:W})}),n.jsx(Si,{showError:ne,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(R,{color:"inherit",size:"small",onClick:C,children:n.jsx(Ac,{size:"small",className:"text-gray-500"})})})]})}function zz({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(ae,{children:n.jsx(Ce,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Bi(e){const t=ee(),c=Ae(),{path:i}=e,a=c.getCollection(i);if(!a){if(t.components?.missingReference)return n.jsx(t.components.missingReference,{path:i});throw Error(`Couldn't find the corresponding collection view for the path: ${i}`)}return n.jsx(Hz,{...e,collection:a})}function Hz(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:g,collection:h}=e,[_,y]=f.useState(!1),I=f.useCallback(()=>y(!0),[]),b=f.useCallback(()=>y(!1),[]),p=f.useCallback(P=>{i(P?Cn(P):null)},[i]),w=f.useCallback(P=>{i(P.map(E=>Cn(E)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=fo({multiselect:a,path:l,collection:h,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:g}),v=f.useCallback(()=>{A||m.open()},[A,m]),S=!c||Array.isArray(c)&&c.length===0,K=()=>c instanceof $e?n.jsx(rn,{onClick:A?void 0:v,size:_n(s),reference:c,onHover:_,disabled:!l,previewProperties:d}):n.jsx(Vo,{onClick:A?void 0:v,size:_n(s),children:n.jsx(me,{title:"Value is not a reference.",error:"Click to edit"})}),C=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,E)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(rn,{onClick:A?void 0:v,size:"tiny",reference:P,onHover:_,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${E}`))}):n.jsx(me,{error:"Data is not an array of references"});return h?n.jsxs("div",{className:"w-full",onMouseEnter:I,onMouseMove:I,onMouseLeave:b,children:[c&&!a&&K(),c&&a&&C(),S&&n.jsxs(ie,{onClick:v,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(me,{error:"The specified collection does not exist"})}Ne.addMethod(Ne.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Ei(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=ao({property:l,customFieldValidator:c,name:a,entityId:e})}),Ne.object().shape(i)}function ao(e){const t=e.property;if(Ee(t))throw console.error("Error in property",e),Error("Trying to create a yup mapping from a property builder. Please use resolved properties only");if(t.dataType==="string")return Yz(e);if(t.dataType==="number")return jz(e);if(t.dataType==="boolean")return Zz(e);if(t.dataType==="map")return Uz(e);if(t.dataType==="array")return xz(e);if(t.dataType==="date")return qz(e);if(t.dataType==="geopoint")return $z(e);if(t.dataType==="reference")return Jz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function Uz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=ao({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Ne.object().shape(a)}function Yz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=yn(e.enumValues);l=l.oneOf((s?.required?d:[...d,null]).map(u=>u?.id??null)).nullable(!0)}if(s){if(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",(d,u)=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} must be min ${s.min} characters long`)),(s.max||s.max===0)&&(l=l.max(s.max,`${e.name} must be max ${s.max} characters long`)),s.matches){const d=typeof s.matches=="string"?ei(s.matches):s.matches;d&&(l=l.matches(d,s.matchesMessage?{message:s.matchesMessage}:void 0))}s.trim&&(l=l.trim()),s.lowercase&&(l=l.lowercase()),s.uppercase&&(l=l.uppercase()),e.email&&(l=l.email(`${e.name} must be an email`)),e.url&&(l=l.url(`${e.name} must be a url`))}else l=l.notRequired().nullable(!0);return l}function jz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Ne.number().typeError("Must be a number");return l?(s=l.required?s.required(l.requiredMessage?l.requiredMessage:"Required").nullable(!0):s.notRequired().nullable(!0),l.unique&&c&&i&&(s=s.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(l.min||l.min===0)&&(s=s.min(l.min,`${e.name} must be higher or equal to ${l.min}`)),(l.max||l.max===0)&&(s=s.max(l.max,`${e.name} must be lower or equal to ${l.max}`)),(l.lessThan||l.lessThan===0)&&(s=s.lessThan(l.lessThan,`${e.name} must be higher than ${l.lessThan}`)),(l.moreThan||l.moreThan===0)&&(s=s.moreThan(l.moreThan,`${e.name} must be lower than ${l.moreThan}`)),l.positive&&(s=s.positive(`${e.name} must be positive`)),l.negative&&(s=s.negative(`${e.name} must be negative`)),l.integer&&(s=s.integer(`${e.name} must be an integer`))):s=s.notRequired().nullable(!0),s}function $z({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.object();const s=e.validation;return s?.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s?.required?l=l.required(s.requiredMessage).nullable(!0):l=l.notRequired().nullable(!0),l}function qz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Ne.object().nullable();let l=Ne.date();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required"):l.notRequired(),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s.min&&(l=l.min(s.min,`${e.name} must be after ${s.min}`)),s.max&&(l=l.max(s.max,`${e.name} must be before ${s.min}`))):l=l.notRequired(),l.transform(d=>d instanceof Date?d:null).nullable()}function Jz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.object();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Zz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.boolean();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Xz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function xz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Ne.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:ao({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Ne.array().of(Ne.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>gn(d,A.path).validate(u)))}else{l=l.of(ao({property:e.of,parentProperty:e,entityId:a}));const d=Xz(e.of);d&&(typeof d=="boolean"?l=l.uniqueInArray(u=>u,`${e.name} should have unique values within the array`):Array.isArray(d)&&d.forEach(([u,A])=>{l=l.uniqueInArray(g=>g&&g[u],`${e.name} → ${A.name??u}: should have unique values within the array`)}))}const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} should be min ${s.min} entries long`)),s.max&&(l=l.max(s.max,`${e.name} should be max ${s.max} entries long`))):l=l.notRequired().nullable(!0),l}function Gn(e){switch(e){case"xl":return 400;case"l":return 280;case"m":return 140;case"s":return 80;case"xs":return 54;default:throw Error("Missing mapping for collection size -> height")}}const Rz=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:F("flex flex-col max-h-full w-full",{"items-start":c||t}),style:{justifyContent:e,height:i?"100%":void 0,overflow:t?"auto":void 0,WebkitMaskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0,maskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0},children:a}),tt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:g,removePadding:h,fullHeight:_,onSelect:y,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=ar(),m=f.useRef(null);ko(m,()=>{a&&y&&y(void 0)},!!(a&&y));const[v,S]=f.useState(!1),K=f.useMemo(()=>Gn(i),[i]),[C,P]=f.useState(!1),[E,T]=f.useState(d),B=!l&&u;f.useEffect(()=>{d&&T(!0);const U=setTimeout(()=>{T(!1)},800);return()=>{clearTimeout(U)}},[d]);let D=0;if(!h)switch(i){case"l":case"xl":D=4;break;case"m":D=2;break;case"s":default:D=1;break}let N;switch(A){case"right":N="flex-end";break;case"center":N="center";break;case"left":default:N="flex-start"}const W=f.useCallback(()=>{if(!y)return;const U=m&&m?.current?.getBoundingClientRect();l?y(void 0):!a&&U&&y(U)},[m,y,a,l]),z=f.useCallback(U=>{W(),U.stopPropagation()},[W]);f.useEffect(()=>{if(k){const U=k.height>K;v!==U&&S(U)}},[k,v,K]);const q=!B&&a,ne=!l&&g&&v,H=!l&&!g&&v,V=f.useCallback(()=>P(!0),[]),te=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:F("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${D} border border-4 border-opacity-75`,C&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!q&&!E&&!B?"border-transparent":"",b?"overflow-hidden":"",q?"bg-gray-50 dark:bg-gray-900":"",q&&!E?"border-primary":"",E?"border-green-500 ":"",B?"border-red-500":""),style:{justifyContent:N,alignItems:l||!v?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:z,onMouseEnter:V,onMouseMove:V,onMouseLeave:te,children:[n.jsxs(ae,{children:[_&&!H&&t,(!_||H)&&n.jsx(Rz,{fullHeight:_??!1,justifyContent:N,scrollable:ne??!1,faded:H,children:!_&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:N,height:_?"100%":void 0},children:t})})]}),c,l&&C&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(ye,{title:s,children:n.jsx(Fc,{size:"smallest",color:"disabled",className:"text-gray-500"})})})]})},(e,t)=>e.error===t.error&&e.value===t.value&&e.disabled===t.disabled&&e.saved===t.saved&&e.allowScroll===t.allowScroll&&e.align===t.align&&e.size===t.size&&e.disabledTooltip===t.disabledTooltip&&e.width===t.width&&e.showExpandIcon===t.showExpandIcon&&e.removePadding===t.removePadding&&e.fullHeight===t.fullHeight&&e.selected===t.selected);function eH(e){return e.dataType==="string"&&e.storage?!0:e.dataType==="array"?Array.isArray(e.of)?!1:e.of?.dataType==="string"&&e.of?.storage:!1}const nH=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:g,disabled:h}){const _=ee(),{onValueChange:y,size:I,selectedCell:b,select:p,setPopupCell:w}=hH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,v]=f.useState(i),S=f.useRef(i),[K,C]=f.useState(),[P,E]=f.useState(!1),T=f.useCallback(()=>{E(!0),setTimeout(()=>{E(!1)},100)},[]),B=!!a.Field,D=!!a.Preview,N=On(a),W=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,z=g||h||!!a.disabled,q=f.useMemo(()=>ao({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{se(i,S.current)||(C(void 0),v(i),S.current=i,T())},[T,i]);const ne=M=>{se(M,S.current)||(E(!1),q.validate(M).then(()=>{C(void 0),S.current=M,y&&y({value:M,propertyKey:t,setError:C,onValueUpdated:T,entity:A,fullPath:u,context:_})}).catch(L=>{C(L)}))};f.useEffect(()=>{q.validate(m).then(()=>C(void 0)).catch(M=>{C(M)})},[m,q,t,a,A]);const H=M=>{let L;M===void 0?L=null:L=M,v(L),ne(L)};Le({property:a,value:m,setValue:H});const V=f.useCallback(M=>{p(M?{width:s,height:d,entity:A,cellRect:M,propertyKey:t}:void 0)},[A,d,t,p,s]),te=M=>{w&&w(M?{width:s,height:d,entity:A,cellRect:M,propertyKey:t}:void 0)};let U,J=!1,de=!1,Y=!0,O=!1,$=!1,oe=!0;const j=!z&&K;if(g||N)return n.jsx(tt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:W??(N?"Read only":void 0),disabled:!0,children:n.jsx(Ce,{width:s,height:Gn(I),propertyKey:t,property:a,entity:A,value:m,size:_n(I)})},`${t}_${A.path}_${A.id}`);if(!B&&(!D||k)){if(eH(a))U=n.jsx(Wz,{error:K,disabled:z,focused:k,selected:k,openPopup:w?te:void 0,property:a,entity:A,path:u,value:m,previewSize:_n(I),updateValue:H,propertyKey:t}),oe=!1,de=!0,$=!0,O=!0;else if(k&&a.dataType==="number"){const L=a;L.enumValues?(U=n.jsx(nt,{name:t,multiple:!1,disabled:z,focused:k,valueType:"number",small:_n(I)!=="medium",enumValues:L.enumValues,error:K,internalValue:m,updateValue:H}),$=!0):(U=n.jsx(Fz,{align:l,error:K,focused:k,disabled:z,value:m,updateValue:H}),J=!0)}else if(k&&a.dataType==="string"){const L=a;if(L.enumValues)U=n.jsx(nt,{name:t,multiple:!1,focused:k,disabled:z,valueType:"string",small:_n(I)!=="medium",enumValues:L.enumValues,error:K,internalValue:m,updateValue:H}),$=!0;else if(!L.storage){const Qe=!!L.multiline||!!L.markdown;U=n.jsx(Ez,{error:K,disabled:z,multiline:Qe,focused:k,value:m,updateValue:H}),J=!0}}else if(a.dataType==="boolean")U=n.jsx(Pz,{error:K,disabled:z,focused:k,internalValue:m,updateValue:H});else if(a.dataType==="date")U=n.jsx(Dz,{name:t,error:K,disabled:z,mode:a.mode,focused:k,internalValue:m,updateValue:H}),$=!0,Y=!1,J=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(U=n.jsx(Bi,{name:t,internalValue:m,updateValue:H,disabled:z,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),J=!1;else if(a.dataType==="array"){const L=a;if(!L.of&&!L.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);L.of&&!Array.isArray(L.of)&&(L.of.dataType==="string"||L.of.dataType==="number"?k&&L.of.enumValues&&(U=n.jsx(nt,{name:t,multiple:!0,disabled:z,focused:k,small:_n(I)!=="medium",valueType:L.of.dataType,enumValues:L.of.enumValues,error:K,internalValue:m,updateValue:H}),J=!0,$=!0,Y=!1):L.of.dataType==="reference"&&(typeof L.of.path=="string"&&(U=n.jsx(Bi,{name:t,disabled:z,internalValue:m,updateValue:H,size:I,multiselect:!0,path:L.of.path,previewProperties:L.of.previewProperties,title:L.of.name,forceFilter:L.of.forceFilter})),J=!1))}}return U||(J=!1,de=k&&!U&&!z&&!N,U=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:_n(I)})),n.jsx(tt,{size:I,width:s,onSelect:V,selected:k,disabled:z||N,disabledTooltip:W??"Disabled",removePadding:O,fullHeight:$,saved:P,error:K,align:l,allowScroll:J,showExpandIcon:de,value:m,hideOverflow:Y,actions:oe&&n.jsx(Si,{showError:j,disabled:z,showExpandIcon:de,selected:k,openPopup:z?void 0:te}),children:U},`cell_${t}_${A.path}_${A.id}`)},oH);function oH(e,t){return e.height===t.height&&e.propertyKey===t.propertyKey&&e.align===t.align&&e.width===t.width&&se(e.property,t.property)&&se(e.value,t.value)&&se(e.entity.id,t.entity.id)&&se(e.entity.values,t.entity.values)}function lo({text:e,...t}){return n.jsx("div",{className:"flex w-full h-screen max-h-full max-w-full bg-gray-50 dark:bg-gray-900 gap-4",children:n.jsxs("div",{className:"m-auto flex flex-col gap-2 items-center",children:[n.jsx(Nn,{...t}),e&&n.jsx(Z,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const rH=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:g,AdditionalHeaderWidget:h}){const[_,y]=f.useState(!1),[I,b]=f.useState(!1),[p,w]=f.useState(!1),k=f.useCallback(C=>{b(!0)},[]),m=f.useCallback((C,P)=>{s(u,C),P!==void 0&&b(P)},[u,s]),v=i===c,K=!(i!==c&&i>0)&&(_||v);return n.jsx(ae,{children:n.jsxs("div",{className:F("flex py-0 px-3 h-full text-xs uppercase font-semibold relative select-none items-center bg-gray-50 dark:bg-gray-900","text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200 ","hover:bg-gray-100 dark:hover:bg-gray-800 hover:bg-opacity-50 dark:hover:bg-opacity-50",u.frozen?"sticky left-0 z-10":"relative z-0"),style:{left:u.frozen?0:void 0,minWidth:u.width,maxWidth:u.width},onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:[n.jsx("div",{className:"overflow-hidden flex-grow",children:n.jsxs("div",{className:`flex items-center justify-${u.headerAlign} flex-row`,children:[u.icon&&u.icon(_||I),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:u.align},children:u.title})]})}),n.jsxs(n.Fragment,{children:[h&&n.jsx(h,{onHover:_||I}),u.sortable&&(a||K||I)&&n.jsx(jt,{color:"secondary",invisible:!a,children:n.jsxs(R,{size:"small",className:_||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(mo,{}),a==="asc"&&n.jsx(mo,{}),a==="desc"&&n.jsx(mo,{className:"rotate-180"})]})})]}),u.filter&&g&&n.jsx("div",{children:n.jsx(jt,{color:"secondary",invisible:!d,children:n.jsx(tr,{open:I,onOpenChange:b,className:p?"hidden":void 0,modal:!0,trigger:n.jsx(R,{className:_||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:k,children:n.jsx(hc,{size:"small"})}),children:n.jsx(tH,{column:u,filter:d,onHover:_,onFilterUpdate:m,createFilterField:g,hidden:p,setHidden:w})})})}),u.resizable&&n.jsx("div",{ref:t,className:F("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",K&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,u):void 0})]})})},se);function tH({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,hidden:l,setHidden:s}){const d=e.key,[u,A]=f.useState(c);if(f.useEffect(()=>{A(c)},[c]),!e.filter)return null;const g=()=>{t(u,!1)},h=I=>{t(void 0,!1)},_=!!c,y=a({id:d,filterValue:u,setFilterValue:A,column:e,hidden:l,setHidden:s});return y?n.jsxs("div",{className:"text-gray-900 dark:text-white",children:[n.jsx("div",{className:F(fe,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),y&&n.jsx("div",{className:"m-4",children:y}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(ie,{className:"mr-4",disabled:!_,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(ie,{variant:"outlined",color:"primary",onClick:g,children:"Filter"})]})]}):null}const cH=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u,AddColumnComponent:A})=>{const g=e.map(()=>f.createRef()),[h,_]=f.useState(-1),y=f.useCallback((S,K,C)=>{const P=e[S],E=100,T=800,B=K>T?T:K<E?E:K,D={width:B,key:P.key,column:{...P,width:B}};C?d(D):s(D)},[e,s,d]),I=f.useCallback(S=>{if(h>=0){const K=g[h].current?.parentElement?.getBoundingClientRect().left;return K?S.clientX-K:void 0}},[g,h]),b=f.useCallback(S=>{document.body.style.cursor=S?"col-resize":"auto"},[]),p=f.useCallback(S=>{S.stopPropagation(),S.preventDefault();const K=I(S);K&&y(h,K,!1)},[y,I,h]),w=f.useCallback(S=>{S.stopPropagation(),S.preventDefault();const K=I(S);K&&y(h,K,!0),_(-1),b(!1)},[y,I,h,b]),k=f.useCallback(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",w)},[p,w]),m=f.useCallback(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",w)},[p,w]);f.useEffect(()=>(h>=0?m():k(),()=>{k()}),[m,h,k]);const v=f.useCallback(S=>{_(S),b(!0)},[b]);return n.jsxs("div",{className:F(fe,"z-20 sticky min-w-full flex w-fit flex-row top-0 left-0 h-12 border-b bg-gray-50 dark:bg-gray-900"),children:[e.map((S,K)=>{const C=e[K],P=C&&l&&l[C.key]?l[C.key]:void 0;return n.jsx(ae,{children:n.jsx(rH,{resizeHandleRef:g[K],columnIndex:K,isResizingIndex:h,onFilterUpdate:i,filter:P,sort:a===C.key?t:void 0,onColumnSort:c,onClickResizeColumn:v,column:C,createFilterField:u,AdditionalHeaderWidget:C.AdditionalHeaderWidget})},"header_"+C.key)}),A&&n.jsx(A,{})]})},iH=f.memo(function({rowData:t,rowIndex:c,children:i,onRowClick:a,size:l,style:s,hoverRow:d,rowClassName:u}){const A=f.useCallback(g=>{console.debug("VirtualTableRow click"),a&&a({rowData:t,rowIndex:c,event:g})},[a,t,c]);return n.jsx("div",{className:F("flex min-w-full text-sm border-b border-gray-200 dark:border-gray-800 border-opacity-40 dark:border-opacity-40",u?u(t):"",{"hover:bg-opacity-95":d,"cursor-pointer":a}),onClick:A,style:{...s,height:Gn(l),width:"fit-content"},children:i})},se),aH=f.memo(function(t){return t.rowData&&t.cellRenderer({cellData:t.cellData,rowData:t.rowData,rowIndex:t.rowIndex,isScrolling:!1,column:t.column,columns:t.columns,columnIndex:t.columnIndex,width:t.column.width})},(e,t)=>se(e,t)),Wo=f.createContext({});Wo.displayName="VirtualListContext";const lH=f.forwardRef(({children:e,...t},c)=>n.jsx(Wo.Consumer,{children:i=>{const a=i.customView;return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:"virtual-table",style:{position:"relative",height:"100%"},children:n.jsxs("div",{ref:c,...t,style:{...t?.style,minHeight:"100%",position:"relative"},children:[n.jsx(cH,{...i}),!a&&e]})}),a&&n.jsx("div",{style:{position:"sticky",top:"56px",flexGrow:1,height:"calc(100% - 56px)",marginTop:"calc(56px - 100vh)",left:0},children:a})]})}})),Fi=f.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:u,checkFilterCombination:A,onFilterUpdate:g,sortBy:h,error:_,emptyComponent:y,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:v,endAdornment:S,AddColumnComponent:K}){const C=h?h[0]:void 0,P=h?h[1]:void 0,[E,T]=f.useState(l),B=f.useRef(null),D=f.useRef(0);f.useEffect(()=>{T(l)},[l]);const[N,W]=ar(),z=f.useCallback(M=>{T(E.map(L=>L.key===M.column.key?M.column:L))},[E]),q=f.useCallback(M=>{T(E.map(L=>L.key===M.column.key?M.column:L)),d&&d(M)},[E,d]),ne=f.useRef();f.useEffect(()=>{ne.current=u},[u]);const H=f.useCallback(()=>{D.current=0,B.current&&B.current.scrollTo(B.current?.scrollLeft,0)},[]),V=f.useCallback(M=>{const L=C===M&&P==="desc",be=C===M&&P==="asc"?"desc":L?void 0:"asc",ge=L?void 0:M,Ve=ne.current,bn=be&&ge?[ge,be]:void 0;Ve&&A&&!A(Ve,bn)&&g&&g(void 0),c&&c(),I&&I(bn),H()},[A,P,g,c,I,H,C]),te=f.useCallback(()=>{D.current=0,I&&I(void 0)},[I]),U=Math.max((t?.length??0)*Gn(a)-W.height,0),J=f.useCallback(M=>{i&&(t?.length??0)>0&&M>D.current+600&&(D.current=M,i())},[t?.length,i]),de=f.useCallback(({scrollOffset:M,scrollUpdateWasRequested:L})=>{!L&&M>=U-600&&J(M)},[U,J]),Y=f.useCallback((M,L)=>{D.current=0;const Qe=ne.current;let be=Qe?{...Qe}:{};L?be[M.key]=L:delete be[M.key],!A||A(be,C&&P?[C,P]:void 0)||(be=L?{[M.key]:L}:{}),g&&g(be),M.key!==C&&te()},[A,P,g,te,C]),O=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(Z,{variant:"h6",children:"Error fetching data from the data source"}),_?.message&&n.jsx(Ao,{className:"px-4 break-all",source:_.message})]}),[_?.message]),$=f.useCallback(()=>b?n.jsx(lo,{}):n.jsxs("div",{className:"flex flex-col overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(ic,{}),y]}),[y,b]),oe=!b&&(t?.length??0)===0,j=_?O():oe?$():void 0;return n.jsx("div",{ref:N,className:F("h-full w-full",v),children:n.jsx(Wo.Provider,{value:{data:t,size:a,cellRenderer:p,columns:E,currentSort:P,onRowClick:s,customView:j,onColumnResize:z,onColumnResizeEnd:q,filter:ne.current,onColumnSort:V,onFilterUpdate:Y,sortByProperty:C,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:S,AddColumnComponent:K},children:n.jsx(sH,{outerRef:B,width:W.width,height:W.height,itemCount:(t?.length??0)+(S?1:0),onScroll:de,includeAddColumn:!!K,itemSize:Gn(a)},a)})})},se);function sH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=f.useCallback(({index:u,style:A})=>n.jsx(Wo.Consumer,{children:({onRowClick:g,data:h,columns:_,size:y="m",cellRenderer:I,hoverRow:b,rowClassName:p,endAdornment:w})=>{if(w&&u===(h??[]).length)return n.jsx("div",{style:{...A,height:"auto",position:"sticky",bottom:0,zIndex:1},children:w});const k=h&&h[u];return n.jsxs(iH,{rowData:k,rowIndex:u,onRowClick:g,columns:_,hoverRow:b,rowClassName:p,style:{...A,top:`calc(${A.top}px + 48px)`},size:y,children:[_.map((m,v)=>{const S=k&&k[m.key];return n.jsx(aH,{dataKey:m.key,cellRenderer:I,column:m,columns:_,rowData:k,cellData:S,rowIndex:u,columnIndex:v},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${u}`)}}),[]);return n.jsx(Xa.FixedSizeList,{outerRef:e,innerElementType:lH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}const ct=f.memo(function({entity:t,collection:c,fullPath:i,width:a,frozen:l,isSelected:s,selectionEnabled:d,size:u,highlightEntity:A,onCollectionChange:g,unhighlightEntity:h,actions:_=[],hideId:y,selectionController:I}){const b=He(),p=ee(),w=f.useCallback(C=>{I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),k=f.useCallback(C=>{C.stopPropagation(),I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),m=_.length>0,v=_.some(C=>C.collapsed||C.collapsed===void 0),S=_.filter(C=>C.collapsed||C.collapsed===void 0),K=_.filter(C=>C.collapsed===!1);return n.jsxs("div",{onClick:k,className:F("h-full flex items-center justify-center flex-col bg-gray-50 dark:bg-gray-900 bg-opacity-90 dark:bg-opacity-90 z-10",l?"sticky left-0":""),style:{width:a,position:l?"sticky":"initial",left:l?0:"initial",contain:"strict"},children:[(m||d)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[K.map((C,P)=>n.jsx(ye,{title:C.name,children:n.jsx(R,{onClick:E=>{E.stopPropagation(),C.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:g})},size:b?"medium":"small",children:C.icon})},P)),v&&n.jsx(jn,{trigger:n.jsx(R,{size:b?"medium":"small",children:n.jsx(Cr,{})}),children:S.map((C,P)=>n.jsxs(Be,{onClick:E=>{E.stopPropagation(),C.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:g})},children:[C.icon,C.name]},P))}),d&&n.jsx(ye,{title:`Select ${t.id}`,children:n.jsx(Er,{size:b?"medium":"small",checked:s,onCheckedChange:w})})]}),!y&&u!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:t?n.jsxs(Z,{onClick:C=>{C.stopPropagation()},className:"font-mono select-all",variant:"caption",color:"secondary",children:[" ",t.id," "]}):n.jsx(Oe,{})})]})},se);function dH(e){const t=He(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(ie,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(Ic,{}),"Clear filter"]}),i=n.jsx(xe,{value:e.size,className:"w-16 h-10",size:"small",onValueChange:a=>e.onSizeChanged(a),renderValue:a=>n.jsx("div",{className:"font-medium",children:a.toUpperCase()}),children:["xs","s","m","l","xl"].map(a=>n.jsx(Re,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:F(fe,"no-scrollbar min-h-[56px] overflow-x-auto px-4 bg-gray-50 dark:bg-gray-900 border-b flex flex-row justify-between items-center w-full"),children:[n.jsxs("div",{className:"flex items-center gap-2",children:[e.title&&n.jsx("div",{className:"hidden lg:block",children:e.title}),i,e.actionsStart,c]}),n.jsxs("div",{className:"flex items-center gap-2",children:[t&&n.jsx("div",{className:"w-[22px]",children:e.loading&&n.jsx(Nn,{size:"small"})}),e.onTextSearch&&n.jsx(Ut,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const Pi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},it=["array-contains-any","in","not-in"];function uH({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setHidden:d}){const u=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,g]=f.useState(!1);i?u.push("array-contains-any"):u.push("in","not-in");const[h,_]=t||[u[0],void 0],[y,I]=f.useState(h),[b,p]=f.useState(_),w=b?Array.isArray(b)?b.map(B=>B instanceof $e?B.id:null).filter(Boolean):[b.id]:[];function k(B,D){const N=it.includes(y),W=it.includes(B);let z=D;N!==W&&(z=W?z instanceof $e?[z]:[]:void 0),I(B),p(z);const q=z!==null&&Array.isArray(z)?z.length>0:z!==void 0;c(B&&q?[B,z]:void 0)}const m=Ae(),v=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),S=B=>{k(y,Cn(B))},K=B=>{k(y,B.map(D=>Cn(D)))},C=it.includes(y),P=fo({multiselect:C,path:a,collection:v,onSingleEntitySelected:S,onMultipleEntitiesSelected:K,selectedEntityIds:w,onClose:()=>{d(!1)}}),E=()=>{d(!0),P.open()},T=B=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>g(!0),onMouseMove:()=>g(!0),onMouseLeave:()=>g(!1),children:n.jsx(rn,{disabled:!a,previewProperties:s,size:"medium",onClick:E,reference:B,onHover:A,allowEntityNavigation:!1})});return console.log("ReferenceFilterField",{internalValue:b}),n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(xe,{value:y,onValueChange:B=>{k(B,b)},renderValue:B=>Pi[B],children:u.map(B=>n.jsx(Re,{value:B,children:Pi[B]},B))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((B,D)=>T(B))}),b&&!Array.isArray(b)&&n.jsx("div",{children:T(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(ie,{onClick:E,variant:"outlined",className:"h-full w-full",children:C?"Select references":"Select reference"})]})]})}const Di={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},at=["array-contains-any","in","not-in"];function fH({name:e,value:t,setValue:c,dataType:i,isArray:a,enumValues:l,title:s}){const d=a?["array-contains"]:["==","!=",">","<",">=","<="];l&&(a?d.push("array-contains-any"):d.push("in","not-in"));const[u,A]=t||[d[0],void 0],[g,h]=f.useState(u),[_,y]=f.useState(A);function I(p,w){let k=w;const m=at.includes(g),v=at.includes(p);m!==v&&(k=v?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),y(k);const S=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&S?[p,k]:void 0)}const b=at.includes(g);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:g,position:"item-aligned",onValueChange:p=>{I(p,_)},renderValue:p=>Di[p],children:d.map(p=>n.jsx(Re,{value:p,children:Di[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(tn,{type:i==="number"?"number":void 0,value:_!==void 0?String(_):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;I(g,w)},endAdornment:_&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(g,void 0),children:n.jsx(dn,{})})}),l&&n.jsx(xe,{position:"item-aligned",value:_!==void 0?Array.isArray(_)?_.map(p=>String(p)):String(_):a?[]:"",onValueChange:p=>{I(g,i==="number"?parseInt(p):p)},multiple:b,endAdornment:_&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(g,void 0),children:n.jsx(dn,{})}),renderValue:p=>n.jsx(Fe,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(Re,{value:String(p.id),children:n.jsx(Fe,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function AH({name:e,title:t,value:c,setValue:i}){function a(d){i(d!==void 0?["==",d]:void 0)}const l=c&&c[1],s=!!c;return n.jsx("div",{className:"w-[200px]",children:n.jsx(Dn,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const Ni={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},Ti=["array-contains-any","in"];function yH({name:e,isArray:t,mode:c,value:i,setValue:a,title:l}){const s=t?["array-contains"]:["==","!=",">","<",">=","<="],[d,u]=i||[s[0],void 0],[A,g]=f.useState(d),[h,_]=f.useState(u);function y(I,b){let p=b;const w=Ti.includes(A),k=Ti.includes(I);w!==k&&(p=k?b?[b]:[]:""),g(I),_(p===null?void 0:p);const m=p!==null&&Array.isArray(p)?p.length>0:p!==void 0;a(I&&m?[I,p]:void 0)}return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:A,onValueChange:I=>{y(I,h)},renderValue:I=>Ni[I],children:s.map(I=>n.jsx(Re,{value:I,children:Ni[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Yn,{mode:c,size:"medium",value:h,onChange:I=>{y(A,I===null?void 0:I)},clearable:!0})})]})}const Mi="collectionGroupParent";function Oi(e,t){return f.useMemo(()=>e.propertiesOrder?Li(e,e.propertiesOrder):gH(e,t),[e,t])}function Li(e,t){return t.flatMap(c=>{const i=e.properties[c];return i?i.hideFromCollection?[null]:i.disabled&&typeof i.disabled=="object"&&i.disabled.hidden?[null]:i.dataType==="map"&&i.spreadChildren&&i.properties?lt(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.key===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>Rr(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===Mi?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function gH(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.key)];if(t){const s=a.map(d=>Rr(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(Mi),Li(e,l)}function lt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>lt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const _H={},Qi=f.createContext(_H),hH=()=>f.useContext(Qi),st=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:g,onEntityClick:h,onColumnResize:_,onSizeChanged:y,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:v,tableController:{data:S,dataLoading:K,noMoreToLoad:C,dataLoadingError:P,filterValues:E,setFilterValues:T,sortBy:B,setSortBy:D,setSearchString:N,clearFilter:W,itemCount:z,setItemCount:q,pageSize:ne=50,paginationEnabled:H,checkFilterCombination:V,setPopupCell:te},filterable:U=!0,sortable:J=!0,endAdornment:de,AddColumnComponent:Y,AdditionalHeaderWidget:O,additionalIDHeaderWidget:$,emptyComponent:oe,getIdColumnWidth:j}){const M=He(),L=!!t,Qe=A?.selectedEntities?.length>0?A?.selectedEntities:g,be=ee(),[ge,Ve]=f.useState(m??"m"),[bn,cn]=f.useState(void 0),en=Qe?.map(X=>X.id),yo=!!E&&Object.keys(E).length>0,$n=()=>{!H||K||C||z!==void 0&&q?.(z+ne)},go=f.useCallback(()=>{q?.(ne)},[ne]),pn=f.useCallback(({rowData:X})=>{if(console.debug("EntityCollectionTable click"),!p)return h&&h(X)},[h,p]),wn=f.useCallback(X=>{y&&y(X),Ve(X)},[]),_o=f.useCallback(X=>N?.(X),[]),kn=f.useMemo(()=>w?w.map(X=>({[X.key]:X})).reduce((X,ke)=>({...X,...ke}),{}):{},[w]);f.useEffect(()=>{const X=ke=>{ke.keyCode===27&&Io()};return document.addEventListener("keydown",X,!1),()=>{document.removeEventListener("keydown",X,!1)}});const ho=f.useCallback(X=>{cn(X)},[]),Io=f.useCallback(()=>{cn(void 0)},[]),G=s,Q=f.useCallback(({column:X,columnIndex:ke,rowData:he,rowIndex:Ue})=>{const ue=he,an=X.key;let ln=X.custom?.disabled;const $t=ue.values?gn(ue.values,an):void 0,Fn=d?.({propertyKey:an,propertyValue:$t,entity:ue})??X.custom.resolvedProperty;return Fn?.disabled||(ln=!1),Fn?n.jsx(ae,{children:ue?n.jsx(nH,{readonly:!p,align:X.align??"left",propertyKey:an,property:Fn,value:ue?.values?gn(ue.values,an):void 0,customFieldValidator:G,columnIndex:ke,width:X.width,height:Gn(ge),entity:ue,disabled:ln,path:ue.path},`property_table_cell_${ue.id}_${an}`):on()}):null},[G,p,ge,en]),x=f.useCallback(({column:X,rowData:ke,width:he})=>{const Ue=ke,ue=kn[X.key],an=ue.dependencies?Object.entries(Ue.values).filter(([Fn,Oa])=>ue.dependencies.includes(Fn)).reduce((Fn,Oa)=>({...Fn,...Oa}),{}):Ue,ln=ue.Builder;if(!ln&&!ue.value)throw new Error("When using additional fields you need to provide a Builder or a value");const $t=ln?n.jsx(ln,{entity:Ue,context:be}):n.jsx(n.Fragment,{children:ue.value?.({entity:Ue,context:be})});return n.jsx(tt,{width:he,size:ge,value:an,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(ae,{children:$t})},`additional_table_cell_${Ue.id}_${X.key}`)},[kn,ge,en]),re=f.useMemo(()=>{const X=Object.entries(v).flatMap(([he,Ue])=>lt(Ue,he)).map(({key:he,disabled:Ue})=>{const ue=Lt(v,he);if(!ue)throw Error("Internal error: no property found in path "+he);const an=Vi(ue);return{key:he,align:Cz(ue),icon:ln=>ve(ue,"small"),title:ue.name??he,sortable:J&&(t?Object.keys(t).includes(he):!0),filter:!L&&an,width:Ii(ue),resizable:!0,custom:{resolvedProperty:ue,disabled:Ue},AdditionalHeaderWidget:({onHover:ln})=>O?n.jsx(O,{property:ue,propertyKey:he,onHover:ln}):void 0}}),ke=w?w.map(he=>({key:he.key,align:"left",sortable:!1,title:he.name,width:he.width??200})):[];return[...X,...ke]},[w,L,t,v,J]),ce=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:j?.()??(M?160:130),title:"ID",resizable:!1,frozen:M,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>$}),[j,M]),_e=f.useMemo(()=>[ce,...k.map(X=>re.find(ke=>ke.key===X.key)).filter(Boolean)],[re,k,ce]),qe=f.useCallback(X=>{const ke=X.column,he=X.columns,Ue=ke.key;if(X.columnIndex===0)return l?l({entity:X.rowData,size:ge,width:ke.width,frozen:ke.frozen}):n.jsx(ct,{entity:X.rowData,width:ke.width,frozen:ke.frozen,isSelected:!1,size:ge});if(kn[Ue])return x(X);if(X.columnIndex<he.length+1)return Q(X);throw Error("Internal: columns not mapped properly")},[kn,l,ge,x,Q]),bo=f.useCallback(X=>{T?.({...X,...t})},[t]);return n.jsx(Qi.Provider,{value:{setPopupCell:te,select:ho,onValueChange:u,size:ge,selectedCell:bn,selectedEntityIds:en},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(dH,{forceFilter:L,filterIsSet:yo,onTextSearch:I?_o:void 0,clearFilter:W,size:ge,onSizeChanged:wn,title:a,actionsStart:c,actions:i,loading:K}),n.jsx(Fi,{data:S,columns:_e,cellRenderer:qe,onRowClick:p?void 0:h?pn:void 0,onEndReached:$n,onResetPagination:go,error:P,paginationEnabled:H,onColumnResize:_,size:ge,loading:K,filter:E,onFilterUpdate:T?bo:void 0,sortBy:B,onSortByUpdate:D,hoverRow:b,emptyComponent:oe,checkFilterCombination:V,createFilterField:U?IH:void 0,rowClassName:f.useCallback(X=>en?.includes(X.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[en]),className:"flex-grow",endAdornment:de,AddColumnComponent:Y})]})})},se);function IH({id:e,filterValue:t,setFilterValue:c,column:i,hidden:a,setHidden:l}){if(!i.custom)return null;const{resolvedProperty:s}=i.custom,d=s?.dataType==="array",u=d?s.of:s;if(!u)return null;if(u.dataType==="reference")return n.jsx(uH,{value:t,setValue:c,name:e,isArray:d,path:u.path,title:s?.name,previewProperties:u?.previewProperties,hidden:a,setHidden:l});if(u.dataType==="number"||u.dataType==="string"){const A=u.name,g=u.enumValues?yn(u.enumValues):void 0;return n.jsx(fH,{value:t,setValue:c,name:e,dataType:u.dataType,isArray:d,enumValues:g,title:A})}else if(u.dataType==="boolean"){const A=u.name;return n.jsx(AH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(yH,{value:t,setValue:c,name:e,mode:u.mode,isArray:d,title:A})}return n.jsx("div",{children:`Currently the filter field ${s.dataType} is not supported`})}function Vi(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?Vi(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function bH({data:e,entitiesDisplayedFirst:t}){if(!t)return e;const c=new Set(t.map(i=>i.id));return[...t,...e.filter(i=>!c.has(i.id))]}function pH(e,t,c=5e3){const[i,a]=f.useState(e),l=f.useRef(i.length??0),s=f.useRef(!1),d=f.useRef(t),u=!se(d.current,t),A=e.length>=l.current||u;return f.useEffect(()=>{const g=()=>{se(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let h;return A?g():h=setTimeout(g,c),()=>{clearTimeout(h),s.current&&A&&g()}},[e,c,t,A]),A?e:i}const wH=50;function dt({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),g=Ae(),h=We(),_=f.useMemo(()=>g.resolveAliasesFrom(e),[e,g.resolveAliasesFrom]),y=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:wH,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),v=f.useCallback((H,V)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:_,collection:t,filterValues:H,sortBy:V}):!0,[]),S=f.useMemo(()=>{if(s&&y&&!v(y,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,y]),[K,C]=f.useState(y??l??void 0),[P,E]=f.useState(S),T=f.useCallback(()=>C(y??void 0),[y]),B=f.useCallback(H=>{if(y){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}H&&Object.keys(H).length===0?C(void 0):C(H)},[y]),{data:D,dataLoading:N,noMoreToLoad:W,dataLoadingError:z}=Yc({path:e,collection:t,filterValues:K,sortBy:P,searchString:p,itemCount:k}),q=bH({data:D,entitiesDisplayedFirst:c});return{data:pH(q,{filterValues:K,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:W,dataLoadingError:z,filterValues:K,setFilterValues:B,sortBy:P,setSortBy:E,searchString:p,setSearchString:w,clearFilter:T,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:v,popupCell:u,setPopupCell:A}}function Wi({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=We(),A=An(),[g,h]=f.useState(!1),[_,y]=f.useState(),[I,b]=f.useState(),p=ee();f.useEffect(()=>{if(e){const B=Array.isArray(e)&&e.length===1?e[0]:e;y(B),b(Array.isArray(B))}},[e]);const w=f.useMemo(()=>Te({collection:t,path:d,fields:p.propertyConfigs}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(B=>{console.debug("Deleted",B)},[]),v=f.useCallback((B,D)=>{A.open({type:"error",message:"Error deleting: "+D?.message}),console.error("Error deleting entity"),console.error(D)},[w.name]),S=f.useCallback((B,D)=>{A.open({type:"error",message:"Error before deleting: "+D?.message}),console.error(D)},[w.name]),K=f.useCallback((B,D)=>{A.open({type:"error",message:"Error after deleting: "+D?.message}),console.error(D)},[w.name]),C=f.useCallback(B=>Pa({dataSource:u,entity:B,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:v,onPreDeleteHookError:S,onDeleteSuccessHookError:K,context:p}),[u,w,a,m,v,S,K,p]),P=f.useCallback(async()=>{_&&(h(!0),I?Promise.all(_.map(C)).then(B=>{h(!1),s&&_&&s(d,_),B.every(Boolean)?A.open({type:"success",message:`${w.name}: multiple deleted`}):B.some(Boolean)?A.open({type:"warning",message:`${w.name}: Some of the entities have been deleted, but not all`}):A.open({type:"error",message:`${w.name}: Error deleting entities`}),c()}):C(_).then(B=>{h(!1),B&&(l&&_&&l(d,_),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[_,I,C,s,d,c,A,w.name,l]);let E;if(_&&I)E=n.jsx(n.Fragment,{children:"Multiple entities"});else{const B=_;E=B?n.jsx(xr,{entity:B,collection:t,path:d}):n.jsx(n.Fragment,{})}const T=I?n.jsxs(n.Fragment,{children:[n.jsx("b",{children:w.name}),": Confirm multiple delete?"]}):`Would you like to delete this ${w.singularName??w.name}?`;return n.jsxs(nr,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:B=>B?void 0:c(),children:[n.jsxs(or,{fullHeight:!0,children:[n.jsx(Z,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:E})]}),n.jsxs(En,{children:[g&&n.jsx(Nn,{size:"small"}),n.jsx(ie,{onClick:k,disabled:g,variant:"text",color:"primary",children:"Cancel"}),n.jsx(ie,{autoFocus:!0,disabled:g,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function Go(e){return Array.isArray(e)?e:e?[e]:[]}function kH({collection:e,relativePath:t,parentCollectionIds:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const g=ee(),h=g.plugins??[],_=un(),y=He(),I=d.selectedEntities,b=Un(e,_,ze(s),null)&&i&&(y?n.jsxs(ie,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(sn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ie,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(sn,{})})),p=xo(e,_,ze(s),null);let w;if(l){const v=y?n.jsxs(ie,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(vo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(R,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(vo,{})});w=n.jsx(ye,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:v})}const k={path:s,relativePath:t,parentCollectionIds:c,collection:e,selectionController:d,context:g,tableController:u,collectionEntitiesCount:A},m=Go(e.Actions).map((v,S)=>n.jsx(ae,{children:n.jsx(v,{...k})},`actions_${S}`));return h&&h.forEach((v,S)=>{v.collections?.CollectionActions&&m.push(...Go(v.collections?.CollectionActions).map((K,C)=>n.jsx(ae,{children:n.jsx(K,{...k,...v.collections?.collectionActionsProps})},`plugin_actions_${S}_${C}`)))}),n.jsxs(n.Fragment,{children:[m,w,b]})}function mH({containerRef:e,innerRef:t,x:c,y:i,onMove:a}){let l=0,s=0;const d=f.useRef(!1),u=I=>{if(I.button!==0||!e.current||I.defaultPrevented||I.innerClicked)return;const{x:b,y:p}=e.current.getBoundingClientRect();l=I.screenX-b,s=I.screenY-p,document.addEventListener("mousemove",_),document.addEventListener("mouseup",h),document.addEventListener("selectstart",g),d.current=!0},A=I=>{I.innerClicked=!0},g=I=>{I.preventDefault(),I.stopPropagation()},h=I=>{document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",h),document.removeEventListener("selectstart",g),I.stopPropagation(),d.current=!1},_=I=>{I.target.localName==="input"||!d.current||(a({x:I.screenX-l,y:I.screenY-s}),I.stopPropagation())},y=()=>{e.current&&(e.current.style.top=`${i}px`,e.current.style.left=`${c}px`)};f.useEffect(()=>{const I=e.current,b=t.current;if(!(!I||!b))return b&&b.addEventListener("mousedown",A),I&&I.addEventListener("mousedown",u),y(),()=>{I&&I.removeEventListener("mousedown",u),b&&b.removeEventListener("mousedown",A)}})}function vH(){const[e,t]=f.useState({width:0,height:0});return f.useLayoutEffect(()=>{function c(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[]),e}const CH=({onResize:e})=>{const t=f.useRef(0),c=f.useRef(null),i=f.useRef(e);i.current=e;const a=f.useCallback(s=>{t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{i.current(s)})},[]),l=f.useCallback(()=>{const s=c.current;s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.addEventListener("resize",a)},[a]);return f.useEffect(()=>{const s=c.current;return()=>{s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.removeEventListener("resize",a)}},[a]),n.jsx("object",{onLoad:l,ref:c,tabIndex:-1,type:"text/html",data:"about:blank",title:"",style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",pointerEvents:"none",zIndex:-1,opacity:0}})};function KH(e){return e.open?n.jsx(SH,{...e}):null}function SH({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:g}){const h=We(),_=ee(),[y,I]=f.useState(),[b,p]=f.useState(),w=t?.id,[k,m]=f.useState(t);f.useEffect(()=>w&&a?h.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:V=>{m(V),S(V?.values)}}):()=>{},[h,w,a,l,d]);const[v,S]=f.useState(k?.values),K=a?Te({collection:a,path:l,values:v,entityId:w,fields:_.propertyConfigs}):void 0,C=vH(),P=f.useRef(null),E=f.useRef(null),T=f.useRef(!1),B=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<C.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<C.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,C.height,C.width]),D=f.useCallback(({x:V,y:te})=>{const U=P.current?.getBoundingClientRect();if(!U)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(V,C.width-U.width)),y:Math.max(0,Math.min(te,C.height-U.height))}},[C]),N=f.useCallback(V=>{const te=P.current?.getBoundingClientRect();if(!s||!te)return;const U=V??D(B());(!b||U.x!==b.x||U.y!==b.y)&&p(U)},[s,B,D,b]);mH({containerRef:P,innerRef:E,x:b?.x,y:b?.y,onMove:N}),f.useEffect(()=>{T.current=!1},[i,k]),f.useLayoutEffect(()=>{const V=P.current?.getBoundingClientRect();!s||!V||T.current||(N(),T.current=!0)},[s,N,T.current]),f.useLayoutEffect(()=>{N(b)},[C,s]);const W=f.useMemo(()=>{if(!(!K||!w))return Ei(w,i&&K.properties[i]?{[i]:K.properties[i]}:{},c)},[K,w,i,c]),z=f.useCallback(()=>N(b),[b,N]),q=async V=>(I(null),a&&k&&A&&i?A({value:V[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:_}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const ne=k&&n.jsxs("div",{className:`text-gray-900 dark:text-white overflow-auto rounded rounded-md bg-white dark:bg-gray-950 ${d?"":"hidden"} cursor-grab max-w-[100vw]`,children:[n.jsx(Pe.Formik,{initialValues:k?.values??{},enableReinitialize:!0,validationSchema:W,validateOnMount:!0,validate:V=>console.debug("Validating",V),onSubmit:(V,te)=>{q(V).then(()=>u()).finally(()=>te.setSubmitting(!1))},children:({values:V,setFieldValue:te,handleSubmit:U,isSubmitting:J})=>{if(f.useEffect(()=>{se(V,v)||S(V)},[V]),!k)return n.jsx(me,{error:"PopupFormField misconfiguration"});if(!K)return n.jsx(n.Fragment,{});const de=J,Y={collection:K,entityId:w,values:V,path:l,setFieldValue:te,save:q},O=i&&Bn(K.properties,i),$=i&&O?{propertyKey:i,disabled:J||On(O)||!!O.disabled,property:O,includeDescription:!1,underlyingValueHasChanged:!1,context:Y,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let oe=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Pe.Form,{onSubmit:U,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:E,className:"cursor-auto",style:{cursor:"auto !important"},children:$&&n.jsx(Sn,{...$})})}),n.jsx(En,{children:n.jsx(ie,{variant:"filled",color:"primary",type:"submit",disabled:de,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const j=_.plugins;return j&&j.forEach(M=>{M.form?.provider&&(oe=n.jsx(M.form.provider.Component,{status:"existing",path:l,collection:K,entity:k,context:_,currentEntityId:w,formContext:Y,...M.form.provider.props,children:oe}))}),oe}}),y&&n.jsx(Z,{color:"error",children:y.message})]}),H=n.jsxs("div",{style:{boxShadow:"0 0 0 2px rgba(128,128,128,0.2)"},className:`inline-block fixed z-20 shadow-outline rounded-md bg-white dark:bg-gray-950 ${d?"visible":"invisible"} cursor-grab overflow-visible`,ref:P,children:[n.jsx(CH,{onResize:z}),n.jsxs("div",{className:"overflow-hidden",children:[ne,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(R,{size:"small",onClick:V=>{V.stopPropagation(),u()},children:n.jsx(dn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(rl.Root,{asChild:!0,container:g,children:H})}const BH={icon:n.jsx(Ko,{}),name:"Edit",collapsed:!1,onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},Gi={icon:n.jsx(_c,{}),name:"Copy",onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("copy_entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,copy:!0,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},zi={icon:n.jsx(vo,{}),name:"Delete",onClick({entity:e,fullPath:t,collection:c,context:i,selectionController:a,onCollectionChange:l,sideEntityController:s}){const{closeDialog:d}=i.dialogsController.open({key:"delete_entity_dialog_"+e.id,Component:({open:u})=>{if(!c||!t)throw new Error("deleteEntityAction: Collection is undefined");return n.jsx(Wi,{entityOrEntitiesToDelete:e,path:t,collection:c,callbacks:c.callbacks,open:u,onEntityDelete:()=>{i.onAnalyticsEvent?.("single_entity_deleted",{path:t}),a?.setSelectedEntities(a.selectedEntities.filter(A=>A.id!==e.id)),l?.(),s?.close()},onClose:d})}});return Promise.resolve(void 0)}},EH="collectionGroupParent",ut=f.memo(function({fullPath:t,parentCollectionIds:c,isSubCollection:i,className:a,...l}){const s=We(),d=Ae(),u=fn(),A=un(),g=Mn(),h=ee(),_=f.useRef(null),y=f.useMemo(()=>{const Q=g?.getCollectionConfig(t);return Q?Ge(l,Q):l},[l,t,g?.getCollectionConfig]),I=Un(y,A,ze(t),null),[b,p]=f.useState(void 0),[w,k]=f.useState(void 0),[m,v]=f.useState(0),[S,K]=f.useState(0),C=f.useCallback(()=>{const Q=b;setTimeout(()=>{Q===b&&p(void 0)},2400)},[b]),P=f.useCallback(Q=>Qt(y,A,ze(t),Q??null)?y.inlineEditing===void 0||y.inlineEditing:!1,[y,A,t]),E=y.selectionEnabled===void 0||y.selectionEnabled,T=!P(),[B,D]=f.useState(!1),N=ft(),W=y.selectionController??N,{selectedEntities:z,toggleEntitySelection:q,isEntitySelected:ne,setSelectedEntities:H}=W;f.useEffect(()=>{k(void 0)},[z]);const V=dt({fullPath:t,collection:y,entitiesDisplayedFirst:[],lastDeleteTimestamp:m}),te=f.useRef(Math.random().toString(36)),U=V.popupCell,J=f.useCallback(()=>{V.setPopupCell?.(void 0)},[V.setPopupCell]),de=f.useCallback(Q=>(p(Q),h.onAnalyticsEvent?.("edit_entity_clicked",{path:Q.path,entityId:Q.id}),u.open({entityId:Q.id,path:Q.path,collection:y,updateUrl:!0,onClose:C})),[t,y,u]),Y=f.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:y,updateUrl:!0,onClose:C})},[t,y,u]);f.useCallback(Q=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),k(Q)},[h,t]);const O=f.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),k(z)},[h,t,z]),$=f.useCallback((Q,x)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),H(re=>re.filter(ce=>ce.id!==x.id)),v(Date.now())},[h,t,H]),oe=f.useCallback((Q,x)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),H([]),k(void 0),v(Date.now())},[H]);let j;h?.plugins&&(j=h.plugins.find(Q=>Q.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const M=f.useCallback((Q,x)=>{if(g){const re=g.getCollectionConfig(Q),ce=Ge(re,x);g.onCollectionModified(Q,ce)}},[g]),L=f.useCallback(({width:Q,key:x})=>{if(!Bn(y.properties,x))return;const re=Hi(x,Q);M(t,re)},[y,M,t]),Qe=f.useCallback(Q=>{g&&M(t,{defaultSize:Q})},[M,t,g]),be=Un(y,A,ze(t),null),ge=f.useCallback(({name:Q,value:x,property:re,entityId:ce})=>s.checkUniqueField(t,Q,x,ce),[t]),Ve=({fullPath:Q,context:x,value:re,propertyKey:ce,onValueUpdated:_e,setError:qe,entity:bo})=>{const X=Pe.setIn({...bo.values},ce,re),ke={path:Q,entityId:bo.id,values:X,previousValues:bo.values,collection:y,status:"existing"};return Wt({...ke,collection:y,callbacks:y.callbacks,dataSource:s,context:x,onSaveSuccess:()=>_e(),onSaveFailure:he=>{console.error("Save failure"),console.error(he),qe(he)}})},bn=d.resolveAliasesFrom(t),cn=f.useMemo(()=>Te({collection:y,path:t,fields:h.propertyConfigs}),[y,t]),en=f.useCallback(({propertyKey:Q,propertyValue:x,entity:re})=>{let ce=Bn(y.properties,Q);return ce||(ce=Bn(cn.properties,Q)),Me({propertyKey:Q,propertyOrBuilder:ce,path:t,propertyValue:x,values:re.values,entityId:re.id,fields:h.propertyConfigs})},[y.properties,h.propertyConfigs,t,cn.properties]),yo=Oi(cn,!0),$n=f.useMemo(()=>{const Q=y.subcollections?.map(re=>({key:Rr(re),name:re.name,width:200,dependencies:[],Builder:({entity:ce})=>n.jsx(ie,{color:"primary",variant:"outlined",startIcon:n.jsx(Ko,{size:"small"}),onClick:_e=>{_e.stopPropagation(),u.open({path:t,entityId:ce.id,selectedSubPath:re.id??re.path,collection:y,updateUrl:!0})},children:re.name})}))??[],x=y.collectionGroup?[{key:EH,name:"Parent entities",width:260,dependencies:[],Builder:({entity:re})=>{const ce=d.getParentReferencesFromPath(re.path);return n.jsx(n.Fragment,{children:ce.map(_e=>n.jsx(rn,{reference:_e,size:"tiny"},_e.path+"/"+_e.id))})}}]:[];return[...y.additionalFields??[],...Q,...x]},[y,t]),go=f.useCallback(()=>{v(Date.now())},[]),pn=He(),wn=f.useCallback(({entity:Q,customEntityActions:x})=>{const re=Q?xo(y,A,ze(t),Q):!0,ce=[BH];return be&&ce.push(Gi),re&&ce.push(zi),x&&ce.push(...x),ce},[A,y,be,t]),_o=f.useCallback(()=>{const Q=wn({}),x=Q.filter(_e=>_e.collapsed!==!1),ce=Q.filter(_e=>_e.collapsed===!1).length*(pn?40:30);return(pn?80+ce:70+ce)+(x.length>0?pn?40:30:0)},[pn,wn]),kn=f.useCallback(({entity:Q,size:x,width:re,frozen:ce})=>{const _e=ne(Q),qe=wn({entity:Q,customEntityActions:y.entityActions});return n.jsx(ct,{entity:Q,width:re,frozen:ce,isSelected:_e,selectionEnabled:E,size:x,highlightEntity:p,unhighlightEntity:C,collection:y,fullPath:t,actions:qe,hideId:y?.hideIdFromCollection,onCollectionChange:go,selectionController:W})},[ne,y,A,t,E,q,be]),ho=n.jsx(tr,{open:B,onOpenChange:D,enabled:!!y.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(Z,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${y.description?"cursor-pointer":"cursor-auto"}`,onClick:y.description?Q=>{D(!0),Q.stopPropagation()}:void 0,children:`${y.name}`}),n.jsx(FH,{fullPath:t,collection:y,filter:V.filterValues,sortBy:V.sortBy,onCountChange:K})]}),children:y.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(Ao,{source:y.description})})});function Io({property:Q,propertyKey:x,onHover:re}){return h.plugins?n.jsx(n.Fragment,{children:h.plugins.filter(ce=>ce.collectionView?.HeaderAction).map((ce,_e)=>{const qe=ce.collectionView.HeaderAction;return n.jsx(qe,{onHover:re,propertyKey:x,property:Q,fullPath:t,collection:y,parentCollectionIds:c??[]},`plugin_header_action_${_e}`)})}):null}const G=j?function(){return typeof j=="function"?n.jsx(j,{fullPath:t,parentCollectionIds:c??[],collection:y}):null}:void 0;return n.jsxs("div",{className:F("overflow-hidden h-full w-full",a),ref:_,children:[n.jsx(st,{additionalFields:$n,tableController:V,displayedColumnIds:yo,onSizeChanged:Qe,onEntityClick:de,onColumnResize:L,onValueChange:Ve,tableRowActionsBuilder:kn,uniqueFieldValidator:ge,title:ho,selectionController:W,highlightedEntities:b?[b]:[],defaultSize:y.defaultSize,properties:cn.properties,getPropertyFor:en,actions:n.jsx(kH,{parentCollectionIds:c??[],collection:y,tableController:V,onMultipleDeleteClick:O,onNewClick:Y,path:t,relativePath:y.path,selectionController:W,selectionEnabled:E,collectionEntitiesCount:S}),emptyComponent:I&&V.filterValues===void 0&&V.sortBy===void 0?n.jsxs("div",{className:"flex flex-col items-center justify-center",children:[n.jsx(Z,{variant:"subtitle2",children:"So empty..."}),n.jsxs(ie,{color:"primary",variant:"outlined",onClick:Y,className:"mt-4",children:[n.jsx(sn,{}),"Create your first entity"]})]}):n.jsx(Z,{variant:"label",children:"No results with the applied filter/sort"}),hoverRow:T,inlineEditing:P(),AdditionalHeaderWidget:Io,AddColumnComponent:G,getIdColumnWidth:_o,additionalIDHeaderWidget:n.jsx(PH,{path:t,collection:y})},`collection_table_${t}`),n.jsx(KH,{open:!!U,onClose:J,cellRect:U?.cellRect,propertyKey:U?.propertyKey,collection:y,entity:U?.entity,tableKey:te.current,customFieldValidator:ge,path:bn,onCellValueChange:Ve,container:_.current},`popup_form_${U?.propertyKey}_${U?.entity?.id}`),w&&n.jsx(Wi,{entityOrEntitiesToDelete:w,path:t,collection:y,callbacks:y.callbacks,open:!!w,onEntityDelete:$,onMultipleEntitiesDelete:oe,onClose:()=>k(void 0)})]})},se);function ft(){const[e,t]=f.useState([]),c=f.useCallback(a=>{let l;e.map(s=>s.id).includes(a.id)?l=e.filter(s=>s.id!==a.id):l=[...e,a],t(l)},[e]),i=f.useCallback(a=>e.map(l=>l.id).includes(a.id),[e]);return{selectedEntities:e,setSelectedEntities:t,isEntitySelected:i,toggleEntitySelection:c}}function FH({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=We(),s=Ae(),[d,u]=f.useState(void 0),[A,g]=f.useState(void 0),h=i?i[0]:void 0,_=i?i[1]:void 0,y=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:y,collection:t,filter:c,orderBy:h,order:_}).then(u).catch(g)},[e,l,y,t,c,h,_]),f.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(Z,{className:"w-full text-ellipsis block overflow-hidden whitespace-nowrap max-w-xs text-left w-fit-content",variant:"caption",color:"secondary",children:d!==void 0?`${d} entities`:n.jsx(Oe,{className:"w-full max-w-[80px] mt-1"})})}function Hi(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:Hi(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function PH({collection:e,path:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(""),s=fn();return n.jsx(ye,{title:c?void 0:"Find by ID",children:n.jsx(tr,{open:c,onOpenChange:i,trigger:n.jsx(R,{size:"small",children:n.jsx(hr,{size:"small"})}),children:n.jsx("form",{noValidate:!0,onSubmit:d=>{if(d.preventDefault(),!!a)return i(!1),s.open({entityId:a,path:t,collection:e,updateUrl:!0})},className:"text-gray-900 dark:text-white w-96 max-w-full",children:n.jsxs("div",{className:"flex p-4 w-full gap-4",children:[n.jsx(tn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(ie,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}const DH={breadcrumbs:[],set:e=>{}},Ui=f.createContext(DH),NH=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Ui.Provider,{value:{breadcrumbs:t,set:i},children:e})},TH=({children:e})=>n.jsx(qt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e}),MH={mode:"light",setMode:e=>{},toggleMode:()=>{}},zo=f.createContext(MH),OH=zo.Provider;function At(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=we(t).split("/"),l=Lo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(g=>g.id===u||g.path===u);if(A){const g=A.id??A.path,h=i&&i.length>0?i+"/"+g:g;s.push({type:"collection",path:h,collection:A});const _=we(we(t).replace(u,"")),y=_.length>0?_.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push({type:"entity",entityId:I,path:h,parentCollection:A}),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(m=>Mt(m,e.contextEntityViews)).filter(Boolean).find(m=>m.key===p);if(k){const m=i&&i.length>0?i+"/"+k.key:k.key;s.push({type:"custom_view",path:m,view:k})}else A.subcollections&&s.push(...At({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}const LH="100vw",QH="55vw",Yi="768px",Ho="main_##Q$SC^#S6";function VH({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,parentCollectionIds:l,onValuesAreModified:s,formWidth:d,onUpdate:u,onClose:A}){a.customId&&a.formAutoSave&&console.warn(`The collection ${a.path} has customId and formAutoSave enabled. This is not supported and formAutoSave will be ignored`);const[g,h]=f.useState(!1),[_,y]=f.useState(void 0);Qo(_,()=>{_&&L({entityId:J?.id,collection:a,path:e,values:_,closeAfterSave:!1})},!1,2e3);const I=We(),b=Uo(),p=fn(),w=An(),k=ee(),m=un(),[v,S]=f.useState(void 0),[K,C]=f.useState(i?"copy":t?"existing":"new"),P=f.useRef(void 0),E=P.current,T=(a.subcollections??[]).filter(G=>!G.hideFromNavigation),B=T?.length??0,D=a.entityViews,N=D?.length??0,W=a.formAutoSave&&!a.customId,z=N>0||B>0,q=c??Lr(a?a.defaultSelectedView:void 0,{status:K,entityId:t}),ne=f.useRef(q??Ho),H=ne.current===Ho,{entity:V,dataLoading:te,dataLoadingError:U}=Nr({path:e,entityId:t,collection:a,useCache:!1}),[J,de]=f.useState(V),[Y,O]=f.useState(void 0);f.useEffect(()=>{V&&de(V)},[V]),f.useEffect(()=>{if(K==="new")O(!1);else{const G=J?Qt(a,m,ze(e),J??null):!1;J&&O(!G)}},[m,J,K]);const $=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error before saving: "+G?.message}),console.error(G)},[w]),oe=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error after saving (entity is saved): "+G?.message}),console.error(G)},[w]),j=(G,Q)=>{h(!1),W||w.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),de(G),C("existing"),s(!1),u&&u({entity:G}),Q?(b.setBlocked(!1),b.close(!0),A?.()):K!=="existing"&&p.replace({path:e,entityId:G.id,selectedSubPath:ne.current,updateUrl:!0,collection:a})},M=f.useCallback(G=>{h(!1),w.open({type:"error",message:"Error saving: "+G?.message}),console.error("Error saving entity",e,t),console.error(G)},[t,e,w]),L=({values:G,previousValues:Q,closeAfterSave:x,entityId:re,collection:ce,path:_e})=>{h(!0),Wt({path:_e,entityId:re,values:G,previousValues:Q,collection:ce,status:K,dataSource:I,context:k,onSaveSuccess:qe=>j(qe,x),onSaveFailure:M,onPreSaveHookError:$,onSaveSuccessHookError:oe}).then()},Qe=async({collection:G,path:Q,entityId:x,values:re,previousValues:ce,closeAfterSave:_e,autoSave:qe})=>{K&&(qe?y(re):L({collection:G,path:Q,entityId:x,values:re,previousValues:ce,closeAfterSave:_e}))},be=D?D.map(G=>Mt(G,k.entityViews)).filter(Boolean):[],ge=D&&be.map((G,Q)=>{if(!G||ne.current!==G.key)return null;const x=G.Builder;return x?n.jsx("div",{className:F(fe,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(ae,{children:v&&n.jsx(x,{collection:a,entity:J,modifiedValues:E??J?.values,formContext:v})})},`custom_view_${G.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),Ve=te&&!J||(!J||Y===void 0)&&(K==="existing"||K==="copy"),bn=Ve||g,cn=T&&T.map((G,Q)=>{const x=G.id??G.path,re=J?`${e}/${J?.id}/${we(x)}`:void 0;return ne.current!==x?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[bn&&n.jsx(lo,{}),!Ve&&(J&&re?n.jsx(ut,{fullPath:re,parentCollectionIds:[...l,a.id],isSubCollection:!0,...G}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(Z,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${x}`)}).filter(Boolean),en=f.useCallback(()=>{s(!1)},[]),yo=G=>{ne.current=G,p.replace({path:e,entityId:t,selectedSubPath:G===Ho?void 0:G,updateUrl:!0,collection:a})},$n=f.useCallback(G=>{P.current=G},[]),go=f.useCallback(G=>{w.open({type:"error",message:"Error updating id, check the console"})},[]),pn=f.useCallback(G=>{de(Q=>Q?{...Q,id:G}:void 0)},[]),wn=G=>{W||s(G)};function _o(){const G=k.plugins;let Q=n.jsx(Ia,{status:K,path:e,collection:a,onEntitySaveRequested:Qe,onDiscard:en,onValuesChanged:$n,onModified:wn,entity:J,onIdChange:pn,onFormContextChange:S,hideId:a.hideIdFromForm,autoSave:W,onIdUpdateError:go});return G&&G.forEach(x=>{x.form?.provider&&(Q=n.jsx(x.form.provider.Component,{status:K,path:e,collection:a,onDiscard:en,onValuesChanged:$n,onModified:wn,entity:J,context:k,formContext:v,...x.form.provider.props,children:Q}))}),n.jsx(ae,{children:Q})}const kn=Y===void 0?n.jsx(n.Fragment,{}):Y?n.jsxs(n.Fragment,{children:[n.jsx(Z,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(xr,{className:"px-12",entity:J,path:e,collection:a})]}):_o(),ho=T&&T.map(G=>n.jsx(rr,{className:"text-sm min-w-[140px]",value:G.id,children:G.name},`entity_detail_collection_tab_${G.name}`)),Io=be.map(G=>n.jsx(rr,{className:"text-sm min-w-[140px]",value:G.key,children:G.name},`entity_detail_collection_tab_${G.name}`));return n.jsx("div",{className:"flex flex-col h-full w-full transition-width duration-250 ease-in-out",children:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:F(fe,"no-scrollbar border-b pl-2 pr-2 pt-1 flex items-end overflow-scroll bg-gray-50 dark:bg-gray-950"),children:[n.jsx("div",{className:"pb-1 self-center",children:n.jsx(R,{onClick:()=>(A?.(),b.close(!1)),size:"large",children:n.jsx(wr,{})})}),n.jsx("div",{className:"flex-grow"}),Ve&&n.jsx("div",{className:"self-center",children:n.jsx(Nn,{size:"small"})}),n.jsxs(Ma,{value:ne.current,onValueChange:G=>{yo(G)},className:"pl-4 pr-4 pt-0",children:[n.jsx(rr,{disabled:!z,value:Ho,className:`${z?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),Io,ho]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!H,id:`form_${e}`,className:" w-full",children:Ve?n.jsx(lo,{}):kn}),ge,cn]})]})})}function WH(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(pe.UNSAFE_NavigationContext),l=pe.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:g,retry:h})=>{switch(A){case"REPLACE":{h();return}case"POP":i(g)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(g=>{const h={...g,retry(){A(),g.retry()}};u(h)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function GH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(nr,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(or,{children:[n.jsx(Z,{variant:"h6",children:a}),i,n.jsx(Z,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(En,{children:[n.jsx(ie,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(ie,{onClick:t,children:" Ok "})]})]})}const ji=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Uo=()=>f.useContext(ji);function zH(){const t=no().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(HH,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function HH({offsetPosition:e,panel:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(!1),[s,d]=f.useState(),u=f.useRef(t?.width),A=u.current,g=no(),{navigationWasBlocked:h,handleOk:_,handleCancel:y}=WH(a&&!c,()=>l(!1));f.useEffect(()=>{t&&(u.current=t.width)},[t]);const I=()=>{l(!1),i(!1),g.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(g.close(),t?.onClose?.())};return n.jsxs(ji.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Yt,{open:!!t,onOpenChange:w=>!w&&p(),children:[t&&n.jsx("div",{className:"transform max-w-[100vw] lg:max-w-[95vw] flex flex-col h-full transition-all duration-250 ease-in-out bg-white dark:bg-gray-900 ",style:{width:t.width,transform:`translateX(-${e*200}px)`},children:n.jsx(ae,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(GH,{open:h||c,handleOk:c?I:_,handleCancel:c?b:y,body:s})]})}function UH(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Uo(),a=Ae(),l=f.useMemo(()=>a.getParentCollectionIds(e.path),[a,e.path]),s=f.useMemo(()=>{if(!e)return;let u=e.collection;if(!u&&(u=a.getCollection(e.path,e.entityId),!u))throw console.error("ERROR: No collection found in path `",e.path,"`. Entity id: ",e.entityId),Error("ERROR: No collection found in path `"+e.path+"`. Make sure you have defined a collection for this path in the root navigation.");return u},[a,e]);f.useEffect(()=>{function u(A){t&&s&&(A.preventDefault(),A.returnValue=`You have unsaved changes in this ${s.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",u),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",u)}},[t,s]);const d=f.useCallback(u=>{c(u),i(u?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:s?.singularName??s?.name}),"."]}):void 0)},[s?.name,c,i]);return!e||!s?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(ae,{children:n.jsx(VH,{...e,formWidth:e.width,collection:s,parentCollectionIds:l,onValuesAreModified:d})})})}const $i="new";function YH(e,t){if(t)return LH;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??Yi:`calc(${QH} + ${i??Yi})`}const jH=(e,t)=>{const c=pe.useLocation(),i=f.useRef(!1),a=!He();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${$i}`,A=e.urlPathToDataPath(c.pathname),g=$H(A,e.collections,u);for(let h=0;h<g.length;h++){const _=g[h];setTimeout(()=>{h===0?t.replace(Yo(_,e,a)):t.open(Yo(_,e,a))},1)}}i.current=!0}},[c,e,t,a]);const l=f.useCallback(()=>{t.close()},[t]),s=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");const A=Lr(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Yo({selectedSubPath:A,...u},e,a))},[t,e,a]),d=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");t.replace(Yo(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function $H(e,t,c){const i=At({path:e,collections:t}),a=[];let l="";for(let s=0;s<i.length;s++){const d=i[s];if(d.type==="collection"&&(l=d.path),s>0){const u=i[s-1];if(d.type==="entity")a.push({path:d.path,entityId:d.entityId,copy:!1});else if(d.type==="custom_view"){if(u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.view.key)}}else if(d.type==="collection"&&u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.collection.id??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Yo=(e,t,c)=>{const i=we(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${$i}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(UH,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:YH(e,c),onClose:e.onClose}};function qH(){const e=pe.useLocation(),t=pe.useNavigate(),[c,i]=f.useState([]),a=f.useRef(c),l=f.useRef({}),s=f.useRef(0),d=h=>{a.current=h,i(h)};f.useEffect(()=>{const y=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);se(a.current.map(I=>I.key),y.map(I=>I.key))||d(y)},[e]);const u=f.useCallback(()=>{if(c.length===0)return;const h=c[c.length-1],_=[...c.slice(0,-1)];if(d(_),s.current>0)h.urlPath&&t(-1),s.current--;else if(h.parentUrlPath){const y=e.state?.base_location??e;t(h.parentUrlPath,{replace:!0,state:{base_location:y,panels:_.map(I=>I.key)}})}},[c,t,e]),A=f.useCallback(h=>{const _=Array.isArray(h)?h:[h];_.forEach(b=>{l.current[b.key]=b}),s.current=s.current+_.length;const y=e.state?.base_location??e,I=[...c,..._];d(I),_.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]),g=f.useCallback(h=>{const _=Array.isArray(h)?h:[h];_.forEach(b=>{l.current[b.key]=b});const y=e.state?.base_location??e,I=[...c.slice(0,-_.length),..._];d(I),_.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:g}}function JH(e){f.useEffect(()=>{if(!e)return;const t=xt[e];t&&(cr.registerLocale(e,t),cr.setDefaultLocale(e))},[e])}function qi(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=we(t).split("/"),l=Lo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(g=>g.id===u||g.path===u);if(A){const g=A.id??A.path,h=i&&i.length>0?i+"/"+g:g,_=we(we(t).replace(u,"")),y=_.length>0?_.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push(new $e(I,h)),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...qi({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}const ZH="/",XH="/c";function xH({basePath:e=ZH,baseCollectionPath:t=XH,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=pe.useLocation(),[A,g]=f.useState(),[h,_]=f.useState(),[y,I]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[m,v]=f.useState(void 0),S=we(e),K=we(t),C=S?`/${S}`:"/",P=S?`/${S}/${K}`:`/${K}`,E=f.useCallback(Y=>S?`/${S}/${jo(Y)}`:`/${jo(Y)}`,[S]),T=f.useCallback(Y=>`${we(t)}/${jo(Y)}`,[t]),B=f.useCallback((Y,O)=>{const $=[...(Y??[]).map(j=>j.hideFromNavigation?void 0:{url:T(j.id??j.path),type:"collection",name:j.name.trim(),path:j.id??j.path,collection:j,description:j.description?.trim(),group:j.group?.trim()}).filter(Boolean),...(O??[]).map(j=>j.hideFromNavigation?void 0:{url:E(Array.isArray(j.path)?j.path[0]:j.path),name:j.name.trim(),type:"view",view:j,description:j.description?.trim(),group:j.group?.trim()}).filter(Boolean)],oe=Object.values($).map(j=>j.group).filter(Boolean).filter((j,M,L)=>L.indexOf(j)===M);return{navigationEntries:$,groups:oe}},[E,T]),D=f.useCallback(async()=>{if(!c.initialLoading){try{const[Y=[],O=[]]=await Promise.all([RH(i,c,d,s),e3(a,c,d)]);g(Y),_(O),p(B(Y??[],O))}catch(Y){console.error(Y),v(Y)}k(!1),I(!0)}},[i,c.user,c.initialLoading,s,a,B]);f.useEffect(()=>{D()},[D]);const N=f.useCallback((Y,O,$=!1)=>{if(!A)return;const oe=Oo(we(Y),A),j=$?l?.getCollectionConfig(Y):void 0,M=oe?Ge(oe,j):void 0;let L=M;if(M){const Qe=M.subcollections,be=M.callbacks,ge=M.permissions;L={...L,subcollections:L?.subcollections??Qe,callbacks:L?.callbacks??be,permissions:L?.permissions??ge}}if(L)return{...M,...L}},[e,t,A]),W=f.useCallback(Y=>{let O=A;if(!O)throw Error("Collections have not been initialised yet");for(let $=0;$<Y.length;$++){const oe=Y[$],j=O.find(M=>M.id===oe||M.path===oe);if(!j)return;if(O=j.subcollections,$===Y.length-1)return j}},[A]),z=f.useCallback(Y=>{let O=A;if(!O)throw Error("Collections have not been initialised yet");for(let $=0;$<Y.length;$++){const oe=Y[$],j=O.find(M=>M.id===oe);if(!j)return;if(O=j.subcollections,$===Y.length-1)return j}},[A]),q=f.useCallback(Y=>we(Y+"/").startsWith(we(P)+"/"),[P]),ne=f.useCallback(Y=>{if(Y.startsWith(P))return Y.replace(P,"");throw Error("Expected path starting with "+P)},[P]),H=f.useCallback(({path:Y})=>`s/edit/${jo(Y)}`,[]),V=f.useCallback(Y=>{if(!A)throw Error("Collections have not been initialised yet");return Hr(Y,A)},[A]),te=u.state,U=te&&te.base_location?te.base_location:u,J=f.useCallback(Y=>qi({path:Y,collections:A}),[A]),de=f.useCallback(Y=>J(Y).map(O=>O.id),[J]);return f.useMemo(()=>({collections:A??[],views:h??[],loading:!y||w,navigationLoadingError:m,homeUrl:C,basePath:e,baseCollectionPath:t,initialised:y,getCollection:N,getCollectionFromPaths:W,getCollectionFromIds:z,isUrlCollectionPath:q,urlPathToDataPath:ne,buildUrlCollectionPath:T,buildUrlEditCollectionPath:H,buildCMSUrlPath:E,resolveAliasesFrom:V,topLevelNavigation:b,baseLocation:U,refreshNavigation:D,getParentReferencesFromPath:J,getParentCollectionIds:de}),[t,U,e,E,T,H,A,J,N,W,C,y,q,w,m,D,V,b,ne,h])}function jo(e){return encodeURIComponent(we(e)).replaceAll("%2F","/").replaceAll("%23","#")}function Ji(e,t){return e.filter(c=>c.permissions?uo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:Ji(c.subcollections,t)}:c)}async function RH(e,t,c,i){let a=[];return typeof e=="function"?a=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(a=e),a=Ji(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function e3(e,t,c){let i=[];return typeof e=="function"?i=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(i=e),i}function n3({delegate:e,propertyConfigs:t,navigationController:c}){return{fetchCollection:f.useCallback(({path:i,collection:a,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:g})=>e.fetchCollection({path:i,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:g}),[e]),listenCollection:e.listenCollection?f.useCallback(({path:i,collection:a,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:g,onUpdate:h,onError:_})=>{const I=!!(a??c.getCollection(i))?.collectionGroup;if(!e.listenCollection)throw Error("useBuildDataSource delegate not initialised");return e.listenCollection({path:i,filter:l,limit:s,startAfter:d,searchString:u,orderBy:A,order:g,onUpdate:h,onError:_,isCollectionGroup:I})},[e,c.getCollection]):void 0,fetchEntity:f.useCallback(({path:i,entityId:a})=>e.fetchEntity({path:i,entityId:a}),[e]),listenEntity:e.listenEntity?f.useCallback(({path:i,entityId:a,collection:l,onUpdate:s,onError:d})=>{if(!e.listenEntity)throw Error("useBuildDataSource delegate not initialised");return e.listenEntity({path:i,entityId:a,onUpdate:s,onError:d})},[e.listenEntity]):void 0,saveEntity:f.useCallback(({path:i,entityId:a,values:l,collection:s,status:d})=>{const u=s??c.getCollection(i),g=(u?Te({collection:u,path:i,entityId:a,fields:t}):void 0)?.properties,h=yt(l,e.buildReference,e.buildGeoPoint,e.buildDate,e.buildDeleteFieldValue),_=g?jc({inputValues:h,properties:g,status:d,timestampNowValue:e.currentTime(),setDateToMidnight:e.setDateToMidnight}):h;return console.debug("Saving entity",i,a,_),e.saveEntity({path:i,entityId:a,values:_,status:d}).then(y=>({id:y.id,path:y.path,values:e.delegateToCMSModel(_)}))},[e.saveEntity,c.getCollection]),deleteEntity:f.useCallback(({entity:i})=>e.deleteEntity({entity:i}),[e.deleteEntity]),checkUniqueField:f.useCallback((i,a,l,s)=>e.checkUniqueField(i,a,l,s),[e.checkUniqueField]),generateEntityId:f.useCallback(i=>e.generateEntityId(i),[e.generateEntityId]),countEntities:f.useCallback(async({path:i,collection:a,filter:l,order:s,orderBy:d})=>e.countEntities({path:i,filter:l,orderBy:d,order:s,isCollectionGroup:!!a.collectionGroup}),[e.countEntities]),isFilterCombinationValid:f.useCallback(({path:i,filterValues:a,sortBy:l})=>e.isFilterCombinationValid?e.isFilterCombinationValid({path:i,filterValues:a,sortBy:l}):!0,[e.isFilterCombinationValid])}}function yt(e,t,c,i,a){return e===void 0?a():Array.isArray(e)?e.map(l=>yt(l,t,c,i,a)):e instanceof $e?t(e):e instanceof Eo?c(e):e instanceof Date?i(e):e&&typeof e=="object"?Object.entries(e).map(([l,s])=>({[l]:yt(s,t,c,i,a)})).reduce((l,s)=>({...l,...s}),{}):e}function o3(e){const t=Gt(),{children:c,entityLinkBuilder:i,userConfigPersistence:a,dateTimeFormat:l,locale:s,authController:d,storageSource:u,dataSourceDelegate:A,plugins:g,onAnalyticsEvent:h,propertyConfigs:_,entityViews:y,components:I,baseCollectionPath:b,basePath:p,collections:w,views:k}=e;JH(s);const m=xH({basePath:p,baseCollectionPath:b,authController:d,collections:w,views:k,userConfigPersistence:a,dataSource:A,plugins:g}),v=n3({delegate:A,propertyConfigs:_,navigationController:m}),S=qH(),K=jH(m,S),C=g?.some(T=>T.loading)??!1,P=d.initialLoading||m.loading||C,E=f.useMemo(()=>({entityLinkBuilder:i,dateTimeFormat:l,locale:s,plugins:g,onAnalyticsEvent:h,entityViews:y??[],propertyConfigs:_??{},components:I}),[l,s,g,y,_,I]);return m.navigationLoadingError?n.jsx(gr,{maxWidth:"md",fullScreen:!0,children:n.jsx(me,{title:"Error loading navigation",error:m.navigationLoadingError})}):d.authError?n.jsx(gr,{maxWidth:"md",fullScreen:!0,children:n.jsx(me,{title:"Error loading auth",error:d.authError})}):n.jsx(zo.Provider,{value:t,children:n.jsx(Pr.Provider,{value:E,children:n.jsx(Hc.Provider,{value:a,children:n.jsx(zc.Provider,{value:u,children:n.jsx(Qc.Provider,{value:v,children:n.jsx(Fr.Provider,{value:d,children:n.jsx(Wc.Provider,{value:S,children:n.jsx(Gc.Provider,{value:K,children:n.jsx(Vc.Provider,{value:m,children:n.jsx(NH,{children:n.jsx(z5,{children:n.jsx(r3,{loading:P,children:c})})})})})})})})})})})})}function r3({loading:e,children:t}){const c=ee();let i=t({context:c,loading:e});const a=c.plugins;return!e&&a&&a.forEach(l=>{l.provider&&(i=n.jsx(l.provider.Component,{...l.provider.props,context:c,children:i}))}),n.jsx(n.Fragment,{children:i})}function Zi({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ee(),a=Ae(),l=e&&!t,s=He();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:u}=a.topLevelNavigation,A=Object.values(d).filter(_=>!_.group),g=f.useCallback(_=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(Z,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:_?_.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),h=_=>{const y=_.type==="collection"?"drawer_navigate_to_collection":_.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(y,{url:_.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[u.map(_=>n.jsxs(f.Fragment,{children:[g(_),Object.values(d).filter(y=>y.group===_).map((y,I)=>n.jsx(gt,{icon:Ro(y.collection??y.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>h(y),url:y.url,name:y.name},`navigation_${I}`))]},`drawer_group_${_}`)),A.length>0&&g(),A.map((_,y)=>n.jsx(gt,{icon:Ro(_.collection??_.view),tooltipsOpen:l,onClick:()=>h(_),drawerOpen:t,url:_.url,name:_.name},`navigation_${y}`))]})}function gt({name:e,icon:t,drawerOpen:c,tooltipsOpen:i,url:a,onClick:l}){const s=n.jsx("div",{className:"text-gray-600 dark:text-gray-500",children:t}),d=n.jsxs(pe.NavLink,{onClick:l,className:({isActive:u})=>F("rounded-r-xl truncate","hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-gray-100","flex flex-row items-center w-full mr-8",c?"pl-8 h-12":"pl-6 h-11","font-medium text-sm",u?"bg-gray-100 dark:bg-gray-800":""),to:a,children:[s,n.jsx("div",{className:F(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(ye,{open:i,side:"right",title:e,children:d})}const t3=280,c3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=Zi,drawerProps:u,FireCMSAppBarComponent:A=ra,fireCMSAppBarComponentProps:g}=t,h=He(),_=Ae(),[y,I]=f.useState(!1),[b,p]=f.useState(!1),w=f.useCallback(()=>p(!0),[]),k=f.useCallback(()=>p(!1),[]),m=f.useCallback(()=>{I(!1)},[]),v=y||!!(h&&s&&b);return n.jsxs("div",{className:"flex h-screen w-screen bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-white overflow-hidden",style:{paddingTop:"env(safe-area-inset-top)",paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",height:"100dvh"},children:[n.jsx(A,{title:i,includeDrawer:l,drawerOpen:v,...g}),n.jsx(a3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:v,logo:a,hovered:b,setDrawerOpen:I,children:l&&(_.loading?n.jsx(lo,{}):n.jsx(d,{hovered:b,drawerOpen:v,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(i3,{}),n.jsx("div",{className:F(fe,"flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1"),children:n.jsx(ae,{children:c})})]})]})},se),i3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function a3(e){const t=Ae(),c=e.displayed?e.open?t3:72:0,i=n.jsxs("div",{className:"relative h-full no-scrollbar overflow-y-auto overflow-x-hidden",style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[!e.open&&e.displayed&&n.jsx(ye,{title:"Open menu",side:"right",sideOffset:12,className:"fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit",children:n.jsx(R,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(vr,{})})}),n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{style:{transition:"padding 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",padding:e.open?"32px 96px 0px 24px":"72px 16px 0px"},className:F("cursor-pointer"),children:n.jsx(ye,{title:"Home",sideOffset:20,side:"right",children:n.jsx(pe.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:F("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(oa,{})})})}),e.children]})]});return He()?n.jsxs("div",{className:"relative",onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[i,n.jsx("div",{className:`absolute right-0 top-4 ${e.open?"opacity-100":"opacity-0 invisible"} transition-opacity duration-1000 ease-in-out`,children:n.jsx(R,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(sc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(vr,{})}),n.jsx(Yt,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const l3=f.memo(function({HomePage:t=ea,customRoutes:c}){const i=pe.useLocation(),a=Ae();if(!a)return n.jsx(n.Fragment,{});const l=i.state,s=l&&l.base_location?l.base_location:i,d=[];a.views&&a.views.forEach(_=>{Array.isArray(_.path)?d.push(..._.path.map(y=>Xi(y,_))):d.push(Xi(_.path,_))});const A=[...a.collections??[]].sort((_,y)=>y.path.length-_.path.length).map(_=>{const y=a.buildUrlCollectionPath(_.id??_.path);return n.jsx(pe.Route,{path:y+"/*",element:n.jsx($o,{path:y,title:_.name,type:"collection",children:n.jsx(ut,{isSubCollection:!1,parentCollectionIds:[],fullPath:_.id??_.path,..._,Actions:Go(_.Actions)},`collection_view_${_.id??_.path}`)})},`navigation_${_.id??_.path}`)}),g=n.jsx(pe.Route,{path:"/",element:n.jsx($o,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(pe.Route,{path:"*",element:n.jsx(na,{})});return n.jsxs(pe.Routes,{location:s,children:[A,d,g,h,c]})}),Xi=(e,t)=>n.jsx(pe.Route,{path:e,element:n.jsx($o,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),$o=f.memo(function({children:t,title:c,path:i,type:a}){const l=zt();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);function s3(){const e=typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)"),c=(localStorage.getItem("prefers-dark-mode")!=null?localStorage.getItem("prefers-dark-mode")==="true":null)??e,[i,a]=f.useState(c?"dark":"light");f.useEffect(()=>{a(c?"dark":"light"),d(c?"dark":"light")},[c]);const l=f.useCallback(()=>{a("dark"),d("dark")},[e]),s=f.useCallback(()=>{a("light"),d("light")},[]),d=A=>{document.body.style.setProperty("color-scheme",A),document.documentElement.dataset.theme=A},u=f.useCallback(()=>{i==="light"?(e?localStorage.removeItem("prefers-dark-mode"):localStorage.setItem("prefers-dark-mode","true"),l()):(e?localStorage.setItem("prefers-dark-mode","false"):localStorage.removeItem("prefers-dark-mode"),s())},[i,e]);return{mode:i,setMode:a,toggleMode:u}}function d3(){const[e,t]=f.useState({}),c=f.useCallback(I=>{const b=localStorage.getItem(I);return b?JSON.parse(b):{}},[]),i=f.useCallback(I=>{const b=`collection_config::${zr(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${zr(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=Ge(k??c(I),b);return Ge(w,m)})},[c]),[l,s]=f.useState([]),[d,u]=f.useState([]),[A,g]=f.useState([]);f.useEffect(()=>{s(localStorage.getItem("recently_visited_paths")?JSON.parse(localStorage.getItem("recently_visited_paths")):[]),u(localStorage.getItem("favourite_paths")?JSON.parse(localStorage.getItem("favourite_paths")):[]),g(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const h=f.useCallback(I=>{localStorage.setItem("recently_visited_paths",JSON.stringify(I)),s(I)},[]),_=f.useCallback(I=>{localStorage.setItem("favourite_paths",JSON.stringify(I)),u(I)},[]),y=f.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),g(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:h,favouritePaths:d,setFavouritePaths:_,collapsedGroups:A,setCollapsedGroups:y}}function xi({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){console.log("ReferenceSelectionInner");const A=Uo(),g=fn(),h=Ae(),_=ee(),y=h.resolveAliasesFrom(a),I=We(),[b,p]=f.useState([]),w=ft();f.useEffect(()=>{let B=!1;const D=l?.map(N=>N?.toString()).filter(Boolean);return D&&i?Promise.all(D.map(N=>I.fetchEntity({path:y,entityId:N,collection:i}))).then(N=>{if(!B){const W=N.filter(z=>z!==void 0);w.setSelectedEntities(W),p(W)}}):(w.setSelectedEntities([]),p([])),()=>{B=!0}},[I,y,l,i,w.setSelectedEntities]);const k=()=>{_.onAnalyticsEvent?.("reference_selection_clear",{path:y}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},m=B=>{console.debug("ReferenceSelectionInner toggleEntitySelection",B);let D;const N=w.selectedEntities;if(_.onAnalyticsEvent?.("reference_selection_toggle",{path:y,entityId:B.id}),N){if(N.map(W=>W.id).indexOf(B.id)>-1)D=N.filter(W=>W.id!==B.id);else{if(u&&N.length>=u)return;D=[...N,B]}w.setSelectedEntities(D),t&&t(D)}},v=B=>{console.debug("ReferenceSelectionInner onEntityClick",B),!c&&e?(_.onAnalyticsEvent?.("reference_selected_single",{path:y,entityId:B.id}),e(B),A.close(!1)):m(B)},S=()=>{_.onAnalyticsEvent?.("reference_selection_new_entity",{path:y}),g.open({path:y,collection:i,updateUrl:!0,onUpdate:({entity:B})=>{p([B,...b]),v(B)},closeOnSave:!0})},K=({entity:B,size:D,width:N,frozen:W})=>{const z=w.selectedEntities,q=z&&z.map(ne=>ne.id).indexOf(B.id)>-1;return n.jsx(ct,{width:N,frozen:W,entity:B,size:D,isSelected:q,selectionEnabled:c,hideId:i?.hideIdFromCollection,fullPath:y,selectionController:w})},C=f.useCallback(B=>{B.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(me,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Te({collection:i,path:y,values:{},fields:_.propertyConfigs}),[i,_.propertyConfigs,y]),E=Oi(P,!1),T=dt({fullPath:y,collection:i,entitiesDisplayedFirst:b,forceFilter:d});return n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{className:"flex-grow",children:b&&n.jsx(st,{displayedColumnIds:E,onEntityClick:v,tableController:T,tableRowActionsBuilder:K,title:n.jsx(Z,{variant:"subtitle2",children:i.singularName?`Select ${i.singularName}`:`Select from ${i.name}`}),defaultSize:i.defaultSize,properties:P.properties,forceFilter:d,inlineEditing:!1,selectionController:w,actions:n.jsx(u3,{collection:i,path:y,onNewClick:S,onClear:k})})}),n.jsxs(En,{translucent:!1,children:[s&&n.jsx(Z,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(ie,{onClick:C,color:"primary",variant:"filled",children:"Done"})]})]})}function u3({collection:e,path:t,onClear:c,onNewClick:i}){const a=un(),l=He(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Un(e,a,ze(t),null)&&s&&(l?n.jsxs(ie,{onClick:s,startIcon:n.jsx(sn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ie,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(sn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(ie,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function hn({title:e,children:t,invisible:c=!1,expanded:i,onExpandedChange:a,initiallyExpanded:l=!0,titleClassName:s,asField:d,className:u}){vn("ExpandablePanel",`
99
99
  .CollapsibleContent {
100
100
  overflow: hidden;
101
101
  }
@@ -122,7 +122,7 @@
122
122
  to {
123
123
  height: 0;
124
124
  }
125
- }`);const[A,_]=f.useState(i!==void 0?i:l),[h,g]=f.useState(A);return f.useEffect(()=>{A?setTimeout(()=>{g(!0)},220):g(!1)},[A]),f.useEffect(()=>{i!==void 0&&_(i)},[i]),n.jsx(n.Fragment,{children:n.jsxs(qn.Root,{className:F(!c&&fe+" border","rounded-md"),open:A,onOpenChange:y=>{a?.(y),_(y)},children:[n.jsxs(qn.Trigger,{className:F(Ie,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&fe,d&&Xe,s),children:[e,n.jsx(Co,{className:F("transition",A?"rotate-180":"")})]}),n.jsx(qn.Content,{className:F("CollapsibleContent"),style:{overflow:h?"visible":"hidden"},children:n.jsx("div",{className:u,children:t})})]})})}function gt({children:e,group:t}){const c=Mn();return n.jsx(hn,{invisible:!0,titleClassName:"font-medium text-sm text-gray-600 dark:text-gray-400",className:"py-4",initiallyExpanded:!(c?.collapsedGroups??[]).includes(t??"ungrouped"),onExpandedChange:i=>{if(c)if(i)c.setCollapsedGroups((c.collapsedGroups??[]).filter(a=>a!==(t??"ungrouped")));else{const a=(c.collapsedGroups??[]).concat(t??"ungrouped");c.setCollapsedGroups(a)}},title:n.jsx(Z,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function Ri({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=Mn(),u=Ro(c??e),A=pe.useNavigate(),_=ee(),h=(d?.favouritePaths??[]).includes(t);let g;if(_.plugins&&c){const y={path:t,collection:c,context:_};g=n.jsx(n.Fragment,{children:_.plugins.map((I,b)=>I.homePage?.CollectionActions?n.jsx(I.homePage.CollectionActions,{...y,extraProps:I.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(oc,{className:F("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(y=>y!==t)])},children:n.jsxs("div",{className:"flex flex-col items-start h-full",children:[n.jsxs("div",{className:"flex-grow w-full",children:[n.jsxs("div",{className:"h-10 flex items-center w-full justify-between text-gray-300 dark:text-gray-600",children:[u,n.jsxs("div",{className:"flex items-center gap-1",onClick:y=>{y.preventDefault(),y.stopPropagation()},children:[g,d&&n.jsx(R,{onClick:y=>{y.preventDefault(),y.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(Sr,{size:18,className:"text-secondary"}):n.jsx(Br,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(Z,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(Z,{variant:"body2",color:"secondary",component:"div",children:n.jsx(Ao,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(cc,{className:"text-primary"})})})]})})}function f3({entry:e}){const t=pe.useNavigate(),c=Mn();if(!c)return null;const i=c.favouritePaths.includes(e.path),a=l=>{l.preventDefault(),l.stopPropagation(),i?c.setFavouritePaths(c.favouritePaths.filter(s=>s!==e.path)):c.setFavouritePaths([...c.favouritePaths,e.path])};return n.jsx(Bo,{onClick:()=>t(e.url),icon:i?n.jsx(Sr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Br,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function A3({hidden:e}){const t=Ae(),c=Mn();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(wo,{in:i.length>0,children:n.jsx("div",{className:"flex flex-row flex-wrap gap-2 pb-2 min-h-[32px]",children:i.map(a=>n.jsx(f3,{entry:a},a.path))})})}const ht={};function y3(){const e=pe.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(ht[e.key]=t.current.scrollTop,i(t.current.scrollTop),l(t.current.scrollTop>c?"down":"up"))},[t,e.key,c]);return f.useEffect(()=>{const d=t.current;if(d)return d.addEventListener("scroll",s,{passive:!0}),()=>{d&&d.removeEventListener("scroll",s)}},[t,s,e]),f.useEffect(()=>{!t.current||!ht[e.key]||t.current.scrollTo({top:ht[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const zn=new ol.Search("url");zn.addIndex("name"),zn.addIndex("description"),zn.addIndex("group"),zn.addIndex("path");function ea({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ee(),i=Ae();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=y3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,_]=f.useState(null),h=A?d.filter(w=>A.includes(w.url)):d;f.useEffect(()=>{zn.addDocuments(d)},[d]);const g=f.useCallback(w=>{if(!w||w==="")_(null);else{const k=zn.search(w);_(k.map(m=>m.url))}},[]),y=[...u];(h.filter(w=>!w.group).length>0||h.length===0)&&y.push(void 0);let I,b,p;if(c.plugins){const w={context:c};p=n.jsx(n.Fragment,{children:c.plugins.filter(k=>k.homePage?.includeSection).map((k,m)=>{const v=k.homePage.includeSection(w);return n.jsx(gt,{group:v.title,children:v.children},`plugin_section_${k.name}`)})}),I=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(k=>k.homePage?.additionalChildrenStart).map((k,m)=>n.jsx("div",{children:k.homePage.additionalChildrenStart},`plugin_children_start_${m}`))}),b=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(k=>k.homePage?.additionalChildrenEnd).map((k,m)=>n.jsx("div",{children:k.homePage.additionalChildrenEnd},`plugin_children_start_${m}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(yr,{maxWidth:"6xl",children:[n.jsx("div",{className:"sticky py-4 transition-all duration-400 ease-in-out top-0 z-10",style:{top:s==="down"?-84:0},children:n.jsx(Ut,{onTextSearch:g,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(A3,{hidden:!!A}),e,I,y.map((w,k)=>{const m=[],v={group:w,context:c};c.plugins&&c.plugins.forEach(K=>{K.homePage?.AdditionalCards&&m.push(...Go(K.homePage?.AdditionalCards))});const S=h.filter(K=>K.group===w||!K.group&&w===void 0);return S.length===0&&m.length===0?null:n.jsx(gt,{group:w,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[S.map(K=>n.jsx("div",{className:"col-span-1",children:n.jsx(Ri,{...K,onClick:()=>{const C=K.type==="collection"?"home_navigate_to_collection":K.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(C,{path:K.path})}})},`nav_${K.group}_${K.name}`)),m&&m.map((K,C)=>n.jsx("div",{children:n.jsx(K,{...v})},`nav_${w}_add_${C}`))]})},`plugin_section_${w}`)}),p,b,t]})})}function _3({propertyConfig:e}){const t="h-8 w-8 p-1 rounded-full shadow text-white";return n.jsx("div",{className:t,style:{background:e?.color??"#888"},children:Ot(e,"medium")})}function g3({children:e,title:t,path:c}){const i=zt();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function na(){return n.jsx("div",{className:"flex w-full h-full",children:n.jsxs("div",{className:"m-auto flex items-center flex-col",children:[n.jsx(Z,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(Z,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(ie,{variant:"text",component:pe.Link,to:"/",children:"Back to home"})]})})}function h3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(nr,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(or,{children:[n.jsx(Z,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(En,{children:[n.jsx(ie,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(Ta,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function oa({width:e,height:t,className:c,style:i}){return n.jsxs("svg",{width:e??"100%",height:t??"100%",viewBox:"0 0 599 599",version:"1.1",style:i,className:c,xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("defs",{children:[n.jsxs("radialGradient",{cx:"28.6213569%",cy:"43.1133328%",fx:"28.6213569%",fy:"43.1133328%",r:"71.5003456%",gradientTransform:"translate(0.286214,0.431133),rotate(3.343450),scale(1.000000,0.996175),translate(-0.286214,-0.431133)",id:"radialGradient-1",children:[n.jsx("stop",{stopColor:"#FF5B79",offset:"0%"}),n.jsx("stop",{stopColor:"#FA5574",offset:"28.0930803%"}),n.jsx("stop",{stopColor:"#EC4C51",offset:"44.7242531%"}),n.jsx("stop",{stopColor:"#9543C1",offset:"71.4578165%"}),n.jsx("stop",{stopColor:"#3857B3",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.6205516%",cy:"47.2473036%",fx:"53.6205516%",fy:"47.2473036%",r:"50.8229649%",gradientTransform:"translate(0.536206,0.472473),rotate(90.000000),scale(1.000000,1.206631),translate(-0.536206,-0.472473)",id:"radialGradient-2",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"75.3503173%"}),n.jsx("stop",{stopColor:"#0D060B",stopOpacity:"0.437431709",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.8605015%",cy:"48.1990423%",fx:"53.8605015%",fy:"48.1990423%",r:"59.9151549%",gradientTransform:"translate(0.538605,0.481990),rotate(180.000000),scale(1.000000,0.925027),translate(-0.538605,-0.481990)",id:"radialGradient-3",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"84.0867343%"}),n.jsx("stop",{stopColor:"#FF0000",stopOpacity:"0.567324765",offset:"100%"})]})]}),n.jsx("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"firecms_logo",children:[n.jsx("circle",{fill:"url(#radialGradient-1)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-2)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-3)",cx:"299.5",cy:"299.5",r:"299.5"})]})})]})}const ra=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const _=Ae(),h=un(),{mode:g,toggleMode:y}=Gt(),I=He(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(fr,{src:b.photoURL});else if(b===void 0||h.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Oe,{className:"w-10 h-10 rounded-full"})});else{const w=b?.displayName?b.displayName[0].toUpperCase():b?.email?b.email[0].toUpperCase():"A";p=n.jsx(fr,{children:w})}return n.jsx("div",{style:u,className:F("pr-2",{"ml-[17rem]":a&&I,"ml-16":s&&!(a&&I)&&!i,"h-16":!0,"z-10":I,"transition-all":!0,"ease-in":!0,"duration-75":!0,"w-full":!s,"w-[calc(100%-64px)]":s&&!(a&&I),"w-[calc(100%-17rem)]":s&&a&&I,"duration-150":a&&I,fixed:!0},d),children:n.jsxs("div",{className:"flex flex-row gap-2 px-4 h-full items-center",children:[i,_&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(pe.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:_?.basePath??"/",children:n.jsx(Z,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(ae,{children:c}),n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:y,size:"large",children:g==="dark"?n.jsx(dc,{}):n.jsx(vc,{})}),n.jsxs(jn,{trigger:p,children:[l,!l&&n.jsxs(Be,{onClick:h.signOut,children:[n.jsx(Bc,{}),"Log Out"]})]})]})})},I3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[Vr(t)+c]:so()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function It({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:A}){const _=c&&Array.isArray(c)&&c.length>0,h=f.useRef(I3(c)),[g,y]=f.useState(_?Object.values(h.current):[]);f.useEffect(()=>{if(_&&c&&c.length!==g.length){const k=c.map((m,v)=>{const S=Vr(m)+v;if(S in h.current)return h.current[S];{const K=so();return h.current[S]=K,K}});y(k)}},[_,g.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=so(),v=[...g,m];s&&s(m),y(v),A([...c??[],u])},b=k=>{const m=[...g];m.splice(k,1),y(m),A(c.filter((v,S)=>S!==k))},p=k=>{const m=so(),v=c[k],S=[...g.splice(0,k+1),m,...g.splice(k+1,g.length-k-1)];s&&s(m),y(S),A([...c.slice(0,k+1),v,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,v=k.destination.index,S=[...g],K=S[m];S[m]=S[v],S[v]=K,y(S),A(b3(c,m,v))};return n.jsx(Pn.DragDropContext,{onDragEnd:w,children:n.jsx(Pn.Droppable,{droppableId:e,renderClone:(k,m,v)=>{const S=v.source.index,K=g[S];return n.jsx(bt,{provided:k,internalId:K,index:S,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:m.isDragging})},children:(k,m)=>n.jsxs("div",{...k.droppableProps,ref:k.innerRef,children:[_&&g.map((v,S)=>n.jsx(Pn.Draggable,{draggableId:`array_field_${v}`,isDragDisabled:i,index:S,children:(K,C)=>n.jsx(bt,{provided:K,internalId:v,index:S,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:C.isDragging})},`array_field_${v}`)),k.placeholder,d&&n.jsx("div",{className:"py-4 justify-center text-left",children:n.jsx(ie,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(sn,{}),onClick:I,children:t??"Add"})})]})})})}function bt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,_]=ar(),h=i!=="small"&&_.height===0,g=i!=="small"&&_.height<100,[y,I]=f.useState(!1),b=f.useCallback(()=>I(!0),[]),p=f.useCallback(()=>I(!1),[]);return n.jsx("div",{onMouseEnter:b,onMouseMove:b,onMouseLeave:p,ref:e.innerRef,...e.draggableProps,style:e.draggableProps.style,className:`${u||y?Ye:""} mb-1 rounded-md opacity-100`,children:n.jsxs("div",{className:"flex items-start",children:[n.jsx("div",{ref:A,className:"flex-grow w-[calc(100%-48px)] text-text-primary dark:text-text-primary-dark",children:l(t,c)}),n.jsx(ta,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:g,copy:d})]})})}function ta({direction:e,disabled:t,remove:c,index:i,provided:a,copy:l,contentOverflow:s,measuring:d}){return n.jsxs("div",{className:`p-1 flex ${e==="row"?"flex-row-reverse":"flex-col"} items-center`,...a.dragHandleProps,children:[n.jsx(ye,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(R,{size:"small",disabled:t,className:`cursor-${t?"inherit":"grab"}`,children:n.jsx("svg",{focusable:"false",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",children:n.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})})}),!d&&!s&&n.jsxs(n.Fragment,{children:[n.jsx(ye,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(R,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(eo,{size:"small"})})}),n.jsx(ye,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(R,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(xn,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(jn,{trigger:n.jsx(R,{size:"small",children:n.jsx(Cr,{size:"small"})}),children:[n.jsxs(Be,{dense:!0,onClick:()=>c(i),children:[n.jsx(eo,{size:"small"}),"Remove"]}),n.jsxs(Be,{dense:!0,onClick:()=>l(i),children:[n.jsx(xn,{size:"small"}),"Copy"]})]})})]})}function b3(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function so(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function qo({name:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,small:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u=null,setFieldValue:A}){return n.jsx(It,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:_=>A(e,_)})}function Ke({icon:e,title:t,small:c,className:i,required:a}){return n.jsxs("span",{className:`inline-flex items-center my-0.5 ${c?"gap-1":"gap-2"} ${i??""}`,children:[e,n.jsx("span",{className:`font-medium text-${c?"base":"sm"} origin-top-left transform ${c?"translate-x-2 scale-75":""}`,children:(t??"")+(a?" *":"")})]})}function p3(e){const t=f.useRef(),[c,i]=f.useState(e.value),a=f.useDeferredValue(c);f.useEffect(()=>{i(e.value)},[e.value]),f.useEffect(()=>{!e.value&&!a||a!==e.value&&t.current&&e.onChange&&e.onChange(t.current)},[a,e.value,e.onChange]);const l=f.useCallback(s=>{t.current=s,i(s.target.value)},[]);return n.jsx(tn,{...e,onChange:l,value:c})}function w3({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(Dn,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(ye,{title:i,children:d}):d}function Se({error:e,showError:t,property:c,includeDescription:i=!0,disabled:a}){const l=c.description||c.longDescription;if(!(t&&e)&&(!i||!l))return null;if(t&&e)return n.jsx(Z,{variant:"caption",className:"ml-3.5 text-red-500",children:e});const s=typeof c.disabled=="object"?c.disabled.disabledMessage:void 0;return n.jsxs("div",{className:"flex ml-3.5 mt-1",children:[n.jsx(Z,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(ye,{title:c.longDescription,side:"bottom",children:n.jsx(R,{size:"small",className:"self-start",children:n.jsx(mc,{color:"disabled",size:"small"})})})]})}function pt({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const _=u.enumValues;Le({property:u,value:t,setValue:c});const h=f.useCallback(g=>{g.stopPropagation(),g.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:F("w-full"),label:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),endAdornment:u.clearable&&n.jsx(R,{onClick:h,children:n.jsx(dn,{})}),onValueChange:g=>{const y=g?u.dataType==="number"?parseFloat(g):g:null;return c(y)},renderValue:g=>n.jsx(Fe,{enumKey:g,enumValues:_,size:"medium"}),children:_&&_.map(g=>n.jsx(Re,{value:String(g.id),children:n.jsx(Fe,{enumKey:String(g.id),enumValues:_,size:"medium"})},g.id))}),n.jsx(Se,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function ca({children:e,error:t}){return n.jsx("div",{className:F("text-sm font-medium ml-3.5 mb-1",t?"text-red-500 dark:text-red-600":"text-gray-500 dark:text-gray-300"),children:e})}const wt=le.createContext({});function kt({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:u=!0,containerClassName:A,className:_,children:h,error:g}){const y=le.useRef(null),I=le.useRef(null),b=le.useRef(null);ko(b,()=>w(!1));const[p,w]=le.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=le.useCallback(B=>{Array.isArray(e)&&e.includes(B)?c?.(e.filter(D=>D!==B)):c?.([...e??[],B])},[e,c]),[m,v]=le.useState(""),[S,K]=le.useState(null),C=le.useCallback(B=>{const D=I.current;if(D){if((B.key==="Delete"||B.key==="Backspace")&&D.value===""){const N=[...e??[]];N.pop(),c?.(N)}B.key==="Escape"&&(D.blur(),w(!1),B.stopPropagation())}},[c,e]),P=le.useCallback(()=>{K(y.current?.getBoundingClientRect()??null),w(!0)},[]),E=S??y.current?.getBoundingClientRect(),T=window.innerHeight-(E?.top??0)-(E?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(ca,{error:g,children:a}):a,n.jsxs(po.Command,{onKeyDown:C,onClick:()=>{I.current?.focus(),P()},className:F("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:y,className:F("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Xe,l?nn:Ye,"relative flex items-center","p-4",g?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",g?"border border-red-500 dark:border-red-600":"",u?Ie:"",_),children:[n.jsxs("div",{className:F("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((B,D)=>s(B,D)),d&&d(e??[]),n.jsx(po.Command.Input,{ref:I,value:m,onValueChange:v,onFocus:P,className:"ml-2 bg-transparent outline-none flex-1 h-full w-full "})]}),n.jsx("div",{className:"px-2 h-full flex items-center",children:n.jsx(Co,{size:"small",className:F("transition ",p?"rotate-180":"")})})]}),n.jsx(Je.Root,{open:p,onOpenChange:w,children:n.jsx(Je.Portal,{children:n.jsx(wt.Provider,{value:{fieldValue:e,setInputValue:v,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(E?.top??0)+(E?.height??0),left:E?.left,width:E?.width,maxHeight:T},children:n.jsx(po.Command.Group,{className:"mt-2 text-gray-900 dark:text-white animate-in z-50 border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg flex flex-col outline-none w-full",children:h})})})})})]})]})}function mt({children:e,value:t,className:c}){const i=le.useContext(wt);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(po.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:F((a??[]).includes(t)?"bg-gray-200 dark:bg-gray-950":"","cursor-pointer","m-1","ring-offset-transparent","p-2 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-offset-2","aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900","cursor-pointer p-2 rounded aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900",c),children:e})}function vt({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,property:s,includeDescription:d,autoFocus:u}){const A=s.of;if(!A)throw Error("Using wrong component ArrayEnumSelect");if(Array.isArray(A))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(A.dataType!=="string"&&A.dataType!=="number")throw Error("Field misconfiguration: array field of type string or number");const _=yn(A.enumValues);if(!_)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Le({property:s,value:t,setValue:c});const h=!!t&&Array.isArray(t),g=f.useCallback((y,I)=>{const b=y!==void 0?To(_,y):void 0;return n.jsxs(Fe,{enumKey:y,enumValues:_,size:"medium",children:[b?.label??y,!I&&n.jsx("button",{className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onMouseDown:p=>{p.preventDefault(),p.stopPropagation()},onClick:p=>{p.preventDefault(),p.stopPropagation(),c(t.filter(w=>w!==y))},children:n.jsx(wr,{size:"smallest"})})]},y)},[_,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(kt,{value:h?t.map(y=>y.toString()):[],disabled:l,label:n.jsx(Ke,{icon:ve(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:f.useCallback(y=>g(y,!1),[g]),onMultiValueChange:y=>{let I;return A&&A?.dataType==="number"?I=y?y.map(b=>parseFloat(b)):[]:I=y,c(I)},children:_.map(y=>String(y.id)).map(y=>n.jsx(mt,{value:y,children:g(y,!0)},y))}),n.jsx(Se,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function ia({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:_}){const h=d.of;if(h.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const g=d.expanded===void 0?!0:d.expanded,[y,I]=f.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Le({property:d,value:t,setValue:A});const p=Ae(),w=f.useMemo(()=>h.path?p.getCollection(h.path):void 0,[h.path]);if(!w)throw Error(`Couldn't find the corresponding collection for the path: ${h.path}`);const k=f.useCallback(P=>{console.debug("onMultipleEntitiesSelected",P),A(P.map(E=>Cn(E)))},[A]),m=fo({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),v=f.useCallback(P=>{P.preventDefault(),m.open()},[m]),S=f.useCallback((P,E)=>{const T=t&&t.length>P?t[P]:void 0;return T?n.jsx("div",{onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:n.jsx(rn,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:v,reference:T,onHover:y})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,y,t]),K=n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),C=n.jsxs(n.Fragment,{children:[!w&&n.jsx(me,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(qo,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:S,disabled:l,setFieldValue:_,newDefaultEntry:d.of.defaultValue}),n.jsxs(ie,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:v,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(hn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:g,title:K,children:C}),s&&C,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}function aa({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:F(je,"relative m-4 border-box flex items-center justify-center",s==="medium"?"min-w-[220px] min-h-[220px] max-w-[220px]":"min-w-[118px] min-h-[118px] max-w-[118px]"),children:[!l&&n.jsx("div",{className:"absolute rounded-full -top-2 -right-2 z-10 bg-white dark:bg-gray-900",children:n.jsx(ye,{title:"Remove",children:n.jsx(R,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(eo,{size:"small"})})})}),c&&n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const k3="box-border relative pt-[2px] items-center border border-transparent min-h-[254px] outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",m3="border-dotted-gray",v3="hover:bg-field-hover dark:hover:bg-field-hover-dark",C3="pt-0 border-2 border-solid",K3="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",S3="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Ct({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:u,context:A,isSubmitting:_}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const h=Tn(),g=On(d)||!!d.disabled||_,{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=ki({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:g,onChange:c});Le({property:d,value:t,setValue:c});const v={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(E3,{value:y,name:e,disabled:g,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:v,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:g,property:d})]})}function B3({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:_,metadata:h,storagePathBuilder:g,onFileUploadComplete:y,size:I,name:b,helpText:p}){const w=An(),{getRootProps:k,getInputProps:m,isDragActive:v,isDragAccept:S,isDragReject:K}=ir.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(C=>({[C]:[]})).reduce((C,P)=>({...C,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(C,P)=>{for(const E of C)for(const T of E.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:F(Xe,t?nn:Ye,k3,a&&d.length?"":"flex",Ie,{[v3]:!v,[C3]:v,[S3]:K,[K3]:S,[m3]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:F("flex items-center p-1 no-scrollbar",a&&d.length?"overflow-auto":"",a&&d.length?"min-h-[180px]":"min-h-[250px]"),children:[n.jsx("input",{autoFocus:s,...m()}),d.map((C,P)=>{let E;return C.storagePathOrDownloadUrl?E=n.jsx(aa,{name:`storage_preview_${C.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:C.storagePathOrDownloadUrl,onRemove:_,size:C.size}):C.file&&(E=n.jsx(Ki,{entry:C,metadata:h,storagePath:g(C.file),onFileUploadComplete:y,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Pn.Draggable,{draggableId:`array_field_${b}_${C.id}`,index:P,children:(T,B)=>n.jsx("div",{tabIndex:-1,ref:T.innerRef,...T.draggableProps,...T.dragHandleProps,className:F(Ie,"rounded-md"),style:{...T.draggableProps.style},children:E})},`array_field_${b}_${C.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(Z,{align:"center",variant:"label",children:p})})]})}function E3({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:_,entity:h,storagePathBuilder:g}){if(l){const v=e;if(v.of){if(Array.isArray(v.of)||v.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const y=_?.metadata,I=l?"small":"medium",b=f.useCallback((v,S)=>{if(!l)return;const K=[...c],C=K[v];K.splice(v,1),K.splice(S,0,C),i(K);const P=K.filter(E=>!!E.storagePathOrDownloadUrl).map(E=>E.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(v=>{v.destination&&b(v.source.index,v.destination.index)},[b]),w=f.useCallback(v=>{if(l){const S=c.filter(K=>K.storagePathOrDownloadUrl!==v);a(S.filter(K=>!!K.storagePathOrDownloadUrl).map(K=>K.storagePathOrDownloadUrl)),i(S)}else a(null),i([])},[c,l,a]),k=l?"Drag 'n' drop some files here, or click to select files":"Drag 'n' drop a file here, or click to select one",m=l?e.of:e;return n.jsx(Pn.DragDropContext,{onDragEnd:p,children:n.jsx(Pn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(v,S,K)=>{const C=c[K.source.index];return n.jsx("div",{ref:v.innerRef,...v.draggableProps,...v.dragHandleProps,style:v.draggableProps.style,className:"rounded",children:n.jsx(aa,{name:`storage_preview_${C.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:h,value:C.storagePathOrDownloadUrl,onRemove:w,size:C.size})})},children:(v,S)=>n.jsx(B3,{storage:_,disabled:d,isDraggingOver:S.isDraggingOver,droppableProvided:v,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:h,onClear:w,metadata:y,storagePathBuilder:g,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function Hn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:u}){let A,_;d.dataType==="string"&&(A=d.multiline,_=d.url),Le({property:d,value:t,setValue:c});const h=f.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),g=b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?c(null):p!=null?c(p):c(null)}else c(b.target.value)},y=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(tn,{value:t,onChange:g,autoFocus:s,label:n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:y,disabled:l,endAdornment:d.clearable&&n.jsx(R,{onClick:h,children:n.jsx(dn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),_&&n.jsx(wo,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const la=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:_},h){return Le({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(Dn,{value:c,onValueChange:g=>i(g),error:l,label:n.jsx(Ke,{icon:ve(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Se,{includeDescription:_,showError:l,error:a,disabled:d,property:A})]})});function sa({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const _=t||null;return Le({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Yn,{value:_,onChange:h=>c(h),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Se,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}function Kt({propertyKey:e,value:t,error:c,showError:i,tableMode:a,property:l,includeDescription:s,context:d}){if(!d.entityId)throw new Error("ReadOnlyFieldBinding: Entity id is null");const u={id:d.entityId,values:d.values,path:d.path};return n.jsxs(n.Fragment,{children:[!a&&n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx("div",{className:F(je,"min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"),children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Se,{includeDescription:s,showError:i,error:c,property:l})]})}function da(e){return typeof e.property.path!="string"?n.jsx(Kt,{...e}):n.jsx(F3,{...e})}function F3({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:u,includeDescription:A,context:_}){if(!u.path)throw new Error("Property path is required for ReferenceFieldBinding");Le({property:u,value:e,setValue:t});const h=e&&e instanceof $e,g=Ae(),y=f.useMemo(()=>u.path?g.getCollection(u.path):void 0,[u.path]);if(!y)throw Error(`Couldn't find the corresponding collection for the path: ${u.path}`);const I=f.useCallback(w=>{t(w?Cn(w):null)},[t]),b=fo({multiselect:!1,path:u.path,collection:y,onSingleEntitySelected:I,selectedEntityIds:h?[e.id]:void 0,forceFilter:u.forceFilter}),p=f.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!y&&n.jsx(me,{error:"The specified collection does not exist. Check console"}),y&&n.jsxs(n.Fragment,{children:[e&&n.jsx(rn,{disabled:!u.path,previewProperties:u.previewProperties,size:"medium",onClick:l||a?void 0:p,reference:e}),!e&&n.jsx("div",{className:"justify-center text-left",children:n.jsxs(ie,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const Sn=f.memo(P3,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Ee(e.property)||e.property.fromBuilder,i=Ee(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Jo(t.property),!1});function P3({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const _=ee(),g=Jo(t,_.plugins)?Pe.Field:Pe.FastField;return n.jsx(g,{name:e,children:y=>{let I;const b=Me({propertyKey:e,propertyValue:y.field.value,propertyOrBuilder:t,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.propertyConfigs});if(b===null||ro(b))return n.jsx(n.Fragment,{});if(On(b))I=Kt;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Zo(b,_.propertyConfigs);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:_.propertyConfigs,propertyConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=Me({propertyOrBuilder:w.property,propertyValue:y.field.value,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.propertyConfigs}).Field}if(!I)return console.warn(`No field component found for property ${e}`),console.warn("Property:",t),n.jsx("div",{children:`Currently the field ${b.dataType} is not supported`});const p={propertyKey:e,property:b,includeDescription:i,underlyingValueHasChanged:a,context:c,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A};return n.jsx(D3,{Component:I,componentProps:p,fieldProps:y})}})}function D3({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:_},fieldProps:h}){const{plugins:g}=ee(),y=c.customProps,I=h.field.value,b=h.meta.initialValue,p=Pe.getIn(h.form.errors,t),w=Pe.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(E=>!!E).length),v=N3(A.path,A.collection,t,c,e,g)??e,S=h.form.isSubmitting,K=f.useCallback((E,T)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,E,T)},[]),C=f.useCallback((E,T,B)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(E,T,B)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:K,setFieldValue:C,error:p,touched:w,showError:k,isSubmitting:S,includeDescription:i??!0,property:c,disabled:_??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:u??!1,customProps:y,context:A};return n.jsxs(ae,{children:[n.jsx(v,{...P}),a&&!S&&n.jsx(Z,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Jo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Ee(e))return!0;const c=e,i=!!c.Field||"fromBuilder"in c&&c.fromBuilder;return c.dataType==="map"&&c.properties?i||Object.values(c.properties).some(a=>Jo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Jo(a,t)):i};function N3(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=Dt(i);if(A&&u.form?.fieldBuilder){const _={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},h=u.form?.fieldBuilderEnabled?.(_);(h===void 0||h)&&(d=u.form.fieldBuilder(_)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function ua({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:_,autoFocus:h,context:g}){const y=l.pickOnlySomeKeys||!1,I=(l.expanded===void 0?!0:l.expanded)||h;if(!l.properties)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);let b;y?t?b=Zc(l.properties,...Object.keys(t).filter(k=>k in l.properties)):b={}:b=l.properties;const p=n.jsx(n.Fragment,{children:n.jsx("div",{className:"py-1 flex flex-col space-y-2",children:Object.entries(b).filter(([k,m])=>!ro(m)).map(([k,m],v)=>{const S={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:_,context:g,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&v===0};return n.jsx("div",{children:n.jsx(Sn,{...S})},`map-${e}-${v}`)})})}),w=n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!u&&!d&&n.jsx(hn,{initiallyExpanded:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(u||d)&&p,n.jsx(Se,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function fa({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:_,context:h}){const g=(l.expanded===void 0?!0:l.expanded)||_;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const y=n.jsx(St,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{initiallyExpanded:g,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:y}),d&&y,n.jsx(Se,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function St({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[Bt(),{key:u,dataType:Et(e?.[u])??"string"}]));f.useEffect(()=>{const u=a.map(([y,{key:I}])=>I),A=Object.entries(e??{}).filter(([y,I])=>I!==void 0).map(([y])=>y),_=A.filter(y=>!u.includes(y)),h=u.filter(y=>!A.includes(y)),g=[...a];_.forEach(y=>{g.push([Bt(),{key:y,dataType:Et(e?.[y])??"string"}])}),h.forEach(y=>{const I=g.findIndex(([b,{key:p}])=>p===y);g.splice(I,1)}),l(g)},[e]);const s=f.useRef(e??{}),d=(u,A)=>{if(!u){console.warn("No key selected for data type update");return}l(a.map(_=>_[0]===u?[_[0],{key:_[1].key,dataType:A}]:_)),t({...e??{},[a.find(_=>_[0]===u)?.[1].key??""]:Tr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:_}],h)=>{const g=A?e?.[A]:"",y=I=>{if(l(a.map(p=>p[0]===u?[u,{key:I??"",dataType:p[1].dataType}]:p)),typeof e=="object"&&I in e)return;const b={...e??{}};typeof s.current=="object"&&A in s.current?b[A]=void 0:delete b[A],t({...b,[I??""]:g})};return n.jsx(T3,{rowId:u,fieldKey:A,value:e??{},onDeleteClick:()=>{const I={...e??{}};s.current&&A in s.current?I[A]=void 0:delete I[A],l(a.filter(b=>b[0]!==u)),t({...I})},onFieldKeyChange:y,setValue:t,entryValue:g,dataType:_,disabled:i,updateDataType:d},u)}),n.jsx(ie,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(sn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[Bt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function T3({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function _(g,y,I){return I==="string"||I==="number"?n.jsx(tn,{placeholder:"value",value:g,type:I==="number"?"number":"text",size:"small",disabled:A||!y,onChange:b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[y]:null}):p!=null?l({...c,[y]:p}):l({...c,[y]:null})}else l({...c,[y]:b.target.value})}},I):I==="date"?n.jsx(Yn,{value:g,size:"small",disabled:A||!y,onChange:b=>{l({...c,[y]:b})}}):I==="boolean"?n.jsx(Dn,{value:g,size:"small",position:"start",disabled:A||!y,onValueChange:b=>{l({...c,[y]:b})}}):I==="array"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(It,{value:g,newDefaultEntry:"",droppableId:e.toString(),addLabel:y?`Add to ${y}`:"Add",size:"small",disabled:A||!y,includeAddButton:!0,onValueChange:b=>{l({...c,[y]:b})},buildEntry:(b,p)=>n.jsx(M3,{index:b,id:p,value:g[b],disabled:A||!y,setValue:w=>{const k=[...g];k[b]=w,l({...c,[y]:k})}})})}):I==="map"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(St,{value:g,fieldName:y,setValue:b=>{l({...c,[y]:b})}})}):n.jsx(Z,{variant:"caption",children:`Data type ${I} not supported yet`})}function h(g){u(e,g)}return n.jsxs(n.Fragment,{children:[n.jsxs(Z,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(tn,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:g=>{i(g.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&_(s,t,d)}),n.jsxs(jn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(Ir,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>h("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>h("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>h("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>h("date"),children:"date"}),n.jsx(Be,{dense:!0,onClick:()=>h("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>h("array"),children:"array"})]}),n.jsx(R,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(eo,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&_(s,t,d)]})}function M3({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(Et(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(tn,{value:u,type:A==="number"?"number":"text",size:"small",onChange:_=>{if(A==="number"){const h=_.target.value?parseFloat(_.target.value):void 0;h&&isNaN(h)?i(null):h!=null?i(h):i(null)}else i(_.target.value)}}):A==="date"?n.jsx(Yn,{value:u,size:"small",onChange:_=>{i(_)}}):A==="boolean"?n.jsx(Dn,{value:u,size:"small",position:"start",onValueChange:_=>{i(_)}}):A==="array"?n.jsx(Z,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(St,{value:u,setValue:_=>{i(_)}})}):n.jsx(Z,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(Z,{component:"div",className:"font-mono flex min-h-12 flex-row gap-1 items-center",children:[n.jsx("div",{className:"flex-grow",children:a!=="map"&&d(c,a)}),n.jsxs(jn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(Ir,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function Bt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function Et(e){if(typeof e=="string"||e===null)return"string";if(typeof e=="number")return"number";if(typeof e=="boolean")return"boolean";if(Array.isArray(e))return"array";if(e instanceof Date)return"date";if(e instanceof $e)return"reference";if(e instanceof Eo)return"geopoint";if(typeof e=="object")return"map"}function Aa({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:_,context:h,disabled:g}){if(!u.of)throw Error("RepeatFieldBinding misconfiguration. Property `of` not set");if(!u.resolvedProperties||!Array.isArray(u.resolvedProperties))throw Error("RepeatFieldBinding - Internal error: Expected array in 'property.resolvedProperties'");const y=u.expanded===void 0?!0:u.expanded,I=u.of,[b,p]=f.useState();Le({property:u,value:t,setValue:l});const w=(v,S)=>{const K=u.resolvedProperties[v]??I,C={propertyKey:`${e}.${v}`,disabled:g,property:K,includeDescription:A,underlyingValueHasChanged:_,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:S===b};return n.jsx(Sn,{...C})},k=n.jsx(qo,{value:t,addLabel:u.name?"Add entry to "+u.name:"Add entry",name:e,setFieldValue:s,buildEntry:w,onInternalIdAdded:p,disabled:a||!!u.disabled,includeAddButton:!u.disabled,newDefaultEntry:u.of.defaultValue}),m=n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{initiallyExpanded:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:m,children:k}),d&&k,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function ya({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:_,context:h,disabled:g}){if(!u.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const y=u.expanded===void 0?!0:u.expanded;Le({property:u,value:t,setValue:l});const[I,b]=f.useState(),p=f.useCallback((v,S)=>n.jsx(O3,{name:`${e}.${v}`,index:v,value:t[v],typeField:u.oneOf.typeField??oo,valueField:u.oneOf.valueField??Fo,properties:u.oneOf.properties,autoFocus:S===I,context:h},`array_one_of_${v}`),[h,I,u.oneOf,e,t]),w=n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"}),k=Object.keys(u.oneOf.properties)[0],m=n.jsx(qo,{value:t,name:e,addLabel:u.name?"Add entry to "+u.name:"Add entry",buildEntry:p,onInternalIdAdded:b,disabled:a||!!u.disabled,includeAddButton:!u.disabled,setFieldValue:s,newDefaultEntry:{[u.oneOf.typeField??oo]:k,[u.oneOf.valueField??Fo]:Po(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:y,title:w,children:m}),d&&m,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function O3({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const u=c&&c[i],[A,_]=f.useState(u??void 0),h=Pe.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&_(u)},[u]);const g=A?l[A]:void 0,y=Object.entries(l).map(([k,m])=>({id:k,label:m.name??k})),I=`${e}.${i}`,b=`${e}.${a}`,p=g?{propertyKey:b,property:g,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const m=k?l[k]:void 0;_(k),h.setFieldTouched(I),h.setFieldValue(I,k),h.setFieldValue(b,m?Po(m):null)};return n.jsxs("div",{className:F(je,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Pe.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(xe,{className:"mb-2",placeholder:n.jsx(Z,{variant:"caption",className:"px-4 py-2 font-medium",children:"Type"}),size:"small",position:"item-aligned",value:k.field.value!==void 0&&k.field.value!==null?k.field.value:"",renderValue:m=>n.jsx(Fe,{enumKey:m,enumValues:y,size:"small"}),onValueChange:m=>{w(m)},children:y.map(m=>n.jsx(Re,{value:String(m.id),children:n.jsx(Fe,{enumKey:m.id,enumValues:y,size:"small"})},m.id))})})}),p&&n.jsx(Sn,{...p},`form_control_${e}_${A}`)]})}const L3=new Zt;try{mn.use(mn.Plugins.AutoResize,{min:100}),mn.unuse(mn.Plugins.FontUnderline),mn.unuse(mn.Plugins.Clear)}catch{}function _a({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:_,context:h}){const[g,y]=f.useState(t),I=f.useRef(t);vn("MarkdownFieldBinding",Q3);const b=f.useDeferredValue({internalValue:g,value:t});return f.useEffect(()=>{I.current=t,y(t)},[t]),f.useEffect(()=>{b.internalValue!==I.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(Z,{variant:"caption",className:"flex-grow",children:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(mn,{value:g??"",className:F(Xe,l?nn:Ye,"text-base"),readOnly:l,renderHTML:p=>L3.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{y(w??null)}}),n.jsx(Se,{includeDescription:_,showError:a,error:i,disabled:l,property:u})]})}const Q3=`
125
+ }`);const[A,g]=f.useState(i!==void 0?i:l),[h,_]=f.useState(A);return f.useEffect(()=>{A?setTimeout(()=>{_(!0)},220):_(!1)},[A]),f.useEffect(()=>{i!==void 0&&g(i)},[i]),n.jsx(n.Fragment,{children:n.jsxs(qn.Root,{className:F(!c&&fe+" border","rounded-md"),open:A,onOpenChange:y=>{a?.(y),g(y)},children:[n.jsxs(qn.Trigger,{className:F(Ie,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&fe,d&&Xe,s),children:[e,n.jsx(Co,{className:F("transition",A?"rotate-180":"")})]}),n.jsx(qn.Content,{className:F("CollapsibleContent"),style:{overflow:h?"visible":"hidden"},children:n.jsx("div",{className:u,children:t})})]})})}function _t({children:e,group:t}){const c=Mn();return n.jsx(hn,{invisible:!0,titleClassName:"font-medium text-sm text-gray-600 dark:text-gray-400",className:"py-4",initiallyExpanded:!(c?.collapsedGroups??[]).includes(t??"ungrouped"),onExpandedChange:i=>{if(c)if(i)c.setCollapsedGroups((c.collapsedGroups??[]).filter(a=>a!==(t??"ungrouped")));else{const a=(c.collapsedGroups??[]).concat(t??"ungrouped");c.setCollapsedGroups(a)}},title:n.jsx(Z,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function Ri({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=Mn(),u=Ro(c??e),A=pe.useNavigate(),g=ee(),h=(d?.favouritePaths??[]).includes(t);let _;if(g.plugins&&c){const y={path:t,collection:c,context:g};_=n.jsx(n.Fragment,{children:g.plugins.map((I,b)=>I.homePage?.CollectionActions?n.jsx(I.homePage.CollectionActions,{...y,extraProps:I.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(oc,{className:F("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(y=>y!==t)])},children:n.jsxs("div",{className:"flex flex-col items-start h-full",children:[n.jsxs("div",{className:"flex-grow w-full",children:[n.jsxs("div",{className:"h-10 flex items-center w-full justify-between text-gray-300 dark:text-gray-600",children:[u,n.jsxs("div",{className:"flex items-center gap-1",onClick:y=>{y.preventDefault(),y.stopPropagation()},children:[_,d&&n.jsx(R,{onClick:y=>{y.preventDefault(),y.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(Sr,{size:18,className:"text-secondary"}):n.jsx(Br,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(Z,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(Z,{variant:"body2",color:"secondary",component:"div",children:n.jsx(Ao,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(cc,{className:"text-primary"})})})]})})}function f3({entry:e}){const t=pe.useNavigate(),c=Mn();if(!c)return null;const i=c.favouritePaths.includes(e.path),a=l=>{l.preventDefault(),l.stopPropagation(),i?c.setFavouritePaths(c.favouritePaths.filter(s=>s!==e.path)):c.setFavouritePaths([...c.favouritePaths,e.path])};return n.jsx(Bo,{onClick:()=>t(e.url),icon:i?n.jsx(Sr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Br,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function A3({hidden:e}){const t=Ae(),c=Mn();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(wo,{in:i.length>0,children:n.jsx("div",{className:"flex flex-row flex-wrap gap-2 pb-2 min-h-[32px]",children:i.map(a=>n.jsx(f3,{entry:a},a.path))})})}const ht={};function y3(){const e=pe.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(ht[e.key]=t.current.scrollTop,i(t.current.scrollTop),l(t.current.scrollTop>c?"down":"up"))},[t,e.key,c]);return f.useEffect(()=>{const d=t.current;if(d)return d.addEventListener("scroll",s,{passive:!0}),()=>{d&&d.removeEventListener("scroll",s)}},[t,s,e]),f.useEffect(()=>{!t.current||!ht[e.key]||t.current.scrollTo({top:ht[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const zn=new ol.Search("url");zn.addIndex("name"),zn.addIndex("description"),zn.addIndex("group"),zn.addIndex("path");function ea({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ee(),i=Ae();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=y3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,g]=f.useState(null),h=A?d.filter(w=>A.includes(w.url)):d;f.useEffect(()=>{zn.addDocuments(d)},[d]);const _=f.useCallback(w=>{if(!w||w==="")g(null);else{const k=zn.search(w);g(k.map(m=>m.url))}},[]),y=[...u];(h.filter(w=>!w.group).length>0||h.length===0)&&y.push(void 0);let I,b,p;if(c.plugins){const w={context:c};p=n.jsx(n.Fragment,{children:c.plugins.filter(k=>k.homePage?.includeSection).map((k,m)=>{const v=k.homePage.includeSection(w);return n.jsx(_t,{group:v.title,children:v.children},`plugin_section_${k.name}`)})}),I=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(k=>k.homePage?.additionalChildrenStart).map((k,m)=>n.jsx("div",{children:k.homePage.additionalChildrenStart},`plugin_children_start_${m}`))}),b=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(k=>k.homePage?.additionalChildrenEnd).map((k,m)=>n.jsx("div",{children:k.homePage.additionalChildrenEnd},`plugin_children_start_${m}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(yr,{maxWidth:"6xl",children:[n.jsx("div",{className:"sticky py-4 transition-all duration-400 ease-in-out top-0 z-10",style:{top:s==="down"?-84:0},children:n.jsx(Ut,{onTextSearch:_,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(A3,{hidden:!!A}),e,I,y.map((w,k)=>{const m=[],v={group:w,context:c};c.plugins&&c.plugins.forEach(K=>{K.homePage?.AdditionalCards&&m.push(...Go(K.homePage?.AdditionalCards))});const S=h.filter(K=>K.group===w||!K.group&&w===void 0);return S.length===0&&m.length===0?null:n.jsx(_t,{group:w,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[S.map(K=>n.jsx("div",{className:"col-span-1",children:n.jsx(Ri,{...K,onClick:()=>{const C=K.type==="collection"?"home_navigate_to_collection":K.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(C,{path:K.path})}})},`nav_${K.group}_${K.name}`)),m&&m.map((K,C)=>n.jsx("div",{children:n.jsx(K,{...v})},`nav_${w}_add_${C}`))]})},`plugin_section_${w}`)}),p,b,t]})})}function g3({propertyConfig:e}){const t="h-8 w-8 p-1 rounded-full shadow text-white";return n.jsx("div",{className:t,style:{background:e?.color??"#888"},children:Ot(e,"medium")})}function _3({children:e,title:t,path:c}){const i=zt();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function na(){return n.jsx("div",{className:"flex w-full h-full",children:n.jsxs("div",{className:"m-auto flex items-center flex-col",children:[n.jsx(Z,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(Z,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(ie,{variant:"text",component:pe.Link,to:"/",children:"Back to home"})]})})}function h3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(nr,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(or,{children:[n.jsx(Z,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(En,{children:[n.jsx(ie,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(Ta,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function oa({width:e,height:t,className:c,style:i}){return n.jsxs("svg",{width:e??"100%",height:t??"100%",viewBox:"0 0 599 599",version:"1.1",style:i,className:c,xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("defs",{children:[n.jsxs("radialGradient",{cx:"28.6213569%",cy:"43.1133328%",fx:"28.6213569%",fy:"43.1133328%",r:"71.5003456%",gradientTransform:"translate(0.286214,0.431133),rotate(3.343450),scale(1.000000,0.996175),translate(-0.286214,-0.431133)",id:"radialGradient-1",children:[n.jsx("stop",{stopColor:"#FF5B79",offset:"0%"}),n.jsx("stop",{stopColor:"#FA5574",offset:"28.0930803%"}),n.jsx("stop",{stopColor:"#EC4C51",offset:"44.7242531%"}),n.jsx("stop",{stopColor:"#9543C1",offset:"71.4578165%"}),n.jsx("stop",{stopColor:"#3857B3",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.6205516%",cy:"47.2473036%",fx:"53.6205516%",fy:"47.2473036%",r:"50.8229649%",gradientTransform:"translate(0.536206,0.472473),rotate(90.000000),scale(1.000000,1.206631),translate(-0.536206,-0.472473)",id:"radialGradient-2",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"75.3503173%"}),n.jsx("stop",{stopColor:"#0D060B",stopOpacity:"0.437431709",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.8605015%",cy:"48.1990423%",fx:"53.8605015%",fy:"48.1990423%",r:"59.9151549%",gradientTransform:"translate(0.538605,0.481990),rotate(180.000000),scale(1.000000,0.925027),translate(-0.538605,-0.481990)",id:"radialGradient-3",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"84.0867343%"}),n.jsx("stop",{stopColor:"#FF0000",stopOpacity:"0.567324765",offset:"100%"})]})]}),n.jsx("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"firecms_logo",children:[n.jsx("circle",{fill:"url(#radialGradient-1)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-2)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-3)",cx:"299.5",cy:"299.5",r:"299.5"})]})})]})}const ra=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const g=Ae(),h=un(),{mode:_,toggleMode:y}=Gt(),I=He(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(fr,{src:b.photoURL});else if(b===void 0||h.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Oe,{className:"w-10 h-10 rounded-full"})});else{const w=b?.displayName?b.displayName[0].toUpperCase():b?.email?b.email[0].toUpperCase():"A";p=n.jsx(fr,{children:w})}return n.jsx("div",{style:u,className:F("pr-2",{"ml-[17rem]":a&&I,"ml-16":s&&!(a&&I)&&!i,"h-16":!0,"z-10":I,"transition-all":!0,"ease-in":!0,"duration-75":!0,"w-full":!s,"w-[calc(100%-64px)]":s&&!(a&&I),"w-[calc(100%-17rem)]":s&&a&&I,"duration-150":a&&I,fixed:!0},d),children:n.jsxs("div",{className:"flex flex-row gap-2 px-4 h-full items-center",children:[i,g&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(pe.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:g?.basePath??"/",children:n.jsx(Z,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(ae,{children:c}),n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:y,size:"large",children:_==="dark"?n.jsx(dc,{}):n.jsx(vc,{})}),n.jsxs(jn,{trigger:p,children:[l,!l&&n.jsxs(Be,{onClick:h.signOut,children:[n.jsx(Bc,{}),"Log Out"]})]})]})})},I3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[Vr(t)+c]:so()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function It({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:A}){const g=c&&Array.isArray(c)&&c.length>0,h=f.useRef(I3(c)),[_,y]=f.useState(g?Object.values(h.current):[]);f.useEffect(()=>{if(g&&c&&c.length!==_.length){const k=c.map((m,v)=>{const S=Vr(m)+v;if(S in h.current)return h.current[S];{const K=so();return h.current[S]=K,K}});y(k)}},[g,_.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=so(),v=[..._,m];s&&s(m),y(v),A([...c??[],u])},b=k=>{const m=[..._];m.splice(k,1),y(m),A(c.filter((v,S)=>S!==k))},p=k=>{const m=so(),v=c[k],S=[..._.splice(0,k+1),m,..._.splice(k+1,_.length-k-1)];s&&s(m),y(S),A([...c.slice(0,k+1),v,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,v=k.destination.index,S=[..._],K=S[m];S[m]=S[v],S[v]=K,y(S),A(b3(c,m,v))};return n.jsx(Pn.DragDropContext,{onDragEnd:w,children:n.jsx(Pn.Droppable,{droppableId:e,renderClone:(k,m,v)=>{const S=v.source.index,K=_[S];return n.jsx(bt,{provided:k,internalId:K,index:S,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:m.isDragging})},children:(k,m)=>n.jsxs("div",{...k.droppableProps,ref:k.innerRef,children:[g&&_.map((v,S)=>n.jsx(Pn.Draggable,{draggableId:`array_field_${v}`,isDragDisabled:i,index:S,children:(K,C)=>n.jsx(bt,{provided:K,internalId:v,index:S,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:C.isDragging})},`array_field_${v}`)),k.placeholder,d&&n.jsx("div",{className:"py-4 justify-center text-left",children:n.jsx(ie,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(sn,{}),onClick:I,children:t??"Add"})})]})})})}function bt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,g]=ar(),h=i!=="small"&&g.height===0,_=i!=="small"&&g.height<100,[y,I]=f.useState(!1),b=f.useCallback(()=>I(!0),[]),p=f.useCallback(()=>I(!1),[]);return n.jsx("div",{onMouseEnter:b,onMouseMove:b,onMouseLeave:p,ref:e.innerRef,...e.draggableProps,style:e.draggableProps.style,className:`${u||y?Ye:""} mb-1 rounded-md opacity-100`,children:n.jsxs("div",{className:"flex items-start",children:[n.jsx("div",{ref:A,className:"flex-grow w-[calc(100%-48px)] text-text-primary dark:text-text-primary-dark",children:l(t,c)}),n.jsx(ta,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:_,copy:d})]})})}function ta({direction:e,disabled:t,remove:c,index:i,provided:a,copy:l,contentOverflow:s,measuring:d}){return n.jsxs("div",{className:`p-1 flex ${e==="row"?"flex-row-reverse":"flex-col"} items-center`,...a.dragHandleProps,children:[n.jsx(ye,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(R,{size:"small",disabled:t,className:`cursor-${t?"inherit":"grab"}`,children:n.jsx("svg",{focusable:"false",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",children:n.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})})}),!d&&!s&&n.jsxs(n.Fragment,{children:[n.jsx(ye,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(R,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(eo,{size:"small"})})}),n.jsx(ye,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(R,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(xn,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(jn,{trigger:n.jsx(R,{size:"small",children:n.jsx(Cr,{size:"small"})}),children:[n.jsxs(Be,{dense:!0,onClick:()=>c(i),children:[n.jsx(eo,{size:"small"}),"Remove"]}),n.jsxs(Be,{dense:!0,onClick:()=>l(i),children:[n.jsx(xn,{size:"small"}),"Copy"]})]})})]})}function b3(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function so(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function qo({name:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,small:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u=null,setFieldValue:A}){return n.jsx(It,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:g=>A(e,g)})}function Ke({icon:e,title:t,small:c,className:i,required:a}){return n.jsxs("span",{className:`inline-flex items-center my-0.5 ${c?"gap-1":"gap-2"} ${i??""}`,children:[e,n.jsx("span",{className:`font-medium text-${c?"base":"sm"} origin-top-left transform ${c?"translate-x-2 scale-75":""}`,children:(t??"")+(a?" *":"")})]})}function p3(e){const t=f.useRef(),[c,i]=f.useState(e.value),a=f.useDeferredValue(c);f.useEffect(()=>{i(e.value)},[e.value]),f.useEffect(()=>{!e.value&&!a||a!==e.value&&t.current&&e.onChange&&e.onChange(t.current)},[a,e.value,e.onChange]);const l=f.useCallback(s=>{t.current=s,i(s.target.value)},[]);return n.jsx(tn,{...e,onChange:l,value:c})}function w3({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(Dn,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(ye,{title:i,children:d}):d}function Se({error:e,showError:t,property:c,includeDescription:i=!0,disabled:a}){const l=c.description||c.longDescription;if(!(t&&e)&&(!i||!l))return null;if(t&&e)return n.jsx(Z,{variant:"caption",className:"ml-3.5 text-red-500",children:e});const s=typeof c.disabled=="object"?c.disabled.disabledMessage:void 0;return n.jsxs("div",{className:"flex ml-3.5 mt-1",children:[n.jsx(Z,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(ye,{title:c.longDescription,side:"bottom",children:n.jsx(R,{size:"small",className:"self-start",children:n.jsx(mc,{color:"disabled",size:"small"})})})]})}function pt({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const g=u.enumValues;Le({property:u,value:t,setValue:c});const h=f.useCallback(_=>{_.stopPropagation(),_.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:F("w-full"),label:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),endAdornment:u.clearable&&n.jsx(R,{onClick:h,children:n.jsx(dn,{})}),onValueChange:_=>{const y=_?u.dataType==="number"?parseFloat(_):_:null;return c(y)},renderValue:_=>n.jsx(Fe,{enumKey:_,enumValues:g,size:"medium"}),children:g&&g.map(_=>n.jsx(Re,{value:String(_.id),children:n.jsx(Fe,{enumKey:String(_.id),enumValues:g,size:"medium"})},_.id))}),n.jsx(Se,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function ca({children:e,error:t}){return n.jsx("div",{className:F("text-sm font-medium ml-3.5 mb-1",t?"text-red-500 dark:text-red-600":"text-gray-500 dark:text-gray-300"),children:e})}const wt=le.createContext({});function kt({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:u=!0,containerClassName:A,className:g,children:h,error:_}){const y=le.useRef(null),I=le.useRef(null),b=le.useRef(null);ko(b,()=>w(!1));const[p,w]=le.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=le.useCallback(B=>{Array.isArray(e)&&e.includes(B)?c?.(e.filter(D=>D!==B)):c?.([...e??[],B])},[e,c]),[m,v]=le.useState(""),[S,K]=le.useState(null),C=le.useCallback(B=>{const D=I.current;if(D){if((B.key==="Delete"||B.key==="Backspace")&&D.value===""){const N=[...e??[]];N.pop(),c?.(N)}B.key==="Escape"&&(D.blur(),w(!1),B.stopPropagation())}},[c,e]),P=le.useCallback(()=>{K(y.current?.getBoundingClientRect()??null),w(!0)},[]),E=S??y.current?.getBoundingClientRect(),T=window.innerHeight-(E?.top??0)-(E?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(ca,{error:_,children:a}):a,n.jsxs(po.Command,{onKeyDown:C,onClick:()=>{I.current?.focus(),P()},className:F("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:y,className:F("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Xe,l?nn:Ye,"relative flex items-center","p-4",_?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",_?"border border-red-500 dark:border-red-600":"",u?Ie:"",g),children:[n.jsxs("div",{className:F("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((B,D)=>s(B,D)),d&&d(e??[]),n.jsx(po.Command.Input,{ref:I,value:m,onValueChange:v,onFocus:P,className:"ml-2 bg-transparent outline-none flex-1 h-full w-full "})]}),n.jsx("div",{className:"px-2 h-full flex items-center",children:n.jsx(Co,{size:"small",className:F("transition ",p?"rotate-180":"")})})]}),n.jsx(Je.Root,{open:p,onOpenChange:w,children:n.jsx(Je.Portal,{children:n.jsx(wt.Provider,{value:{fieldValue:e,setInputValue:v,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(E?.top??0)+(E?.height??0),left:E?.left,width:E?.width,maxHeight:T},children:n.jsx(po.Command.Group,{className:"mt-2 text-gray-900 dark:text-white animate-in z-50 border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg flex flex-col outline-none w-full",children:h})})})})})]})]})}function mt({children:e,value:t,className:c}){const i=le.useContext(wt);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(po.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:F((a??[]).includes(t)?"bg-gray-200 dark:bg-gray-950":"","cursor-pointer","m-1","ring-offset-transparent","p-2 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-offset-2","aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900","cursor-pointer p-2 rounded aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900",c),children:e})}function vt({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,property:s,includeDescription:d,autoFocus:u}){const A=s.of;if(!A)throw Error("Using wrong component ArrayEnumSelect");if(Array.isArray(A))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(A.dataType!=="string"&&A.dataType!=="number")throw Error("Field misconfiguration: array field of type string or number");const g=yn(A.enumValues);if(!g)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Le({property:s,value:t,setValue:c});const h=!!t&&Array.isArray(t),_=f.useCallback((y,I)=>{const b=y!==void 0?To(g,y):void 0;return n.jsxs(Fe,{enumKey:y,enumValues:g,size:"medium",children:[b?.label??y,!I&&n.jsx("button",{className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onMouseDown:p=>{p.preventDefault(),p.stopPropagation()},onClick:p=>{p.preventDefault(),p.stopPropagation(),c(t.filter(w=>w!==y))},children:n.jsx(wr,{size:"smallest"})})]},y)},[g,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(kt,{value:h?t.map(y=>y.toString()):[],disabled:l,label:n.jsx(Ke,{icon:ve(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:f.useCallback(y=>_(y,!1),[_]),onMultiValueChange:y=>{let I;return A&&A?.dataType==="number"?I=y?y.map(b=>parseFloat(b)):[]:I=y,c(I)},children:g.map(y=>String(y.id)).map(y=>n.jsx(mt,{value:y,children:_(y,!0)},y))}),n.jsx(Se,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function ia({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:g}){const h=d.of;if(h.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const _=d.expanded===void 0?!0:d.expanded,[y,I]=f.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Le({property:d,value:t,setValue:A});const p=Ae(),w=f.useMemo(()=>h.path?p.getCollection(h.path):void 0,[h.path]);if(!w)throw Error(`Couldn't find the corresponding collection for the path: ${h.path}`);const k=f.useCallback(P=>{console.debug("onMultipleEntitiesSelected",P),A(P.map(E=>Cn(E)))},[A]),m=fo({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),v=f.useCallback(P=>{P.preventDefault(),m.open()},[m]),S=f.useCallback((P,E)=>{const T=t&&t.length>P?t[P]:void 0;return T?n.jsx("div",{onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:n.jsx(rn,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:v,reference:T,onHover:y})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,y,t]),K=n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),C=n.jsxs(n.Fragment,{children:[!w&&n.jsx(me,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(qo,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:S,disabled:l,setFieldValue:g,newDefaultEntry:d.of.defaultValue}),n.jsxs(ie,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:v,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(hn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:_,title:K,children:C}),s&&C,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}function aa({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:F(je,"relative m-4 border-box flex items-center justify-center",s==="medium"?"min-w-[220px] min-h-[220px] max-w-[220px]":"min-w-[118px] min-h-[118px] max-w-[118px]"),children:[!l&&n.jsx("div",{className:"absolute rounded-full -top-2 -right-2 z-10 bg-white dark:bg-gray-900",children:n.jsx(ye,{title:"Remove",children:n.jsx(R,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(eo,{size:"small"})})})}),c&&n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const k3="box-border relative pt-[2px] items-center border border-transparent min-h-[254px] outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",m3="border-dotted-gray",v3="hover:bg-field-hover dark:hover:bg-field-hover-dark",C3="pt-0 border-2 border-solid",K3="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",S3="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Ct({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:u,context:A,isSubmitting:g}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const h=Tn(),_=On(d)||!!d.disabled||g,{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=ki({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:_,onChange:c});Le({property:d,value:t,setValue:c});const v={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(E3,{value:y,name:e,disabled:_,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:v,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:_,property:d})]})}function B3({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:g,metadata:h,storagePathBuilder:_,onFileUploadComplete:y,size:I,name:b,helpText:p}){const w=An(),{getRootProps:k,getInputProps:m,isDragActive:v,isDragAccept:S,isDragReject:K}=ir.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(C=>({[C]:[]})).reduce((C,P)=>({...C,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(C,P)=>{for(const E of C)for(const T of E.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:F(Xe,t?nn:Ye,k3,a&&d.length?"":"flex",Ie,{[v3]:!v,[C3]:v,[S3]:K,[K3]:S,[m3]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:F("flex items-center p-1 no-scrollbar",a&&d.length?"overflow-auto":"",a&&d.length?"min-h-[180px]":"min-h-[250px]"),children:[n.jsx("input",{autoFocus:s,...m()}),d.map((C,P)=>{let E;return C.storagePathOrDownloadUrl?E=n.jsx(aa,{name:`storage_preview_${C.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:C.storagePathOrDownloadUrl,onRemove:g,size:C.size}):C.file&&(E=n.jsx(Ki,{entry:C,metadata:h,storagePath:_(C.file),onFileUploadComplete:y,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Pn.Draggable,{draggableId:`array_field_${b}_${C.id}`,index:P,children:(T,B)=>n.jsx("div",{tabIndex:-1,ref:T.innerRef,...T.draggableProps,...T.dragHandleProps,className:F(Ie,"rounded-md"),style:{...T.draggableProps.style},children:E})},`array_field_${b}_${C.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(Z,{align:"center",variant:"label",children:p})})]})}function E3({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:g,entity:h,storagePathBuilder:_}){if(l){const v=e;if(v.of){if(Array.isArray(v.of)||v.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const y=g?.metadata,I=l?"small":"medium",b=f.useCallback((v,S)=>{if(!l)return;const K=[...c],C=K[v];K.splice(v,1),K.splice(S,0,C),i(K);const P=K.filter(E=>!!E.storagePathOrDownloadUrl).map(E=>E.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(v=>{v.destination&&b(v.source.index,v.destination.index)},[b]),w=f.useCallback(v=>{if(l){const S=c.filter(K=>K.storagePathOrDownloadUrl!==v);a(S.filter(K=>!!K.storagePathOrDownloadUrl).map(K=>K.storagePathOrDownloadUrl)),i(S)}else a(null),i([])},[c,l,a]),k=l?"Drag 'n' drop some files here, or click to select files":"Drag 'n' drop a file here, or click to select one",m=l?e.of:e;return n.jsx(Pn.DragDropContext,{onDragEnd:p,children:n.jsx(Pn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(v,S,K)=>{const C=c[K.source.index];return n.jsx("div",{ref:v.innerRef,...v.draggableProps,...v.dragHandleProps,style:v.draggableProps.style,className:"rounded",children:n.jsx(aa,{name:`storage_preview_${C.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:h,value:C.storagePathOrDownloadUrl,onRemove:w,size:C.size})})},children:(v,S)=>n.jsx(B3,{storage:g,disabled:d,isDraggingOver:S.isDraggingOver,droppableProvided:v,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:h,onClear:w,metadata:y,storagePathBuilder:_,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function Hn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:u}){let A,g;d.dataType==="string"&&(A=d.multiline,g=d.url),Le({property:d,value:t,setValue:c});const h=f.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),_=b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?c(null):p!=null?c(p):c(null)}else c(b.target.value)},y=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(tn,{value:t,onChange:_,autoFocus:s,label:n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:y,disabled:l,endAdornment:d.clearable&&n.jsx(R,{onClick:h,children:n.jsx(dn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),g&&n.jsx(wo,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const la=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:g},h){return Le({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(Dn,{value:c,onValueChange:_=>i(_),error:l,label:n.jsx(Ke,{icon:ve(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Se,{includeDescription:g,showError:l,error:a,disabled:d,property:A})]})});function sa({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const g=t||null;return Le({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Yn,{value:g,onChange:h=>c(h),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Se,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}function Kt({propertyKey:e,value:t,error:c,showError:i,tableMode:a,property:l,includeDescription:s,context:d}){if(!d.entityId)throw new Error("ReadOnlyFieldBinding: Entity id is null");const u={id:d.entityId,values:d.values,path:d.path};return n.jsxs(n.Fragment,{children:[!a&&n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx("div",{className:F(je,"min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"),children:n.jsx(ae,{children:n.jsx(Ce,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Se,{includeDescription:s,showError:i,error:c,property:l})]})}function da(e){return typeof e.property.path!="string"?n.jsx(Kt,{...e}):n.jsx(F3,{...e})}function F3({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:u,includeDescription:A,context:g}){if(!u.path)throw new Error("Property path is required for ReferenceFieldBinding");Le({property:u,value:e,setValue:t});const h=e&&e instanceof $e,_=Ae(),y=f.useMemo(()=>u.path?_.getCollection(u.path):void 0,[u.path]);if(!y)throw Error(`Couldn't find the corresponding collection for the path: ${u.path}`);const I=f.useCallback(w=>{t(w?Cn(w):null)},[t]),b=fo({multiselect:!1,path:u.path,collection:y,onSingleEntitySelected:I,selectedEntityIds:h?[e.id]:void 0,forceFilter:u.forceFilter}),p=f.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!y&&n.jsx(me,{error:"The specified collection does not exist. Check console"}),y&&n.jsxs(n.Fragment,{children:[e&&n.jsx(rn,{disabled:!u.path,previewProperties:u.previewProperties,size:"medium",onClick:l||a?void 0:p,reference:e}),!e&&n.jsx("div",{className:"justify-center text-left",children:n.jsxs(ie,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const Sn=f.memo(P3,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Ee(e.property)||e.property.fromBuilder,i=Ee(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Jo(t.property),!1});function P3({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const g=ee(),_=Jo(t,g.plugins)?Pe.Field:Pe.FastField;return n.jsx(_,{name:e,children:y=>{let I;const b=Me({propertyKey:e,propertyValue:y.field.value,propertyOrBuilder:t,values:y.form.values,path:c.path,entityId:c.entityId,fields:g.propertyConfigs});if(b===null||ro(b))return n.jsx(n.Fragment,{});if(On(b))I=Kt;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Zo(b,g.propertyConfigs);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:g.propertyConfigs,propertyConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=Me({propertyOrBuilder:w.property,propertyValue:y.field.value,values:y.form.values,path:c.path,entityId:c.entityId,fields:g.propertyConfigs}).Field}if(!I)return console.warn(`No field component found for property ${e}`),console.warn("Property:",t),n.jsx("div",{children:`Currently the field ${b.dataType} is not supported`});const p={propertyKey:e,property:b,includeDescription:i,underlyingValueHasChanged:a,context:c,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A};return n.jsx(D3,{Component:I,componentProps:p,fieldProps:y})}})}function D3({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:g},fieldProps:h}){const{plugins:_}=ee(),y=c.customProps,I=h.field.value,b=h.meta.initialValue,p=Pe.getIn(h.form.errors,t),w=Pe.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(E=>!!E).length),v=N3(A.path,A.collection,t,c,e,_)??e,S=h.form.isSubmitting,K=f.useCallback((E,T)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,E,T)},[]),C=f.useCallback((E,T,B)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(E,T,B)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:K,setFieldValue:C,error:p,touched:w,showError:k,isSubmitting:S,includeDescription:i??!0,property:c,disabled:g??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:u??!1,customProps:y,context:A};return n.jsxs(ae,{children:[n.jsx(v,{...P}),a&&!S&&n.jsx(Z,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Jo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Ee(e))return!0;const c=e,i=!!c.Field||"fromBuilder"in c&&c.fromBuilder;return c.dataType==="map"&&c.properties?i||Object.values(c.properties).some(a=>Jo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Jo(a,t)):i};function N3(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=Dt(i);if(A&&u.form?.fieldBuilder){const g={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},h=u.form?.fieldBuilderEnabled?.(g);(h===void 0||h)&&(d=u.form.fieldBuilder(g)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function ua({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:g,autoFocus:h,context:_}){const y=l.pickOnlySomeKeys||!1,I=(l.expanded===void 0?!0:l.expanded)||h;if(!l.properties)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);let b;y?t?b=Zc(l.properties,...Object.keys(t).filter(k=>k in l.properties)):b={}:b=l.properties;const p=n.jsx(n.Fragment,{children:n.jsx("div",{className:"py-1 flex flex-col space-y-2",children:Object.entries(b).filter(([k,m])=>!ro(m)).map(([k,m],v)=>{const S={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:g,context:_,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&v===0};return n.jsx("div",{children:n.jsx(Sn,{...S})},`map-${e}-${v}`)})})}),w=n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!u&&!d&&n.jsx(hn,{initiallyExpanded:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(u||d)&&p,n.jsx(Se,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function fa({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:g,context:h}){const _=(l.expanded===void 0?!0:l.expanded)||g;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const y=n.jsx(St,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{initiallyExpanded:_,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:y}),d&&y,n.jsx(Se,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function St({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[Bt(),{key:u,dataType:Et(e?.[u])??"string"}]));f.useEffect(()=>{const u=a.map(([y,{key:I}])=>I),A=Object.entries(e??{}).filter(([y,I])=>I!==void 0).map(([y])=>y),g=A.filter(y=>!u.includes(y)),h=u.filter(y=>!A.includes(y)),_=[...a];g.forEach(y=>{_.push([Bt(),{key:y,dataType:Et(e?.[y])??"string"}])}),h.forEach(y=>{const I=_.findIndex(([b,{key:p}])=>p===y);_.splice(I,1)}),l(_)},[e]);const s=f.useRef(e??{}),d=(u,A)=>{if(!u){console.warn("No key selected for data type update");return}l(a.map(g=>g[0]===u?[g[0],{key:g[1].key,dataType:A}]:g)),t({...e??{},[a.find(g=>g[0]===u)?.[1].key??""]:Tr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:g}],h)=>{const _=A?e?.[A]:"",y=I=>{if(l(a.map(p=>p[0]===u?[u,{key:I??"",dataType:p[1].dataType}]:p)),typeof e=="object"&&I in e)return;const b={...e??{}};typeof s.current=="object"&&A in s.current?b[A]=void 0:delete b[A],t({...b,[I??""]:_})};return n.jsx(T3,{rowId:u,fieldKey:A,value:e??{},onDeleteClick:()=>{const I={...e??{}};s.current&&A in s.current?I[A]=void 0:delete I[A],l(a.filter(b=>b[0]!==u)),t({...I})},onFieldKeyChange:y,setValue:t,entryValue:_,dataType:g,disabled:i,updateDataType:d},u)}),n.jsx(ie,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(sn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[Bt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function T3({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function g(_,y,I){return I==="string"||I==="number"?n.jsx(tn,{placeholder:"value",value:_,type:I==="number"?"number":"text",size:"small",disabled:A||!y,onChange:b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[y]:null}):p!=null?l({...c,[y]:p}):l({...c,[y]:null})}else l({...c,[y]:b.target.value})}},I):I==="date"?n.jsx(Yn,{value:_,size:"small",disabled:A||!y,onChange:b=>{l({...c,[y]:b})}}):I==="boolean"?n.jsx(Dn,{value:_,size:"small",position:"start",disabled:A||!y,onValueChange:b=>{l({...c,[y]:b})}}):I==="array"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(It,{value:_,newDefaultEntry:"",droppableId:e.toString(),addLabel:y?`Add to ${y}`:"Add",size:"small",disabled:A||!y,includeAddButton:!0,onValueChange:b=>{l({...c,[y]:b})},buildEntry:(b,p)=>n.jsx(M3,{index:b,id:p,value:_[b],disabled:A||!y,setValue:w=>{const k=[..._];k[b]=w,l({...c,[y]:k})}})})}):I==="map"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(St,{value:_,fieldName:y,setValue:b=>{l({...c,[y]:b})}})}):n.jsx(Z,{variant:"caption",children:`Data type ${I} not supported yet`})}function h(_){u(e,_)}return n.jsxs(n.Fragment,{children:[n.jsxs(Z,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(tn,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:_=>{i(_.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&g(s,t,d)}),n.jsxs(jn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(Ir,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>h("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>h("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>h("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>h("date"),children:"date"}),n.jsx(Be,{dense:!0,onClick:()=>h("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>h("array"),children:"array"})]}),n.jsx(R,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(eo,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&g(s,t,d)]})}function M3({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(Et(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(tn,{value:u,type:A==="number"?"number":"text",size:"small",onChange:g=>{if(A==="number"){const h=g.target.value?parseFloat(g.target.value):void 0;h&&isNaN(h)?i(null):h!=null?i(h):i(null)}else i(g.target.value)}}):A==="date"?n.jsx(Yn,{value:u,size:"small",onChange:g=>{i(g)}}):A==="boolean"?n.jsx(Dn,{value:u,size:"small",position:"start",onValueChange:g=>{i(g)}}):A==="array"?n.jsx(Z,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:F(fe,"ml-2 pl-2 border-l border-solid"),children:n.jsx(St,{value:u,setValue:g=>{i(g)}})}):n.jsx(Z,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(Z,{component:"div",className:"font-mono flex min-h-12 flex-row gap-1 items-center",children:[n.jsx("div",{className:"flex-grow",children:a!=="map"&&d(c,a)}),n.jsxs(jn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(Ir,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function Bt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function Et(e){if(typeof e=="string"||e===null)return"string";if(typeof e=="number")return"number";if(typeof e=="boolean")return"boolean";if(Array.isArray(e))return"array";if(e instanceof Date)return"date";if(e instanceof $e)return"reference";if(e instanceof Eo)return"geopoint";if(typeof e=="object")return"map"}function Aa({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:g,context:h,disabled:_}){if(!u.of)throw Error("RepeatFieldBinding misconfiguration. Property `of` not set");if(!u.resolvedProperties||!Array.isArray(u.resolvedProperties))throw Error("RepeatFieldBinding - Internal error: Expected array in 'property.resolvedProperties'");const y=u.expanded===void 0?!0:u.expanded,I=u.of,[b,p]=f.useState();Le({property:u,value:t,setValue:l});const w=(v,S)=>{const K=u.resolvedProperties[v]??I,C={propertyKey:`${e}.${v}`,disabled:_,property:K,includeDescription:A,underlyingValueHasChanged:g,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:S===b};return n.jsx(Sn,{...C})},k=n.jsx(qo,{value:t,addLabel:u.name?"Add entry to "+u.name:"Add entry",name:e,setFieldValue:s,buildEntry:w,onInternalIdAdded:p,disabled:a||!!u.disabled,includeAddButton:!u.disabled,newDefaultEntry:u.of.defaultValue}),m=n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{initiallyExpanded:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:m,children:k}),d&&k,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:_,property:u})]})}function ya({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:g,context:h,disabled:_}){if(!u.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const y=u.expanded===void 0?!0:u.expanded;Le({property:u,value:t,setValue:l});const[I,b]=f.useState(),p=f.useCallback((v,S)=>n.jsx(O3,{name:`${e}.${v}`,index:v,value:t[v],typeField:u.oneOf.typeField??oo,valueField:u.oneOf.valueField??Fo,properties:u.oneOf.properties,autoFocus:S===I,context:h},`array_one_of_${v}`),[h,I,u.oneOf,e,t]),w=n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"}),k=Object.keys(u.oneOf.properties)[0],m=n.jsx(qo,{value:t,name:e,addLabel:u.name?"Add entry to "+u.name:"Add entry",buildEntry:p,onInternalIdAdded:b,disabled:a||!!u.disabled,includeAddButton:!u.disabled,setFieldValue:s,newDefaultEntry:{[u.oneOf.typeField??oo]:k,[u.oneOf.valueField??Fo]:Po(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(hn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:y,title:w,children:m}),d&&m,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:_,property:u})]})}function O3({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const u=c&&c[i],[A,g]=f.useState(u??void 0),h=Pe.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&g(u)},[u]);const _=A?l[A]:void 0,y=Object.entries(l).map(([k,m])=>({id:k,label:m.name??k})),I=`${e}.${i}`,b=`${e}.${a}`,p=_?{propertyKey:b,property:_,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const m=k?l[k]:void 0;g(k),h.setFieldTouched(I),h.setFieldValue(I,k),h.setFieldValue(b,m?Po(m):null)};return n.jsxs("div",{className:F(je,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Pe.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(xe,{className:"mb-2",placeholder:n.jsx(Z,{variant:"caption",className:"px-4 py-2 font-medium",children:"Type"}),size:"small",position:"item-aligned",value:k.field.value!==void 0&&k.field.value!==null?k.field.value:"",renderValue:m=>n.jsx(Fe,{enumKey:m,enumValues:y,size:"small"}),onValueChange:m=>{w(m)},children:y.map(m=>n.jsx(Re,{value:String(m.id),children:n.jsx(Fe,{enumKey:m.id,enumValues:y,size:"small"})},m.id))})})}),p&&n.jsx(Sn,{...p},`form_control_${e}_${A}`)]})}const L3=new Zt;try{mn.use(mn.Plugins.AutoResize,{min:100}),mn.unuse(mn.Plugins.FontUnderline),mn.unuse(mn.Plugins.Clear)}catch{}function ga({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:g,context:h}){const[_,y]=f.useState(t),I=f.useRef(t);vn("MarkdownFieldBinding",Q3);const b=f.useDeferredValue({internalValue:_,value:t});return f.useEffect(()=>{I.current=t,y(t)},[t]),f.useEffect(()=>{b.internalValue!==I.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(Z,{variant:"caption",className:"flex-grow",children:n.jsx(Ke,{icon:ve(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(mn,{value:_??"",className:F(Xe,l?nn:Ye,"text-base"),readOnly:l,renderHTML:p=>L3.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{y(w??null)}}),n.jsx(Se,{includeDescription:g,showError:a,error:i,disabled:l,property:u})]})}const Q3=`
126
126
  @font-face {
127
127
  font-family: rmel-iconfont;
128
128
  src: url(data:application/vnd.ms-fontobject;base64,fBkAAMAYAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAB9vj4gAAAAAAAAAAAAAAAAAAAAAAABoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdAAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAAGgByAG0AZQBsAC0AaQBjAG8AbgBmAG8AbgB0AAAAAAAAAQAAAAsAgAADADBHU1VCsP6z7QAAATgAAABCT1MvMj3jT5QAAAF8AAAAVmNtYXBA5I9dAAACPAAAAwhnbHlmMImhbQAABXwAAA9gaGVhZBtQ+k8AAADgAAAANmhoZWEH3gObAAAAvAAAACRobXR4aAAAAAAAAdQAAABobG9jYTX6MgAAAAVEAAAANm1heHABMAB7AAABGAAAACBuYW1lc9ztwgAAFNwAAAKpcG9zdCcpv64AABeIAAABNQABAAADgP+AAFwEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAGgABAAAAAQAA4uPbB18PPPUACwQAAAAAANwY2ykAAAAA3BjbKQAA//8EAAMBAAAACAACAAAAAAAAAAEAAAAaAG8ADAAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQAAAAoAHgAsAAFERkxUAAgABAAAAAAAAAABAAAAAWxpZ2EACAAAAAEAAAABAAQABAAAAAEACAABAAYAAAABAAAAAAABBAABkAAFAAgCiQLMAAAAjwKJAswAAAHrADIBCAAAAgAFAwAAAAAAAAAAAAAAAAAAAAAAAAAAAABQZkVkAEDnbe2iA4D/gABcA4AAgAAAAAEAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAUAAAADAAAALAAAAAQAAAHMAAEAAAAAAMYAAwABAAAALAADAAoAAAHMAAQAmgAAABYAEAADAAbnbelB7TztRe1h7XXteO2A7Y3tov//AADnbelB7TvtRO1f7W/td+2A7Yztn///AAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAWABYAFgAYABoAHgAqACwALAAuAAAAAQAEAAUAAwAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAAgAUABUAFgAXABgAGQAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAABPAAAAAAAAAAZAADnbQAA520AAAABAADpQQAA6UEAAAAEAADtOwAA7TsAAAAFAADtPAAA7TwAAAADAADtRAAA7UQAAAAGAADtRQAA7UUAAAAHAADtXwAA7V8AAAAIAADtYAAA7WAAAAAJAADtYQAA7WEAAAAKAADtbwAA7W8AAAALAADtcAAA7XAAAAAMAADtcQAA7XEAAAANAADtcgAA7XIAAAAOAADtcwAA7XMAAAAPAADtdAAA7XQAAAAQAADtdQAA7XUAAAARAADtdwAA7XcAAAASAADteAAA7XgAAAATAADtgAAA7YAAAAACAADtjAAA7YwAAAAUAADtjQAA7Y0AAAAVAADtnwAA7Z8AAAAWAADtoAAA7aAAAAAXAADtoQAA7aEAAAAYAADtogAA7aIAAAAZAAAAAABmAMwBHgGEAbwB/gJmAsgC/gM0A3IDogRABKgE7gUuBXAFygYKBmoGpAbEBugHRgewAAAABQAAAAADVgLWAAsAGAAlADQAQAAAEyEyFhQGByEuATQ2Fz4BNyEeARQGIyEiJgM0NjchHgEUBiMhIiY3PgEzITIeARQOASMhIiYnFhQPAQYmNRE0NhfWAlQSGRkS/awSGRnaARgTAWASGRkS/qASGfQZEgJUEhkZEv2sEhnzARgTAWAMFAsLFAz+oBIZOQgIkgseHgsC1RklGAEBGCUZ8hMYAQEYJRkZ/oUTGAEBGCUZGdkSGQsVFxQMGoYGFgaVDAwRASoRDAwAAAAADAAAAAADqwKrAA8AEwAXABsAHwAjACcAMwA3ADsAPwBDAAABIQ4BBwMeARchPgE3ES4BBTMVIxUzFSMnMxUjFTMVKwI1MzUjNTMBISImNDYzITIWFAY3IzUzNSM1MxcjNTM1IzUzA1X9ViQwAQEBMSQCqiQxAQEx/lxWVlZWgFZWVlYqVlZWVgFV/wASGBgSAQASGBgZVlZWVoBWVlZWAqsBMST+ViQxAQExJAGqJDF/VipW1lYqVlYqVv6AGCQZGSQYqlYqVtZWKlYAAwAAAAADKwMAAA8AHwAzAAAlHgEXIT4BNxEuASchDgEHMyEyFhcRDgEHIS4BJxE+ASUnJisBIg8BIyIGFBYzITI2NCYjAQABMCQBViQwAQEwJP6qJDABgAEAExcBARcT/wATFwEBFwEoHgsStBILHmsTFxcTAgARGRkRVSQwAQEwJAGrJDABATAkFxT+qxEZAQEZEQFVFBfVHg0NHhcnFxcnFwADAAAAAAOrAtkAFgAtAD4AAAEVBg8BBiIvASY0PwEnJjQ/ATYyHwEWBTc2NC8BJiIPAQYHFRYfARYyPwE2NCcBJyYGBwMGFh8BFjY3EzYmJwOrAQmwBxEHHgYGk5MGBh4HEQewCf0PkwYGHwYSBrAJAQEJsAcRBx4GBgFCKQkPBOMCBwgoCQ8E4gMHCQGIEA0KsAYGHgcRBpOTBhIGHgYGsAoVkwYRBx4GBrAKDRANCrAGBh4GEgYB2Q8DBwj9jAgQAw4DBwgCcwgPBAACAAAAAAOaAm8AEAAhAAAlJzc2NCYiDwEGFB8BFjI2NCU3JyY0NjIfARYUDwEGIiY0AXOmpg0ZJAzEDQ3EDiEaAQ2mpg0aIQ7EDQ3EDiEa2qamDiEaDcQNIg3EDRohDqamDCQZDcQNIg3EDRkkAAAAAwAAAAADuAKsAAsAFwAjAAABDgEHHgEXPgE3LgEDLgEnPgE3HgEXDgEDDgEHHgEXPgE3LgECAJjrNTXrmJjrNTXrmFZwAgJwVlZwAgJwVjRDAQFDNDRDAQFDAqwCpIaGpAICpIaGpP4OAnBWVnACAnBWVnABPgFDNDRDAQFDNDRDAAAABQAAAAADgAKrAAsAFwAjADAAQAAAEyEyNjQmIyEiBhQWFyE+ATQmJyEOARQWEyEyNjQmIyEiBhQWJx4BFyE+ATQmJyEOASUhHgEXEQ4BByEuATURNDarAQATFxcT/wARGRkRAQATFxcT/wARGRkRAQATFxcT/wARGRkaARkRAQATFxcT/wARGQHUAQARGQEBGRH/ABMXFwEAFycXFycXqwEZIhkBARkiGQFVFycXFycX1RMXAQEXJhcBARcYARcT/gARGQEBGRECABMXAAAAAAMAAAAAA6sCVgAZACYAQAAAASMiBhQWOwEeARcOAQcjIgYUFjsBPgE3LgEFHgEXIT4BNCYnIQ4BFyMuASc+ATczMjY0JisBDgEHHgEXMzI2NCYC1YASGBgSgDdIAQFIN4ASGBgSgFt4AwN4/iUBGBIBABIYGBL/ABIYVYA3SAEBSDeAEhgYEoBbeAMDeFuAEhgYAlUYJBkBSTY2SQEZJBgCeFtbeNMSGAEBGCQYAQEYkgFJNjZJARkkGAJ4W1t4AhgkGQABAAAAAAOsAisAHgAAAS4BJw4BBwYWFxY2Nz4BNzIWFwcGFhczPgE3NS4BBwMSO5ZVh9Q4ChMXFCMJK6FnP28sURMTHu4SGAECMRYBvDQ6AQKJchcqCAYPElZpASslUhYxAgEYEu8dFBMAAAABAAAAAAOyAisAHgAAAQ4BBycmBgcVHgEXMz4BLwE+ATMeARceATc+AScuAQIUVZY7URYxAgEYEu4eFBNSLW8+Z6ErCSQTFxMKOdMCKwE6NFAUFB3vEhgBAjEWUiUrAWlWEg8GCCoXcokAAAADAAAAAAL1Ar8AFAAcACQAAAE+ATcuAScjDgEHER4BFyE+ATc0JiUzHgEUBgcjEyM1Mx4BFAYCkyEpAQJmTu8UGQEBGRQBB0lpAjT+1IgdJycdiJ+fnx0nJwGKF0QkTmYCARoT/d4TGgECYUk1UtkBJjsmAf7viQEmOyYAAQAAAAADEgK/ABwAAAEeARczAyMOARQWFzM+ATQmJyMTMz4BNCYnIw4BAaUBJh0hnDsdJiYd5B0mJh0hnDsdJiYd5B0mAnodJgH+lAEmOicBASc6JgEBbAEmOicBAScABgAAAAADlgLWAAsAFwAjAEEAUgBuAAABIT4BNCYnIQ4BFBYBIQ4BFBYXIT4BNCYDIQ4BFBYXIT4BNCYFIyIGFBY7ARUjIgYUFjsBFSMiBhQWOwEyNjc1LgEDMxUeATI2PQE0JisBIgYUFhcjIgYUFjsBBwYdARQWOwEyNjQmKwE3Nj0BLgEBawIAEhgYEv4AEhkZAhL+ABIZGRICABIYGBL+ABIZGRICABIYGP1YVQkMDAlAFQoLCwoVQAkMDAlVCgsBAQtfFQELEwwMCSsJDAxeVQkMDAk3RwUMCVUKCwsKN0gFAQsCVQEYJBgBARgkGP5VARgkGAEBGCQYAQEBGCQYAQEYJBjVDBIMFgwSDBYMEgwMCYAJDAHWawkMDAmACQwMEgzWDBIMVAYICQkMDBIMVAYICQkMAAAAAAYAAAAAA4sCwAAIABEAGgAmADIAPwAAEw4BFBYyNjQmAw4BFBYyNjQmAw4BFBYyNjQmFyE+ATQmJyEOARQWNyE+ATQmJyEOARQWAx4BFyE+ATQmJyEOAbUbJCQ3JCQcGyQkNyQkHBskJDYlJI8CABIYGBL+ABIYGBICABIYGBL+ABIYGBkBGBICABIYGBL+ABIYAcABJDYkJDYkAQEBJDYkJDYk/gEBJDYkJDYkagEYJBgBARgkGP8BGCQYAQEYJBgBKhIYAQEYJBgBARgAAAACAAAAAANWAlYAFgAtAAAlMjY/ATY9AS4BKwEiBh0BFBYXMwcGFgUyNj8BNj0BNCYrASIGBxUeARczBwYWATIRGwc9CQEYEqsSGBgSViwOIAHMEBsIPAkYEqsSGAEBGBJVLA0gqxEOeRIUwhIYGBKrEhgBWB4zAREOeRIUwhIYGBKrEhgBWB4zAAAAAAMAAAAAA4ACwAAIABkAJQAAJT4BNzUjFR4BAR4BFzMVMzUzPgE0JichDgEDIT4BNCYnIQ4BFBYCACQwAaoBMP75ASQblqqWGyQkG/4qGyQrAqoSGRkS/VYSGRlAATAkKyskMAI/GyQBgIABJDYkAQEk/noBGCQYAQEYJBgAAAAAAgAA//8DKwMBABsAKAAAJT4BNxEuASIGBxEUBgcGLgI1ES4BIgYHER4BBx4BMyEyNjQmIyEiBgIiYnoCAR4tHgFBNSFBNR0BHi0eAQOm1AEYEgIAEhgYEv4AEhitD5NlARcWHh4W/uQ3UwwHDys8IwEgFh4eFv7gdpR2EhkZJBgYAAAAAwAAAAADcALHAAsALQA5AAATIT4BNCYjISIGFBYFISIGFBYXITIWFxYGByM1LgEPAQYUHwEWNjc1Mz4BJy4BBSMiBhQWFzM+ATQmwAJVEhkZEv2rEhgYAgv+BxIYGBICBiAzBgUxKGABGQtMBgZMDBgBVU1iBQhk/m2rEhgYEqsSGBgCcQEYJBgYJBisGCQYAScgKTkCIg8KCkwHEQdMCgoPIgJrTkRV/xgkGAEBGCQYAAAAAgAAAAADlgLAABQAKAAAARQWFzMRHgEyNjcRMz4BNCYnIQ4BAzMVFBYyNjc1MzI2NCYnIQ4BFBYBayQclQEkNiQBlRwkJBz+VhwkwEAkNyQBQBskJBv/ABwkJAKAGyQB/kAbJCQbAcABJDYkAQEk/tDrGyQkG+skNyQBASQ3JAAKAAAAAAN4AvgADwAWABoAIQAlACkALQA0ADgAPwAAASEOAQcRHgEXIT4BNxEuAQEjIiY9ATM1IzUzNSM1NDY7ARMjNTM1IzUzNSM1MxMjNTMVFAY3IzUzNSM1MzIWFQMs/aggKgEBKiACWCAqAQEq/h5xDxaWlpaWFg9x4ZaWlpaWlrxxlhYWlpaWcQ8WAvcBKiD9qCAqAQEqIAJYICr9XhYPcUuWS3EPFv2olkuWS5b9qJZxDxbhlkuWFg8AAAACAAD//wOAAwAADwAgAAAlES4BJyEOAQcRHgEXIT4BJRc3NjIfARYGIyEiJj8BPgEDgAEwJP2qJDABATAkAlYkMP39WYUHFAeVCAwN/gEOCwhqBxRVAlYkMAEBMCT9qiQwAQEw+2yqCAnHCxcXC4kIAQAAAAEAAAAAAzUCNgAQAAABBwYUFjI/ARcWMjY0LwEmIgHZ/hAhLBHX1xEsIRD+EC4CJv4RLCEQ19cQISwR/hAAAAABAAAAAAM1AjYAEgAAAQcnJiciDgEWHwEWMj8BNjQuAQLW1tcQFxEbDQYM/hEsEf4QIS0CJtfXDwESICAM/hAQ/hAtIAEAAAAEAAAAAANrAusAEAAhADMARAAANzMVFBYyNj0BNCYrASIGFBYTIyIGFBY7ATI2PQE0JiIGFQEyNj0BMzI2NCYrASIGHQEUFhM1NCYiBh0BFBY7ATI2NCYjyWgeLB0dFpwWHR1+aBYdHRacFh0dLB4BahYeaBYdHRacFh0dSh4sHR0WnBYdHRaxaBYdHRacFh0dLB4Bnh4sHR0WnBYdHRb9Xx0WaB4sHR0WnBYdAjloFh0dFpwWHR0sHgAAAAQAAAAAA1QC1AARACMANABGAAATDgEHFR4BFzM+ATQmKwE1NCYnPgE9ATMyNjQmJyMOAQcVHgEBIyIGFBYXMz4BNzUuASIGFQMeATsBFRQWMjY3NS4BJyMOAd0VGwEBGxWRFRsbFWEcFBQcYRUbGxWRFRsBARsCK2EVGxsVkRUbAQEbKRySARsVYRwpGwEBGxWRFRsBHwEbFZEVGwEBGykcYRUbwwEbFWEcKRsBARsVkRUb/qscKRsBARsVkRUbGxUBtRQcYRUbGxWRFRsBARsAAAAAAAASAN4AAQAAAAAAAAAVAAAAAQAAAAAAAQANABUAAQAAAAAAAgAHACIAAQAAAAAAAwANACkAAQAAAAAABAANADYAAQAAAAAABQALAEMAAQAAAAAABgANAE4AAQAAAAAACgArAFsAAQAAAAAACwATAIYAAwABBAkAAAAqAJkAAwABBAkAAQAaAMMAAwABBAkAAgAOAN0AAwABBAkAAwAaAOsAAwABBAkABAAaAQUAAwABBAkABQAWAR8AAwABBAkABgAaATUAAwABBAkACgBWAU8AAwABBAkACwAmAaUKQ3JlYXRlZCBieSBpY29uZm9udApybWVsLWljb25mb250UmVndWxhcnJtZWwtaWNvbmZvbnRybWVsLWljb25mb250VmVyc2lvbiAxLjBybWVsLWljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwADdGFiCGtleWJvYXJkBmRlbGV0ZQpjb2RlLWJsb2NrBGNvZGUKdmlzaWJpbGl0eQp2aWV3LXNwbGl0BGxpbmsEcmVkbwR1bmRvBGJvbGQGaXRhbGljDGxpc3Qtb3JkZXJlZA5saXN0LXVub3JkZXJlZAVxdW90ZQ1zdHJpa2V0aHJvdWdoCXVuZGVybGluZQR3cmFwCWZvbnQtc2l6ZQRncmlkBWltYWdlC2V4cGFuZC1sZXNzC2V4cGFuZC1tb3JlD2Z1bGxzY3JlZW4tZXhpdApmdWxsc2NyZWVuAAAAAAA=);
@@ -705,8 +705,8 @@
705
705
  .rc-md-editor .header-list .list-item:hover {
706
706
  }
707
707
 
708
- `;function ga({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:_,disabled:h}){if(ee(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const g=d.expanded===void 0?!0:d.expanded;Le({property:d,value:t,setValue:l});const y=n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:d.name}),I=d.resolvedProperties.map((b,p)=>{const w={propertyKey:`${e}[${p}]`,disabled:h,property:b,includeDescription:u,underlyingValueHasChanged:A,context:_,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(Sn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(hn,{initiallyExpanded:g,title:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:h,property:d})]})}const V3=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Pe.useFormikContext();return f.useEffect(()=>{const a=Object.keys(i);if(a.length>0&&t&&!c){const l=e?.current?.querySelector(`#form_field_${a[0]}`);if(l&&e?.current){const s=ha(e.current);if(s){const u=l.getBoundingClientRect().top;s.scrollTo({top:s.scrollTop+u-64,behavior:"smooth"})}const d=l.querySelector("input");d&&d.focus()}}},[t,c,i,e]),null},W3=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},ha=e=>!e||e===document.body?document.body:W3(e)?e:ha(e.parentNode);function G3({customId:e,entityId:t,status:c,onChange:i,error:a,entity:l}){const s=c==="existing"||!e,d=c!=="existing"&&!e,u=f.useMemo(()=>{if(!(!e||typeof e=="boolean"||e==="optional"))return yn(e)},[e]),A=An(),{copy:_}=Na({onSuccess:y=>A.open({type:"success",message:`Copied ${y}`})}),h=ee(),g={label:d?"ID is set automatically":"ID",disabled:s,name:"id",value:(l&&c==="existing"?l.id:t)??"",endAdornment:l?n.jsxs(n.Fragment,{children:[n.jsx(ye,{title:"Copy",children:n.jsx(R,{onClick:y=>_(l.id),"aria-label":"copy-id",children:n.jsx(xn,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(ye,{title:"Open in the console",children:n.jsx(R,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:y=>y.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(Rn,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(xe,{error:a,onValueChange:y=>i(y),...g,renderValue:y=>{const I=u.find(b=>b.id===y);return I?`${I.id} - ${I.label}`:y},children:u.map(y=>n.jsx(Re,{value:String(y.id),children:n.jsx(Fe,{enumKey:y.id,enumValues:u,size:"medium"})},y.id))}),!u&&n.jsx(tn,{...g,error:a,placeholder:e==="optional"?"Autogenerated ID, it can be manually changed":c==="new"||c==="copy"?"ID of the new document":"ID of the document",onChange:y=>{let I=y.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(Pe.ErrorMessage,{name:"id",component:"div",children:y=>"You need to specify an ID"})]})}const Ia=f.memo(z3,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function z3({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:_,autoSave:h,onIdUpdateError:g}){const y=ee(),I=We(),b=y.plugins,p=f.useMemo(()=>Te({collection:c,path:t,values:i?.values,fields:y.propertyConfigs}),[i?.values,t]),w=(e==="new"||e==="copy")&&!!p.customId&&p.customId!=="optional",k=f.useMemo(()=>e==="new"||e==="copy"?w?void 0:I.generateEntityId(t):i?.id,[]),m=f.useRef(!1),v=f.useMemo(()=>{const O=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??to(O);if(e==="new")return to(O);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[S,K]=f.useState(k),[C,P]=f.useState(!1),[E,T]=f.useState(),B=f.useRef(i?.values??v),D=B.current,[N,W]=f.useState(D),z=O=>{W(O),d&&d(O),h&&O&&!se(O,D)&&V(O)};f.useEffect(()=>{S&&u&&u(S)},[S,u]);const q=Te({collection:c,path:t,entityId:S,values:N,previousValues:D,fields:y.propertyConfigs}),ne=q.callbacks?.onIdUpdate;f.useEffect(()=>{if(ne&&N&&(e==="new"||e==="copy"))try{const O=ne({collection:q,path:t,entityId:S,values:N,context:y});K(O)}catch(O){g&&g(O),console.error(O)}},[S,N,e]);const H=f.useMemo(()=>D&&e==="existing"?Object.entries(q.properties).map(([O,$])=>{if(ro($))return{};const oe=D[O],j=v[O];return se(oe,j)?{}:{[O]:j}}).reduce((O,$)=>({...O,...$}),{}):{},[v,q.properties,D,e]),V=O=>a({collection:q,path:t,entityId:S,values:O,previousValues:i?.values,closeAfterSave:m.current,autoSave:h??!1}).then($=>{const oe=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";y.onAnalyticsEvent?.(oe,{path:t}),B.current=O}).catch($=>{console.error($),T($)}).finally(()=>{m.current=!1}),te=(O,$)=>{if(w&&!S){console.error("Missing custom Id"),P(!0),$.setSubmitting(!1);return}if(T(void 0),P(!1),e==="existing"){if(!i?.id)throw Error("Form misconfiguration when saving, no id for existing entity")}else if(e==="new"||e==="copy"){if(q.customId&&q.customId!=="optional"&&!S)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");V(O)?.then(oe=>{$.resetForm({values:O,submitCount:0,touched:{}})}).finally(()=>{$.setSubmitting(!1)})},U=f.useCallback(({name:O,value:$,property:oe})=>I.checkUniqueField(t,O,$,S),[I,t,S]),J=f.useMemo(()=>S?Ei(S,q.properties,U):void 0,[S,q.properties,U]),de=un(),Y=f.useCallback(({entity:O,customEntityActions:$})=>{const oe=Un(q,de,ze(t),null),j=O?xo(q,de,ze(t),O):!0,M=[];return oe&&M.push(Gi),j&&M.push(zi),$&&M.push(...$),M},[de,q,t]);return n.jsx(Pe.Formik,{initialValues:v,onSubmit:te,validationSchema:J,validate:O=>console.debug("Validating",O),onReset:()=>l&&l(),children:O=>{const $=[],oe={setFieldValue:O.setFieldValue,values:O.values,collection:Te({collection:q,path:t,fields:y.propertyConfigs}),entityId:S,path:t,save:V};if(f.useEffect(()=>{A&&A(oe)},[A,oe]),b&&q){const j={entityId:S,path:t,status:e,collection:c,context:y,currentEntityId:S,formContext:oe};$.push(...b.map((M,L)=>M.form?.Actions?n.jsx(M.form.Actions,{...j},`actions_${M.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[$.length>0&&n.jsx("div",{className:F("w-full flex justify-end items-center sticky top-0 right-0 left-0 z-10 bg-opacity-60 bg-slate-200 dark:bg-opacity-60 dark:bg-slate-800 backdrop-blur-md"),children:$}),n.jsxs("div",{className:"pl-4 pr-4 pt-12 pb-16 md:pl-8",children:[n.jsx("div",{className:`w-full py-2 flex items-center mt-${4+($?8:0)} lg:mt-${8+($?8:0)} mb-8`,children:n.jsx(Z,{className:"mt-4 flex-grow "+q.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:q.singularName??q.name})}),!_&&n.jsx(G3,{customId:q.customId,entityId:S,status:e,onChange:K,error:C,entity:i}),S&&n.jsx(H3,{...O,initialValues:D,onModified:s,onValuesChanged:z,underlyingChanges:H,entity:i,resolvedCollection:q,formContext:oe,status:e,savingError:E,closeAfterSaveRef:m,autoSave:h,entityActions:Y({entity:i,customEntityActions:q.entityActions})})]})]})}})}function H3(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:_,status:h,handleSubmit:g,savingError:y,dirty:I,closeAfterSaveRef:b,autoSave:p,entityActions:w}=e,k=ee(),m=w.filter(E=>E.includeInForm===void 0||E.includeInForm),v=fn(),S=I;f.useEffect(()=>{c&&c(S),i&&i(t)},[S,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([E,T])=>{const B=t[E];!se(T,B)&&!d[E]&&(console.debug("Updated value from the datasource:",E,T),u(E,T!==void 0?T:null))})},[p,a,s,t,d,u]);const K=n.jsx("div",{className:"flex flex-col gap-8",children:(A.propertiesOrder??Object.keys(A.properties)).map(E=>{const T=A.properties[E];if(!T)return console.warn(`Property ${E} not found in collection ${A.name}`),null;const B=!!a&&Object.keys(a).includes(E)&&!!d[E],D=!p&&_||On(T)||!!T.disabled;if(ro(T))return null;const W={propertyKey:E,disabled:D,property:T,includeDescription:T.description||T.longDescription,underlyingValueHasChanged:B&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${E}`,children:n.jsx(ae,{children:n.jsx(Sn,{...W})})},`field_${A.name}_${E}`)}).filter(Boolean)}),C=_||!S&&h==="existing",P=f.useRef(null);return n.jsxs(Pe.Form,{onSubmit:g,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:P,children:[K,n.jsx(V3,{containerRef:P})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(En,{position:"absolute",children:[y&&n.jsx("div",{className:"text-right",children:n.jsx(Z,{color:"error",children:y.message})}),s&&m.length>0&&n.jsx("div",{className:"flex-grow flex overflow-auto no-scrollbar",children:m.map(E=>n.jsx(R,{color:"primary",onClick:T=>{T.stopPropagation(),s&&E.onClick({entity:s,fullPath:A.path,collection:A,context:k,sideEntityController:v})},children:E.icon},E.name))}),n.jsx(ie,{variant:"text",disabled:C,type:"reset",children:h==="existing"?"Discard":"Clear"}),n.jsxs(ie,{variant:"text",color:"primary",type:"submit",disabled:C,onClick:()=>{b.current=!1},children:[h==="existing"&&"Save",h==="copy"&&"Create copy",h==="new"&&"Create"]}),n.jsxs(ie,{variant:"filled",color:"primary",type:"submit",disabled:C,onClick:()=>{b.current=!0},children:[h==="existing"&&"Save and close",h==="copy"&&"Create copy and close",h==="new"&&"Create and close"]})]})]})}function ba(e){return Object.keys(Ft).includes(e)}const Ft={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Dc,color:"#2d7ff9",property:{dataType:"string",Field:Hn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Nc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Hn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:pc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:_a}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:kc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Hn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:yc,color:"#154fb3",property:{dataType:"string",email:!0,Field:Hn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Kc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:pt}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Sc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:vt}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Ec,color:"#bec920",property:{dataType:"number",Field:Hn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:mr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:pt}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:mr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:vt}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Tc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Ct}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:fc,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Ct}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Cc,color:"#ff0042",property:{dataType:"reference",Field:da}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:tc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:ia}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:bc,color:"#20d9d2",property:{dataType:"boolean",Field:la}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Pc,color:"#8b46ff",property:{dataType:"date",Field:sa}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:br,color:"#ff9408",property:{dataType:"map",properties:{},Field:ua}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:br,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:fa}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:Kr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Aa}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:Kr,color:"#ff9408",property:{dataType:"array",of:[],Field:ga}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Mc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:ya}}};function Zo(e,t){const c=Dt(e),i=Pt(e);if(!i){console.error("No field id found for property",e);return}const a=Ft[i],l=c?t[c]:void 0;return Ge(a??{},l??{})}function Pt(e){if(e.dataType==="string")return e.multiline?"multiline":e.markdown?"markdown":e.storage?"file_upload":e.url?"url":e.email?"email":e.enumValues?"select":"text_field";if(e.dataType==="number")return e.enumValues?"number_select":"number_input";if(e.dataType==="map"){if(e.keyValue)return"key_value";if(e.properties)return"group"}else if(e.dataType==="array"){const t=e.of;return e.oneOf?"block":Array.isArray(t)?"custom_array":Ee(t)?"repeat":t?.dataType==="string"&&t.enumValues?"multi_select":t?.dataType==="number"&&t.enumValues?"multi_number_select":t?.dataType==="string"&&t.storage?"multi_file_upload":t?.dataType==="reference"?"multi_references":"repeat"}else{if(e.dataType==="boolean")return"switch";if(e.dataType==="date")return"date_time";if(e.dataType==="reference")return"reference"}console.error("Unsupported field config mapping",e)}function Dt(e){return e.propertyConfig?e.propertyConfig:Pt(e)}const Te=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=_n(d,"properties"),A=to(e.properties),_=i??A,h=a??i??A,g=Object.entries(e.properties).map(([b,p])=>{const w=_?Pe.getIn(_,b):void 0;return{[b]:Me({propertyKey:b,propertyOrBuilder:p,values:_,previousValues:h,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),y=Ge(g,u),I=Object.entries(y).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:I,originalCollection:e}};function Me({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Ee(e)){const l=i.path;if(!l)throw Error("Trying to resolve a property builder without specifying the entity path");const s=e({...i,path:l,propertyValue:t,values:i.values??{},previousValues:i.previousValues??i.values??{}});if(!s)return console.debug("Property builder not returning `Property` so it is not rendered",l,i.entityId,e),null;a=Me({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=Nt({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=In({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=Tt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.propertyConfig&&!ba(a.propertyConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.propertyConfig} that inherits from a custom property config but no custom property configs were provided. Use the property \`propertyConfigs\` in your app config to provide them`);const s=l[a.propertyConfig];if(!s)return console.warn(`Trying to resolve a property with key ${a.propertyConfig} that inherits from a custom property config but no custom property config with that key was found. Check the \`propertyConfigs\` in your app config`),console.warn("Available property configs",l),null;if(s.property){const d=s.property;"propertyConfig"in d&&delete d.propertyConfig;const u=Me({propertyOrBuilder:d,propertyValue:t,...i});u&&(a=Ge(u,a))}}return a?{...a,resolved:!0}:null}function In({propertyKey:e,property:t,propertyValue:c,...i}){if(t.of){if(Array.isArray(t.of))return{...t,resolved:!0,fromBuilder:i.fromBuilder,resolvedProperties:t.of.map((a,l)=>Me({propertyKey:`${e}.${l}`,propertyOrBuilder:a,propertyValue:Array.isArray(c)?c[l]:void 0,...i,index:l}))};{const a=t.of,l=Array.isArray(c)?c.map((d,u)=>Me({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=Me({propertyKey:`${e}`,propertyOrBuilder:a,propertyValue:void 0,...i});if(!s)throw Error("When using a property builder as the 'of' prop of an ArrayProperty, you must return a valid child property");return{...t,resolved:!0,fromBuilder:i.fromBuilder,of:s,resolvedProperties:l}}}else if(t.oneOf){const a=t.oneOf?.typeField??oo,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],_=t.oneOf?.properties[A];return!A||!_?null:Me({propertyKey:`${e}.${u}`,propertyOrBuilder:_,propertyValue:c,...i})}).filter(d=>!!d):[],s=Nt({properties:t.oneOf.properties,propertyValue:void 0,...i});return{...t,resolved:!0,oneOf:{...t.oneOf,properties:s},fromBuilder:i.fromBuilder,resolvedProperties:l}}else{if(t.Field)return{...t,resolved:!0,fromBuilder:i.fromBuilder};throw Error("The array property needs to declare an 'of' or a 'oneOf' property, or provide a custom `Field`")}}function Nt({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Me({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?_n(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function Tt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:yn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function U3(e){return typeof e=="object"?Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:c):Array.isArray(e)?e:void 0}function Mt(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function pa(e,t){const c=Me({propertyKey:"ignore",propertyOrBuilder:e,fields:t});return c?c.dataType==="reference"?!0:c.dataType==="array"?Array.isArray(c.of)?!1:c.of?.dataType==="reference":!1:null}function Y3(e){return n.jsx(pr,{size:e})}function Ot(e,t){const c=e?.Icon??pr;return n.jsx(c,{size:t})}function ve(e,t="small",c={}){if(Ee(e))return n.jsx(wc,{size:t});{const i=Zo(e,c);return Ot(i,t)}}function j3(e,t){return Ee(e)?"#888":Zo(e,t)?.color??"#666"}function Bn(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(typeof i=="object"&&i.dataType==="map"&&i.properties)return Bn(i.properties,c.slice(1).join("."))}}}function Lt(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(i.dataType==="map"&&i.properties)return Lt(i.properties,c.slice(1).join("."))}}}function $3(e){return e.replace(/\.([^.]*)/g,"[$1]")}function wa(e,t){if(!t)return e;const c={};return t.filter(Boolean).forEach(i=>{const a=Bn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:wa(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function q3(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.key)]}const Xo={read:!0,edit:!0,create:!0,delete:!0};function uo(e,t,c,i){const a=e.permissions;if(a===void 0)return Xo;if(typeof a=="object")return a;if(typeof a=="function")return a({entity:i,user:t.user,authController:t,collection:e,pathSegments:c});throw console.error("Permissions:",a),Error("New type of permission added and not mapped")}function Qt(e,t,c,i){return uo(e,t,c,i).edit??Xo.edit}function Un(e,t,c,i){return uo(e,t,c,i).create??Xo.create}function xo(e,t,c,i){return uo(e,t,c,i).delete??Xo.delete}function ka(e,t){if(e&&(e=No(e),e in er))return e in er?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Ro(e,t){const c=ka(e.icon,t);if(e?.icon&&c)return c;let i=No(("singularName"in e?e.singularName:void 0)??e.name),a;i in er&&(a=i),a||(i=No(e.path),i in er&&(a=i));const l=gr.length;return a||(a=gr[Oc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const er=rc.reduce((e,t)=>(e[t]=t,e),{});function J3(e,t){if(t!==void 0&&t===1)return e;const c={"(quiz)$":"$1zes","^(ox)$":"$1en","([m|l])ouse$":"$1ice","(matr|vert|ind)ix|ex$":"$1ices","(x|ch|ss|sh)$":"$1es","([^aeiouy]|qu)y$":"$1ies","(hive)$":"$1s","(?:([^f])fe|([lr])f)$":"$1$2ves","(shea|lea|loa|thie)f$":"$1ves",sis$:"ses","([ti])um$":"$1a","(tomat|potat|ech|her|vet)o$":"$1oes","(bu)s$":"$1ses","(alias)$":"$1es","(octop)us$":"$1i","(ax|test)is$":"$1es","(us)$":"$1es","([^s]+)$":"$1s"},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${l}$`,"i"),d=i[l];if(s.test(e))return e.replace(s,d)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Z3(e,t){if(t!==void 0&&t!==1)return e;const c={"(quiz)zes$":"$1","(matr)ices$":"$1ix","(vert|ind)ices$":"$1ex","^(ox)en$":"$1","(alias)es$":"$1","(octop|vir)i$":"$1us","(cris|ax|test)es$":"$1is","(shoe)s$":"$1","(o)es$":"$1","(bus)es$":"$1","([m|l])ice$":"$1ouse","(x|ch|ss|sh)es$":"$1","(m)ovies$":"$1ovie","(s)eries$":"$1eries","([^aeiouy]|qu)ies$":"$1y","([lr])ves$":"$1f","(tive)s$":"$1","(hive)s$":"$1","(li|wi|kni)ves$":"$1fe","(shea|loa|lea|thie)ves$":"$1f","(^analy)ses$":"$1sis","((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$":"$1$2sis","([ti])a$":"$1um","(n)ews$":"$1ews","(h|bl)ouses$":"$1ouse","(corpse)s$":"$1","(us)es$":"$1",s$:""},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${i[l]}$`,"i");if(s.test(e))return e.replace(s,l)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function ma(e,t,c,i=3){const a=Object.keys(e.properties);let l=c?.filter(s=>a.includes(s));return l&&l.length>0?l:(l=a,l.filter(s=>{const d=e.properties[s];return d&&!Ee(d)&&!pa(d,t)}).slice(0,i))}function Vt(e,t=""){return e&&Object.keys(e).reduce((c,i)=>{const a=t?`${t}.${i}`:i;return typeof e[i]=="object"&&e[i]!==null?Array.isArray(e[i])?e[i].forEach((l,s)=>{Object.assign(c,Vt(l,`${a}[${s}]`))}):Object.assign(c,Vt(e[i],a)):c[a]=e[i],c},{})}function va(e){return e.reduce((t,c)=>(Object.entries(c).forEach(([i,a])=>{if(Array.isArray(a)&&(t[i]=Math.max(t[i]||0,a.length)),typeof a=="object"&&a!==null){const l=va([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Ca(e){return Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Ca(c.properties)}),e}function Ka(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Ee(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:Ka(i.properties)};t[c]=a}return Ee(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function Sa(e,t,c=[],i){const a=(t??[]).map(s=>{const d=e?.find(u=>u.id===s.id);return d?Ba(d,s,c,i):s}),l=e.filter(s=>!a.map(d=>d.id).includes(s.id)).map(s=>i?i({collection:s,parentPaths:c})??s:s);return[...a,...l]}function Ba(e,t,c=[],i){const a=Sa(e?.subcollections??[],t?.subcollections??[],[...c,e.path],i),l={...e.properties};Object.keys(t.properties).forEach(g=>{const y=e.properties[g];y?l[g]=Ea(y,t.properties[g]):l[g]=t.properties[g]});const s=Ge(e,t),d=Fa(e),u=Fa(t),A=[...new Set([...u,...d])],_=[...new Set([...e.entityViews??[],...t.entityViews??[]])];let h={...s,subcollections:a,properties:Or(l,A),propertiesOrder:A,entityViews:_};if(i){const g=i({collection:h,parentPaths:c});g&&(h=g)}return h}function Ea(e,t){if(Ee(t))return t;{const c=Ge(e,t),i=!!e.editable,a=!!t.editable;if(t.dataType==="map"&&t.properties){const l="properties"in e?e.properties:{},s="properties"in t?t.properties:{},d="propertiesOrder"in e&&e.propertiesOrder?e.propertiesOrder:Object.keys(l),u="propertiesOrder"in t&&t.propertiesOrder?t.propertiesOrder:"properties"in t?Object.keys(t.properties):[],A=[...new Set([...d,...u])],_={...l};return Object.keys(t.properties).forEach(h=>{const g=l[h];g&&(_[h]=Ea(g,s[h]))}),{...c,editable:i&&a,properties:_,propertiesOrder:A}}return{...c,editable:i&&a}}}function Fa(e){if(e.propertiesOrder&&e.propertiesOrder.length>0){const t=e.propertiesOrder;return e.additionalFields&&e.additionalFields.forEach(c=>{t.includes(c.key)||t.push(c.key)}),t}return[...Object.keys(e.properties),...(e.additionalFields??[])?.map(t=>t.key)]}function X3(e){return e}function x3(e){return e}function R3(e){return e}function eU(e){return e}function nU(e){return e}function oU(e){return e}function rU(e){return e}function tU(e){return e}function cU(e){return e}async function Wt({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:_,onSaveSuccessHookError:h}){let g;const y=d.navigation.resolveAliasesFrom(t),I=e.callbacks;if(I?.onPreSave)try{const b=Te({collection:e,path:t,values:a,entityId:c,fields:d.propertyConfigs});g=await I.onPreSave({collection:b,path:t,resolvedPath:y,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),_&&_(b);return}else g=i;return s.saveEntity({collection:e,path:y,entityId:c,values:g,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Te({collection:e,path:t,values:g,entityId:c,fields:d.propertyConfigs});I.onSaveSuccess({collection:p,path:t,resolvedPath:y,entityId:b.id,values:g,previousValues:a,status:l,context:d})}}catch(p){h&&h(p)}u&&u(b)}).catch(b=>{if(I?.onSaveFailure){const p=Te({collection:e,path:t,values:g,entityId:c,fields:d.propertyConfigs});I.onSaveFailure({collection:p,path:t,resolvedPath:y,entityId:c,values:g,previousValues:a,status:l,context:d})}A&&A(b)})}async function Pa({dataSource:e,entity:t,collection:c,callbacks:i,onDeleteSuccess:a,onDeleteFailure:l,onPreDeleteHookError:s,onDeleteSuccessHookError:d,context:u}){console.debug("Deleting entity",t.path,t.id);const A={entity:t,collection:c,entityId:t.id,path:t.path,context:u};if(i?.onPreDelete)try{await i.onPreDelete(A)}catch(_){return console.error(_),s&&s(t,_),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(_){return d&&d(t,_),!1}}).catch(_=>(l&&l(t,_),!1))}function Le({property:e,value:t,setValue:c}){const i=f.useRef(null);f.useEffect(()=>{typeof e.disabled=="object"&&!!e.disabled.clearOnDisabled?t!=null&&(i.current=t,c(null)):i.current&&(c(i.current),i.current=null)},[e])}function Da({path:e,context:t}){const c=t.dataSource,i=t.navigation;if(!i)throw Error("Calling getNavigationFrom, but main navigation has not yet been initialised");const l=At({path:e,collections:i.collections??[]}).map(s=>{if(s.type==="collection")return Promise.resolve(s);if(s.type==="entity"){const d=i.getCollection(s.path,s.entityId);if(!d)throw Error(`No collection defined in the navigation for the entity with path ${s.path}`);return c.fetchEntity({path:s.path,entityId:s.entityId,collection:d}).then(u=>{if(u)return{...s,entity:u}})}else{if(s.type==="custom_view")return Promise.resolve(s);throw Error("Unmapped element in useEntitiesFromPath")}}).filter(s=>!!s);return Promise.all(l)}function iU({path:e}){const t=ee(),[c,i]=f.useState(),[a,l]=f.useState(!1),[s,d]=f.useState();return f.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Da({path:e,context:t}).then(A=>{i(A)}).catch(A=>d(A)).finally(()=>l(!1)))},[e,t]),t.navigation?{data:c,dataLoading:a,dataLoadingError:s}:{dataLoading:!0}}const Gt=()=>f.useContext(zo),Na=e=>{const{onSuccess:t,onError:c,disableClipboardAPI:i=!1,copiedDuration:a}=e||{},l=f.useRef(null),[s,d]=f.useState(!1),[u,A]=f.useState("");f.useEffect(()=>{a&&setTimeout(()=>d(!1),a)},[s]);const _=()=>navigator.clipboard!==void 0,h=f.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),g=f.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),y=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>g(k)).catch(m=>{h(m),d(!1)})},[h,g]),I=()=>{_()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=f.useCallback((k="copy",m)=>{const v=l.current,S=v&&(v.tagName==="INPUT"||v.tagName==="TEXTAREA"),K=l.current;_()&&!i&&(m?y(m):v?S?(y(K.value),k==="cut"&&(K.value="")):y(v.innerText):h("Both the ref & text were undefined"))},[i,y,h]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:I,isSupported:_,copy:b,cut:p}},zt=()=>f.useContext(Ui),aU={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},He=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${aU[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function fo(e){const t=Ae(),c=no(),i=f.useCallback(()=>{if(e.path){let l=e.collection;if(l||(l=t.getCollection(e.path)),!l)throw Error("Not able to resolve the collection in useReferenceDialog");c.open({key:`reference_${e.path}`,component:n.jsx(xi,{collection:l,...e}),width:"90vw",onClose:()=>{e.onClose?.()}})}else throw Error("useReferenceDialog: You are trying to open a reference dialog, but have not declared the `path`")},[t,e,c]),a=f.useCallback(()=>{c.close()},[c]);return{open:i,close:a}}const lU=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAAB9pJREFUWMONl12obVUVx39jzLk+9j7nHq9y1QT1qpcbSIaXQFGs24PQl3HroSQyqHwJFJF6qaceCsqQoJdELHoIC6EeJCSKsi/TFLGozGsKXksljRLxnrP3WmvOOUYPa+19zsmPWpux5pxrzTX///Exx5hb+B/X1y+/nuIlVKF5m0v1YbQ55tIcKTQXFerNQkumOZ1oTiXCqUH8saR+74L8ZIWWux7+7JuuL2/04s5jJyhWQlXV71KtbhCtr1WtD6s0KlrjNBRaEi3JGzpv6bymQ0sn9mwv9otB7Ls7kn9Xo+U7D9z8/xG4+bz3cs35SjE/HEK8NWr8RBOrs+tQUUlEtAYaijRkbxmY0fuMzucsfcbSWnZQtiWxJL3Uid09iH0jIM8/1f+d3/zuS29M4PvHrmG+cZA8dMdjiLfNYrx6owrMVKlVUQkgkeI1iYbBJ3A2WPpKNtnx+UQisy29L0gPDGKfrwkPn2bJPfd/Zo0ZVp0fvOOdnLGxheX+A/Mq3nGwqS8/q645o4psxkgbhFqdSgqVJKIkghgqjuDoWh+dlm1AI0gUC3o4C9d04idbmZ06euQDPPHMj3YJ3HnkrZx98Fys2PFZ1dxxsJkdPbOecaBqmcWGqBVBIkEiKkoQJ5IJJBTbY8aRgBMwjxgVJoJJwDScnYUrOy2PBamfv/CS4zz9zE+IAIfPuQQzPzyrmq9u1e3RM+qWeaipNCCiE4DjbjgF94xZQj2htpjeK84ImqlIUpO9JllgEKgJDFpfOoh8paN8chbOeQ4g/OTq97PdLXSz3fjiVjO7/sx6g804ow41QWuCrjQPBB3bkZQgAkpBJOMojmIEjIgRKV6RpaYIZHGKQlK5OIv0L8bul8eOfsxjDJGD8613z6rmhq1qxkY1o9YKFUFEEED2xqoE1MNoWgPBwQZMl2SrSbQM9NQyUMlA5S3Rlcqd6E50RdRvPMvn9yE8qP9+9WWtQvXxzdic8xrwPaJrUYJGoq4sVBM1Ukuiln4UBipJVJrGoHUhrARB0XMQ/cizbSd61uaZlzUhXjuvWmqt9oOyAmUPEabnkSDV2j0Rp2YgksZdQpoCtRBwAiN4cKYdw4m3pNnbY9Tw4SZUh9tQEda+ld1WpmThgoivU8fYDbgEggRcleiZ6BOoFNRXLQQX1Eelggsgh8GPx6DhWB2iRgkj2OTuVX8dBzJtMx93BAKK4hIwUUSEID4BGspecWTfDwSCw+UxqByJoqPf9+xmYWQg7H3u+5Poyk3o5BZDxRBxxH29fdkF3YcBXKHgF+m+hLxn4OvbnnbPzMkjsm/+f5cXec2ye6ZfpO6+OX7pE8TqPj1zcN/7Zu8CDm44Bu6skrKjuOs0FlxWCJNMYxMOqLlR3DAvsAKaZo6t7+u7r6nhjN/5RKIQKESKhykhjeIINgJi+0m4Fiuns2WKZQybtJ2AfAWzGu/ayt0wz5gXimeKQyKSPI4kiCMhDxSgyLiOiY9kxnW2NVs+1ZeBbAmzhLmtgd0d8z1k1mIUTxQbKD5gnkmuDN6QvCF5TaIie0UmkIU1id3WcfwZHUo61eWB3gayDdOiZR+JXUuMWmcbyGWcny2RzOi8obeWwRsGrxm8JlGPBHCyOJmpJkwkHHs09pnfL1L60KLqtBKZtprhU+lVmSq9+xRsBfOMW6L4QLFM7zWdz+l8Ru8tA+10YKlJIiSxkcC6dQqlmJc/xaHIvTuZT7UpHalFUHEqL6iGsfKtM8FEzMdy7J4oXui9mk5CczpGErtEKgacQUZJE3gSwzw/i+dfx2G7e6IcOPALCXIkakGkYx4iwceyq+uENPp+RSI7DN7Q+5ylb7JgJLH0+XRGbOlRerWJwNgmnOwJ83Tvq/7KX2KZb1nJfnfp5YRoda7hFC/MQyGI7Mteow2E4pHkDT2zyfS758HV4bSjolOjF2PYS4KBbN2L5vmHZ7DpsWQnDsvfLj1+Lwufy9LSO2y5M1Mnik8OEJxAoSJRk7xhoKX3+URiztI3WPgGS2/p1OnE6CcSvRQGH+htQfH07dPSP7Lp9ajcNy+9DnG/oMT67qqZHz/QtGxVyjworQqVCIjiPiaaTD1ttZZ+fTIeCXQ+Y6HCQm0tO5LYpmfHlyy9/1nCPi3ICw/99JbxUHrdvxr6Q4depdhTfeGapVeH+imKxwhv6ZnR+5zeN0aNGU2+ZIPON0cX0LBQYSnGQgsLSSzoWdiCHVvQ2fLP2fMtwf2vDz50K6TpVPxj/sn7Ni5iu9l6Tof+yd78yoWFQ0uvWYvVLK1h6e34B8RnY9DZnIW3LAijxpLYkZ6Fd+z4km3bYcd2WNry8ezppsZ5ZMd2+MfTv3xtjbr9/PfwyoFDzPvtq7I2t+Vq/m6pt4hxThVaojao1CANRkORmkwkiTCI00thKYWOzJJR+6V1JE8/z2JfqGgfW9jLPPLg7a9Xe8frHs7j5MVXESxfmLS5KYXmxhQ3z/a4icQNRFtEGlwjJkoRIamTmIKNTE+it57kw0sF+1ah3CkSXkiPf42Htl+3WL/2+vIFJ6ishJ3QXD1o9dEhVCcGbS7ModUcakwrigaKChkoYmQK2XMp5L8V/F7DfuDePYrEcv8f7npdnDcksEvkg9RewquhuayTcHzQeCyJXpFVD2fRzSxCFtkuwqks8mjB/ujYr9y6k0gs9528503X/w/F3eUgyIBI4wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNS0xMFQxOToyODozMyswMDowMEzeSx4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMTBUMTk6Mjg6MzMrMDA6MDA9g/OiAAAARnRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA2LjcuOC05IDIwMTQtMDUtMTIgUTE2IGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jn3IbtAAAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpoZWlnaHQAMTkyDwByhQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAAxOTLTrCEIAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2MjA2NzQ5MTMk8oswAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAVnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vbW50bG9nL2Zhdmljb25zLzIwMjEtMDUtMTAvOGIxNDNhYjgwODhkMjBlZThkYmUzOTFhN2NkNmQ3NmQuaWNvLnBuZ9msgG0AAAAASUVORK5CYII=
709
- `;function sU(e,t){f.useEffect(()=>{if(document){document.title=`${e} - FireCMS`;let c=document.querySelector("link[rel~='icon']");c||(c=document.createElement("link"),c.rel="icon",document.getElementsByTagName("head")[0].appendChild(c)),c.href=t??lU}},[e,t])}const Ht=le.forwardRef(function(t,c){const{shrink:i,className:a,...l}=t,s={root:"origin-left transition-transform block whitespace-nowrap overflow-hidden text-overflow-ellipsis max-w-full",shrink:"transform translate-y-[2px] scale-75 translate-x-[12px]",expanded:"translate-x-[16px] top-0 transform translate-y-[16px] scale-100"},d=F(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Yn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:u,style:A,inputClassName:_,preventOpenOnFocus:h,invisible:g})=>{const y=f.useRef(null),{locale:I}=ee(),b=f.useRef(null),[p,w]=f.useState(document.activeElement===b.current),k=e!=null,m=e!=null&&!(e instanceof Date);vn("DateTimeField",dU);const v=S=>{S.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:F("rounded-md relative max-w-full",!g&&Xe,i?nn:Ye,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(Ht,{className:F("absolute top-1 pointer-events-none",s?"text-red-500 dark:text-red-600":p?"text-primary":"text-text-secondary dark:text-text-secondary-dark",i?"opacity-50":""),shrink:k||p,children:t}),n.jsx(cr,{ref:y,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:F(je,"my-4 shadow"),onClick:S=>S.stopPropagation(),onFocus:()=>w(!0),onBlur:()=>w(!1),showTimeSelect:l==="date_time",timeFormat:"HH:mm",timeIntervals:15,timeCaption:"time",dateFormat:l==="date_time"?"Pp":"P",preventOpenOnFocus:!0,className:F("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!g&&Ie,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",_,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(R,{onClick:()=>y.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(ac,{color:"disabled"})}),a&&e&&n.jsx(R,{onClick:v,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(dn,{})})]}),m&&n.jsx(me,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},dU=`
708
+ `;function _a({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:g,disabled:h}){if(ee(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const _=d.expanded===void 0?!0:d.expanded;Le({property:d,value:t,setValue:l});const y=n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:d.name}),I=d.resolvedProperties.map((b,p)=>{const w={propertyKey:`${e}[${p}]`,disabled:h,property:b,includeDescription:u,underlyingValueHasChanged:A,context:g,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(Sn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(hn,{initiallyExpanded:_,title:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:h,property:d})]})}const V3=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Pe.useFormikContext();return f.useEffect(()=>{const a=Object.keys(i);if(a.length>0&&t&&!c){const l=e?.current?.querySelector(`#form_field_${a[0]}`);if(l&&e?.current){const s=ha(e.current);if(s){const u=l.getBoundingClientRect().top;s.scrollTo({top:s.scrollTop+u-64,behavior:"smooth"})}const d=l.querySelector("input");d&&d.focus()}}},[t,c,i,e]),null},W3=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},ha=e=>!e||e===document.body?document.body:W3(e)?e:ha(e.parentNode);function G3({customId:e,entityId:t,status:c,onChange:i,error:a,entity:l}){const s=c==="existing"||!e,d=c!=="existing"&&!e,u=f.useMemo(()=>{if(!(!e||typeof e=="boolean"||e==="optional"))return yn(e)},[e]),A=An(),{copy:g}=Na({onSuccess:y=>A.open({type:"success",message:`Copied ${y}`})}),h=ee(),_={label:d?"ID is set automatically":"ID",disabled:s,name:"id",value:(l&&c==="existing"?l.id:t)??"",endAdornment:l?n.jsxs(n.Fragment,{children:[n.jsx(ye,{title:"Copy",children:n.jsx(R,{onClick:y=>g(l.id),"aria-label":"copy-id",children:n.jsx(xn,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(ye,{title:"Open in the console",children:n.jsx(R,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:y=>y.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(Rn,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(xe,{error:a,onValueChange:y=>i(y),..._,renderValue:y=>{const I=u.find(b=>b.id===y);return I?`${I.id} - ${I.label}`:y},children:u.map(y=>n.jsx(Re,{value:String(y.id),children:n.jsx(Fe,{enumKey:y.id,enumValues:u,size:"medium"})},y.id))}),!u&&n.jsx(tn,{..._,error:a,placeholder:e==="optional"?"Autogenerated ID, it can be manually changed":c==="new"||c==="copy"?"ID of the new document":"ID of the document",onChange:y=>{let I=y.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(Pe.ErrorMessage,{name:"id",component:"div",children:y=>"You need to specify an ID"})]})}const Ia=f.memo(z3,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function z3({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:g,autoSave:h,onIdUpdateError:_}){const y=ee(),I=We(),b=y.plugins,p=f.useMemo(()=>Te({collection:c,path:t,values:i?.values,fields:y.propertyConfigs}),[i?.values,t]),w=(e==="new"||e==="copy")&&!!p.customId&&p.customId!=="optional",k=f.useMemo(()=>e==="new"||e==="copy"?w?void 0:I.generateEntityId(t):i?.id,[]),m=f.useRef(!1),v=f.useMemo(()=>{const O=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??to(O);if(e==="new")return to(O);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[S,K]=f.useState(k),[C,P]=f.useState(!1),[E,T]=f.useState(),B=f.useRef(i?.values??v),D=B.current,[N,W]=f.useState(D),z=O=>{W(O),d&&d(O),h&&O&&!se(O,D)&&V(O)};f.useEffect(()=>{S&&u&&u(S)},[S,u]);const q=Te({collection:c,path:t,entityId:S,values:N,previousValues:D,fields:y.propertyConfigs}),ne=q.callbacks?.onIdUpdate;f.useEffect(()=>{if(ne&&N&&(e==="new"||e==="copy"))try{const O=ne({collection:q,path:t,entityId:S,values:N,context:y});K(O)}catch(O){_&&_(O),console.error(O)}},[S,N,e]);const H=f.useMemo(()=>D&&e==="existing"?Object.entries(q.properties).map(([O,$])=>{if(ro($))return{};const oe=D[O],j=v[O];return se(oe,j)?{}:{[O]:j}}).reduce((O,$)=>({...O,...$}),{}):{},[v,q.properties,D,e]),V=O=>a({collection:q,path:t,entityId:S,values:O,previousValues:i?.values,closeAfterSave:m.current,autoSave:h??!1}).then($=>{const oe=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";y.onAnalyticsEvent?.(oe,{path:t}),B.current=O}).catch($=>{console.error($),T($)}).finally(()=>{m.current=!1}),te=(O,$)=>{if(w&&!S){console.error("Missing custom Id"),P(!0),$.setSubmitting(!1);return}if(T(void 0),P(!1),e==="existing"){if(!i?.id)throw Error("Form misconfiguration when saving, no id for existing entity")}else if(e==="new"||e==="copy"){if(q.customId&&q.customId!=="optional"&&!S)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");V(O)?.then(oe=>{$.resetForm({values:O,submitCount:0,touched:{}})}).finally(()=>{$.setSubmitting(!1)})},U=f.useCallback(({name:O,value:$,property:oe})=>I.checkUniqueField(t,O,$,S),[I,t,S]),J=f.useMemo(()=>S?Ei(S,q.properties,U):void 0,[S,q.properties,U]),de=un(),Y=f.useCallback(({entity:O,customEntityActions:$})=>{const oe=Un(q,de,ze(t),null),j=O?xo(q,de,ze(t),O):!0,M=[];return oe&&M.push(Gi),j&&M.push(zi),$&&M.push(...$),M},[de,q,t]);return n.jsx(Pe.Formik,{initialValues:v,onSubmit:te,validationSchema:J,validate:O=>console.debug("Validating",O),onReset:()=>l&&l(),children:O=>{const $=[],oe={setFieldValue:O.setFieldValue,values:O.values,collection:Te({collection:q,path:t,fields:y.propertyConfigs}),entityId:S,path:t,save:V};if(f.useEffect(()=>{A&&A(oe)},[A,oe]),b&&q){const j={entityId:S,path:t,status:e,collection:c,context:y,currentEntityId:S,formContext:oe};$.push(...b.map((M,L)=>M.form?.Actions?n.jsx(M.form.Actions,{...j},`actions_${M.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[$.length>0&&n.jsx("div",{className:F("w-full flex justify-end items-center sticky top-0 right-0 left-0 z-10 bg-opacity-60 bg-slate-200 dark:bg-opacity-60 dark:bg-slate-800 backdrop-blur-md"),children:$}),n.jsxs("div",{className:"pl-4 pr-4 pt-12 pb-16 md:pl-8",children:[n.jsx("div",{className:`w-full py-2 flex items-center mt-${4+($?8:0)} lg:mt-${8+($?8:0)} mb-8`,children:n.jsx(Z,{className:"mt-4 flex-grow "+q.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:q.singularName??q.name})}),!g&&n.jsx(G3,{customId:q.customId,entityId:S,status:e,onChange:K,error:C,entity:i}),S&&n.jsx(H3,{...O,initialValues:D,onModified:s,onValuesChanged:z,underlyingChanges:H,entity:i,resolvedCollection:q,formContext:oe,status:e,savingError:E,closeAfterSaveRef:m,autoSave:h,entityActions:Y({entity:i,customEntityActions:q.entityActions})})]})]})}})}function H3(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:g,status:h,handleSubmit:_,savingError:y,dirty:I,closeAfterSaveRef:b,autoSave:p,entityActions:w}=e,k=ee(),m=w.filter(E=>E.includeInForm===void 0||E.includeInForm),v=fn(),S=I;f.useEffect(()=>{c&&c(S),i&&i(t)},[S,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([E,T])=>{const B=t[E];!se(T,B)&&!d[E]&&(console.debug("Updated value from the datasource:",E,T),u(E,T!==void 0?T:null))})},[p,a,s,t,d,u]);const K=n.jsx("div",{className:"flex flex-col gap-8",children:(A.propertiesOrder??Object.keys(A.properties)).map(E=>{const T=A.properties[E];if(!T)return console.warn(`Property ${E} not found in collection ${A.name}`),null;const B=!!a&&Object.keys(a).includes(E)&&!!d[E],D=!p&&g||On(T)||!!T.disabled;if(ro(T))return null;const W={propertyKey:E,disabled:D,property:T,includeDescription:T.description||T.longDescription,underlyingValueHasChanged:B&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${E}`,children:n.jsx(ae,{children:n.jsx(Sn,{...W})})},`field_${A.name}_${E}`)}).filter(Boolean)}),C=g||!S&&h==="existing",P=f.useRef(null);return n.jsxs(Pe.Form,{onSubmit:_,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:P,children:[K,n.jsx(V3,{containerRef:P})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(En,{position:"absolute",children:[y&&n.jsx("div",{className:"text-right",children:n.jsx(Z,{color:"error",children:y.message})}),s&&m.length>0&&n.jsx("div",{className:"flex-grow flex overflow-auto no-scrollbar",children:m.map(E=>n.jsx(R,{color:"primary",onClick:T=>{T.stopPropagation(),s&&E.onClick({entity:s,fullPath:A.path,collection:A,context:k,sideEntityController:v})},children:E.icon},E.name))}),n.jsx(ie,{variant:"text",disabled:C,type:"reset",children:h==="existing"?"Discard":"Clear"}),n.jsxs(ie,{variant:"text",color:"primary",type:"submit",disabled:C,onClick:()=>{b.current=!1},children:[h==="existing"&&"Save",h==="copy"&&"Create copy",h==="new"&&"Create"]}),n.jsxs(ie,{variant:"filled",color:"primary",type:"submit",disabled:C,onClick:()=>{b.current=!0},children:[h==="existing"&&"Save and close",h==="copy"&&"Create copy and close",h==="new"&&"Create and close"]})]})]})}function ba(e){return Object.keys(Ft).includes(e)}const Ft={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Dc,color:"#2d7ff9",property:{dataType:"string",Field:Hn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Nc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Hn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:pc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:ga}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:kc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Hn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:yc,color:"#154fb3",property:{dataType:"string",email:!0,Field:Hn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Kc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:pt}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Sc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:vt}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Ec,color:"#bec920",property:{dataType:"number",Field:Hn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:mr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:pt}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:mr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:vt}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Tc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Ct}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:fc,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Ct}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Cc,color:"#ff0042",property:{dataType:"reference",Field:da}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:tc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:ia}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:bc,color:"#20d9d2",property:{dataType:"boolean",Field:la}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Pc,color:"#8b46ff",property:{dataType:"date",Field:sa}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:br,color:"#ff9408",property:{dataType:"map",properties:{},Field:ua}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:br,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:fa}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:Kr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Aa}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:Kr,color:"#ff9408",property:{dataType:"array",of:[],Field:_a}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Mc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:ya}}};function Zo(e,t){const c=Dt(e),i=Pt(e);if(!i){console.error("No field id found for property",e);return}const a=Ft[i],l=c?t[c]:void 0;return Ge(a??{},l??{})}function Pt(e){if(e.dataType==="string")return e.multiline?"multiline":e.markdown?"markdown":e.storage?"file_upload":e.url?"url":e.email?"email":e.enumValues?"select":"text_field";if(e.dataType==="number")return e.enumValues?"number_select":"number_input";if(e.dataType==="map"){if(e.keyValue)return"key_value";if(e.properties)return"group"}else if(e.dataType==="array"){const t=e.of;return e.oneOf?"block":Array.isArray(t)?"custom_array":Ee(t)?"repeat":t?.dataType==="string"&&t.enumValues?"multi_select":t?.dataType==="number"&&t.enumValues?"multi_number_select":t?.dataType==="string"&&t.storage?"multi_file_upload":t?.dataType==="reference"?"multi_references":"repeat"}else{if(e.dataType==="boolean")return"switch";if(e.dataType==="date")return"date_time";if(e.dataType==="reference")return"reference"}console.error("Unsupported field config mapping",e)}function Dt(e){return e.propertyConfig?e.propertyConfig:Pt(e)}const Te=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=gn(d,"properties"),A=to(e.properties),g=i??A,h=a??i??A,_=Object.entries(e.properties).map(([b,p])=>{const w=g?Pe.getIn(g,b):void 0;return{[b]:Me({propertyKey:b,propertyOrBuilder:p,values:g,previousValues:h,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),y=Ge(_,u),I=Object.entries(y).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:I,originalCollection:e}};function Me({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Ee(e)){const l=i.path;if(!l)throw Error("Trying to resolve a property builder without specifying the entity path");const s=e({...i,path:l,propertyValue:t,values:i.values??{},previousValues:i.previousValues??i.values??{}});if(!s)return console.debug("Property builder not returning `Property` so it is not rendered",l,i.entityId,e),null;a=Me({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=Nt({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=In({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=Tt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.propertyConfig&&!ba(a.propertyConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.propertyConfig} that inherits from a custom property config but no custom property configs were provided. Use the property \`propertyConfigs\` in your app config to provide them`);const s=l[a.propertyConfig];if(!s)return console.warn(`Trying to resolve a property with key ${a.propertyConfig} that inherits from a custom property config but no custom property config with that key was found. Check the \`propertyConfigs\` in your app config`),console.warn("Available property configs",l),null;if(s.property){const d=s.property;"propertyConfig"in d&&delete d.propertyConfig;const u=Me({propertyOrBuilder:d,propertyValue:t,...i});u&&(a=Ge(u,a))}}return a?{...a,resolved:!0}:null}function In({propertyKey:e,property:t,propertyValue:c,...i}){if(t.of){if(Array.isArray(t.of))return{...t,resolved:!0,fromBuilder:i.fromBuilder,resolvedProperties:t.of.map((a,l)=>Me({propertyKey:`${e}.${l}`,propertyOrBuilder:a,propertyValue:Array.isArray(c)?c[l]:void 0,...i,index:l}))};{const a=t.of,l=Array.isArray(c)?c.map((d,u)=>Me({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=Me({propertyKey:`${e}`,propertyOrBuilder:a,propertyValue:void 0,...i});if(!s)throw Error("When using a property builder as the 'of' prop of an ArrayProperty, you must return a valid child property");return{...t,resolved:!0,fromBuilder:i.fromBuilder,of:s,resolvedProperties:l}}}else if(t.oneOf){const a=t.oneOf?.typeField??oo,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],g=t.oneOf?.properties[A];return!A||!g?null:Me({propertyKey:`${e}.${u}`,propertyOrBuilder:g,propertyValue:c,...i})}).filter(d=>!!d):[],s=Nt({properties:t.oneOf.properties,propertyValue:void 0,...i});return{...t,resolved:!0,oneOf:{...t.oneOf,properties:s},fromBuilder:i.fromBuilder,resolvedProperties:l}}else{if(t.Field)return{...t,resolved:!0,fromBuilder:i.fromBuilder};throw Error("The array property needs to declare an 'of' or a 'oneOf' property, or provide a custom `Field`")}}function Nt({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Me({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?gn(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function Tt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:yn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function U3(e){return typeof e=="object"?Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:c):Array.isArray(e)?e:void 0}function Mt(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function pa(e,t){const c=Me({propertyKey:"ignore",propertyOrBuilder:e,fields:t});return c?c.dataType==="reference"?!0:c.dataType==="array"?Array.isArray(c.of)?!1:c.of?.dataType==="reference":!1:null}function Y3(e){return n.jsx(pr,{size:e})}function Ot(e,t){const c=e?.Icon??pr;return n.jsx(c,{size:t})}function ve(e,t="small",c={}){if(Ee(e))return n.jsx(wc,{size:t});{const i=Zo(e,c);return Ot(i,t)}}function j3(e,t){return Ee(e)?"#888":Zo(e,t)?.color??"#666"}function Bn(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(typeof i=="object"&&i.dataType==="map"&&i.properties)return Bn(i.properties,c.slice(1).join("."))}}}function Lt(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(i.dataType==="map"&&i.properties)return Lt(i.properties,c.slice(1).join("."))}}}function $3(e){return e.replace(/\.([^.]*)/g,"[$1]")}function wa(e,t){if(!t)return e;const c={};return t.filter(Boolean).forEach(i=>{const a=Bn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:wa(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function q3(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.key)]}const Xo={read:!0,edit:!0,create:!0,delete:!0};function uo(e,t,c,i){const a=e.permissions;if(a===void 0)return Xo;if(typeof a=="object")return a;if(typeof a=="function")return a({entity:i,user:t.user,authController:t,collection:e,pathSegments:c});throw console.error("Permissions:",a),Error("New type of permission added and not mapped")}function Qt(e,t,c,i){return uo(e,t,c,i).edit??Xo.edit}function Un(e,t,c,i){return uo(e,t,c,i).create??Xo.create}function xo(e,t,c,i){return uo(e,t,c,i).delete??Xo.delete}function ka(e,t){if(e&&(e=No(e),e in er))return e in er?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Ro(e,t){const c=ka(e.icon,t);if(e?.icon&&c)return c;let i=No(("singularName"in e?e.singularName:void 0)??e.name),a;i in er&&(a=i),a||(i=No(e.path),i in er&&(a=i));const l=_r.length;return a||(a=_r[Oc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const er=rc.reduce((e,t)=>(e[t]=t,e),{});function J3(e,t){if(t!==void 0&&t===1)return e;const c={"(quiz)$":"$1zes","^(ox)$":"$1en","([m|l])ouse$":"$1ice","(matr|vert|ind)ix|ex$":"$1ices","(x|ch|ss|sh)$":"$1es","([^aeiouy]|qu)y$":"$1ies","(hive)$":"$1s","(?:([^f])fe|([lr])f)$":"$1$2ves","(shea|lea|loa|thie)f$":"$1ves",sis$:"ses","([ti])um$":"$1a","(tomat|potat|ech|her|vet)o$":"$1oes","(bu)s$":"$1ses","(alias)$":"$1es","(octop)us$":"$1i","(ax|test)is$":"$1es","(us)$":"$1es","([^s]+)$":"$1s"},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${l}$`,"i"),d=i[l];if(s.test(e))return e.replace(s,d)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Z3(e,t){if(t!==void 0&&t!==1)return e;const c={"(quiz)zes$":"$1","(matr)ices$":"$1ix","(vert|ind)ices$":"$1ex","^(ox)en$":"$1","(alias)es$":"$1","(octop|vir)i$":"$1us","(cris|ax|test)es$":"$1is","(shoe)s$":"$1","(o)es$":"$1","(bus)es$":"$1","([m|l])ice$":"$1ouse","(x|ch|ss|sh)es$":"$1","(m)ovies$":"$1ovie","(s)eries$":"$1eries","([^aeiouy]|qu)ies$":"$1y","([lr])ves$":"$1f","(tive)s$":"$1","(hive)s$":"$1","(li|wi|kni)ves$":"$1fe","(shea|loa|lea|thie)ves$":"$1f","(^analy)ses$":"$1sis","((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$":"$1$2sis","([ti])a$":"$1um","(n)ews$":"$1ews","(h|bl)ouses$":"$1ouse","(corpse)s$":"$1","(us)es$":"$1",s$:""},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${i[l]}$`,"i");if(s.test(e))return e.replace(s,l)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function ma(e,t,c,i=3){const a=Object.keys(e.properties);let l=c?.filter(s=>a.includes(s));return l&&l.length>0?l:(l=a,l.filter(s=>{const d=e.properties[s];return d&&!Ee(d)&&!pa(d,t)}).slice(0,i))}function Vt(e,t=""){return e&&Object.keys(e).reduce((c,i)=>{const a=t?`${t}.${i}`:i;return typeof e[i]=="object"&&e[i]!==null?Array.isArray(e[i])?e[i].forEach((l,s)=>{Object.assign(c,Vt(l,`${a}[${s}]`))}):Object.assign(c,Vt(e[i],a)):c[a]=e[i],c},{})}function va(e){return e.reduce((t,c)=>(Object.entries(c).forEach(([i,a])=>{if(Array.isArray(a)&&(t[i]=Math.max(t[i]||0,a.length)),typeof a=="object"&&a!==null){const l=va([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Ca(e){return Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Ca(c.properties)}),e}function Ka(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Ee(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:Ka(i.properties)};t[c]=a}return Ee(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function Sa(e,t,c=[],i){const a=(t??[]).map(s=>{const d=e?.find(u=>u.id===s.id);return d?Ba(d,s,c,i):i?i({collection:s,parentPaths:c})??s:s}),l=e.filter(s=>!a.map(d=>d.id).includes(s.id)).map(s=>i?i({collection:s,parentPaths:c})??s:s);return[...a,...l]}function Ba(e,t,c=[],i){const a=Sa(e?.subcollections??[],t?.subcollections??[],[...c,e.path],i),l={...e.properties};Object.keys(t.properties).forEach(_=>{const y=e.properties[_];y?l[_]=Ea(y,t.properties[_]):l[_]=t.properties[_]});const s=Ge(e,t),d=Fa(e),u=Fa(t),A=[...new Set([...u,...d])],g=[...new Set([...e.entityViews??[],...t.entityViews??[]])];let h={...s,subcollections:a,properties:Or(l,A),propertiesOrder:A,entityViews:g};if(i){const _=i({collection:h,parentPaths:c});_&&(h=_)}return h}function Ea(e,t){if(Ee(t))return t;{const c=Ge(e,t),i=!!e.editable,a=!!t.editable;if(t.dataType==="map"&&t.properties){const l="properties"in e?e.properties:{},s="properties"in t?t.properties:{},d="propertiesOrder"in e&&e.propertiesOrder?e.propertiesOrder:Object.keys(l),u="propertiesOrder"in t&&t.propertiesOrder?t.propertiesOrder:"properties"in t?Object.keys(t.properties):[],A=[...new Set([...d,...u])],g={...l};return Object.keys(t.properties).forEach(h=>{const _=l[h];_&&(g[h]=Ea(_,s[h]))}),{...c,editable:i&&a,properties:g,propertiesOrder:A}}return{...c,editable:i&&a}}}function Fa(e){if(e.propertiesOrder&&e.propertiesOrder.length>0){const t=e.propertiesOrder;return e.additionalFields&&e.additionalFields.forEach(c=>{t.includes(c.key)||t.push(c.key)}),t}return[...Object.keys(e.properties),...(e.additionalFields??[])?.map(t=>t.key)]}function X3(e){return e}function x3(e){return e}function R3(e){return e}function eU(e){return e}function nU(e){return e}function oU(e){return e}function rU(e){return e}function tU(e){return e}function cU(e){return e}async function Wt({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:g,onSaveSuccessHookError:h}){let _;const y=d.navigation.resolveAliasesFrom(t),I=e.callbacks;if(I?.onPreSave)try{const b=Te({collection:e,path:t,values:a,entityId:c,fields:d.propertyConfigs});_=await I.onPreSave({collection:b,path:t,resolvedPath:y,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),g&&g(b);return}else _=i;return s.saveEntity({collection:e,path:y,entityId:c,values:_,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Te({collection:e,path:t,values:_,entityId:c,fields:d.propertyConfigs});I.onSaveSuccess({collection:p,path:t,resolvedPath:y,entityId:b.id,values:_,previousValues:a,status:l,context:d})}}catch(p){h&&h(p)}u&&u(b)}).catch(b=>{if(I?.onSaveFailure){const p=Te({collection:e,path:t,values:_,entityId:c,fields:d.propertyConfigs});I.onSaveFailure({collection:p,path:t,resolvedPath:y,entityId:c,values:_,previousValues:a,status:l,context:d})}A&&A(b)})}async function Pa({dataSource:e,entity:t,collection:c,callbacks:i,onDeleteSuccess:a,onDeleteFailure:l,onPreDeleteHookError:s,onDeleteSuccessHookError:d,context:u}){console.debug("Deleting entity",t.path,t.id);const A={entity:t,collection:c,entityId:t.id,path:t.path,context:u};if(i?.onPreDelete)try{await i.onPreDelete(A)}catch(g){return console.error(g),s&&s(t,g),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(g){return d&&d(t,g),!1}}).catch(g=>(l&&l(t,g),!1))}function Le({property:e,value:t,setValue:c}){const i=f.useRef(null);f.useEffect(()=>{typeof e.disabled=="object"&&!!e.disabled.clearOnDisabled?t!=null&&(i.current=t,c(null)):i.current&&(c(i.current),i.current=null)},[e])}function Da({path:e,context:t}){const c=t.dataSource,i=t.navigation;if(!i)throw Error("Calling getNavigationFrom, but main navigation has not yet been initialised");const l=At({path:e,collections:i.collections??[]}).map(s=>{if(s.type==="collection")return Promise.resolve(s);if(s.type==="entity"){const d=i.getCollection(s.path,s.entityId);if(!d)throw Error(`No collection defined in the navigation for the entity with path ${s.path}`);return c.fetchEntity({path:s.path,entityId:s.entityId,collection:d}).then(u=>{if(u)return{...s,entity:u}})}else{if(s.type==="custom_view")return Promise.resolve(s);throw Error("Unmapped element in useEntitiesFromPath")}}).filter(s=>!!s);return Promise.all(l)}function iU({path:e}){const t=ee(),[c,i]=f.useState(),[a,l]=f.useState(!1),[s,d]=f.useState();return f.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Da({path:e,context:t}).then(A=>{i(A)}).catch(A=>d(A)).finally(()=>l(!1)))},[e,t]),t.navigation?{data:c,dataLoading:a,dataLoadingError:s}:{dataLoading:!0}}const Gt=()=>f.useContext(zo),Na=e=>{const{onSuccess:t,onError:c,disableClipboardAPI:i=!1,copiedDuration:a}=e||{},l=f.useRef(null),[s,d]=f.useState(!1),[u,A]=f.useState("");f.useEffect(()=>{a&&setTimeout(()=>d(!1),a)},[s]);const g=()=>navigator.clipboard!==void 0,h=f.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),_=f.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),y=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>_(k)).catch(m=>{h(m),d(!1)})},[h,_]),I=()=>{g()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=f.useCallback((k="copy",m)=>{const v=l.current,S=v&&(v.tagName==="INPUT"||v.tagName==="TEXTAREA"),K=l.current;g()&&!i&&(m?y(m):v?S?(y(K.value),k==="cut"&&(K.value="")):y(v.innerText):h("Both the ref & text were undefined"))},[i,y,h]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:I,isSupported:g,copy:b,cut:p}},zt=()=>f.useContext(Ui),aU={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},He=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${aU[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function fo(e){const t=Ae(),c=no(),i=f.useCallback(()=>{if(e.path){let l=e.collection;if(l||(l=t.getCollection(e.path)),!l)throw Error("Not able to resolve the collection in useReferenceDialog");c.open({key:`reference_${e.path}`,component:n.jsx(xi,{collection:l,...e}),width:"90vw",onClose:()=>{e.onClose?.()}})}else throw Error("useReferenceDialog: You are trying to open a reference dialog, but have not declared the `path`")},[t,e,c]),a=f.useCallback(()=>{c.close()},[c]);return{open:i,close:a}}const lU=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAAB9pJREFUWMONl12obVUVx39jzLk+9j7nHq9y1QT1qpcbSIaXQFGs24PQl3HroSQyqHwJFJF6qaceCsqQoJdELHoIC6EeJCSKsi/TFLGozGsKXksljRLxnrP3WmvOOUYPa+19zsmPWpux5pxrzTX///Exx5hb+B/X1y+/nuIlVKF5m0v1YbQ55tIcKTQXFerNQkumOZ1oTiXCqUH8saR+74L8ZIWWux7+7JuuL2/04s5jJyhWQlXV71KtbhCtr1WtD6s0KlrjNBRaEi3JGzpv6bymQ0sn9mwv9otB7Ls7kn9Xo+U7D9z8/xG4+bz3cs35SjE/HEK8NWr8RBOrs+tQUUlEtAYaijRkbxmY0fuMzucsfcbSWnZQtiWxJL3Uid09iH0jIM8/1f+d3/zuS29M4PvHrmG+cZA8dMdjiLfNYrx6owrMVKlVUQkgkeI1iYbBJ3A2WPpKNtnx+UQisy29L0gPDGKfrwkPn2bJPfd/Zo0ZVp0fvOOdnLGxheX+A/Mq3nGwqS8/q645o4psxkgbhFqdSgqVJKIkghgqjuDoWh+dlm1AI0gUC3o4C9d04idbmZ06euQDPPHMj3YJ3HnkrZx98Fys2PFZ1dxxsJkdPbOecaBqmcWGqBVBIkEiKkoQJ5IJJBTbY8aRgBMwjxgVJoJJwDScnYUrOy2PBamfv/CS4zz9zE+IAIfPuQQzPzyrmq9u1e3RM+qWeaipNCCiE4DjbjgF94xZQj2htpjeK84ImqlIUpO9JllgEKgJDFpfOoh8paN8chbOeQ4g/OTq97PdLXSz3fjiVjO7/sx6g804ow41QWuCrjQPBB3bkZQgAkpBJOMojmIEjIgRKV6RpaYIZHGKQlK5OIv0L8bul8eOfsxjDJGD8613z6rmhq1qxkY1o9YKFUFEEED2xqoE1MNoWgPBwQZMl2SrSbQM9NQyUMlA5S3Rlcqd6E50RdRvPMvn9yE8qP9+9WWtQvXxzdic8xrwPaJrUYJGoq4sVBM1Ukuiln4UBipJVJrGoHUhrARB0XMQ/cizbSd61uaZlzUhXjuvWmqt9oOyAmUPEabnkSDV2j0Rp2YgksZdQpoCtRBwAiN4cKYdw4m3pNnbY9Tw4SZUh9tQEda+ld1WpmThgoivU8fYDbgEggRcleiZ6BOoFNRXLQQX1Eelggsgh8GPx6DhWB2iRgkj2OTuVX8dBzJtMx93BAKK4hIwUUSEID4BGspecWTfDwSCw+UxqByJoqPf9+xmYWQg7H3u+5Poyk3o5BZDxRBxxH29fdkF3YcBXKHgF+m+hLxn4OvbnnbPzMkjsm/+f5cXec2ye6ZfpO6+OX7pE8TqPj1zcN/7Zu8CDm44Bu6skrKjuOs0FlxWCJNMYxMOqLlR3DAvsAKaZo6t7+u7r6nhjN/5RKIQKESKhykhjeIINgJi+0m4Fiuns2WKZQybtJ2AfAWzGu/ayt0wz5gXimeKQyKSPI4kiCMhDxSgyLiOiY9kxnW2NVs+1ZeBbAmzhLmtgd0d8z1k1mIUTxQbKD5gnkmuDN6QvCF5TaIie0UmkIU1id3WcfwZHUo61eWB3gayDdOiZR+JXUuMWmcbyGWcny2RzOi8obeWwRsGrxm8JlGPBHCyOJmpJkwkHHs09pnfL1L60KLqtBKZtprhU+lVmSq9+xRsBfOMW6L4QLFM7zWdz+l8Ru8tA+10YKlJIiSxkcC6dQqlmJc/xaHIvTuZT7UpHalFUHEqL6iGsfKtM8FEzMdy7J4oXui9mk5CczpGErtEKgacQUZJE3gSwzw/i+dfx2G7e6IcOPALCXIkakGkYx4iwceyq+uENPp+RSI7DN7Q+5ylb7JgJLH0+XRGbOlRerWJwNgmnOwJ83Tvq/7KX2KZb1nJfnfp5YRoda7hFC/MQyGI7Mteow2E4pHkDT2zyfS758HV4bSjolOjF2PYS4KBbN2L5vmHZ7DpsWQnDsvfLj1+Lwufy9LSO2y5M1Mnik8OEJxAoSJRk7xhoKX3+URiztI3WPgGS2/p1OnE6CcSvRQGH+htQfH07dPSP7Lp9ajcNy+9DnG/oMT67qqZHz/QtGxVyjworQqVCIjiPiaaTD1ttZZ+fTIeCXQ+Y6HCQm0tO5LYpmfHlyy9/1nCPi3ICw/99JbxUHrdvxr6Q4depdhTfeGapVeH+imKxwhv6ZnR+5zeN0aNGU2+ZIPON0cX0LBQYSnGQgsLSSzoWdiCHVvQ2fLP2fMtwf2vDz50K6TpVPxj/sn7Ni5iu9l6Tof+yd78yoWFQ0uvWYvVLK1h6e34B8RnY9DZnIW3LAijxpLYkZ6Fd+z4km3bYcd2WNry8ezppsZ5ZMd2+MfTv3xtjbr9/PfwyoFDzPvtq7I2t+Vq/m6pt4hxThVaojao1CANRkORmkwkiTCI00thKYWOzJJR+6V1JE8/z2JfqGgfW9jLPPLg7a9Xe8frHs7j5MVXESxfmLS5KYXmxhQ3z/a4icQNRFtEGlwjJkoRIamTmIKNTE+it57kw0sF+1ah3CkSXkiPf42Htl+3WL/2+vIFJ6ishJ3QXD1o9dEhVCcGbS7ModUcakwrigaKChkoYmQK2XMp5L8V/F7DfuDePYrEcv8f7npdnDcksEvkg9RewquhuayTcHzQeCyJXpFVD2fRzSxCFtkuwqks8mjB/ujYr9y6k0gs9528503X/w/F3eUgyIBI4wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNS0xMFQxOToyODozMyswMDowMEzeSx4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMTBUMTk6Mjg6MzMrMDA6MDA9g/OiAAAARnRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA2LjcuOC05IDIwMTQtMDUtMTIgUTE2IGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jn3IbtAAAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpoZWlnaHQAMTkyDwByhQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAAxOTLTrCEIAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2MjA2NzQ5MTMk8oswAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAVnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vbW50bG9nL2Zhdmljb25zLzIwMjEtMDUtMTAvOGIxNDNhYjgwODhkMjBlZThkYmUzOTFhN2NkNmQ3NmQuaWNvLnBuZ9msgG0AAAAASUVORK5CYII=
709
+ `;function sU(e,t){f.useEffect(()=>{if(document){document.title=`${e} - FireCMS`;let c=document.querySelector("link[rel~='icon']");c||(c=document.createElement("link"),c.rel="icon",document.getElementsByTagName("head")[0].appendChild(c)),c.href=t??lU}},[e,t])}const Ht=le.forwardRef(function(t,c){const{shrink:i,className:a,...l}=t,s={root:"origin-left transition-transform block whitespace-nowrap overflow-hidden text-overflow-ellipsis max-w-full",shrink:"transform translate-y-[2px] scale-75 translate-x-[12px]",expanded:"translate-x-[16px] top-0 transform translate-y-[16px] scale-100"},d=F(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Yn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:u,style:A,inputClassName:g,preventOpenOnFocus:h,invisible:_})=>{const y=f.useRef(null),{locale:I}=ee(),b=f.useRef(null),[p,w]=f.useState(document.activeElement===b.current),k=e!=null,m=e!=null&&!(e instanceof Date);vn("DateTimeField",dU);const v=S=>{S.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:F("rounded-md relative max-w-full",!_&&Xe,i?nn:Ye,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(Ht,{className:F("absolute top-1 pointer-events-none",s?"text-red-500 dark:text-red-600":p?"text-primary":"text-text-secondary dark:text-text-secondary-dark",i?"opacity-50":""),shrink:k||p,children:t}),n.jsx(cr,{ref:y,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:F(je,"my-4 shadow"),onClick:S=>S.stopPropagation(),onFocus:()=>w(!0),onBlur:()=>w(!1),showTimeSelect:l==="date_time",timeFormat:"HH:mm",timeIntervals:15,timeCaption:"time",dateFormat:l==="date_time"?"Pp":"P",preventOpenOnFocus:!0,className:F("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!_&&Ie,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",g,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(R,{onClick:()=>y.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(ac,{color:"disabled"})}),a&&e&&n.jsx(R,{onClick:v,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(dn,{})})]}),m&&n.jsx(me,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},dU=`
710
710
  .react-datepicker__year-read-view--down-arrow,
711
711
  .react-datepicker__month-read-view--down-arrow,
712
712
  .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
@@ -1540,7 +1540,7 @@
1540
1540
  .react-datepicker__day--outside-month{
1541
1541
  color: #666 !important;
1542
1542
  }
1543
- `,uU={xs:"max-w-xs min-w-xs w-xs",sm:"max-w-sm min-w-sm w-sm",md:"max-w-md min-w-md w-md",lg:"max-w-lg min-w-lg w-lg",xl:"max-w-xl min-w-xl w-xl","2xl":"max-w-2xl min-w-2xl w-2xl","3xl":"max-w-3xl min-w-3xl w-3xl","4xl":"max-w-4xl min-w-4xl w-4xl","5xl":"max-w-5xl min-w-5xl w-5xl","6xl":"max-w-6xl min-w-6xl w-6xl","7xl":"max-w-7xl min-w-7xl w-7xl",full:"max-w-full min-w-full w-full"},nr=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg",modal:A=!0})=>{const[_,h]=f.useState(!1);return f.useEffect(()=>{if(e)return h(!0),()=>{};{const g=setTimeout(()=>{h(!1)},250);return()=>clearTimeout(g)}},[e]),n.jsx(Je.Root,{open:_||e,modal:A,onOpenChange:t,children:n.jsx(Je.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-30",children:[n.jsx(Je.Overlay,{className:F("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",_&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:_?"auto":"none"}}),n.jsx(Je.Content,{className:F("h-full outline-none flex justify-center items-center z-40 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:F(je,"z-30","relative","outline-none focus:outline-none",a&&!s?"w-11/12":void 0,l&&!s?"h-full":void 0,"text-gray-900 dark:text-white","justify-center items-center",s?"h-screen w-screen":"max-h-[90vh] shadow-xl","ease-in-out duration-200",d&&"overflow-y-auto",_&&e?"opacity-100":"opacity-0",u&&!s?uU[u]:void 0,i),children:c})})]})})})};function En({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:F(fe,"py-3 px-4 border-t flex flex-row items-center justify-end bottom-0 right-0 left-0 text-right z-2 gap-2",t,"bg-white bg-opacity-60 dark:bg-gray-900 dark:bg-opacity-60",c?"backdrop-blur-sm":"",i),children:e})}function or({children:e,className:t,fullHeight:c}){return c?n.jsx("div",{className:"flex-grow flex flex-col h-full relative",children:e}):n.jsx("div",{className:F("py-6 px-6 h-full flex-grow",t),children:e})}function fU({accept:e,onFilesAdded:t,onFilesRejected:c,maxSize:i,disabled:a,maxFiles:l,title:s,uploadDescription:d="Drag and drop a file here or click",children:u,preventDropOnDocument:A=!0,size:_}){const{getRootProps:h,getInputProps:g,isDragActive:y,isDragAccept:I,isDragReject:b}=ir.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...h(),className:F(Xe,Ye,Ie,"flex gap-2","p-4 box-border relative items-center border-2 border-solid border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",{"h-44":_==="medium","h-28":_==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!y,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-red-500":b,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-green-500":I}),children:[n.jsx(Z,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{...g()}),u,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(Z,{align:"center",variant:"label",children:d})})]})}const AU={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function yU({children:e,mode:t="info"}){return n.jsx("div",{className:F("my-3 py-2 px-4 rounded",AU[t]),children:e})}function Ta({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(ie,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Nn,{size:"small"}),!t&&a,e]})}const _U=new Zt({html:!0}),Ao=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>_U.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function jn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Zn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Zn.Trigger,{asChild:!0,children:t}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:F(je,"shadow py-2 z-30"),children:e})})]})}function Be({children:e,dense:t,onClick:c}){return n.jsx(Zn.Item,{className:F(Ie,c&&"cursor-pointer","rounded-md px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-900 flex items-center gap-4"),onClick:c,children:e})}function gU({children:e,style:t,className:c}){return n.jsx("div",{className:F(je,c),style:t,children:e})}function xe({inputRef:e,open:t,name:c,id:i,onOpenChange:a,value:l,onChange:s,onValueChange:d,onMultiValueChange:u,className:A,inputClassName:_,placeholder:h,renderValue:g,renderValues:y,label:I,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:m=!0,position:v="item-aligned",endAdornment:S,multiple:K,invisible:C,children:P,...E}){const[T,B]=f.useState(!1);f.useEffect(()=>{B(t??!1)},[t]);const D=f.useCallback(N=>{K?Array.isArray(l)&&l.includes(N)?u?.(l.filter(W=>W!==N)):u?.([...l??[],N]):d?.(N),!K&&s&&s({target:{name:c,value:N}})},[K,s,l,u,d]);return n.jsxs(Ze.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:T,disabled:k,onValueChange:D,onOpenChange:N=>{a?.(N),B(N)},...E,children:[typeof I=="string"?n.jsx(ca,{error:w,children:I}):I,n.jsxs("div",{className:F(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",C?ur:Xe,k?nn:Ye,"relative flex items-center",A),children:[n.jsxs(Ze.Trigger,{ref:e,id:i,className:F("w-full h-full",b==="small"?"h-[42px]":"h-[64px]",m?"px-4 ":"","outlin e-none focus:outline-none","select-none rounded-md text-sm",w?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",w?"border border-red-500 dark:border-red-600":"",k?"text-gray-600 dark:text-gray-400":"text-gray-800 dark:text-gray-200","relative flex items-center",p?Ie:"",_),children:[n.jsx(Ze.Value,{asChild:!0,children:n.jsxs("div",{className:F("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[g&&(l&&Array.isArray(l)?l.map((N,W)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:g?g(N,W):N},N)):typeof l=="string"?g?g(l,0):l:h),y&&(!l||Array.isArray(l))?y(l??[]):null,!g&&!y&&l]})}),n.jsx(Ze.Icon,{className:F("px-2 h-full flex items-center"),children:n.jsx(Co,{size:"small",className:F("transition",t?"rotate-180":"")})})]}),S&&n.jsx("div",{className:F("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:N=>N.stopPropagation(),children:S})]}),n.jsx(Ze.Portal,{children:n.jsx(Ze.Content,{position:v,className:"z-50 relative overflow-hidden border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx(Ze.Viewport,{className:"p-1",style:{maxHeight:"var(--radix-select-content-available-height)"},children:P})})})]})}function Re({value:e,children:t,disabled:c,className:i}){return n.jsxs(Ze.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:F("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",Ie,"focus:z-10","data-[state=checked]:bg-gray-100 data-[state=checked]:dark:bg-gray-900 focus:bg-gray-100 dark:focus:bg-gray-950","data-[state=checked]:focus:bg-gray-200 data-[state=checked]:dark:focus:bg-gray-950",c?"opacity-50 cursor-not-allowed":"cursor-pointer","[&>*]:w-full","overflow-visible",i),children:[n.jsx(Ze.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(lc,{size:16})})]},e)}function hU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx(Ze.Group,{className:F("text-xs text-gray-900 dark:text-gray-100 uppercase tracking-wider font-bold mt-6 first:mt-2","px-2 py-2",c),children:e}),t]})}function Ut({onTextSearch:e,placeholder:t="Search",expandable:c=!1,large:i=!1,className:a,autoFocus:l}){const[s,d]=f.useState(""),[u,A]=f.useState(!1),_=f.useDeferredValue(s);f.useEffect(()=>{e(_||void 0)},[_]);const h=f.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:F("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",fe,"rounded"),children:[n.jsx("div",{className:"absolute p-0 px-4 h-full absolute pointer-events-none flex items-center justify-center top-0",children:n.jsx(hr,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:g=>{d(g.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:F("relative flex items-center rounded transition-all bg-transparent outline-none appearance-none border-none","pl-12 h-full text-current ",c?u?"w-[220px]":"w-[180px]":"",Ie,a)}),s?n.jsx(R,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:h,children:n.jsx(dn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Yt=({children:e,side:t="right",open:c,onOpenChange:i,transparent:a,...l})=>{const[s,d]=f.useState(!1);f.useEffect(()=>{if(c)return d(!0),()=>{};{const A=setTimeout(()=>{d(!1)},250);return()=>clearTimeout(A)}},[c]);const u={top:"-translate-y-full",bottom:"translate-y-full",left:"-translate-x-full",right:"translate-x-full"};return n.jsx(Je.Root,{open:s||c,onOpenChange:i,children:n.jsxs(Je.Portal,{children:[n.jsx(Je.Overlay,{className:F("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",a?"bg-white bg-opacity-80":"bg-black bg-opacity-50","dark:bg-black dark:bg-opacity-60",s&&c?"opacity-100":"opacity-0"),style:{pointerEvents:s?"auto":"none"}}),n.jsx(Je.Content,{...l,className:F("will-change-transform","text-gray-900 dark:text-white","fixed transform z-20 transition-all duration-[240ms] ease-in-out","outline-none focus:outline-none",a?"":"shadow-md",t==="top"||t==="bottom"?"w-full":"h-full",t==="left"||t==="top"?"left-0 top-0":"right-0 bottom-0",s&&c?"opacity-100":"opacity-0",!s||!c?u[t]:""),children:e})]})})};function IU(){return n.jsxs("div",{role:"status",children:[n.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-primary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),n.jsx("span",{className:"sr-only",children:"Loading..."})]})}function tn({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:u,endAdornment:A,autoFocus:_,placeholder:h,size:g="medium",className:y,style:I,inputClassName:b,inputStyle:p,inputRef:w,...k}){const m=w??f.useRef(null),[v,S]=f.useState(document.activeElement===m.current),K=e!=null&&e!=="",C=f.useCallback(E=>{E.target.blur(),E.stopPropagation(),setTimeout(()=>{E.target.focus()},0)},[]),P=a?n.jsx(et,{...k,ref:m,placeholder:v||K||!c?h:void 0,autoFocus:_,rows:s,value:e??"",onChange:t,style:p,className:F(l?sr:Ie,"rounded-md resize-none w-full outline-none p-[32px] text-base bg-transparent min-h-[64px] px-3 pt-[28px]",d&&"border border-transparent outline-none opacity-50 text-gray-600 dark:text-gray-500")}):n.jsx("input",{...k,ref:m,onWheel:i==="number"?C:void 0,disabled:d,style:p,className:F("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?sr:Ie,d?nn:Ye,g==="small"?"min-h-[48px]":"min-h-[64px]",c?g==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",v?"text-text-primary dark:text-text-primary-dark":"",A?"pr-10":"pr-3",d&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-800 dark:text-gray-200",b),placeholder:v||K||!c?h:void 0,autoFocus:_,onFocus:()=>S(!0),onBlur:()=>S(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:F("rounded-md relative max-w-full",l?ur:Xe,d?nn:Ye,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&g==="small","min-h-[64px]":!l&&g==="medium"},y),style:I,children:[c&&n.jsx(Ht,{className:F("pointer-events-none absolute",g==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":v?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:K||v,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function Ma({value:e,onValueChange:t,className:c,children:i}){return n.jsx(lr.Root,{value:e,onValueChange:t,children:n.jsx(lr.List,{className:F("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function rr({value:e,className:t,children:c,disabled:i}){return n.jsx(lr.Trigger,{value:e,disabled:i,className:F(Ie,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":F("text-gray-700 dark:text-gray-300","data-[state=active]:text-gray-900 data-[state=active]:dark:text-gray-100","hover:text-gray-800 dark:hover:text-gray-200"),t),children:n.jsx("div",{className:F("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const bU=({children:e,className:t,style:c})=>n.jsx("table",{className:F("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),pU=({children:e,className:t})=>n.jsx("tbody",{className:F("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),wU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:F(fe,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),kU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:F("divide-gray-100 dark:divide-gray-800","bg-white dark:bg-gray-950",c?"hover:bg-gray-100 dark:hover:bg-gray-800 cursor-pointer":"",t),children:e}),mU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||vU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:F("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function vU(e){if(e){const t=Object.keys(e).find(l=>l.startsWith("__reactFiber$")||l.startsWith("__reactInternalInstance$")),c=e[t],i=l=>{let s=l.return;for(;typeof s.type=="string";)s=s.return;return s};let a=i(c);return a=i(a),a?.elementType?.name}}function tr({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:_,avoidCollisions:h,enabled:g=!0,modal:y=!1,className:I}){return vn("Popover",CU),g?n.jsxs(Xn.Root,{open:c,onOpenChange:i,modal:y,children:[n.jsx(Xn.Trigger,{asChild:!0,children:e}),n.jsx(Xn.Portal,{children:n.jsxs(Xn.Content,{className:F(je,"PopoverContent shadow z-40",I),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:_,avoidCollisions:h,children:[t,n.jsx(Xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const CU=`
1543
+ `,uU={xs:"max-w-xs min-w-xs w-xs",sm:"max-w-sm min-w-sm w-sm",md:"max-w-md min-w-md w-md",lg:"max-w-lg min-w-lg w-lg",xl:"max-w-xl min-w-xl w-xl","2xl":"max-w-2xl min-w-2xl w-2xl","3xl":"max-w-3xl min-w-3xl w-3xl","4xl":"max-w-4xl min-w-4xl w-4xl","5xl":"max-w-5xl min-w-5xl w-5xl","6xl":"max-w-6xl min-w-6xl w-6xl","7xl":"max-w-7xl min-w-7xl w-7xl",full:"max-w-full min-w-full w-full"},nr=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg",modal:A=!0})=>{const[g,h]=f.useState(!1);return f.useEffect(()=>{if(e)return h(!0),()=>{};{const _=setTimeout(()=>{h(!1)},250);return()=>clearTimeout(_)}},[e]),n.jsx(Je.Root,{open:g||e,modal:A,onOpenChange:t,children:n.jsx(Je.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-30",children:[n.jsx(Je.Overlay,{className:F("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",g&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:g?"auto":"none"}}),n.jsx(Je.Content,{className:F("h-full outline-none flex justify-center items-center z-40 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:F(je,"z-30","relative","outline-none focus:outline-none",a&&!s?"w-11/12":void 0,l&&!s?"h-full":void 0,"text-gray-900 dark:text-white","justify-center items-center",s?"h-screen w-screen":"max-h-[90vh] shadow-xl","ease-in-out duration-200",d&&"overflow-y-auto",g&&e?"opacity-100":"opacity-0",u&&!s?uU[u]:void 0,i),children:c})})]})})})};function En({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:F(fe,"py-3 px-4 border-t flex flex-row items-center justify-end bottom-0 right-0 left-0 text-right z-2 gap-2",t,"bg-white bg-opacity-60 dark:bg-gray-900 dark:bg-opacity-60",c?"backdrop-blur-sm":"",i),children:e})}function or({children:e,className:t,fullHeight:c}){return c?n.jsx("div",{className:"flex-grow flex flex-col h-full relative",children:e}):n.jsx("div",{className:F("py-6 px-6 h-full flex-grow",t),children:e})}function fU({accept:e,onFilesAdded:t,onFilesRejected:c,maxSize:i,disabled:a,maxFiles:l,title:s,uploadDescription:d="Drag and drop a file here or click",children:u,preventDropOnDocument:A=!0,size:g}){const{getRootProps:h,getInputProps:_,isDragActive:y,isDragAccept:I,isDragReject:b}=ir.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...h(),className:F(Xe,Ye,Ie,"flex gap-2","p-4 box-border relative items-center border-2 border-solid border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",{"h-44":g==="medium","h-28":g==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!y,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-red-500":b,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-green-500":I}),children:[n.jsx(Z,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{..._()}),u,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(Z,{align:"center",variant:"label",children:d})})]})}const AU={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function yU({children:e,mode:t="info"}){return n.jsx("div",{className:F("my-3 py-2 px-4 rounded",AU[t]),children:e})}function Ta({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(ie,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Nn,{size:"small"}),!t&&a,e]})}const gU=new Zt({html:!0}),Ao=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>gU.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function jn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Zn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Zn.Trigger,{asChild:!0,children:t}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:F(je,"shadow py-2 z-30"),children:e})})]})}function Be({children:e,dense:t,onClick:c}){return n.jsx(Zn.Item,{className:F(Ie,c&&"cursor-pointer","rounded-md px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-900 flex items-center gap-4"),onClick:c,children:e})}function _U({children:e,style:t,className:c}){return n.jsx("div",{className:F(je,c),style:t,children:e})}function xe({inputRef:e,open:t,name:c,id:i,onOpenChange:a,value:l,onChange:s,onValueChange:d,onMultiValueChange:u,className:A,inputClassName:g,placeholder:h,renderValue:_,renderValues:y,label:I,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:m=!0,position:v="item-aligned",endAdornment:S,multiple:K,invisible:C,children:P,...E}){const[T,B]=f.useState(!1);f.useEffect(()=>{B(t??!1)},[t]);const D=f.useCallback(N=>{K?Array.isArray(l)&&l.includes(N)?u?.(l.filter(W=>W!==N)):u?.([...l??[],N]):d?.(N),!K&&s&&s({target:{name:c,value:N}})},[K,s,l,u,d]);return n.jsxs(Ze.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:T,disabled:k,onValueChange:D,onOpenChange:N=>{a?.(N),B(N)},...E,children:[typeof I=="string"?n.jsx(ca,{error:w,children:I}):I,n.jsxs("div",{className:F(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",C?ur:Xe,k?nn:Ye,"relative flex items-center",A),children:[n.jsxs(Ze.Trigger,{ref:e,id:i,className:F("w-full h-full",b==="small"?"h-[42px]":"h-[64px]",m?"px-4 ":"","outlin e-none focus:outline-none","select-none rounded-md text-sm",w?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",w?"border border-red-500 dark:border-red-600":"",k?"text-gray-600 dark:text-gray-400":"text-gray-800 dark:text-gray-200","relative flex items-center",p?Ie:"",g),children:[n.jsx(Ze.Value,{asChild:!0,children:n.jsxs("div",{className:F("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[_&&(l&&Array.isArray(l)?l.map((N,W)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:_?_(N,W):N},N)):typeof l=="string"?_?_(l,0):l:h),y&&(!l||Array.isArray(l))?y(l??[]):null,!_&&!y&&l]})}),n.jsx(Ze.Icon,{className:F("px-2 h-full flex items-center"),children:n.jsx(Co,{size:"small",className:F("transition",t?"rotate-180":"")})})]}),S&&n.jsx("div",{className:F("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:N=>N.stopPropagation(),children:S})]}),n.jsx(Ze.Portal,{children:n.jsx(Ze.Content,{position:v,className:"z-50 relative overflow-hidden border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx(Ze.Viewport,{className:"p-1",style:{maxHeight:"var(--radix-select-content-available-height)"},children:P})})})]})}function Re({value:e,children:t,disabled:c,className:i}){return n.jsxs(Ze.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:F("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",Ie,"focus:z-10","data-[state=checked]:bg-gray-100 data-[state=checked]:dark:bg-gray-900 focus:bg-gray-100 dark:focus:bg-gray-950","data-[state=checked]:focus:bg-gray-200 data-[state=checked]:dark:focus:bg-gray-950",c?"opacity-50 cursor-not-allowed":"cursor-pointer","[&>*]:w-full","overflow-visible",i),children:[n.jsx(Ze.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(lc,{size:16})})]},e)}function hU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx(Ze.Group,{className:F("text-xs text-gray-900 dark:text-gray-100 uppercase tracking-wider font-bold mt-6 first:mt-2","px-2 py-2",c),children:e}),t]})}function Ut({onTextSearch:e,placeholder:t="Search",expandable:c=!1,large:i=!1,className:a,autoFocus:l}){const[s,d]=f.useState(""),[u,A]=f.useState(!1),g=f.useDeferredValue(s);f.useEffect(()=>{e(g||void 0)},[g]);const h=f.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:F("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",fe,"rounded"),children:[n.jsx("div",{className:"absolute p-0 px-4 h-full absolute pointer-events-none flex items-center justify-center top-0",children:n.jsx(hr,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:_=>{d(_.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:F("relative flex items-center rounded transition-all bg-transparent outline-none appearance-none border-none","pl-12 h-full text-current ",c?u?"w-[220px]":"w-[180px]":"",Ie,a)}),s?n.jsx(R,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:h,children:n.jsx(dn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Yt=({children:e,side:t="right",open:c,onOpenChange:i,transparent:a,...l})=>{const[s,d]=f.useState(!1);f.useEffect(()=>{if(c)return d(!0),()=>{};{const A=setTimeout(()=>{d(!1)},250);return()=>clearTimeout(A)}},[c]);const u={top:"-translate-y-full",bottom:"translate-y-full",left:"-translate-x-full",right:"translate-x-full"};return n.jsx(Je.Root,{open:s||c,onOpenChange:i,children:n.jsxs(Je.Portal,{children:[n.jsx(Je.Overlay,{className:F("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",a?"bg-white bg-opacity-80":"bg-black bg-opacity-50","dark:bg-black dark:bg-opacity-60",s&&c?"opacity-100":"opacity-0"),style:{pointerEvents:s?"auto":"none"}}),n.jsx(Je.Content,{...l,className:F("will-change-transform","text-gray-900 dark:text-white","fixed transform z-20 transition-all duration-[240ms] ease-in-out","outline-none focus:outline-none",a?"":"shadow-md",t==="top"||t==="bottom"?"w-full":"h-full",t==="left"||t==="top"?"left-0 top-0":"right-0 bottom-0",s&&c?"opacity-100":"opacity-0",!s||!c?u[t]:""),children:e})]})})};function IU(){return n.jsxs("div",{role:"status",children:[n.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-primary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),n.jsx("span",{className:"sr-only",children:"Loading..."})]})}function tn({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:u,endAdornment:A,autoFocus:g,placeholder:h,size:_="medium",className:y,style:I,inputClassName:b,inputStyle:p,inputRef:w,...k}){const m=w??f.useRef(null),[v,S]=f.useState(document.activeElement===m.current),K=e!=null&&e!=="",C=f.useCallback(E=>{E.target.blur(),E.stopPropagation(),setTimeout(()=>{E.target.focus()},0)},[]),P=a?n.jsx(et,{...k,ref:m,placeholder:v||K||!c?h:void 0,autoFocus:g,rows:s,value:e??"",onChange:t,style:p,className:F(l?sr:Ie,"rounded-md resize-none w-full outline-none p-[32px] text-base bg-transparent min-h-[64px] px-3 pt-[28px]",d&&"border border-transparent outline-none opacity-50 text-gray-600 dark:text-gray-500")}):n.jsx("input",{...k,ref:m,onWheel:i==="number"?C:void 0,disabled:d,style:p,className:F("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?sr:Ie,d?nn:Ye,_==="small"?"min-h-[48px]":"min-h-[64px]",c?_==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",v?"text-text-primary dark:text-text-primary-dark":"",A?"pr-10":"pr-3",d&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-800 dark:text-gray-200",b),placeholder:v||K||!c?h:void 0,autoFocus:g,onFocus:()=>S(!0),onBlur:()=>S(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:F("rounded-md relative max-w-full",l?ur:Xe,d?nn:Ye,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&_==="small","min-h-[64px]":!l&&_==="medium"},y),style:I,children:[c&&n.jsx(Ht,{className:F("pointer-events-none absolute",_==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":v?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:K||v,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function Ma({value:e,onValueChange:t,className:c,children:i}){return n.jsx(lr.Root,{value:e,onValueChange:t,children:n.jsx(lr.List,{className:F("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function rr({value:e,className:t,children:c,disabled:i}){return n.jsx(lr.Trigger,{value:e,disabled:i,className:F(Ie,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":F("text-gray-700 dark:text-gray-300","data-[state=active]:text-gray-900 data-[state=active]:dark:text-gray-100","hover:text-gray-800 dark:hover:text-gray-200"),t),children:n.jsx("div",{className:F("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const bU=({children:e,className:t,style:c})=>n.jsx("table",{className:F("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),pU=({children:e,className:t})=>n.jsx("tbody",{className:F("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),wU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:F(fe,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),kU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:F("divide-gray-100 dark:divide-gray-800","bg-white dark:bg-gray-950",c?"hover:bg-gray-100 dark:hover:bg-gray-800 cursor-pointer":"",t),children:e}),mU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||vU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:F("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function vU(e){if(e){const t=Object.keys(e).find(l=>l.startsWith("__reactFiber$")||l.startsWith("__reactInternalInstance$")),c=e[t],i=l=>{let s=l.return;for(;typeof s.type=="string";)s=s.return;return s};let a=i(c);return a=i(a),a?.elementType?.name}}function tr({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:g,avoidCollisions:h,enabled:_=!0,modal:y=!1,className:I}){return vn("Popover",CU),_?n.jsxs(Xn.Root,{open:c,onOpenChange:i,modal:y,children:[n.jsx(Xn.Trigger,{asChild:!0,children:e}),n.jsx(Xn.Portal,{children:n.jsxs(Xn.Content,{className:F(je,"PopoverContent shadow z-40",I),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:g,avoidCollisions:h,children:[t,n.jsx(Xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const CU=`
1544
1544
 
1545
1545
  .PopoverContent {
1546
1546
  animation-duration: 400ms;
@@ -1607,5 +1607,5 @@
1607
1607
  `,KU=e=>{switch(e){case"primary":return"bg-primary";case"secondary":return"bg-secondary";case"error":return"bg-red-500";default:return"bg-gray-300 dark:bg-gray-700"}},jt=({color:e="primary",invisible:t=!1,children:c})=>n.jsxs("div",{className:"relative inline-block",children:[c,n.jsx("span",{className:`absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 rounded-full
1608
1608
  ${KU(e)}
1609
1609
  transition-all duration-200 ease-out
1610
- ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=Is,o.AcUnitIcon=bs,o.AccessAlarmIcon=ps,o.AccessAlarmsIcon=ws,o.AccessTimeFilledIcon=ms,o.AccessTimeIcon=ks,o.AccessibilityIcon=vs,o.AccessibilityNewIcon=Cs,o.AccessibleForwardIcon=Ss,o.AccessibleIcon=Ks,o.AccountBalanceIcon=Bs,o.AccountBalanceWalletIcon=Es,o.AccountBoxIcon=Fs,o.AccountCircleIcon=Ps,o.AccountTreeIcon=Ds,o.AdUnitsIcon=Ns,o.AdbIcon=Ts,o.AddAPhotoIcon=Ms,o.AddAlarmIcon=Os,o.AddAlertIcon=Ls,o.AddBoxIcon=Qs,o.AddBusinessIcon=Vs,o.AddCardIcon=Ws,o.AddChartIcon=Gs,o.AddCircleIcon=zs,o.AddCircleOutlineIcon=Hs,o.AddCommentIcon=Us,o.AddHomeIcon=Ys,o.AddHomeWorkIcon=js,o.AddIcCallIcon=$s,o.AddIcon=sn,o.AddLinkIcon=tc,o.AddLocationAltIcon=Js,o.AddLocationIcon=qs,o.AddModeratorIcon=Zs,o.AddPhotoAlternateIcon=Xs,o.AddReactionIcon=xs,o.AddRoadIcon=Rs,o.AddShoppingCartIcon=ed,o.AddTaskIcon=nd,o.AddToDriveIcon=od,o.AddToHomeScreenIcon=rd,o.AddToPhotosIcon=td,o.AddToQueueIcon=cd,o.AdfScannerIcon=id,o.AdjustIcon=ad,o.AdminPanelSettingsIcon=ld,o.AdsClickIcon=sd,o.AgricultureIcon=dd,o.AirIcon=ud,o.AirlineSeatFlatAngledIcon=Ad,o.AirlineSeatFlatIcon=fd,o.AirlineSeatIndividualSuiteIcon=yd,o.AirlineSeatLegroomExtraIcon=_d,o.AirlineSeatLegroomNormalIcon=gd,o.AirlineSeatLegroomReducedIcon=hd,o.AirlineSeatReclineExtraIcon=Id,o.AirlineSeatReclineNormalIcon=bd,o.AirlineStopsIcon=pd,o.AirlinesIcon=wd,o.AirplaneTicketIcon=kd,o.AirplanemodeActiveIcon=md,o.AirplanemodeInactiveIcon=vd,o.AirplayIcon=Cd,o.AirportShuttleIcon=Kd,o.AlarmAddIcon=Bd,o.AlarmIcon=Sd,o.AlarmOffIcon=Ed,o.AlarmOnIcon=Fd,o.AlbumIcon=Pd,o.Alert=sl,o.AlignHorizontalCenterIcon=Dd,o.AlignHorizontalLeftIcon=Nd,o.AlignHorizontalRightIcon=Td,o.AlignVerticalBottomIcon=Md,o.AlignVerticalCenterIcon=Od,o.AlignVerticalTopIcon=Ld,o.AllInboxIcon=Qd,o.AllInclusiveIcon=Vd,o.AllOutIcon=Wd,o.AltRouteIcon=Gd,o.AlternateEmailIcon=zd,o.AnalyticsIcon=Hd,o.AnchorIcon=Ud,o.AndroidIcon=Yd,o.AnimationIcon=jd,o.AnnouncementIcon=$d,o.AodIcon=qd,o.ApartmentIcon=Jd,o.ApiIcon=Zd,o.AppBlockingIcon=Xd,o.AppRegistrationIcon=xd,o.AppSettingsAltIcon=Rd,o.AppShortcutIcon=eu,o.ApprovalIcon=nu,o.AppsIcon=ou,o.AppsOutageIcon=ru,o.ArchitectureIcon=tu,o.ArchiveIcon=cu,o.AreaChartIcon=iu,o.ArrayContainer=It,o.ArrayContainerItem=bt,o.ArrayCustomShapedFieldBinding=ga,o.ArrayEnumPreview=Jr,o.ArrayItemOptions=ta,o.ArrayOfMapsPreview=mz,o.ArrayOfReferencesFieldBinding=ia,o.ArrayOfReferencesPreview=di,o.ArrayOfStorageComponentsPreview=ui,o.ArrayOfStringsPreview=fi,o.ArrayOneOfPreview=Ai,o.ArrayPropertyEnumPreview=Zr,o.ArrayPropertyPreview=qr,o.ArrowBackIcon=au,o.ArrowBackIosIcon=lu,o.ArrowBackIosNewIcon=su,o.ArrowCircleDownIcon=du,o.ArrowCircleLeftIcon=uu,o.ArrowCircleRightIcon=fu,o.ArrowCircleUpIcon=Au,o.ArrowDownwardIcon=yu,o.ArrowDropDownCircleIcon=_u,o.ArrowDropDownIcon=Ir,o.ArrowDropUpIcon=gu,o.ArrowForwardIcon=cc,o.ArrowForwardIosIcon=hu,o.ArrowLeftIcon=Iu,o.ArrowOutwardIcon=bu,o.ArrowRightAltIcon=wu,o.ArrowRightIcon=pu,o.ArrowUpwardIcon=mo,o.ArtTrackIcon=ku,o.ArticleIcon=mu,o.AspectRatioIcon=vu,o.AssessmentIcon=Cu,o.AssignmentIcon=ic,o.AssignmentIndIcon=Ku,o.AssignmentLateIcon=Su,o.AssignmentReturnIcon=Bu,o.AssignmentReturnedIcon=Eu,o.AssignmentTurnedInIcon=Fu,o.AssistWalkerIcon=Pu,o.AssistantDirectionIcon=Nu,o.AssistantIcon=Du,o.AssistantPhotoIcon=Tu,o.AssuredWorkloadIcon=Mu,o.AsyncPreviewComponent=vz,o.AtmIcon=Ou,o.AttachEmailIcon=Lu,o.AttachFileIcon=Qu,o.AttachMoneyIcon=Vu,o.AttachmentIcon=Wu,o.AttractionsIcon=Gu,o.AttributionIcon=zu,o.AudioFileIcon=Hu,o.AudiotrackIcon=Uu,o.AuthControllerContext=Fr,o.AutoAwesomeIcon=Yu,o.AutoAwesomeMosaicIcon=ju,o.AutoAwesomeMotionIcon=$u,o.AutoDeleteIcon=qu,o.AutoFixHighIcon=Ju,o.AutoFixNormalIcon=Zu,o.AutoFixOffIcon=Xu,o.AutoGraphIcon=xu,o.AutoModeIcon=Ru,o.AutoStoriesIcon=ef,o.Autocomplete=il,o.AutocompleteItem=al,o.AutofpsSelectIcon=nf,o.AutorenewIcon=of,o.AvTimerIcon=rf,o.Avatar=fr,o.BabyChangingStationIcon=tf,o.BackHandIcon=cf,o.BackpackIcon=af,o.BackspaceIcon=lf,o.BackupIcon=sf,o.BackupTableIcon=df,o.Badge=jt,o.BadgeIcon=uf,o.BakeryDiningIcon=ff,o.BalanceIcon=Af,o.BalconyIcon=yf,o.BallotIcon=br,o.BarChartIcon=_f,o.BatchPredictionIcon=gf,o.BathroomIcon=hf,o.BathtubIcon=If,o.Battery0BarIcon=bf,o.Battery1BarIcon=pf,o.Battery2BarIcon=wf,o.Battery3BarIcon=kf,o.Battery4BarIcon=mf,o.Battery5BarIcon=vf,o.Battery6BarIcon=Cf,o.BatteryAlertIcon=Kf,o.BatteryChargingFullIcon=Sf,o.BatteryFullIcon=Bf,o.BatterySaverIcon=Ef,o.BatteryStdIcon=Ff,o.BatteryUnknownIcon=Pf,o.BeachAccessIcon=Df,o.BedIcon=Nf,o.BedroomBabyIcon=Tf,o.BedroomChildIcon=Mf,o.BedroomParentIcon=Of,o.BedtimeIcon=Lf,o.BedtimeOffIcon=Qf,o.BeenhereIcon=Vf,o.BentoIcon=Wf,o.BikeScooterIcon=Gf,o.BiotechIcon=zf,o.BlenderIcon=Hf,o.BlindIcon=Uf,o.BlindsClosedIcon=jf,o.BlindsIcon=Yf,o.BlockFieldBinding=ya,o.BlockIcon=$f,o.BloodtypeIcon=qf,o.BluetoothAudioIcon=Zf,o.BluetoothConnectedIcon=Xf,o.BluetoothDisabledIcon=xf,o.BluetoothDriveIcon=Rf,o.BluetoothIcon=Jf,o.BluetoothSearchingIcon=eA,o.BlurCircularIcon=nA,o.BlurLinearIcon=oA,o.BlurOffIcon=rA,o.BlurOnIcon=tA,o.BoltIcon=cA,o.BookIcon=iA,o.BookOnlineIcon=aA,o.BookmarkAddIcon=sA,o.BookmarkAddedIcon=dA,o.BookmarkBorderIcon=uA,o.BookmarkIcon=lA,o.BookmarkRemoveIcon=fA,o.BookmarksIcon=AA,o.BooleanPreview=gi,o.BooleanSwitch=Ar,o.BooleanSwitchWithLabel=Dn,o.BorderAllIcon=yA,o.BorderBottomIcon=_A,o.BorderClearIcon=gA,o.BorderColorIcon=hA,o.BorderHorizontalIcon=IA,o.BorderInnerIcon=bA,o.BorderLeftIcon=pA,o.BorderOuterIcon=wA,o.BorderRightIcon=kA,o.BorderStyleIcon=mA,o.BorderTopIcon=vA,o.BorderVerticalIcon=CA,o.BoyIcon=KA,o.BrandingWatermarkIcon=SA,o.BreadcrumbUpdater=g3,o.BreakfastDiningIcon=BA,o.Brightness1Icon=EA,o.Brightness2Icon=FA,o.Brightness3Icon=PA,o.Brightness4Icon=DA,o.Brightness5Icon=NA,o.Brightness6Icon=TA,o.Brightness7Icon=MA,o.BrightnessAutoIcon=OA,o.BrightnessHighIcon=LA,o.BrightnessLowIcon=QA,o.BrightnessMediumIcon=VA,o.BroadcastOnHomeIcon=WA,o.BroadcastOnPersonalIcon=GA,o.BrokenImageIcon=zA,o.BrowseGalleryIcon=HA,o.BrowserNotSupportedIcon=UA,o.BrowserUpdatedIcon=YA,o.BrunchDiningIcon=jA,o.BrushIcon=$A,o.BubbleChartIcon=qA,o.BugReportIcon=JA,o.BuildCircleIcon=XA,o.BuildIcon=ZA,o.BungalowIcon=xA,o.BurstModeIcon=RA,o.BusAlertIcon=ey,o.BusinessCenterIcon=oy,o.BusinessIcon=ny,o.Button=ie,o.COLLECTION_PATH_SEPARATOR=xc,o.CabinIcon=ry,o.CableIcon=ty,o.CachedIcon=cy,o.CakeIcon=iy,o.CalculateIcon=ay,o.CalendarMonthIcon=ac,o.CalendarTodayIcon=ly,o.CalendarViewDayIcon=sy,o.CalendarViewMonthIcon=dy,o.CalendarViewWeekIcon=uy,o.CallEndIcon=Ay,o.CallIcon=fy,o.CallMadeIcon=yy,o.CallMergeIcon=_y,o.CallMissedIcon=gy,o.CallMissedOutgoingIcon=hy,o.CallReceivedIcon=Iy,o.CallSplitIcon=by,o.CallToActionIcon=py,o.CameraAltIcon=ky,o.CameraEnhanceIcon=my,o.CameraFrontIcon=vy,o.CameraIcon=wy,o.CameraIndoorIcon=Cy,o.CameraOutdoorIcon=Ky,o.CameraRearIcon=Sy,o.CameraRollIcon=By,o.CameraswitchIcon=Ey,o.CampaignIcon=Fy,o.CancelIcon=Py,o.CancelPresentationIcon=Dy,o.CancelScheduleSendIcon=Ny,o.CandlestickChartIcon=Ty,o.CarCrashIcon=My,o.CarRentalIcon=Oy,o.CarRepairIcon=Ly,o.Card=oc,o.CardGiftcardIcon=Qy,o.CardMembershipIcon=Vy,o.CardTravelIcon=Wy,o.CarpenterIcon=Gy,o.CasesIcon=zy,o.CasinoIcon=Hy,o.CastConnectedIcon=Yy,o.CastForEducationIcon=jy,o.CastIcon=Uy,o.CastleIcon=$y,o.CatchingPokemonIcon=qy,o.CategoryIcon=Jy,o.CelebrationIcon=Zy,o.CellTowerIcon=Xy,o.CellWifiIcon=xy,o.CenterFocusStrongIcon=Ry,o.CenterFocusWeakIcon=e_,o.CenteredView=_r,o.ChairAltIcon=o_,o.ChairIcon=n_,o.ChaletIcon=r_,o.ChangeCircleIcon=t_,o.ChangeHistoryIcon=c_,o.ChargingStationIcon=i_,o.ChatBubbleIcon=l_,o.ChatBubbleOutlineIcon=s_,o.ChatIcon=a_,o.CheckBoxIcon=d_,o.CheckBoxOutlineBlankIcon=u_,o.CheckCircleIcon=f_,o.CheckCircleOutlineIcon=A_,o.CheckIcon=lc,o.Checkbox=Er,o.ChecklistIcon=y_,o.ChecklistRtlIcon=__,o.CheckroomIcon=g_,o.ChevronLeftIcon=sc,o.ChevronRightIcon=h_,o.ChildCareIcon=I_,o.ChildFriendlyIcon=b_,o.Chip=Bo,o.ChromeReaderModeIcon=p_,o.ChurchIcon=w_,o.CircleIcon=pr,o.CircleNotificationsIcon=k_,o.CircularProgress=Nn,o.CircularProgressCenter=lo,o.ClassIcon=m_,o.CleanHandsIcon=v_,o.CleaningServicesIcon=C_,o.ClearAllIcon=K_,o.ClearIcon=dn,o.CloseFullscreenIcon=S_,o.CloseIcon=wr,o.ClosedCaptionDisabledIcon=E_,o.ClosedCaptionIcon=B_,o.ClosedCaptionOffIcon=F_,o.CloudCircleIcon=D_,o.CloudDoneIcon=N_,o.CloudDownloadIcon=T_,o.CloudIcon=P_,o.CloudOffIcon=M_,o.CloudQueueIcon=O_,o.CloudSyncIcon=L_,o.CloudUploadIcon=Q_,o.Co2Icon=V_,o.CoPresentIcon=W_,o.CodeIcon=G_,o.CodeOffIcon=z_,o.CoffeeIcon=H_,o.CoffeeMakerIcon=U_,o.Collapse=wo,o.CollectionsBookmarkIcon=j_,o.CollectionsIcon=Y_,o.ColorLensIcon=$_,o.ColorizeIcon=q_,o.CommentBankIcon=Z_,o.CommentIcon=J_,o.CommentsDisabledIcon=X_,o.CommitIcon=x_,o.CommuteIcon=R_,o.CompareArrowsIcon=ng,o.CompareIcon=eg,o.CompassCalibrationIcon=og,o.CompostIcon=rg,o.CompressIcon=tg,o.ComputerIcon=cg,o.ConfirmationNumberIcon=ig,o.ConnectWithoutContactIcon=ag,o.ConnectedTvIcon=lg,o.ConnectingAirportsIcon=sg,o.ConstructionIcon=dg,o.ContactEmergencyIcon=ug,o.ContactMailIcon=fg,o.ContactPageIcon=Ag,o.ContactPhoneIcon=yg,o.ContactSupportIcon=_g,o.ContactlessIcon=gg,o.ContactsIcon=hg,o.Container=yr,o.ContentCopyIcon=xn,o.ContentCutIcon=Ig,o.ContentPasteGoIcon=pg,o.ContentPasteIcon=bg,o.ContentPasteOffIcon=wg,o.ContentPasteSearchIcon=kg,o.ContrastIcon=mg,o.ControlCameraIcon=vg,o.ControlPointDuplicateIcon=Kg,o.ControlPointIcon=Cg,o.CookieIcon=Sg,o.CopyAllIcon=Bg,o.CopyrightIcon=Eg,o.CoronavirusIcon=Fg,o.CorporateFareIcon=Pg,o.CottageIcon=Dg,o.CountertopsIcon=Ng,o.CreateIcon=Tg,o.CreateNewFolderIcon=Mg,o.CreditCardIcon=Og,o.CreditCardOffIcon=Lg,o.CreditScoreIcon=Qg,o.CribIcon=Vg,o.CrisisAlertIcon=Wg,o.Crop169Icon=zg,o.Crop32Icon=Hg,o.Crop54Icon=Ug,o.Crop75Icon=Yg,o.CropDinIcon=jg,o.CropFreeIcon=$g,o.CropIcon=Gg,o.CropLandscapeIcon=qg,o.CropOriginalIcon=Jg,o.CropPortraitIcon=Zg,o.CropRotateIcon=Xg,o.CropSquareIcon=xg,o.CrueltyFreeIcon=Rg,o.CssIcon=eh,o.CurrencyBitcoinIcon=nh,o.CurrencyExchangeIcon=oh,o.CurrencyFrancIcon=rh,o.CurrencyLiraIcon=th,o.CurrencyPoundIcon=ch,o.CurrencyRubleIcon=ih,o.CurrencyRupeeIcon=ah,o.CurrencyYenIcon=lh,o.CurrencyYuanIcon=sh,o.CurtainsClosedIcon=uh,o.CurtainsIcon=dh,o.CycloneIcon=fh,o.DEFAULT_FIELD_CONFIGS=Ft,o.DangerousIcon=Ah,o.DarkModeIcon=dc,o.DashboardCustomizeIcon=_h,o.DashboardIcon=yh,o.DataArrayIcon=gh,o.DataExplorationIcon=hh,o.DataObjectIcon=Ih,o.DataSaverOffIcon=bh,o.DataSaverOnIcon=ph,o.DataThresholdingIcon=wh,o.DataUsageIcon=kh,o.DatasetIcon=mh,o.DatasetLinkedIcon=vh,o.DatePreview=_i,o.DateRangeIcon=Ch,o.DateTimeField=Yn,o.DateTimeFieldBinding=sa,o.DeblurIcon=Kh,o.DebouncedTextField=p3,o.DeckIcon=Sh,o.DefaultHomePage=ea,o.DehazeIcon=Bh,o.DeleteConfirmationDialog=h3,o.DeleteForeverIcon=Eh,o.DeleteIcon=vo,o.DeleteOutlineIcon=Fh,o.DeleteSweepIcon=Ph,o.DeliveryDiningIcon=Dh,o.DensityLargeIcon=Nh,o.DensityMediumIcon=Th,o.DensitySmallIcon=Mh,o.DepartureBoardIcon=Oh,o.DescriptionIcon=uc,o.DeselectIcon=Lh,o.DesignServicesIcon=Qh,o.DeskIcon=Vh,o.DesktopAccessDisabledIcon=Wh,o.DesktopMacIcon=Gh,o.DesktopWindowsIcon=zh,o.DetailsIcon=Hh,o.DeveloperBoardIcon=Uh,o.DeveloperBoardOffIcon=Yh,o.DeveloperModeIcon=jh,o.DeviceHubIcon=$h,o.DeviceThermostatIcon=qh,o.DeviceUnknownIcon=Jh,o.DevicesFoldIcon=Xh,o.DevicesIcon=Zh,o.DevicesOtherIcon=xh,o.DialerSipIcon=Rh,o.Dialog=nr,o.DialogActions=En,o.DialogContent=or,o.DialpadIcon=eI,o.DiamondIcon=nI,o.DifferenceIcon=oI,o.DiningIcon=rI,o.DinnerDiningIcon=tI,o.DirectionsBikeIcon=iI,o.DirectionsBoatFilledIcon=lI,o.DirectionsBoatIcon=aI,o.DirectionsBusFilledIcon=dI,o.DirectionsBusIcon=sI,o.DirectionsCarFilledIcon=fI,o.DirectionsCarIcon=uI,o.DirectionsIcon=cI,o.DirectionsOffIcon=AI,o.DirectionsRailwayFilledIcon=_I,o.DirectionsRailwayIcon=yI,o.DirectionsRunIcon=gI,o.DirectionsSubwayFilledIcon=II,o.DirectionsSubwayIcon=hI,o.DirectionsTransitFilledIcon=pI,o.DirectionsTransitIcon=bI,o.DirectionsWalkIcon=wI,o.DirtyLensIcon=kI,o.DisabledByDefaultIcon=mI,o.DisabledVisibleIcon=vI,o.DiscFullIcon=CI,o.DiscountIcon=KI,o.DisplaySettingsIcon=SI,o.Diversity1Icon=BI,o.Diversity2Icon=EI,o.Diversity3Icon=FI,o.DnsIcon=PI,o.DoDisturbAltIcon=NI,o.DoDisturbIcon=DI,o.DoDisturbOffIcon=TI,o.DoDisturbOnIcon=MI,o.DoNotDisturbAltIcon=LI,o.DoNotDisturbIcon=OI,o.DoNotDisturbOffIcon=QI,o.DoNotDisturbOnIcon=VI,o.DoNotDisturbOnTotalSilenceIcon=WI,o.DoNotStepIcon=GI,o.DoNotTouchIcon=zI,o.DockIcon=HI,o.DocumentScannerIcon=UI,o.DomainAddIcon=jI,o.DomainDisabledIcon=$I,o.DomainIcon=YI,o.DomainVerificationIcon=qI,o.DoneAllIcon=ZI,o.DoneIcon=JI,o.DoneOutlineIcon=XI,o.DonutLargeIcon=xI,o.DonutSmallIcon=RI,o.DoorBackIcon=eb,o.DoorFrontIcon=nb,o.DoorSlidingIcon=ob,o.DoorbellIcon=rb,o.DoubleArrowIcon=tb,o.DownhillSkiingIcon=cb,o.DownloadDoneIcon=ab,o.DownloadForOfflineIcon=lb,o.DownloadIcon=ib,o.DownloadingIcon=sb,o.DraftsIcon=db,o.DragHandleIcon=ub,o.DragIndicatorIcon=fb,o.DrawIcon=Ab,o.Drawer=Zi,o.DrawerNavigationItem=_t,o.DriveEtaIcon=yb,o.DriveFileMoveIcon=_b,o.DriveFileMoveRtlIcon=gb,o.DriveFileRenameOutlineIcon=hb,o.DriveFolderUploadIcon=fc,o.DryCleaningIcon=bb,o.DryIcon=Ib,o.DuoIcon=pb,o.DvrIcon=wb,o.DynamicFeedIcon=kb,o.DynamicFormIcon=mb,o.EMobiledataIcon=vb,o.EarbudsBatteryIcon=Kb,o.EarbudsIcon=Cb,o.EastIcon=Sb,o.EdgesensorHighIcon=Bb,o.EdgesensorLowIcon=Eb,o.EditAttributesIcon=Fb,o.EditCalendarIcon=Pb,o.EditIcon=Ac,o.EditLocationAltIcon=Nb,o.EditLocationIcon=Db,o.EditNoteIcon=Tb,o.EditNotificationsIcon=Mb,o.EditOffIcon=Ob,o.EditRoadIcon=Lb,o.EggAltIcon=Vb,o.EggIcon=Qb,o.EjectIcon=Wb,o.ElderlyIcon=Gb,o.ElderlyWomanIcon=zb,o.ElectricBikeIcon=Hb,o.ElectricBoltIcon=Ub,o.ElectricCarIcon=Yb,o.ElectricMeterIcon=jb,o.ElectricMopedIcon=$b,o.ElectricRickshawIcon=qb,o.ElectricScooterIcon=Jb,o.ElectricalServicesIcon=Zb,o.ElevatorIcon=Xb,o.EmailIcon=yc,o.EmergencyIcon=xb,o.EmergencyRecordingIcon=Rb,o.EmergencyShareIcon=ep,o.EmojiEmotionsIcon=np,o.EmojiEventsIcon=op,o.EmojiFoodBeverageIcon=rp,o.EmojiNatureIcon=tp,o.EmojiObjectsIcon=cp,o.EmojiPeopleIcon=ip,o.EmojiSymbolsIcon=ap,o.EmojiTransportationIcon=lp,o.EmptyValue=Qn,o.EnergySavingsLeafIcon=sp,o.EngineeringIcon=dp,o.EnhancedEncryptionIcon=up,o.EntityCollectionTable=st,o.EntityCollectionView=ut,o.EntityForm=Ia,o.EntityPreview=xr,o.EntityReference=$e,o.EnumValuesChip=Fe,o.EqualizerIcon=fp,o.ErrorBoundary=ae,o.ErrorIcon=kr,o.ErrorOutlineIcon=_c,o.ErrorView=me,o.EscalatorIcon=Ap,o.EscalatorWarningIcon=yp,o.EuroIcon=_p,o.EuroSymbolIcon=gp,o.EvStationIcon=hp,o.EventAvailableIcon=bp,o.EventBusyIcon=pp,o.EventIcon=Ip,o.EventNoteIcon=wp,o.EventRepeatIcon=kp,o.EventSeatIcon=mp,o.ExitToAppIcon=vp,o.ExpandCircleDownIcon=Kp,o.ExpandIcon=Cp,o.ExpandLessIcon=Sp,o.ExpandMoreIcon=Co,o.ExpandablePanel=hn,o.ExplicitIcon=Bp,o.ExploreIcon=Ep,o.ExploreOffIcon=Fp,o.ExposureIcon=Pp,o.ExposureNeg1Icon=Dp,o.ExposureNeg2Icon=Np,o.ExposurePlus1Icon=Tp,o.ExposurePlus2Icon=Mp,o.ExposureZeroIcon=Op,o.ExtensionIcon=Lp,o.ExtensionOffIcon=Qp,o.Face2Icon=Wp,o.Face3Icon=Gp,o.Face4Icon=zp,o.Face5Icon=Hp,o.Face6Icon=Up,o.FaceIcon=Vp,o.FaceRetouchingNaturalIcon=Yp,o.FaceRetouchingOffIcon=jp,o.FactCheckIcon=$p,o.FactoryIcon=qp,o.FamilyRestroomIcon=Jp,o.FastForwardIcon=Zp,o.FastRewindIcon=Xp,o.FastfoodIcon=xp,o.FavoriteBorderIcon=ew,o.FavoriteIcon=Rp,o.FaxIcon=nw,o.FeaturedPlayListIcon=ow,o.FeaturedVideoIcon=rw,o.FeedIcon=tw,o.FeedbackIcon=cw,o.FemaleIcon=iw,o.FenceIcon=aw,o.FestivalIcon=lw,o.FiberDvrIcon=sw,o.FiberManualRecordIcon=dw,o.FiberNewIcon=uw,o.FiberPinIcon=fw,o.FiberSmartRecordIcon=Aw,o.FieldConfigBadge=_3,o.FieldHelperText=Se,o.FileCopyIcon=gc,o.FileDownloadDoneIcon=_w,o.FileDownloadIcon=yw,o.FileDownloadOffIcon=gw,o.FileOpenIcon=hw,o.FilePresentIcon=Iw,o.FileUpload=fU,o.FileUploadIcon=bw,o.Filter1Icon=ww,o.Filter2Icon=kw,o.Filter3Icon=mw,o.Filter4Icon=vw,o.Filter5Icon=Cw,o.Filter6Icon=Kw,o.Filter7Icon=Sw,o.Filter8Icon=Bw,o.Filter9Icon=Ew,o.Filter9PlusIcon=Fw,o.FilterAltIcon=Pw,o.FilterAltOffIcon=Dw,o.FilterBAndWIcon=Nw,o.FilterCenterFocusIcon=Tw,o.FilterDramaIcon=Mw,o.FilterFramesIcon=Ow,o.FilterHdrIcon=Lw,o.FilterIcon=pw,o.FilterListIcon=hc,o.FilterListOffIcon=Ic,o.FilterNoneIcon=Qw,o.FilterTiltShiftIcon=Vw,o.FilterVintageIcon=Ww,o.FindInPageIcon=Gw,o.FindReplaceIcon=zw,o.FingerprintIcon=Hw,o.FireCMS=o3,o.FireCMSAppBar=ra,o.FireCMSContextInstance=Pr,o.FireCMSLogo=oa,o.FireExtinguisherIcon=Uw,o.FireHydrantAltIcon=Yw,o.FireTruckIcon=jw,o.FireplaceIcon=$w,o.FirstPageIcon=qw,o.FitScreenIcon=Jw,o.FitbitIcon=Zw,o.FitnessCenterIcon=Xw,o.FlagCircleIcon=xw,o.FlagIcon=bc,o.FlakyIcon=Rw,o.FlareIcon=ek,o.FlashAutoIcon=nk,o.FlashOffIcon=ok,o.FlashOnIcon=rk,o.FlashlightOffIcon=tk,o.FlashlightOnIcon=ck,o.FlatwareIcon=ik,o.FlightClassIcon=lk,o.FlightIcon=ak,o.FlightLandIcon=sk,o.FlightTakeoffIcon=dk,o.FlipCameraAndroidIcon=fk,o.FlipCameraIosIcon=Ak,o.FlipIcon=uk,o.FlipToBackIcon=yk,o.FlipToFrontIcon=_k,o.FloodIcon=gk,o.FluorescentIcon=hk,o.FlutterDashIcon=Ik,o.FmdBadIcon=bk,o.FmdGoodIcon=pk,o.FolderCopyIcon=kk,o.FolderDeleteIcon=mk,o.FolderIcon=wk,o.FolderOffIcon=vk,o.FolderOpenIcon=Ck,o.FolderSharedIcon=Kk,o.FolderSpecialIcon=Sk,o.FolderZipIcon=Bk,o.FollowTheSignsIcon=Ek,o.FontDownloadIcon=Fk,o.FontDownloadOffIcon=Pk,o.FoodBankIcon=Dk,o.ForestIcon=Nk,o.ForkLeftIcon=Tk,o.ForkRightIcon=Mk,o.FormatAlignCenterIcon=Ok,o.FormatAlignJustifyIcon=Lk,o.FormatAlignLeftIcon=Qk,o.FormatAlignRightIcon=Vk,o.FormatBoldIcon=Wk,o.FormatClearIcon=Gk,o.FormatColorFillIcon=zk,o.FormatColorResetIcon=Hk,o.FormatColorTextIcon=Uk,o.FormatIndentDecreaseIcon=Yk,o.FormatIndentIncreaseIcon=jk,o.FormatItalicIcon=$k,o.FormatLineSpacingIcon=qk,o.FormatListBulletedIcon=Jk,o.FormatListNumberedIcon=mr,o.FormatListNumberedRtlIcon=Zk,o.FormatOverlineIcon=Xk,o.FormatPaintIcon=xk,o.FormatQuoteIcon=pc,o.FormatShapesIcon=Rk,o.FormatSizeIcon=em,o.FormatStrikethroughIcon=nm,o.FormatTextdirectionLToRIcon=om,o.FormatTextdirectionRToLIcon=rm,o.FormatUnderlinedIcon=tm,o.FormikArrayContainer=qo,o.FortIcon=cm,o.ForumIcon=im,o.Forward10Icon=lm,o.Forward30Icon=sm,o.Forward5Icon=dm,o.ForwardIcon=am,o.ForwardToInboxIcon=um,o.FoundationIcon=fm,o.FreeBreakfastIcon=Am,o.FreeCancellationIcon=ym,o.FrontHandIcon=_m,o.FullscreenExitIcon=hm,o.FullscreenIcon=gm,o.FunctionsIcon=wc,o.GMobiledataIcon=Im,o.GTranslateIcon=bm,o.GamepadIcon=pm,o.GamesIcon=wm,o.GarageIcon=km,o.GasMeterIcon=mm,o.GavelIcon=vm,o.GeneratingTokensIcon=Cm,o.GeoPoint=Eo,o.GestureIcon=Km,o.GetAppIcon=Sm,o.GifBoxIcon=Em,o.GifIcon=Bm,o.GirlIcon=Fm,o.GitHubIcon=yl,o.GiteIcon=Pm,o.GolfCourseIcon=Dm,o.GppBadIcon=Nm,o.GppGoodIcon=Tm,o.GppMaybeIcon=Mm,o.GpsFixedIcon=Om,o.GpsNotFixedIcon=Lm,o.GpsOffIcon=Qm,o.GradeIcon=Vm,o.GradientIcon=Wm,o.GradingIcon=Gm,o.GrainIcon=zm,o.GraphicEqIcon=Hm,o.GrassIcon=Um,o.Grid3x3Icon=Ym,o.Grid4x4Icon=jm,o.GridGoldenratioIcon=$m,o.GridOffIcon=qm,o.GridOnIcon=Jm,o.GridViewIcon=Zm,o.GroupAddIcon=xm,o.GroupIcon=Xm,o.GroupOffIcon=Rm,o.GroupRemoveIcon=ev,o.GroupWorkIcon=nv,o.Groups2Icon=rv,o.Groups3Icon=tv,o.GroupsIcon=ov,o.HMobiledataIcon=cv,o.HPlusMobiledataIcon=iv,o.HailIcon=av,o.HandshakeIcon=lv,o.HandymanIcon=sv,o.HardwareIcon=dv,o.HdIcon=uv,o.HdrAutoIcon=fv,o.HdrAutoSelectIcon=Av,o.HdrEnhancedSelectIcon=yv,o.HdrOffIcon=_v,o.HdrOffSelectIcon=gv,o.HdrOnIcon=hv,o.HdrOnSelectIcon=Iv,o.HdrPlusIcon=bv,o.HdrStrongIcon=pv,o.HdrWeakIcon=wv,o.HeadphonesBatteryIcon=mv,o.HeadphonesIcon=kv,o.HeadsetIcon=vv,o.HeadsetMicIcon=Cv,o.HeadsetOffIcon=Kv,o.HealingIcon=Sv,o.HealthAndSafetyIcon=Bv,o.HearingDisabledIcon=Fv,o.HearingIcon=Ev,o.HeartBrokenIcon=Pv,o.HeatPumpIcon=Dv,o.HeightIcon=Nv,o.HelpCenterIcon=Mv,o.HelpIcon=Tv,o.HelpOutlineIcon=Ov,o.HevcIcon=Lv,o.HexagonIcon=Qv,o.HideImageIcon=Vv,o.HideSourceIcon=Wv,o.HighQualityIcon=Gv,o.HighlightAltIcon=Hv,o.HighlightIcon=zv,o.HighlightOffIcon=Uv,o.HikingIcon=Yv,o.HistoryEduIcon=$v,o.HistoryIcon=jv,o.HistoryToggleOffIcon=qv,o.HiveIcon=Jv,o.HlsIcon=Zv,o.HlsOffIcon=Xv,o.HolidayVillageIcon=xv,o.HomeIcon=Rv,o.HomeMaxIcon=e0,o.HomeMiniIcon=n0,o.HomeRepairServiceIcon=o0,o.HomeWorkIcon=r0,o.HorizontalDistributeIcon=t0,o.HorizontalRuleIcon=c0,o.HorizontalSplitIcon=i0,o.HotTubIcon=a0,o.HotelClassIcon=s0,o.HotelIcon=l0,o.HourglassBottomIcon=d0,o.HourglassDisabledIcon=u0,o.HourglassEmptyIcon=f0,o.HourglassFullIcon=A0,o.HourglassTopIcon=y0,o.HouseIcon=_0,o.HouseSidingIcon=g0,o.HouseboatIcon=h0,o.HowToRegIcon=I0,o.HowToVoteIcon=b0,o.HtmlIcon=p0,o.HttpIcon=kc,o.HttpsIcon=w0,o.HubIcon=k0,o.HvacIcon=m0,o.IceSkatingIcon=v0,o.IcecreamIcon=C0,o.Icon=r,o.IconButton=R,o.ImageAspectRatioIcon=S0,o.ImageIcon=K0,o.ImageNotSupportedIcon=B0,o.ImagePreview=ci,o.ImageSearchIcon=E0,o.ImagesearchRollerIcon=F0,o.ImportContactsIcon=P0,o.ImportExportIcon=D0,o.ImportantDevicesIcon=N0,o.InboxIcon=T0,o.IncompleteCircleIcon=M0,o.IndeterminateCheckBoxIcon=O0,o.InfoIcon=mc,o.InfoLabel=yU,o.InputIcon=L0,o.InputLabel=Ht,o.InsertChartIcon=Q0,o.InsertChartOutlinedIcon=V0,o.InsertCommentIcon=W0,o.InsertDriveFileIcon=G0,o.InsertEmoticonIcon=z0,o.InsertInvitationIcon=H0,o.InsertLinkIcon=U0,o.InsertPageBreakIcon=Y0,o.InsertPhotoIcon=j0,o.InsightsIcon=$0,o.InstallDesktopIcon=q0,o.InstallMobileIcon=J0,o.IntegrationInstructionsIcon=Z0,o.InterestsIcon=X0,o.InterpreterModeIcon=x0,o.Inventory2Icon=eC,o.InventoryIcon=R0,o.InvertColorsIcon=nC,o.InvertColorsOffIcon=oC,o.IosShareIcon=rC,o.IronIcon=tC,o.IsoIcon=cC,o.JavascriptIcon=iC,o.JoinFullIcon=aC,o.JoinInnerIcon=lC,o.JoinLeftIcon=sC,o.JoinRightIcon=dC,o.KayakingIcon=uC,o.KebabDiningIcon=fC,o.KeyIcon=AC,o.KeyOffIcon=yC,o.KeyValueFieldBinding=fa,o.KeyValuePreview=Xr,o.KeyboardAltIcon=gC,o.KeyboardArrowDownIcon=hC,o.KeyboardArrowLeftIcon=IC,o.KeyboardArrowRightIcon=bC,o.KeyboardArrowUpIcon=pC,o.KeyboardBackspaceIcon=wC,o.KeyboardCapslockIcon=kC,o.KeyboardCommandKeyIcon=mC,o.KeyboardControlKeyIcon=vC,o.KeyboardDoubleArrowDownIcon=CC,o.KeyboardDoubleArrowLeftIcon=KC,o.KeyboardDoubleArrowRightIcon=SC,o.KeyboardDoubleArrowUpIcon=BC,o.KeyboardHideIcon=EC,o.KeyboardIcon=_C,o.KeyboardOptionKeyIcon=FC,o.KeyboardReturnIcon=PC,o.KeyboardTabIcon=Ko,o.KeyboardVoiceIcon=DC,o.KingBedIcon=NC,o.KitchenIcon=TC,o.KitesurfingIcon=MC,o.LabelIcon=OC,o.LabelImportantIcon=LC,o.LabelOffIcon=QC,o.LabelWithIcon=Ke,o.LanIcon=VC,o.LandscapeIcon=WC,o.LandslideIcon=GC,o.LanguageIcon=zC,o.LaptopChromebookIcon=UC,o.LaptopIcon=HC,o.LaptopMacIcon=YC,o.LaptopWindowsIcon=jC,o.LastPageIcon=$C,o.LaunchIcon=qC,o.LayersClearIcon=ZC,o.LayersIcon=JC,o.LeaderboardIcon=XC,o.LeakAddIcon=xC,o.LeakRemoveIcon=RC,o.LegendToggleIcon=eK,o.LensBlurIcon=oK,o.LensIcon=nK,o.LibraryAddCheckIcon=tK,o.LibraryAddIcon=rK,o.LibraryBooksIcon=cK,o.LibraryMusicIcon=iK,o.LightIcon=aK,o.LightModeIcon=vc,o.LightbulbCircleIcon=sK,o.LightbulbIcon=lK,o.LineAxisIcon=dK,o.LineStyleIcon=uK,o.LineWeightIcon=fK,o.LinearScaleIcon=AK,o.LinkIcon=Cc,o.LinkOffIcon=yK,o.LinkedCameraIcon=_K,o.LiquorIcon=gK,o.ListAltIcon=Sc,o.ListIcon=Kc,o.LiveHelpIcon=hK,o.LiveTvIcon=IK,o.LivingIcon=bK,o.LoadingButton=Ta,o.LocalActivityIcon=pK,o.LocalAirportIcon=wK,o.LocalAtmIcon=kK,o.LocalBarIcon=mK,o.LocalCafeIcon=vK,o.LocalCarWashIcon=CK,o.LocalConvenienceStoreIcon=KK,o.LocalDiningIcon=SK,o.LocalDrinkIcon=BK,o.LocalFireDepartmentIcon=EK,o.LocalFloristIcon=FK,o.LocalGasStationIcon=PK,o.LocalGroceryStoreIcon=DK,o.LocalHospitalIcon=NK,o.LocalHotelIcon=TK,o.LocalLaundryServiceIcon=MK,o.LocalLibraryIcon=OK,o.LocalMallIcon=LK,o.LocalMoviesIcon=QK,o.LocalOfferIcon=VK,o.LocalParkingIcon=WK,o.LocalPharmacyIcon=GK,o.LocalPhoneIcon=zK,o.LocalPizzaIcon=HK,o.LocalPlayIcon=UK,o.LocalPoliceIcon=YK,o.LocalPostOfficeIcon=jK,o.LocalPrintshopIcon=$K,o.LocalSeeIcon=qK,o.LocalShippingIcon=JK,o.LocalTaxiIcon=ZK,o.LocationCityIcon=XK,o.LocationDisabledIcon=xK,o.LocationOffIcon=RK,o.LocationOnIcon=eS,o.LocationSearchingIcon=nS,o.LockClockIcon=rS,o.LockIcon=oS,o.LockOpenIcon=tS,o.LockPersonIcon=cS,o.LockResetIcon=iS,o.LoginIcon=aS,o.LogoDevIcon=lS,o.LogoutIcon=Bc,o.Looks3Icon=dS,o.Looks4Icon=uS,o.Looks5Icon=fS,o.Looks6Icon=AS,o.LooksIcon=sS,o.LooksOneIcon=yS,o.LooksTwoIcon=_S,o.LoopIcon=gS,o.LoupeIcon=hS,o.LowPriorityIcon=IS,o.LoyaltyIcon=bS,o.LteMobiledataIcon=pS,o.LtePlusMobiledataIcon=wS,o.LuggageIcon=kS,o.LunchDiningIcon=mS,o.LyricsIcon=vS,o.MacroOffIcon=CS,o.MailIcon=KS,o.MailLockIcon=SS,o.MailOutlineIcon=BS,o.MaleIcon=ES,o.Man2Icon=PS,o.Man3Icon=DS,o.Man4Icon=NS,o.ManIcon=FS,o.ManageAccountsIcon=TS,o.ManageHistoryIcon=MS,o.ManageSearchIcon=OS,o.MapFieldBinding=ua,o.MapIcon=LS,o.MapPropertyPreview=yi,o.MapsHomeWorkIcon=QS,o.MapsUgcIcon=VS,o.MarginIcon=WS,o.MarkAsUnreadIcon=GS,o.MarkChatReadIcon=zS,o.MarkChatUnreadIcon=HS,o.MarkEmailReadIcon=US,o.MarkEmailUnreadIcon=YS,o.MarkUnreadChatAltIcon=jS,o.Markdown=Ao,o.MarkdownFieldBinding=_a,o.MarkunreadIcon=$S,o.MarkunreadMailboxIcon=qS,o.MasksIcon=JS,o.MaximizeIcon=ZS,o.MediaBluetoothOffIcon=XS,o.MediaBluetoothOnIcon=xS,o.MediationIcon=RS,o.MedicalInformationIcon=eB,o.MedicalServicesIcon=nB,o.MedicationIcon=oB,o.MedicationLiquidIcon=rB,o.MeetingRoomIcon=tB,o.MemoryIcon=cB,o.Menu=jn,o.MenuBookIcon=iB,o.MenuIcon=vr,o.MenuItem=Be,o.MenuOpenIcon=aB,o.MergeIcon=lB,o.MergeTypeIcon=sB,o.MessageIcon=dB,o.MicExternalOffIcon=fB,o.MicExternalOnIcon=AB,o.MicIcon=uB,o.MicNoneIcon=yB,o.MicOffIcon=_B,o.MicrowaveIcon=gB,o.MilitaryTechIcon=hB,o.MinimizeIcon=IB,o.MinorCrashIcon=bB,o.MiscellaneousServicesIcon=pB,o.MissedVideoCallIcon=wB,o.MmsIcon=kB,o.MobileFriendlyIcon=mB,o.MobileOffIcon=vB,o.MobileScreenShareIcon=CB,o.MobiledataOffIcon=KB,o.ModeCommentIcon=BB,o.ModeControllerContext=zo,o.ModeControllerProvider=OH,o.ModeEditIcon=EB,o.ModeEditOutlineIcon=FB,o.ModeFanOffIcon=PB,o.ModeIcon=SB,o.ModeNightIcon=DB,o.ModeOfTravelIcon=NB,o.ModeStandbyIcon=TB,o.ModelTrainingIcon=MB,o.MonetizationOnIcon=OB,o.MoneyIcon=LB,o.MoneyOffCsredIcon=VB,o.MoneyOffIcon=QB,o.MonitorHeartIcon=GB,o.MonitorIcon=WB,o.MonitorWeightIcon=zB,o.MonochromePhotosIcon=HB,o.MoodBadIcon=YB,o.MoodIcon=UB,o.MopedIcon=jB,o.MoreHorizIcon=qB,o.MoreIcon=$B,o.MoreTimeIcon=JB,o.MoreVertIcon=Cr,o.MosqueIcon=ZB,o.MotionPhotosAutoIcon=XB,o.MotionPhotosOffIcon=xB,o.MotionPhotosOnIcon=RB,o.MotionPhotosPauseIcon=eE,o.MotionPhotosPausedIcon=nE,o.MouseIcon=oE,o.MoveDownIcon=rE,o.MoveToInboxIcon=tE,o.MoveUpIcon=cE,o.MovieCreationIcon=aE,o.MovieFilterIcon=lE,o.MovieIcon=iE,o.MovingIcon=sE,o.MpIcon=dE,o.MultiSelect=kt,o.MultiSelectBinding=vt,o.MultiSelectContext=wt,o.MultiSelectItem=mt,o.MultilineChartIcon=uE,o.MultipleStopIcon=fE,o.MuseumIcon=AE,o.MusicNoteIcon=yE,o.MusicOffIcon=_E,o.MusicVideoIcon=gE,o.MyLocationIcon=hE,o.NatIcon=IE,o.NatureIcon=bE,o.NaturePeopleIcon=pE,o.NavigateBeforeIcon=wE,o.NavigateNextIcon=kE,o.NavigationCollectionCard=Ri,o.NavigationGroup=gt,o.NavigationIcon=mE,o.NavigationRoutes=l3,o.NearMeDisabledIcon=CE,o.NearMeIcon=vE,o.NearbyErrorIcon=KE,o.NearbyOffIcon=SE,o.NestCamWiredStandIcon=BE,o.NetworkCellIcon=EE,o.NetworkCheckIcon=FE,o.NetworkLockedIcon=PE,o.NetworkPingIcon=DE,o.NetworkWifi1BarIcon=TE,o.NetworkWifi2BarIcon=ME,o.NetworkWifi3BarIcon=OE,o.NetworkWifiIcon=NE,o.NewLabelIcon=LE,o.NewReleasesIcon=QE,o.NewspaperIcon=VE,o.NextPlanIcon=WE,o.NextWeekIcon=GE,o.NfcIcon=zE,o.NightShelterIcon=HE,o.NightlifeIcon=UE,o.NightlightIcon=YE,o.NightlightRoundIcon=jE,o.NightsStayIcon=$E,o.NoAccountsIcon=qE,o.NoAdultContentIcon=JE,o.NoBackpackIcon=ZE,o.NoCellIcon=XE,o.NoCrashIcon=xE,o.NoDrinksIcon=RE,o.NoEncryptionGmailerrorredIcon=nF,o.NoEncryptionIcon=eF,o.NoFlashIcon=oF,o.NoFoodIcon=rF,o.NoLuggageIcon=tF,o.NoMealsIcon=cF,o.NoMeetingRoomIcon=iF,o.NoPhotographyIcon=aF,o.NoSimIcon=lF,o.NoStrollerIcon=sF,o.NoTransferIcon=dF,o.NoiseAwareIcon=uF,o.NoiseControlOffIcon=fF,o.NordicWalkingIcon=AF,o.NorthEastIcon=_F,o.NorthIcon=yF,o.NorthWestIcon=gF,o.NotAccessibleIcon=hF,o.NotFoundPage=na,o.NotInterestedIcon=IF,o.NotListedLocationIcon=bF,o.NotStartedIcon=pF,o.NoteAddIcon=kF,o.NoteAltIcon=mF,o.NoteIcon=wF,o.NotesIcon=vF,o.NotificationAddIcon=CF,o.NotificationImportantIcon=KF,o.NotificationsActiveIcon=BF,o.NotificationsIcon=SF,o.NotificationsNoneIcon=EF,o.NotificationsOffIcon=FF,o.NotificationsPausedIcon=PF,o.NumberPropertyPreview=hi,o.NumbersIcon=Ec,o.OfflineBoltIcon=DF,o.OfflinePinIcon=NF,o.OfflineShareIcon=TF,o.OilBarrelIcon=MF,o.OnDeviceTrainingIcon=OF,o.OndemandVideoIcon=LF,o.OnlinePredictionIcon=QF,o.OpacityIcon=VF,o.OpenInBrowserIcon=WF,o.OpenInFullIcon=GF,o.OpenInNewIcon=Rn,o.OpenInNewOffIcon=zF,o.OpenWithIcon=HF,o.OtherHousesIcon=UF,o.OutboundIcon=YF,o.OutboxIcon=jF,o.OutdoorGrillIcon=$F,o.OutletIcon=qF,o.OutlinedFlagIcon=JF,o.OutputIcon=ZF,o.PaddingIcon=XF,o.PagesIcon=xF,o.PageviewIcon=RF,o.PaidIcon=eP,o.PaletteIcon=nP,o.PanToolAltIcon=rP,o.PanToolIcon=oP,o.PanoramaFishEyeIcon=cP,o.PanoramaHorizontalIcon=iP,o.PanoramaHorizontalSelectIcon=aP,o.PanoramaIcon=tP,o.PanoramaPhotosphereIcon=lP,o.PanoramaPhotosphereSelectIcon=sP,o.PanoramaVerticalIcon=dP,o.PanoramaVerticalSelectIcon=uP,o.PanoramaWideAngleIcon=fP,o.PanoramaWideAngleSelectIcon=AP,o.Paper=gU,o.ParaglidingIcon=yP,o.ParkIcon=_P,o.PartyModeIcon=gP,o.PasswordIcon=hP,o.PatternIcon=IP,o.PauseCircleFilledIcon=wP,o.PauseCircleIcon=pP,o.PauseCircleOutlineIcon=kP,o.PauseIcon=bP,o.PausePresentationIcon=mP,o.PaymentIcon=vP,o.PaymentsIcon=CP,o.PedalBikeIcon=KP,o.PendingActionsIcon=BP,o.PendingIcon=SP,o.PentagonIcon=EP,o.PeopleAltIcon=PP,o.PeopleIcon=FP,o.PeopleOutlineIcon=DP,o.PercentIcon=NP,o.PermCameraMicIcon=TP,o.PermContactCalendarIcon=MP,o.PermDataSettingIcon=OP,o.PermDeviceInformationIcon=LP,o.PermIdentityIcon=QP,o.PermMediaIcon=VP,o.PermPhoneMsgIcon=WP,o.PermScanWifiIcon=GP,o.Person2Icon=HP,o.Person3Icon=UP,o.Person4Icon=YP,o.PersonAddAlt1Icon=qP,o.PersonAddAltIcon=$P,o.PersonAddDisabledIcon=JP,o.PersonAddIcon=jP,o.PersonIcon=zP,o.PersonOffIcon=ZP,o.PersonOutlineIcon=XP,o.PersonPinCircleIcon=RP,o.PersonPinIcon=xP,o.PersonRemoveAlt1Icon=n1,o.PersonRemoveIcon=e1,o.PersonSearchIcon=o1,o.PersonalInjuryIcon=r1,o.PersonalVideoIcon=t1,o.PestControlIcon=c1,o.PestControlRodentIcon=i1,o.PetsIcon=a1,o.PhishingIcon=l1,o.PhoneAndroidIcon=d1,o.PhoneBluetoothSpeakerIcon=u1,o.PhoneCallbackIcon=f1,o.PhoneDisabledIcon=A1,o.PhoneEnabledIcon=y1,o.PhoneForwardedIcon=_1,o.PhoneIcon=s1,o.PhoneIphoneIcon=g1,o.PhoneLockedIcon=h1,o.PhoneMissedIcon=I1,o.PhonePausedIcon=b1,o.PhonelinkEraseIcon=w1,o.PhonelinkIcon=p1,o.PhonelinkLockIcon=k1,o.PhonelinkOffIcon=m1,o.PhonelinkRingIcon=v1,o.PhonelinkSetupIcon=C1,o.PhotoAlbumIcon=S1,o.PhotoCameraBackIcon=E1,o.PhotoCameraFrontIcon=F1,o.PhotoCameraIcon=B1,o.PhotoFilterIcon=P1,o.PhotoIcon=K1,o.PhotoLibraryIcon=D1,o.PhotoSizeSelectActualIcon=N1,o.PhotoSizeSelectLargeIcon=T1,o.PhotoSizeSelectSmallIcon=M1,o.PhpIcon=O1,o.PianoIcon=L1,o.PianoOffIcon=Q1,o.PictureAsPdfIcon=V1,o.PictureInPictureAltIcon=G1,o.PictureInPictureIcon=W1,o.PieChartIcon=z1,o.PieChartOutlineIcon=H1,o.PinDropIcon=Y1,o.PinEndIcon=j1,o.PinIcon=U1,o.PinInvokeIcon=$1,o.PinchIcon=q1,o.PivotTableChartIcon=J1,o.PixIcon=Z1,o.PlaceIcon=X1,o.PlagiarismIcon=x1,o.PlayArrowIcon=R1,o.PlayCircleFilledIcon=nD,o.PlayCircleIcon=eD,o.PlayCircleOutlineIcon=oD,o.PlayDisabledIcon=rD,o.PlayForWorkIcon=tD,o.PlayLessonIcon=cD,o.PlaylistAddCheckCircleIcon=lD,o.PlaylistAddCheckIcon=aD,o.PlaylistAddCircleIcon=sD,o.PlaylistAddIcon=iD,o.PlaylistPlayIcon=dD,o.PlaylistRemoveIcon=uD,o.PlumbingIcon=fD,o.PlusOneIcon=AD,o.PodcastsIcon=yD,o.PointOfSaleIcon=_D,o.PolicyIcon=gD,o.PollIcon=hD,o.PolylineIcon=ID,o.PolymerIcon=bD,o.PoolIcon=pD,o.Popover=tr,o.PortableWifiOffIcon=wD,o.PortraitIcon=kD,o.PostAddIcon=mD,o.PowerIcon=vD,o.PowerInputIcon=CD,o.PowerOffIcon=KD,o.PowerSettingsNewIcon=SD,o.PrecisionManufacturingIcon=BD,o.PregnantWomanIcon=ED,o.PresentToAllIcon=FD,o.PreviewIcon=PD,o.PriceChangeIcon=DD,o.PriceCheckIcon=ND,o.PrintDisabledIcon=MD,o.PrintIcon=TD,o.PriorityHighIcon=OD,o.PrivacyTipIcon=LD,o.PrivateConnectivityIcon=QD,o.ProductionQuantityLimitsIcon=VD,o.PropaneIcon=WD,o.PropaneTankIcon=GD,o.PropertyFieldBinding=Sn,o.PropertyPreview=Ce,o.PsychologyAltIcon=HD,o.PsychologyIcon=zD,o.PublicIcon=UD,o.PublicOffIcon=YD,o.PublishIcon=jD,o.PublishedWithChangesIcon=$D,o.PunchClockIcon=qD,o.PushPinIcon=JD,o.QrCode2Icon=XD,o.QrCodeIcon=ZD,o.QrCodeScannerIcon=xD,o.QueryBuilderIcon=RD,o.QueryStatsIcon=eN,o.QuestionAnswerIcon=nN,o.QuestionMarkIcon=oN,o.QueueIcon=rN,o.QueueMusicIcon=tN,o.QueuePlayNextIcon=cN,o.QuickreplyIcon=iN,o.QuizIcon=aN,o.RMobiledataIcon=lN,o.RadarIcon=sN,o.RadioButtonCheckedIcon=uN,o.RadioButtonUncheckedIcon=fN,o.RadioIcon=dN,o.RailwayAlertIcon=AN,o.RamenDiningIcon=yN,o.RampLeftIcon=_N,o.RampRightIcon=gN,o.RateReviewIcon=hN,o.RawOffIcon=IN,o.RawOnIcon=bN,o.ReadMoreIcon=pN,o.ReadOnlyFieldBinding=Kt,o.RealEstateAgentIcon=wN,o.ReceiptIcon=kN,o.ReceiptLongIcon=mN,o.RecentActorsIcon=vN,o.RecommendIcon=CN,o.RecordVoiceOverIcon=KN,o.RectangleIcon=SN,o.RecyclingIcon=BN,o.RedeemIcon=EN,o.RedoIcon=FN,o.ReduceCapacityIcon=PN,o.ReferenceFieldBinding=da,o.ReferencePreview=rn,o.ReferencePreviewContainer=Vo,o.ReferenceSelectionInner=xi,o.RefreshIcon=DN,o.RememberMeIcon=NN,o.RemoveCircleIcon=Fc,o.RemoveCircleOutlineIcon=TN,o.RemoveDoneIcon=MN,o.RemoveFromQueueIcon=ON,o.RemoveIcon=eo,o.RemoveModeratorIcon=LN,o.RemoveRedEyeIcon=QN,o.RemoveRoadIcon=VN,o.RemoveShoppingCartIcon=WN,o.ReorderIcon=GN,o.RepartitionIcon=zN,o.RepeatFieldBinding=Aa,o.RepeatIcon=Kr,o.RepeatOnIcon=HN,o.RepeatOneIcon=UN,o.RepeatOneOnIcon=YN,o.Replay10Icon=$N,o.Replay30Icon=qN,o.Replay5Icon=JN,o.ReplayCircleFilledIcon=ZN,o.ReplayIcon=jN,o.ReplyAllIcon=xN,o.ReplyIcon=XN,o.ReportGmailerrorredIcon=eT,o.ReportIcon=RN,o.ReportOffIcon=nT,o.ReportProblemIcon=oT,o.RequestPageIcon=rT,o.RequestQuoteIcon=tT,o.ResetTvIcon=cT,o.RestartAltIcon=iT,o.RestaurantIcon=aT,o.RestaurantMenuIcon=lT,o.RestoreFromTrashIcon=dT,o.RestoreIcon=sT,o.RestorePageIcon=uT,o.ReviewsIcon=fT,o.RiceBowlIcon=AT,o.RingVolumeIcon=yT,o.RocketIcon=_T,o.RocketLaunchIcon=gT,o.RollerShadesClosedIcon=IT,o.RollerShadesIcon=hT,o.RollerSkatingIcon=bT,o.RoofingIcon=pT,o.RoomIcon=wT,o.RoomPreferencesIcon=kT,o.RoomServiceIcon=mT,o.Rotate90DegreesCcwIcon=vT,o.Rotate90DegreesCwIcon=CT,o.RotateLeftIcon=KT,o.RotateRightIcon=ST,o.RoundaboutLeftIcon=BT,o.RoundaboutRightIcon=ET,o.RoundedCornerIcon=FT,o.RouteIcon=PT,o.RouteWrapper=$o,o.RouterIcon=DT,o.RowingIcon=NT,o.RssFeedIcon=TT,o.RsvpIcon=MT,o.RttIcon=OT,o.RuleFolderIcon=QT,o.RuleIcon=LT,o.RunCircleIcon=VT,o.RunningWithErrorsIcon=WT,o.RvHookupIcon=GT,o.SafetyCheckIcon=zT,o.SafetyDividerIcon=HT,o.SailingIcon=UT,o.SanitizerIcon=YT,o.SatelliteAltIcon=$T,o.SatelliteIcon=jT,o.SaveAltIcon=JT,o.SaveAsIcon=ZT,o.SaveIcon=qT,o.SavedSearchIcon=XT,o.SavingsIcon=xT,o.Scaffold=c3,o.ScaleIcon=RT,o.ScannerIcon=eM,o.ScatterPlotIcon=nM,o.ScheduleIcon=Pc,o.ScheduleSendIcon=oM,o.SchemaIcon=rM,o.SchoolIcon=tM,o.ScienceIcon=cM,o.ScoreIcon=iM,o.ScoreboardIcon=aM,o.ScreenLockLandscapeIcon=lM,o.ScreenLockPortraitIcon=sM,o.ScreenLockRotationIcon=dM,o.ScreenRotationAltIcon=fM,o.ScreenRotationIcon=uM,o.ScreenSearchDesktopIcon=AM,o.ScreenShareIcon=yM,o.ScreenshotIcon=_M,o.ScreenshotMonitorIcon=gM,o.ScubaDivingIcon=hM,o.SdCardAlertIcon=pM,o.SdCardIcon=bM,o.SdIcon=IM,o.SdStorageIcon=wM,o.SearchBar=Ut,o.SearchIcon=hr,o.SearchOffIcon=kM,o.SecurityIcon=mM,o.SecurityUpdateGoodIcon=CM,o.SecurityUpdateIcon=vM,o.SecurityUpdateWarningIcon=KM,o.SegmentIcon=SM,o.Select=xe,o.SelectAllIcon=BM,o.SelectFieldBinding=pt,o.SelectGroup=hU,o.SelectItem=Re,o.SelfImprovementIcon=EM,o.SellIcon=FM,o.SendAndArchiveIcon=DM,o.SendIcon=PM,o.SendTimeExtensionIcon=NM,o.SendToMobileIcon=TM,o.SensorDoorIcon=MM,o.SensorOccupiedIcon=OM,o.SensorWindowIcon=LM,o.SensorsIcon=QM,o.SensorsOffIcon=VM,o.SentimentDissatisfiedIcon=WM,o.SentimentNeutralIcon=GM,o.SentimentSatisfiedAltIcon=HM,o.SentimentSatisfiedIcon=zM,o.SentimentVeryDissatisfiedIcon=UM,o.SentimentVerySatisfiedIcon=YM,o.SetMealIcon=jM,o.SettingsAccessibilityIcon=qM,o.SettingsApplicationsIcon=JM,o.SettingsBackupRestoreIcon=ZM,o.SettingsBluetoothIcon=XM,o.SettingsBrightnessIcon=xM,o.SettingsCellIcon=RM,o.SettingsEthernetIcon=e2,o.SettingsIcon=$M,o.SettingsInputAntennaIcon=n2,o.SettingsInputComponentIcon=o2,o.SettingsInputCompositeIcon=r2,o.SettingsInputHdmiIcon=t2,o.SettingsInputSvideoIcon=c2,o.SettingsOverscanIcon=i2,o.SettingsPhoneIcon=a2,o.SettingsPowerIcon=l2,o.SettingsRemoteIcon=s2,o.SettingsSuggestIcon=d2,o.SettingsSystemDaydreamIcon=u2,o.SettingsVoiceIcon=f2,o.SevereColdIcon=A2,o.ShapeLineIcon=y2,o.ShareIcon=_2,o.ShareLocationIcon=g2,o.Sheet=Yt,o.ShieldIcon=h2,o.ShieldMoonIcon=I2,o.Shop2Icon=p2,o.ShopIcon=b2,o.ShopTwoIcon=w2,o.ShoppingBagIcon=k2,o.ShoppingBasketIcon=m2,o.ShoppingCartCheckoutIcon=C2,o.ShoppingCartIcon=v2,o.ShortTextIcon=Dc,o.ShortcutIcon=K2,o.ShowChartIcon=S2,o.ShowerIcon=B2,o.ShuffleIcon=E2,o.ShuffleOnIcon=F2,o.ShutterSpeedIcon=P2,o.SickIcon=D2,o.SideDialogs=zH,o.SignLanguageIcon=N2,o.SignalCellular0BarIcon=T2,o.SignalCellular4BarIcon=M2,o.SignalCellularAlt1BarIcon=L2,o.SignalCellularAlt2BarIcon=Q2,o.SignalCellularAltIcon=O2,o.SignalCellularConnectedNoInternet0BarIcon=V2,o.SignalCellularConnectedNoInternet4BarIcon=W2,o.SignalCellularNoSimIcon=G2,o.SignalCellularNodataIcon=z2,o.SignalCellularNullIcon=H2,o.SignalCellularOffIcon=U2,o.SignalWifi0BarIcon=Y2,o.SignalWifi4BarIcon=j2,o.SignalWifi4BarLockIcon=$2,o.SignalWifiBadIcon=q2,o.SignalWifiConnectedNoInternet4Icon=J2,o.SignalWifiOffIcon=Z2,o.SignalWifiStatusbar4BarIcon=X2,o.SignalWifiStatusbarConnectedNoInternet4Icon=x2,o.SignalWifiStatusbarNullIcon=R2,o.SignpostIcon=eO,o.SimCardAlertIcon=oO,o.SimCardDownloadIcon=rO,o.SimCardIcon=nO,o.SingleBedIcon=tO,o.SipIcon=cO,o.SkateboardingIcon=iO,o.Skeleton=Oe,o.SkeletonPropertyComponent=Wn,o.SkipNextIcon=aO,o.SkipPreviousIcon=lO,o.SleddingIcon=sO,o.SlideshowIcon=dO,o.SlowMotionVideoIcon=uO,o.SmartButtonIcon=fO,o.SmartDisplayIcon=AO,o.SmartScreenIcon=yO,o.SmartToyIcon=_O,o.SmartphoneIcon=gO,o.SmokeFreeIcon=hO,o.SmokingRoomsIcon=IO,o.SmsFailedIcon=pO,o.SmsIcon=bO,o.SnackbarProvider=TH,o.SnippetFolderIcon=wO,o.SnoozeIcon=kO,o.SnowboardingIcon=mO,o.SnowmobileIcon=vO,o.SnowshoeingIcon=CO,o.SoapIcon=KO,o.SocialDistanceIcon=SO,o.SolarPowerIcon=BO,o.SortByAlphaIcon=FO,o.SortIcon=EO,o.SosIcon=PO,o.SoupKitchenIcon=DO,o.SourceIcon=NO,o.SouthAmericaIcon=MO,o.SouthEastIcon=OO,o.SouthIcon=TO,o.SouthWestIcon=LO,o.SpaIcon=QO,o.SpaceBarIcon=VO,o.SpaceDashboardIcon=WO,o.SpatialAudioIcon=GO,o.SpatialAudioOffIcon=zO,o.SpatialTrackingIcon=HO,o.SpeakerGroupIcon=YO,o.SpeakerIcon=UO,o.SpeakerNotesIcon=jO,o.SpeakerNotesOffIcon=$O,o.SpeakerPhoneIcon=qO,o.SpeedIcon=JO,o.SpellcheckIcon=ZO,o.Spinner=IU,o.SplitscreenIcon=XO,o.SpokeIcon=xO,o.SportsBarIcon=eL,o.SportsBaseballIcon=nL,o.SportsBasketballIcon=oL,o.SportsCricketIcon=rL,o.SportsEsportsIcon=tL,o.SportsFootballIcon=cL,o.SportsGolfIcon=iL,o.SportsGymnasticsIcon=aL,o.SportsHandballIcon=lL,o.SportsHockeyIcon=sL,o.SportsIcon=RO,o.SportsKabaddiIcon=dL,o.SportsMartialArtsIcon=uL,o.SportsMmaIcon=fL,o.SportsMotorsportsIcon=AL,o.SportsRugbyIcon=yL,o.SportsScoreIcon=_L,o.SportsSoccerIcon=gL,o.SportsTennisIcon=hL,o.SportsVolleyballIcon=IL,o.SquareFootIcon=pL,o.SquareIcon=bL,o.SsidChartIcon=wL,o.StackedBarChartIcon=kL,o.StackedLineChartIcon=mL,o.StadiumIcon=vL,o.StairsIcon=CL,o.StarBorderIcon=Br,o.StarBorderPurple500Icon=KL,o.StarHalfIcon=SL,o.StarIcon=Sr,o.StarOutlineIcon=BL,o.StarPurple500Icon=EL,o.StarRateIcon=FL,o.StarsIcon=PL,o.StartIcon=DL,o.StayCurrentLandscapeIcon=NL,o.StayCurrentPortraitIcon=TL,o.StayPrimaryLandscapeIcon=ML,o.StayPrimaryPortraitIcon=OL,o.StickyNote2Icon=LL,o.StopCircleIcon=VL,o.StopIcon=QL,o.StopScreenShareIcon=WL,o.StorageIcon=GL,o.StorageThumbnail=ii,o.StorageThumbnailInternal=li,o.StorageUploadFieldBinding=Ct,o.StoreIcon=zL,o.StoreMallDirectoryIcon=HL,o.StorefrontIcon=UL,o.StormIcon=YL,o.StraightIcon=jL,o.StraightenIcon=$L,o.StreamIcon=qL,o.StreetviewIcon=JL,o.StrikethroughSIcon=ZL,o.StringPropertyPreview=$r,o.StrollerIcon=XL,o.StyleIcon=xL,o.SubdirectoryArrowLeftIcon=RL,o.SubdirectoryArrowRightIcon=e4,o.SubjectIcon=Nc,o.SubscriptIcon=n4,o.SubscriptionsIcon=o4,o.SubtitlesIcon=r4,o.SubtitlesOffIcon=t4,o.SubwayIcon=c4,o.SummarizeIcon=i4,o.SuperscriptIcon=a4,o.SupervisedUserCircleIcon=l4,o.SupervisorAccountIcon=s4,o.SupportAgentIcon=u4,o.SupportIcon=d4,o.SurfingIcon=f4,o.SurroundSoundIcon=A4,o.SwapCallsIcon=y4,o.SwapHorizIcon=_4,o.SwapHorizontalCircleIcon=g4,o.SwapVertIcon=h4,o.SwapVerticalCircleIcon=I4,o.SwipeDownAltIcon=w4,o.SwipeDownIcon=p4,o.SwipeIcon=b4,o.SwipeLeftAltIcon=m4,o.SwipeLeftIcon=k4,o.SwipeRightAltIcon=C4,o.SwipeRightIcon=v4,o.SwipeUpAltIcon=S4,o.SwipeUpIcon=K4,o.SwipeVerticalIcon=B4,o.SwitchAccessShortcutAddIcon=F4,o.SwitchAccessShortcutIcon=E4,o.SwitchAccountIcon=P4,o.SwitchCameraIcon=D4,o.SwitchControl=w3,o.SwitchFieldBinding=la,o.SwitchLeftIcon=N4,o.SwitchRightIcon=T4,o.SwitchVideoIcon=M4,o.SynagogueIcon=O4,o.SyncAltIcon=Q4,o.SyncDisabledIcon=V4,o.SyncIcon=L4,o.SyncLockIcon=W4,o.SyncProblemIcon=G4,o.SystemSecurityUpdateGoodIcon=H4,o.SystemSecurityUpdateIcon=z4,o.SystemSecurityUpdateWarningIcon=U4,o.SystemUpdateAltIcon=j4,o.SystemUpdateIcon=Y4,o.Tab=rr,o.TabIcon=$4,o.TabUnselectedIcon=q4,o.Table=bU,o.TableBarIcon=J4,o.TableBody=pU,o.TableCell=mU,o.TableChartIcon=Z4,o.TableHeader=wU,o.TableRestaurantIcon=X4,o.TableRow=kU,o.TableRowsIcon=x4,o.TableViewIcon=R4,o.TabletAndroidIcon=nQ,o.TabletIcon=eQ,o.TabletMacIcon=oQ,o.Tabs=Ma,o.TagFacesIcon=tQ,o.TagIcon=rQ,o.TakeoutDiningIcon=cQ,o.TapAndPlayIcon=iQ,o.TapasIcon=aQ,o.TaskAltIcon=sQ,o.TaskIcon=lQ,o.TaxiAlertIcon=dQ,o.TempleBuddhistIcon=uQ,o.TempleHinduIcon=fQ,o.TerminalIcon=AQ,o.TerrainIcon=yQ,o.TextDecreaseIcon=_Q,o.TextField=tn,o.TextFieldBinding=Hn,o.TextFieldsIcon=gQ,o.TextFormatIcon=hQ,o.TextIncreaseIcon=IQ,o.TextRotateUpIcon=bQ,o.TextRotateVerticalIcon=pQ,o.TextRotationAngledownIcon=wQ,o.TextRotationAngleupIcon=kQ,o.TextRotationDownIcon=mQ,o.TextRotationNoneIcon=vQ,o.TextSnippetIcon=CQ,o.TextareaAutosize=et,o.TextsmsIcon=KQ,o.TextureIcon=SQ,o.TheaterComedyIcon=BQ,o.TheatersIcon=EQ,o.ThermostatAutoIcon=PQ,o.ThermostatIcon=FQ,o.ThumbDownAltIcon=NQ,o.ThumbDownIcon=DQ,o.ThumbDownOffAltIcon=TQ,o.ThumbUpAltIcon=OQ,o.ThumbUpIcon=MQ,o.ThumbUpOffAltIcon=LQ,o.ThumbsUpDownIcon=QQ,o.ThunderstormIcon=VQ,o.TimeToLeaveIcon=WQ,o.TimelapseIcon=GQ,o.TimelineIcon=zQ,o.Timer10Icon=UQ,o.Timer10SelectIcon=YQ,o.Timer3Icon=jQ,o.Timer3SelectIcon=$Q,o.TimerIcon=HQ,o.TimerOffIcon=qQ,o.TipsAndUpdatesIcon=JQ,o.TireRepairIcon=ZQ,o.TitleIcon=XQ,o.TocIcon=xQ,o.TodayIcon=RQ,o.ToggleOffIcon=eV,o.ToggleOnIcon=nV,o.TokenIcon=oV,o.TollIcon=rV,o.TonalityIcon=tV,o.Tooltip=ye,o.TopicIcon=cV,o.TornadoIcon=iV,o.TouchAppIcon=aV,o.TourIcon=lV,o.ToysIcon=sV,o.TrackChangesIcon=dV,o.TrafficIcon=uV,o.TrainIcon=fV,o.TramIcon=AV,o.TranscribeIcon=yV,o.TransferWithinAStationIcon=_V,o.TransformIcon=gV,o.TransgenderIcon=hV,o.TransitEnterexitIcon=IV,o.TranslateIcon=bV,o.TravelExploreIcon=pV,o.TrendingDownIcon=wV,o.TrendingFlatIcon=kV,o.TrendingUpIcon=mV,o.TripOriginIcon=vV,o.TroubleshootIcon=CV,o.TryIcon=KV,o.TsunamiIcon=SV,o.TtyIcon=BV,o.TuneIcon=EV,o.TungstenIcon=FV,o.TurnLeftIcon=PV,o.TurnRightIcon=DV,o.TurnSharpLeftIcon=NV,o.TurnSharpRightIcon=TV,o.TurnSlightLeftIcon=MV,o.TurnSlightRightIcon=OV,o.TurnedInIcon=LV,o.TurnedInNotIcon=QV,o.TvIcon=VV,o.TvOffIcon=WV,o.TwoWheelerIcon=GV,o.TypeSpecimenIcon=zV,o.Typography=Z,o.UTurnLeftIcon=HV,o.UTurnRightIcon=UV,o.UmbrellaIcon=YV,o.UnarchiveIcon=jV,o.UndoIcon=$V,o.UnfoldLessDoubleIcon=JV,o.UnfoldLessIcon=qV,o.UnfoldMoreDoubleIcon=XV,o.UnfoldMoreIcon=ZV,o.UnpublishedIcon=xV,o.UnsubscribeIcon=RV,o.UpcomingIcon=eW,o.UpdateDisabledIcon=oW,o.UpdateIcon=nW,o.UpgradeIcon=rW,o.UploadFileIcon=Tc,o.UploadIcon=tW,o.UrlComponentPreview=co,o.UsbIcon=cW,o.UsbOffIcon=iW,o.VaccinesIcon=aW,o.VapeFreeIcon=lW,o.VapingRoomsIcon=sW,o.VerifiedIcon=dW,o.VerifiedUserIcon=uW,o.VerticalAlignBottomIcon=fW,o.VerticalAlignCenterIcon=AW,o.VerticalAlignTopIcon=yW,o.VerticalDistributeIcon=_W,o.VerticalShadesClosedIcon=hW,o.VerticalShadesIcon=gW,o.VerticalSplitIcon=IW,o.VibrationIcon=bW,o.VideoCallIcon=pW,o.VideoCameraBackIcon=wW,o.VideoCameraFrontIcon=kW,o.VideoChatIcon=mW,o.VideoFileIcon=vW,o.VideoLabelIcon=CW,o.VideoLibraryIcon=KW,o.VideoSettingsIcon=SW,o.VideoStableIcon=BW,o.VideocamIcon=EW,o.VideocamOffIcon=FW,o.VideogameAssetIcon=PW,o.VideogameAssetOffIcon=DW,o.ViewAgendaIcon=NW,o.ViewArrayIcon=TW,o.ViewCarouselIcon=MW,o.ViewColumnIcon=OW,o.ViewComfyAltIcon=QW,o.ViewComfyIcon=LW,o.ViewCompactAltIcon=WW,o.ViewCompactIcon=VW,o.ViewCozyIcon=GW,o.ViewDayIcon=zW,o.ViewHeadlineIcon=HW,o.ViewInArIcon=UW,o.ViewKanbanIcon=YW,o.ViewListIcon=jW,o.ViewModuleIcon=$W,o.ViewQuiltIcon=qW,o.ViewSidebarIcon=JW,o.ViewStreamIcon=Mc,o.ViewTimelineIcon=ZW,o.ViewWeekIcon=XW,o.VignetteIcon=xW,o.VillaIcon=RW,o.VirtualTable=Fi,o.VisibilityIcon=eG,o.VisibilityOffIcon=nG,o.VoiceChatIcon=oG,o.VoiceOverOffIcon=rG,o.VoicemailIcon=tG,o.VolcanoIcon=cG,o.VolumeDownIcon=iG,o.VolumeMuteIcon=aG,o.VolumeOffIcon=lG,o.VolumeUpIcon=sG,o.VolunteerActivismIcon=dG,o.VpnKeyIcon=uG,o.VpnKeyOffIcon=fG,o.VpnLockIcon=AG,o.VrpanoIcon=yG,o.WalletIcon=_G,o.WallpaperIcon=gG,o.WarehouseIcon=hG,o.WarningAmberIcon=bG,o.WarningIcon=IG,o.WashIcon=pG,o.WatchIcon=wG,o.WatchLaterIcon=kG,o.WatchOffIcon=mG,o.WaterDamageIcon=CG,o.WaterDropIcon=KG,o.WaterIcon=vG,o.WaterfallChartIcon=SG,o.WavesIcon=BG,o.WavingHandIcon=EG,o.WbAutoIcon=FG,o.WbCloudyIcon=PG,o.WbIncandescentIcon=DG,o.WbIridescentIcon=NG,o.WbShadeIcon=TG,o.WbSunnyIcon=MG,o.WbTwilightIcon=OG,o.WcIcon=LG,o.WebAssetIcon=VG,o.WebAssetOffIcon=WG,o.WebIcon=QG,o.WebStoriesIcon=GG,o.WebhookIcon=zG,o.WeekendIcon=HG,o.WestIcon=UG,o.WhatshotIcon=YG,o.WheelchairPickupIcon=jG,o.WhereToVoteIcon=$G,o.WidgetsIcon=qG,o.WidthFullIcon=JG,o.WidthNormalIcon=ZG,o.WidthWideIcon=XG,o.Wifi1BarIcon=RG,o.Wifi2BarIcon=e5,o.WifiCalling3Icon=o5,o.WifiCallingIcon=n5,o.WifiChannelIcon=r5,o.WifiFindIcon=t5,o.WifiIcon=xG,o.WifiLockIcon=c5,o.WifiOffIcon=i5,o.WifiPasswordIcon=a5,o.WifiProtectedSetupIcon=l5,o.WifiTetheringErrorIcon=d5,o.WifiTetheringIcon=s5,o.WifiTetheringOffIcon=u5,o.WindPowerIcon=f5,o.WindowIcon=A5,o.WineBarIcon=y5,o.Woman2Icon=g5,o.WomanIcon=_5,o.WorkHistoryIcon=I5,o.WorkIcon=h5,o.WorkOffIcon=b5,o.WorkOutlineIcon=p5,o.WorkspacePremiumIcon=w5,o.WorkspacesIcon=k5,o.WrapTextIcon=m5,o.WrongLocationIcon=v5,o.WysiwygIcon=C5,o.YardIcon=K5,o.YoutubeSearchedForIcon=S5,o.ZoomInIcon=B5,o.ZoomInMapIcon=E5,o.ZoomOutIcon=F5,o.ZoomOutMapIcon=P5,o._10kIcon=hl,o._10mpIcon=Il,o._11mpIcon=bl,o._123Icon=_l,o._12mpIcon=pl,o._13mpIcon=wl,o._14mpIcon=kl,o._15mpIcon=ml,o._16mpIcon=vl,o._17mpIcon=Cl,o._18UpRatingIcon=Kl,o._18mpIcon=Sl,o._19mpIcon=Bl,o._1kIcon=El,o._1kPlusIcon=Fl,o._1xMobiledataIcon=Pl,o._20mpIcon=Dl,o._21mpIcon=Nl,o._22mpIcon=Tl,o._23mpIcon=Ml,o._24mpIcon=Ol,o._2kIcon=Ll,o._2kPlusIcon=Ql,o._2mpIcon=Vl,o._30fpsIcon=Wl,o._30fpsSelectIcon=Gl,o._360Icon=gl,o._3dRotationIcon=zl,o._3gMobiledataIcon=Hl,o._3kIcon=Ul,o._3kPlusIcon=Yl,o._3mpIcon=jl,o._3pIcon=$l,o._4gMobiledataIcon=ql,o._4gPlusMobiledataIcon=Jl,o._4kIcon=Zl,o._4kPlusIcon=Xl,o._4mpIcon=xl,o._5gIcon=Rl,o._5kIcon=es,o._5kPlusIcon=ns,o._5mpIcon=os,o._60fpsIcon=rs,o._60fpsSelectIcon=ts,o._6FtApartIcon=cs,o._6kIcon=is,o._6kPlusIcon=as,o._6mpIcon=ls,o._7kIcon=ss,o._7kPlusIcon=ds,o._7mpIcon=us,o._8kIcon=fs,o._8kPlusIcon=As,o._8mpIcon=ys,o._9kIcon=_s,o._9kPlusIcon=gs,o._9mpIcon=hs,o.addInitialSlash=nz,o.buildAdditionalFieldDelegate=tU,o.buildCollection=X3,o.buildEntityCallbacks=rU,o.buildEnumLabel=Jc,o.buildEnumValueConfig=oU,o.buildEnumValues=nU,o.buildFieldConfig=cU,o.buildProperties=R3,o.buildPropertiesOrBuilder=eU,o.buildProperty=x3,o.canCreateEntity=Un,o.canDeleteEntity=xo,o.canEditEntity=Qt,o.cardClickableMixin=ec,o.cardMixin=Rt,o.cardSelectedMixin=tl,o.cn=F,o.coolIconKeys=gr,o.debounce=bi,o.defaultBorderMixin=fe,o.defaultDateFormat=$c,o.deleteEntityWithCallbacks=Pa,o.enumToObjectEntries=yn,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=Ye,o.fieldBackgroundInvisibleMixin=ur,o.fieldBackgroundMixin=Xe,o.flattenObject=Vt,o.focusedClasses=dr,o.focusedInvisibleMixin=sr,o.focusedMixin=Ie,o.fullPathToCollectionSegments=ze,o.getArrayValuesCount=va,o.getBracketNotation=$3,o.getCollectionByPathOrAlias=Oo,o.getCollectionPathsCombinations=Lo,o.getColorForProperty=j3,o.getColorScheme=qc,o.getDefaultFieldId=Pt,o.getDefaultPropertiesOrder=q3,o.getDefaultValueFor=Po,o.getDefaultValueForDataType=Tr,o.getDefaultValuesFor=to,o.getFieldConfig=Zo,o.getFieldId=Dt,o.getHashValue=Vr,o.getIcon=ka,o.getIconForProperty=ve,o.getIconForView=Ro,o.getIconForWidget=Ot,o.getIdIcon=Y3,o.getLabelOrConfigFrom=To,o.getLastSegment=oz,o.getPropertiesWithPropertiesOrder=wa,o.getPropertyInPath=Bn,o.getRandomId=so,o.getReferenceFrom=Cn,o.getReferencePreviewKeys=ma,o.getResolvedPropertyInPath=Lt,o.getValueInPath=_n,o.hydrateRegExp=ei,o.iconKeys=rc,o.isDefaultFieldConfigId=ba,o.isEmptyObject=Gr,o.isEnumValueDisabled=Z5,o.isHidden=ro,o.isObject=Mo,o.isPropertyBuilder=Ee,o.isReadOnly=On,o.isReferenceProperty=pa,o.isValidRegExp=R5,o.joinCollectionLists=Sa,o.makePropertiesEditable=Ca,o.makePropertiesNonEditable=Ka,o.mergeCollection=Ba,o.mergeDeep=Ge,o.paperMixin=je,o.pick=Zc,o.plural=J3,o.randomColor=J5,o.randomString=Ln,o.removeFunctions=Qr,o.removeInPath=X5,o.removeInitialAndTrailingSlashes=we,o.removeInitialSlash=ni,o.removePropsIfExisting=Xc,o.removeTrailingSlash=oi,o.removeUndefined=Wr,o.renderSkeletonCaptionText=hz,o.renderSkeletonIcon=jr,o.renderSkeletonImageThumbnail=Yr,o.renderSkeletonText=on,o.resolveArrayProperty=In,o.resolveCollection=Te,o.resolveCollectionPathAliases=Hr,o.resolveDefaultSelectedView=Lr,o.resolveEntityView=Mt,o.resolveEnumValues=U3,o.resolveNavigationFrom=Da,o.resolvePermissions=uo,o.resolveProperties=Nt,o.resolveProperty=Me,o.resolvePropertyEnum=Tt,o.sanitizeData=U5,o.saveEntityWithCallbacks=Wt,o.segmentsToStrippedPath=Rc,o.serializeRegExp=x5,o.singular=Z3,o.slugify=No,o.sortProperties=Or,o.stripCollectionPath=zr,o.toKebabCase=j5,o.toSnakeCase=q5,o.traverseValueProperty=Do,o.traverseValuesProperties=Mr,o.unslugify=ez,o.updateDateAutoValues=jc,o.useAuthController=un,o.useAutoComplete=cl,o.useBreadcrumbsContext=zt,o.useBrowserTitleAndIcon=sU,o.useBuildLocalConfigurationPersistence=d3,o.useBuildModeController=s3,o.useClearRestoreValue=Le,o.useClipboard=Na,o.useCollectionFetch=Yc,o.useDataSource=We,o.useDebounce=Qo,o.useDebounceValue=rz,o.useEntityCollectionTableController=dt,o.useEntityFetch=Nr,o.useFireCMSContext=ee,o.useInjectStyles=vn,o.useLargeLayout=He,o.useModeController=Gt,o.useNavigationController=Ae,o.useOutsideAlerter=ko,o.useReferenceDialog=fo,o.useResolvedNavigationFrom=iU,o.useSelectionController=ft,o.useSideDialogContext=Uo,o.useSideDialogsController=no,o.useSideEntityController=fn,o.useSnackbarController=An,o.useStorageSource=Tn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1610
+ ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=Is,o.AcUnitIcon=bs,o.AccessAlarmIcon=ps,o.AccessAlarmsIcon=ws,o.AccessTimeFilledIcon=ms,o.AccessTimeIcon=ks,o.AccessibilityIcon=vs,o.AccessibilityNewIcon=Cs,o.AccessibleForwardIcon=Ss,o.AccessibleIcon=Ks,o.AccountBalanceIcon=Bs,o.AccountBalanceWalletIcon=Es,o.AccountBoxIcon=Fs,o.AccountCircleIcon=Ps,o.AccountTreeIcon=Ds,o.AdUnitsIcon=Ns,o.AdbIcon=Ts,o.AddAPhotoIcon=Ms,o.AddAlarmIcon=Os,o.AddAlertIcon=Ls,o.AddBoxIcon=Qs,o.AddBusinessIcon=Vs,o.AddCardIcon=Ws,o.AddChartIcon=Gs,o.AddCircleIcon=zs,o.AddCircleOutlineIcon=Hs,o.AddCommentIcon=Us,o.AddHomeIcon=Ys,o.AddHomeWorkIcon=js,o.AddIcCallIcon=$s,o.AddIcon=sn,o.AddLinkIcon=tc,o.AddLocationAltIcon=Js,o.AddLocationIcon=qs,o.AddModeratorIcon=Zs,o.AddPhotoAlternateIcon=Xs,o.AddReactionIcon=xs,o.AddRoadIcon=Rs,o.AddShoppingCartIcon=ed,o.AddTaskIcon=nd,o.AddToDriveIcon=od,o.AddToHomeScreenIcon=rd,o.AddToPhotosIcon=td,o.AddToQueueIcon=cd,o.AdfScannerIcon=id,o.AdjustIcon=ad,o.AdminPanelSettingsIcon=ld,o.AdsClickIcon=sd,o.AgricultureIcon=dd,o.AirIcon=ud,o.AirlineSeatFlatAngledIcon=Ad,o.AirlineSeatFlatIcon=fd,o.AirlineSeatIndividualSuiteIcon=yd,o.AirlineSeatLegroomExtraIcon=gd,o.AirlineSeatLegroomNormalIcon=_d,o.AirlineSeatLegroomReducedIcon=hd,o.AirlineSeatReclineExtraIcon=Id,o.AirlineSeatReclineNormalIcon=bd,o.AirlineStopsIcon=pd,o.AirlinesIcon=wd,o.AirplaneTicketIcon=kd,o.AirplanemodeActiveIcon=md,o.AirplanemodeInactiveIcon=vd,o.AirplayIcon=Cd,o.AirportShuttleIcon=Kd,o.AlarmAddIcon=Bd,o.AlarmIcon=Sd,o.AlarmOffIcon=Ed,o.AlarmOnIcon=Fd,o.AlbumIcon=Pd,o.Alert=sl,o.AlignHorizontalCenterIcon=Dd,o.AlignHorizontalLeftIcon=Nd,o.AlignHorizontalRightIcon=Td,o.AlignVerticalBottomIcon=Md,o.AlignVerticalCenterIcon=Od,o.AlignVerticalTopIcon=Ld,o.AllInboxIcon=Qd,o.AllInclusiveIcon=Vd,o.AllOutIcon=Wd,o.AltRouteIcon=Gd,o.AlternateEmailIcon=zd,o.AnalyticsIcon=Hd,o.AnchorIcon=Ud,o.AndroidIcon=Yd,o.AnimationIcon=jd,o.AnnouncementIcon=$d,o.AodIcon=qd,o.ApartmentIcon=Jd,o.ApiIcon=Zd,o.AppBlockingIcon=Xd,o.AppRegistrationIcon=xd,o.AppSettingsAltIcon=Rd,o.AppShortcutIcon=eu,o.ApprovalIcon=nu,o.AppsIcon=ou,o.AppsOutageIcon=ru,o.ArchitectureIcon=tu,o.ArchiveIcon=cu,o.AreaChartIcon=iu,o.ArrayContainer=It,o.ArrayContainerItem=bt,o.ArrayCustomShapedFieldBinding=_a,o.ArrayEnumPreview=Jr,o.ArrayItemOptions=ta,o.ArrayOfMapsPreview=mz,o.ArrayOfReferencesFieldBinding=ia,o.ArrayOfReferencesPreview=di,o.ArrayOfStorageComponentsPreview=ui,o.ArrayOfStringsPreview=fi,o.ArrayOneOfPreview=Ai,o.ArrayPropertyEnumPreview=Zr,o.ArrayPropertyPreview=qr,o.ArrowBackIcon=au,o.ArrowBackIosIcon=lu,o.ArrowBackIosNewIcon=su,o.ArrowCircleDownIcon=du,o.ArrowCircleLeftIcon=uu,o.ArrowCircleRightIcon=fu,o.ArrowCircleUpIcon=Au,o.ArrowDownwardIcon=yu,o.ArrowDropDownCircleIcon=gu,o.ArrowDropDownIcon=Ir,o.ArrowDropUpIcon=_u,o.ArrowForwardIcon=cc,o.ArrowForwardIosIcon=hu,o.ArrowLeftIcon=Iu,o.ArrowOutwardIcon=bu,o.ArrowRightAltIcon=wu,o.ArrowRightIcon=pu,o.ArrowUpwardIcon=mo,o.ArtTrackIcon=ku,o.ArticleIcon=mu,o.AspectRatioIcon=vu,o.AssessmentIcon=Cu,o.AssignmentIcon=ic,o.AssignmentIndIcon=Ku,o.AssignmentLateIcon=Su,o.AssignmentReturnIcon=Bu,o.AssignmentReturnedIcon=Eu,o.AssignmentTurnedInIcon=Fu,o.AssistWalkerIcon=Pu,o.AssistantDirectionIcon=Nu,o.AssistantIcon=Du,o.AssistantPhotoIcon=Tu,o.AssuredWorkloadIcon=Mu,o.AsyncPreviewComponent=vz,o.AtmIcon=Ou,o.AttachEmailIcon=Lu,o.AttachFileIcon=Qu,o.AttachMoneyIcon=Vu,o.AttachmentIcon=Wu,o.AttractionsIcon=Gu,o.AttributionIcon=zu,o.AudioFileIcon=Hu,o.AudiotrackIcon=Uu,o.AuthControllerContext=Fr,o.AutoAwesomeIcon=Yu,o.AutoAwesomeMosaicIcon=ju,o.AutoAwesomeMotionIcon=$u,o.AutoDeleteIcon=qu,o.AutoFixHighIcon=Ju,o.AutoFixNormalIcon=Zu,o.AutoFixOffIcon=Xu,o.AutoGraphIcon=xu,o.AutoModeIcon=Ru,o.AutoStoriesIcon=ef,o.Autocomplete=il,o.AutocompleteItem=al,o.AutofpsSelectIcon=nf,o.AutorenewIcon=of,o.AvTimerIcon=rf,o.Avatar=fr,o.BabyChangingStationIcon=tf,o.BackHandIcon=cf,o.BackpackIcon=af,o.BackspaceIcon=lf,o.BackupIcon=sf,o.BackupTableIcon=df,o.Badge=jt,o.BadgeIcon=uf,o.BakeryDiningIcon=ff,o.BalanceIcon=Af,o.BalconyIcon=yf,o.BallotIcon=br,o.BarChartIcon=gf,o.BatchPredictionIcon=_f,o.BathroomIcon=hf,o.BathtubIcon=If,o.Battery0BarIcon=bf,o.Battery1BarIcon=pf,o.Battery2BarIcon=wf,o.Battery3BarIcon=kf,o.Battery4BarIcon=mf,o.Battery5BarIcon=vf,o.Battery6BarIcon=Cf,o.BatteryAlertIcon=Kf,o.BatteryChargingFullIcon=Sf,o.BatteryFullIcon=Bf,o.BatterySaverIcon=Ef,o.BatteryStdIcon=Ff,o.BatteryUnknownIcon=Pf,o.BeachAccessIcon=Df,o.BedIcon=Nf,o.BedroomBabyIcon=Tf,o.BedroomChildIcon=Mf,o.BedroomParentIcon=Of,o.BedtimeIcon=Lf,o.BedtimeOffIcon=Qf,o.BeenhereIcon=Vf,o.BentoIcon=Wf,o.BikeScooterIcon=Gf,o.BiotechIcon=zf,o.BlenderIcon=Hf,o.BlindIcon=Uf,o.BlindsClosedIcon=jf,o.BlindsIcon=Yf,o.BlockFieldBinding=ya,o.BlockIcon=$f,o.BloodtypeIcon=qf,o.BluetoothAudioIcon=Zf,o.BluetoothConnectedIcon=Xf,o.BluetoothDisabledIcon=xf,o.BluetoothDriveIcon=Rf,o.BluetoothIcon=Jf,o.BluetoothSearchingIcon=eA,o.BlurCircularIcon=nA,o.BlurLinearIcon=oA,o.BlurOffIcon=rA,o.BlurOnIcon=tA,o.BoltIcon=cA,o.BookIcon=iA,o.BookOnlineIcon=aA,o.BookmarkAddIcon=sA,o.BookmarkAddedIcon=dA,o.BookmarkBorderIcon=uA,o.BookmarkIcon=lA,o.BookmarkRemoveIcon=fA,o.BookmarksIcon=AA,o.BooleanPreview=_i,o.BooleanSwitch=Ar,o.BooleanSwitchWithLabel=Dn,o.BorderAllIcon=yA,o.BorderBottomIcon=gA,o.BorderClearIcon=_A,o.BorderColorIcon=hA,o.BorderHorizontalIcon=IA,o.BorderInnerIcon=bA,o.BorderLeftIcon=pA,o.BorderOuterIcon=wA,o.BorderRightIcon=kA,o.BorderStyleIcon=mA,o.BorderTopIcon=vA,o.BorderVerticalIcon=CA,o.BoyIcon=KA,o.BrandingWatermarkIcon=SA,o.BreadcrumbUpdater=_3,o.BreakfastDiningIcon=BA,o.Brightness1Icon=EA,o.Brightness2Icon=FA,o.Brightness3Icon=PA,o.Brightness4Icon=DA,o.Brightness5Icon=NA,o.Brightness6Icon=TA,o.Brightness7Icon=MA,o.BrightnessAutoIcon=OA,o.BrightnessHighIcon=LA,o.BrightnessLowIcon=QA,o.BrightnessMediumIcon=VA,o.BroadcastOnHomeIcon=WA,o.BroadcastOnPersonalIcon=GA,o.BrokenImageIcon=zA,o.BrowseGalleryIcon=HA,o.BrowserNotSupportedIcon=UA,o.BrowserUpdatedIcon=YA,o.BrunchDiningIcon=jA,o.BrushIcon=$A,o.BubbleChartIcon=qA,o.BugReportIcon=JA,o.BuildCircleIcon=XA,o.BuildIcon=ZA,o.BungalowIcon=xA,o.BurstModeIcon=RA,o.BusAlertIcon=ey,o.BusinessCenterIcon=oy,o.BusinessIcon=ny,o.Button=ie,o.COLLECTION_PATH_SEPARATOR=xc,o.CabinIcon=ry,o.CableIcon=ty,o.CachedIcon=cy,o.CakeIcon=iy,o.CalculateIcon=ay,o.CalendarMonthIcon=ac,o.CalendarTodayIcon=ly,o.CalendarViewDayIcon=sy,o.CalendarViewMonthIcon=dy,o.CalendarViewWeekIcon=uy,o.CallEndIcon=Ay,o.CallIcon=fy,o.CallMadeIcon=yy,o.CallMergeIcon=gy,o.CallMissedIcon=_y,o.CallMissedOutgoingIcon=hy,o.CallReceivedIcon=Iy,o.CallSplitIcon=by,o.CallToActionIcon=py,o.CameraAltIcon=ky,o.CameraEnhanceIcon=my,o.CameraFrontIcon=vy,o.CameraIcon=wy,o.CameraIndoorIcon=Cy,o.CameraOutdoorIcon=Ky,o.CameraRearIcon=Sy,o.CameraRollIcon=By,o.CameraswitchIcon=Ey,o.CampaignIcon=Fy,o.CancelIcon=Py,o.CancelPresentationIcon=Dy,o.CancelScheduleSendIcon=Ny,o.CandlestickChartIcon=Ty,o.CarCrashIcon=My,o.CarRentalIcon=Oy,o.CarRepairIcon=Ly,o.Card=oc,o.CardGiftcardIcon=Qy,o.CardMembershipIcon=Vy,o.CardTravelIcon=Wy,o.CarpenterIcon=Gy,o.CasesIcon=zy,o.CasinoIcon=Hy,o.CastConnectedIcon=Yy,o.CastForEducationIcon=jy,o.CastIcon=Uy,o.CastleIcon=$y,o.CatchingPokemonIcon=qy,o.CategoryIcon=Jy,o.CelebrationIcon=Zy,o.CellTowerIcon=Xy,o.CellWifiIcon=xy,o.CenterFocusStrongIcon=Ry,o.CenterFocusWeakIcon=eg,o.CenteredView=gr,o.ChairAltIcon=og,o.ChairIcon=ng,o.ChaletIcon=rg,o.ChangeCircleIcon=tg,o.ChangeHistoryIcon=cg,o.ChargingStationIcon=ig,o.ChatBubbleIcon=lg,o.ChatBubbleOutlineIcon=sg,o.ChatIcon=ag,o.CheckBoxIcon=dg,o.CheckBoxOutlineBlankIcon=ug,o.CheckCircleIcon=fg,o.CheckCircleOutlineIcon=Ag,o.CheckIcon=lc,o.Checkbox=Er,o.ChecklistIcon=yg,o.ChecklistRtlIcon=gg,o.CheckroomIcon=_g,o.ChevronLeftIcon=sc,o.ChevronRightIcon=hg,o.ChildCareIcon=Ig,o.ChildFriendlyIcon=bg,o.Chip=Bo,o.ChromeReaderModeIcon=pg,o.ChurchIcon=wg,o.CircleIcon=pr,o.CircleNotificationsIcon=kg,o.CircularProgress=Nn,o.CircularProgressCenter=lo,o.ClassIcon=mg,o.CleanHandsIcon=vg,o.CleaningServicesIcon=Cg,o.ClearAllIcon=Kg,o.ClearIcon=dn,o.CloseFullscreenIcon=Sg,o.CloseIcon=wr,o.ClosedCaptionDisabledIcon=Eg,o.ClosedCaptionIcon=Bg,o.ClosedCaptionOffIcon=Fg,o.CloudCircleIcon=Dg,o.CloudDoneIcon=Ng,o.CloudDownloadIcon=Tg,o.CloudIcon=Pg,o.CloudOffIcon=Mg,o.CloudQueueIcon=Og,o.CloudSyncIcon=Lg,o.CloudUploadIcon=Qg,o.Co2Icon=Vg,o.CoPresentIcon=Wg,o.CodeIcon=Gg,o.CodeOffIcon=zg,o.CoffeeIcon=Hg,o.CoffeeMakerIcon=Ug,o.Collapse=wo,o.CollectionsBookmarkIcon=jg,o.CollectionsIcon=Yg,o.ColorLensIcon=$g,o.ColorizeIcon=qg,o.CommentBankIcon=Zg,o.CommentIcon=Jg,o.CommentsDisabledIcon=Xg,o.CommitIcon=xg,o.CommuteIcon=Rg,o.CompareArrowsIcon=n_,o.CompareIcon=e_,o.CompassCalibrationIcon=o_,o.CompostIcon=r_,o.CompressIcon=t_,o.ComputerIcon=c_,o.ConfirmationNumberIcon=i_,o.ConnectWithoutContactIcon=a_,o.ConnectedTvIcon=l_,o.ConnectingAirportsIcon=s_,o.ConstructionIcon=d_,o.ContactEmergencyIcon=u_,o.ContactMailIcon=f_,o.ContactPageIcon=A_,o.ContactPhoneIcon=y_,o.ContactSupportIcon=g_,o.ContactlessIcon=__,o.ContactsIcon=h_,o.Container=yr,o.ContentCopyIcon=xn,o.ContentCutIcon=I_,o.ContentPasteGoIcon=p_,o.ContentPasteIcon=b_,o.ContentPasteOffIcon=w_,o.ContentPasteSearchIcon=k_,o.ContrastIcon=m_,o.ControlCameraIcon=v_,o.ControlPointDuplicateIcon=K_,o.ControlPointIcon=C_,o.CookieIcon=S_,o.CopyAllIcon=B_,o.CopyrightIcon=E_,o.CoronavirusIcon=F_,o.CorporateFareIcon=P_,o.CottageIcon=D_,o.CountertopsIcon=N_,o.CreateIcon=T_,o.CreateNewFolderIcon=M_,o.CreditCardIcon=O_,o.CreditCardOffIcon=L_,o.CreditScoreIcon=Q_,o.CribIcon=V_,o.CrisisAlertIcon=W_,o.Crop169Icon=z_,o.Crop32Icon=H_,o.Crop54Icon=U_,o.Crop75Icon=Y_,o.CropDinIcon=j_,o.CropFreeIcon=$_,o.CropIcon=G_,o.CropLandscapeIcon=q_,o.CropOriginalIcon=J_,o.CropPortraitIcon=Z_,o.CropRotateIcon=X_,o.CropSquareIcon=x_,o.CrueltyFreeIcon=R_,o.CssIcon=eh,o.CurrencyBitcoinIcon=nh,o.CurrencyExchangeIcon=oh,o.CurrencyFrancIcon=rh,o.CurrencyLiraIcon=th,o.CurrencyPoundIcon=ch,o.CurrencyRubleIcon=ih,o.CurrencyRupeeIcon=ah,o.CurrencyYenIcon=lh,o.CurrencyYuanIcon=sh,o.CurtainsClosedIcon=uh,o.CurtainsIcon=dh,o.CycloneIcon=fh,o.DEFAULT_FIELD_CONFIGS=Ft,o.DangerousIcon=Ah,o.DarkModeIcon=dc,o.DashboardCustomizeIcon=gh,o.DashboardIcon=yh,o.DataArrayIcon=_h,o.DataExplorationIcon=hh,o.DataObjectIcon=Ih,o.DataSaverOffIcon=bh,o.DataSaverOnIcon=ph,o.DataThresholdingIcon=wh,o.DataUsageIcon=kh,o.DatasetIcon=mh,o.DatasetLinkedIcon=vh,o.DatePreview=gi,o.DateRangeIcon=Ch,o.DateTimeField=Yn,o.DateTimeFieldBinding=sa,o.DeblurIcon=Kh,o.DebouncedTextField=p3,o.DeckIcon=Sh,o.DefaultHomePage=ea,o.DehazeIcon=Bh,o.DeleteConfirmationDialog=h3,o.DeleteForeverIcon=Eh,o.DeleteIcon=vo,o.DeleteOutlineIcon=Fh,o.DeleteSweepIcon=Ph,o.DeliveryDiningIcon=Dh,o.DensityLargeIcon=Nh,o.DensityMediumIcon=Th,o.DensitySmallIcon=Mh,o.DepartureBoardIcon=Oh,o.DescriptionIcon=uc,o.DeselectIcon=Lh,o.DesignServicesIcon=Qh,o.DeskIcon=Vh,o.DesktopAccessDisabledIcon=Wh,o.DesktopMacIcon=Gh,o.DesktopWindowsIcon=zh,o.DetailsIcon=Hh,o.DeveloperBoardIcon=Uh,o.DeveloperBoardOffIcon=Yh,o.DeveloperModeIcon=jh,o.DeviceHubIcon=$h,o.DeviceThermostatIcon=qh,o.DeviceUnknownIcon=Jh,o.DevicesFoldIcon=Xh,o.DevicesIcon=Zh,o.DevicesOtherIcon=xh,o.DialerSipIcon=Rh,o.Dialog=nr,o.DialogActions=En,o.DialogContent=or,o.DialpadIcon=eI,o.DiamondIcon=nI,o.DifferenceIcon=oI,o.DiningIcon=rI,o.DinnerDiningIcon=tI,o.DirectionsBikeIcon=iI,o.DirectionsBoatFilledIcon=lI,o.DirectionsBoatIcon=aI,o.DirectionsBusFilledIcon=dI,o.DirectionsBusIcon=sI,o.DirectionsCarFilledIcon=fI,o.DirectionsCarIcon=uI,o.DirectionsIcon=cI,o.DirectionsOffIcon=AI,o.DirectionsRailwayFilledIcon=gI,o.DirectionsRailwayIcon=yI,o.DirectionsRunIcon=_I,o.DirectionsSubwayFilledIcon=II,o.DirectionsSubwayIcon=hI,o.DirectionsTransitFilledIcon=pI,o.DirectionsTransitIcon=bI,o.DirectionsWalkIcon=wI,o.DirtyLensIcon=kI,o.DisabledByDefaultIcon=mI,o.DisabledVisibleIcon=vI,o.DiscFullIcon=CI,o.DiscountIcon=KI,o.DisplaySettingsIcon=SI,o.Diversity1Icon=BI,o.Diversity2Icon=EI,o.Diversity3Icon=FI,o.DnsIcon=PI,o.DoDisturbAltIcon=NI,o.DoDisturbIcon=DI,o.DoDisturbOffIcon=TI,o.DoDisturbOnIcon=MI,o.DoNotDisturbAltIcon=LI,o.DoNotDisturbIcon=OI,o.DoNotDisturbOffIcon=QI,o.DoNotDisturbOnIcon=VI,o.DoNotDisturbOnTotalSilenceIcon=WI,o.DoNotStepIcon=GI,o.DoNotTouchIcon=zI,o.DockIcon=HI,o.DocumentScannerIcon=UI,o.DomainAddIcon=jI,o.DomainDisabledIcon=$I,o.DomainIcon=YI,o.DomainVerificationIcon=qI,o.DoneAllIcon=ZI,o.DoneIcon=JI,o.DoneOutlineIcon=XI,o.DonutLargeIcon=xI,o.DonutSmallIcon=RI,o.DoorBackIcon=eb,o.DoorFrontIcon=nb,o.DoorSlidingIcon=ob,o.DoorbellIcon=rb,o.DoubleArrowIcon=tb,o.DownhillSkiingIcon=cb,o.DownloadDoneIcon=ab,o.DownloadForOfflineIcon=lb,o.DownloadIcon=ib,o.DownloadingIcon=sb,o.DraftsIcon=db,o.DragHandleIcon=ub,o.DragIndicatorIcon=fb,o.DrawIcon=Ab,o.Drawer=Zi,o.DrawerNavigationItem=gt,o.DriveEtaIcon=yb,o.DriveFileMoveIcon=gb,o.DriveFileMoveRtlIcon=_b,o.DriveFileRenameOutlineIcon=hb,o.DriveFolderUploadIcon=fc,o.DryCleaningIcon=bb,o.DryIcon=Ib,o.DuoIcon=pb,o.DvrIcon=wb,o.DynamicFeedIcon=kb,o.DynamicFormIcon=mb,o.EMobiledataIcon=vb,o.EarbudsBatteryIcon=Kb,o.EarbudsIcon=Cb,o.EastIcon=Sb,o.EdgesensorHighIcon=Bb,o.EdgesensorLowIcon=Eb,o.EditAttributesIcon=Fb,o.EditCalendarIcon=Pb,o.EditIcon=Ac,o.EditLocationAltIcon=Nb,o.EditLocationIcon=Db,o.EditNoteIcon=Tb,o.EditNotificationsIcon=Mb,o.EditOffIcon=Ob,o.EditRoadIcon=Lb,o.EggAltIcon=Vb,o.EggIcon=Qb,o.EjectIcon=Wb,o.ElderlyIcon=Gb,o.ElderlyWomanIcon=zb,o.ElectricBikeIcon=Hb,o.ElectricBoltIcon=Ub,o.ElectricCarIcon=Yb,o.ElectricMeterIcon=jb,o.ElectricMopedIcon=$b,o.ElectricRickshawIcon=qb,o.ElectricScooterIcon=Jb,o.ElectricalServicesIcon=Zb,o.ElevatorIcon=Xb,o.EmailIcon=yc,o.EmergencyIcon=xb,o.EmergencyRecordingIcon=Rb,o.EmergencyShareIcon=ep,o.EmojiEmotionsIcon=np,o.EmojiEventsIcon=op,o.EmojiFoodBeverageIcon=rp,o.EmojiNatureIcon=tp,o.EmojiObjectsIcon=cp,o.EmojiPeopleIcon=ip,o.EmojiSymbolsIcon=ap,o.EmojiTransportationIcon=lp,o.EmptyValue=Qn,o.EnergySavingsLeafIcon=sp,o.EngineeringIcon=dp,o.EnhancedEncryptionIcon=up,o.EntityCollectionTable=st,o.EntityCollectionView=ut,o.EntityForm=Ia,o.EntityPreview=xr,o.EntityReference=$e,o.EnumValuesChip=Fe,o.EqualizerIcon=fp,o.ErrorBoundary=ae,o.ErrorIcon=kr,o.ErrorOutlineIcon=gc,o.ErrorView=me,o.EscalatorIcon=Ap,o.EscalatorWarningIcon=yp,o.EuroIcon=gp,o.EuroSymbolIcon=_p,o.EvStationIcon=hp,o.EventAvailableIcon=bp,o.EventBusyIcon=pp,o.EventIcon=Ip,o.EventNoteIcon=wp,o.EventRepeatIcon=kp,o.EventSeatIcon=mp,o.ExitToAppIcon=vp,o.ExpandCircleDownIcon=Kp,o.ExpandIcon=Cp,o.ExpandLessIcon=Sp,o.ExpandMoreIcon=Co,o.ExpandablePanel=hn,o.ExplicitIcon=Bp,o.ExploreIcon=Ep,o.ExploreOffIcon=Fp,o.ExposureIcon=Pp,o.ExposureNeg1Icon=Dp,o.ExposureNeg2Icon=Np,o.ExposurePlus1Icon=Tp,o.ExposurePlus2Icon=Mp,o.ExposureZeroIcon=Op,o.ExtensionIcon=Lp,o.ExtensionOffIcon=Qp,o.Face2Icon=Wp,o.Face3Icon=Gp,o.Face4Icon=zp,o.Face5Icon=Hp,o.Face6Icon=Up,o.FaceIcon=Vp,o.FaceRetouchingNaturalIcon=Yp,o.FaceRetouchingOffIcon=jp,o.FactCheckIcon=$p,o.FactoryIcon=qp,o.FamilyRestroomIcon=Jp,o.FastForwardIcon=Zp,o.FastRewindIcon=Xp,o.FastfoodIcon=xp,o.FavoriteBorderIcon=ew,o.FavoriteIcon=Rp,o.FaxIcon=nw,o.FeaturedPlayListIcon=ow,o.FeaturedVideoIcon=rw,o.FeedIcon=tw,o.FeedbackIcon=cw,o.FemaleIcon=iw,o.FenceIcon=aw,o.FestivalIcon=lw,o.FiberDvrIcon=sw,o.FiberManualRecordIcon=dw,o.FiberNewIcon=uw,o.FiberPinIcon=fw,o.FiberSmartRecordIcon=Aw,o.FieldConfigBadge=g3,o.FieldHelperText=Se,o.FileCopyIcon=_c,o.FileDownloadDoneIcon=gw,o.FileDownloadIcon=yw,o.FileDownloadOffIcon=_w,o.FileOpenIcon=hw,o.FilePresentIcon=Iw,o.FileUpload=fU,o.FileUploadIcon=bw,o.Filter1Icon=ww,o.Filter2Icon=kw,o.Filter3Icon=mw,o.Filter4Icon=vw,o.Filter5Icon=Cw,o.Filter6Icon=Kw,o.Filter7Icon=Sw,o.Filter8Icon=Bw,o.Filter9Icon=Ew,o.Filter9PlusIcon=Fw,o.FilterAltIcon=Pw,o.FilterAltOffIcon=Dw,o.FilterBAndWIcon=Nw,o.FilterCenterFocusIcon=Tw,o.FilterDramaIcon=Mw,o.FilterFramesIcon=Ow,o.FilterHdrIcon=Lw,o.FilterIcon=pw,o.FilterListIcon=hc,o.FilterListOffIcon=Ic,o.FilterNoneIcon=Qw,o.FilterTiltShiftIcon=Vw,o.FilterVintageIcon=Ww,o.FindInPageIcon=Gw,o.FindReplaceIcon=zw,o.FingerprintIcon=Hw,o.FireCMS=o3,o.FireCMSAppBar=ra,o.FireCMSContextInstance=Pr,o.FireCMSLogo=oa,o.FireExtinguisherIcon=Uw,o.FireHydrantAltIcon=Yw,o.FireTruckIcon=jw,o.FireplaceIcon=$w,o.FirstPageIcon=qw,o.FitScreenIcon=Jw,o.FitbitIcon=Zw,o.FitnessCenterIcon=Xw,o.FlagCircleIcon=xw,o.FlagIcon=bc,o.FlakyIcon=Rw,o.FlareIcon=ek,o.FlashAutoIcon=nk,o.FlashOffIcon=ok,o.FlashOnIcon=rk,o.FlashlightOffIcon=tk,o.FlashlightOnIcon=ck,o.FlatwareIcon=ik,o.FlightClassIcon=lk,o.FlightIcon=ak,o.FlightLandIcon=sk,o.FlightTakeoffIcon=dk,o.FlipCameraAndroidIcon=fk,o.FlipCameraIosIcon=Ak,o.FlipIcon=uk,o.FlipToBackIcon=yk,o.FlipToFrontIcon=gk,o.FloodIcon=_k,o.FluorescentIcon=hk,o.FlutterDashIcon=Ik,o.FmdBadIcon=bk,o.FmdGoodIcon=pk,o.FolderCopyIcon=kk,o.FolderDeleteIcon=mk,o.FolderIcon=wk,o.FolderOffIcon=vk,o.FolderOpenIcon=Ck,o.FolderSharedIcon=Kk,o.FolderSpecialIcon=Sk,o.FolderZipIcon=Bk,o.FollowTheSignsIcon=Ek,o.FontDownloadIcon=Fk,o.FontDownloadOffIcon=Pk,o.FoodBankIcon=Dk,o.ForestIcon=Nk,o.ForkLeftIcon=Tk,o.ForkRightIcon=Mk,o.FormatAlignCenterIcon=Ok,o.FormatAlignJustifyIcon=Lk,o.FormatAlignLeftIcon=Qk,o.FormatAlignRightIcon=Vk,o.FormatBoldIcon=Wk,o.FormatClearIcon=Gk,o.FormatColorFillIcon=zk,o.FormatColorResetIcon=Hk,o.FormatColorTextIcon=Uk,o.FormatIndentDecreaseIcon=Yk,o.FormatIndentIncreaseIcon=jk,o.FormatItalicIcon=$k,o.FormatLineSpacingIcon=qk,o.FormatListBulletedIcon=Jk,o.FormatListNumberedIcon=mr,o.FormatListNumberedRtlIcon=Zk,o.FormatOverlineIcon=Xk,o.FormatPaintIcon=xk,o.FormatQuoteIcon=pc,o.FormatShapesIcon=Rk,o.FormatSizeIcon=em,o.FormatStrikethroughIcon=nm,o.FormatTextdirectionLToRIcon=om,o.FormatTextdirectionRToLIcon=rm,o.FormatUnderlinedIcon=tm,o.FormikArrayContainer=qo,o.FortIcon=cm,o.ForumIcon=im,o.Forward10Icon=lm,o.Forward30Icon=sm,o.Forward5Icon=dm,o.ForwardIcon=am,o.ForwardToInboxIcon=um,o.FoundationIcon=fm,o.FreeBreakfastIcon=Am,o.FreeCancellationIcon=ym,o.FrontHandIcon=gm,o.FullscreenExitIcon=hm,o.FullscreenIcon=_m,o.FunctionsIcon=wc,o.GMobiledataIcon=Im,o.GTranslateIcon=bm,o.GamepadIcon=pm,o.GamesIcon=wm,o.GarageIcon=km,o.GasMeterIcon=mm,o.GavelIcon=vm,o.GeneratingTokensIcon=Cm,o.GeoPoint=Eo,o.GestureIcon=Km,o.GetAppIcon=Sm,o.GifBoxIcon=Em,o.GifIcon=Bm,o.GirlIcon=Fm,o.GitHubIcon=yl,o.GiteIcon=Pm,o.GolfCourseIcon=Dm,o.GppBadIcon=Nm,o.GppGoodIcon=Tm,o.GppMaybeIcon=Mm,o.GpsFixedIcon=Om,o.GpsNotFixedIcon=Lm,o.GpsOffIcon=Qm,o.GradeIcon=Vm,o.GradientIcon=Wm,o.GradingIcon=Gm,o.GrainIcon=zm,o.GraphicEqIcon=Hm,o.GrassIcon=Um,o.Grid3x3Icon=Ym,o.Grid4x4Icon=jm,o.GridGoldenratioIcon=$m,o.GridOffIcon=qm,o.GridOnIcon=Jm,o.GridViewIcon=Zm,o.GroupAddIcon=xm,o.GroupIcon=Xm,o.GroupOffIcon=Rm,o.GroupRemoveIcon=ev,o.GroupWorkIcon=nv,o.Groups2Icon=rv,o.Groups3Icon=tv,o.GroupsIcon=ov,o.HMobiledataIcon=cv,o.HPlusMobiledataIcon=iv,o.HailIcon=av,o.HandshakeIcon=lv,o.HandymanIcon=sv,o.HardwareIcon=dv,o.HdIcon=uv,o.HdrAutoIcon=fv,o.HdrAutoSelectIcon=Av,o.HdrEnhancedSelectIcon=yv,o.HdrOffIcon=gv,o.HdrOffSelectIcon=_v,o.HdrOnIcon=hv,o.HdrOnSelectIcon=Iv,o.HdrPlusIcon=bv,o.HdrStrongIcon=pv,o.HdrWeakIcon=wv,o.HeadphonesBatteryIcon=mv,o.HeadphonesIcon=kv,o.HeadsetIcon=vv,o.HeadsetMicIcon=Cv,o.HeadsetOffIcon=Kv,o.HealingIcon=Sv,o.HealthAndSafetyIcon=Bv,o.HearingDisabledIcon=Fv,o.HearingIcon=Ev,o.HeartBrokenIcon=Pv,o.HeatPumpIcon=Dv,o.HeightIcon=Nv,o.HelpCenterIcon=Mv,o.HelpIcon=Tv,o.HelpOutlineIcon=Ov,o.HevcIcon=Lv,o.HexagonIcon=Qv,o.HideImageIcon=Vv,o.HideSourceIcon=Wv,o.HighQualityIcon=Gv,o.HighlightAltIcon=Hv,o.HighlightIcon=zv,o.HighlightOffIcon=Uv,o.HikingIcon=Yv,o.HistoryEduIcon=$v,o.HistoryIcon=jv,o.HistoryToggleOffIcon=qv,o.HiveIcon=Jv,o.HlsIcon=Zv,o.HlsOffIcon=Xv,o.HolidayVillageIcon=xv,o.HomeIcon=Rv,o.HomeMaxIcon=e0,o.HomeMiniIcon=n0,o.HomeRepairServiceIcon=o0,o.HomeWorkIcon=r0,o.HorizontalDistributeIcon=t0,o.HorizontalRuleIcon=c0,o.HorizontalSplitIcon=i0,o.HotTubIcon=a0,o.HotelClassIcon=s0,o.HotelIcon=l0,o.HourglassBottomIcon=d0,o.HourglassDisabledIcon=u0,o.HourglassEmptyIcon=f0,o.HourglassFullIcon=A0,o.HourglassTopIcon=y0,o.HouseIcon=g0,o.HouseSidingIcon=_0,o.HouseboatIcon=h0,o.HowToRegIcon=I0,o.HowToVoteIcon=b0,o.HtmlIcon=p0,o.HttpIcon=kc,o.HttpsIcon=w0,o.HubIcon=k0,o.HvacIcon=m0,o.IceSkatingIcon=v0,o.IcecreamIcon=C0,o.Icon=r,o.IconButton=R,o.ImageAspectRatioIcon=S0,o.ImageIcon=K0,o.ImageNotSupportedIcon=B0,o.ImagePreview=ci,o.ImageSearchIcon=E0,o.ImagesearchRollerIcon=F0,o.ImportContactsIcon=P0,o.ImportExportIcon=D0,o.ImportantDevicesIcon=N0,o.InboxIcon=T0,o.IncompleteCircleIcon=M0,o.IndeterminateCheckBoxIcon=O0,o.InfoIcon=mc,o.InfoLabel=yU,o.InputIcon=L0,o.InputLabel=Ht,o.InsertChartIcon=Q0,o.InsertChartOutlinedIcon=V0,o.InsertCommentIcon=W0,o.InsertDriveFileIcon=G0,o.InsertEmoticonIcon=z0,o.InsertInvitationIcon=H0,o.InsertLinkIcon=U0,o.InsertPageBreakIcon=Y0,o.InsertPhotoIcon=j0,o.InsightsIcon=$0,o.InstallDesktopIcon=q0,o.InstallMobileIcon=J0,o.IntegrationInstructionsIcon=Z0,o.InterestsIcon=X0,o.InterpreterModeIcon=x0,o.Inventory2Icon=eC,o.InventoryIcon=R0,o.InvertColorsIcon=nC,o.InvertColorsOffIcon=oC,o.IosShareIcon=rC,o.IronIcon=tC,o.IsoIcon=cC,o.JavascriptIcon=iC,o.JoinFullIcon=aC,o.JoinInnerIcon=lC,o.JoinLeftIcon=sC,o.JoinRightIcon=dC,o.KayakingIcon=uC,o.KebabDiningIcon=fC,o.KeyIcon=AC,o.KeyOffIcon=yC,o.KeyValueFieldBinding=fa,o.KeyValuePreview=Xr,o.KeyboardAltIcon=_C,o.KeyboardArrowDownIcon=hC,o.KeyboardArrowLeftIcon=IC,o.KeyboardArrowRightIcon=bC,o.KeyboardArrowUpIcon=pC,o.KeyboardBackspaceIcon=wC,o.KeyboardCapslockIcon=kC,o.KeyboardCommandKeyIcon=mC,o.KeyboardControlKeyIcon=vC,o.KeyboardDoubleArrowDownIcon=CC,o.KeyboardDoubleArrowLeftIcon=KC,o.KeyboardDoubleArrowRightIcon=SC,o.KeyboardDoubleArrowUpIcon=BC,o.KeyboardHideIcon=EC,o.KeyboardIcon=gC,o.KeyboardOptionKeyIcon=FC,o.KeyboardReturnIcon=PC,o.KeyboardTabIcon=Ko,o.KeyboardVoiceIcon=DC,o.KingBedIcon=NC,o.KitchenIcon=TC,o.KitesurfingIcon=MC,o.LabelIcon=OC,o.LabelImportantIcon=LC,o.LabelOffIcon=QC,o.LabelWithIcon=Ke,o.LanIcon=VC,o.LandscapeIcon=WC,o.LandslideIcon=GC,o.LanguageIcon=zC,o.LaptopChromebookIcon=UC,o.LaptopIcon=HC,o.LaptopMacIcon=YC,o.LaptopWindowsIcon=jC,o.LastPageIcon=$C,o.LaunchIcon=qC,o.LayersClearIcon=ZC,o.LayersIcon=JC,o.LeaderboardIcon=XC,o.LeakAddIcon=xC,o.LeakRemoveIcon=RC,o.LegendToggleIcon=eK,o.LensBlurIcon=oK,o.LensIcon=nK,o.LibraryAddCheckIcon=tK,o.LibraryAddIcon=rK,o.LibraryBooksIcon=cK,o.LibraryMusicIcon=iK,o.LightIcon=aK,o.LightModeIcon=vc,o.LightbulbCircleIcon=sK,o.LightbulbIcon=lK,o.LineAxisIcon=dK,o.LineStyleIcon=uK,o.LineWeightIcon=fK,o.LinearScaleIcon=AK,o.LinkIcon=Cc,o.LinkOffIcon=yK,o.LinkedCameraIcon=gK,o.LiquorIcon=_K,o.ListAltIcon=Sc,o.ListIcon=Kc,o.LiveHelpIcon=hK,o.LiveTvIcon=IK,o.LivingIcon=bK,o.LoadingButton=Ta,o.LocalActivityIcon=pK,o.LocalAirportIcon=wK,o.LocalAtmIcon=kK,o.LocalBarIcon=mK,o.LocalCafeIcon=vK,o.LocalCarWashIcon=CK,o.LocalConvenienceStoreIcon=KK,o.LocalDiningIcon=SK,o.LocalDrinkIcon=BK,o.LocalFireDepartmentIcon=EK,o.LocalFloristIcon=FK,o.LocalGasStationIcon=PK,o.LocalGroceryStoreIcon=DK,o.LocalHospitalIcon=NK,o.LocalHotelIcon=TK,o.LocalLaundryServiceIcon=MK,o.LocalLibraryIcon=OK,o.LocalMallIcon=LK,o.LocalMoviesIcon=QK,o.LocalOfferIcon=VK,o.LocalParkingIcon=WK,o.LocalPharmacyIcon=GK,o.LocalPhoneIcon=zK,o.LocalPizzaIcon=HK,o.LocalPlayIcon=UK,o.LocalPoliceIcon=YK,o.LocalPostOfficeIcon=jK,o.LocalPrintshopIcon=$K,o.LocalSeeIcon=qK,o.LocalShippingIcon=JK,o.LocalTaxiIcon=ZK,o.LocationCityIcon=XK,o.LocationDisabledIcon=xK,o.LocationOffIcon=RK,o.LocationOnIcon=eS,o.LocationSearchingIcon=nS,o.LockClockIcon=rS,o.LockIcon=oS,o.LockOpenIcon=tS,o.LockPersonIcon=cS,o.LockResetIcon=iS,o.LoginIcon=aS,o.LogoDevIcon=lS,o.LogoutIcon=Bc,o.Looks3Icon=dS,o.Looks4Icon=uS,o.Looks5Icon=fS,o.Looks6Icon=AS,o.LooksIcon=sS,o.LooksOneIcon=yS,o.LooksTwoIcon=gS,o.LoopIcon=_S,o.LoupeIcon=hS,o.LowPriorityIcon=IS,o.LoyaltyIcon=bS,o.LteMobiledataIcon=pS,o.LtePlusMobiledataIcon=wS,o.LuggageIcon=kS,o.LunchDiningIcon=mS,o.LyricsIcon=vS,o.MacroOffIcon=CS,o.MailIcon=KS,o.MailLockIcon=SS,o.MailOutlineIcon=BS,o.MaleIcon=ES,o.Man2Icon=PS,o.Man3Icon=DS,o.Man4Icon=NS,o.ManIcon=FS,o.ManageAccountsIcon=TS,o.ManageHistoryIcon=MS,o.ManageSearchIcon=OS,o.MapFieldBinding=ua,o.MapIcon=LS,o.MapPropertyPreview=yi,o.MapsHomeWorkIcon=QS,o.MapsUgcIcon=VS,o.MarginIcon=WS,o.MarkAsUnreadIcon=GS,o.MarkChatReadIcon=zS,o.MarkChatUnreadIcon=HS,o.MarkEmailReadIcon=US,o.MarkEmailUnreadIcon=YS,o.MarkUnreadChatAltIcon=jS,o.Markdown=Ao,o.MarkdownFieldBinding=ga,o.MarkunreadIcon=$S,o.MarkunreadMailboxIcon=qS,o.MasksIcon=JS,o.MaximizeIcon=ZS,o.MediaBluetoothOffIcon=XS,o.MediaBluetoothOnIcon=xS,o.MediationIcon=RS,o.MedicalInformationIcon=eB,o.MedicalServicesIcon=nB,o.MedicationIcon=oB,o.MedicationLiquidIcon=rB,o.MeetingRoomIcon=tB,o.MemoryIcon=cB,o.Menu=jn,o.MenuBookIcon=iB,o.MenuIcon=vr,o.MenuItem=Be,o.MenuOpenIcon=aB,o.MergeIcon=lB,o.MergeTypeIcon=sB,o.MessageIcon=dB,o.MicExternalOffIcon=fB,o.MicExternalOnIcon=AB,o.MicIcon=uB,o.MicNoneIcon=yB,o.MicOffIcon=gB,o.MicrowaveIcon=_B,o.MilitaryTechIcon=hB,o.MinimizeIcon=IB,o.MinorCrashIcon=bB,o.MiscellaneousServicesIcon=pB,o.MissedVideoCallIcon=wB,o.MmsIcon=kB,o.MobileFriendlyIcon=mB,o.MobileOffIcon=vB,o.MobileScreenShareIcon=CB,o.MobiledataOffIcon=KB,o.ModeCommentIcon=BB,o.ModeControllerContext=zo,o.ModeControllerProvider=OH,o.ModeEditIcon=EB,o.ModeEditOutlineIcon=FB,o.ModeFanOffIcon=PB,o.ModeIcon=SB,o.ModeNightIcon=DB,o.ModeOfTravelIcon=NB,o.ModeStandbyIcon=TB,o.ModelTrainingIcon=MB,o.MonetizationOnIcon=OB,o.MoneyIcon=LB,o.MoneyOffCsredIcon=VB,o.MoneyOffIcon=QB,o.MonitorHeartIcon=GB,o.MonitorIcon=WB,o.MonitorWeightIcon=zB,o.MonochromePhotosIcon=HB,o.MoodBadIcon=YB,o.MoodIcon=UB,o.MopedIcon=jB,o.MoreHorizIcon=qB,o.MoreIcon=$B,o.MoreTimeIcon=JB,o.MoreVertIcon=Cr,o.MosqueIcon=ZB,o.MotionPhotosAutoIcon=XB,o.MotionPhotosOffIcon=xB,o.MotionPhotosOnIcon=RB,o.MotionPhotosPauseIcon=eE,o.MotionPhotosPausedIcon=nE,o.MouseIcon=oE,o.MoveDownIcon=rE,o.MoveToInboxIcon=tE,o.MoveUpIcon=cE,o.MovieCreationIcon=aE,o.MovieFilterIcon=lE,o.MovieIcon=iE,o.MovingIcon=sE,o.MpIcon=dE,o.MultiSelect=kt,o.MultiSelectBinding=vt,o.MultiSelectContext=wt,o.MultiSelectItem=mt,o.MultilineChartIcon=uE,o.MultipleStopIcon=fE,o.MuseumIcon=AE,o.MusicNoteIcon=yE,o.MusicOffIcon=gE,o.MusicVideoIcon=_E,o.MyLocationIcon=hE,o.NatIcon=IE,o.NatureIcon=bE,o.NaturePeopleIcon=pE,o.NavigateBeforeIcon=wE,o.NavigateNextIcon=kE,o.NavigationCollectionCard=Ri,o.NavigationGroup=_t,o.NavigationIcon=mE,o.NavigationRoutes=l3,o.NearMeDisabledIcon=CE,o.NearMeIcon=vE,o.NearbyErrorIcon=KE,o.NearbyOffIcon=SE,o.NestCamWiredStandIcon=BE,o.NetworkCellIcon=EE,o.NetworkCheckIcon=FE,o.NetworkLockedIcon=PE,o.NetworkPingIcon=DE,o.NetworkWifi1BarIcon=TE,o.NetworkWifi2BarIcon=ME,o.NetworkWifi3BarIcon=OE,o.NetworkWifiIcon=NE,o.NewLabelIcon=LE,o.NewReleasesIcon=QE,o.NewspaperIcon=VE,o.NextPlanIcon=WE,o.NextWeekIcon=GE,o.NfcIcon=zE,o.NightShelterIcon=HE,o.NightlifeIcon=UE,o.NightlightIcon=YE,o.NightlightRoundIcon=jE,o.NightsStayIcon=$E,o.NoAccountsIcon=qE,o.NoAdultContentIcon=JE,o.NoBackpackIcon=ZE,o.NoCellIcon=XE,o.NoCrashIcon=xE,o.NoDrinksIcon=RE,o.NoEncryptionGmailerrorredIcon=nF,o.NoEncryptionIcon=eF,o.NoFlashIcon=oF,o.NoFoodIcon=rF,o.NoLuggageIcon=tF,o.NoMealsIcon=cF,o.NoMeetingRoomIcon=iF,o.NoPhotographyIcon=aF,o.NoSimIcon=lF,o.NoStrollerIcon=sF,o.NoTransferIcon=dF,o.NoiseAwareIcon=uF,o.NoiseControlOffIcon=fF,o.NordicWalkingIcon=AF,o.NorthEastIcon=gF,o.NorthIcon=yF,o.NorthWestIcon=_F,o.NotAccessibleIcon=hF,o.NotFoundPage=na,o.NotInterestedIcon=IF,o.NotListedLocationIcon=bF,o.NotStartedIcon=pF,o.NoteAddIcon=kF,o.NoteAltIcon=mF,o.NoteIcon=wF,o.NotesIcon=vF,o.NotificationAddIcon=CF,o.NotificationImportantIcon=KF,o.NotificationsActiveIcon=BF,o.NotificationsIcon=SF,o.NotificationsNoneIcon=EF,o.NotificationsOffIcon=FF,o.NotificationsPausedIcon=PF,o.NumberPropertyPreview=hi,o.NumbersIcon=Ec,o.OfflineBoltIcon=DF,o.OfflinePinIcon=NF,o.OfflineShareIcon=TF,o.OilBarrelIcon=MF,o.OnDeviceTrainingIcon=OF,o.OndemandVideoIcon=LF,o.OnlinePredictionIcon=QF,o.OpacityIcon=VF,o.OpenInBrowserIcon=WF,o.OpenInFullIcon=GF,o.OpenInNewIcon=Rn,o.OpenInNewOffIcon=zF,o.OpenWithIcon=HF,o.OtherHousesIcon=UF,o.OutboundIcon=YF,o.OutboxIcon=jF,o.OutdoorGrillIcon=$F,o.OutletIcon=qF,o.OutlinedFlagIcon=JF,o.OutputIcon=ZF,o.PaddingIcon=XF,o.PagesIcon=xF,o.PageviewIcon=RF,o.PaidIcon=eP,o.PaletteIcon=nP,o.PanToolAltIcon=rP,o.PanToolIcon=oP,o.PanoramaFishEyeIcon=cP,o.PanoramaHorizontalIcon=iP,o.PanoramaHorizontalSelectIcon=aP,o.PanoramaIcon=tP,o.PanoramaPhotosphereIcon=lP,o.PanoramaPhotosphereSelectIcon=sP,o.PanoramaVerticalIcon=dP,o.PanoramaVerticalSelectIcon=uP,o.PanoramaWideAngleIcon=fP,o.PanoramaWideAngleSelectIcon=AP,o.Paper=_U,o.ParaglidingIcon=yP,o.ParkIcon=gP,o.PartyModeIcon=_P,o.PasswordIcon=hP,o.PatternIcon=IP,o.PauseCircleFilledIcon=wP,o.PauseCircleIcon=pP,o.PauseCircleOutlineIcon=kP,o.PauseIcon=bP,o.PausePresentationIcon=mP,o.PaymentIcon=vP,o.PaymentsIcon=CP,o.PedalBikeIcon=KP,o.PendingActionsIcon=BP,o.PendingIcon=SP,o.PentagonIcon=EP,o.PeopleAltIcon=PP,o.PeopleIcon=FP,o.PeopleOutlineIcon=DP,o.PercentIcon=NP,o.PermCameraMicIcon=TP,o.PermContactCalendarIcon=MP,o.PermDataSettingIcon=OP,o.PermDeviceInformationIcon=LP,o.PermIdentityIcon=QP,o.PermMediaIcon=VP,o.PermPhoneMsgIcon=WP,o.PermScanWifiIcon=GP,o.Person2Icon=HP,o.Person3Icon=UP,o.Person4Icon=YP,o.PersonAddAlt1Icon=qP,o.PersonAddAltIcon=$P,o.PersonAddDisabledIcon=JP,o.PersonAddIcon=jP,o.PersonIcon=zP,o.PersonOffIcon=ZP,o.PersonOutlineIcon=XP,o.PersonPinCircleIcon=RP,o.PersonPinIcon=xP,o.PersonRemoveAlt1Icon=n1,o.PersonRemoveIcon=e1,o.PersonSearchIcon=o1,o.PersonalInjuryIcon=r1,o.PersonalVideoIcon=t1,o.PestControlIcon=c1,o.PestControlRodentIcon=i1,o.PetsIcon=a1,o.PhishingIcon=l1,o.PhoneAndroidIcon=d1,o.PhoneBluetoothSpeakerIcon=u1,o.PhoneCallbackIcon=f1,o.PhoneDisabledIcon=A1,o.PhoneEnabledIcon=y1,o.PhoneForwardedIcon=g1,o.PhoneIcon=s1,o.PhoneIphoneIcon=_1,o.PhoneLockedIcon=h1,o.PhoneMissedIcon=I1,o.PhonePausedIcon=b1,o.PhonelinkEraseIcon=w1,o.PhonelinkIcon=p1,o.PhonelinkLockIcon=k1,o.PhonelinkOffIcon=m1,o.PhonelinkRingIcon=v1,o.PhonelinkSetupIcon=C1,o.PhotoAlbumIcon=S1,o.PhotoCameraBackIcon=E1,o.PhotoCameraFrontIcon=F1,o.PhotoCameraIcon=B1,o.PhotoFilterIcon=P1,o.PhotoIcon=K1,o.PhotoLibraryIcon=D1,o.PhotoSizeSelectActualIcon=N1,o.PhotoSizeSelectLargeIcon=T1,o.PhotoSizeSelectSmallIcon=M1,o.PhpIcon=O1,o.PianoIcon=L1,o.PianoOffIcon=Q1,o.PictureAsPdfIcon=V1,o.PictureInPictureAltIcon=G1,o.PictureInPictureIcon=W1,o.PieChartIcon=z1,o.PieChartOutlineIcon=H1,o.PinDropIcon=Y1,o.PinEndIcon=j1,o.PinIcon=U1,o.PinInvokeIcon=$1,o.PinchIcon=q1,o.PivotTableChartIcon=J1,o.PixIcon=Z1,o.PlaceIcon=X1,o.PlagiarismIcon=x1,o.PlayArrowIcon=R1,o.PlayCircleFilledIcon=nD,o.PlayCircleIcon=eD,o.PlayCircleOutlineIcon=oD,o.PlayDisabledIcon=rD,o.PlayForWorkIcon=tD,o.PlayLessonIcon=cD,o.PlaylistAddCheckCircleIcon=lD,o.PlaylistAddCheckIcon=aD,o.PlaylistAddCircleIcon=sD,o.PlaylistAddIcon=iD,o.PlaylistPlayIcon=dD,o.PlaylistRemoveIcon=uD,o.PlumbingIcon=fD,o.PlusOneIcon=AD,o.PodcastsIcon=yD,o.PointOfSaleIcon=gD,o.PolicyIcon=_D,o.PollIcon=hD,o.PolylineIcon=ID,o.PolymerIcon=bD,o.PoolIcon=pD,o.Popover=tr,o.PortableWifiOffIcon=wD,o.PortraitIcon=kD,o.PostAddIcon=mD,o.PowerIcon=vD,o.PowerInputIcon=CD,o.PowerOffIcon=KD,o.PowerSettingsNewIcon=SD,o.PrecisionManufacturingIcon=BD,o.PregnantWomanIcon=ED,o.PresentToAllIcon=FD,o.PreviewIcon=PD,o.PriceChangeIcon=DD,o.PriceCheckIcon=ND,o.PrintDisabledIcon=MD,o.PrintIcon=TD,o.PriorityHighIcon=OD,o.PrivacyTipIcon=LD,o.PrivateConnectivityIcon=QD,o.ProductionQuantityLimitsIcon=VD,o.PropaneIcon=WD,o.PropaneTankIcon=GD,o.PropertyFieldBinding=Sn,o.PropertyPreview=Ce,o.PsychologyAltIcon=HD,o.PsychologyIcon=zD,o.PublicIcon=UD,o.PublicOffIcon=YD,o.PublishIcon=jD,o.PublishedWithChangesIcon=$D,o.PunchClockIcon=qD,o.PushPinIcon=JD,o.QrCode2Icon=XD,o.QrCodeIcon=ZD,o.QrCodeScannerIcon=xD,o.QueryBuilderIcon=RD,o.QueryStatsIcon=eN,o.QuestionAnswerIcon=nN,o.QuestionMarkIcon=oN,o.QueueIcon=rN,o.QueueMusicIcon=tN,o.QueuePlayNextIcon=cN,o.QuickreplyIcon=iN,o.QuizIcon=aN,o.RMobiledataIcon=lN,o.RadarIcon=sN,o.RadioButtonCheckedIcon=uN,o.RadioButtonUncheckedIcon=fN,o.RadioIcon=dN,o.RailwayAlertIcon=AN,o.RamenDiningIcon=yN,o.RampLeftIcon=gN,o.RampRightIcon=_N,o.RateReviewIcon=hN,o.RawOffIcon=IN,o.RawOnIcon=bN,o.ReadMoreIcon=pN,o.ReadOnlyFieldBinding=Kt,o.RealEstateAgentIcon=wN,o.ReceiptIcon=kN,o.ReceiptLongIcon=mN,o.RecentActorsIcon=vN,o.RecommendIcon=CN,o.RecordVoiceOverIcon=KN,o.RectangleIcon=SN,o.RecyclingIcon=BN,o.RedeemIcon=EN,o.RedoIcon=FN,o.ReduceCapacityIcon=PN,o.ReferenceFieldBinding=da,o.ReferencePreview=rn,o.ReferencePreviewContainer=Vo,o.ReferenceSelectionInner=xi,o.RefreshIcon=DN,o.RememberMeIcon=NN,o.RemoveCircleIcon=Fc,o.RemoveCircleOutlineIcon=TN,o.RemoveDoneIcon=MN,o.RemoveFromQueueIcon=ON,o.RemoveIcon=eo,o.RemoveModeratorIcon=LN,o.RemoveRedEyeIcon=QN,o.RemoveRoadIcon=VN,o.RemoveShoppingCartIcon=WN,o.ReorderIcon=GN,o.RepartitionIcon=zN,o.RepeatFieldBinding=Aa,o.RepeatIcon=Kr,o.RepeatOnIcon=HN,o.RepeatOneIcon=UN,o.RepeatOneOnIcon=YN,o.Replay10Icon=$N,o.Replay30Icon=qN,o.Replay5Icon=JN,o.ReplayCircleFilledIcon=ZN,o.ReplayIcon=jN,o.ReplyAllIcon=xN,o.ReplyIcon=XN,o.ReportGmailerrorredIcon=eT,o.ReportIcon=RN,o.ReportOffIcon=nT,o.ReportProblemIcon=oT,o.RequestPageIcon=rT,o.RequestQuoteIcon=tT,o.ResetTvIcon=cT,o.RestartAltIcon=iT,o.RestaurantIcon=aT,o.RestaurantMenuIcon=lT,o.RestoreFromTrashIcon=dT,o.RestoreIcon=sT,o.RestorePageIcon=uT,o.ReviewsIcon=fT,o.RiceBowlIcon=AT,o.RingVolumeIcon=yT,o.RocketIcon=gT,o.RocketLaunchIcon=_T,o.RollerShadesClosedIcon=IT,o.RollerShadesIcon=hT,o.RollerSkatingIcon=bT,o.RoofingIcon=pT,o.RoomIcon=wT,o.RoomPreferencesIcon=kT,o.RoomServiceIcon=mT,o.Rotate90DegreesCcwIcon=vT,o.Rotate90DegreesCwIcon=CT,o.RotateLeftIcon=KT,o.RotateRightIcon=ST,o.RoundaboutLeftIcon=BT,o.RoundaboutRightIcon=ET,o.RoundedCornerIcon=FT,o.RouteIcon=PT,o.RouteWrapper=$o,o.RouterIcon=DT,o.RowingIcon=NT,o.RssFeedIcon=TT,o.RsvpIcon=MT,o.RttIcon=OT,o.RuleFolderIcon=QT,o.RuleIcon=LT,o.RunCircleIcon=VT,o.RunningWithErrorsIcon=WT,o.RvHookupIcon=GT,o.SafetyCheckIcon=zT,o.SafetyDividerIcon=HT,o.SailingIcon=UT,o.SanitizerIcon=YT,o.SatelliteAltIcon=$T,o.SatelliteIcon=jT,o.SaveAltIcon=JT,o.SaveAsIcon=ZT,o.SaveIcon=qT,o.SavedSearchIcon=XT,o.SavingsIcon=xT,o.Scaffold=c3,o.ScaleIcon=RT,o.ScannerIcon=eM,o.ScatterPlotIcon=nM,o.ScheduleIcon=Pc,o.ScheduleSendIcon=oM,o.SchemaIcon=rM,o.SchoolIcon=tM,o.ScienceIcon=cM,o.ScoreIcon=iM,o.ScoreboardIcon=aM,o.ScreenLockLandscapeIcon=lM,o.ScreenLockPortraitIcon=sM,o.ScreenLockRotationIcon=dM,o.ScreenRotationAltIcon=fM,o.ScreenRotationIcon=uM,o.ScreenSearchDesktopIcon=AM,o.ScreenShareIcon=yM,o.ScreenshotIcon=gM,o.ScreenshotMonitorIcon=_M,o.ScubaDivingIcon=hM,o.SdCardAlertIcon=pM,o.SdCardIcon=bM,o.SdIcon=IM,o.SdStorageIcon=wM,o.SearchBar=Ut,o.SearchIcon=hr,o.SearchOffIcon=kM,o.SecurityIcon=mM,o.SecurityUpdateGoodIcon=CM,o.SecurityUpdateIcon=vM,o.SecurityUpdateWarningIcon=KM,o.SegmentIcon=SM,o.Select=xe,o.SelectAllIcon=BM,o.SelectFieldBinding=pt,o.SelectGroup=hU,o.SelectItem=Re,o.SelfImprovementIcon=EM,o.SellIcon=FM,o.SendAndArchiveIcon=DM,o.SendIcon=PM,o.SendTimeExtensionIcon=NM,o.SendToMobileIcon=TM,o.SensorDoorIcon=MM,o.SensorOccupiedIcon=OM,o.SensorWindowIcon=LM,o.SensorsIcon=QM,o.SensorsOffIcon=VM,o.SentimentDissatisfiedIcon=WM,o.SentimentNeutralIcon=GM,o.SentimentSatisfiedAltIcon=HM,o.SentimentSatisfiedIcon=zM,o.SentimentVeryDissatisfiedIcon=UM,o.SentimentVerySatisfiedIcon=YM,o.SetMealIcon=jM,o.SettingsAccessibilityIcon=qM,o.SettingsApplicationsIcon=JM,o.SettingsBackupRestoreIcon=ZM,o.SettingsBluetoothIcon=XM,o.SettingsBrightnessIcon=xM,o.SettingsCellIcon=RM,o.SettingsEthernetIcon=e2,o.SettingsIcon=$M,o.SettingsInputAntennaIcon=n2,o.SettingsInputComponentIcon=o2,o.SettingsInputCompositeIcon=r2,o.SettingsInputHdmiIcon=t2,o.SettingsInputSvideoIcon=c2,o.SettingsOverscanIcon=i2,o.SettingsPhoneIcon=a2,o.SettingsPowerIcon=l2,o.SettingsRemoteIcon=s2,o.SettingsSuggestIcon=d2,o.SettingsSystemDaydreamIcon=u2,o.SettingsVoiceIcon=f2,o.SevereColdIcon=A2,o.ShapeLineIcon=y2,o.ShareIcon=g2,o.ShareLocationIcon=_2,o.Sheet=Yt,o.ShieldIcon=h2,o.ShieldMoonIcon=I2,o.Shop2Icon=p2,o.ShopIcon=b2,o.ShopTwoIcon=w2,o.ShoppingBagIcon=k2,o.ShoppingBasketIcon=m2,o.ShoppingCartCheckoutIcon=C2,o.ShoppingCartIcon=v2,o.ShortTextIcon=Dc,o.ShortcutIcon=K2,o.ShowChartIcon=S2,o.ShowerIcon=B2,o.ShuffleIcon=E2,o.ShuffleOnIcon=F2,o.ShutterSpeedIcon=P2,o.SickIcon=D2,o.SideDialogs=zH,o.SignLanguageIcon=N2,o.SignalCellular0BarIcon=T2,o.SignalCellular4BarIcon=M2,o.SignalCellularAlt1BarIcon=L2,o.SignalCellularAlt2BarIcon=Q2,o.SignalCellularAltIcon=O2,o.SignalCellularConnectedNoInternet0BarIcon=V2,o.SignalCellularConnectedNoInternet4BarIcon=W2,o.SignalCellularNoSimIcon=G2,o.SignalCellularNodataIcon=z2,o.SignalCellularNullIcon=H2,o.SignalCellularOffIcon=U2,o.SignalWifi0BarIcon=Y2,o.SignalWifi4BarIcon=j2,o.SignalWifi4BarLockIcon=$2,o.SignalWifiBadIcon=q2,o.SignalWifiConnectedNoInternet4Icon=J2,o.SignalWifiOffIcon=Z2,o.SignalWifiStatusbar4BarIcon=X2,o.SignalWifiStatusbarConnectedNoInternet4Icon=x2,o.SignalWifiStatusbarNullIcon=R2,o.SignpostIcon=eO,o.SimCardAlertIcon=oO,o.SimCardDownloadIcon=rO,o.SimCardIcon=nO,o.SingleBedIcon=tO,o.SipIcon=cO,o.SkateboardingIcon=iO,o.Skeleton=Oe,o.SkeletonPropertyComponent=Wn,o.SkipNextIcon=aO,o.SkipPreviousIcon=lO,o.SleddingIcon=sO,o.SlideshowIcon=dO,o.SlowMotionVideoIcon=uO,o.SmartButtonIcon=fO,o.SmartDisplayIcon=AO,o.SmartScreenIcon=yO,o.SmartToyIcon=gO,o.SmartphoneIcon=_O,o.SmokeFreeIcon=hO,o.SmokingRoomsIcon=IO,o.SmsFailedIcon=pO,o.SmsIcon=bO,o.SnackbarProvider=TH,o.SnippetFolderIcon=wO,o.SnoozeIcon=kO,o.SnowboardingIcon=mO,o.SnowmobileIcon=vO,o.SnowshoeingIcon=CO,o.SoapIcon=KO,o.SocialDistanceIcon=SO,o.SolarPowerIcon=BO,o.SortByAlphaIcon=FO,o.SortIcon=EO,o.SosIcon=PO,o.SoupKitchenIcon=DO,o.SourceIcon=NO,o.SouthAmericaIcon=MO,o.SouthEastIcon=OO,o.SouthIcon=TO,o.SouthWestIcon=LO,o.SpaIcon=QO,o.SpaceBarIcon=VO,o.SpaceDashboardIcon=WO,o.SpatialAudioIcon=GO,o.SpatialAudioOffIcon=zO,o.SpatialTrackingIcon=HO,o.SpeakerGroupIcon=YO,o.SpeakerIcon=UO,o.SpeakerNotesIcon=jO,o.SpeakerNotesOffIcon=$O,o.SpeakerPhoneIcon=qO,o.SpeedIcon=JO,o.SpellcheckIcon=ZO,o.Spinner=IU,o.SplitscreenIcon=XO,o.SpokeIcon=xO,o.SportsBarIcon=eL,o.SportsBaseballIcon=nL,o.SportsBasketballIcon=oL,o.SportsCricketIcon=rL,o.SportsEsportsIcon=tL,o.SportsFootballIcon=cL,o.SportsGolfIcon=iL,o.SportsGymnasticsIcon=aL,o.SportsHandballIcon=lL,o.SportsHockeyIcon=sL,o.SportsIcon=RO,o.SportsKabaddiIcon=dL,o.SportsMartialArtsIcon=uL,o.SportsMmaIcon=fL,o.SportsMotorsportsIcon=AL,o.SportsRugbyIcon=yL,o.SportsScoreIcon=gL,o.SportsSoccerIcon=_L,o.SportsTennisIcon=hL,o.SportsVolleyballIcon=IL,o.SquareFootIcon=pL,o.SquareIcon=bL,o.SsidChartIcon=wL,o.StackedBarChartIcon=kL,o.StackedLineChartIcon=mL,o.StadiumIcon=vL,o.StairsIcon=CL,o.StarBorderIcon=Br,o.StarBorderPurple500Icon=KL,o.StarHalfIcon=SL,o.StarIcon=Sr,o.StarOutlineIcon=BL,o.StarPurple500Icon=EL,o.StarRateIcon=FL,o.StarsIcon=PL,o.StartIcon=DL,o.StayCurrentLandscapeIcon=NL,o.StayCurrentPortraitIcon=TL,o.StayPrimaryLandscapeIcon=ML,o.StayPrimaryPortraitIcon=OL,o.StickyNote2Icon=LL,o.StopCircleIcon=VL,o.StopIcon=QL,o.StopScreenShareIcon=WL,o.StorageIcon=GL,o.StorageThumbnail=ii,o.StorageThumbnailInternal=li,o.StorageUploadFieldBinding=Ct,o.StoreIcon=zL,o.StoreMallDirectoryIcon=HL,o.StorefrontIcon=UL,o.StormIcon=YL,o.StraightIcon=jL,o.StraightenIcon=$L,o.StreamIcon=qL,o.StreetviewIcon=JL,o.StrikethroughSIcon=ZL,o.StringPropertyPreview=$r,o.StrollerIcon=XL,o.StyleIcon=xL,o.SubdirectoryArrowLeftIcon=RL,o.SubdirectoryArrowRightIcon=e4,o.SubjectIcon=Nc,o.SubscriptIcon=n4,o.SubscriptionsIcon=o4,o.SubtitlesIcon=r4,o.SubtitlesOffIcon=t4,o.SubwayIcon=c4,o.SummarizeIcon=i4,o.SuperscriptIcon=a4,o.SupervisedUserCircleIcon=l4,o.SupervisorAccountIcon=s4,o.SupportAgentIcon=u4,o.SupportIcon=d4,o.SurfingIcon=f4,o.SurroundSoundIcon=A4,o.SwapCallsIcon=y4,o.SwapHorizIcon=g4,o.SwapHorizontalCircleIcon=_4,o.SwapVertIcon=h4,o.SwapVerticalCircleIcon=I4,o.SwipeDownAltIcon=w4,o.SwipeDownIcon=p4,o.SwipeIcon=b4,o.SwipeLeftAltIcon=m4,o.SwipeLeftIcon=k4,o.SwipeRightAltIcon=C4,o.SwipeRightIcon=v4,o.SwipeUpAltIcon=S4,o.SwipeUpIcon=K4,o.SwipeVerticalIcon=B4,o.SwitchAccessShortcutAddIcon=F4,o.SwitchAccessShortcutIcon=E4,o.SwitchAccountIcon=P4,o.SwitchCameraIcon=D4,o.SwitchControl=w3,o.SwitchFieldBinding=la,o.SwitchLeftIcon=N4,o.SwitchRightIcon=T4,o.SwitchVideoIcon=M4,o.SynagogueIcon=O4,o.SyncAltIcon=Q4,o.SyncDisabledIcon=V4,o.SyncIcon=L4,o.SyncLockIcon=W4,o.SyncProblemIcon=G4,o.SystemSecurityUpdateGoodIcon=H4,o.SystemSecurityUpdateIcon=z4,o.SystemSecurityUpdateWarningIcon=U4,o.SystemUpdateAltIcon=j4,o.SystemUpdateIcon=Y4,o.Tab=rr,o.TabIcon=$4,o.TabUnselectedIcon=q4,o.Table=bU,o.TableBarIcon=J4,o.TableBody=pU,o.TableCell=mU,o.TableChartIcon=Z4,o.TableHeader=wU,o.TableRestaurantIcon=X4,o.TableRow=kU,o.TableRowsIcon=x4,o.TableViewIcon=R4,o.TabletAndroidIcon=nQ,o.TabletIcon=eQ,o.TabletMacIcon=oQ,o.Tabs=Ma,o.TagFacesIcon=tQ,o.TagIcon=rQ,o.TakeoutDiningIcon=cQ,o.TapAndPlayIcon=iQ,o.TapasIcon=aQ,o.TaskAltIcon=sQ,o.TaskIcon=lQ,o.TaxiAlertIcon=dQ,o.TempleBuddhistIcon=uQ,o.TempleHinduIcon=fQ,o.TerminalIcon=AQ,o.TerrainIcon=yQ,o.TextDecreaseIcon=gQ,o.TextField=tn,o.TextFieldBinding=Hn,o.TextFieldsIcon=_Q,o.TextFormatIcon=hQ,o.TextIncreaseIcon=IQ,o.TextRotateUpIcon=bQ,o.TextRotateVerticalIcon=pQ,o.TextRotationAngledownIcon=wQ,o.TextRotationAngleupIcon=kQ,o.TextRotationDownIcon=mQ,o.TextRotationNoneIcon=vQ,o.TextSnippetIcon=CQ,o.TextareaAutosize=et,o.TextsmsIcon=KQ,o.TextureIcon=SQ,o.TheaterComedyIcon=BQ,o.TheatersIcon=EQ,o.ThermostatAutoIcon=PQ,o.ThermostatIcon=FQ,o.ThumbDownAltIcon=NQ,o.ThumbDownIcon=DQ,o.ThumbDownOffAltIcon=TQ,o.ThumbUpAltIcon=OQ,o.ThumbUpIcon=MQ,o.ThumbUpOffAltIcon=LQ,o.ThumbsUpDownIcon=QQ,o.ThunderstormIcon=VQ,o.TimeToLeaveIcon=WQ,o.TimelapseIcon=GQ,o.TimelineIcon=zQ,o.Timer10Icon=UQ,o.Timer10SelectIcon=YQ,o.Timer3Icon=jQ,o.Timer3SelectIcon=$Q,o.TimerIcon=HQ,o.TimerOffIcon=qQ,o.TipsAndUpdatesIcon=JQ,o.TireRepairIcon=ZQ,o.TitleIcon=XQ,o.TocIcon=xQ,o.TodayIcon=RQ,o.ToggleOffIcon=eV,o.ToggleOnIcon=nV,o.TokenIcon=oV,o.TollIcon=rV,o.TonalityIcon=tV,o.Tooltip=ye,o.TopicIcon=cV,o.TornadoIcon=iV,o.TouchAppIcon=aV,o.TourIcon=lV,o.ToysIcon=sV,o.TrackChangesIcon=dV,o.TrafficIcon=uV,o.TrainIcon=fV,o.TramIcon=AV,o.TranscribeIcon=yV,o.TransferWithinAStationIcon=gV,o.TransformIcon=_V,o.TransgenderIcon=hV,o.TransitEnterexitIcon=IV,o.TranslateIcon=bV,o.TravelExploreIcon=pV,o.TrendingDownIcon=wV,o.TrendingFlatIcon=kV,o.TrendingUpIcon=mV,o.TripOriginIcon=vV,o.TroubleshootIcon=CV,o.TryIcon=KV,o.TsunamiIcon=SV,o.TtyIcon=BV,o.TuneIcon=EV,o.TungstenIcon=FV,o.TurnLeftIcon=PV,o.TurnRightIcon=DV,o.TurnSharpLeftIcon=NV,o.TurnSharpRightIcon=TV,o.TurnSlightLeftIcon=MV,o.TurnSlightRightIcon=OV,o.TurnedInIcon=LV,o.TurnedInNotIcon=QV,o.TvIcon=VV,o.TvOffIcon=WV,o.TwoWheelerIcon=GV,o.TypeSpecimenIcon=zV,o.Typography=Z,o.UTurnLeftIcon=HV,o.UTurnRightIcon=UV,o.UmbrellaIcon=YV,o.UnarchiveIcon=jV,o.UndoIcon=$V,o.UnfoldLessDoubleIcon=JV,o.UnfoldLessIcon=qV,o.UnfoldMoreDoubleIcon=XV,o.UnfoldMoreIcon=ZV,o.UnpublishedIcon=xV,o.UnsubscribeIcon=RV,o.UpcomingIcon=eW,o.UpdateDisabledIcon=oW,o.UpdateIcon=nW,o.UpgradeIcon=rW,o.UploadFileIcon=Tc,o.UploadIcon=tW,o.UrlComponentPreview=co,o.UsbIcon=cW,o.UsbOffIcon=iW,o.VaccinesIcon=aW,o.VapeFreeIcon=lW,o.VapingRoomsIcon=sW,o.VerifiedIcon=dW,o.VerifiedUserIcon=uW,o.VerticalAlignBottomIcon=fW,o.VerticalAlignCenterIcon=AW,o.VerticalAlignTopIcon=yW,o.VerticalDistributeIcon=gW,o.VerticalShadesClosedIcon=hW,o.VerticalShadesIcon=_W,o.VerticalSplitIcon=IW,o.VibrationIcon=bW,o.VideoCallIcon=pW,o.VideoCameraBackIcon=wW,o.VideoCameraFrontIcon=kW,o.VideoChatIcon=mW,o.VideoFileIcon=vW,o.VideoLabelIcon=CW,o.VideoLibraryIcon=KW,o.VideoSettingsIcon=SW,o.VideoStableIcon=BW,o.VideocamIcon=EW,o.VideocamOffIcon=FW,o.VideogameAssetIcon=PW,o.VideogameAssetOffIcon=DW,o.ViewAgendaIcon=NW,o.ViewArrayIcon=TW,o.ViewCarouselIcon=MW,o.ViewColumnIcon=OW,o.ViewComfyAltIcon=QW,o.ViewComfyIcon=LW,o.ViewCompactAltIcon=WW,o.ViewCompactIcon=VW,o.ViewCozyIcon=GW,o.ViewDayIcon=zW,o.ViewHeadlineIcon=HW,o.ViewInArIcon=UW,o.ViewKanbanIcon=YW,o.ViewListIcon=jW,o.ViewModuleIcon=$W,o.ViewQuiltIcon=qW,o.ViewSidebarIcon=JW,o.ViewStreamIcon=Mc,o.ViewTimelineIcon=ZW,o.ViewWeekIcon=XW,o.VignetteIcon=xW,o.VillaIcon=RW,o.VirtualTable=Fi,o.VisibilityIcon=eG,o.VisibilityOffIcon=nG,o.VoiceChatIcon=oG,o.VoiceOverOffIcon=rG,o.VoicemailIcon=tG,o.VolcanoIcon=cG,o.VolumeDownIcon=iG,o.VolumeMuteIcon=aG,o.VolumeOffIcon=lG,o.VolumeUpIcon=sG,o.VolunteerActivismIcon=dG,o.VpnKeyIcon=uG,o.VpnKeyOffIcon=fG,o.VpnLockIcon=AG,o.VrpanoIcon=yG,o.WalletIcon=gG,o.WallpaperIcon=_G,o.WarehouseIcon=hG,o.WarningAmberIcon=bG,o.WarningIcon=IG,o.WashIcon=pG,o.WatchIcon=wG,o.WatchLaterIcon=kG,o.WatchOffIcon=mG,o.WaterDamageIcon=CG,o.WaterDropIcon=KG,o.WaterIcon=vG,o.WaterfallChartIcon=SG,o.WavesIcon=BG,o.WavingHandIcon=EG,o.WbAutoIcon=FG,o.WbCloudyIcon=PG,o.WbIncandescentIcon=DG,o.WbIridescentIcon=NG,o.WbShadeIcon=TG,o.WbSunnyIcon=MG,o.WbTwilightIcon=OG,o.WcIcon=LG,o.WebAssetIcon=VG,o.WebAssetOffIcon=WG,o.WebIcon=QG,o.WebStoriesIcon=GG,o.WebhookIcon=zG,o.WeekendIcon=HG,o.WestIcon=UG,o.WhatshotIcon=YG,o.WheelchairPickupIcon=jG,o.WhereToVoteIcon=$G,o.WidgetsIcon=qG,o.WidthFullIcon=JG,o.WidthNormalIcon=ZG,o.WidthWideIcon=XG,o.Wifi1BarIcon=RG,o.Wifi2BarIcon=e5,o.WifiCalling3Icon=o5,o.WifiCallingIcon=n5,o.WifiChannelIcon=r5,o.WifiFindIcon=t5,o.WifiIcon=xG,o.WifiLockIcon=c5,o.WifiOffIcon=i5,o.WifiPasswordIcon=a5,o.WifiProtectedSetupIcon=l5,o.WifiTetheringErrorIcon=d5,o.WifiTetheringIcon=s5,o.WifiTetheringOffIcon=u5,o.WindPowerIcon=f5,o.WindowIcon=A5,o.WineBarIcon=y5,o.Woman2Icon=_5,o.WomanIcon=g5,o.WorkHistoryIcon=I5,o.WorkIcon=h5,o.WorkOffIcon=b5,o.WorkOutlineIcon=p5,o.WorkspacePremiumIcon=w5,o.WorkspacesIcon=k5,o.WrapTextIcon=m5,o.WrongLocationIcon=v5,o.WysiwygIcon=C5,o.YardIcon=K5,o.YoutubeSearchedForIcon=S5,o.ZoomInIcon=B5,o.ZoomInMapIcon=E5,o.ZoomOutIcon=F5,o.ZoomOutMapIcon=P5,o._10kIcon=hl,o._10mpIcon=Il,o._11mpIcon=bl,o._123Icon=gl,o._12mpIcon=pl,o._13mpIcon=wl,o._14mpIcon=kl,o._15mpIcon=ml,o._16mpIcon=vl,o._17mpIcon=Cl,o._18UpRatingIcon=Kl,o._18mpIcon=Sl,o._19mpIcon=Bl,o._1kIcon=El,o._1kPlusIcon=Fl,o._1xMobiledataIcon=Pl,o._20mpIcon=Dl,o._21mpIcon=Nl,o._22mpIcon=Tl,o._23mpIcon=Ml,o._24mpIcon=Ol,o._2kIcon=Ll,o._2kPlusIcon=Ql,o._2mpIcon=Vl,o._30fpsIcon=Wl,o._30fpsSelectIcon=Gl,o._360Icon=_l,o._3dRotationIcon=zl,o._3gMobiledataIcon=Hl,o._3kIcon=Ul,o._3kPlusIcon=Yl,o._3mpIcon=jl,o._3pIcon=$l,o._4gMobiledataIcon=ql,o._4gPlusMobiledataIcon=Jl,o._4kIcon=Zl,o._4kPlusIcon=Xl,o._4mpIcon=xl,o._5gIcon=Rl,o._5kIcon=es,o._5kPlusIcon=ns,o._5mpIcon=os,o._60fpsIcon=rs,o._60fpsSelectIcon=ts,o._6FtApartIcon=cs,o._6kIcon=is,o._6kPlusIcon=as,o._6mpIcon=ls,o._7kIcon=ss,o._7kPlusIcon=ds,o._7mpIcon=us,o._8kIcon=fs,o._8kPlusIcon=As,o._8mpIcon=ys,o._9kIcon=gs,o._9kPlusIcon=_s,o._9mpIcon=hs,o.addInitialSlash=nz,o.buildAdditionalFieldDelegate=tU,o.buildCollection=X3,o.buildEntityCallbacks=rU,o.buildEnumLabel=Jc,o.buildEnumValueConfig=oU,o.buildEnumValues=nU,o.buildFieldConfig=cU,o.buildProperties=R3,o.buildPropertiesOrBuilder=eU,o.buildProperty=x3,o.canCreateEntity=Un,o.canDeleteEntity=xo,o.canEditEntity=Qt,o.cardClickableMixin=ec,o.cardMixin=Rt,o.cardSelectedMixin=tl,o.cn=F,o.coolIconKeys=_r,o.debounce=bi,o.defaultBorderMixin=fe,o.defaultDateFormat=$c,o.deleteEntityWithCallbacks=Pa,o.enumToObjectEntries=yn,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=Ye,o.fieldBackgroundInvisibleMixin=ur,o.fieldBackgroundMixin=Xe,o.flattenObject=Vt,o.focusedClasses=dr,o.focusedInvisibleMixin=sr,o.focusedMixin=Ie,o.fullPathToCollectionSegments=ze,o.getArrayValuesCount=va,o.getBracketNotation=$3,o.getCollectionByPathOrAlias=Oo,o.getCollectionPathsCombinations=Lo,o.getColorForProperty=j3,o.getColorScheme=qc,o.getDefaultFieldId=Pt,o.getDefaultPropertiesOrder=q3,o.getDefaultValueFor=Po,o.getDefaultValueForDataType=Tr,o.getDefaultValuesFor=to,o.getFieldConfig=Zo,o.getFieldId=Dt,o.getHashValue=Vr,o.getIcon=ka,o.getIconForProperty=ve,o.getIconForView=Ro,o.getIconForWidget=Ot,o.getIdIcon=Y3,o.getLabelOrConfigFrom=To,o.getLastSegment=oz,o.getPropertiesWithPropertiesOrder=wa,o.getPropertyInPath=Bn,o.getRandomId=so,o.getReferenceFrom=Cn,o.getReferencePreviewKeys=ma,o.getResolvedPropertyInPath=Lt,o.getValueInPath=gn,o.hydrateRegExp=ei,o.iconKeys=rc,o.isDefaultFieldConfigId=ba,o.isEmptyObject=Gr,o.isEnumValueDisabled=Z5,o.isHidden=ro,o.isObject=Mo,o.isPropertyBuilder=Ee,o.isReadOnly=On,o.isReferenceProperty=pa,o.isValidRegExp=R5,o.joinCollectionLists=Sa,o.makePropertiesEditable=Ca,o.makePropertiesNonEditable=Ka,o.mergeCollection=Ba,o.mergeDeep=Ge,o.paperMixin=je,o.pick=Zc,o.plural=J3,o.randomColor=J5,o.randomString=Ln,o.removeFunctions=Qr,o.removeInPath=X5,o.removeInitialAndTrailingSlashes=we,o.removeInitialSlash=ni,o.removePropsIfExisting=Xc,o.removeTrailingSlash=oi,o.removeUndefined=Wr,o.renderSkeletonCaptionText=hz,o.renderSkeletonIcon=jr,o.renderSkeletonImageThumbnail=Yr,o.renderSkeletonText=on,o.resolveArrayProperty=In,o.resolveCollection=Te,o.resolveCollectionPathAliases=Hr,o.resolveDefaultSelectedView=Lr,o.resolveEntityView=Mt,o.resolveEnumValues=U3,o.resolveNavigationFrom=Da,o.resolvePermissions=uo,o.resolveProperties=Nt,o.resolveProperty=Me,o.resolvePropertyEnum=Tt,o.sanitizeData=U5,o.saveEntityWithCallbacks=Wt,o.segmentsToStrippedPath=Rc,o.serializeRegExp=x5,o.singular=Z3,o.slugify=No,o.sortProperties=Or,o.stripCollectionPath=zr,o.toKebabCase=j5,o.toSnakeCase=q5,o.traverseValueProperty=Do,o.traverseValuesProperties=Mr,o.unslugify=ez,o.updateDateAutoValues=jc,o.useAuthController=un,o.useAutoComplete=cl,o.useBreadcrumbsContext=zt,o.useBrowserTitleAndIcon=sU,o.useBuildLocalConfigurationPersistence=d3,o.useBuildModeController=s3,o.useClearRestoreValue=Le,o.useClipboard=Na,o.useCollectionFetch=Yc,o.useDataSource=We,o.useDebounce=Qo,o.useDebounceValue=rz,o.useEntityCollectionTableController=dt,o.useEntityFetch=Nr,o.useFireCMSContext=ee,o.useInjectStyles=vn,o.useLargeLayout=He,o.useModeController=Gt,o.useNavigationController=Ae,o.useOutsideAlerter=ko,o.useReferenceDialog=fo,o.useResolvedNavigationFrom=iU,o.useSelectionController=ft,o.useSideDialogContext=Uo,o.useSideDialogsController=no,o.useSideEntityController=fn,o.useSnackbarController=An,o.useStorageSource=Tn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1611
1611
  //# sourceMappingURL=index.umd.js.map